Session configuration ID generation method and device and calibration system

By forming and multiplying feature matrix to generate a unique session configuration ID, the problem of DAQ list correspondence is solved, and the reliability in the identification and verification process of data transmission is improved.

CN119182496APending Publication Date: 2024-12-24WEICHAI POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411344964.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

The prior art is difficult to ensure that the DAQ list corresponds to a unique session configuration ID, which leads to difficulty in identifying and verifying during data transmission.

Method used

By obtaining the ODT entity address of the DAQ list, a feature matrix and a PID feature matrix are formed, multiplied to obtain the iterative matrix, and the calculation is repeated until the predetermined number of times is reached, and a unique session configuration ID is generated. Optional methods include using a neural network or a full binary tree traversal to enhance uniqueness.

Benefits of technology

Ensure that the session configuration ID corresponding to the DAQ list is unique, solves the difficulties in identification and verification, and improves the reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182496A_ABST
    Figure CN119182496A_ABST
Patent Text Reader

Abstract

The invention provides a session configuration ID generation method and device and a calibration system, and the method comprises the steps: obtaining a plurality of ODT entities of a DAQ list, and the ODT entities comprise addresses; arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix; obtaining a PID (Proportion Integration Differentiation) corresponding to each ODT list of the DAQ list to obtain a plurality of PIDs, and taking the plurality of PIDs as column vectors to obtain a PID characteristic matrix; a calculation step: multiplying the DAQ list characteristic matrix by the PID characteristic matrix to obtain an iteration matrix; updating the DAQ list feature matrix into an iteration matrix, and repeating the calculation step for at least one time until the number of times of repetition reaches a preset number of times to obtain a final iteration matrix; and the session configuration ID is determined according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID, and the problem that it is difficult to ensure that the DAQ list corresponds to the unique session configuration ID in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a method and device for generating a session configuration ID, a computer-readable storage medium, a computer program product, and a calibration system. Background Art

[0002] The XCP protocol is used for ECU calibration. In order to ensure that the ECU can automatically start data transmission after power-on, the master node needs to send a command to the ECU to start the RESUME mode. The parameter session configuration ID used in this command needs to be calculated based on the DAQ list. The ECU saves the DAQ list and the session configuration ID, and sends the ID to the master node after powering on again. The master node calculates the current ID based on the current DAQ list, and compares it with the DAQ list to determine whether the DAQ list used by the master node is consistent with that used by the ECU before data transmission can be performed. In summary, it is crucial to design a method to calculate the session configuration ID to reflect the differences of each DAQ list. Summary of the invention

[0003] The main purpose of the present application is to provide a method, device, computer-readable storage medium, computer program product and calibration system for generating a session configuration ID, so as to at least solve the problem that it is difficult to ensure that the DAQ list corresponds to a unique session configuration ID in the prior art.

[0004] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for generating a session configuration ID is provided, comprising: obtaining multiple ODT entities of a DAQ list, wherein the ODT entity includes an address; arranging the addresses of the multiple ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector; obtaining the PIDs corresponding to each ODT list of the DAQ list to obtain multiple PIDs, and using the multiple PIDs as column vectors to obtain a PID feature matrix, wherein the PID is an 8-dimensional vector; a calculation step, wherein the DAQ list feature matrix and the PID feature matrix are multiplied to obtain an iteration matrix; updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once until the number of repetitions reaches a predetermined number to obtain a final iteration matrix; determining a session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to a unique session configuration ID.

[0005] Optionally, determining a session configuration ID according to the final iteration matrix so that the DAQ list corresponds to the unique session configuration ID includes: forming the session configuration ID from a first row vector and a last row vector of the final iteration matrix.

[0006] Optionally, determining the session configuration ID according to the final iteration matrix so that the DAQ list corresponds to the unique session configuration ID includes: inputting all row vectors of the final iteration matrix into a neural network to obtain two 8-dimensional vectors; and combining the two 8-dimensional vectors to form the session configuration ID.

[0007] Optionally, all row vectors of the final iterative matrix are input into a neural network to obtain two 8-dimensional vectors, including: performing an AND operation on all row vectors of the final iterative matrix to obtain a first intermediate vector, substituting all row vectors of the final iterative matrix for an OR operation to obtain a second intermediate vector, wherein the first intermediate vector and the second intermediate vector are both 8-dimensional vectors; performing an XOR operation on the first intermediate vector and the second intermediate vector to obtain a first 8-dimensional vector, and performing an XNOR operation on the first intermediate vector and the second intermediate vector to obtain a second 8-dimensional vector.

[0008] Optionally, the addresses of the multiple ODT entities are arranged according to a predetermined rule to form a DAQ list feature matrix, including: storing the addresses of the multiple ODT entities in a complete binary tree; when the remainder of the depth of the complete binary tree divided by 3 is 0, performing a pre-order traversal on the complete binary tree to obtain a first digital sequence; when the remainder of the depth of the complete binary tree divided by 3 is 1, performing an in-order traversal on the complete binary tree to obtain a second digital sequence; when the remainder of the depth of the complete binary tree divided by 3 is 2, performing a post-order traversal on the complete binary tree to obtain a third digital sequence; the numbers of the first digital sequence, the second digital sequence or the third digital sequence are combined into the DAQ list feature matrix, and the elements of the DAQ list feature matrix correspond one-to-one to the numbers of the first digital sequence, the second digital sequence or the third digital sequence.

[0009] Optionally, the PIDs corresponding to each ODT list of the DAQ list are obtained to obtain multiple PIDs, including: obtaining the PIDs corresponding to each ODT list of the DAQ list to obtain at least one of the PIDs; when the number of the PIDs is less than 8, supplementing at least one 8-dimensional vector to obtain 8 of the PIDs.

[0010] According to another aspect of the present application, a device for generating a session configuration ID is provided, comprising: a first acquisition unit, used to acquire multiple ODT entities of a DAQ list, wherein the ODT entities include addresses; a processing unit, used to arrange the addresses of the multiple ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector; a second acquisition unit, used to acquire the PIDs corresponding to each ODT list of the DAQ list, obtain multiple PIDs, and use the multiple PIDs as column vectors to obtain a PID feature matrix, wherein the PID is an 8-dimensional vector; a calculation unit, used to execute a calculation step, multiplying the DAQ list feature matrix and the PID feature matrix to obtain an iteration matrix; a repeating unit, used to update the DAQ list feature matrix to the iteration matrix, and repeat the calculation step at least once until the number of repetitions reaches a predetermined number of times to obtain a final iteration matrix; a determination unit, used to determine the session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to a unique session configuration ID.

[0011] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described.

[0012] According to another aspect of the present application, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, any one of the methods described above is implemented.

[0013] According to another aspect of the present application, a calibration system is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the described methods.

[0014] By applying the technical solution of the present application, in the method for generating the above-mentioned session configuration ID, the addresses of multiple ODT entities of the DAQ list are arranged according to a predetermined rule to form a DAQ list feature matrix, so that the DAQ list feature matrix contains the features of all ODT entities, and the PIDs corresponding to the ODT lists of the DAQ list constitute a PID feature matrix, and the PID feature matrix contains the features of the PIDs corresponding to the ODT list. The DAQ list feature matrix and the PID feature matrix are multiplied to obtain an iteration matrix, and the DAQ list feature matrix is ​​updated to the iteration matrix, and iterated multiple times to obtain a final iteration matrix, so that the final iteration matrix contains all the features of the DAQ list. A session configuration ID can be determined according to the final iteration matrix, so that the session configuration ID of the DAQ list is unique, which solves the problem that it is difficult to ensure that the DAQ list corresponds to a unique session configuration ID in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A hardware structure block diagram of a mobile terminal for executing a method for generating a session configuration ID provided in an embodiment of the present application is shown;

[0016] Figure 2 A schematic diagram of a process for generating a session configuration ID according to an embodiment of the present application is shown;

[0017] Figure 3 A schematic diagram of a neural network provided according to an embodiment of the present application is shown;

[0018] Figure 4 A schematic diagram of a DAQ list provided according to an embodiment of the present application is shown;

[0019] Figure 5 A schematic diagram of a complete binary tree provided according to an embodiment of the present application is shown;

[0020] Figure 6 A structural block diagram of a session configuration ID generation device provided according to an embodiment of the present application is shown.

[0021] The above drawings include the following reference numerals:

[0022] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION

[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0027] XCP protocol: Universal Measurement and Calibration Protocol, which refers to a series of measurement and calibration protocols on different communication platforms.

[0028] Master node: The device that sends instructions to the ECU.

[0029] ECU: Electronic Control Unit, an electronic controller that achieves precise control and regulation of each system of the car, and is used to control the engine, transmission, braking system, etc.

[0030] Calibration: Certain parameters in the ECU program need to be set in experiments based on economy, power, comfort, and emission regulations. The performance is analyzed by changing parameters and finally determined through repeated iterations. This process is called calibration.

[0031] RESUME mode: Restart mode, a mode in which the ECU automatically starts data transmission after power is turned on.

[0032] DAQ list: Data Acquisition List, data acquisition list, contains multiple ODT lists (arranged in sequence), each ODT list contains multiple ODT entities (up to 7, arranged in sequence).

[0033] ODT entity: Object Description Table Entry, object description table entity, contains the memory address and length of the configuration information required for data transmission.

[0034] PID: Packet Identifier, used to uniquely identify the ODT list, with a length of 1 byte.

[0035] Session Configuration Identifier: Session Configuration Identifier, calculated based on the DAQ list, used to distinguish between different DAQ lists.

[0036] As introduced in the background technology, it is difficult in the prior art to ensure that a DAQ list corresponds to a unique session configuration ID. To solve this technical problem, an embodiment of the present application provides a method, device, computer-readable storage medium, computer program product and calibration system for generating a session configuration ID.

[0037] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0038] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for generating a session configuration ID according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0039] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for generating the session configuration ID in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific network examples may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0040] In this embodiment, a method for generating a session configuration ID running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0041] Figure 2 is a flow chart of a method for generating a session configuration ID according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0042] Step S201, obtaining a plurality of ODT entities in a DAQ list, wherein the ODT entities include addresses;

[0043] Step S202, arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector;

[0044] Step S203, obtaining the PIDs corresponding to the ODT lists of the DAQ list, obtaining multiple PIDs, using the multiple PIDs as column vectors, obtaining a PID feature matrix, wherein the PIDs are 8-dimensional vectors;

[0045] Step S204, a calculation step, multiplying the DAQ list feature matrix and the PID feature matrix to obtain an iteration matrix;

[0046] Step S205, updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once until the number of repetitions reaches a predetermined number of times, thereby obtaining a final iteration matrix;

[0047] Step S206, determining a session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

[0048] In the above-mentioned method for generating a session configuration ID, the addresses of multiple ODT entities of the DAQ list are arranged according to a predetermined rule to form a DAQ list feature matrix, so that the DAQ list feature matrix contains the features of all ODT entities, and the PIDs corresponding to each ODT list of the DAQ list form a PID feature matrix, and the PID feature matrix contains the features of the PIDs corresponding to the ODT list. The DAQ list feature matrix and the PID feature matrix are multiplied to obtain an iteration matrix, and the DAQ list feature matrix is ​​updated to the iteration matrix, and iterated multiple times to obtain a final iteration matrix, so that the final iteration matrix contains all the features of the DAQ list. A session configuration ID can be determined according to the final iteration matrix, so that the session configuration ID of the DAQ list is unique, which solves the problem that it is difficult to ensure that the DAQ list corresponds to a unique session configuration ID in the prior art.

[0049] In order to ensure the uniqueness of the session configuration ID, in an optional implementation, the above step S206 includes:

[0050] Step S2061: The first row vector and the last row vector of the final iteration matrix are combined into the session configuration ID.

[0051] In the above implementation, since the above final iteration matrix contains all the features of the DAQ list, the row vector of the final iteration matrix will also change when the DAQ list changes anywhere. Randomly using two row vectors of the final iteration matrix to form the above session configuration ID can ensure the uniqueness of the session configuration ID. For example, the first row vector and the last row vector of the above final iteration matrix are used to form the above session configuration ID to avoid different DAQ lists corresponding to the same session configuration ID.

[0052] In order to ensure the uniqueness of the session configuration ID, in an optional implementation, the above step S206 includes:

[0053] Step S2062, input all row vectors of the final iteration matrix into the neural network to obtain two 8-dimensional vectors;

[0054] Step S2063: Combine the two 8-dimensional vectors into the session configuration ID.

[0055] In the above implementation, a neural network is used to perform feature extraction on all row vectors of the final iteration matrix to obtain two 8-dimensional vectors, which contain all the features of the DAQ list. The two 8-dimensional vectors are combined into the above session configuration ID to ensure the uniqueness of the above session configuration ID and avoid different DAQ lists corresponding to the same session configuration ID.

[0056] In order to ensure the uniqueness of the session configuration ID, in an optional implementation, the above step S2062 includes:

[0057] Step S20621, performing an AND operation on all the row vectors of the final iteration matrix to obtain a first intermediate vector, substituting all the row vectors of the final iteration matrix into the matrix to perform an OR operation to obtain a second intermediate vector, wherein both the first intermediate vector and the second intermediate vector are 8-dimensional vectors;

[0058] Step S20622, performing an XOR operation on the first intermediate vector and the second intermediate vector to obtain a first 8-dimensional vector, and performing an XOR operation on the first intermediate vector and the second intermediate vector to obtain a second 8-dimensional vector.

[0059] In the above implementation, the final iteration matrix is: Among them, X[i], i = 0, 1, ..., M-1, M is the number of row vectors, 8 is the dimension of the row vector, such as Figure 3 As shown, F(X[i])=X[0]·X[1]…X[M-2]·X[M-1], G(X[i])=X[0]+X[1]…X[M-2]+X[M-1] are used to calculate Y[0] and Y[1] of the middle layer, H(Y[j])=Y[0]⊕Y[1], I(Y[j])=Y[0]⊙Y[1], where X·Y represents an AND operation, X+Y represents an OR operation, X⊕Y represents an XOR operation, and X⊙Y represents an XNOR operation. The final result, the first 8-dimensional vector Z[0] and the second 8-dimensional vector Z[1], are pieced together into a 2-byte session configuration ID.

[0060] In order to ensure the uniqueness of the session configuration ID, in an optional implementation, the above step S202 includes:

[0061] Step S2021, storing the addresses of the plurality of ODT entities in a complete binary tree;

[0062] Step S2022, when the remainder of dividing the depth of the complete binary tree by 3 is 0, perform a pre-order traversal on the complete binary tree to obtain a first digital sequence;

[0063] Step S2023, when the remainder of dividing the depth of the complete binary tree by 3 is 1, perform an in-order traversal on the complete binary tree to obtain a second digital sequence;

[0064] Step S2024, when the remainder of dividing the depth of the complete binary tree by 3 is 2, perform a post-order traversal on the complete binary tree to obtain a third digital sequence;

[0065] Step S2025, the numbers of the first digital sequence, the second digital sequence or the third digital sequence are combined into the DAQ list feature matrix, and the elements of the DAQ list feature matrix correspond one-to-one to the numbers of the first digital sequence, the second digital sequence or the third digital sequence.

[0066] In the above implementation, the DAQ list structure is as follows: Figure 4 As shown, the address (4 bytes long) of each ODT entity in the DAQ list is stored in a complete binary tree in binary form, following the order from top to bottom and from left to right, as shown in the figure. Figure 5 As shown, different DAQ lists obtain different complete binary trees. Different predetermined rules are selected according to the height of the complete binary tree. That is, when the remainder of the depth of the complete binary tree divided by 3 is 0, the complete binary tree is traversed in preorder to obtain a first digital sequence; when the remainder of the depth of the complete binary tree divided by 3 is 1, the complete binary tree is traversed in inorder to obtain a second digital sequence; when the remainder of the depth of the complete binary tree divided by 3 is 2, the complete binary tree is traversed in postorder to obtain a third digital sequence. The traversal results are divided into M (M≥4) ODT entity information variables, x[i], i=0,1,…,M-1, according to a group of 8 binary numbers, to generate a DAQ list feature matrix containing M information variables. The elements of the DAQ list feature matrix correspond one-to-one to the numbers of the first digital sequence, the second digital sequence or the third digital sequence. Different DAQ lists have different predetermined rules, which further improves the degree of distinction between the DAQ list feature matrices corresponding to different DAQ lists, thereby ultimately ensuring the uniqueness of the session configuration ID.

[0067] In order to ensure the uniqueness of the session configuration ID, in an optional implementation, the above step S203 includes:

[0068] Step S2031, obtaining the PID corresponding to each ODT list of the DAQ list to obtain at least one of the PIDs;

[0069] Step S2032: When the number of the above PIDs is less than 8, at least one 8-dimensional vector is added to obtain the above 8 PIDs.

[0070] In the above implementation, each ODT list in the DAQ list has a unique PID, and finally forms an information group containing 8 PIDs. If it is insufficient, B[j] is supplemented according to "0b10000000, 0b01000000, ..., 0b00000001", where j = 0, 1, ..., 7, to generate a PID feature matrix, [B[0] T B[1] T ... B[7] T ] 88 , A M8 =A M8 [B[0] T B[1] T ...B[7] T ] 88 , A M8 It is an M×8 matrix, and its initial value is Loop calculation M times to get the final iteration matrix Ensure that a 2-byte session configuration ID is obtained in the end and that the length of the session configuration ID is uniform.

[0071] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0072] The embodiment of the present application also provides a device for generating a session configuration ID. It should be noted that the device for generating a session configuration ID in the embodiment of the present application can be used to execute the method for generating a session configuration ID provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0073] The following introduces the session configuration ID generation device provided in the embodiment of the present application.

[0074] Figure 6 is a structural block diagram of a device for generating a session configuration ID according to an embodiment of the present application. Figure 6 As shown, the device comprises:

[0075] A first acquisition unit 10 is used to acquire a plurality of ODT entities in a DAQ list, wherein the ODT entities include addresses;

[0076] The processing unit 20 is used to arrange the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector;

[0077] The second acquisition unit 30 is used to acquire the PIDs corresponding to the ODT lists of the DAQ list to obtain multiple PIDs, and use the multiple PIDs as column vectors to obtain a PID feature matrix, where the PIDs are 8-dimensional vectors;

[0078] A calculation unit 40 is used to perform a calculation step, multiplying the DAQ list characteristic matrix and the PID characteristic matrix to obtain an iteration matrix;

[0079] A repeating unit 50, used for updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation steps at least once, until the number of repetitions reaches a predetermined number of times, to obtain a final iteration matrix;

[0080] The determining unit 60 is used to determine the session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

[0081] In the above-mentioned session configuration ID generation device, the addresses of multiple ODT entities in the DAQ list are arranged according to a predetermined rule to form a DAQ list feature matrix, so that the DAQ list feature matrix contains the features of all ODT entities, and the PIDs corresponding to each ODT list in the DAQ list constitute a PID feature matrix. The PID feature matrix contains the features of the PIDs corresponding to the ODT list. The DAQ list feature matrix and the PID feature matrix are multiplied to obtain an iteration matrix, and the DAQ list feature matrix is ​​updated to the iteration matrix, and iterated multiple times to obtain a final iteration matrix, so that the final iteration matrix contains all the features of the DAQ list. A session configuration ID can be determined according to the final iteration matrix, so that the session configuration ID of the DAQ list is unique, which solves the problem that it is difficult to ensure that the DAQ list corresponds to a unique session configuration ID in the prior art.

[0082] In order to ensure the uniqueness of the session configuration ID, in an optional implementation manner, the above-mentioned determination unit includes:

[0083] The first determining module is used to combine the first row vector and the last row vector of the final iteration matrix into the session configuration ID.

[0084] In the above implementation, since the above final iteration matrix contains all the features of the DAQ list, the row vector of the final iteration matrix will also change when the DAQ list changes anywhere. Randomly using two row vectors of the final iteration matrix to form the above session configuration ID can ensure the uniqueness of the session configuration ID. For example, the first row vector and the last row vector of the above final iteration matrix are used to form the above session configuration ID to avoid different DAQ lists corresponding to the same session configuration ID.

[0085] In order to ensure the uniqueness of the session configuration ID, in an optional implementation manner, the above-mentioned determination unit includes:

[0086] The first calculation module is used to input all row vectors of the final iteration matrix into the neural network to obtain two 8-dimensional vectors;

[0087] The second determining module is used to combine the two 8-dimensional vectors into the session configuration ID.

[0088] In the above implementation, a neural network is used to perform feature extraction on all row vectors of the final iteration matrix to obtain two 8-dimensional vectors, which contain all the features of the DAQ list. The two 8-dimensional vectors are combined into the above session configuration ID to ensure the uniqueness of the above session configuration ID and avoid different DAQ lists corresponding to the same session configuration ID.

[0089] In order to ensure the uniqueness of the session configuration ID, in an optional implementation, the first calculation module includes:

[0090] A first calculation submodule is used to perform an AND operation on all row vectors of the final iteration matrix to obtain a first intermediate vector, and to substitute all row vectors of the final iteration matrix into the matrix to perform an OR operation to obtain a second intermediate vector, wherein both the first intermediate vector and the second intermediate vector are 8-dimensional vectors;

[0091] The second calculation submodule is used to perform an XOR operation on the first intermediate vector and the second intermediate vector to obtain a first 8-dimensional vector, and perform an XOR operation on the first intermediate vector and the second intermediate vector to obtain a second 8-dimensional vector.

[0092] In the above implementation, the final iteration matrix is: Among them, X[i], i = 0, 1, ..., M-1, M is the number of row vectors, 8 is the dimension of the row vector, such as Figure 3As shown, F(X[i])=X[0]·X[1]…X[M-2]·X[M-1], G(X[i])=X[0]+X[1]…X[M-2]+X[M-1] are used to calculate Y[0] and Y[1] of the middle layer, H(Y[j])=Y[0]⊕Y[1], I(Y[j])=Y[0]⊙Y[1], where X·Y represents an AND operation, X+Y represents an OR operation, X⊕Y represents an XOR operation, and X⊙Y represents an XNOR operation. The final result, the first 8-dimensional vector Z[0] and the second 8-dimensional vector Z[1], are pieced together into a 2-byte session configuration ID.

[0093] In order to ensure the uniqueness of the session configuration ID, in an optional implementation manner, the processing unit includes:

[0094] A storage module, used for storing the addresses of the plurality of ODT entities in a complete binary tree;

[0095] A first traversal module is used for performing a pre-order traversal on the complete binary tree to obtain a first digital sequence when the remainder of the depth of the complete binary tree divided by 3 is 0;

[0096] A second traversal module is used for performing an in-order traversal on the complete binary tree to obtain a second digital sequence when the remainder when the depth of the complete binary tree is divided by 3 is 1;

[0097] A third traversal module is used for performing a post-order traversal on the complete binary tree when the remainder of the depth of the complete binary tree divided by 3 is 2 to obtain a third digital sequence;

[0098] A composition module is used to form the DAQ list feature matrix by combining the numbers of the first digital sequence, the second digital sequence or the third digital sequence, wherein the elements of the DAQ list feature matrix correspond one-to-one to the numbers of the first digital sequence, the second digital sequence or the third digital sequence.

[0099] In the above implementation, the DAQ list structure is as follows: Figure 4 As shown, the address (4 bytes long) of each ODT entity in the DAQ list is stored in a complete binary tree in binary form, following the order from top to bottom and from left to right, as shown in the figure. Figure 5As shown, different DAQ lists obtain different complete binary trees. Different predetermined rules are selected according to the height of the complete binary tree. That is, when the remainder of the depth of the complete binary tree divided by 3 is 0, the complete binary tree is traversed in preorder to obtain a first digital sequence; when the remainder of the depth of the complete binary tree divided by 3 is 1, the complete binary tree is traversed in inorder to obtain a second digital sequence; when the remainder of the depth of the complete binary tree divided by 3 is 2, the complete binary tree is traversed in postorder to obtain a third digital sequence. The traversal results are divided into M (M≥4) ODT entity information variables, x[i], i=0,1,…,M-1, according to a group of 8 binary numbers, to generate a DAQ list feature matrix containing M information variables. The elements of the DAQ list feature matrix correspond one-to-one to the numbers of the first digital sequence, the second digital sequence or the third digital sequence. Different DAQ lists have different predetermined rules, which further improves the degree of distinction between the DAQ list feature matrices corresponding to different DAQ lists, thereby ultimately ensuring the uniqueness of the session configuration ID.

[0100] In order to ensure the uniqueness of the session configuration ID, in an optional implementation manner, the second obtaining unit includes:

[0101] An acquisition module, used for acquiring the PID corresponding to each ODT list of the DAQ list, and obtaining at least one of the PIDs;

[0102] The supplementing module is used to supplement at least one 8-dimensional vector when the number of the above PIDs is less than 8, so as to obtain the 8 above PIDs.

[0103] In the above implementation, each ODT list in the DAQ list has a unique PID, and finally forms an information group containing 8 PIDs. If it is insufficient, B[j] is supplemented according to "0b10000000, 0b01000000, ..., 0b00000001", where j = 0, 1, ..., 7, to generate a PID feature matrix, [B[0] T B[1] T ... B[7] T ] 88 , A M8 =A M8 [B[0] T B[1] T ... B[7] T ] 88 , A M8 It is an M×8 matrix, and its initial value is Loop calculation M times to get the final iteration matrix Ensure that a 2-byte session configuration ID is obtained in the end and that the length of the session configuration ID is uniform.

[0104] The apparatus for generating the session configuration ID includes a processor and a memory. The first acquisition unit, the processing unit, the second acquisition unit, the calculation unit, the repetition unit, and the determination unit are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.

[0105] The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem that it is difficult to ensure that the DAQ list corresponds to a unique session configuration ID in the prior art is solved by adjusting kernel parameters.

[0106] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0107] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for generating the session configuration ID.

[0108] Specifically, the method for generating a session configuration ID includes:

[0109] Step S201, obtaining a plurality of ODT entities in a DAQ list, wherein the ODT entities include addresses;

[0110] Step S202, arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector;

[0111] Step S203, obtaining the PIDs corresponding to the ODT lists of the DAQ list, obtaining multiple PIDs, using the multiple PIDs as column vectors, obtaining a PID feature matrix, wherein the PIDs are 8-dimensional vectors;

[0112] Step S204, a calculation step, multiplying the DAQ list feature matrix and the PID feature matrix to obtain an iteration matrix;

[0113] Step S205, updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once until the number of repetitions reaches a predetermined number of times, thereby obtaining a final iteration matrix;

[0114] Step S206, determining a session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

[0115] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method for generating a session configuration ID is executed when the program is run.

[0116] Specifically, the method for generating a session configuration ID includes:

[0117] Step S201, obtaining a plurality of ODT entities in a DAQ list, wherein the ODT entities include addresses;

[0118] Step S202, arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector;

[0119] Step S203, obtaining the PIDs corresponding to the ODT lists of the DAQ list, obtaining multiple PIDs, using the multiple PIDs as column vectors, obtaining a PID feature matrix, wherein the PIDs are 8-dimensional vectors;

[0120] Step S204, a calculation step, multiplying the DAQ list feature matrix and the PID feature matrix to obtain an iteration matrix;

[0121] Step S205, updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once until the number of repetitions reaches a predetermined number of times, thereby obtaining a final iteration matrix;

[0122] Step S206, determining a session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

[0123] An embodiment of the present invention provides a calibration system, the calibration system comprising a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0124] Step S201, obtaining a plurality of ODT entities in a DAQ list, wherein the ODT entities include addresses;

[0125] Step S202, arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector;

[0126] Step S203, obtaining the PIDs corresponding to the ODT lists of the DAQ list, obtaining multiple PIDs, using the multiple PIDs as column vectors, obtaining a PID feature matrix, wherein the PIDs are 8-dimensional vectors;

[0127] Step S204, a calculation step, multiplying the DAQ list feature matrix and the PID feature matrix to obtain an iteration matrix;

[0128] Step S205, updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once until the number of repetitions reaches a predetermined number of times, thereby obtaining a final iteration matrix;

[0129] Step S206, determining a session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

[0130] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0131] Step S201, obtaining a plurality of ODT entities in a DAQ list, wherein the ODT entities include addresses;

[0132] Step S202, arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector;

[0133] Step S203, obtaining the PIDs corresponding to the ODT lists of the DAQ list, obtaining multiple PIDs, using the multiple PIDs as column vectors, obtaining a PID feature matrix, wherein the PIDs are 8-dimensional vectors;

[0134] Step S204, a calculation step, multiplying the DAQ list feature matrix and the PID feature matrix to obtain an iteration matrix;

[0135] Step S205, updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once until the number of repetitions reaches a predetermined number of times, thereby obtaining a final iteration matrix;

[0136] Step S206, determining a session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

[0137] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0139] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0143] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0144] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic 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. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0145] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0146] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0147] 1) In the method for generating a session configuration ID of the present application, the addresses of multiple ODT entities of the DAQ list are arranged according to a predetermined rule to form a DAQ list feature matrix, so that the DAQ list feature matrix contains the features of all ODT entities, and the PIDs corresponding to each ODT list of the DAQ list form a PID feature matrix, and the PID feature matrix contains the features of the PIDs corresponding to the ODT list. The DAQ list feature matrix and the PID feature matrix are multiplied to obtain an iteration matrix, and the DAQ list feature matrix is ​​updated to the iteration matrix, and iterated multiple times to obtain a final iteration matrix, so that the final iteration matrix contains all the features of the DAQ list. A session configuration ID can be determined according to the final iteration matrix, so that the session configuration ID of the DAQ list is unique, which solves the problem that it is difficult to ensure that the DAQ list corresponds to a unique session configuration ID in the prior art.

[0148] 2) In the session configuration ID generation device of the present application, the addresses of multiple ODT entities of the DAQ list are arranged according to a predetermined rule to form a DAQ list feature matrix, so that the DAQ list feature matrix contains the features of all ODT entities, and the PIDs corresponding to each ODT list of the DAQ list constitute a PID feature matrix. The PID feature matrix contains the features of the PIDs corresponding to the ODT list. The DAQ list feature matrix and the PID feature matrix are multiplied to obtain an iteration matrix, and the DAQ list feature matrix is ​​updated to the iteration matrix, and iterated multiple times to obtain a final iteration matrix, so that the final iteration matrix contains all the features of the DAQ list. A session configuration ID can be determined according to the final iteration matrix, so that the session configuration ID of the DAQ list is unique, which solves the problem that it is difficult to ensure that the DAQ list corresponds to a unique session configuration ID in the prior art.

[0149] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for generating a session configuration ID, characterized in that: include: Acquire a plurality of ODT entities of a DAQ list, wherein the ODT entities include addresses; Arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein a row vector of the DAQ list feature matrix is ​​an 8-dimensional vector; Obtain the PIDs corresponding to the ODT lists of the DAQ list to obtain a plurality of PIDs, use the plurality of PIDs as column vectors to obtain a PID feature matrix, wherein the PID is an 8-dimensional vector; A calculation step, multiplying the DAQ list characteristic matrix and the PID characteristic matrix to obtain an iteration matrix; Updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once until the number of repetitions reaches a predetermined number of times, thereby obtaining a final iteration matrix; A session configuration ID is determined according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

2. The method according to claim 1, characterized in that Determining a session configuration ID according to the final iteration matrix so that the DAQ list corresponds to the unique session configuration ID includes: The first row vector and the last row vector of the final iteration matrix are combined into the session configuration ID.

3. The method according to claim 1, characterized in that Determining a session configuration ID according to the final iteration matrix so that the DAQ list corresponds to the unique session configuration ID includes: Input all row vectors of the final iteration matrix into the neural network to obtain two 8-dimensional vectors; The two 8-dimensional vectors are combined into the session configuration ID.

4. The method according to claim 3, characterized in that All row vectors of the final iteration matrix are input into the neural network to obtain two 8-dimensional vectors, including: Perform an AND operation on all the row vectors of the final iteration matrix to obtain a first intermediate vector, substitute all the row vectors of the final iteration matrix into the matrix to perform an OR operation to obtain a second intermediate vector, wherein both the first intermediate vector and the second intermediate vector are 8-dimensional vectors; An XOR operation is performed on the first intermediate vector and the second intermediate vector to obtain a first 8-dimensional vector, and an XOR operation is performed on the first intermediate vector and the second intermediate vector to obtain a second 8-dimensional vector.

5. The method according to claim 1, characterized in that The addresses of the plurality of ODT entities are arranged according to a predetermined rule to form a DAQ list feature matrix, including: Storing addresses of a plurality of the ODT entities into a complete binary tree; When the remainder of dividing the depth of the complete binary tree by 3 is 0, performing a pre-order traversal on the complete binary tree to obtain a first digital sequence; When the remainder of dividing the depth of the complete binary tree by 3 is 1, performing an in-order traversal on the complete binary tree to obtain a second digital sequence; When the remainder of dividing the depth of the complete binary tree by 3 is 2, performing a post-order traversal on the complete binary tree to obtain a third digital sequence; The numbers of the first digital sequence, the second digital sequence or the third digital sequence are combined into the DAQ list feature matrix, and the elements of the DAQ list feature matrix correspond one-to-one to the numbers of the first digital sequence, the second digital sequence or the third digital sequence.

6. The method according to any one of claims 1 to 5, characterized in that Obtain the PID corresponding to each ODT list of the DAQ list to obtain multiple PIDs, including: Obtaining the PID corresponding to each ODT list of the DAQ list to obtain at least one of the PIDs; When the number of the PIDs is less than 8, at least one 8-dimensional vector is supplemented to obtain 8 PIDs.

7. A device for generating a session configuration ID, characterized in that: include: A first acquisition unit, configured to acquire a plurality of ODT entities in a DAQ list, wherein the ODT entities include addresses; A processing unit, used for arranging the addresses of the plurality of ODT entities according to a predetermined rule to form a DAQ list feature matrix, wherein the row vector of the DAQ list feature matrix is ​​an 8-dimensional vector; A second acquisition unit is used to acquire the PIDs corresponding to each ODT list of the DAQ list, obtain multiple PIDs, and use the multiple PIDs as column vectors to obtain a PID feature matrix, where the PID is an 8-dimensional vector; A calculation unit, used for executing a calculation step, multiplying the DAQ list characteristic matrix and the PID characteristic matrix to obtain an iteration matrix; A repeating unit, used for updating the DAQ list feature matrix to the iteration matrix, and repeating the calculation step at least once, until the number of repetitions reaches a predetermined number of times, to obtain a final iteration matrix; A determining unit is used to determine a session configuration ID according to the final iteration matrix, so that the DAQ list corresponds to the unique session configuration ID.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 6.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A calibration system, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 6.