CN111913473B - Code adjusting method, vehicle diagnosis equipment and system - Google Patents

Code adjusting method, vehicle diagnosis equipment and system Download PDF

Info

Publication number
CN111913473B
CN111913473B CN202010765023.7A CN202010765023A CN111913473B CN 111913473 B CN111913473 B CN 111913473B CN 202010765023 A CN202010765023 A CN 202010765023A CN 111913473 B CN111913473 B CN 111913473B
Authority
CN
China
Prior art keywords
display area
code
displayed
state value
modification
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.)
Active
Application number
CN202010765023.7A
Other languages
Chinese (zh)
Other versions
CN111913473A (en
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202010765023.7A priority Critical patent/CN111913473B/en
Publication of CN111913473A publication Critical patent/CN111913473A/en
Application granted granted Critical
Publication of CN111913473B publication Critical patent/CN111913473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Abstract

The application provides a code adjusting method, a vehicle diagnosis device and a vehicle diagnosis system, which display control parameters of various functions corresponding to bits in a bit combination corresponding to a state value of a code segment on a touch screen, and further display description information of the control parameters. By means of adding the description information of the control parameters, reference is provided for adjusting codes, and convenience of code input is improved.

Description

Code adjusting method, vehicle diagnosis equipment and system
Technical Field
The present disclosure relates to the field of automotive control technologies, and in particular, to a code adjustment method, a vehicle diagnostic device, and a system.
Background
The code of the vehicle indicates a set of control parameters of the vehicle, and if the coded state value is modified and input into the vehicle, the control parameters inside the vehicle are changed, for example: some hidden information which is not displayed before is displayed on the instrument panel, or the working state of a certain component is changed, and the like. Generally, in the case of replacing a component for a vehicle, performing upgrade configuration for a vehicle, or checking whether a vehicle has a fault or not, etc., the state value of the code needs to be modified.
Generally, the code is obtained from the interior of the automobile by the diagnostic equipment through the communication interface, is modified on the diagnostic equipment, and inputs the modified state value of the code to the automobile control system through the communication interface. When the encoded state value is modified, the error rate is higher at the time of input because the encoding is longer. When the wrong coded state value is input into the automobile control system, the problems that the automobile cannot be identified or the automobile control system is in failure and the like easily occur.
Disclosure of Invention
The application provides a code adjusting method, a vehicle diagnosis device and a system, which provide reference for modifying codes by increasing description information of control parameters, improve the convenience of code input, improve the operation efficiency of a user and are beneficial to improving the accuracy of code input.
In one aspect, the present application provides a method for adjusting encoding, including the steps of:
s101, displaying icons of state values of each coded segment in a first display area, wherein when a selection instruction of a user for the icons of the state values of the coded segments is received, the displayed states of the icons of the state values of the selected coded segments are different from the displayed states of the icons of the state values of the coded segments when the icons are not selected. S102, displaying a bit combination corresponding to the state value of the selected code segment in a second display area; s103, displaying control parameters of various functions corresponding to the bit in the bit combination corresponding to the state value of the coding segment in a third display area, wherein at least one type of functions has various control parameters for selection, and displaying description information of the control parameters in the third display area; s104, when a modification instruction that a user selects a control parameter different from the previous control parameter in the third display area is received, or when a modification instruction that the user modifies any one or more bits in the bit combination of the second display area is received, or when a modification instruction that the user modifies the encoded state value displayed in the first display area is received, the modified encoded state value and the control parameter are synchronously displayed in the first display area, the second display area and the third display area; and S105, receiving an instruction of finishing modification by a user, and outputting the modified coded state value.
By adopting the code modification method, reference is provided for modifying the code by increasing the description information of the control parameter, the description information of the code does not need to be read by other reference data, a convenient and friendly interface is provided, the convenience of code input is improved, the operation efficiency of a user is improved, and the accuracy of code input is improved.
In a second aspect, the present application further provides a vehicle diagnostic device, which includes a touch screen, a controller, and a communication interface: the touch screen comprises a first display area, a second display area and a third display area, wherein the first display area is used for displaying icons of state values of each coded segment of the codes, the second display area is used for displaying bit combinations corresponding to the state values of the selected coded segments, the third display area is used for displaying control parameters of various functions corresponding to bits in the bit combinations corresponding to the state values of the coded segments, at least one type of the functions has various control parameters for selection, and the third display area is further used for displaying description information of the control parameters; the controller is configured to perform the encoding adjustment method described in the first aspect.
In a third aspect, the present application further provides a vehicle diagnostic system comprising a vehicle diagnostic device employing the vehicle diagnostic device of the second aspect and a vehicle comprising wheels, a powertrain, an electronic controller, and a communication interface, wherein the communication interface of the vehicle diagnostic device interfaces with the communication interface of the vehicle; the power system is used for providing driving force for the wheels, and the electronic controller is used for controlling the running state of the power system and outputting the coded state value of the vehicle through a communication interface of the vehicle; a communication interface of the vehicle for receiving the modified encoded state value;
in a fifth aspect, the present application further provides a computer-readable storage medium having stored therein computer instructions for causing an electronic device to execute the code adjusting method of the first aspect when the computer instructions are executed on the electronic device.
Drawings
FIG. 1 is a schematic illustration of a display interface of a vehicle diagnostic apparatus in an embodiment of the present application;
FIG. 2 is a schematic view of a display interface of a vehicle diagnostic apparatus in another operating state according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a code adjustment method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a code adjustment method according to another embodiment of the present application;
FIG. 5 is a diagram illustrating an encoding adjustment apparatus according to an embodiment of the present application;
fig. 6 is a schematic configuration diagram of a vehicle diagnostic apparatus in an embodiment of the present application; and
fig. 7 is a schematic structural diagram of a vehicle diagnostic system in an embodiment of the present application.
Detailed Description
The present application will now be described in detail with reference to the drawings attached hereto.
Some terms in the present application are first explained to facilitate understanding by those skilled in the art.
(1) And (3) encoding: an electronic control system is generally arranged in the automobile, and is mainly used for controlling functions of various parts in the automobile, and the functions are generally realized by setting or changing control parameters of various parts in the automobile (such as a fuel tank, an air conditioner, a window of a vehicle, a tire pressure detection system, an overspeed warning device, an odometer and the like). The control parameter may specifically include one or more of an operating mode, configuration information, and status information. The control parameters of each component are generally expressed in a coding form, the coding of the automobile can be modified, and after the coding is modified, the control parameters of the related components can be correspondingly changed.
The codes are divided into long codes and short codes according to different lengths, wherein the long codes generally comprise a plurality of bytes (Byte), and each Byte (Byte) corresponds to an 8-bit binary number. Each binary digit corresponds to one Bit (Bit), and one Bit can be used for representing the control parameters of one type of function, or a plurality of bits can be used for representing the control parameters of one type of function. For example: 0xFF is represented in binary as 11111111, and may represent control parameters of up to 8 components, or may represent 8 control parameters of 1 component. The short code is shorter in length than the long code and may also be part of the long code.
(2) OBD interface, OBD is an abbreviation for On-Board Diagnostic in english, translated in chinese as an "On-Board Diagnostic system", the OBD device monitors a number of systems and components including the engine, catalytic converter, particulate trap, oxygen sensor, emission control system, fuel system, EGR (Exhaust Gas Recirculation), etc. Upon discovering a failure of a system or component, the OBD system stores the failure information in memory. The OBD interface can be connected with a fault diagnosis computer, and the fault diagnosis computer can read related information in the form of fault codes. According to the prompt of the fault code, the maintenance personnel can quickly and accurately determine the nature and the position of the fault. The fault diagnosis computer can also check and modify the codes of the automobile through the OBD interface.
The following describes various embodiments of the present application.
(1) Code adjusting method
As shown in fig. 3, an embodiment of the present application provides a code adjustment method, including the following steps: s101, displaying icons of state values of each coded segment in a first display area, wherein when a selection instruction of a user for the icons of the state values of the coded segments is received, the displayed states of the icons of the state values of the selected coded segments are different from the displayed states of the icons of the state values of the coded segments when the icons are not selected; for example: the code segment is highlighted when selected and not highlighted when not selected. S102, displaying a bit combination corresponding to the state value of the selected code segment in a second display area, wherein one bit in the bit combination represents a control parameter of one type of function, or a plurality of bits together represent the control parameter of one type of function; s103, displaying control parameters of various functions corresponding to the bit in the bit combination corresponding to the state value of the coding segment in a third display area, wherein at least one type of functions has various control parameters for selection, and displaying description information of the control parameters in the third display area; s104, when receiving a modification instruction that a user selects a control parameter different from the previous one for the third display area, or when receiving a modification instruction that a user modifies any one or more bits in a bit combination of the second display area, or when receiving a modification instruction that a user modifies a coded state value displayed in the second display area, synchronously displaying the modified coded state value and the control parameter in the coded display area, the first display area, the second display area, and the third display area; and S105, receiving an instruction of finishing modification by a user, and outputting the modified coded state value.
Since the service man is in the time of inputting the code by the vehicle diagnosis apparatus, it is difficult for the service man to remember the meaning of each numerical value because the code is only a string of characters. By adopting the code modification method in the embodiment of the application, reference is provided for modifying the code by increasing the description information of the control parameter, a convenient and friendly interface is provided, and the convenience of code input is improved. Furthermore, maintenance personnel can modify the whole code, a certain code segment and control parameters corresponding to the code segment. By adopting the code modification method in the above embodiment of the present application, the method is suitable for both a person familiar with the vehicle system and a person unfamiliar with the vehicle system.
In the above embodiment, the execution sequence of steps S101, S102, and S103 is flexible, and may be executed in any order, or even simultaneously.
In the above embodiment, the code may be a 16-ary number, and the bit combination corresponding to the state value of the selected code segment displayed in the second display area may be an 8-bit binary number, where one bit in the 8-bit binary number represents a control parameter of one type of function, or multiple bits collectively represent a control parameter of one type of function.
In the above embodiment, the description information display area, the code display area, the first display area, the second display area, and the third display area may be sequentially arranged, for example: on the display interface, the display screen is arranged in sequence from long to low. Therefore, the layout among the display areas is compact, the progressive relation from macro to micro is achieved, the user can check the display areas conveniently, errors are not prone to occurring when the user selects the display areas, and therefore the coding modifying efficiency can be further improved.
As shown in fig. 4, in an embodiment of the encoding adjustment method, the method may further include:
and S106, displaying the description of the control parameters represented by the coding segments in the codes in the description information display area, wherein the codes are divided into a plurality of the coding segments.
As shown in fig. 4, in an embodiment of the encoding adjustment method, the method may further include:
s107, the coded state value is displayed in the coding display area.
In the above embodiment, the execution sequence of steps S101, S102, S103, S106, and S107 is flexible, and may be executed in any order, or even simultaneously.
In the above embodiment, the step S104 further includes, when receiving a modification instruction of the encoded state value displayed in the encoded display area from the user, synchronously displaying the modified encoded state value and the control parameter in the encoded display area, the first display area, the second display area, and the third display area;
in the above embodiment, by displaying the description of the control parameter represented by each code segment in the code in the description information display area, the user can be helped to know the position of the code segment corresponding to the control parameter in the code. If the contents of these descriptions are long, the links may be displayed in the description information display area, and displayed by opening the links.
In the code display area, a non-editable frame in which the state value of the original code is displayed and an editable frame in which the state value of the code for editing modification is displayed may be displayed. And the initial value displayed in the editable frame is the state value of the original code.
In the above embodiment, a completion icon may be provided in the code display area beside the editable frame, and when the completion icon is triggered, the completion icon indicates that the code modification is completed. As shown in fig. 1, the completion icon may be displayed in the form of text, for example: "modify" or "complete" or "determine", and the like.
As shown in FIG. 1, the done icon may be located in the same row as the editable box, for example: the done icon is located to the left or right of the editable frame.
After the coded state value is modified, the coded state value before modification and the coded state value after modification are displayed at the same time, so that a user can conveniently compare the coded state value before modification and the coded state value after modification, and the user can see where the modification is carried out.
In an embodiment of the encoding adjusting method, step S105 may include:
and displaying a completion icon for receiving an instruction of finishing the modification by the user in the code display area, receiving an instruction triggered by the completion icon, and outputting a modified coded state value.
A trigger modification icon can be further arranged in the code display area, and the trigger modification icon is used for indicating that the modification of the state value of the code is started when being triggered. The trigger modification icon may be displayed in the form of text, for example: "modify" or "initiate modification" and the like.
Step S102 of the code adjustment method further includes: after receiving an instruction for triggering the modification icon to be triggered, the coded state value displayed in the code display area enters an editable state.
And a synchronous modification icon can be further arranged in the code display area, and the synchronous modification icon is used for indicating that the state values of the codes and the control parameters displayed in the first display area, the second display area and the third display area are synchronously modified according to the modified state values of the codes displayed in the code display area when being triggered. The trigger modification icon may be displayed in the form of text, for example: "modify" or "modify synchronously", and the like.
And after the coded state value is modified, clicking the synchronous modification icon, and refreshing the content displayed on the interface according to the modified state value.
Step S104 of the code adjustment method further includes:
after receiving an instruction that a synchronous modification icon is triggered, synchronously modifying the state values of the codes and the control parameters displayed in the first display area, the second display area and the third display area according to the modified state values of the codes displayed in the code display areas.
After the coded state value is modified, the synchronous modification icon is clicked, the content displayed on the display interface can be refreshed according to the modified state value, and therefore the user is not easy to confuse the old value and the new value.
The positions of the triggered modified icons and the positions of the synchronously modified icons can be similar to the positions of the icons, and the functions of the three icons can be realized by multiplexing one icon in a time-sharing manner.
In the above embodiment, the icons of the status values of the respective code segments displayed in the first display area may be sequentially displayed in a row of squares, and one code segment occupies one square, so as to facilitate the user to distinguish the respective code segments.
Because the coding section is more, in order to prevent missing, can set up the serial number for each coding section, the serial number also can show in a row of square, and the square that shows the serial number can set up with the square one-to-one that shows the coding section. For example: as shown in fig. 1 and 2, serial numbers are displayed in one row of squares, code segments are displayed in the other row of squares, and the two rows of squares are arranged side by side.
One coding section of the code occupies one byte, and each byte of the code is sequentially displayed by adopting the grids, so that a user can accurately find the byte needing to be modified by matching with the first piece of information. And displaying the serial number of the selected byte and the binary value of the corresponding byte below the grid, and displaying the state value of each bit corresponding to the byte.
When the user modifies the code in the editable frame in the description information display area and converts the code into the square according to the data in the editable frame, when the number of the input used is odd, the next byte is automatically complemented with 0 in the high 4 bits when the square is displayed. One byte adopts 8-bit binary, and one 16-bit digit is 4-bit binary, so that 8 bits need to be complemented, and therefore, in odd numbers, the last byte is complemented with 0 in the high order.
Under the condition that the serial numbers are coded for the coding segments, the coding segments do not need to be displayed in the description information display area, only the serial numbers corresponding to the coding segments need to be displayed, and the control parameters represented by the coding segments are described aiming at the serial numbers. Of course, the sequence number may not be set for the code segment, and when the sequence number is not set for the code segment, the code segment needs to be displayed in the description information display area, and the control parameter represented by the code segment is described for the code segment.
When the second display area displays the 8-bit binary number corresponding to the state value of the selected code segment, as shown in fig. 1 or fig. 2, the state value of the code segment and the corresponding serial number can be displayed at the same time.
In the above embodiment, the instruction information of the control parameter displayed in the third display area is displayed behind or in front of the corresponding control parameter, and may be specifically located in the same row as the control parameter, so that the user can clearly understand the meaning of the control parameter when selecting the control parameter.
In an embodiment of the adjusting method of the code, step S105 may include:
and displaying a determination icon in the third display area, wherein the determination icon is used for indicating that the user finishes modifying when triggered, receiving an instruction that the determination icon is triggered, and outputting the modified coded state value.
As shown in fig. 1 and 2, the determination icon may be represented in the form of text, for example: "complete modify" or "determine" or "save" and the like.
In the above embodiment, each code segment corresponds to an 8-bit binary number, each bit of the 8-bit binary number is divided into two types, the first type of bit is a control parameter that uses one bit to represent one type of function, and the second type of bit is a control parameter that uses a plurality of bits to represent one type of function, which may also be referred to as multi-bit control. The two bits are different in their properties and can be represented by 0 or 1, respectively. The properties of the bit may be stored in a storage medium of an electronic controller inside the vehicle. In the case of multi-bit control, if N bits are used to represent control parameters of one type of function, the N bits can represent control parameters of 2 to the power of N at most, where N is an integer greater than 0.
In the above embodiment, in the third display region, a bit number may also be displayed, for example: bit numbers of bit0-1, bit5, bit6, etc. in fig. 1 are the positions where the binary system of the corresponding byte is located by the current control unit, and the or value of the corresponding byte is located by the current bit when selected. As shown, check boxes are displayed. As shown in FIG. 1, the bit0-1 number follows the following rule: the upper 4 bits represent the start bits of the multiple bits (m value of bitm-n) and the lower 4 bits represent the end bits of the multiple bits (n value of bitm-n), e.g., 0x06, then bit 0-6. Wherein m is an integer greater than 0, n is an integer greater than or equal to 0, and m > n.
And displaying the control parameters of various functions corresponding to the bits in the binary number corresponding to the coding section in the third display area, wherein at least one type of functions has various control parameters for selection, and a check box or a pull-down box can be adopted for a user to select among the various control parameters. Such as bit0-1 in fig. 1, a checkbox is shown. Like bit5 and bit6 in fig. 1, there are no multiple control parameters to select, so no check boxes are used.
As a specific example, when the user selects one of the squares, the data in the square is highlighted in red, as shown in FIG. 1. Displaying a "serial number" and a non-editable text box in the second display area, wherein the text box comprises the following text boxes: "the corresponding position fills in the corresponding position serial number, and the binary value of the content of the square where the cursor is located is displayed in the non-editable text box. The function contents corresponding to Bit 0-Bit 7 acquired from the diagnosis signal are displayed in the third display area and displayed in the form of a "function text box" or a "function drop-down box". The content of the function corresponding to Bit 0-Bit 7 can be understood as the control parameter of the function corresponding to Bit 0-Bit 7. The check box checks the bit with binary value 1 by default, if the check box is used, the current bit value is 1, the corresponding check box checks, or "the pull-down options with multiple bits equal to the or value are displayed by default". If the drop-down box is selected, the drop-down box option indicating that the corresponding values are consistent is displayed. As shown in fig. 1, bit0-1 indicates that the values 0-3 correspond to character strings of one display caption, respectively, and since the value is 3, the caption "03" of 3 is graphically displayed, illuminating: pointer ON and scale ON.
The content in the square can be modified, and when the content is changed, the 'editable box', 'binary display box', 'check box' or 'pull-down display item' is correspondingly adjusted.
Binary display frame: an input box of 00010011 following "serial number 0" as shown in fig. 1 is indicated. The "box" indicates the position of the 13 line of the red bottom. The "editable box" represents the input box to the left of the red button "modify". For example: showing that the check of the bit of the check box bit5 is operated by us, the binary display box should display the red bottom box of "00110011" and should change from 13 to 33, and the input box should display the three places of "33A 6290203010008010000002", which are consistent.
When the user selects and operates the check box, the binary digit of the position checked by the user is 1, the binary digit of the position is correspondingly set to be 1 in the binary display box, and the binary digit of the byte without data is set to be 0; the data in the box is modified into the data converted according to the binary system, and the editable box is also modified correspondingly. The binary bit of the position not checked by the user is 0, the binary display frame, the data of the frame and the data of the editable frame are correspondingly modified. This is because it is possible that the corresponding bit is meaningless under the car, or else the corresponding description does not appear. As shown in FIG. 1, only 0-1 bits, 5,6 bits, are significant, and if the user checks the check box to modify, the unmarked 2,3,4 bits are set to 0, indicating no support.
To assist in understanding the above-described embodiments of the present application, the following is an example of coding an instrument panel system of an audi vehicle;
after the user saves the information, the user enters the coding function, reads the code 13a 6290203010008010008010002 under the dashboard system, displays the name of the function unit corresponding to the coding control (i.e. the description of the control parameter represented by the code segment in the code displayed in the description information display area as described in the previous embodiment), and can edit and control the position of the code corresponding to the function unit:
sequence number 0: illuminating; driving on the right; speed alarm at 120kph
Number 1: a round timer; cleaning liquid alarm
Sequence number 2: arranging a standard oil tank; vehicle type setting
Number 4: a tire pressure monitoring system.
Number 6: units (temperature, distance, speed, fuel quantity); time display
Number 7: displaying the date; fuel consumption display
Number 8: setting a language;
the sequence number 0 is used as an example for explanation, and other sequence numbers are similar.
Sequence number 0: illuminating; driving on the right; the speed alert function sets data at 120 kph. Wherein the illumination is controlled by a combination bit (bit0-1), the right-hand driving is controlled by bit5, and the speed warning function setting data at 120kph is controlled by bit 6:
and (3) right-side driving: setting the attribute of the corresponding bit to be 0 to represent single-bit control, setting the bit number of 5 to be the position of the binary system of the corresponding byte where the current control unit is located, and selecting the current bit to be the OR value 32 (5 th power of 2) of the corresponding byte;
speed alert at 120 kph: the corresponding bit attribute is set to 0, bit number 6, or, 64 (6 th power of 2) for the corresponding byte.
Illumination: setting the attribute of the corresponding bit as 1 to represent a plurality of bit controls, wherein the bit number is according to the following rule: the upper 4 bits represent the start bits of the multi-bits (m value of bitm-n) and the lower 4 bits represent the end bits of the multi-bits (n value of bitm-n), e.g. 0x01, then bit0-1, thus the bit number is 1.
The meaning of the corresponding functional unit represented by each combined value:
00, illumination: hand OFF and scale OFF
01, lighting: hand OFF and scale ON
02, illumination: pointer ON and scale OFF
03, lighting: pointer ON and scale ON
The display effect diagram is shown in fig. 1. the user can encode the entire code in an edit box, can edit boxes corresponding to bytes, and can select the value of each bit (or bits) of the byte under the corresponding sequence number in a check box, a drop-down box. Fig. 2 is a grid display interface with a selection number of 6:
(2) code adjusting device
As shown in fig. 5, corresponding to the encoding adjustment method, an embodiment of the present application provides an encoding adjustment apparatus including a control display module 101 and an output module 102.
The control display module 101 is configured to display an icon of a state value of each encoded segment in the first display area, and when a selection instruction of a user for the icon of the state value of the encoded segment is received, the displayed state of the icon of the state value of the selected encoded segment is different from that when the icon of the state value of the encoded segment is not selected;
the control display module 101 is further configured to display a bit combination corresponding to the state value of the selected code segment in a second display area;
the control display module 101 is further configured to display, in a third display area, control parameters of various types of functions corresponding to bits in a bit combination corresponding to a state value of a code segment, where at least one type of function has multiple control parameters for selection, and description information of the control parameters is displayed in the third display area;
the control display module 101 is further configured to, when receiving a modification instruction that a user selects a control parameter different from a previous control parameter in the third display area, or when receiving a modification instruction that the user modifies any one or more bits in a bit combination of the second display area, or when receiving a modification instruction that the user modifies a coded state value displayed in the first display area, synchronously display the modified coded state value and the control parameter in the first display area, the second display area, and the third display area;
the control display module 101 is further configured to receive an instruction of a user to complete modification;
and the output module 102 is configured to output the modified encoded state value after receiving an instruction for completing the modification by the user.
In one possible embodiment of the code adjustment device, the description information of the control parameter displayed in the third display area is displayed behind or in front of the corresponding control parameter.
In a possible implementation manner of the encoding adjustment apparatus, the control display module 101 is further configured to:
and displaying the description information of the control parameter represented by the code segment in the code in a description information display area, wherein the code is divided into a plurality of code segments.
In a possible implementation manner of the encoding adjustment apparatus, the control display module 101 is further configured to:
displaying the encoded state value in an encoding display area; and when receiving a modification instruction of the state value of the code displayed in the code display area from a user, synchronously displaying the modified state value of the code and the control parameter in the code display area, the first display area, the second display area and the third display area.
In a possible embodiment of the encoding adjusting apparatus, the control display module 101 is further configured to display a non-editable frame and an editable frame in the encoding display area, display the status value of the original encoding in the non-editable frame, and display the status value of the encoding for editing and modifying in the editable frame.
In a possible embodiment of the code adjusting apparatus, the control display module 101 is further configured to set a trigger modification icon in the code display area, where the trigger modification icon is configured to indicate that modification of the state value of the code is started when triggered, and after receiving an instruction that the trigger modification icon is triggered, the state value of the code displayed in the code display area enters an editable state.
In a possible implementation manner of the code adjusting apparatus, the control display module 101 is further configured to set a synchronous modification icon in the code display area, where the synchronous modification icon is configured to, when triggered, indicate that the state values of the codes and the control parameters displayed in the first display area, the second display area, and the third display area are synchronously modified according to the state value of the modified code displayed in the code display area, and after receiving an instruction that the synchronous modification icon is triggered, synchronously modify the state values and the control parameters of the codes displayed in the first display area, the second display area, and the third display area according to the state value of the modified code displayed in the code display area.
(3) Vehicle diagnostic apparatus
As shown in fig. 6, corresponding to the code adjustment method, the embodiment of the present application provides a vehicle diagnostic apparatus including a touch screen 11, a controller 12, and a communication interface 13:
the touch screen 11 includes a first display area for displaying icons of status values of each code segment of the code, when receiving a selection instruction of a user for the icon of the state value of the code segment, the displayed state of the icon of the state value of the selected code segment is different from that when the icon is not selected, the second display area is used for displaying the bit combination corresponding to the state value of the selected coding segment, one bit in the bit combination represents the control parameter of one type of function, or a plurality of bits together represent the control parameter of one type of function, the third display area is used for displaying the control parameters of various functions corresponding to the bit in the bit combination corresponding to the state value of the coding segment, wherein at least one type of function has a plurality of control parameters for selection, and the third display area is further used for displaying description information of the control parameters;
the touch screen 11 is further configured to, when receiving a modification instruction that a user selects a control parameter different from the previous control parameter in the third display area, or when receiving a modification instruction that the user modifies any one or more bits in a bit combination of the second display area, or when receiving a modification instruction that the user modifies a coded state value displayed in the first display area, synchronously display the modified coded state value and the control parameter in the first display area, the second display area, and the third display area;
the controller 12 is configured to send a first control instruction to the touch screen 11 when receiving a selection instruction of a user for an icon of a state value of a code segment in the first display area, where the first control instruction is used to indicate that the touch screen 11 displays a state of the icon of the state value of the selected code segment, which is different from that when the icon is not selected;
the controller 12 is further configured to send a second control instruction to the touch screen when receiving a modification instruction that a user selects a different control parameter for the third display area, or when receiving a modification instruction that the user modifies any one or more bits in a bit combination of the second display area, or when receiving a modification instruction that the user modifies a coded state value displayed in the first display area, where the second control instruction is used to instruct the touch screen to display the modified coded state value and the control parameter in the same step in the first display area, the second display area, and the third display area;
the touch screen 11 is further configured to receive an instruction of completing modification by a user;
the controller 12 is configured to output the modified encoded state value through the communication interface 13 according to the instruction for completing the modification by the user.
By adopting the vehicle diagnosis equipment in the application, reference is provided for code modification in a mode of increasing the description information of the codes, the description information of the codes does not need to be read in other reference data, a convenient and friendly interface is provided, the convenience of code input is improved, the operation efficiency of a user is improved, and the accuracy of code input is favorably improved.
Furthermore, maintenance personnel can modify the whole code, a certain code segment and control parameters corresponding to the code segment. By adopting the vehicle diagnosis device in the above-described embodiment of the present application, the vehicle diagnosis device is suitable for use by both a person familiar with the vehicle system and a person unfamiliar with the vehicle system.
In one possible embodiment of the vehicle diagnostic apparatus, the code may be a 16-ary number, and the bit combination corresponding to the state value of the selected code segment displayed in the second display area may be an 8-bit binary number, where one bit of the 8-bit binary number represents the control parameter of one type of function, or multiple bits collectively represent the control parameter of one type of function.
In one possible embodiment of the vehicle diagnostic apparatus, the first display region, the second display region, and the third display region are arranged in series.
Therefore, the layout among the display areas is compact, the progressive relation from macro to micro is achieved, the user can check the display areas conveniently, errors are not prone to occurring when the user selects the display areas, and therefore the coding modifying efficiency can be further improved.
In one possible embodiment of the vehicle diagnostic apparatus, the touch screen 11 further includes a description information display area,
the description information display area is used for displaying the description information of the control parameter represented by the coding segment in the coding, wherein the coding is divided into a plurality of the coding segments.
In one possible embodiment of the vehicle diagnostic apparatus, the touch screen 11 further includes a code display area,
the code display area is used for displaying the coded state value.
In one possible embodiment of the vehicle diagnostic apparatus,
the touch screen 11 is further configured to, when receiving a modification instruction of a user on a state value of a code displayed in the code display area, synchronously display the modified state value of the code and a control parameter in the code display area, the first display area, the second display area, and the third display area;
the controller 12 is configured to send a second control instruction to the touch screen when receiving a modification instruction of a user on a state value of a code displayed in the code display area, where the second control instruction is used to instruct the touch screen 11 to synchronously display the modified state value of the code and a control parameter in the code display area, the first display area, the second display area, and the third display area.
In one possible embodiment of the vehicle diagnostic apparatus, the instructional information display area, the code display area, the first display area, the second display area, and the third display area are arranged in this order.
In one possible embodiment of the vehicle diagnostic device, in the code display area, a non-editable frame and an editable frame are displayed, the originally encoded state value is displayed in the non-editable frame, and the encoded state value for editing modification is displayed in the editable frame.
Further, the initial value displayed in the editable frame is the state value of the original code.
In one possible embodiment of the vehicle diagnostic apparatus, a completion icon for indicating completion of code modification when triggered is provided in the code display area beside the editable frame.
After the coded state value is modified, the coded state value before modification and the coded state value after modification are simultaneously displayed in the coded display area, so that a user can conveniently compare the coded state value before modification and the coded state value after modification, and the user can see where the modification is carried out.
In a possible embodiment of the vehicle diagnostic apparatus, the touch screen 11 is further configured to display a completion icon for receiving an instruction of completing modification by a user in the code display area, and the controller 12 is further configured to output the modified coded state value through the communication interface when receiving an instruction of triggering the completion icon.
In one possible embodiment of the vehicle diagnostic apparatus, a trigger modification icon is provided in the code display area, and the trigger modification icon is used to indicate that modification of the state value of the code is started when triggered.
The controller is further used for controlling the codes displayed in the code display area of the touch screen to enter an editable state according to the instruction for triggering the modification icon.
In one possible embodiment of the vehicle diagnostic apparatus, a synchronous modification icon is provided in the code display region, the synchronous modification icon being configured to instruct, when triggered, synchronous modification of the state values of the codes displayed in the first display region, the second display region, and the third display region and control parameters in accordance with the state value of the modified code displayed in the code display region,
the controller is further configured to control to synchronously modify the state values of the codes and the control parameters displayed in the first display area, the second display area, and the third display area according to the modified state values of the codes displayed in the code display areas according to an instruction for triggering the synchronous modification icon.
After the coded state value is modified, the synchronous modification icon is clicked, the content displayed on the display interface can be refreshed according to the modified state value, and therefore the user is not easy to confuse the old value and the new value.
In one possible embodiment of the vehicle diagnostic apparatus, the icons of the status values of the respective code segments displayed in the first display area may be sequentially displayed in a row of cells, one code segment occupying one cell, so as to facilitate the user to distinguish the respective code segments.
In one possible embodiment of the vehicle diagnostic apparatus, in the first display area, a serial number is provided for each icon of status values of code segments, the serial number is displayed in a row of squares, and the squares displaying the serial numbers are provided in one-to-one correspondence with the squares displaying the icons of status values of code segments.
Because the number of the coding sections is more, omission can be prevented.
In one possible embodiment of the vehicle diagnostic apparatus, the explanatory information of the control parameter displayed in the third display area is displayed behind or in front of the corresponding control parameter.
In one possible embodiment of the vehicle diagnostic apparatus, the explanatory information of the control parameter displayed in the third display region is located in the same row as the corresponding control parameter.
Therefore, the user can clearly know the meaning of the control parameter when selecting the control parameter.
In a possible embodiment of the vehicle diagnostic apparatus, the touch screen 11 is further configured to display a determination icon for receiving an instruction of a user to complete modification in the third display area, and the controller is further configured to output the modified encoded state value through the communication interface when receiving an instruction of determining that the icon is triggered.
Various embodiments of the vehicle diagnostic apparatus may refer to various specific implementations of a code modification method, wherein the touch screen is configured to display and receive an instruction input by a user, and the controller is configured to control the touch screen to display corresponding content according to the instruction input by the user.
(3) Vehicle diagnostic system
As shown in fig. 7, an embodiment of the present application provides a vehicle diagnostic system, which includes a vehicle diagnostic apparatus that employs the vehicle diagnostic apparatus in the foregoing embodiment, and a vehicle that includes wheels 24, a power system 22, an electronic controller 21, and a communication interface 23, wherein the communication interface 13 of the vehicle diagnostic apparatus interfaces 23 with the communication interface of the vehicle; the power system 22 is used for providing driving force for the wheels 24, and the electronic controller 21 is used for controlling the running state of the power system 22 and outputting the code of the vehicle through the communication interface 23 of the vehicle;
a communication interface 23 of the vehicle for receiving the modified encoded status value;
the electronic controller 21 is further configured to adjust the operating state of the powertrain system based on the modified encoded state value.
In the above-described embodiment of the vehicle diagnostic system, the electronic controller 21 may be an instrument panel system or the like.
Generally, the code needs to be modified when the control unit needs to be replaced in the maintenance of the vehicle, or when the hidden function of the vehicle needs to be displayed, or when the configuration needs to be upgraded.
The method comprises the steps that the vehicle diagnosis equipment reads coded data under a corresponding system of a detected vehicle through an OBD connector when the code needs to be coded, the coded data are displayed in a display mode in the application and are provided for a user to edit or modify the code, and after the code is modified, the code is written into the vehicle through the OBD connector inserted into the detected vehicle, so that the code modification of the vehicle is completed.
Embodiments of the present application also provide a computer-readable storage medium, in which computer instructions are stored, and when the computer instructions are executed on an electronic device, the instructions are used to cause the electronic device to perform the relevant steps in the above method embodiments.
Embodiments of the present application further provide a computer program product, which when run on a computer, causes the computer to execute the relevant steps described above, so as to implement the relevant steps in the above method embodiments.
Embodiments of the present application also provide an electronic device, which may be embodied as a chip or other integrated circuit, and which may include a processor and a memory coupled together; wherein the memory is used for storing computer executable instructions, and when the device runs, the processor can execute the computer executable instructions stored in the memory, so as to make the device execute the steps in the above method embodiments.
The present application also provides a circuit comprising a plurality of interconnected electronic devices, which circuit is powered on for performing the steps of the above-described method embodiments. The circuit may be disposed on a circuit board.
The computer-readable storage medium, the computer program product, the electronic device or the circuit provided in the embodiments of the present application are all used for executing the steps in the method embodiments, and the beneficial effects achieved by the method can refer to the beneficial effects in the corresponding method embodiments provided above, which are not described herein again.
Although the subject matter of the present application has been described in language specific to structural features/functional/methodological acts, the specific structural features/functional/methodological acts are merely examples of the claimed subject matter and are not intended to limit the scope of the present application, as any person skilled in the art can readily devise many variations or alterations within the scope of the present disclosure.

Claims (10)

1. A method of code adjustment, the method comprising the steps of:
displaying icons of the state values of each coded segment in the code in a first display area, wherein when a selection instruction of a user for the icons of the state values of the coded segments is received, the displayed states of the icons of the state values of the selected coded segments are different from those of the icons of the state values of the coded segments when the icons are not selected;
displaying the bit combination corresponding to the state value of the selected coding segment in a second display area;
displaying control parameters of various functions corresponding to bits in a bit combination corresponding to the state value of the coding segment in a third display area, wherein at least one type of functions has various control parameters for selection, and explanatory information of the control parameters is displayed in the third display area;
when a modification instruction that a user selects a control parameter different from the previous control parameter in the third display area is received, or when a modification instruction that the user modifies any one or more bits in the bit combination of the second display area is received, or when a modification instruction that the user modifies the encoded state value displayed in the first display area is received, the modified encoded state value and the control parameter are synchronously displayed in the first display area, the second display area and the third display area;
and receiving an instruction of finishing modification by a user, and outputting the modified coded state value.
2. The code adjustment method according to claim 1, wherein the description information of the control parameter displayed in the third display area is displayed behind or in front of the corresponding control parameter.
3. The code adaptation method of claim 1, wherein the method further comprises:
and displaying the description information of the control parameter represented by the code segment in the code in a description information display area, wherein the code is divided into a plurality of code segments.
4. The code adaptation method of claim 1, wherein the method further comprises:
displaying the encoded state value in an encoding display area;
the code adjusting method further comprises the step of synchronously displaying the modified state value of the code and the control parameter in the code display area, the first display area, the second display area and the third display area when receiving a modification instruction of the state value of the code displayed in the code display area by a user.
5. The code adjustment method according to claim 4, wherein a non-editable frame and an editable frame are displayed in the code display area, the state value of the original code is displayed in the non-editable frame, and the state value of the code for editing modification is displayed in the editable frame.
6. The code adjustment method according to claim 4, wherein a trigger modification icon is further provided in the code display area, the trigger modification icon being used to indicate, when triggered, that modification of the state value of the code is to be started, the code adjustment method further comprising:
after receiving an instruction for triggering the modification icon to be triggered, the coded state value displayed in the code display area enters an editable state.
7. The code adjustment method according to claim 4, wherein a synchronous modification icon is provided in the code display area, the synchronous modification icon being configured to indicate, when triggered, that the state values of the codes displayed in the first display area, the second display area, and the third display area are synchronously modified according to the state value of the modified code displayed in the code display area, and a control parameter, the code adjustment method further comprising:
after receiving an instruction that a synchronous modification icon is triggered, synchronously modifying the state values of the codes and the control parameters displayed in the first display area, the second display area and the third display area according to the modified state values of the codes displayed in the code display areas.
8. An encoding adjustment apparatus, comprising:
the control display module is used for displaying icons of the state values of each coded segment in the first display area, and when a selection instruction of a user for the icons of the state values of the coded segments is received, the displayed states of the icons of the state values of the selected coded segments are different from the displayed states of the icons of the state values of the coded segments when the icons are not selected;
the control display module is further used for displaying the bit combination corresponding to the state value of the selected coding segment in the second display area;
the control display module is further used for displaying control parameters of various functions corresponding to the bits in the bit combination corresponding to the state values of the coding segments in a third display area, wherein at least one type of functions has various control parameters for selection, and explanatory information of the control parameters is displayed in the third display area;
the control display module is further used for synchronously displaying the modified coded state value and the control parameter in the first display area, the second display area and the third display area when receiving a modification instruction of a user for selecting a control parameter different from the previous control parameter in the third display area, or when receiving a modification instruction of the user for any one or more bits in a bit combination of the second display area, or when receiving a modification instruction of the user for modifying the coded state value displayed in the first display area;
the control display module is further used for receiving an instruction of finishing modification by a user;
and the output module is used for outputting the modified coded state value after receiving the instruction of finishing the modification by the user.
9. A vehicle diagnostic device, comprising a touch screen, a controller, and a communication interface:
the touch screen comprises a first display area, a second display area and a third display area, wherein the first display area is used for displaying icons of state values of each coded segment of the codes, the second display area is used for displaying bit combinations corresponding to the state values of the selected coded segments, the third display area is used for displaying control parameters of various functions corresponding to bits in the bit combinations corresponding to the state values of the coded segments, at least one type of the functions has various control parameters for selection, and the third display area is further used for displaying description information of the control parameters;
the controller is configured to perform the encoding adjustment method of any one of claims 1 to 7.
10. A computer-readable storage medium having stored therein computer instructions for causing an electronic device to perform the code adjustment method of any one of claims 1 to 7 when the computer instructions are run on the electronic device.
CN202010765023.7A 2020-07-31 2020-07-31 Code adjusting method, vehicle diagnosis equipment and system Active CN111913473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010765023.7A CN111913473B (en) 2020-07-31 2020-07-31 Code adjusting method, vehicle diagnosis equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010765023.7A CN111913473B (en) 2020-07-31 2020-07-31 Code adjusting method, vehicle diagnosis equipment and system

Publications (2)

Publication Number Publication Date
CN111913473A CN111913473A (en) 2020-11-10
CN111913473B true CN111913473B (en) 2021-10-22

Family

ID=73287464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010765023.7A Active CN111913473B (en) 2020-07-31 2020-07-31 Code adjusting method, vehicle diagnosis equipment and system

Country Status (1)

Country Link
CN (1) CN111913473B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112148A (en) * 1998-12-18 2000-08-29 Cummins Engine Co., Inc. System and method for controlling diagnostic annunciators
CN105843920A (en) * 2016-03-25 2016-08-10 深圳市道通科技股份有限公司 Information display method and apparatus applied to automotive diagnosis device
CN206363152U (en) * 2016-11-28 2017-07-28 清华大学苏州汽车研究院(吴江) A kind of system of real-time fault diagnosis
CN108089797A (en) * 2017-11-29 2018-05-29 中车唐山机车车辆有限公司 The interface display method and device of train display screen
CN108924611A (en) * 2018-06-27 2018-11-30 曜科智能科技(上海)有限公司 ABR encoder bit rate controls optimization method, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2183355C (en) * 1994-02-15 2006-05-30 Kornelis Antonie Schouhamer Immink Method of converting a series of m-bit information words to a modulated signal, method of producing a record carrier, coding device, decoding device, recording device, reading device, signal, as well as a record carrier
US8588459B2 (en) * 2007-06-14 2013-11-19 Thomson Licensing Modifying a coded bitstream
US9448556B2 (en) * 2010-10-22 2016-09-20 Honeywell International Inc. Apparatus and method for advanced alarming in field device protocols
CN110576852B (en) * 2019-09-26 2021-06-22 华为技术有限公司 Automatic parking method and device and vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112148A (en) * 1998-12-18 2000-08-29 Cummins Engine Co., Inc. System and method for controlling diagnostic annunciators
CN105843920A (en) * 2016-03-25 2016-08-10 深圳市道通科技股份有限公司 Information display method and apparatus applied to automotive diagnosis device
CN206363152U (en) * 2016-11-28 2017-07-28 清华大学苏州汽车研究院(吴江) A kind of system of real-time fault diagnosis
CN108089797A (en) * 2017-11-29 2018-05-29 中车唐山机车车辆有限公司 The interface display method and device of train display screen
CN108924611A (en) * 2018-06-27 2018-11-30 曜科智能科技(上海)有限公司 ABR encoder bit rate controls optimization method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111913473A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
US7987028B2 (en) Method and apparatus for reading and erasing diagnostic trouble codes from a vehicle
USRE39619E1 (en) Automotive code reader
CA2396339C (en) Automated vehicle inspection system
US6859695B2 (en) Method and device for interpreting events and outputting operating instructions in motor vehicles
US7209815B2 (en) Test procedures using pictures
JP4082306B2 (en) Fault diagnosis device
US7038578B2 (en) Fault reporting system for a motor vehicle
CA2518024C (en) User adaptive automated pre-trip inspection system
JP2010241263A (en) Diagnosis device for assisting failure reproduction, and output method for failure reproduction data
EP1839272A1 (en) Test procedures using pictures
CN111913473B (en) Code adjusting method, vehicle diagnosis equipment and system
CN112034817B (en) Automobile code adjusting method and device, automobile diagnosis equipment, diagnosis system and storage medium
JP5314656B2 (en) Failure diagnosis method and failure diagnosis apparatus
CN111179467A (en) Vehicle data display method, device, equipment and storage medium
JPH09210867A (en) Vehicle-diagnosing apparatus
JP3527351B2 (en) Vehicle diagnostic method and device
JP5314655B2 (en) Failure diagnosis method and failure diagnosis apparatus
CN214011801U (en) Take OBDII code reader of tail gas monitoring pilot lamp
CN212022780U (en) Steering wheel
CN112805185B (en) Fault diagnosis device
EP4167040A1 (en) Fault model editor and diagnostic tool
CN102103377B (en) Learning and diagnosing method and system of vehicle information, and readable storage medium of arithmetic device
CN116858585A (en) Automobile electronic product intelligent detection system and method based on embedded system
KR101828612B1 (en) Diagnosis system of construction equipment for providing detailed information using firmware update port
CN116627107A (en) Automobile controller fault diagnosis device and method based on single chip microcomputer

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
GR01 Patent grant
GR01 Patent grant