CN114238002A - Host system detection method and device, vehicle-mounted equipment and readable storage medium - Google Patents

Host system detection method and device, vehicle-mounted equipment and readable storage medium Download PDF

Info

Publication number
CN114238002A
CN114238002A CN202111583040.XA CN202111583040A CN114238002A CN 114238002 A CN114238002 A CN 114238002A CN 202111583040 A CN202111583040 A CN 202111583040A CN 114238002 A CN114238002 A CN 114238002A
Authority
CN
China
Prior art keywords
detection
host system
item
target host
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111583040.XA
Other languages
Chinese (zh)
Inventor
郑燚铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202111583040.XA priority Critical patent/CN114238002A/en
Publication of CN114238002A publication Critical patent/CN114238002A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a host system detection method, a host system detection device, vehicle-mounted equipment and a readable storage medium, wherein the method comprises the following steps: when a target host system of a target vehicle is started, acquiring a detection file; determining a current detection item of the target host system according to the detection file; and detecting the target host system according to the current detection item. The situation that the host is missed to be detected can be reduced through the scheme.

Description

Host system detection method and device, vehicle-mounted equipment and readable storage medium
Technical Field
The application relates to the technical field of vehicle detection, in particular to a host system detection method, a host system detection device, vehicle-mounted equipment and a readable storage medium.
Background
As more applications are available on the computer, more applications are available on the host system of the vehicle. Network security events on vehicles are increasing, and host computer detection technology on vehicles is also widely needed. The vehicle-mounted equipment is usually matched with a host detection technology, so that the system safety problem can be well reduced, and other difficulties can be brought. The period of detection of the host system of the vehicle is relatively long, but the start-up time of the vehicle is limited, possibly resulting in the host detection being only partially detectable.
Disclosure of Invention
The application aims to provide a host system detection method, a host system detection device, vehicle-mounted equipment and a readable storage medium, which can solve the detection defect existing in a host system of a vehicle.
In a first aspect, the present invention provides a host system detection method, including:
when a target host system of a target vehicle is started, acquiring a detection file;
determining a current detection item of the target host system according to the detection file;
and detecting the target host system according to the current detection item.
In an optional embodiment, the determining, according to the detection file, a current detection item of the target host system includes:
determining a first detection item set which has been detected in the target host system according to the detection file;
removing the first detection item set from all detectable item sets in the target host system, and determining a second detection item set needing to be detected;
and determining the current detection item from the second detection item set.
In an optional embodiment, the determining, according to the detection file, a current detection item of the target host system includes:
according to the detection file, determining the last detected historical detection item of the target host system;
and determining a current detection item according to the historical detection item.
In an alternative embodiment, the method further comprises:
receiving a pause request or a restart request for a paused detection item, wherein the pause request carries an item to be paused, and the restart request carries an item to be restarted;
the detecting the target host system includes:
in the detection process, filtering out the items to be suspended; alternatively, the first and second electrodes may be,
and adding the items to be restarted into a detection list, and detecting the detection items in the detection list.
In an optional embodiment, the detecting the target host system includes:
and periodically detecting the target host system according to a set period.
In an optional embodiment, the detecting the target host system includes:
detecting the detection items behind the current detection item, and updating the detection file based on the detection progress;
and initializing the detection file after the detection of the host system is finished.
In an alternative embodiment, the method further comprises:
and before the target host system is detected for the first time, the detection file is newly established, and the detection file is initialized.
In a second aspect, the present invention provides a host system detection apparatus, including:
the acquisition module is used for acquiring a detection file after a target host system of a target vehicle is started;
the determining module is used for determining the current detection item of the target host system according to the detection file;
and the detection module is used for detecting the target host system according to the current detection item.
In a third aspect, the present invention provides an in-vehicle apparatus comprising: a processor, a memory storing machine readable instructions executable by the processor, the machine readable instructions when executed by the processor perform the steps of the method of any of the preceding embodiments when the in-vehicle device is operated.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of the preceding embodiments.
The beneficial effects of the embodiment of the application are that: by recording the historical detection condition in the detection file, when the vehicle is started next time, the current detection item can be determined according to the detection file, so that the progress of the previous detection can be continued to detect the subsequent detection item. Therefore, the situation that detection cannot be realized by repeatedly detecting and sequencing the files needing to be detected in the front and detecting items needing to be detected in the back for multiple times of vehicle starting can be avoided, the detection coverage of the host system of the vehicle is wider, and the safety of the host system of the vehicle can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a block diagram schematically illustrating an in-vehicle device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a host system detection method according to an embodiment of the present disclosure;
fig. 3 is a functional block diagram of a host system detection apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The inventor has appreciated that as the information and entertainment functions of in-vehicle entertainment systems have increased, network security incidents have increased. The host system on the vehicle has a plurality of functional modules to be detected, so that the running period of the existing host detection is very long, the running time of the vehicle is not fixed, when the running time of the host system of the vehicle is short, the host detection may not be finished, and the detection will be started from the beginning next time after the host system of the vehicle is started, so that the repeated detection from the beginning can cause the problem of missed detection.
Based on the above situation, the present application provides a host system detection method, which detects, in a periodic detection manner, that a detection period does not end due to the shutdown of the host system, but continues the unfinished period again when the host system is started next time. The host system detection method provided by the present application is described below by some embodiments.
To facilitate understanding of the present embodiment, a detailed description will be first given of a vehicle-mounted device that executes the host system detection method disclosed in the embodiments of the present application.
As shown in fig. 1, is a block diagram of an in-vehicle apparatus. The in-vehicle apparatus 100 may include a memory 111, a processor 113, a peripheral interface 114, an input-output unit 115, and a display unit 116. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is merely an illustration and is not intended to limit the structure of the in-vehicle apparatus 100. For example, the in-vehicle apparatus 100 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The above-mentioned elements of the memory 111, the memory controller 112, the processor 113, the peripheral interface 114, the input/output unit 115 and the display unit 116 are electrically connected to each other directly or indirectly, so as to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processor 113 is used to execute the executable modules stored in the memory.
The Memory 111 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 111 is used for storing a program, the processor 113 executes the program after receiving an execution instruction, and the method executed by the vehicle-mounted device 100 defined by the process disclosed in any embodiment of the present application may be applied to the processor 113, or implemented by the processor 113.
The processor 113 may be an integrated circuit chip having signal processing capability. The Processor 113 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripheral interface 114 couples various input/output devices to the processor 113 and memory 111. In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The input/output unit 115 is used to provide input data to the user. The input/output unit 115 may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit 116 described above provides an interactive interface (e.g., a user operation interface) between the in-vehicle apparatus 100 and the user or for displaying image data to the user reference. In this embodiment, the display unit may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. The support of single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are sent to the processor for calculation and processing.
Optionally, the vehicle-mounted device 100 may further include a function module required on the vehicle, for example, the vehicle-mounted device 100 may further include a positioning unit for acquiring a real-time position of the vehicle. For another example, the vehicle-mounted device 100 may further include a communication unit configured to communicate with an external server and a terminal device.
The vehicle-mounted device 100 can be mounted on a vehicle, after the vehicle is started, power can be supplied to the vehicle through the vehicle, and the vehicle-mounted device 100 can be started to operate along with the starting of the vehicle; the in-vehicle apparatus 100 is also turned off following the vehicle key off.
For example, a security guard or the like detection application may be installed on the in-vehicle apparatus 100 to detect the host system.
The vehicle-mounted device 100 in the present embodiment may be configured to execute each step in each method provided in the embodiments of the present application. The following describes the implementation process of the host system detection method in detail by several embodiments.
Please refer to fig. 2, which is a flowchart illustrating a host system detection method according to an embodiment of the present disclosure. The specific process shown in fig. 2 will be described in detail below.
Step 210, after the target host system of the target vehicle is started, a detection file is acquired.
The detection file is used for recording the detection progress of the target host system. Illustratively, the inspection file may include historical inspection progress, inspected items, how long the items were inspected, and the like. The detection items may refer to various applications in the target host system; or the content loaded by each historical browsing website; but also a local file of the device on which the target host system is located, etc.
The instrumentation file may be updated as the target host system is instrumented.
The speed at which the detection file is updated may vary with the speed at which the target host system is detected. For example, the inspection file is updated every time an item to be inspected on the target host system is inspected.
The speed at which the detection file is updated may be set in advance. For example, the detection file is updated at preset intervals according to the detection condition of the target host system. For example, the preset interval may be a time interval of 0.5, 1 second, 3 seconds, 10 seconds, or the like.
Illustratively, the test file may be initially processed when it is first created. The detection file can comprise a plurality of variables, and each variable is used for recording historical detection progress, detected items and detection duration of each detection item. In the detection process of the target host system, the history detection progress, the detected items and the detection duration of each detection item can be recorded by updating each variable.
For example, if the test file cannot be obtained, it means that the target host system is tested for the first time, the test file can be newly created, and the test file is initialized.
Illustratively, the initialization of the test file may include variables required to build the test file. The initialization may also include setting a default value for a variable in the test file.
And step 230, determining the current detection item of the target host system according to the detection file.
For example, the last test item detected by the target host system during the last boot process may be recorded in the test file.
For example, the check file may only record the progress of the target host system being checked during the last boot process. The detected progress of the target host system can be determined according to the detection file in the last starting process of the vehicle, so that the last detected item in the last starting process of the vehicle can be determined.
Alternatively, the detection order of the respective detection items in the target host system may be preset. Illustratively, the next test item of the last test item may be the current test item of the target host system. For example, in order to avoid that the last detection item is not detected when the target vehicle is turned off last time, the last detection item may also be used as the current detection item of the target host system.
The current detection item can be used as a detection starting point for starting the target vehicle at this time.
The detection order may be an order obtained by sorting names of the detection items, or the detection order may be a sorting order in which files corresponding to the detection items are located as folders. The embodiments of the present application are not limited to the setting of the detection order.
And 250, detecting the target host system according to the current detection item.
For example, the target host system may be detected according to a preset detection order with the current detection item as a detection starting point.
Through the steps, the periodic detection of the target host system can be realized, so that the situation that the detection items ranked in the front are repeatedly detected and the detection items ranked in the back are not detected for multiple times can be reduced.
In order to reduce the problem that part of detection items are not detected in the process of starting the vehicle once, the target host system can be detected again from the beginning after the subsequent detection items of the current detection item in the target vehicle are detected, so as to start a new detection period. Illustratively, step 250 may then be implemented as: and periodically detecting the target host system according to a set period.
The set period may be a duration of each detection period, and may be, for example, 100s, 150s, 200s, or the like.
The set period may also be a time period set by the user, for example, the set period may be 1 day, 2 days, or the like. The detection is restarted once per set period. For example, a complete test is performed once in a set period, and after one day, a new round of testing of the host system may be initiated.
In this embodiment, in the detection process of the target host system, the update of the detection file may also be implemented, and step 250 may include: detecting the detection items behind the current detection item, and updating the detection file based on the detection progress; and initializing the detection file after the detection of the host system is finished.
For example, the update frequency of the detection file may be dynamically set as needed, or after a default update frequency is set, the update frequency of the detection file is subsequently updated at the default frequency.
In one embodiment, the detection file may also record the detection items that have been detected in the current detection period. Step 230 may include step 231, step 232 and step 233.
Step 231, determining the first detection item set which has been detected in the target host system according to the detection file.
Illustratively, one of the variables in the test file is used to record the identification of each test item that has been currently tested. Each detection item can have a unique identifier, and after each detection item is detected, the variables of the detection file can be updated.
Illustratively, the variable corresponding to each detection item can be included in the detection file. When the variable is a first value, the detection item corresponding to the variable is in an undetected state, and 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.
Step 232, removing the first detection item set from all detectable item sets in the target host system, and determining a second detection item set needing to be detected.
For example, the set of all detectable items may be all of the detectable items that need to be detected by default in the target host system, or may be the detected items screened from all of the detectable items that need to be detected by default.
Step 233, determine the current detection item from the second detection item set.
For example, the current detection item may be determined in the second detection item set according to a preset detection order. For example, a target detection item in the detection items of the second detection item set may be taken as a current detection item, where the target detection item is a top detection item in a preset detection order.
In another embodiment, only the last detected detection item in the current detection period may be recorded in the detection file. Step 230 may include: step 234 and step 235.
And step 234, determining the last detected historical detection item of the target host system according to the detection file.
Illustratively, one of the variables in the test file is used to record the last test history. Each detection item can have a unique identifier, and each detection item can be updated in the detection file variable to be the detection item which is currently detected.
And 235, determining a current detection item according to the historical detection items.
For example, the next detection item in the historical detection items may be ranked as the current detection item according to a preset detection order.
Illustratively, the historical detection item may also be used as the current detection item.
Through the relevant steps in step 230, the detection starting point required by the current detection can be more accurately determined based on the content in the detection file, so that the detection items remaining after the previous detection can be further detected, and the safety of the vehicle where the target host system is located is improved.
In order to adapt to the use requirements of various drivers or different safety requirements of different vehicles, the detection items which need to be detected currently in the target host system can be adjusted adaptively. Therefore, under the requirement, before step 250, the host system detection method may further include: step 241 and step 242.
Step 241, receive a pause request.
The suspend request carries an item to be suspended.
For example, a display interface may be provided on the vehicle where the target host system is located, and an operation window may be provided in the display interface, and the pause request may be submitted by selecting the detection item to be paused in the operation window.
Thus, after step 241, step 250 may be implemented as: and in the detection process, filtering out the items to be suspended.
Optionally, the detection items to be detected may be loaded in a detection list, and the items to be suspended in the original list may be removed to obtain an updated detection list. Each detection item in the updated detection list can be detected.
At step 242, a restart request for the suspended detection item is received.
The restart request carries an item to be restarted.
Illustratively, the restart request can be submitted by selecting the detection item needing to be restarted in the operation window.
Thus, after step 242, step 250 may be implemented as: and adding the items to be restarted into a detection list, and detecting the detection items in the detection list.
In the host system detection method provided by the embodiment of the application, the historical detection condition is recorded in the detection file, and when a vehicle is started next time, the current detection item can be determined according to the detection file, so that the subsequent detection item can be continuously detected according to the progress of the previous detection. Therefore, the situation that detection cannot be realized by repeatedly detecting and sequencing the files needing to be detected in the front and detecting items needing to be detected in the back for multiple times of vehicle starting can be avoided, the detection coverage of the host system of the vehicle is wider, and the safety of the host system of the vehicle can be improved.
In the embodiment of the application, as the host system is periodically detected, the method can effectively solve the problem of missing detection possibly existing in the host detection technology of vehicle operation, and the problem of missing detection is solved on the basis of not influencing the original function and performance. Furthermore, because an item needing to be paused can be set, and the item which is paused can also be restarted, the independence of each item detection can be not influenced, the expansibility is better, and a plurality of operating systems are supported.
In the embodiment of the application, as the progress measurement is recorded in the local storage detection file, the detection record which is not run last time is firstly obtained every time the host system runs, and then the detection progress of the current detection item is obtained, and the corresponding detection progress is filtered or jumped to start running detection. Therefore, the detection items ranked in the front can be reduced from being detected for multiple times, and the detection items ranked in the back can be omitted for detection. Further, the detection file can be a local file, and the progress of real-time cache detection can be realized. And compared with a database, the detection file record is simple and convenient, and the detection file is stored and transplanted to be more concise. The method supports multiple operating systems, and has low coupling degree with the kernel and good expansibility. The host detection technology running on the vehicle machine with a long running period can be implemented according to the host system detection method in the embodiment, and the independence of each detection technology cannot be influenced.
Based on the same application concept, a host system detection device corresponding to the host system detection method is further provided in the embodiments of the present application, and since the principle of solving the problem of the device in the embodiments of the present application is similar to that in the embodiments of the host system detection method, the implementation of the device in the embodiments of the present application can be referred to the description in the embodiments of the method, and repeated details are omitted.
Please refer to fig. 3, which is a schematic diagram of a functional module of a host system detection apparatus according to an embodiment of the present disclosure. Each module in the host system detection apparatus in this embodiment is used to execute each step 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 the content of the first and second substances,
an obtaining module 310, configured to obtain a detection file after a target host system of a target vehicle is started;
a determining module 320, configured to determine, according to the detection file, a current detection item of the target host system;
the detection module 330 is configured to detect the target host system according to the current detection item.
In one possible implementation, the determining module 320 is configured to:
determining a first detection item set which has been detected in the target host system according to the detection file;
removing the first detection item set from all detectable item sets in the target host system, and determining a second detection item set needing to be detected;
and determining the current detection item from the second detection item set.
In one possible implementation, the determining module 320 is configured to:
according to the detection file, determining the last detected historical detection item of the target host system;
and determining a current detection item according to the historical detection item.
In a possible implementation manner, the host system detection apparatus in this embodiment further includes:
a receiving module, configured to receive a suspend request or a restart request for a suspended detection item, where the suspend request carries an item to be suspended, and the restart request carries an item to be restarted;
the detection module 330 is further configured to:
in the detection process, filtering out the items to be suspended; alternatively, the first and second electrodes may be,
and adding the items to be restarted into a detection list, and detecting the detection items in the detection list.
In a possible implementation, the detecting module 330 is configured to:
and periodically detecting the target host system according to a set period.
In a possible implementation, the detecting module 330 is configured to:
detecting the detection items behind the current detection item, and updating the detection file based on the detection progress;
and initializing the detection file after the detection of the host system is finished.
In a possible implementation manner, the host system detection apparatus in this embodiment further includes:
and the initialization module is used for newly building the detection file and initializing the detection file before detecting the target host system for the first time.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the host system detection method described in the above method embodiment.
The computer program product of the host system detection method provided in the embodiment of the present application includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the host system detection method described in the above method embodiment, which may be specifically referred to in the above method embodiment, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such 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 a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A host system detection method, comprising:
when a target host system of a target vehicle is started, acquiring a detection file;
determining a current detection item of the target host system according to the detection file;
and detecting the target host system according to the current detection item.
2. The method of claim 1, wherein determining a current test item of the target host system from the test file comprises:
determining a first detection item set which has been detected in the target host system according to the detection file;
removing the first detection item set from all detectable item sets in the target host system, and determining a second detection item set needing to be detected;
and determining the current detection item from the second detection item set.
3. The method of claim 1, wherein determining a current test item of the target host system from the test file comprises:
according to the detection file, determining the last detected historical detection item of the target host system;
and determining a current detection item according to the historical detection item.
4. The method of claim 1, further comprising:
receiving a pause request or a restart request for a paused detection item, wherein the pause request carries an item to be paused, and the restart request carries an item to be restarted;
the detecting the target host system includes:
in the detection process, filtering out the items to be suspended; alternatively, the first and second electrodes may be,
and adding the items to be restarted into a detection list, and detecting the detection items in the detection list.
5. The method of claim 1, wherein the detecting the target host system comprises:
and periodically detecting the target host system according to a set period.
6. The method of claim 1, wherein the detecting the target host system comprises:
detecting the detection items behind the current detection item, and updating the detection file based on the detection progress;
and initializing the detection file after the detection of the host system is finished.
7. The method according to any one of claims 1-6, further comprising:
and before the target host system is detected for the first time, the detection file is newly established, and the detection file is initialized.
8. A host system detection device, comprising:
the acquisition module is used for acquiring a detection file after a target host system of a target vehicle is started;
the determining module is used for determining the current detection item of the target host system according to the detection file;
and the detection module is used for detecting the target host system according to the current detection item.
9. An in-vehicle apparatus, characterized by comprising: a processor, a memory storing machine-readable instructions executable by the processor, the machine-readable instructions when executed by the processor performing the steps of the method of any of claims 1 to 7 when the in-vehicle device is operated.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 7.
CN202111583040.XA 2021-12-22 2021-12-22 Host system detection method and device, vehicle-mounted equipment and readable storage medium Pending CN114238002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111583040.XA CN114238002A (en) 2021-12-22 2021-12-22 Host system detection method and device, vehicle-mounted equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111583040.XA CN114238002A (en) 2021-12-22 2021-12-22 Host system detection method and device, vehicle-mounted equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114238002A true CN114238002A (en) 2022-03-25

