Disclosure of Invention
The invention provides a starting method and device of a vehicle-mounted terminal, the vehicle-mounted terminal and a storage medium, and aims to solve the problems that an existing vehicle-mounted terminal is complex in recovery mechanism and insufficient in reliability.
In a first aspect, the invention provides a starting method of a vehicle-mounted terminal, wherein the vehicle-mounted terminal comprises a system memory and a logic memory, and the starting method comprises the following steps:
The vehicle-mounted terminal is powered on, and whether the data of the system memory are damaged or not is judged;
if the data of the system memory is damaged, starting an operating system of the vehicle-mounted terminal through the data backed up by the logic memory;
mounting the logic memory in a read-only mode, and mounting the system memory in a readable and writable mode;
And performing disk repair on the system memory, and recovering the data backed up by the logic memory to the system memory.
Optionally, after determining whether the data of the system memory is corrupted, the method further includes:
if the data of the system memory is not damaged, the system memory is mounted in a read-only mode, and the logic memory is mounted in a readable and writable mode;
re-backing up data of the system memory to the logic memory;
mounting the system memory into a readable and writable mode, and mounting the logic memory into a read-only mode;
and starting an operating system of the vehicle-mounted terminal through the data of the system memory.
Optionally, after performing the disk repair on the system memory and restoring the data backed up by the logic memory to the system memory, the method further includes:
Maintaining the system memory to be mounted in a readable and writable mode, and maintaining the logic memory to be mounted in a read-only mode;
and controlling the vehicle-mounted terminal to be powered on again.
Optionally, determining whether the data of the system memory is corrupted includes:
and finding out the system memory according to bus matching, finding out other starting data of the system memory according to the starting bit of the address of the rootfs partition of the system memory, and judging whether the other starting data are damaged.
Optionally, the operating system of the vehicle-mounted terminal is started by the data backed up by the logic memory, including:
finding a logic memory backed up with data of the system memory according to bus matching, and mounting the logic memory into a read-only mode;
And starting an operating system of the vehicle-mounted terminal according to the addresses of the rootfs partitions of the logic memory.
In a second aspect, the present invention provides a starting apparatus for a vehicle-mounted terminal, the starting apparatus including:
the first starting module is used for starting an operating system of the vehicle-mounted terminal through the data backed up by the logic memory when the data of the system memory is damaged;
the mode mounting module is used for mounting the logic memory into a read-only mode and mounting the system memory into a readable and writable mode;
The repair module is used for repairing the magnetic disk of the system memory;
and the data recovery module is used for recovering the data backed up by the logic memory to the system memory.
Optionally, the mode mounting module is further configured to mount the system memory in a read-only mode and mount the logic memory in a readable and writable mode.
Optionally, the starting device further includes:
The backup module is used for backing up the data of the system memory to the logic memory again;
And the second starting module is used for starting the operating system of the vehicle-mounted terminal through the data of the system memory.
In a third aspect, the present invention provides a vehicle-mounted terminal, where the vehicle-mounted terminal is started by adopting the starting method of the vehicle-mounted terminal provided in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which computer instructions are stored for causing a processor to execute the method for starting the vehicle-mounted terminal provided in the first aspect.
According to the technical scheme, through the double-memory design of the system memory and the logic memory, when the system memory data is damaged due to abnormal power failure, the operating system of the vehicle-mounted terminal can be started from the backup logic memory. After the operating system of the vehicle-mounted terminal is normally started, the processor automatically repairs the damaged system memory, and recovers data from the logic memory to ensure that the system is recovered to normal operation. The processor can complete data recovery of the system memory through simple mounting switching and data copying operation, so that the data recovery flow is simplified, and the recovery efficiency and reliability are improved. Meanwhile, in the process of recovering data, the logic memory of the operating system of the vehicle-mounted terminal can be normally started to be in a read-only state, so that the problem that the two memories cannot work normally due to data damage of the standby logic memory caused by abnormal power failure again in the process of recovering data is avoided. According to the technical scheme, when the vehicle-mounted terminal is abnormally powered off, the operating system of the vehicle-mounted terminal can be started from the standby logic memory, the disk repair and data recovery are carried out on the system memory after the starting is completed, meanwhile, the data consistency in the recovery process is guaranteed, the reliability and stability of the vehicle-mounted terminal are effectively improved, the problem that the operating system of the vehicle-mounted terminal cannot be started abnormally or user data are lost due to abnormal power off is avoided, and the safety and user experience of a driver are guaranteed.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements that are expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic structural diagram of a vehicle-mounted terminal according to an embodiment of the present invention, and fig. 2 is a flowchart of a method for starting a vehicle-mounted terminal according to an embodiment of the present invention, where, as shown in fig. 1, the vehicle-mounted terminal 1 includes a system memory 11 and a logic memory 12. As shown in fig. 2, the starting method includes:
and S100, powering on the vehicle-mounted terminal, and judging whether the data of the system memory are damaged.
Specifically, as shown in fig. 1, the in-vehicle terminal 1 may include a motherboard and a logic memory 12, where the motherboard and the logic memory 12 are connected through a serial peripheral interface (SERIAL PERIPHERAL INTERFACE, SPI). The main board is provided with a processor and a system memory 11, i.e. the system memory 11 is connected with a logic memory 12 through an SPI. The logic memory 12 is internally backed up with the same data as the data inside the system memory 11. In the starting process of the operating system of the vehicle-mounted terminal 1, the vehicle-mounted terminal 1 is powered on first, and the processor judges whether the data of the system memory 11 is damaged, wherein the data of the system memory 11 can comprise system data and user data. If the processor determines that the data of the system memory 11 is corrupted, S111 is performed.
S111, starting an operating system of the vehicle-mounted terminal through the data backed up by the logic memory.
Specifically, as shown in fig. 1, after the processor determines that the data in the system memory 11 is damaged, at this time, the processor may mount the logic memory 12 in a read-only mode, and start the operating system of the vehicle-mounted terminal 1 through the data which is backed up in the logic memory 12 and is the same as the data in the system memory 11, that is, load necessary system files and configuration files from the logic memory 12, so as to ensure that the operating system of the vehicle-mounted terminal 1 can be started normally. It is ensured that the in-vehicle terminal 1 can be started normally after the data of the system memory 11 is damaged due to abnormal power failure.
S120, mounting the logic memory into a read-only mode and mounting the system memory into a readable and writable mode.
Specifically, as shown in fig. 1, after the vehicle-mounted terminal 1 is normally started, the vehicle-mounted terminal 1 enters a recovery process. At this time, the processor mounts the system memory 11 in a readable and writable mode, so as to ensure that data can be written normally. The processor continues to mount the logic memory 12 in the read-only mode, so that the problem that the data of the logic memory 12 is damaged due to the fact that the vehicle-mounted terminal 1 is powered off again in the recovery process, the system memory 11 and the logic memory 12 cannot work normally, and the problems that the data of the logic memory 12 recovered to the system memory 11 is inconsistent with the backup data and the data recovery is incomplete due to the fact that the logic memory 12 is powered off again are avoided.
S130, performing disk repair on the system memory, and recovering the data backed up by the logic memory to the system memory.
Specifically, as shown in FIG. 1, the processor begins a disk repair operation on the system memory 11, checking for and repairing a corrupted file system. After the repair is completed, the processor restores the backup data in the logical memory 12 to the system memory 11, and completes the data restoration to the system memory 11. During the recovery process, the system memory 11 maintains a readable and writable state, ensuring that data can be written normally.
According to the technical scheme, through the double-memory design of the system memory and the logic memory, when the system memory data is damaged due to abnormal power failure, the operating system of the vehicle-mounted terminal can be started from the backup logic memory. After the operating system of the vehicle-mounted terminal is normally started, the processor automatically repairs the damaged system memory, and recovers data from the logic memory to ensure that the system is recovered to normal operation. The processor can complete data recovery of the system memory through simple mounting switching and data copying operation, so that the data recovery flow is simplified, and the recovery efficiency and reliability are improved. Meanwhile, in the process of recovering data, the logic memory of the operating system of the vehicle-mounted terminal can be normally started to be in a read-only state, so that the problem that the two memories cannot work normally due to data damage of the standby logic memory caused by abnormal power failure again in the process of recovering data is avoided. According to the technical scheme, when the vehicle-mounted terminal is abnormally powered off, the operating system of the vehicle-mounted terminal can be started from the standby logic memory, the disk repair and data recovery are carried out on the system memory after the starting is completed, meanwhile, the data consistency in the recovery process is guaranteed, the reliability and stability of the vehicle-mounted terminal are effectively improved, the problem that the operating system of the vehicle-mounted terminal cannot be started abnormally or user data are lost due to abnormal power off is avoided, and the safety and user experience of a driver are guaranteed.
Optionally, on the basis of the foregoing embodiments, fig. 3 is a flowchart of another method for starting a vehicle-mounted terminal according to an embodiment of the present invention, where, as shown in fig. 3, the starting method includes:
And S200, powering on the vehicle-mounted terminal, and judging whether the data of the system memory are damaged.
Specifically, as shown in fig. 1, if the processor determines that the data of the system memory 11 is corrupt, S211 is performed, and if the processor determines that the data of the system memory 11 is not corrupt, S212 is performed.
S211, starting an operating system of the vehicle-mounted terminal through the data backed up by the logic memory.
S221, mounting the logic memory into a read-only mode and mounting the system memory into a readable and writable mode.
S231, performing disk repair on the system memory, and recovering the data backed up by the logic memory to the system memory.
Specifically, as shown in fig. 1, after the data recovery of the system memory 11 is completed, the vehicle-mounted terminal 1 may be controlled by a processor or by a person to re-power up, so that the vehicle-mounted terminal 1 enters a normal start-up procedure.
S212, mounting the system memory into a read-only mode and mounting the logic memory into a readable and writable mode.
Specifically, as shown in fig. 1, if the processor determines that the data in the system memory 11 is not damaged, the processor mounts the system memory 11 in a read-only mode, so as to ensure that the data in the system memory 11 cannot be changed, and mounts the logic memory 12 in a readable and writable mode, so as to prepare for data backup.
S222, backing up the data of the system memory to the logic memory again.
Specifically, as shown in fig. 1, the processor backs up critical data in the system memory 11, such as system files and configuration files, into the logic memory 12. After the vehicle-mounted terminal 1 is powered on each time, the processor judges that the data of the system memory 11 are not damaged, and the processor needs to re-backup the key data in the system memory 11 into the logic memory 12, so that the backup data in the logic memory 12 are always consistent with the data of the system memory 11. During the data backup process, the system memory 11 maintains a read-only state, preventing the data of the system memory 11 from being modified accidentally.
S232, mounting the system memory into a readable and writable mode and mounting the logic memory into a read-only mode.
Specifically, as shown in fig. 1, after the data backup is completed, in order to configure the user data after the subsequent startup, the processor mounts the system memory 11 in a readable/writable mode, allowing the normal operation of the system of the vehicle-mounted terminal 1. The processor mounts the logic memory 12 in read-only mode as a spare memory.
S242, starting an operating system of the vehicle-mounted terminal through data of the system memory.
Specifically, as shown in fig. 1, the processor loads necessary system files and configuration files from the system memory 11, so as to ensure that the operating system of the vehicle-mounted terminal 1 can normally operate, and the vehicle-mounted terminal 1 enters a normal working state.
When the existing vehicle-mounted terminal backs up data, if power failure occurs again, data of the main memory and data of the standby memory are possibly inconsistent, namely partial data can be possibly not completely backed up, and therefore the effect of data recovery is affected. In the technical scheme of the embodiment of the invention, the system memory 11 is mounted in a read-only mode during data backup, so that the problem of inconsistent data backup caused by power failure again during data backup is effectively avoided, and the reliability and the data safety of the vehicle-mounted terminal 1 under the abnormal power failure condition are further improved. According to the technical scheme provided by the embodiment of the invention, the memory of the operating system capable of normally starting the vehicle-mounted terminal 1 is in a read-only state in the data backup and data recovery processes, namely, the system memory 11 is ensured to be in the read-only state in the data backup process, the logic memory 12 is ensured to be in the read-only state in the data recovery process, the situation that the two memories cannot normally work due to the fact that the power is cut off again in the data backup and data recovery processes is prevented, meanwhile, the data consistency and the data integrity in the data backup and data recovery processes are ensured, and the reliability and the stability of the vehicle-mounted terminal 1 are improved.
Optionally, on the basis of the foregoing embodiments, fig. 4 is a flowchart of another method for starting a vehicle-mounted terminal according to an embodiment of the present invention, where, as shown in fig. 4, the starting method includes:
And S300, finding out the system memory according to bus matching, finding out other starting data of the system memory according to the starting bit of the address of the rootfs partition of the system memory, and judging whether the other starting data are damaged.
Specifically, as shown in fig. 1, in the boot stage, the code of the system memory 11 defaults to a boot partition, a kernel partition, and a starting flash address of a rootfs partition, and the processor finds other starting data on the system memory 11 according to the matching of the device bus, and determines whether the other starting data is damaged. If the processor determines that other startup data is corrupted, S311 is performed, and if the processor determines that other startup data is not corrupted, S312 is performed.
S311, starting an operating system of the vehicle-mounted terminal through the data backed up by the logic memory.
S321, mounting the logic memory into a read-only mode and mounting the system memory into a readable and writable mode.
S331, performing disk repair on the system memory, and recovering the data backed up by the logic memory to the system memory.
S312, the system memory is mounted in a read-only mode, and the logic memory is mounted in a readable and writable mode.
S322, backing up the data of the system memory to the logic memory again.
S332, mounting the system memory into a readable and writable mode and mounting the logic memory into a read-only mode.
S342, starting an operating system of the vehicle-mounted terminal through data of the system memory.
Optionally, on the basis of the foregoing embodiments, fig. 5 is a flowchart of another method for starting a vehicle-mounted terminal according to an embodiment of the present invention, where, as shown in fig. 5, the starting method includes:
S400, powering on the vehicle-mounted terminal, and judging whether the data of the system memory are damaged.
Specifically, as shown in fig. 1, if the processor determines that the data of the system memory 11 is corrupt, S411 is performed, and if the processor determines that the data of the system memory 11 is not corrupt, S412 is performed.
S411, finding a logic memory backed up with data of the system memory according to bus matching, and mounting the logic memory into a read-only mode.
Specifically, as shown in fig. 1, the processor finds other boot data on the system memory 11 according to the match of the device bus, and the processor determines whether the other boot data is damaged. If the other boot data is corrupted, the processor finds the data backed up logical memory 12 based on the device bus match, mounting the logical memory 12 in read-only mode.
S421, starting an operating system of the vehicle-mounted terminal according to the addresses of the rootfs partitions of the logic memory.
Specifically, as shown in fig. 1, the processor starts to complete the start of the operating system of the vehicle-mounted terminal 1 according to the rootfs partition address on the logical memory 12.
S431, the logic memory is mounted in a read-only mode, and the system memory is mounted in a readable and writable mode.
S441, performing disk repair on the system memory, and recovering the data backed up by the logic memory to the system memory.
S412, mounting the system memory into a read-only mode and mounting the logic memory into a readable and writable mode.
S422, the data of the system memory is backed up to the logic memory again.
S432, mounting the system memory into a readable and writable mode and mounting the logic memory into a read-only mode.
S442, starting an operating system of the vehicle-mounted terminal through data of the system memory.
Fig. 6 is a schematic structural diagram of a starting device of a vehicle-mounted terminal according to an embodiment of the present invention, where the starting device, as shown in fig. 6, includes a first starting module 21, configured to start an operating system of the vehicle-mounted terminal by data backed up by a logical memory when data in a system memory is damaged. The mode mounting module 22 is configured to mount the logic memory in a read-only mode and mount the system memory in a readable/writable mode. And the repair module 23 is used for performing disk repair on the system memory. And the data recovery module 24 is used for recovering the data backed up by the logic memory to the system memory.
Specifically, referring to fig. 1, in the starting process of the operating system of the vehicle-mounted terminal 1, the vehicle-mounted terminal 1 is powered on first, after the data of the system memory 11 is damaged, the mode mounting module 22 may mount the logic memory 12 in a read-only mode at this time, and the first starting module 21 starts the operating system of the vehicle-mounted terminal 1 through the data, which is backed up in the logic memory 12 and is the same as the data in the system memory 11, that is, loads necessary system files and configuration files from the logic memory 12, so as to ensure that the operating system of the vehicle-mounted terminal 1 can be started normally. It is ensured that the in-vehicle terminal 1 can be started normally after the data of the system memory 11 is damaged due to abnormal power failure.
After the vehicle-mounted terminal 1 is started normally, the vehicle-mounted terminal 1 enters a recovery process. At this time, the mode mounting module 22 mounts the system memory 11 in a readable and writable mode, so as to ensure that data can be written normally. The mode mounting module 22 continues to keep the logic memory 12 mounted in the read-only mode, so that the problem that the data of the logic memory 12 is damaged due to the fact that the vehicle-mounted terminal 1 is powered off again in the recovery process, the system memory 11 and the logic memory 12 cannot work normally, and the problem that the data of the logic memory 12 recovered to the system memory 11 is inconsistent with the backup data and the problem that the data recovery is incomplete due to the fact that the logic memory 12 is powered off again are avoided.
Finally, the repair module 23 starts a disk repair operation on the system memory 11, and checks and repairs the damaged file system. After the repair is completed, the data recovery module 24 recovers the backup data in the logical memory 12 to the system memory 11, and completes the data recovery of the system memory 11. During the recovery process, the system memory 11 maintains a readable and writable state, ensuring that data can be written normally.
According to the technical scheme of the embodiment of the invention, through the double-memory design of the system memory and the logic memory, when the system memory data is damaged due to abnormal power failure, the first starting module 21 can start the operating system of the vehicle-mounted terminal from the backup logic memory. After the operating system of the vehicle-mounted terminal is normally started, the repair module 23 automatically repairs the damaged system memory, and the data recovery module 24 recovers data from the logic memory to ensure that the system recovers to normal operation. The mode mounting module 22 can complete data recovery of the system memory through simple mounting switching and the data recovery module 24 through simple data copying operation, so that the data recovery flow is simplified, and the recovery efficiency and reliability are improved. Meanwhile, in the process of recovering data, the logic memory of the operating system of the vehicle-mounted terminal can be normally started to be in a read-only state, so that the problem that the two memories cannot work normally due to data damage of the standby logic memory caused by abnormal power failure again in the process of recovering data is avoided. According to the technical scheme, when the vehicle-mounted terminal is abnormally powered off, the operating system of the vehicle-mounted terminal can be started from the standby logic memory, the disk repair and data recovery are carried out on the system memory after the starting is completed, meanwhile, the data consistency in the recovery process is guaranteed, the reliability and stability of the vehicle-mounted terminal are effectively improved, the problem that the operating system of the vehicle-mounted terminal cannot be started abnormally or user data are lost due to abnormal power off is avoided, and the safety and user experience of a driver are guaranteed.
Optionally, with continued reference to fig. 6, the mode mounting module 22 is further configured to mount the system memory in a read-only mode and the logic memory in a read-write mode.
Specifically, referring to fig. 1, the mode mounting module 22 may mount the system memory 11 in a read-only mode or a readable/writable mode, or may mount the logic memory 12 in a read-only mode or a readable/writable mode, and the mode mounting module 22 may perform any mounting switching on the system memory 11 and the logic memory 12.
Optionally, with continued reference to FIG. 6, the startup device further includes a backup module 25 for re-backing up the data of the system memory to the logical memory. The second starting module 26 is configured to start the operating system of the vehicle-mounted terminal through the data in the system memory.
Specifically, referring to fig. 1, when the data of the system memory 11 is not damaged, the mode mounting module 22 mounts the system memory 11 in a read-only mode, so as to ensure that the data of the system memory 11 cannot be changed, and the mode mounting module 22 mounts the logic memory 12 in a read-write mode, so as to prepare for data backup.
The backup module 25 backs up critical data in the system memory 11, such as system files and configuration files, etc., to the logical memory 12. After the vehicle-mounted terminal 1 is powered on each time, the data of the system memory 11 are not damaged, and the backup module 25 needs to re-backup the key data in the system memory 11 into the logic memory 12, so that the backup data in the logic memory 12 is always consistent with the data of the system memory 11. During the data backup process, the system memory 11 maintains a read-only state, preventing the data of the system memory 11 from being modified accidentally.
After the data backup is completed, the mode mounting module 22 mounts the system memory 11 in a readable and writable mode for the user data after the subsequent startup, allowing the normal operation of the system of the in-vehicle terminal 1. The mode mount module 22 mounts the logic memory 12 in read-only mode as a spare memory.
The second starting module 26 loads necessary system files and configuration files from the system memory 11, so as to ensure that the operating system of the vehicle-mounted terminal 1 can normally operate, and the vehicle-mounted terminal 1 enters a normal working state.
According to the technical scheme provided by the embodiment of the invention, the mode mounting module 22 mounts the system memory 11 into the read-only mode during data backup, so that the problem of inconsistent data backup caused by power failure again during data backup is effectively avoided, and the reliability and the data safety of the vehicle-mounted terminal 1 under the abnormal power failure condition are further improved. According to the technical scheme provided by the embodiment of the invention, in the data backup and data recovery processes, the memory of the operating system of the vehicle-mounted terminal 1 can be normally started to be in a read-only state, namely, in the data backup process, the mode mounting module 22 ensures that the system memory 11 is in a read-only state, in the data recovery process, the mode mounting module 22 ensures that the logic memory 12 is in a read-only state, so that the two memories cannot normally work due to the fact that the power is cut off again in the data backup and data recovery processes are prevented, meanwhile, the data consistency and integrity in the data backup and data recovery processes are ensured, and the reliability and stability of the vehicle-mounted terminal 1 are improved.
The vehicle-mounted terminal comprises, but is not limited to, a vehicle-mounted terminal of a mining rubber-tyred vehicle, wherein the vehicle-mounted terminal is started by adopting the starting method of any vehicle-mounted terminal provided by any embodiment of the invention, namely, the vehicle-mounted terminal of the mining rubber-tyred vehicle can be started by adopting the starting method of any vehicle-mounted terminal provided by any embodiment of the invention, and the vehicle-mounted terminal provided by the embodiment of the invention has the beneficial effects of the starting method of any vehicle-mounted terminal provided by any embodiment of the invention.
An embodiment of the present invention provides an electronic device, and fig. 7 shows a schematic structural diagram of an electronic device that may be used to implement an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic device 30 may also represent various forms of mobile equipment, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., helmets, eyeglasses, watches, etc.), and other similar computing equipment. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 30 includes at least one processor 31, and a memory communicatively coupled to the at least one processor 31, such as a Read Only Memory (ROM) 32, a Random Access Memory (RAM) 33, etc., and further includes a system memory 11 and a logic memory 12, the system memory 11 and the logic memory 12 being communicatively coupled to the processor 31 via a bus 34. In which a memory stores a computer program executable by at least one processor 31, the processor 31 may perform various suitable actions and processes according to the computer program stored in a Read Only Memory (ROM) 32 or the computer program loaded from a storage unit 38 into a Random Access Memory (RAM) 33. In the RAM 33, various programs and data required for the operation of the electronic device 30 may also be stored. The processor 31, the ROM 32 and the RAM 33 are connected to each other via a bus 34. An input/output (I/O) interface 35 is also connected to bus 34.
Various components in the electronic device 30 are connected to the I/O interface 35, including an input unit 36, such as a keyboard, mouse, etc., an output unit 37, such as various types of displays, speakers, etc., a storage unit 38, such as a magnetic disk, optical disk, etc., and a communication unit 39, such as a network card, modem, wireless communication transceiver, etc. The communication unit 39 allows the electronic device 30 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 31 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 31 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 31 performs the respective methods and processes described above, for example, a start-up method of the in-vehicle terminal.
In some embodiments, the method of starting up the vehicle terminal may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 38. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 30 via the ROM 32 and/or the communication unit 39. When the computer program is loaded into the RAM 33 and executed by the processor 31, one or more steps of the above-described start-up method of the in-vehicle terminal may be performed. Alternatively, in other embodiments, the processor 31 may be configured to perform the method of starting the vehicle-mounted terminal in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be a special or general purpose programmable processor, operable to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor 31, cause the functions/operations specified in the flowchart and/or block diagram to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user, for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a Local Area Network (LAN), a Wide Area Network (WAN), a blockchain network, and the Internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.