CN116399373A - Method and device for detecting automobile instrument configuration item, electronic equipment and medium - Google Patents
Method and device for detecting automobile instrument configuration item, electronic equipment and medium Download PDFInfo
- Publication number
- CN116399373A CN116399373A CN202310385501.5A CN202310385501A CN116399373A CN 116399373 A CN116399373 A CN 116399373A CN 202310385501 A CN202310385501 A CN 202310385501A CN 116399373 A CN116399373 A CN 116399373A
- Authority
- CN
- China
- Prior art keywords
- configuration
- detected
- item
- automobile instrument
- configuration item
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000001514 detection method Methods 0.000 claims abstract description 134
- 238000012360 testing method Methods 0.000 claims abstract description 51
- 230000002159 abnormal effect Effects 0.000 claims description 34
- 239000012634 fragment Substances 0.000 claims description 26
- 230000009471 action Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 3
- 230000004048 modification Effects 0.000 abstract description 15
- 238000012986 modification Methods 0.000 abstract description 15
- 230000008569 process Effects 0.000 abstract description 7
- 238000012795 verification Methods 0.000 abstract description 5
- 238000004519 manufacturing process Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0736—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
- G06F11/0739—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in automotive or aircraft systems
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C25/00—Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
- G01C25/005—Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass initial alignment, calibration or starting-up of inertial devices
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The application provides a method, a device, electronic equipment and a medium for detecting an automobile instrument configuration item, wherein the method comprises the following steps: responding to a first operation aiming at a detection control, and acquiring configuration information of each to-be-detected configuration item written in advance by an automobile instrument from the automobile instrument of the to-be-detected automobile type; the configuration items to be detected written in advance for different vehicle types to be detected are not identical; determining the configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected; judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result; thereby enabling one-touch triggering of the automated detection process without requiring manual benefit to configuration modification and verification.
Description
Technical Field
The application relates to the field of automobile instrument detection, in particular to a method, a device, electronic equipment and a medium for detecting automobile instrument configuration items.
Background
With the electrification of automobiles, the further development of intelligence and the concept of "software defined automobiles" propose that the instrument is used as a window for outputting the overall state of the automobiles, and the instrument is gradually changed from a mechanical dial to a combination of machinery and a liquid crystal dial, and then the instrument is further developed to the full liquid crystal dial nowadays. The displays of different configurations on the dial are also very different. The instrument product line of the supplier contains a plurality of different configurations, the software of each configuration also relates to a plurality of related trigger signals and different function realization, and when the configuration of the DID software is modified, a plurality of steps of modifying configuration values, unlocking, diagnosing and the like are combined to complete the modification of the configuration of the instrument.
When testing the functional modules of the automobile instruments with different configurations through test software by a current tester, the functional modules actually configured in the automobile instruments are required to modify the read-write configuration of the passing test software, and the related configuration of the functional modules to be detected can be modified only by using a service in the test software to click and unlock diagnosis for multiple times, wherein the same operation is repeated for each time of the change and modification of the read-write configuration; because the test content is complex, a plurality of operation window modification values are often required to be switched back and forth, and configuration modification is performed by clicking instructions, so that the workload of the test is increased, and the working efficiency is reduced.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a method, an apparatus, an electronic device, and a medium for detecting an automobile instrument configuration item, which can trigger an automatic detection process by one key, and does not need to manually and advantageously modify and check the configuration.
The method for detecting the automobile instrument configuration item is applied to a test terminal, and a detection control is displayed on a graphical user interface of the test terminal; the detection method comprises the following steps:
responding to a first operation aiming at a detection control, and acquiring configuration information of each to-be-detected configuration item written in advance by an automobile instrument from the automobile instrument of the to-be-detected automobile type; the configuration items to be detected written in advance for different vehicle types to be detected are not identical;
determining the configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected;
judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result.
In some embodiments, in the method for detecting an automobile instrument configuration item, after obtaining a detection result, the detection method further includes:
generating an indication signal according to the detection result; the indication signal is used for indicating whether the detection result is normal or abnormal;
and controlling the action of the indicator lamp on the detection control according to the indication signal so as to indicate the detection result.
In some embodiments, in the method for detecting an automobile instrument configuration item, after obtaining a detection result, the detection method further includes:
when the detection result is abnormal, determining an abnormal configuration item to be detected and a second target standard configuration item corresponding to the abnormal configuration item to be detected;
and responding to a second operation aiming at the detection control, and sending configuration information of a second target standard configuration item to the automobile instrument so that the automobile instrument updates the abnormal configuration item to be detected according to the configuration information of the second target standard configuration item.
The method for detecting the automobile instrument configuration items updates the abnormal configuration items to be detected, and the method for detecting the automobile instrument configuration items further comprises the following steps:
when the preset updating completion condition is met, the detection result of the vehicle type to be detected is redetermined; wherein the update completion condition includes at least one of: and (5) reaching a preset updating time length and receiving an updating completion signal sent by the automobile instrument.
In some embodiments, in the method for detecting an automobile instrument configuration item, the test database is configured by:
determining a standard configuration word and a standard configuration item associated with the standard configuration word according to the association relation between the configuration word to be detected and the configuration item to be detected in the automobile instrument;
and configuring standard configuration words and configuration information of standard configuration items associated with each standard configuration word in the test database.
In some embodiments, in the method for detecting a configuration item of an automobile instrument, configuration information of each configuration item to be detected, which is written in advance by the automobile instrument, is obtained from the automobile instrument of an automobile type to be detected, and the method includes:
acquiring each configuration word to be detected of an automobile instrument from the automobile instrument of the automobile type to be detected;
acquiring configuration information of a configuration item to be detected associated with each configuration word to be detected;
correspondingly, determining the configuration information of the first target standard configuration item matched with the vehicle type to be detected comprises the following steps:
and determining a standard configuration word matched with the configuration word to be detected, and acquiring configuration information of a standard configuration item associated with the standard configuration word.
In some embodiments, in the method for detecting an automobile instrument configuration item, determining whether the configuration information of the configuration item to be detected of the automobile type to be detected is normal according to the configuration information of the first target standard configuration item includes:
Dividing the configuration information of the standard configuration items associated with the target standard configuration words into a plurality of standard configuration information fragments with preset frames;
dividing the configuration information of the configuration items to be detected associated with the target configuration words to be detected into a plurality of configuration information fragments to be detected with preset frames;
comparing the standard configuration information fragments with the configuration information fragments to be detected in sequence to obtain a comparison result of each group of fragments;
and judging whether the configuration information of the configuration items to be detected associated with the target configuration words to be detected is normal or not according to the comparison result of each group of fragments.
In some embodiments, a detection device for a configuration item of an automobile instrument is further provided, and is applied to a test terminal, wherein a detection control is displayed on a graphical user interface of the test terminal; the detection device includes:
the acquisition module is used for responding to a first operation aiming at the detection control, and acquiring configuration information of each to-be-detected configuration item written in advance by the automobile instrument from the automobile instrument of the automobile type to be detected; the configuration items to be detected written in advance for different vehicle types to be detected are not identical;
the determining module is used for determining the configuration information of the first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected;
And the judging module is used for judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result.
In some embodiments, there is also provided an electronic device comprising: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine-readable instructions are executed by the processor to execute the steps of the method for detecting the automobile instrument configuration item.
In some embodiments, a computer readable storage medium is also provided, on which a computer program is stored, which computer program, when being executed by a processor, performs the steps of the method for detecting a motormeter configuration item.
The application provides a detection method, a device, electronic equipment and a medium for an automobile instrument configuration item, wherein the detection method responds to a first operation aiming at a detection control, and configuration information of each to-be-detected configuration item which is written in advance by an automobile instrument to be detected is obtained from the automobile instrument to be detected; the configuration items to be detected written in advance for different vehicle types to be detected are not identical; determining the configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected; judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result; in this way, the automatic detection process is triggered by the triggering operation of the detection control, so that a series of complicated steps of configuration modification and verification by the original tester are simplified into one-click triggering, and the efficiency of testing each configuration item is greatly improved; meanwhile, the graphic interface is far simpler and more convenient than a pull-down menu to search and click data one by one, so that the possibility of misoperation of a tester is reduced, and meanwhile, the device is easier to start aiming at non-technical personnel under-line detection of a production line and the like, the working efficiency of writing configuration under the production line level line is improved, the working efficiency of the production line is further improved, and the product delivery quality is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a method flowchart of a method for detecting an automobile instrument configuration item according to an embodiment of the present application;
FIG. 2 illustrates an interface schematic diagram of a detection control according to an embodiment of the present application;
FIG. 3 illustrates a flow chart of a method of configuring a test database according to an embodiment of the present application;
FIG. 4 is a flow chart of another method for detecting an automobile instrument configuration item according to an embodiment of the present application;
FIG. 5 is a flow chart of another method for detecting an automobile instrument configuration item according to an embodiment of the present application;
fig. 6 shows a schematic structural diagram of a detection device for an automobile instrument configuration item according to an embodiment of the present application;
fig. 7 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the accompanying drawings in the present application are only for the purpose of illustration and description, and are not intended to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this application, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to the flow diagrams and one or more operations may be removed from the flow diagrams as directed by those skilled in the art.
In addition, the described embodiments are only some, but not all, of the embodiments of the present application. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features stated hereinafter, but not to exclude the addition of other features.
With the electrification of automobiles, the further development of intelligence and the concept of "software defined automobiles" propose that the instrument is used as a window for outputting the overall state of the automobiles, and the instrument is gradually changed from a mechanical dial to a combination of machinery and a liquid crystal dial, and then the instrument is further developed to the full liquid crystal dial nowadays. The displays of different configurations on the dial are also very different. The instrument product line of the supplier contains a plurality of different configurations, the software of each configuration also relates to a plurality of related trigger signals and different function realization, and when the configuration of the DID software is modified, a plurality of steps of modifying configuration values, unlocking, diagnosing and the like are combined to complete the modification of the configuration of the instrument.
When testing the functional modules of the automobile instruments with different configurations through test software by a current tester, the functional modules actually configured in the automobile instruments are required to modify the read-write configuration of the passing test software, and the related configuration of the functional modules to be detected can be modified only by using a service in the test software to click and unlock diagnosis for multiple times, wherein the same operation is repeated for each time of the change and modification of the read-write configuration; because the test content is complex, a plurality of operation window modification values are often required to be switched back and forth, and configuration modification is performed by clicking instructions, so that the workload of the test is increased, and the working efficiency is reduced.
Here, the functional module of the automobile instrument, i.e., the configuration item pre-configured in the automobile instrument, is essentially a program code for realizing the function of the automobile instrument.
The configuration items pre-configured in the automobile instruments with different configurations are not identical; for example, if a high-speed automobile has a cruise control function, a plurality of configuration items related to the cruise control function need to be configured in an automobile instrument; the low-profile version of the automobile does not have the constant-speed-cruise function, and configuration items related to the constant-speed-cruise function do not need to be configured in an automobile instrument.
When a tester tests different automobile instruments through test software, an exemplary high-configuration version automobile instrument is pre-configured with a configuration item with a configuration word of 5060, and the test software does not need to detect the configuration item with the configuration word of 5060 in the previous test, then the tester is required to pull down menu data, open a target configuration item, modify the configuration, for example, add the configuration item, delete the configuration item, modify the version number of the configuration item, and the like, so that the relevant configuration for diagnosing and detecting the configuration item with the configuration word of 5060 can be unlocked by clicking the test software for multiple times, and meanwhile, the relevant configuration needs to be modified, for example, the value is modified in a newly opened operation window. In fact, the test content of the automobile instrument is very complex, more than ten, tens or even hundreds of configuration items are involved among the automobile instruments in different versions, and a plurality of operation window modification numerical click commands need to be switched back and forth to carry out configuration modification, so that the test workload is increased, and the working efficiency is reduced.
Based on the detection, the application provides a method, a device, electronic equipment and a medium for detecting the configuration items of the automobile instrument, wherein the detection method responds to a first operation aiming at a detection control, and configuration information of each configuration item to be detected, which is written in advance by the automobile instrument, is obtained from the automobile instrument of the automobile type to be detected; the configuration items to be detected written in advance for different vehicle types to be detected are not identical; determining the configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected; judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result; in this way, the automatic detection process is triggered by the triggering operation of the detection control, so that a series of complicated steps of configuration modification and verification by the original tester are simplified into one-click triggering, and the efficiency of testing each configuration item is greatly improved; meanwhile, the graphic interface is far simpler and more convenient than a pull-down menu to search and click data one by one, so that the possibility of misoperation of a tester is reduced, and meanwhile, the device is easier to start aiming at non-technical personnel under-line detection of a production line and the like, the working efficiency of writing configuration under the production line level line is improved, the working efficiency of the production line is further improved, and the product delivery quality is ensured.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for detecting an automobile instrument configuration item according to an embodiment of the present application; specifically, the method for detecting the automobile instrument configuration item is applied to a test terminal, and a detection control is displayed on a graphical user interface of the test terminal; the detection method comprises the following steps S101-S103:
s101, responding to a first operation aiming at a detection control, and acquiring configuration information of each to-be-detected configuration item written in advance by an automobile instrument from the automobile instrument of the to-be-detected automobile type; the configuration items to be detected written in advance for different vehicle types to be detected are not identical;
s102, determining configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected;
and S103, judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal according to the configuration information of the first target standard configuration item, and obtaining a detection result.
The application provides a method for detecting automobile instrument configuration items, which is used for responding to a first operation aiming at a detection control, and acquiring configuration information of each to-be-detected configuration item which is written in advance by an automobile instrument from the automobile instrument of an automobile type to be detected; the configuration items to be detected written in advance for different vehicle types to be detected are not identical; determining the configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected; judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result; in this way, the automatic detection process is triggered by the triggering operation of the detection control, so that a series of complicated steps of configuration modification and verification by the original tester are simplified into one-click triggering, and the efficiency of testing each configuration item is greatly improved; meanwhile, the graphic interface is far simpler and more convenient than a pull-down menu to search and click data one by one, so that the possibility of misoperation of a tester is reduced, and meanwhile, the device is easier to start aiming at non-technical personnel under-line detection of a production line and the like, the working efficiency of writing configuration under the production line level line is improved, the working efficiency of the production line is further improved, and the product delivery quality is ensured.
Referring to fig. 2, at least one button and an indicator lamp 201 are preconfigured on the detection control. In the embodiment of the present application, the buttons include a decision configuration button 202 and a write configuration button 203.
Based on the detection method, a judging configuration button is created on the detection control, a judging configuration script is created for the judging configuration button, the judging configuration script is used for executing the detection method of the steps S101-S103, judging whether the configuration item to be detected of the vehicle type to be detected is normal or not, and the judging configuration script is packaged and is associated with the judging configuration button.
In the step S101, in response to a first operation for a detection control, configuration information of each configuration item to be detected, which is written in advance by an automobile instrument to be detected, is obtained from the automobile instrument to be detected; the configuration items to be detected written in advance for different vehicle types to be detected are not identical.
Here, the pre-written configuration items to be detected of the different vehicle types to be detected are not identical, including, the categories of the configuration items to be detected are not identical, for example, the configuration items to be detected of the high-configuration vehicle type include A, B, C three types, and the configuration items to be detected of the low-configuration vehicle type include A, B two types; or the codes of the configuration items to be detected in the same category are not identical, for example, the configuration items to be detected of the low-profile vehicle type comprise A with A1 function, and the configuration items to be detected of the high-low-profile vehicle type comprise A with A2 function.
Responding to a first operation aiming at a detection control, acquiring configuration information of each to-be-detected configuration item written in advance by the automobile instrument from the automobile instrument of the automobile type to be detected, specifically, responding to the first operation aiming at the detection control, and sending a first instruction to the automobile instrument of the automobile type to be detected by the test terminal;
responding to the automobile instrument to be detected to receive the first instruction, and sending the stored demand document to the test terminal; the requirement document records configuration information of each to-be-detected configuration item which is written in advance by the automobile instrument;
and the test terminal acquires the configuration information of each to-be-detected configuration item written in advance by the automobile instrument based on the requirement document.
In this embodiment of the present application, the requirement document includes a configuration word to be detected and a plurality of configuration items to be detected associated with the configuration word to be detected; the plurality of configuration items to be detected are arranged according to a preset sequence.
In the step S102, determining configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database including configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected.
Referring to fig. 3, the test database is configured by the following methods S301 to S302:
s301, determining a standard configuration word and a standard configuration item associated with the standard configuration word according to the association relation between the configuration word to be detected and the configuration item to be detected in the automobile instrument;
s302, configuring standard configuration words and configuration information of standard configuration items associated with each standard configuration word in the test database.
That is, the configuration information in the test database is configured based on standard configuration words, such as standard configuration word 5061, associated with configuration information for 10 standard configuration items.
On the basis, in the method for detecting the configuration items of the automobile instrument, configuration information of each configuration item to be detected, which is written in advance by the automobile instrument, is obtained from the automobile instrument of the automobile type to be detected, and the method comprises the following steps:
acquiring each configuration word to be detected of an automobile instrument from the automobile instrument of the automobile type to be detected;
acquiring configuration information of a configuration item to be detected associated with each configuration word to be detected;
correspondingly, determining the configuration information of the first target standard configuration item matched with the vehicle type to be detected comprises the following steps:
And determining a standard configuration word matched with the configuration word to be detected, and acquiring configuration information of a standard configuration item associated with the standard configuration word.
The configuration words are arranged, so that the efficiency of searching and acquiring matched configuration information from a test database in the detection process is improved, and the efficiency of identifying the configuration items to be detected from the automobile instrument is also improved, and the detection efficiency is improved.
In step S103, according to the configuration information of the first target standard configuration item, it is determined whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal, and a detection result is obtained.
In this embodiment of the present application, according to the configuration information of the first target standard configuration item, determining whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal includes:
dividing the configuration information of the standard configuration items associated with the target standard configuration words into a plurality of standard configuration information fragments with preset frames;
dividing the configuration information of the configuration items to be detected associated with the target configuration words to be detected into a plurality of configuration information fragments to be detected with preset frames;
comparing the standard configuration information fragments with the configuration information fragments to be detected in sequence to obtain a comparison result of each group of fragments;
And judging whether the configuration information of the configuration items to be detected associated with the target configuration words to be detected is normal or not according to the comparison result of each group of fragments.
That is, when comparing the configuration information of the standard configuration item with the configuration information of the configuration item to be detected, comparing the configuration item with the fragments according to the preset frame number, and recording the comparison result of the fragments.
It should be noted that, even if the comparison result of one configuration information segment (i.e. one frame of information) is detected as abnormal, the detection is still continued until the configuration information of each configuration item to be detected of the automobile instrument is detected.
In this embodiment, referring to fig. 4, after obtaining the detection result, the detection method further includes the following steps S401 to S402;
s401, generating an indication signal according to the detection result; the indication signal is used for indicating whether the detection result is normal or abnormal;
and S402, controlling the action of the indicator lamp on the detection control according to the indication signal so as to indicate a detection result.
The indicator lights on the detection control are created based on the following method: creating an indicator light mark on the detection control, creating an indicator light control script for the indicator light mark, wherein the judging configuration script is used for executing the detection methods of the steps S401-S402, displaying different states according to the detection results, and indicating the detection results.
Since, to increase the detection efficiency, one configuration word is associated with a plurality of detection items, in some embodiments, the detection result is used to characterize whether the detection items to be detected associated with the configuration word to be detected are normal; if all the detection items to be detected associated with the configuration word to be detected are normal, the detection result of the configuration word to be detected is normal; if any item to be detected associated with the configuration word to be detected is abnormal, the detection result of the configuration word to be detected is abnormal.
In some embodiments, the intermediate variable is used to represent the comparison result of each to-be-detected configuration information segment of the configuration information of the to-be-detected configuration item associated with the to-be-detected configuration word, for example, the detection result is 110111111,1, the comparison result of the to-be-detected configuration information segment is normal, and the comparison result of the to-be-detected configuration information segment is abnormal. In this way, the result of each configuration item to be detected can be determined based on the intermediate variables. That is, the detection result is used to characterize the detection result of each configuration item to be detected associated with the configuration word to be detected.
And controlling the action of the indicator lamp on the detection control according to the indication signal to indicate the detection result, specifically, in some embodiments, whether the detection result of the configuration word to be detected is normal or not is represented by turning on or off the indicator lamp, for example, if at least one configuration item to be detected associated with the configuration word to be detected is abnormal, the configuration word to be detected is turned on.
Alternatively, in some embodiments, the abnormal configuration item to be detected associated with the configuration word to be detected is indicated by an action of the indicator light, e.g., the configuration word to be detected is associated with 10 configuration items to be detected; and (3) according to the intermediate variable, displaying the number 2 or flashing 2 times by using an indicator lamp to indicate that the 2 nd item of the configuration item to be detected is the abnormal configuration item to be detected.
In this embodiment, referring to fig. 5, in the method for detecting an automobile instrument configuration item, after obtaining a detection result, the detection method further includes the following steps S501 to S502:
s501, when the detection result is abnormal, determining an abnormal configuration item to be detected and a second target standard configuration item corresponding to the abnormal configuration item to be detected;
s502, responding to a second operation aiming at the detection control, and sending configuration information of a second target standard configuration item to the automobile instrument so that the automobile instrument updates an abnormal configuration item to be detected according to the configuration information of the second target standard configuration item.
The write configuration button is created by:
based on the detection method implemented by the application, a write configuration button is created on the detection control, a write configuration script is created for the write configuration button, the write configuration script is used for executing the detection method of the steps S501-S502, configuration information of a second target standard configuration item is sent to the automobile instrument, so that the automobile instrument updates an abnormal configuration item to be detected according to the configuration information of the second target standard configuration item, and the write configuration script is packaged and associated with the write configuration button.
In the method for detecting an automobile instrument configuration item according to the embodiment of the present application, after updating an abnormal configuration item to be detected, the method further includes:
when the preset updating completion condition is met, the detection result of the vehicle type to be detected is redetermined; wherein the update completion condition includes at least one of: and (5) reaching a preset updating time length and receiving an updating completion signal sent by the automobile instrument.
That is, when an abnormal configuration item to be detected in the automobile instrument is detected, the abnormal configuration item to be detected is updated first, and whether the updated configuration item to be detected is normal is judged again.
The redetermining the detection result of the vehicle type to be detected may only detect the updated configuration item to be detected, or the detection method described in steps S101 to S103 may be repeated.
Based on the same inventive concept, the embodiment of the present application further provides a device for detecting an automobile instrument configuration item corresponding to the method for detecting an automobile instrument configuration item, and since the principle of solving the problem by the device in the embodiment of the present application is similar to that of the method for detecting an automobile instrument configuration item in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a device for detecting an automobile instrument configuration item according to an embodiment of the present application; the detection device is applied to the test terminal, and a detection control is displayed on a graphical user interface of the test terminal; the detection device includes:
the obtaining module 601 is configured to obtain, in response to a first operation for a detection control, configuration information of each configuration item to be detected, which is written in advance by an automobile instrument of a vehicle type to be detected, from the automobile instrument; the configuration items to be detected written in advance for different vehicle types to be detected are not identical;
a determining module 602, configured to determine, from a pre-configured test database including configuration information of multiple standard configuration items, configuration information of a first target standard configuration item matched with the vehicle type to be detected; the first target standard configuration item corresponds to an item to be detected;
and the judging module 603 is configured to judge whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal according to the configuration information of the first target standard configuration item, so as to obtain a detection result.
The application provides a detection device for automobile instrument configuration items, wherein the detection device acquires configuration information of each to-be-detected configuration item written in advance by an automobile instrument of an automobile type to be detected; the configuration items to be detected written in advance for different vehicle types to be detected are not identical; determining the configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected; judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result; in this way, the automatic detection process is triggered by the triggering operation of the detection control, so that a series of complicated steps of configuration modification and verification by the original tester are simplified into one-click triggering, and the efficiency of testing each configuration item is greatly improved; meanwhile, the graphic interface is far simpler and more convenient than a pull-down menu to search and click data one by one, so that the possibility of misoperation of a tester is reduced, and meanwhile, the device is easier to start aiming at non-technical personnel under-line detection of a production line and the like, the working efficiency of writing configuration under the production line level line is improved, the working efficiency of the production line is further improved, and the product delivery quality is ensured.
In some embodiments, the detecting device for an automobile instrument configuration item further includes:
the generating module is used for generating an indication signal according to the detection result after the detection result is obtained; the indication signal is used for indicating whether the detection result is normal or abnormal;
and controlling the action of the indicator lamp on the detection control according to the indication signal so as to indicate the detection result.
In some embodiments, the detecting device for an automobile instrument configuration item further includes:
the updating module is used for determining an abnormal configuration item to be detected and a second target standard configuration item corresponding to the abnormal configuration item to be detected when the detection result is abnormal after the detection result is obtained;
and responding to a second operation aiming at the detection control, and sending configuration information of a second target standard configuration item to the automobile instrument so that the automobile instrument updates the abnormal configuration item to be detected according to the configuration information of the second target standard configuration item.
In some embodiments, the detecting device for an automobile instrument configuration item further includes:
the redetermining module redetermines the detection result of the vehicle type to be detected when the preset updating completion condition is met after the abnormal configuration item to be detected is updated; wherein the update completion condition includes at least one of: and (5) reaching a preset updating time length and receiving an updating completion signal sent by the automobile instrument.
In some embodiments, the detecting device for an automobile instrument configuration item further includes:
the configuration module is used for determining a standard configuration word and a standard configuration item associated with the standard configuration word according to the association relation between the configuration word to be detected and the configuration item to be detected in the automobile instrument;
and configuring standard configuration words and configuration information of standard configuration items associated with each standard configuration word in the test database.
In some embodiments, in the apparatus for detecting a configuration item of an automobile instrument, the obtaining module is specifically configured to, when obtaining configuration information of each configuration item to be detected, which is written in advance by the automobile instrument, from the automobile instrument of the automobile type to be detected:
acquiring each configuration word to be detected of an automobile instrument from the automobile instrument of the automobile type to be detected;
acquiring configuration information of a configuration item to be detected associated with each configuration word to be detected;
correspondingly, the determining module is specifically configured to, when determining the configuration information of the first target standard configuration item matched with the vehicle type to be detected:
and determining a standard configuration word matched with the configuration word to be detected, and acquiring configuration information of a standard configuration item associated with the standard configuration word.
In some embodiments, the determining module in the detecting device for an automobile instrument configuration item is specifically configured to, when determining, according to the configuration information of the first target standard configuration item, whether the configuration information of the configuration item to be detected of the automobile type to be detected is normal, determine that:
dividing the configuration information of the standard configuration items associated with the target standard configuration words into a plurality of standard configuration information fragments with preset frames;
dividing the configuration information of the configuration items to be detected associated with the target configuration words to be detected into a plurality of configuration information fragments to be detected with preset frames;
comparing the standard configuration information fragments with the configuration information fragments to be detected in sequence to obtain a comparison result of each group of fragments;
and judging whether the configuration information of the configuration items to be detected associated with the target configuration words to be detected is normal or not according to the comparison result of each group of fragments.
Based on the same inventive concept, the embodiment of the present application further provides an electronic device corresponding to the method for detecting the configuration item of the automobile instrument, and since the principle of solving the problem of the electronic device in the embodiment of the present application is similar to that of the method for detecting the configuration item of the automobile instrument in the embodiment of the present application, implementation of the electronic device may refer to implementation of the method, and repeated parts will not be repeated.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application; the electronic device 700 includes: the system comprises a processor 702, a memory 701 and a bus, wherein the memory 701 stores machine-readable instructions executable by the processor 702, when the electronic device 700 is running, the processor 702 and the memory 701 are communicated through the bus, and the machine-readable instructions are executed by the processor 702 to execute the steps of the method for detecting the automobile instrument configuration item.
Based on the same inventive concept, the embodiment of the present application further provides a computer readable storage medium corresponding to the method for detecting the automobile instrument configuration item, and since the principle of solving the problem by using the computer readable storage medium in the embodiment of the present application is similar to that of the method for detecting the automobile instrument configuration item in the embodiment of the present application, implementation of the computer readable storage medium can refer to implementation of the method, and repeated parts will not be repeated.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the method embodiments, which are not described in detail in this application. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, and for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a platform server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes or substitutions are covered in the protection 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. The method for detecting the automobile instrument configuration item is characterized by being applied to a test terminal, wherein a detection control is displayed on a graphical user interface of the test terminal; the detection method comprises the following steps:
responding to a first operation aiming at a detection control, and acquiring configuration information of each to-be-detected configuration item written in advance by an automobile instrument from the automobile instrument of the to-be-detected automobile type; the configuration items to be detected written in advance for different vehicle types to be detected are not identical;
determining the configuration information of a first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected;
judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result.
2. The method for detecting an automobile instrument configuration item according to claim 1, wherein after obtaining a detection result, the detection method further comprises:
generating an indication signal according to the detection result; the indication signal is used for indicating whether the detection result is normal or abnormal;
and controlling the action of the indicator lamp on the detection control according to the indication signal so as to indicate the detection result.
3. The method for detecting an automobile instrument configuration item according to claim 1, wherein after obtaining a detection result, the detection method further comprises:
when the detection result is abnormal, determining an abnormal configuration item to be detected and a second target standard configuration item corresponding to the abnormal configuration item to be detected;
and responding to a second operation aiming at the detection control, and sending configuration information of a second target standard configuration item to the automobile instrument so that the automobile instrument updates the abnormal configuration item to be detected according to the configuration information of the second target standard configuration item.
4. A method for detecting an automobile instrument configuration item according to claim 3, wherein an abnormal configuration item to be detected is updated, the method further comprising:
When the preset updating completion condition is met, the detection result of the vehicle type to be detected is redetermined; wherein the update completion condition includes at least one of: and (5) reaching a preset updating time length and receiving an updating completion signal sent by the automobile instrument.
5. The method for detecting an automobile instrument configuration item according to claim 1, wherein the test database is configured by:
determining a standard configuration word and a standard configuration item associated with the standard configuration word according to the association relation between the configuration word to be detected and the configuration item to be detected in the automobile instrument;
and configuring standard configuration words and configuration information of standard configuration items associated with each standard configuration word in the test database.
6. The method for detecting an automobile instrument configuration item according to claim 5, wherein,
the method for acquiring the configuration information of each configuration item to be detected, which is written in advance by the automobile instrument, from the automobile instrument of the automobile type to be detected comprises the following steps:
acquiring each configuration word to be detected of an automobile instrument from the automobile instrument of the automobile type to be detected;
acquiring configuration information of a configuration item to be detected associated with each configuration word to be detected;
Correspondingly, determining the configuration information of the first target standard configuration item matched with the vehicle type to be detected comprises the following steps:
and determining a standard configuration word matched with the configuration word to be detected, and acquiring configuration information of a standard configuration item associated with the standard configuration word.
7. The method for detecting an automobile instrument configuration item according to claim 5, wherein,
judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, including:
dividing configuration information of standard configuration items associated with target standard configuration words into a plurality of standard configuration information fragments with preset frames;
dividing the configuration information of the configuration items to be detected associated with the target configuration words to be detected into a plurality of configuration information fragments to be detected with preset frames;
comparing the standard configuration information fragments with the configuration information fragments to be detected in sequence to obtain a comparison result of each group of fragments;
and judging whether the configuration information of the configuration items to be detected associated with the target configuration words to be detected is normal or not according to the comparison result of each group of fragments.
8. The device for detecting the automobile instrument configuration item is characterized by being applied to a test terminal, wherein a detection control is displayed on a graphical user interface of the test terminal; the detection device includes:
The acquisition module is used for responding to a first operation aiming at the detection control, and acquiring configuration information of each to-be-detected configuration item written in advance by the automobile instrument from the automobile instrument of the automobile type to be detected; the configuration items to be detected written in advance for different vehicle types to be detected are not identical;
the determining module is used for determining the configuration information of the first target standard configuration item matched with the vehicle type to be detected from a pre-configured test database comprising the configuration information of a plurality of standard configuration items; the first target standard configuration item corresponds to an item to be detected;
and the judging module is used for judging whether the configuration information of the configuration item to be detected of the vehicle type to be detected is normal or not according to the configuration information of the first target standard configuration item, and obtaining a detection result.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the method for detecting an automotive instrument configuration according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method for detecting an automobile instrument configuration item according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310385501.5A CN116399373A (en) | 2023-04-11 | 2023-04-11 | Method and device for detecting automobile instrument configuration item, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310385501.5A CN116399373A (en) | 2023-04-11 | 2023-04-11 | Method and device for detecting automobile instrument configuration item, electronic equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116399373A true CN116399373A (en) | 2023-07-07 |
Family
ID=87008686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310385501.5A Pending CN116399373A (en) | 2023-04-11 | 2023-04-11 | Method and device for detecting automobile instrument configuration item, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116399373A (en) |
-
2023
- 2023-04-11 CN CN202310385501.5A patent/CN116399373A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107391379B (en) | Automatic interface testing method and device | |
US7209815B2 (en) | Test procedures using pictures | |
US8428813B2 (en) | Dynamic decision sequencing method and apparatus for optimizing a diagnostic test plan | |
US8423226B2 (en) | Dynamic decision sequencing method and apparatus for optimizing a diagnostic test plan | |
US20070022407A1 (en) | Automated software testing and validation system | |
WO2006071710A1 (en) | Test procedures using pictures | |
CN104978270A (en) | Automatic software testing method and apparatus | |
US20170228220A1 (en) | Self-healing automated script-testing tool | |
RU2601141C2 (en) | System and method for providing diagnostic information on faults | |
US20210254314A1 (en) | Terminal device, work machine system, information processing method, and server device | |
CN100405771C (en) | Vehicle test management system and method | |
CN105183658A (en) | Software code testing method and device | |
US7050921B2 (en) | Electronic test program with run selection | |
CN106201787A (en) | Terminal control method and device | |
CN113742181A (en) | Fault processing method and device, computer equipment and storage medium | |
US20120310849A1 (en) | System and method for validating design of an electronic product | |
CN116399373A (en) | Method and device for detecting automobile instrument configuration item, electronic equipment and medium | |
CN116662197A (en) | Automatic interface testing method, system, computer and readable storage medium | |
GB2446202A (en) | Monitoring and controlling a device under test | |
CN109144874A (en) | A kind of monitoring method and device for testing environment | |
US20080195906A1 (en) | Test pattern generation apparatus and test pattern generation method | |
CN114356769A (en) | Software learning method, device, equipment and storage medium | |
CN115840707A (en) | Flash test method, device and medium | |
CN112327800A (en) | Vehicle detection method and device and diagnosis equipment | |
CN114166265A (en) | Ground test method and system for satellite, storage medium and electronic equipment |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20231103 Address after: 401120 Building 2, No. 81, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing Applicant after: Beidou Xingtong Zhilian Technology Co.,Ltd. Applicant after: Beidou Xingtong Zhilian Technology (Nanjing) Co.,Ltd. Address before: 401120 Building 2, No. 81, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing Applicant before: Beidou Xingtong Zhilian Technology Co.,Ltd. |