Family

ID=80761405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111583040.XA Pending CN114238002A (en) 2021-12-22 2021-12-22 Host system detection method and device, vehicle-mounted equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114238002A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866305A (en) * 2022-04-27 2022-08-05 国汽智控(北京)科技有限公司 Intrusion detection method, device, computer equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866305A (en) * 2022-04-27 2022-08-05 国汽智控(北京)科技有限公司 Intrusion detection method, device, computer equipment and medium

Similar Documents

Publication Publication Date Title
US9250257B2 (en) Sample processing method, device and system for an assembly line workstation
CN108776595B (en) Method, device, equipment and medium for identifying display card of GPU (graphics processing Unit) server
CN105573911A (en) Application popup window processing method and apparatus
CN110537170B (en) Method, system and computer readable storage device for analyzing large scale data processing jobs
CN114039853B (en) Method and device for detecting security policy, storage medium and electronic equipment
CN111211929A (en) Fault positioning method, fault positioning device, control equipment and intelligent equipment
US20130238939A1 (en) Method for ranking analysis tools
CN111693089A (en) Product quality control method, device, equipment and storage medium for assembly line
CN114238002A (en) Host system detection method and device, vehicle-mounted equipment and readable storage medium
CN110580220B (en) Method for measuring code segment execution time and terminal equipment
CN116244138A (en) Method and device for identifying abnormal operation of application, electronic equipment and storage medium
CN114756406A (en) Processing method and device for application program crash and electronic equipment
CN112269707A (en) USB enumeration detection method, USB host device and storage medium
CN112506693A (en) Method and device for recording abnormal information, storage medium and electronic equipment
CN109144874B (en) Method and device for monitoring test environment
CN116521414A (en) Fault code positioning method, cloud server, system and storage medium
CN108681506B (en) Pressure testing method and device
CN114407585B (en) Tire pressure sensor address writing method and device, electronic equipment and storage medium
US20210129324A1 (en) Diagnosis method and apparatus
CN115098378A (en) Method and device for classifying and aggregating log fragments based on abnormal breakpoints
CN114328158A (en) Abnormity monitoring method and device, electronic equipment and storage medium
CN112632174A (en) Data inspection method, device and system
CN114579388A (en) Vehicle-mounted system state monitoring method and system, storage medium and electronic equipment
CN111722886A (en) Tool starting method and device, computer equipment and computer readable storage medium
CN107045529B (en) Network content acquisition method and device and service terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination