Information processing method and device, equipment and storage medium
By dividing the memory area of the structure array in RAM and generating identification information, LIN messages are stored in the corresponding structure memory area, the problems of low access efficiency and strong coupling of signal definitions in the prior art are solved, and more efficient LIN message processing and more convenient programming access are achieved.
Patent Information
- Application Number
- CN202411943127.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-13
AI Technical Summary
The prior art has low access efficiency and strong coupling to signal definitions when processing local Internet Network Protocol (LIN) messages, resulting in a great burden on programmers when modifying signal definitions.
By dividing the structure array memory areas in the random access memory (RAM), and generating identification information based on the storage address of each structure memory area, the received LIN message is stored in the corresponding structure memory area, and thus processing is performed.
It improves the efficiency of software processing LIN message data and the convenience of programming access to LIN data memory, while improving the readability of program code.
Smart Images

Figure CN119987656A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to an information processing method, device, equipment and storage medium. Background Art
[0002] The data field of the message frame of the Local Interconnect Network (LIN) bus is generally 8 bytes, and the 8-byte data field can be divided into 1-bit or multi-bit signals according to binary bits, and the divided 1-bit or multi-bit signals can be used as binary signals or counting signals.
[0003] In the related art, the software processing program for LIN messages generally uses the overall sending and receiving data, and then uses the bitwise AND and bitwise OR operations to read and write the individual signal data in the LIN message. Using the bitwise AND and bitwise OR operations to read and write LIN messages generally requires bit operations, which leads to low access efficiency. In addition, it is highly coupled with the signal definition of the LIN message. Once the signal definition of the LIN message is modified during the development process, the software will face the overall modification of the LIN driver and the recalculation of the mask of the bit operation, which will impose a heavy burden on programmers. Summary of the invention
[0004] In view of this, the present application provides an information processing method, device, equipment and storage medium to facilitate solving the above-mentioned technical problems.
[0005] In a first aspect, an embodiment of the present application provides an information processing method, the method comprising:
[0006] The control bottom layer module stores the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area;
[0007] Processing the LIN message in the structure memory area;
[0008] Wherein, the structure memory area is obtained according to the following method: in response to a power-on instruction, a structure array memory area is determined in a random access memory RAM;
[0009] Determine the structure array memory area as a specified number of structure memory areas;
[0010] Based on the storage address corresponding to each of the structure memory areas, identification information of the structure memory area is generated.
[0011] In a second aspect, an embodiment of the present application provides an information processing device, the device comprising:
[0012] A storage module, used for controlling the bottom layer module to store the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area;
[0013] A processing module, used for processing the LIN message in the structure memory area;
[0014] The structure memory area is obtained by the area division module according to the following method: in response to a power-on instruction, a structure array memory area is determined in a random access memory RAM;
[0015] Determine the structure array memory area as a specified number of structure memory areas;
[0016] Based on the storage address corresponding to each of the structure memory areas, identification information of the structure memory area is generated.
[0017] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method provided in the embodiment of the first aspect of the present application.
[0018] In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a computer to execute any method provided in the embodiment of the first aspect of the present application.
[0019] In an embodiment of the present application, by setting a structure memory area, the structure array memory area is divided into structure memory areas of a size corresponding to the message length of each frame of LIN message, so that each frame of LIN message can be stored in its corresponding structure memory area, thereby improving the efficiency of software processing LIN message data and the convenience of programming access to LIN data memory, while also improving the readability of the program code.
[0020] Other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0022] Figure 1 A schematic diagram of the overall process of an information processing method provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of a flow chart of constructing a structure memory area of an information processing method provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of memory area division of a structure array of an information processing method provided in an embodiment of the present application;
[0025] Figure 4 A flowchart of an information processing method provided in an embodiment of the present application for storing a received LIN message into a memory area of each structure;
[0026] Figure 5 A schematic diagram of an information processing method provided in an embodiment of the present application for sequentially storing bytes of a LIN message into a structure memory area;
[0027] Figure 6 A schematic diagram of a flow chart of processing a LIN message in a structure memory area according to an information processing method provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of an apparatus for an information processing method provided in an embodiment of the present application;
[0029] Figure 8 A schematic diagram of an electronic device for an information processing method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0031] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0032] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0033] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0034] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0035] The inventors have found that the data field of the message frame of the LIN bus is generally 8 bytes, and the 8-byte data field can be divided into 1-bit or multi-bit signals according to binary bits, and the divided 1-bit or multi-bit signals can be used as binary signals or counting signals.
[0036] In the related art, the software processing program for LIN messages generally uses the overall sending and receiving data, and then uses the bitwise AND and bitwise OR operations to read and write the individual signal data in the LIN message. Using the bitwise AND and bitwise OR operations to read and write LIN messages generally requires bit operations, which leads to low access efficiency. In addition, it is highly coupled with the signal definition of the LIN message. Once the signal definition of the LIN message is modified during the development process, the software will face the overall modification of the LIN driver and the recalculation of the mask of the bit operation, which will impose a heavy burden on programmers.
[0037] In view of the above problems, the embodiments of the present application provide an information processing method, device, equipment and storage medium for solving the above problems. The inventive concept of the present application can be summarized as follows: the control bottom layer module stores the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area; the LIN message in the structure memory area is processed; wherein the structure memory area is obtained according to the following method: in response to the power-on instruction, a structure array memory area is determined in the random access memory RAM; the structure array memory area is determined as a specified number of structure memory areas; based on the storage address corresponding to each structure memory area, the identification information of the structure memory area is generated.
[0038] In the embodiment of the present application, by setting a structure memory area and setting identification information of the structure memory area, the efficiency of software processing LIN message data and the convenience of programming access to LIN data memory are improved, and the readability of the program code is also improved.
[0039] For ease of understanding, an information processing method provided by an embodiment of the present application is described in detail below with reference to the accompanying drawings:
[0040] like Figure 1 FIG. 1 is a flow chart of an information processing method provided in an embodiment of the present application, wherein:
[0041] In step 101: the control bottom layer module stores the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area.
[0042] In the embodiment of the present application, a structure memory area is constructed, and the components of the LIN message include: a synchronization interval segment, a synchronization segment, a protected ID, a data segment, and a checksum segment. The components of the structure memory area are exactly the same as the components of the LIN message. Each structure memory area can store a frame of LIN message, and the structure memory area is used for the bottom module to receive LIN messages or send LIN messages by byte.
[0043] Among them, a message processing method provided by an embodiment of the present application is applied to a terminal device, wherein the terminal device includes an application layer and a base layer, wherein the application layer is used to obtain data from a structure memory area and then perform functional processing, and the base layer is used to receive a LIN message and store the LIN message in a structure memory area.
[0044] In some optional embodiments, when implementing Figure 1 Before the steps shown, it is necessary to construct the structure memory area first. The process of constructing the structure memory area can be specifically implemented as follows Figure 2 The steps shown, where:
[0045] In step 201: in response to a power-on instruction, a structure array memory area is determined in a random access memory (RAM).
[0046] In an embodiment of the present application, after the terminal device is powered on, in order to ensure that the LIN message can be accurately stored, a structure array memory area is created in the RAM according to the message length of the LIN message.
[0047] In some optional embodiments, determining the structure array memory area in the RAM can be specifically implemented as follows: obtaining a memory area capacity pre-set for the structure array memory area; and determining a memory area of the memory area capacity from the RAM as the structure array memory area.
[0048] That is, in the embodiment of the present application, the technician sets the memory area capacity in advance according to the message length of the LIN message to be processed, and then can select a memory area of the same size from the RAM as the structure array memory area.
[0049] It can be understood that when selecting a memory area from RAM, a technician can select a memory area with a memory area capacity size at any storage location in RAM as the structure array memory area, and the terminal device can automatically select a memory area with a memory area capacity size in RAM as the structure array memory area according to the memory area capacity. The present application does not limit the specific implementation method of setting the structure memory area from selecting RAM.
[0050] For example, the LIN messages to be processed include: LIN message 1, LIN message 2, LIN message 3, LIN message 4, and LIN message 5, where the message length of LIN message 1 is 8 bytes, the message length of LIN message 2 is 11 bytes, the message length of LIN message 3 is 10 bytes, the message length of LIN message 4 is 9 bytes, and the message length of LIN message 5 is 12 bytes. The memory area capacity of the structure array memory area is the sum of the bytes of the message lengths corresponding to LIN message 1, LIN message 2, LIN message 3, LIN message 4, and LIN message 5, that is, 8 bytes + 11 bytes + 10 bytes + 9 bytes + 12 bytes = 50 bytes. A memory area of 50 bytes is selected in the RAM as the structure array memory area. The units of the message length and the internal drive area capacity are both bytes.
[0051] It can be understood that when selecting a structure array memory area in RAM, any position in RAM that satisfies the capacity of the structure array memory area can be selected. The present application does not limit the specific position and specific selection method of the structure array memory area in RAM. The methods of selecting a memory area with a specified size capacity from RAM in the related art are all applicable to the present application.
[0052] In step 202: the structure array memory area is determined to be a specified number of structure memory areas.
[0053] In an embodiment of the present application, after the structure array memory area is created, in order to ensure the accuracy of LIN message processing, it is necessary to divide the structure array memory area into a specified number of structure memory areas. By dividing the structure array memory area into structure memory areas of a size corresponding to the message length of each frame of LIN message, each frame of LIN message can be stored in its corresponding structure memory area.
[0054] In some optional embodiments, the designated number is determined according to different message lengths of the LIN messages to be processed, and the designated number is equal to the number of different message lengths of the LIN messages to be processed.
[0055] For example, the LIN messages to be processed include: LIN message 1, LIN message 2, LIN message 3, LIN message 4, and LIN message 5. The message length of LIN message 1 is 8 bytes, the message length of LIN message 2 is 11 bytes, the message length of LIN message 3 is 10 bytes, the message length of LIN message 4 is 9 bytes, and the message length of LIN message 5 is 12 bytes. Figure 3 As shown, the 50-byte structure array memory area is divided into 5 structure memory areas, and the memory size of each structure memory area is 8 bytes, 11 bytes, 10 bytes, 9 bytes, and 12 bytes, respectively. That is, each structure memory area can store just one frame of this type of LIN message.
[0056] It can be understood that the number of bytes that need to be processed in advance for the LIN message can be known by the technician according to the needs before adopting the above-mentioned processing method of the present application. Therefore, if it is determined according to the needs that multiple LIN messages with the same bytes need to be processed, then when the structure array memory area is divided as mentioned above, the structure array memory area can be divided into multiple structure memory areas with the same bytes. Therefore, when the method provided above in the present application is adopted, there will be no problem of LIN message conflict resulting in inability to store when receiving and processing LIN messages.
[0057] In step 203: based on the storage address corresponding to each structure memory area, identification information of the structure memory area is generated.
[0058] In an embodiment of the present application, corresponding identification information is generated based on the storage address of each structure memory area, thereby ensuring the accuracy when storing LIN messages according to the identification information. Among them, the present application sets the identification information so that the name of each LIN message frame stored in the structure memory area becomes a structure pointer, and each byte in each frame of LIN message corresponds to each byte of the structure memory area, that is, the number of bytes of each frame of LIN message is consistent with the number of bytes of the corresponding structure memory area. Furthermore, by setting the structure memory area, the underlying module of the LIN function is connected to the application layer, and an interface (identification information) based on the structure memory area is provided to the application layer, and an interface based on the structure memory area is provided to the underlying module, which meets the different memory access requirements of the application layer and the underlying module. The access process does not require arithmetic operations and bit operations, which improves access efficiency.
[0059] In an embodiment of the present application, when defining the signal bits in each frame of LIN message for the application layer, the memory mapping method of the digital signal processing (DSP) firmware library and the embedded single-chip microcomputer (STM32) firmware library can be referred to. When setting the memory area in the present application, the structure memory array memory area is first set from the RAM, and the structure array memory area is used to include the structure memory area. The structure memory area includes corresponding identification information, and the identification information corresponds to each frame of LIN message.
[0060] Among them, the storage address of the structure memory area includes a protected segment (Frame Identity Document, PID).
[0061] In some optional embodiments, after the structure memory area is created, the bottom layer module stores the received LIN message in each structure memory area according to the identification information of each structure memory area, which can be specifically implemented as follows: Figure 4 The steps shown, where:
[0062] In step 401: an identity identifier corresponding to a LIN message is identified.
[0063] In the embodiment of the present application, the first valid area of each frame of LIN message stores the PID of the frame of LIN message, that is, the PID corresponding to each frame of LIN message is the identity identifier corresponding to the frame of LIN message.
[0064] In step 402: the target structure memory area corresponding to the LIN message is determined according to the identity identifier corresponding to the LIN message.
[0065] In the embodiment of the present application, the identification information of each structure memory area includes a PID, so matching processing can be performed in the identification information of each structure memory area according to the identity of the received LIN message, and then the target structure memory area corresponding to the LIN message can be obtained. The PID in the identification information of the target structure memory area is the same as the PID in the identity of the LIN message.
[0066] For example: the PID of LIN message 1 is 0x 01, and the structure group memory area includes 5 structure memory areas, namely structure memory area 1, structure memory area 2, structure memory area 3, structure memory area 4, and structure memory area 5. Among them, the PID corresponding to structure memory area 1 is 0x00, the PID corresponding to structure memory area 2 is 0x 10, the PID corresponding to structure memory area 3 is 0x 01, the PID corresponding to structure memory area 4 is 0x 11, and the PID corresponding to structure memory area 5 is 0x80. It can be determined that the PID of LIN message 1 is the same as the PID of structure memory area 3, so structure memory area 3 is used as the target structure memory area corresponding to LIN message 1.
[0067] In the embodiment of the present application, the identity identifier corresponding to the LIN message is matched with the identification information corresponding to the structure memory area, thereby ensuring that each frame of the LIN message can be correctly stored in the corresponding target structure memory area.
[0068] In some optional embodiments, not all LIN messages received by the terminal device need to be processed. Therefore, in order to avoid wasting memory resources and network resources due to processing useless LIN messages, after identifying the identity identifier corresponding to the LIN message, it can be implemented to determine whether there is a target structure memory area corresponding to the identity identifier of the LIN message. If so, continue to execute step 403. If it is determined that there is no target structure memory area corresponding to the identity identifier of the LIN message, the LIN message is discarded.
[0069] In an embodiment of the present application, the structure memory area is constructed according to the type of LIN to be processed, so the LIN messages that need to be processed can be matched to the corresponding target structure memory area. If it is determined that the target structure memory area is not matched, it means that the LIN is not a LIN message to be processed, so there is no need to continue to execute subsequent steps, and the LIN message is directly discarded, which saves the processing time of the LIN message, improves the processing efficiency of the LIN message, and avoids the waste of resources caused by processing non-to-be-processed LIN messages.
[0070] In step 403: the LIN message is stored in the target structure memory area.
[0071] In some optional embodiments, after determining the target structure memory area, it is necessary to store the LIN in the target structure memory area and store the LIN message in the target structure memory area. Specifically, it can be implemented as follows: according to the order of the bytes of the received LIN message, each byte of the LIN message is stored in the target structure memory area in sequence.
[0072] In the embodiment of the present application, in order to ensure the accuracy of storing LIN, each byte of the LIN message needs to be stored in the target structure memory area in sequence according to the byte order.
[0073] For example: Figure 5 As shown, LIN message 1 includes 11 bytes, and the target structure memory area corresponding to LIN message 1 is structure memory area 4, then the 11 bytes of LIN message 1 are stored in structure memory area 4 in sequence.
[0074] In step 102: the LIN message in the structure memory area is processed.
[0075] In the embodiment of the present application, after the LIN message is stored in the corresponding target structure memory area, the LIN message in the target structure memory area can be processed.
[0076] In some optional embodiments, the LIN message in the structure memory area is processed, which can be specifically implemented as follows: Figure 6 The steps shown, where:
[0077] In step 601 : determine whether the message type of the LIN message is a read type; if the message type of the LIN message is a read type, proceed to step 602 , otherwise proceed to step 603 .
[0078] In step 602: the control application layer processes the LIN message in the structure memory area.
[0079] In step 603: when a read request is received, the LIN message is sent and processed.
[0080] In an embodiment of the present application, different processing is required for LIN messages of different message types. If the message type of the LIN message is a read type, it means that the message needs to be processed by the application layer, so it is necessary to control the application layer to obtain the LIN message in the structure memory area and perform corresponding processing; if the message type of the LIN message is a write type, it means that the application layer does not need to process it. When a read request is received, the LIN message is sent to the device that issued the read request for processing.
[0081] Based on the same inventive concept, after introducing an information processing method provided by an embodiment of the present application, as shown in FIG. Figure 7 As shown, an information processing device 700 provided in an embodiment of the present application is described below, and the device includes:
[0082] The storage module 7001 is used to control the bottom layer module to store the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area;
[0083] A processing module 7002 is used to process the LIN message in the structure memory area;
[0084] The structure memory area is obtained by the area division module according to the following method: in response to a power-on instruction, a structure array memory area is determined in a random access memory RAM;
[0085] Determine the structure array memory area as a specified number of structure memory areas;
[0086] Based on the storage address corresponding to each of the structure memory areas, identification information of the structure memory area is generated.
[0087] In some optional embodiments, the storage module 7001 is specifically used to: identify an identity corresponding to a LIN message;
[0088] Determine the target structure memory area corresponding to the LIN message according to the identity identifier corresponding to the LIN message;
[0089] The LIN message is stored in the target structure memory area.
[0090] In some optional embodiments, the storage module 7001 is further used to: if it is determined that the target structure memory area corresponding to the identity identifier of the LIN message does not exist, discard the LIN message.
[0091] In some optional embodiments, the storage module 7001 is specifically used to: store each byte of the LIN message in sequence into the target structure memory area according to the order of the bytes of the received LIN message.
[0092] In some optional embodiments, the processing module 7002 is specifically used to:
[0093] Determining a message type of the LIN message;
[0094] If it is determined that the message type of the LIN message is a write type, the control application layer processes the LIN message in the structure memory area.
[0095] In some optional embodiments, the processing module 7002 is further used to:
[0096] If it is determined that the message type of the LIN message is a read type, upon receiving a read request, the LIN message is sent and processed.
[0097] In some optional embodiments, the storage module 7001 is specifically used for:
[0098] Get the capacity of the preset memory area;
[0099] A memory area of the memory area capacity is determined from the RAM as the structure array memory area.
[0100] Corresponding to the above embodiments, the present application also provides an electronic device. Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, the electronic device 800 may include: a processor 801, a memory 802 and a communication unit 803. These components communicate through one or more buses, and those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention, it can be a bus structure or a star structure, and can also include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0101] The communication unit 803 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0102] The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 802, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 801 can include only a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0103] The memory 802 is used to store the execution instructions of the processor 801. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0104] When the execution instruction in the memory 802 is executed by the processor 801, the electronic device 800 can execute Figure 1 Some or all of the steps in the illustrated embodiments.
[0105] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the information processing method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0106] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.
[0107] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. An information processing method, characterized in that: The method comprises: The control bottom layer module stores the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area; Processing the LIN message in the structure memory area; Wherein, the structure memory area is obtained according to the following method: in response to a power-on instruction, a structure array memory area is determined in a random access memory RAM; Determine the structure array memory area as a specified number of structure memory areas; Based on the storage address corresponding to each of the structure memory areas, identification information of the structure memory area is generated.
2. The method according to claim 1, characterized in that The control bottom layer module stores the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area, including: Identify the identity corresponding to the LIN message; Determine the target structure memory area corresponding to the LIN message according to the identity identifier corresponding to the LIN message; The LIN message is stored in the target structure memory area.
3. The method according to claim 2, characterized in that After identifying the identity identifier corresponding to the LIN message, the method further includes: If it is determined that the target structure memory area corresponding to the identity identifier of the LIN message does not exist, the LIN message is discarded.
4. The method according to claim 2, characterized in that: Storing the LIN message in the target structure memory area includes: According to the order of the bytes of the received LIN message, each byte of the LIN message is stored in the target structure memory area in sequence.
5. The method according to claim 1, characterized in that: The processing of the LIN message in the structure memory area includes: Determining a message type of the LIN message; If it is determined that the message type of the LIN message is a write type, the control application layer processes the LIN message in the structure memory area.
6. The method according to claim 5, characterized in that After determining the message type of the LIN message, the method further includes: If it is determined that the message type of the LIN message is a read type, upon receiving a read request, the LIN message is sent and processed.
7. The method according to claim 1, characterized in that Determining a structure array memory area in a random access memory RAM includes: Get the capacity of the preset memory area; A memory area of the memory area capacity is determined from the RAM as the structure array memory area.
8. An information processing device, characterized in that: The device comprises: A storage module, used for controlling the bottom layer module to store the received local interconnect network protocol LIN message into each structure memory area according to the identification information of each structure memory area; A processing module, used for processing the LIN message in the structure memory area; The structure memory area is obtained by the area division module according to the following method: in response to a power-on instruction, a structure array memory area is determined in a random access memory RAM; Determine the structure array memory area as a specified number of structure memory areas; Based on the storage address corresponding to each of the structure memory areas, identification information of the structure memory area is generated.
9. An electronic device, characterized in that: The device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 7.
10. 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 7.