Configuration word analysis method, electronic equipment and vehicle

By dividing the configuration word information into sub-information corresponding to the function and determining the feature information from the configuration information attribute library, the problem of low efficiency and error prone to configuration word analysis in the prior art is solved, and efficient and accurate configuration word analysis is achieved to ensure the correct interpretation of vehicle functions and the improvement of quality.

CN119902770APending Publication Date: 2025-04-29GREAT WALL MOTOR CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411964856.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

In the prior art, the parsing efficiency of the configured words is low and error-prone, especially when there are many configured words, which leads to the inability to correctly interpret the vehicle functions, causing serious quality problems.

Method used

A configuration word analysis method is proposed, which realizes efficient and accurate configuration word analysis by dividing the target configuration word information into multiple sub-information corresponding to the function one by one, and determining the configuration word byte information and feature information corresponding to each sub-information from the configuration information attribute library.

Benefits of technology

This method can significantly improve the accuracy and efficiency of configuration word analysis, reduce the risk of manual participation, and ensure the correct interpretation of vehicle functions and the improvement of quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902770A_ABST
    Figure CN119902770A_ABST
Patent Text Reader

Abstract

The invention provides a configuration word analysis method, electronic equipment and a vehicle, when target configuration word information is analyzed, the target configuration word information is divided into multiple pieces of sub-information in one-to-one correspondence with functions, and then configuration word byte information corresponding to each piece of sub-information is determined; and finally, determining feature information corresponding to each piece of configuration word byte information from the configuration information attribute library, and determining the feature information corresponding to all the configuration word byte information as analysis information corresponding to the target configuration word information. The obtained analysis information comprises all the functions corresponding to the obtained target configuration word information and the specific feature information corresponding to all the functions, the analysis result is very clear, related personnel can correctly interpret the vehicle functions based on the analysis result, the whole analysis process does not need manual participation, the risk of analysis errors is greatly reduced, and the analysis efficiency is improved. And the analysis accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a configuration word parsing method, an electronic device and a vehicle. Background Art

[0002] Currently, most of the parsing of configuration words in the industry is done manually. When there are fewer configuration words, the risk of manual parsing errors is relatively low. However, when there are more configuration words, they need to be identified and parsed in sequence, byte by byte, and bit by bit, which is very inefficient and greatly increases the risk of parsing errors, resulting in the inability to correctly interpret vehicle functions, and ultimately causing serious quality problems.

[0003] In addition, for vehicles, in order to save storage space, each configuration word corresponds to multiple functions, so it is very difficult to correctly parse the functions corresponding to the configuration words and the detailed feature information corresponding to the functions. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a configuration word parsing method, an electronic device and a vehicle.

[0005] Based on the above purpose, the first aspect of the present application provides a configuration word parsing method, including:

[0006] In response to receiving the configuration word parsing request, obtaining target configuration word information of the vehicle, wherein the target configuration word information corresponds to a plurality of functions;

[0007] Divide the target configuration word information into a plurality of sub-information, and determine the configuration word byte information corresponding to each of the sub-information, each of the sub-information corresponding to a function;

[0008] Determine the characteristic information corresponding to each of the configuration word byte information from the configuration information attribute library, and determine the characteristic information corresponding to all of the configuration word byte information as the parsing information corresponding to the target configuration word information.

[0009] Optionally, dividing the target configuration word information into a plurality of sub-information and determining the configuration word byte information corresponding to each of the sub-information includes:

[0010] Encoding the target configuration word information for the first time to obtain encoded configuration word information;

[0011] In response to the encoded configuration word information meeting a preset format condition, the encoded configuration word information is divided into a plurality of sub-information, and configuration word byte information corresponding to each of the sub-information is determined.

[0012] Optionally, dividing the encoded configuration word information into a plurality of sub-information and determining the configuration word byte information corresponding to each of the sub-information includes:

[0013] Determining a configuration word segmentation method corresponding to the coded configuration word information from a preset configuration word library of the vehicle;

[0014] Based on the configuration word segmentation method, segmenting the target configuration word information into a plurality of sub-information;

[0015] Based on a preset calculation method, the configuration word byte information corresponding to each of the sub-information is determined.

[0016] Optionally, the determining, based on a preset calculation method, configuration word byte information corresponding to each of the sub-information includes:

[0017] Performing an AND operation on each of the sub-information and a preset value to obtain first operation information;

[0018] Performing a shift operation on the first operation information to obtain second operation information;

[0019] The second operation information is encoded for a second time to obtain the configuration word byte information.

[0020] Optionally, the first encoding of the target configuration word information to obtain the encoded configuration word information includes: binary encoding of the target configuration word information to obtain the encoded configuration word information;

[0021] The second encoding of the second operation information to obtain the configuration word byte information includes: encoding the second operation information in hexadecimal to obtain the configuration word byte information.

[0022] Optionally, it also includes:

[0023] Obtain all functional information and configuration information corresponding to each electronic control unit of the vehicle;

[0024] Determine sub-configuration information corresponding to each of the function information from the configuration information, the sub-configuration information including configuration word byte information and feature information;

[0025] A configuration information attribute library is generated based on all the function information and the corresponding sub-configuration information.

[0026] Optionally, generating a configuration information attribute library based on all the sub-configuration information includes:

[0027] defining necessary attribute information for each of the functional information;

[0028] Establishing a linked list based on the sub-configuration information corresponding to each of the functional information and the necessary attribute information;

[0029] A configuration information attribute library is generated based on all the linked lists.

[0030] Optionally, generating a configuration information attribute library based on all the sub-configuration information includes:

[0031] Establishing a mapping relationship between each of the function information and the corresponding sub-configuration information;

[0032] A configuration information attribute library is generated based on all the mapping relationships.

[0033] A second aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the program, the method described in any one of the first aspects above is implemented.

[0034] A third aspect of the present application provides a vehicle, comprising the electronic device described in the second aspect.

[0035] From the above description, it can be seen that the configuration word parsing method, electronic device and vehicle provided by the present application, when parsing the target configuration word information, first divide the target configuration word information into multiple sub-information corresponding to the functions one by one, then determine the configuration word byte information corresponding to each sub-information, and finally determine the feature information corresponding to each configuration word byte information from the configuration information attribute library, and determine the feature information corresponding to all configuration word byte information as the parsing information corresponding to the target configuration word information. In this way, the obtained parsing information includes all functions corresponding to the acquired target configuration word information and the specific feature information corresponding to all functions. The parsing result is very clear, which is convenient for relevant personnel to correctly interpret the vehicle function based on the parsing result. Moreover, the entire parsing process does not require human participation, which greatly reduces the risk of parsing errors and improves the accuracy of the parsing. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 A schematic diagram of a flow chart of a configuration word parsing method according to an embodiment of the present application;

[0038] Figure 2 An exemplary schematic diagram of target configuration word information according to an embodiment of the present application;

[0039] Figure 3 This is an exemplary schematic diagram of the encoding configuration word information of an embodiment of the present application;

[0040] Figure 4 This is an exemplary schematic diagram of multiple sub-information in the encoding configuration word information of an embodiment of the present application;

[0041] Figure 5 This is an exemplary schematic diagram of a configuration information attribute library according to an embodiment of the present application;

[0042] Figure 6 A schematic diagram of a configuration word parsing device according to an embodiment of the present application;

[0043] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0045] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0046] With the continuous development of the trend of automobile electrification, intelligence, networking and sharing, more and more functions related to vehicle electronic control are required. The realization of these functions requires each electronic control unit (ECU) to control the related functions individually, or multiple ECUs to work together to realize the corresponding functions.

[0047] For a whole vehicle, it is composed of thousands of parts, each of which is responsible for different functions. Correspondingly, there will be multiple ECUs. These ECUs are allocated at different functional layers. If the vehicle needs to realize different functions, it needs to associate related ECUs. To associate them, configuration words are needed.

[0048] Each ECU can realize one or more functions, and accordingly, each ECU will also be configured with configuration information to realize the one or more functions, and these configuration information are given corresponding configuration codes. Accordingly, a configuration word library will also be set up on the whole vehicle, and the configuration library includes multiple configuration words. Each configuration word corresponds to one or more functions, which also corresponds to the configuration code of one or more ECUs. Therefore, when executing the corresponding function, the configuration word corresponding to the function is called, and then the configuration word calls the corresponding configuration code, thereby realizing the function of the vehicle.

[0049] In some cases, such as configuration testing of test vehicles, vehicle fault diagnosis and repair, and vehicle upgrades and maintenance, it may be necessary to parse the vehicle's configuration words so that relevant personnel can accurately understand the vehicle's functional configuration.

[0050] Currently, most of the parsing of configuration words in the industry is done manually. When there are fewer configuration words, the risk of manual parsing errors is relatively low. However, when there are more configuration words, they need to be identified and parsed in sequence, byte by byte, and bit by bit, which is very inefficient and greatly increases the risk of parsing errors, resulting in the inability to correctly interpret vehicle functions, and ultimately causing serious quality problems.

[0051] In addition, for vehicles, in order to save storage space, each configuration word corresponds to multiple functions, so it is very difficult to correctly parse the functions corresponding to the configuration words and the detailed feature information corresponding to the functions.

[0052] Therefore, how to efficiently and accurately parse the vehicle's configuration words is an urgent problem to be solved.

[0053] Based on this, see Figure 1 The present application provides a configuration word parsing method, which can be executed by a vehicle controller of a vehicle, and the method comprises the following steps:

[0054] Step S100, in response to receiving a configuration word parsing request, obtaining target configuration word information of the vehicle, wherein the target configuration word information corresponds to a plurality of functions;

[0055] Step S200, dividing the target configuration word information into a plurality of sub-information, and determining the configuration word byte information corresponding to each of the sub-information, each of the sub-information corresponding to a function;

[0056] Step S300: Determine the characteristic information corresponding to each of the configuration word byte information from the configuration information attribute library, and determine the characteristic information corresponding to all of the configuration word byte information as the parsing information corresponding to the target configuration word information.

[0057] Specifically, when a configuration word parsing request is received, the target configuration word information is obtained from a preset configuration word library configured in the vehicle itself, wherein the preset configuration word library is a collection of all target configuration word information on the vehicle, including all target configuration word information corresponding to all functions on the vehicle.

[0058] For a vehicle, each configuration word corresponds to multiple functions. Therefore, the target configuration word information corresponding to the acquired target function corresponds to multiple different functions. The target configuration word information needs to be accurately parsed to obtain each function corresponding to the target configuration word information and the characteristic information corresponding to each function.

[0059] The target configuration word information is divided into multiple sub-information, each of which corresponds to a function. In this way, the target configuration word information can be divided into sub-information corresponding to each function one by one, and then the configuration word byte information corresponding to each sub-information is determined. In this way, the determined configuration word byte information only corresponds to a determined function.

[0060] Then, the characteristic information corresponding to each of the configuration word byte information is determined from the configuration information attribute library, so that the determined characteristic information is the specific characteristic information corresponding to a determined function.

[0061] The configuration information attribute library is a collection of configuration information of all functions corresponding to all electronic control units on the vehicle that are pre-configured. The configuration information includes configuration word byte information, feature information, feature family information, etc. corresponding to the function. The configuration word byte information is the preset unique coding information corresponding to each function, the feature information is the specific feature information corresponding to a certain function, and the feature family information is the name corresponding to the function.

[0062] For example, for the airbag function of a vehicle, the configuration byte information included in its configuration information may be 08, the feature information may be four feature information such as dual, front side airbags, side air curtains and remote airbags, and the feature family information may be airbags.

[0063] The characteristic information corresponding to all the configuration word byte information is determined as the parsing information corresponding to the target configuration word information. In this way, the obtained parsing information includes the specific characteristic information of each function corresponding to the acquired target configuration word information. This makes it easy for relevant personnel to understand all the functions corresponding to the target configuration word information and the specific characteristic information corresponding to the functions.

[0064] In the present application, when parsing the target configuration word information, the target configuration word information is first divided into multiple sub-information corresponding to the functions one by one, and then the configuration word byte information corresponding to each of the sub-information is determined, and finally the feature information corresponding to each of the configuration word byte information is determined from the configuration information attribute library, and the feature information corresponding to all the configuration word byte information is determined as the parsing information corresponding to the target configuration word information. In this way, the obtained parsing information includes all the functions corresponding to the acquired target configuration word information and the specific feature information corresponding to all the functions. The parsing result is very clear, which is convenient for relevant personnel to correctly interpret the vehicle function based on the parsing result. Moreover, the entire parsing process does not require human participation, which greatly reduces the risk of parsing errors and improves the accuracy of the parsing.

[0065] In some embodiments, dividing the target configuration word information into a plurality of sub-information and determining the configuration word byte information corresponding to each of the sub-information includes:

[0066] Encoding the target configuration word information for the first time to obtain encoded configuration word information;

[0067] In response to the encoded configuration word information meeting a preset format condition, the encoded configuration word information is divided into a plurality of sub-information, and configuration word byte information corresponding to each of the sub-information is determined.

[0068] Specifically, for a vehicle, generally speaking, the target configuration word information obtained is all hexadecimal-encoded information. Therefore, in order to perform further operations later, the hexadecimal-encoded target configuration word information needs to be encoded for the first time to obtain the encoded configuration word information for subsequent operations. The encoding method of the first encoding can be binary encoding.

[0069] It is judged whether the obtained coding configuration word information meets the preset format conditions. The preset format conditions are the format conditions that the preset coding configuration word information needs to meet. Exemplarily, the preset format conditions can be that the number of characters in the coding configuration word information is 200 characters or 300 characters, etc. The specific number of characters is set according to actual needs and is not limited here.

[0070] Only when the obtained coding configuration word information meets the preset format conditions can the coding configuration word information be subsequently segmented and operated. When the obtained coding configuration word information does not meet the preset format conditions, the coding configuration word information cannot be subsequently segmented and operated, otherwise it will cause errors in the operation results or confusion in the operation process.

[0071] When the obtained coded configuration word information meets the preset format conditions, the coded configuration word information is divided into multiple sub-information, each sub-information corresponds to a function, and then the configuration word byte information corresponding to each sub-information is determined, so that the configuration word byte information corresponding to each function can be finally obtained.

[0072] In the present application, before performing the step of dividing the coded configuration word information into multiple sub-information, the target configuration word information is first encoded for the first time to obtain coded configuration word information whose coding type meets the subsequent cutting and operation conditions, and then a judgment is made as to whether the coded configuration word information meets the preset format conditions. Only those that meet the preset format conditions can perform the subsequent segmentation and operation process, thereby ensuring the accuracy of the entire segmentation and operation process, and further ensuring the accuracy of the parsing process.

[0073] In some embodiments, dividing the encoded configuration word information into a plurality of sub-information and determining the configuration word byte information corresponding to each of the sub-information includes:

[0074] Determining a configuration word segmentation method corresponding to the coded configuration word information from a preset configuration word library of the vehicle;

[0075] Based on the configuration word segmentation method, segmenting the target configuration word information into a plurality of sub-information;

[0076] Based on a preset calculation method, the configuration word byte information corresponding to each of the sub-information is determined.

[0077] Specifically, the preset configuration word library includes, in addition to the configuration word information, also the encoded configuration word information after the configuration word information is encoded for the first time, and the configuration word segmentation method corresponding to the encoded configuration word information.

[0078] Therefore, when the coded configuration word information is divided into a plurality of sub-information, the configuration word division method corresponding to the coded configuration word information is first determined from the preset configuration word library of the vehicle. The configuration word division method is a preset specific division method corresponding to each coded configuration word information, which is used to indicate the method by which the coded configuration word information is divided, and based on the configuration word division method, the target configuration word information can be divided into a plurality of sub-information corresponding to a function one by one.

[0079] Specifically, the configuration word segmentation method may include a plurality of numbers, each number representing the number of characters or bits of a sub-information to be segmented.

[0080] Exemplarily, when the coded configuration word information is 010000100100001001000010, the configuration word segmentation method can be 4, 5, 3, 8... Then, the configuration word segmentation method represents that the first 4 bits of the coded configuration word information, i.e., 0100, are the first sub-information, the next 5 bits, i.e., 00100, are the second sub-information, the next 3 bits, i.e., 100, are the third sub-information, and the next 8 bits, i.e., 00100100, are the fourth sub-information... In this way, the coded configuration word information corresponding to multiple functions can be divided into multiple sub-information corresponding to the multiple functions one by one, so that the multiple functions corresponding to the target configuration word information can be distinguished one by one, which is convenient for the subsequent extraction of the feature information corresponding to each function.

[0081] Then, based on the preset operation method, the configuration word byte information corresponding to each of the sub-information is determined, so that the configuration word byte information corresponding to each function can be determined, and then the feature information corresponding to each function can be determined based on the configuration word byte information.

[0082] In the present application, by dividing the target configuration word information into multiple sub-information, the coding configuration word information corresponding to multiple functions can be divided into multiple sub-information corresponding to the multiple functions one by one. In this way, the multiple functions corresponding to the target configuration word information can be distinguished one by one, which facilitates the subsequent extraction of the feature information corresponding to each function, so as to finally parse and obtain the feature information corresponding to each function, thereby improving the accuracy of the parsing.

