Vehicle safe driving control method, device, equipment and medium
By setting up a virus detection unit and permission management mechanism in the car on-board computer, combined with the local and cloud virus database detection and update, the problem of invasion and spread of viruses in the car on-board computer has been solved, and the safety of vehicle driving has been improved.
Patent Information
- Application Number
- CN202111303248.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-04
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2041-11-04
AI Technical Summary
Existing automotive on-board computers have the risk of virus invasion and spread, especially when connected to the Internet and USB flash drive, which may affect the safety of driverless driving.
By setting up a virus detection unit in the vehicle driving control device, local and cloud virus database inspections are carried out on the connected external memory to ensure that there is no virus and access is allowed after the content is read according to the driving mode. In addition, the local virus database is regularly updated, the cloud communication traffic is monitored, the connection is cut off in time and the entire machine is scanned, and security risks are detected and dealt with.
Effectively prevent virus infection and spread, improve vehicle driving safety, and ensure the stability and reliability of unmanned driving systems.
Smart Images

Figure CN113987497B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle driving technology, and in particular to a vehicle safe driving control method, device, equipment and storage medium. Background Art
[0002] With the development of science and technology, the technology of automatic driving or unmanned driving is becoming more and more advanced. Compared with the traditional vehicle-mounted equipment which is simply audio equipment, the vehicle-mounted equipment nowadays is usually a vehicle-mounted computer with a car chip inside. The car chip is also becoming more intelligent, so there is a possibility of being invaded by viruses.
[0003] On the one hand, almost all cars can be plugged in USB flash drives. If the inserted USB flash drive is infected by a virus, the virus is likely to spread further and infect the car's onboard computer to achieve the purpose of controlling the car. For example, it may happen that the cruise control does not slow down when braking, the parameters of unmanned driving or automatic driving are changed, the car navigation map is changed, etc. to achieve malicious purposes, which greatly affects the safety of unmanned driving.
[0004] On the other hand, nowadays, the onboard computers of cars can be connected to the Internet, so there is a possibility that the virus may spread through the network, thus causing the virus to spread. The attacker can select the target to attack based on the car after the virus spreads. Summary of the invention
[0005] In view of this, embodiments of the present invention provide a vehicle safe driving control method, device, equipment and storage medium to improve the safety of vehicle driving.
[0006] In a first aspect, an embodiment of the present invention provides a vehicle safe driving control method, the method comprising:
[0007] Perform virus detection on the external storage device connected to the vehicle driving control device;
[0008] When access to the external storage is allowed after determining that the connected external storage is virus-free, obtaining the current driving mode of the vehicle;
[0009] A content read permission corresponding to the driving mode is set for the connected external memory.
[0010] Furthermore, the external storage device connected to the vehicle driving control device is checked for viruses, including:
[0011] When the connection between the external storage and the vehicle driving control device is established, a local virus library search is performed on the connected external storage to detect whether the connected external storage has a local virus;
[0012] If there is no local virus, the external storage is started, the cloud virus database is connected to the network, and the cloud virus database is checked for the connected external storage; after the connected external storage has no cloud virus, it is determined that access to the external storage is allowed.
[0013] Furthermore, the virus detection and killing of the external memory connected to the vehicle driving control device also includes:
[0014] When the connection between the external storage and the vehicle driving control device is established, the vehicle driving control device is in an Internet access state, and the cloud virus library of the connected external storage is checked and killed; if there is no cloud virus, the external storage is started and access to the external storage is allowed.
[0015] Furthermore, the method also includes: connecting to a cloud virus database according to a set period, and using the cloud virus database to update the local virus database.
[0016] Furthermore, the method also includes: when the traffic of communicating with the cloud after connecting to the network exceeds a set threshold, the connection with the cloud is automatically cut off and the whole machine scan is started.
[0017] Furthermore, after setting the content reading permission corresponding to the driving mode for the connected external memory, the method further includes:
[0018] When monitoring detects that other processes besides those required for vehicle driving are started, vehicle driving safety hazard detection is performed.
[0019] Furthermore, after performing the vehicle driving safety hazard detection, the method further includes:
[0020] If a safety hazard is detected and the vehicle fails to exit the current driving mode, the vehicle driving control device is switched to a new operating system so that the new operating system can restore the vehicle driving state before the switch and take over the old operating system for vehicle driving control.
[0021] In a second aspect, an embodiment of the present invention further provides a vehicle safety driving control device, the device comprising:
[0022] A virus detection unit, used for performing virus detection on an external memory connected to a vehicle driving control device;
[0023] A driving mode acquisition unit, for acquiring a current driving mode of the vehicle when access to the external memory is allowed after determining that the connected external memory is virus-free;
[0024] The permission setting unit is used to set the content reading permission corresponding to the driving mode for the connected external memory.
[0025] Furthermore, the virus detection unit is used to detect and kill viruses in an external memory connected to the vehicle driving control device, including:
[0026] When the connection between the external storage and the vehicle driving control device is established, a local virus library search is performed on the connected external storage to detect whether the connected external storage has a local virus;
[0027] If there is no local virus, the external storage is started, the cloud virus database is connected to the network, and the cloud virus database is checked for the connected external storage; after the connected external storage has no cloud virus, it is determined that access to the external storage is allowed.
[0028] Furthermore, the virus detection unit is also used to perform a local virus database search on the connected external memory to detect whether the connected external memory has a local virus: if there is a local virus, disconnect the external memory and / or issue an alarm.
[0029] Furthermore, the device also includes a virus database updating unit, which is used to: connect to a cloud virus database according to a set period, and use the cloud virus database to update the local virus database.
[0030] Furthermore, the device also includes a traffic monitoring unit, which is used to automatically cut off the connection with the cloud and start whole-machine scanning when the traffic of communicating with the cloud after connecting to the network exceeds a set threshold.
[0031] Furthermore, the device further includes a potential safety hazard detection unit, which is configured to: after the permission setting unit sets the content reading permission corresponding to the driving mode on the connected external memory:
[0032] When monitoring detects that other processes besides those required for vehicle driving are started, vehicle driving safety hazard detection is performed.
[0033] Furthermore, the device further comprises a system switching unit, which is used for: after the potential safety hazard detection unit detects potential safety hazards in vehicle driving:
[0034] If the safety hazard detection unit detects the existence of a safety hazard and the vehicle fails to exit the current driving mode, the vehicle driving control device is switched to a new operating system so that the new operating system can restore the vehicle driving state before the switch and take over the old operating system for vehicle driving control.
[0035] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a housing, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and the memory are arranged on the circuit board; a power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the vehicle safe driving control method described above.
[0036] In a fourth aspect, an embodiment of the present invention further provides a computer program medium on which a computer program is stored, and when the program is executed by a processor, the steps of the vehicle safe driving control method as described above are implemented.
[0037] The technical solution provided by the embodiment of the present invention can detect and kill viruses in an external memory connected to a vehicle driving control device, and set different external memory content reading permissions according to different vehicle driving modes, which can effectively prevent virus infection and spread, and greatly improve the safety of vehicle driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 A schematic diagram of a flow chart of a vehicle safe driving control method provided in Embodiment 1 of the present invention;
[0040] Figure 2 A schematic flow chart of a vehicle safe driving control method provided in Embodiment 2 of the present invention;
[0041] Figure 3 A schematic diagram of the structure of a vehicle safety driving control device provided in Embodiment 4 of the present invention;
[0042] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0044] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] Embodiment 1
[0046] This embodiment provides a vehicle safe driving control method, which can be executed by a vehicle safe driving control device implemented by software and / or hardware. The device can be deployed on a vehicle driving control device to control the safe driving of the vehicle. Figure 1 The method includes the following steps 101-103.
[0047] Step 101: Perform virus detection on an external memory connected to a vehicle driving control device.
[0048] In this step, the vehicle driving control device is provided with a CPU chip and an internal memory for controlling the vehicle driving. For example, the control device may be an onboard computer. External memory refers to storage other than the vehicle driving control device memory and the CPU cache, such as a USB flash drive, a hard disk, a floppy disk or an optical disk, etc. When performing virus detection on the external memory, only a local virus library may be used for virus detection, or a powerful cloud virus library may be connected to the network and used for virus detection. As a preferred embodiment, performing virus detection on the external memory connected to the vehicle driving control device includes:
[0049] When the connection between the external storage and the vehicle driving control device is established, a local virus library search is performed on the connected external storage to detect whether the connected external storage has a local virus;
[0050] If there is no local virus, the external storage is started, the cloud virus database is connected to the network, and the cloud virus database is checked for the connected external storage; after the connected external storage has no cloud virus, it is determined that access to the external storage is allowed.
[0051] Optionally, after searching the local virus database of the connected external storage to detect whether the connected external storage has local viruses, the method further includes: if there are local viruses, disconnecting the external storage and / or issuing an alarm.
[0052] Preferably, the method provided in this embodiment further includes: connecting to a cloud virus database according to a set period, and using the cloud virus database to update the local virus database.
[0053] Furthermore, the method provided in this embodiment also includes: when the traffic of communicating with the cloud after connecting to the network exceeds a set threshold, the connection with the cloud is automatically cut off and the whole machine scan is started.
[0054] The above-mentioned setting period and setting threshold can be set by those skilled in the art based on experience.
[0055] Step 102: After determining that the connected external memory is virus-free and access to the external memory is allowed, obtain the current driving mode of the vehicle.
[0056] In this step, the vehicle driving mode can be divided into: automatic driving mode and manual driving mode, or divided into: full automatic driving mode, semi-automatic driving mode and manual driving mode. A parameter for identifying the vehicle driving mode can be pre-set, and the initial value of the parameter can be defaulted to the value corresponding to the manual driving mode, and the parameter value can be dynamically modified in real time according to the actual driving state of the vehicle. The current driving mode of the vehicle can be obtained by reading the parameter value.
[0057] Step 103: Setting content reading permissions corresponding to the driving mode for the connected external memory.
[0058] In this step, not only is the content reading permission set for the connected external memory, but more importantly, the content reading permission in the external memory is determined according to the current driving mode of the vehicle. For example, in the automatic driving mode, the vehicle driving control device is relatively easy to be infected with viruses. Once the virus invades, it will threaten the automatic driving of the vehicle driving control device. Therefore, it can be set to allow only a small amount of file content (such as the first type of file content) in the external memory to be read; in the manual driving mode, the possibility of the vehicle driving control device being infected by the virus is relatively low. Even if the virus invades, the driving safety is not easily affected by manual control of the vehicle driving, so it can be set to restrict only a small number of file contents (such as the second type of file content) in the external memory from being read. Among them, the first type of file content can be a file content that is not easily infected by viruses according to historical statistics or experience; on the contrary, the second type of file content can be a file content that is easily infected by viruses according to historical statistics or experience. In addition, the first type of file content can also include file content that must be read for the automatic driving process.
[0059] Embodiment 2
[0060] This embodiment provides another vehicle safe driving control method based on the above embodiment 1. The method can be executed by a vehicle safe driving control device implemented by software and / or hardware, and the device can be deployed on a vehicle driving control device to control the safe driving of the vehicle. Figure 2 The method specifically includes the following steps 200-204.
[0061] Step 201: Perform virus detection on an external memory connected to a vehicle driving control device.
[0062] Step 202: After determining that the connected external memory is virus-free and access to the external memory is allowed, obtain the current driving mode of the vehicle.
[0063] Step 203: Setting content reading permissions corresponding to the driving mode for the connected external memory.
[0064] The above steps 201 to 203 are the same as the steps 101 to 103 in the above embodiment 1, and are not described again here.
[0065] Step 204: When it is monitored that other processes other than the processes required for vehicle driving are started, a vehicle driving safety hazard detection is performed.
[0066] In this step 204, preferably, when the vehicle driving mode is the automatic driving mode, the process of the operating system running the vehicle driving control device can be monitored in real time. If it is monitored that other processes other than the processes that need to be run for vehicle driving are started, it is immediately detected whether there are safety hazards in vehicle driving. Of course, vehicle driving safety hazard detection can also be performed when the vehicle driving mode is the manual driving mode. Specifically, the vehicle driving safety hazard detection process may include: scanning the vehicle driving control device as a whole machine to check whether the device has security vulnerabilities. Alternatively, it is also possible to only detect other processes other than the processes that need to be run for vehicle driving that are started and only scan the other processes to check whether there are malicious operations, such as whether there are external connections, whether there are query operations on system-level directories, etc. Further, if it is detected that there are security vulnerabilities in the device, or other processes other than the processes that need to be run for vehicle driving have malicious operations, a safety hazard prompt is performed, such as issuing a sound and light pop-up window prompt to prompt the user to manually choose to exit the current vehicle driving mode, or the device itself actively exits the current vehicle driving mode while the safety hazard prompt is performed.
[0067] As a preferred implementation, after performing the vehicle driving safety hazard detection, the vehicle safe driving control method provided in this embodiment further includes step 205:
[0068] If a safety hazard is detected and the vehicle fails to exit the current driving mode, the vehicle driving control device is switched to a new operating system so that the new operating system can restore the vehicle driving state before the switch and take over the old operating system for vehicle driving control.
[0069] The triggering of the system switching operation may be automatically triggered when the condition that there is a safety hazard and the vehicle fails to exit the current driving mode is met, or it may be triggered when the user operation is detected to be consistent with the preset system switching operation after the condition is met. Exemplarily, the operating systems before and after the switching are different underlying operating systems, for example, one is an Android operating system and the other is an IOS operating system. Preferably, in order to ensure the normal operation and function of the vehicle, the new operating system after the switching may not be provided with an interface for connecting to an external device.
[0070] Embodiment 3
[0071] This embodiment provides a preferred embodiment based on the above embodiments. This embodiment takes the vehicle as a car, the vehicle driving control device as a car onboard computer, and the external memory as a USB flash drive as an example to provide a safe driving control method. Of course, this preferred embodiment is also applicable to other types of vehicles, vehicle driving control devices, and external memories. Specifically, the method includes the following steps:
[0072] Step 1: Create a cloud virus database and a local virus database. The onboard computer of the car can connect to the cloud virus database through the network and update the local virus database through the cloud virus database according to the set period.
[0073] Step 2: When the USB flash drive is inserted, the car's onboard computer searches the local virus database for the USB flash drive to detect whether there are local viruses. If there are no local viruses, the USB flash drive is started and step 3 is executed. If there are local viruses, the USB flash drive is ejected and an alarm is issued.
[0074] Step 3: The car's onboard computer starts to connect to the cloud virus database and perform cloud virus database scan on the USB flash drive. After the USB flash drive is free of cloud viruses, it is confirmed that reading the contents of the USB flash drive is allowed.
[0075] Step 4: If the current driving mode of the car is the automatic driving mode, the car's onboard computer activates the whitelist function to limit the reading of the content in the USB flash drive, and only allows the setting file content in the whitelist to be read, such as music.
[0076] If the current driving mode of the car is manual driving mode, the car's onboard computer activates the blacklist function to limit the reading of the contents in the USB flash drive, and only restricts the reading of the setting file contents in the blacklist, such as XX.
[0077] Typically, when the car is in the automatic driving mode, after the U disk content is allowed to be read, the car's onboard computer monitors the system process. When monitoring the start of other processes other than the process required for the vehicle's automatic driving, the car's onboard computer prompts the user that the current automatic driving mode has safety hazards and scans the entire machine at the same time. Among them, the user prompt can be a prompt such as a sound and light pop-up window to the user, prompting the user to actively choose to exit the automatic driving mode. If the whole machine scan finds that there is a vulnerability, but the automatic driving mode cannot be exited, the user can switch to another operating system with a different underlying layer by long pressing the physical button of the switching system for 5S (to prevent accidental touch), such as the first system is the Android underlying layer, and the second system is the IOS underlying layer. The new operating system takes over the current car status and related parameters, and the first operating system defaults to the shutdown state. The external interface of the car's onboard computer is based on the first operating system. The second operating system does not have an interface for connecting to external devices. Its main function is to ensure the normal operation and function of the vehicle without any danger. The first operating system has the admin permission for the vehicle (it can work normally, but the permission for core file operations is insufficient), and the second operating system has the root permission for the vehicle (it has the highest authority over the vehicle and the car's onboard computer); when ROOT logs in, other accounts lose all permissions.
[0078] Step 5: When the vehicle computer is in networking mode, add traffic monitoring for communication with the cloud, set the traffic threshold to trigger an alarm and cut off the network connection. For example, when the transmission protocol is http, the communication traffic is 10M / S under normal conditions, and the threshold is set to 30M. If the current traffic size exceeds the threshold, the connection with the cloud is automatically cut off and the whole machine scan is started.
[0079] In addition, an embodiment of the present invention also provides a vehicle safety driving control device, see Figure 3 , the device comprises:
[0080] The virus detection unit 301 is used to detect and kill viruses on the external memory connected to the vehicle driving control device;
[0081] A driving mode acquisition unit 302, for acquiring a current driving mode of the vehicle when access to the external memory is allowed after determining that the connected external memory is virus-free;
[0082] The permission setting unit 303 is used to set the content reading permission corresponding to the driving mode for the connected external memory.
[0083] Exemplarily, the virus detection unit 301 is used to detect and kill viruses in an external memory connected to the vehicle driving control device, including:
[0084] When the connection between the external storage and the vehicle driving control device is established, a local virus library search is performed on the connected external storage to detect whether the connected external storage has a local virus;
[0085] If there is no local virus, the external storage is started, the cloud virus database is connected to the network, and the cloud virus database is checked for the connected external storage; after the connected external storage has no cloud virus, it is determined that access to the external storage is allowed.
[0086] Exemplarily, the virus detection unit 301 is also used to perform a local virus database search on the connected external memory to detect whether the connected external memory has a local virus: if there is a local virus, disconnect the external memory and / or issue an alarm.
[0087] Exemplarily, the vehicle safety driving control device provided in this embodiment further includes a virus database updating unit 304, which is used to: connect to a cloud virus database at a set period and update the local virus database using the cloud virus database.
[0088] Exemplarily, the vehicle safety driving control device provided in this embodiment also includes a traffic monitoring unit 305, which is used to automatically cut off the connection with the cloud and start whole-machine scanning when the traffic of communicating with the cloud after connecting to the network exceeds a set threshold.
[0089] Exemplarily, the vehicle safe driving control device provided in this embodiment further includes a potential safety hazard detection unit 306, which is used to, after the permission setting unit 303 sets the content reading permission corresponding to the driving mode to the connected external memory:
[0090] When monitoring detects that other processes besides those required for vehicle driving are started, vehicle driving safety hazard detection is performed.
[0091] Exemplarily, the vehicle safe driving control device provided in this embodiment further includes a system switching unit 307, which is used to: after the potential safety hazard detection unit 306 detects potential safety hazard of vehicle driving:
[0092] If the safety hazard detection unit 306 detects the existence of a safety hazard and the vehicle fails to exit the current driving mode, the vehicle driving control device is switched to a new operating system to restore the vehicle driving state before the switch and take over the old operating system for vehicle driving control.
[0093] An embodiment of the present invention further provides an electronic device, which includes the vehicle safety driving control device described in any of the aforementioned embodiments.
[0094] Figure 4 This is a schematic diagram of the structure of an embodiment of the electronic device of the present invention, which can implement the present invention Figure 1The process of the embodiment shown is as follows: Figure 4 As shown, the above-mentioned electronic device may include: a shell 41, a processor 42, a memory 43, a circuit board 44 and a power supply circuit 45, wherein the circuit board 44 is arranged inside the space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; the power supply circuit 45 is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory 43 is used to store executable program codes; the processor 42 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 43, so as to execute the vehicle safety driving control method described in any of the above-mentioned embodiments.
[0095] For details on the specific execution process of the above steps by the processor 42 and the steps further executed by the processor 42 by running the executable program code, please refer to the present invention. Figure 1 The description of the illustrated embodiment will not be repeated here.
[0096] This electronic device exists in many forms, including but not limited to:
[0097] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
[0098] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.
[0099] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.
[0100] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.
[0101] (5) Other electronic devices with data interaction functions.
[0102] In addition, an embodiment of the present invention also provides a computer program medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the vehicle safety driving control method provided by any embodiment of the present invention.
[0103] The technical solution provided by the embodiment of the present invention can prevent dangers in the driving process caused by the invasion of external memory viruses, thereby improving the overall safety of vehicle driving.
[0104] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0105] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0106] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0107] In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0108] For the convenience of description, the above device is described by dividing the functions into various units / modules. Of course, when implementing the present invention, the functions of each unit / module can be implemented in the same or multiple software and / or hardware.
[0109] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0110] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A vehicle safe driving control method, characterized in that: The method comprises: Perform virus detection on the external storage device connected to the vehicle driving control device; When access to the external storage is allowed after determining that the connected external storage is virus-free, obtaining the current driving mode of the vehicle; Content reading permissions corresponding to the driving mode are set for the connected external memory; the content reading permissions include: permissions corresponding to the automatic driving mode that only allow reading of file contents in the external memory and permissions corresponding to the manual driving mode that only restrict the file contents in the external memory from being readable.
2. The method according to claim 1, characterized in that Perform virus detection on the external storage device connected to the vehicle driving control device, including: When the connection between the external storage and the vehicle driving control device is established, a local virus library search is performed on the connected external storage to detect whether the connected external storage has a local virus; If there is no local virus, the external storage is started, the cloud virus database is connected to the network, and the cloud virus database is checked for the connected external storage; after the connected external storage has no cloud virus, it is determined that access to the external storage is allowed.
3. The method according to claim 2, characterized in that After searching the local virus database of the connected external memory to detect whether the connected external memory has local viruses, the method further includes: if there are local viruses, disconnecting the external memory and / or issuing an alarm.
4. The method according to claim 2 or 3, characterized in that: The method further includes: connecting to a cloud virus database according to a set period, and using the cloud virus database to update the local virus database.
5. The method according to claim 4, characterized in that The method also includes: when the traffic volume of communication with the cloud after connecting to the network exceeds a set threshold, the connection with the cloud is automatically cut off and the whole machine scan is started.
6. The method according to claim 1, characterized in that After setting the content reading permission corresponding to the driving mode on the connected external memory, the method further includes: When monitoring detects that other processes besides those required for vehicle driving are started, vehicle driving safety hazard detection is performed.
7. The method according to claim 6, characterized in that After performing the vehicle driving safety hazard detection, the method further includes: If a safety hazard is detected and the vehicle fails to exit the current driving mode, the vehicle driving control device is switched to a new operating system so that the new operating system can restore the vehicle driving state before the switch and take over the old operating system for vehicle driving control.
8. A vehicle safety driving control device, characterized in that: The device comprises: A virus detection unit, used for performing virus detection on an external memory connected to a vehicle driving control device; A driving mode acquisition unit, for acquiring a current driving mode of the vehicle when access to the external memory is allowed after determining that the connected external memory is virus-free; A permission setting unit is used to set content reading permissions corresponding to the driving mode for the connected external memory; the content reading permissions include: permissions corresponding to the automatic driving mode that only allow reading of file contents in the external memory and permissions corresponding to the manual driving mode that only restrict the file contents in the external memory from being readable.
9. The device according to claim 8, characterized in that The virus detection unit is used to detect and kill viruses in the external storage connected to the vehicle driving control device, including: When the connection between the external storage and the vehicle driving control device is established, a local virus library search is performed on the connected external storage to detect whether the connected external storage has a local virus; If there is no local virus, the external storage is started, the cloud virus database is connected to the network, and the cloud virus database is checked for the connected external storage; after the connected external storage has no cloud virus, it is determined that access to the external storage is allowed.
10. The device according to claim 9, characterized in that The virus detection unit is also used to perform a local virus database search on the connected external memory to detect whether the connected external memory has a local virus: if there is a local virus, disconnect the external memory and / or issue an alarm.
11. The device according to claim 9 or 10, characterized in that The device also includes a virus database updating unit, which is used to connect to a cloud virus database according to a set period and use the cloud virus database to update the local virus database.
12. The device according to claim 11, characterized in that The device also includes a traffic monitoring unit, which is used to automatically cut off the connection with the cloud and start whole-machine scanning when the traffic of communicating with the cloud after connecting to the network exceeds a set threshold.
13. The device according to claim 8, characterized in that The device further includes a potential safety hazard detection unit, which is configured to: after the permission setting unit sets the content reading permission corresponding to the driving mode on the connected external memory; When monitoring detects that other processes besides those required for vehicle driving are started, vehicle driving safety hazard detection is performed.
14. The device according to claim 13, characterized in that The device further includes a system switching unit, which is used for: after the potential safety hazard detection unit detects potential safety hazards of vehicle driving: If the safety hazard detection unit detects the existence of a safety hazard and the vehicle fails to exit the current driving mode, the vehicle driving control device is switched to a new operating system so that the new operating system can restore the vehicle driving state before the switch and take over the old operating system for vehicle driving control.
15. An electronic device, characterized in that: The electronic device comprises: a housing, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in any one of the preceding claims 1-7.
16. A computer program medium, characterized in that A computer program is stored thereon, characterized in that when the program is executed by a processor, the steps of the method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
A method and apparatus for managing a file of a mobile storage device
CN109033868A
A method for improving the SATA hard disk transmission speed under a VxWorks system
CN109446133A