Host system detection method and apparatus, vehicle-mounted device, and readable storage medium
By recording historical inspection progress in the inspection file, the technical problem of continuing inspection upon startup is solved. This addresses the technical issues identified in the inspection file when starting the vehicle, thus resolving the technical problems in the prior art through periodic inspection. It also solves the technical problems that were not detected in the prior art, thereby improving the coverage and safety of the inspection.
Patent Information
- Application Number
- CN202111583040.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2041-12-22
AI Technical Summary
The long testing cycle of the vehicle's main unit system and the limited vehicle startup time result in some testing items not being completed, leading to missed detections.
By recording historical detection progress in the detection file, the system determines the current detection item based on the detection file upon startup, enabling periodic detection and avoiding duplicate detection. During the detection process, necessary items are paused, or items to be duplicated or restarted are added to the detection list. Items to be restarted are added to the detection process, and items to be paused are filtered out; alternatively, items to be restarted are added to the detection list, and the items in the detection list are then detected.
It improves the coverage and safety of vehicle host system testing, reduces the repetition of testing items and improves testing efficiency, ensuring testing coverage and safety in all application scenarios.
Smart Images

Figure CN114238002B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle testing technology, and more specifically, to a host system testing method, apparatus, vehicle-mounted equipment, and readable storage medium. Background Technology
[0002] With the increasing number of applications on computers, the number of applications that can be applied to vehicle host systems is also growing. This has led to a rise in cybersecurity incidents in vehicles, making host system detection technology in vehicles widely needed. Host system detection technology is often integrated into in-vehicle equipment, which can effectively reduce system security issues, but it also brings other challenges. The host system detection cycle for vehicles is relatively long, but the limited startup time of vehicles may result in only partial detection being possible. Summary of the Invention
[0003] The purpose of this application is to provide a host system testing method, apparatus, vehicle-mounted equipment, and readable storage medium that can solve the testing defects existing in the host system of a vehicle.
[0004] In a first aspect, the present invention provides a host system detection method, comprising:
[0005] Once the target host system of the target vehicle is started, the detection file is obtained;
[0006] Based on the detection file, the current detection items of the target host system are determined;
[0007] The target host system is detected based on the current detection item.
[0008] In an optional implementation, determining the current detection item of the target host system based on the detection file includes:
[0009] Based on the detection file, the first set of detection items that have been detected in the target host system is determined;
[0010] Remove the first detection item set from all detectable item sets in the target host system to determine the second detection item set that needs to be detected;
[0011] The current detection item is determined from the second set of detection items.
[0012] In an optional implementation, determining the current detection item of the target host system based on the detection file includes:
[0013] Based on the detection file, the historical detection items of the target host system last detected are determined;
[0014] Based on the historical detection items, the current detection item is determined.
[0015] In an optional implementation, the method further includes:
[0016] Receive a pause request, or receive a restart request for a paused detection item, wherein the pause request carries the item to be paused, and the restart request carries the item to be restarted;
[0017] The detection of the target host system includes:
[0018] During the detection process, the items to be paused are filtered out; or,
[0019] Add the item to be restarted to the detection list, and then perform detection on the items in the detection list.
[0020] In an optional implementation, the detection of the target host system includes:
[0021] The target host system is periodically tested according to a set cycle.
[0022] In an optional implementation, the detection of the target host system includes:
[0023] The detection items following the current detection item are detected, and the detection file is updated based on the detection progress;
[0024] Once the host system detection is complete, the detection file is initialized.
[0025] In an optional implementation, the method further includes:
[0026] Before performing the first detection on the target host system, create the detection file and initialize the detection file.
[0027] In a second aspect, the present invention provides a host system detection device, comprising:
[0028] The acquisition module is used to acquire detection files after the target host system of the target vehicle is started.
[0029] The determination module is used to determine the current detection item of the target host system based on the detection file;
[0030] The detection module is used to detect the target host system based on the current detection item.
[0031] Thirdly, the present invention provides an in-vehicle device, including: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the in-vehicle device is running, the machine-readable instructions are executed by the processor to perform the steps of the method described in any of the foregoing embodiments.
[0032] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the method described in any of the foregoing embodiments.
[0033] The beneficial effects of this application's embodiments are as follows: By recording historical detection data in a detection file, the current detection item can be determined based on the detection file upon the next vehicle startup, allowing the system to continue from the previous detection progress and proceed with subsequent detection items. This avoids repeatedly detecting items prioritized earlier in the detection list and prevents situations where later detection items cannot be detected after multiple vehicle startups. Consequently, the detection coverage of the vehicle's main unit system is broadened, and the security of the vehicle's main unit system is improved. Attached Figure Description
[0034] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a block diagram of the vehicle-mounted device provided in an embodiment of this application;
[0036] Figure 2 A flowchart of the host system detection method provided in the embodiments of this application;
[0037] Figure 3 This is a schematic diagram of the functional modules of the host system detection device provided in an embodiment of this application. Detailed Implementation
[0038] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0039] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0040] The inventors learned that as the information and entertainment functions of in-vehicle entertainment systems become increasingly sophisticated, cybersecurity incidents are on the rise. The vehicle's main unit system requires the monitoring of many functional modules, resulting in some main unit monitoring cycles being very long. However, vehicle operating time is not fixed. When the vehicle's main unit system operates for a short period, the main unit monitoring may not have finished, and the next time the vehicle's main unit system starts, it will begin monitoring from the beginning again. This repeated starting of monitoring from the beginning can lead to missed detections.
[0041] Based on the above, this application provides a host system detection method. Through periodic detection, the detection cycle does not end when the host system is shut down, but continues the unfinished cycle upon the next startup of the host system. The host system detection method provided in this application is described below through some embodiments.
[0042] To facilitate understanding of this embodiment, the vehicle-mounted device that performs the host system detection method disclosed in this application embodiment will first be described in detail.
[0043] like Figure 1 The diagram shown is a block illustration of an in-vehicle device. The in-vehicle device 100 may include a memory 111, a processor 113, a peripheral interface 114, an input / output unit 115, and a display unit 116. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the vehicle-mounted device 100. For example, the vehicle-mounted device 100 may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0044] The aforementioned memory 111, memory controller 112, processor 113, peripheral interface 114, input / output unit 115, and display unit 116 are electrically connected directly or indirectly to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The aforementioned processor 113 is used to execute executable modules stored in the memory.
[0045] The memory 111 can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory 111 stores programs, and the processor 113 executes these programs upon receiving execution instructions. The methods executed by the vehicle-mounted device 100 as defined in any embodiment of this application can be applied to the processor 113, or implemented by the processor 113.
[0046] The aforementioned processor 113 may be an integrated circuit chip with signal processing capabilities. The processor 113 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a digital signal processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor.
[0047] The peripheral interface 114 described above couples various input / output devices to the processor 113 and the memory 111. In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 can be implemented on a single chip. In other instances, they can be implemented on separate chips.
[0048] The input / output unit 115 described above is used to provide user input data. The input / output unit 115 may be, but is not limited to, a mouse and keyboard.
[0049] The aforementioned display unit 116 provides an interactive interface (e.g., a user interface) between the vehicle-mounted device 100 and the user, or displays image data for the user's reference. In this embodiment, the display unit can be a liquid crystal display (LCD) or a touch display. If it is a touch display, it can be a capacitive touchscreen or a resistive touchscreen that supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations generated simultaneously from one or more locations on the touch display and pass the sensed touch operations to the processor for calculation and processing.
[0050] Optionally, the vehicle-mounted device 100 may also include functional modules required by the vehicle. For example, the vehicle-mounted device 100 may also include a positioning unit for collecting the real-time location of the vehicle. As another example, the vehicle-mounted device 100 may also include a communication unit for communicating with external servers and terminal devices.
[0051] The vehicle-mounted device 100 can be installed on a vehicle. When the vehicle is started, it can be powered by the vehicle, and the vehicle-mounted device 100 can be turned on and run when the vehicle is started. When the vehicle is turned off, the vehicle-mounted device 100 will also be turned off.
[0052] For example, the vehicle-mounted device 100 may be equipped with a detection application such as a security guard for detecting the host system.
[0053] The vehicle-mounted device 100 in this embodiment can be used to execute various steps in the various methods provided in the embodiments of this application. The implementation process of the host system detection method is described in detail below through several embodiments.
[0054] Please see Figure 2 This is a flowchart of the host system detection method provided in the embodiments of this application. The following will describe... Figure 2 The specific process shown will be explained in detail.
[0055] Step 210: After the target host system of the target vehicle is started, obtain the detection file.
[0056] This detection file is used to record the detection progress of the target host system. For example, the detection file may include historical detection progress, detected items, and the duration of each detection item. The detection items may refer to various applications on the target host system; content loaded from historically visited websites; or local files on the device where the target host system resides.
[0057] This detection file can be updated as the target host system is detected.
[0058] The update rate of this detection file can vary depending on the rate at which the target host system is being detected. For example, the detection file may be updated once after each item on the target host system has been detected.
[0059] The update speed of the detection file can also be preset. For example, the detection file can be updated at preset intervals based on the detection status of the target host system. For example, the preset interval can be a time interval of 0.5 seconds, 1 second, 3 seconds, 10 seconds, etc.
[0060] For example, when the detection file is first created, it can undergo initialization processing. The detection file may include multiple variables, each used to record historical detection progress, detected items, and the duration of each detection item. During the detection of the target host system, these variables can be updated to record historical detection progress, detected items, and the duration of each detection item.
[0061] For example, if the detection file cannot be obtained, it indicates that the target host system is being detected for the first time. The detection file can then be created and initialized.
[0062] For example, initializing the detection file may include variables required to construct the detection file. This initialization may also include setting default values for variables in the detection file.
[0063] Step 230: Determine the current detection items of the target host system based on the detection file.
[0064] For example, the detection file may only record the last detection item that was detected on the target host system during the last startup process.
[0065] For example, the detection file may only record the progress of the target host system being detected during the last startup. The detection progress of the target host system during the last vehicle startup can be determined based on the detection file, thereby identifying the last detection item detected during the last vehicle startup.
[0066] Optionally, the detection order of each detection item in the target host system can be preset. For example, the next detection item after the last detection item can be used as the current detection item of the target host system. For example, to avoid the last detection item not being detected when the target vehicle was turned off last time, the last detection item can also be used as the current detection item of the target host system.
[0067] This current detection item can serve as the starting point for the detection of the target vehicle's start-up.
[0068] The above-mentioned detection order can be obtained by sorting the names of each detection item, or by sorting the folders where the files corresponding to each detection item are located. This application embodiment is not limited to the setting of the detection order.
[0069] Step 250: Detect the target host system according to the current detection item.
[0070] For example, the target host system can be tested according to a pre-set testing order, starting with the current testing item.
[0071] By following the steps above, periodic detection of the target host system can be achieved, thereby reducing the situation where items ranked higher are repeatedly detected while items ranked lower are repeatedly undetected.
[0072] To reduce the possibility of some detection items being missed during a vehicle startup, the target host system can be tested again from the beginning after the subsequent detection items of the current detection item in the target vehicle have been tested, thus starting a new testing cycle. For example, step 250 can be implemented as: performing periodic testing on the target host system according to a set cycle.
[0073] The set period can be the duration of each detection cycle, for example, it can be 100s, 150s, 200s, etc.
[0074] The set period can also be a user-defined duration, such as 1 day, 2 days, etc. The test restarts once per set period. For example, a complete test is performed within the set period, and a new round of host system testing can be initiated one day later.
[0075] In this embodiment, during the detection of the target host system, the detection file can also be updated. Step 250 may include: detecting the detection items after the current detection item and updating the detection file based on the detection progress; and initializing the detection file when the detection of the host system is completed.
[0076] For example, the update frequency of the detection file can be dynamically set as needed, or a default update frequency can be set and subsequent updates to the detection file can be performed at the default frequency.
[0077] In one implementation, the detection file may also record the detection items that have been detected in the current detection cycle. Step 230 may include steps 231, 232, and 233.
[0078] Step 231: Based on the detection file, determine the first set of detection items that have been detected in the target host system.
[0079] For example, one of the variables in the detection file is used to record the identifiers of each detection item that has been detected so far. Each detection item can have a unique identifier, and the detection file variable can be updated after each detection item has been detected.
[0080] For example, the detection file may include a variable corresponding to each detection item. When the variable is a first value, the detection item corresponding to the variable is in an undetected state; when the variable is a second value, the detection item corresponding to the variable is in a detected state. For example, the first value is 0 and the second value is 1.
[0081] Step 232: Remove the first detection item set from all detectable item sets in the target host system to determine the second detection item set that needs to be detected.
[0082] For example, the set of all detectable items can be all the detectable items that need to be detected by default in the target host system, or it can be the detectable items obtained by filtering the all the detectable items that need to be detected by default.
[0083] Step 233: Determine the current detection item from the second set of detection items.
[0084] For example, the current detection item can be determined from the second set of detection items according to a pre-set detection order. For instance, the target detection item in each detection item of the second set of detection items can be used as the current detection item, which is the detection item that appears first in the pre-set detection order.
[0085] In another implementation, the detection file may only record the last detected item in the current detection cycle. Then step 230 may include steps 234 and 235.
[0086] Step 234: Based on the detection file, determine the historical detection items of the last detection of the target host system.
[0087] For example, one of the variables in the detection file is used to record the historical detection items from the last detection. Each detection item can have a unique identifier, and after each detection item is completed, the variable in the detection file can be updated to reflect the currently completed detection item.
[0088] Step 235: Determine the current detection item based on the historical detection items.
[0089] For example, the next detection item in the historical detection order can be selected as the current detection item.
[0090] For example, the historical detection item can also be used as the current detection item.
[0091] By using the relevant steps in step 230 above, the starting point required for the current inspection can be determined more accurately based on the content of the inspection file. This allows for further inspection of the remaining inspection items after the previous inspection, thereby improving the safety of the vehicle where the target host system is located.
[0092] To adapt to the usage needs of various drivers or the different safety requirements of different vehicles, the detection items currently required to be detected in the target host system can be adaptively adjusted. Therefore, under this requirement, before step 250, the host system detection method may also include steps 241 and 242.
[0093] Step 241: Receive the pause request.
[0094] The pause request includes the items to be paused.
[0095] For example, the vehicle where the target host system is located may provide a display interface, which may include an operation window, through which a pause request is submitted by selecting the detection item that needs to be paused.
[0096] Therefore, after step 241, step 250 can be implemented as follows: during the detection process, the items to be paused are filtered out.
[0097] Optionally, the items to be detected can be loaded into a detection list. Items to be paused in the original list can be removed to obtain an updated detection list. Detection can then be performed on each item in the updated detection list.
[0098] Step 242: Receive a request to restart the suspended detection item.
[0099] The restart request includes the items to be restarted.
[0100] For example, a restart request can be submitted by selecting the detection items that need to be restarted in the operation window.
[0101] Therefore, after step 242, step 250 can be implemented as follows: adding the item to be restarted to the detection list, and detecting the items in the detection list.
[0102] In the host system detection method provided in this application embodiment, by recording historical detection information in a detection file, the current detection item can be determined based on the detection file upon the next vehicle startup. This allows the detection to continue from where it left off and proceed with subsequent detection items. This avoids repeatedly detecting previously prioritized detection items and prevents situations where later detection items cannot be detected even after multiple vehicle startups. Consequently, the detection coverage of the vehicle's host system is broader, and the security of the vehicle's host system is improved.
[0103] In this embodiment, by periodically detecting the host system, this method can effectively solve the problem of missed detections that may exist in host detection technology during vehicle operation, without affecting the original functions and performance. Furthermore, since it is possible to set items that need to be paused for detection, and items that have been paused can also be restarted, the independence of each detection can be maintained, resulting in good scalability and support for multiple operating systems.
[0104] In this embodiment, by recording the test progress in a locally stored detection file, each time the host system runs, it first retrieves the unfinished test records from the previous run, then retrieves the detection progress of the current test item, and filters or jumps to the corresponding detection progress to start the test. This reduces the number of times high-ranking test items are tested and low-ranking test items are missed. Furthermore, the detection file can be a local file, enabling real-time caching of the detection progress. Using a detection file for recording is much simpler and more convenient than using a database, and saving the detection file also makes portability relatively simpler. This method supports multiple operating systems, has low coupling with the kernel, and good scalability. Host system detection technologies with long running cycles on in-vehicle systems can be implemented according to the host system detection method in this embodiment without affecting the independence of each detection technology.
[0105] Based on the same application concept, this application also provides a host system detection device corresponding to the host system detection method. Since the principle of the device in this application is similar to that of the aforementioned host system detection method, the implementation of the device in this application can refer to the description in the above method embodiments, and the repeated parts will not be described again.
[0106] Please see Figure 3 This is a functional module diagram of the host system detection device provided in this application embodiment. Each module in the host system detection device in this embodiment is used to execute the steps in the above method embodiments. The host system detection device includes: an acquisition module 310, a determination module 320, and a detection module 330; wherein,
[0107] The acquisition module 310 is used to acquire the detection file after the target host system of the target vehicle is started;
[0108] The determining module 320 is used to determine the current detection item of the target host system based on the detection file;
[0109] The detection module 330 is used to detect the target host system based on the current detection item.
[0110] In one possible implementation, the determining module 320 is configured to:
[0111] Based on the detection file, the first set of detection items that have been detected in the target host system is determined;
[0112] Remove the first detection item set from all detectable item sets in the target host system to determine the second detection item set that needs to be detected;
[0113] The current detection item is determined from the second set of detection items.
[0114] In one possible implementation, the determining module 320 is configured to:
[0115] Based on the detection file, the historical detection items of the target host system last detected are determined;
[0116] Based on the historical detection items, the current detection item is determined.
[0117] In one possible implementation, the host system detection device in this embodiment further includes:
[0118] The receiving module is used to receive a pause request or a restart request for a paused detection item, wherein the pause request carries the item to be paused and the restart request carries the item to be restarted.
[0119] The aforementioned detection module 330 is also used for:
[0120] During the detection process, the items to be paused are filtered out; or,
[0121] Add the item to be restarted to the detection list, and then perform detection on the items in the detection list.
[0122] In one possible implementation, the detection module 330 is used for:
[0123] The target host system is periodically tested according to a set cycle.
[0124] In one possible implementation, the detection module 330 is used for:
[0125] The detection items following the current detection item are detected, and the detection file is updated based on the detection progress;
[0126] Once the host system detection is complete, the detection file is initialized.
[0127] In one possible implementation, the host system detection device in this embodiment further includes:
[0128] An initialization module is used to create a new detection file and initialize the detection file before the first detection of the target host system.
[0129] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the host system detection method described in the above method embodiments.
[0130] The computer program product of the host system detection method provided in this application includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the steps of the host system detection method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0131] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0132] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0133] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks. It should be noted that in this document, relational terms such as "first" and "second" are used only 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. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0134] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0135] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A host system detection method, characterized in that, include: Once the target host system of the target vehicle is started, the detection file is obtained; Based on the detection file, the current detection items of the target host system are determined; Receive a pause request, or receive a restart request for a paused detection item, wherein the pause request carries the item to be paused, and the restart request carries the item to be restarted; Based on the current detection item, the target host system is detected, including: during the detection process, filtering out the items to be paused; Alternatively, the item to be restarted can be added to the detection list, and the items in the detection list can be detected.
2. The method according to claim 1, characterized in that, The step of determining the current detection item of the target host system based on the detection file includes: Based on the detection file, the first set of detection items that have been detected in the target host system is determined; Remove the first detection item set from all detectable item sets in the target host system to determine the second detection item set that needs to be detected; The current detection item is determined from the second set of detection items.
3. The method according to claim 1, characterized in that, The step of determining the current detection item of the target host system based on the detection file includes: Based on the detection file, the historical detection items of the target host system last detected are determined; Based on the historical detection items, the current detection item is determined.
4. The method according to claim 1, characterized in that, The detection of the target host system includes: The target host system is periodically tested according to a set cycle.
5. The method according to claim 1, characterized in that, The detection of the target host system includes: The detection items following the current detection item are detected, and the detection file is updated based on the detection progress; Once the host system detection is complete, the detection file is initialized.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: Before performing the first detection on the target host system, create the detection file and initialize the detection file.
7. A host system detection device, characterized in that, include: The acquisition module is used to acquire detection files after the target host system of the target vehicle is started. The determination module is used to determine the current detection item of the target host system based on the detection file; The detection module is used to detect the target host system based on the current detection item; The receiving module is used to receive a pause request or a restart request for a paused detection item, wherein the pause request carries the item to be paused and the restart request carries the item to be restarted. The detection module is also used to filter out the items to be paused during the detection process; or to add the items to be restarted to the detection list and detect the items in the detection list.
8. A vehicle-mounted device, characterized in that, include: The device includes a processor and a memory, the memory storing machine-readable instructions executable by the processor, which, when the in-vehicle device is in operation, are executed by the processor to perform the steps of the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Remote safe driving methods and systems
CN112689586A
Vehicle diagnosis device
JP2011107043A