[0083] In some embodiments, the determining, based on a preset calculation method, the configuration word byte information corresponding to each of the sub-information includes:

[0084] Performing an AND operation on each of the sub-information and a preset value to obtain first operation information;

[0085] Performing a shift operation on the first operation information to obtain second operation information;

[0086] The second operation information is encoded for a second time to obtain the configuration word byte information.

[0087] Specifically, each sub-information is first ANDed with a preset value to obtain first operation information. The preset value may be 1. Through the AND operation, the sub-information may be operated at the bit level to achieve complex logic judgment and data matching, thereby optimizing the execution efficiency and accuracy of the algorithm.

[0088] Then, the first operation information is subjected to a shift operation to obtain second operation information. The shift operation may be a left shift, a right shift, a circular left shift, or a circular right shift, etc. Through the shift operation, the high and low bits in the first operation information may be exchanged, so that the obtained second operation information corresponds to the configuration word byte information in the configuration information attribute library.

[0089] For a 16-bit binary number, the first 8 bits of this binary number are called "high bits" and the last 8 bits are called "low bits". Therefore, in this application, through shift operations, the high and low bits in the first operation information can be exchanged so that the obtained second operation information corresponds to the configuration word byte information in the configuration information attribute library.

[0090] Finally, the obtained second operation information (still binary information at this time) is encoded for the second time, and the configuration word byte information is finally obtained, so that unique configuration word byte information corresponding to each function is obtained.

[0091] The second encoding may be performed in hexadecimal encoding, and the second binary operation information is encoded for the second time to obtain hexadecimal configuration word byte information, in order to finally obtain information consistent with the configuration word byte information in the configuration information attribute library.

[0092] In the present application, the acquired hexadecimal target configuration word information is first converted into binary coded configuration word information for easy calculation. After the calculation is completed, the binary second calculation information is converted into hexadecimal configuration word byte information, so as to finally obtain information consistent with the configuration word byte information in the configuration information attribute library, so as to facilitate the subsequent determination of the feature information corresponding to each of the configuration word byte information from the configuration information attribute library, thereby improving the accuracy of the parsing results.

[0093] In some embodiments, the method further comprises:

[0094] Obtain all functional information and configuration information corresponding to the vehicle's electronic control unit;

[0095] Determine sub-configuration information corresponding to each of the function information from the configuration information, the sub-configuration information including configuration word byte information and feature information;

[0096] A configuration information attribute library is generated based on all the function information and the corresponding sub-configuration information.

[0097] Specifically, for each electronic control unit of the vehicle, each electronic control unit corresponds to multiple functions, and each electronic control unit is also pre-configured with configuration information, and the configuration information includes all configuration information corresponding to the multiple functions corresponding to the electronic control unit.

[0098] Therefore, after obtaining all the functional information and configuration information corresponding to the vehicle's electronic control unit, the sub-configuration information corresponding to each functional information is determined from the configuration information. In this way, the sub-configuration information corresponds to the functional information one-to-one, and each sub-configuration information corresponds to only one functional information. In this way, the configuration information corresponding to multiple functions can be divided into multiple sub-configuration information corresponding to only one functional information.

[0099] The sub-configuration information includes all relevant information corresponding to the function. Exemplarily, the sub-configuration information may include configuration word byte information, start bit information, bit length information, feature family information, feature information, and the like.

[0100] The configuration word byte information is preset unique coding information corresponding to each function, the start bit information is the start bit information of the sub-configuration information, the bit length information is the bit length information of the sub-configuration information, the feature family information is the name of the function information corresponding to the sub-configuration information, and the feature information is the specific feature information of the function information corresponding to the sub-configuration information.

[0101] For example, for the vehicle's airbag function, the configuration byte information in its sub-configuration information can be 08, the start bit information can be 73, the bit length information can be 30, the feature information can be four feature information such as dual, front side airbags, side air curtains and remote airbags, and the feature family information can be airbags.

[0102] After determining the sub-configuration information corresponding to each of the functional information from the configuration information, a configuration information attribute library is generated based on all of the functional information and its corresponding sub-configuration information. The configuration information attribute library generated at this time is arranged in order according to each function and its corresponding sub-configuration information, and the sub-configuration information corresponding to a certain function can be clearly found in the configuration information attribute library.

[0103] In the present application, the configuration information corresponding to the electronic control unit on the vehicle is divided according to the functional information, and the sub-configuration information corresponding to each functional information can be obtained, and then the functional information and its corresponding sub-configuration information are arranged in order to obtain a configuration information attribute library. In this way, the originally disordered configuration information corresponding to multiple functions is converted into a configuration information attribute library that is orderly arranged according to each function and its corresponding sub-configuration information, so that the sub-configuration information corresponding to a certain function can be clearly found in the configuration information attribute library. In this way, after determining the configuration word byte information corresponding to each of the sub-information, the characteristic information corresponding to each of the configuration word byte information can be determined from the configuration information attribute library.

[0104] In some embodiments, generating a configuration information attribute library based on all the sub-configuration information includes:

[0105] defining necessary attribute information for each of the functional information;

[0106] Establishing a linked list based on the sub-configuration information corresponding to each of the functional information and the necessary attribute information;

[0107] A configuration information attribute library is generated based on all the linked lists.

[0108] Specifically, when generating a configuration information attribute library based on all the sub-configuration information, necessary attribute information may be defined for each of the functional information. The necessary attribute information is the attribute information required to establish a linked list using a machine language (e.g., C language). Exemplarily, the necessary attribute information may include input and output header files, standard string processing function header files, macro definitions, structures, arrays, pointer types, etc.

[0109] Then, a linked list is established based on the sub-configuration information corresponding to each of the functional information and the necessary attribute information. Specifically, the linked list can be established in the order of configuration word byte information, start bit information, bit length information, feature family information, and feature information.

[0110] A linked list is a non-continuous and non-sequential storage structure on a physical storage unit. The logical order of data elements is achieved through the order of pointer links in the linked list.

[0111] The linked list structure can make full use of the computer's memory space and realize flexible dynamic memory management. However, the linked list loses the advantage of random read of the array. At the same time, the linked list has a large space overhead due to the increase of the node pointer field. The most obvious advantage of the linked list is that the way the conventional array arranges the associated items may be different from the order of these data items in the memory or on the disk, and the access of data often needs to be converted between different arrangement orders. The linked list allows the insertion and removal of nodes at any position on the list, but does not allow random access.

[0112] There are many different types of linked lists: singly linked lists, doubly linked lists, and circular linked lists. Linked lists can be implemented in many programming languages. Procedural or object-oriented languages ​​such as C, C++, and Java rely on mutable tools to generate linked lists.

[0113] After establishing a linked list based on the sub-configuration information corresponding to each of the functional information and the necessary attribute information, a configuration information attribute library can be generated based on all the linked lists. In this way, the configuration information attribute library finally obtained may include multiple linked lists arranged in sequence, each linked list corresponding to a functional information and its corresponding sub-configuration information; or, the configuration information attribute library may include an overall linked list, which is generated by multiple linked lists according to a preset pointer order.

[0114] In the present application, a linked list is established based on the sub-configuration information corresponding to each of the functional information and the necessary attribute information, and a configuration information attribute library is generated based on all the linked lists. In this way, the configuration information attribute library finally obtained is stored in the form of a linked list. The configuration information attribute library stored in the form of a linked list facilitates the use of machine language to efficiently and accurately extract specific information.

[0115] In some embodiments, generating a configuration information attribute library based on all the sub-configuration information includes:

[0116] Establishing a mapping relationship between each of the function information and the corresponding sub-configuration information;

[0117] A configuration information attribute library is generated based on all the mapping relationships.

[0118] Specifically, a mapping relationship between each of the functional information and the corresponding sub-configuration information is established, and the mapping relationship can be a corresponding relationship or an associated relationship in a table. Then, a configuration information attribute library is generated based on all the mapping relationships. Exemplarily, the configuration information attribute library can be presented in the form of a table or a database. In this way, each function and its corresponding sub-configuration information in the final configuration information attribute library are stored according to the corresponding mapping relationship, and each function corresponds to the sub-configuration information one by one. In this way, after determining the configuration word byte information corresponding to each of the sub-information, the characteristic information corresponding to each of the configuration word byte information can be accurately and effectively determined from the configuration information attribute library to ensure the accuracy of the configuration word parsing.

[0119] In some embodiments, the configuration word parsing method includes:

[0120] When the user finds that the wiper function of the vehicle is damaged, the configuration word corresponding to the wiper function on the vehicle needs to be parsed. At this time, the user sends a configuration word parsing request. When the vehicle controller receives the configuration word parsing request, it obtains the target configuration word information of the vehicle (for example, Figure 2 As shown), the target configuration word information corresponds to multiple functions.

[0121] Then, the target configuration word information is encoded for the first time in a binary manner to obtain the encoded configuration word information (exemplarily, as Figure 3 shown).

[0122] When it is determined that the coded configuration word information meets the preset format condition (exemplarily, the number of characters is 200), a configuration word segmentation method corresponding to the coded configuration word information is determined from a preset configuration word library of the vehicle; based on the configuration word segmentation method, the target configuration word information is segmented into a plurality of sub-information, such as Figure 4 As shown, Figure 4 The content contained in a dotted box represents a sub-information.

[0123] Then, based on a preset calculation method, the configuration word byte information corresponding to each of the sub-information is determined.

[0124] Finally, from the configuration information attribute library (for example, Figure 5 ) is determined in accordance with each of the configuration word byte information ( Figure 5 The feature information corresponding to the information represented by the black box on the left Figure 5 The information represented by the dotted box in the figure) is used to determine the characteristic information corresponding to all the configuration word byte information as the parsed information corresponding to the target configuration word information.

[0125] Thus, the target configuration word information (for example, Figure 2 as shown) into understandable feature information ( Figure 5 The information represented by the dotted box in the figure) makes it easier for relevant personnel to correctly interpret the vehicle functions based on the analysis results. In addition, the entire analysis process does not require human intervention, which greatly reduces the risk of analysis errors and improves the accuracy of analysis.

[0126] It is worth noting that the configuration word parsing method described in the present application can also be executed by a cloud platform or an after-sales diagnostic instrument connected to the vehicle.

[0127] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0128] It should be noted that some embodiments of the present application are described above. In some cases, the actions or steps recorded in the above embodiments can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0129] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a configuration word parsing device.

[0130] refer to Figure 6 , the configuration word parsing device comprises:

[0131] The acquisition module 100 is configured to acquire target configuration word information of the vehicle in response to receiving a configuration word parsing request, wherein the target configuration word information corresponds to a plurality of functions;

[0132] The first determination module 200 is configured to divide the target configuration word information into a plurality of sub-information and determine the configuration word byte information corresponding to each of the sub-information, each of the sub-information corresponding to a function;

[0133] The second determination module 300 is configured to determine the characteristic information corresponding to each of the configuration word byte information from the configuration information attribute library, and determine the characteristic information corresponding to all of the configuration word byte information as the parsing information corresponding to the target configuration word information.

[0134] In some embodiments, the first determining module 200 is further configured to:

[0135] Encoding the target configuration word information for the first time to obtain encoded configuration word information;

[0136] In response to the encoded configuration word information meeting a preset format condition, the encoded configuration word information is divided into a plurality of sub-information, and configuration word byte information corresponding to each of the sub-information is determined.

[0137] In some embodiments, the first determining module 200 is further configured to:

[0138] Determining a configuration word segmentation method corresponding to the coded configuration word information from a preset configuration word library of the vehicle;

[0139] Based on the configuration word segmentation method, segmenting the target configuration word information into a plurality of sub-information;

[0140] Based on a preset calculation method, the configuration word byte information corresponding to each of the sub-information is determined.

[0141] In some embodiments, the first determining module 200 is further configured to:

[0142] Performing an AND operation on each of the sub-information and a preset value to obtain first operation information;

[0143] Performing a shift operation on the first operation information to obtain second operation information;

[0144] The second operation information is encoded for a second time to obtain the configuration word byte information.

[0145] In some embodiments, the first determining module 200 is further configured to:

[0146] Binary-encode the target configuration word information to obtain encoded configuration word information;

[0147] The second operation information is encoded in hexadecimal to obtain the configuration word byte information.

[0148] In some embodiments, the acquisition module 100 is further configured to:

[0149] Obtain all functional information and configuration information corresponding to each electronic control unit of the vehicle;

[0150] Determine sub-configuration information corresponding to each of the function information from the configuration information, the sub-configuration information including configuration word byte information and feature information;

[0151] A configuration information attribute library is generated based on all the function information and the corresponding sub-configuration information.

[0152] In some embodiments, the acquisition module 100 is further configured to:

[0153] defining necessary attribute information for each of the functional information;

[0154] Establishing a linked list based on the sub-configuration information corresponding to each of the functional information and the necessary attribute information;

[0155] A configuration information attribute library is generated based on all the linked lists.

[0156] In some embodiments, the acquisition module 100 is further configured to:

[0157] Establishing a mapping relationship between each of the function information and the corresponding sub-configuration information;

[0158] A configuration information attribute library is generated based on all the mapping relationships.

[0159] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0160] The device of the above embodiment is used to implement the corresponding configuration word parsing method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0161] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the XX method described in any of the above embodiments is implemented.

[0162] Figure 7A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0163] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0164] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0165] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0166] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0167] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0168] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0169] The electronic device of the above embodiment is used to implement the corresponding configuration word parsing method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0170] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the configuration word parsing method described in any of the above embodiments.

[0171] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0172] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the configuration word parsing method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0173] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the configuration word parsing method as described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0174] Based on the same inventive concept, corresponding to any of the above embodiments and methods, the present application also provides a vehicle, including the electronic device, device, computer-readable storage medium or computer program product described in any of the above embodiments. The vehicle has the technical effects described in any of the above embodiments, which are not limited here.

[0175] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0176] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0177] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0178] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0179] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0180] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0181] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0182] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A configuration word parsing method, characterized in that: include: In response to receiving the configuration word parsing request, obtaining target configuration word information of the vehicle, wherein the target configuration word information corresponds to a plurality of functions; Divide the target configuration word information into a plurality of sub-information, and determine the configuration word byte information corresponding to each of the sub-information, each of the sub-information corresponding to a function; Determine the characteristic information corresponding to each of the configuration word byte information from the configuration information attribute library, and determine the characteristic information corresponding to all of the configuration word byte information as the parsing information corresponding to the target configuration word information.

2. The method according to claim 1, characterized in that The step of dividing the target configuration word information into a plurality of sub-information and determining the configuration word byte information corresponding to each of the sub-information includes: Encoding the target configuration word information for the first time to obtain encoded configuration word information; In response to the encoded configuration word information meeting a preset format condition, the encoded configuration word information is divided into a plurality of sub-information, and configuration word byte information corresponding to each of the sub-information is determined.

3. The method according to claim 2, characterized in that The step of dividing the coded configuration word information into a plurality of sub-information and determining the configuration word byte information corresponding to each of the sub-information includes: Determining a configuration word segmentation method corresponding to the coded configuration word information from a preset configuration word library of the vehicle; Based on the configuration word segmentation method, segmenting the target configuration word information into a plurality of sub-information; Based on a preset calculation method, the configuration word byte information corresponding to each of the sub-information is determined.

4. The method according to claim 3, characterized in that The step of determining the configuration word byte information corresponding to each of the sub-information based on a preset calculation method includes: Performing an AND operation on each of the sub-information and a preset value to obtain first operation information; Performing a shift operation on the first operation information to obtain second operation information; The second operation information is encoded for a second time to obtain the configuration word byte information.

5. The method according to claim 4, characterized in that The first encoding of the target configuration word information to obtain the encoded configuration word information includes: binary encoding of the target configuration word information to obtain the encoded configuration word information; The second encoding of the second operation information to obtain the configuration word byte information includes: encoding the second operation information in hexadecimal to obtain the configuration word byte information.

6. The method according to claim 1, characterized in that Also includes: Obtain all functional information and configuration information corresponding to each electronic control unit of the vehicle; Determine sub-configuration information corresponding to each of the function information from the configuration information, the sub-configuration information including configuration word byte information and feature information; A configuration information attribute library is generated based on all the function information and the corresponding sub-configuration information.

7. The method according to claim 6, characterized in that The generating of the configuration information attribute library based on all the sub-configuration information includes: defining necessary attribute information for each of the functional information; Establishing a linked list based on the sub-configuration information corresponding to each of the functional information and the necessary attribute information; A configuration information attribute library is generated based on all the linked lists.

8. The method according to claim 6, characterized in that The generating of the configuration information attribute library based on all the sub-configuration information includes: Establishing a mapping relationship between each of the function information and the corresponding sub-configuration information; A configuration information attribute library is generated based on all the mapping relationships.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.

10. A vehicle, characterized in that: An electronic device comprising the electronic device described in claim 9.

Citation Information

Patent Citations

  • Vehicle configuration data implementation method and system

    CN114399316A

  • Configuration word management method and device, terminal and storage medium

    CN115981528A

  • Vehicle machine function configuration method and device, vehicle and storage medium

    CN117573215A

  • Configuration word generation method and device, electronic equipment and storage medium

    CN117971874A

  • Vehicle component identification method and device, storage medium and vehicle

    CN118585970A