CN113347115A - Message processing method and device, electronic equipment and medium - Google Patents

Message processing method and device, electronic equipment and medium Download PDF

Info

Publication number
CN113347115A
CN113347115A CN202110899530.4A CN202110899530A CN113347115A CN 113347115 A CN113347115 A CN 113347115A CN 202110899530 A CN202110899530 A CN 202110899530A CN 113347115 A CN113347115 A CN 113347115A
Authority
CN
China
Prior art keywords
message
periodic
stack
processing method
index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110899530.4A
Other languages
Chinese (zh)
Other versions
CN113347115B (en
Inventor
彭涛
谢鹏
李龙威
黄若愚
陈彬
王志坤
毕永康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tasson Science and Technology Co Ltd
Original Assignee
Beijing Tasson Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tasson Science and Technology Co Ltd filed Critical Beijing Tasson Science and Technology Co Ltd
Priority to CN202110899530.4A priority Critical patent/CN113347115B/en
Publication of CN113347115A publication Critical patent/CN113347115A/en
Application granted granted Critical
Publication of CN113347115B publication Critical patent/CN113347115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9047Buffering arrangements including multiple buffers, e.g. buffer pools

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a message processing method, a device, electronic equipment and a medium, wherein the method is applied to a network controller, and a message configuration area and a periodic message stack are deployed in a memory of the network controller; the method comprises the steps of sequentially configuring periodic messages to a message configuration area; adding the periodic messages to a periodic message stack according to a configuration sequence; and constructing an index of the periodic message in a periodic message stack. The invention simplifies the message processing method and omits the step of acquiring the CB base address by adding the message configuration area and the technical means of combining the periodic message A/B stack, so that the step of adding the message to the message stack is simpler and more convenient and is easy for the user to operate.

Description

Message processing method and device, electronic equipment and medium
Technical Field
The present invention relates to the field of communication control technologies, and in particular, to a message processing method, an apparatus, an electronic device, and a medium.
Background
In the fields of aviation, aerospace and military, network communication systems for communication interconnection, data transmission and command control among electronic devices play an important role.
In the existing network communication system, the memory design of the network controller is divided into a periodic message a/B stack and an aperiodic message stack, and all the message stacks share a CQ (completion queue) cache pool. This memory design has the following problems:
1. in the prior art, the operation on the configuration message is complicated, and when the message is configured, the base address of each CB (Command Block) in the memory needs to be known in advance, and then the message is correspondingly added;
2. in the prior art, A/B stack switching is required when the periodic message is added or deleted, so that the operation efficiency is reduced;
3. in the prior art, the periodic message and the non-periodic message share a CQ cache pool, and unnecessary coupling is increased.
Therefore, the novel message processing method, the novel message processing device, the novel electronic equipment and the novel medium have high value and necessity.
Disclosure of Invention
The invention provides a message processing method, a message processing device, electronic equipment and a message processing medium, which are used for overcoming the defect of complicated message configuration in the prior art and realizing more concise message processing with easy operation.
The invention provides a message processing method, which is applied to a network controller, wherein a message configuration area and a periodic message stack are deployed in a memory of the network controller;
the message processing method comprises the following steps:
configuring periodic messages to a message configuration area in sequence;
adding the periodic messages to a periodic message stack according to a configuration sequence;
and constructing an index of the periodic message in a periodic message stack.
According to the message processing method provided by the invention, an aperiodic message stack, a periodic completion queue cache pool and an aperiodic completion queue cache pool are also deployed in the memory of the network controller;
the message processing method further comprises the following steps:
adding the aperiodic message to an aperiodic message stack;
constructing an index of the aperiodic message in an aperiodic message stack;
when the execution of the aperiodic message is completed, generating completion state information and storing the completion state information into an aperiodic completion queue cache pool;
and when the execution of the cycle message is completed, generating completion state information and storing the completion state information into a cycle completion queue buffer pool.
According to the message processing method provided by the invention, a data storage space is also deployed in the memory of the network controller;
the message processing method further comprises the following steps:
when the message is executed, the transmitted data is temporarily cached in the data storage space for further processing.
According to a message processing method provided by the present invention, the step of adding the periodic message to the periodic message stack according to the configuration sequence comprises:
if the periodic message stack is determined to have the writable space, adding the periodic messages to the periodic message stack according to the configuration sequence;
and if the periodic message stack is determined to have no writable space, performing a set action.
According to a message processing method provided by the present invention, the step of constructing an index of the periodic message in the periodic message stack includes:
constructing an index of the periodic message in a periodic message stack;
reading the index, and performing a set action if the periodic message is determined to be successfully added;
reading the index, determining that the periodic message is not successfully added, and repeating the operation until the set conditions are met:
the repeating operation comprises a repeating configuration operation or a repeating addition operation;
the configuration operation is as follows: configuring periodic messages to a message configuration area in sequence; adding the periodic messages to a periodic message stack according to a configuration sequence; constructing an index of the periodic message in a periodic message stack;
the adding operation is as follows: adding the periodic messages to a periodic message stack according to a configuration sequence; and constructing an index of the periodic message in a periodic message stack.
According to a message processing method provided by the present invention, the message processing method further comprises:
and modifying or deleting the periodic message or the non-periodic message according to the index.
According to the message processing method provided by the invention, the network controller is communicated based on an FC-AE-1553 protocol.
The invention also provides a message processing device, which comprises a network controller;
the network controller comprises a memory module, a configuration module, an adding module and an index module;
the memory module comprises a message configuration area and a periodic message stack;
the configuration module can sequentially configure periodic messages to a message configuration area;
the adding module can add the periodic messages to a periodic message stack according to a configuration sequence;
the indexing module is capable of constructing an index of the periodic message in a periodic message stack.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the message processing method as described in any one of the above when executing the program.
The invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the message processing method as any one of the above.
The message processing method, the message processing device, the electronic equipment and the medium simplify the message processing method and omit the step of acquiring the CB base address by adding the message configuration area and combining the periodic message A/B stack, so that the step of adding the message to the message stack is simpler and simpler, and is easy for a user to operate.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of a message processing method provided by the present invention;
fig. 2 is a schematic diagram of a memory structure in a message processing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The message processing method of the present invention is described below with reference to fig. 1 and 2.
As shown in fig. 1, an embodiment of the present invention provides a message processing method, which is applied to a network controller, where a message configuration area and a periodic message stack are deployed in a memory of the network controller;
the message processing method comprises the following steps:
step 100, configuring periodic messages to a message configuration area in sequence;
step 200, adding periodic messages to a periodic message stack according to a configuration sequence;
and step 300, constructing an index of the periodic message in a periodic message stack.
The technical features involved in the present embodiment will be described in further detail below.
In this embodiment, the message configuration area is a block of storage location (namely, CB _ cfg _ addr) additionally arranged in the memory of the network controller, and is specially used for configuring the periodic message CB, when the periodic message CB needing to be configured exists, the CB needing to be configured can be sequentially configured to the CB _ cfg _ addr without acquiring the base address of each CB, and each CB is automatically added to the periodic message stack according to the configuration sequence after configuration; the configuration specifically refers to writing relevant parameters of the message, such as data transmission direction, data length, message period, and the like.
The periodic message stack in the embodiment is different from the A/B stack arrangement in the prior art, and the single periodic message stack can avoid unnecessary A/B stack switching process in the message modification process.
The periodic message in this embodiment specifically refers to a message that is sent cyclically according to a certain period after configuration is completed. The source of the periodic message is the configuration of the upper layer application software.
In step 100 of this embodiment, the specific sources of the message are:
the initiating message is to control the configuration parameters (configurable periodic message or non-periodic message) of the adding message by upper software, the network controller NC automatically initiates the message after the configuration of the adding message, the periodic message is executed circularly according to the configured period length, and the non-periodic message is executed only once;
after the initiating finger configures the message parameters, the NC automatically starts to send messages to the network terminal;
in this embodiment, if it is determined that the message configuration area does not have a write space, the configuration of the new message parameter is prohibited.
The beneficial effect of this embodiment lies in:
by adding the message configuration area and combining the periodic message A/B stack, the message processing method is simplified, the step of acquiring the CB base address is omitted, and the step of adding the message to the message stack is simpler and is easy for user operation.
According to any of the embodiments described above, in this embodiment: the memory of the network controller is also provided with an aperiodic message stack, a periodic completion queue cache pool and an aperiodic completion queue cache pool;
the message processing method further comprises the following steps:
adding the aperiodic message to an aperiodic message stack;
constructing an index of the aperiodic message in an aperiodic message stack;
when the execution of the aperiodic message is completed, generating completion state information and storing the completion state information into an aperiodic completion queue cache pool;
and when the execution of the cycle message is completed, generating completion state information and storing the completion state information into a cycle completion queue buffer pool.
The aperiodic message in this embodiment specifically refers to a message that is sent only once after configuration is completed. The source of the aperiodic message is the configuration of the upper application software.
In this embodiment, the generation completion status information refers to a status of the message generated by the protocol processing firmware after the message is completed, and whether there is an error, a data storage location index, or the like. The upper layer software is convenient to count or find the position of the data area after reading.
It should be noted that, in this embodiment, the main body for completing generation of the status information CQ is the network controller NC, and more specifically, the NC processing logic firmware of the FC-AE-1553 protocol; the upper application software can read the completion state information CQ generated by the network controller NC, confirm the state after the completion of the message and the related information such as the data storage position, and facilitate the upper software to count or read and write data.
The beneficial effect of this embodiment lies in:
the embodiment considers the repeatability of the periodic message and the real-time property of the non-periodic message, isolates the processing of the periodic message from the processing of the non-periodic message, and improves the message processing efficiency.
Meanwhile, the independence of two different types of messages is enhanced by separating the CQ cache pools of the periodic messages and the non-periodic messages (namely the periodic completion queue cache pool and the non-periodic completion queue cache pool), the unnecessary coupling generated by the CQ cache pool shared by the periodic messages and the non-periodic messages in the prior art is eliminated, and the message processing efficiency is also improved.
According to any of the embodiments described above, in this embodiment:
a data storage space is also deployed in the memory of the network controller;
the message processing method further comprises the following steps:
when the message is executed, the transmitted data is temporarily cached in the data storage space for further processing.
Further, in this embodiment, a shared memory area is also deployed in the memory of the network controller; the message processing method further comprises the following steps: and the plurality of processors share data through the shared memory area.
In this embodiment, as shown in fig. 2, the data storage space stores the part from the start address to the end address for the DDR data. The data storage space and the shared memory area are independently arranged and have no correlation.
In this embodiment, the message execution process is described as follows:
the network controller NC initiates a message, which is divided into data transmission and data reception, and both are initiated by the network controller NC first, and the network terminal NT responds. When sending data, the upper layer software stores the data in a data storage area in advance, and the NC sends the data. And when the data is received, after executing a message, the NC stores the data into the data storage area, and the upper layer software fetches data at a corresponding position according to the content of the CQ.
In this embodiment, for the case of multiple processors, the step of temporarily buffering the transmitted data in the data storage space is implemented based on the following pre-steps:
and when the memory is planned, the access position of each processor in the data storage space is specified, and information such as message configuration and the like is prevented from being accidentally tampered.
The beneficial effect of this embodiment lies in:
by setting and utilizing the data storage space and the shared memory area, the message processing efficiency of the multi-processor cooperation is improved.
According to any of the embodiments described above, in this embodiment:
the step of adding the periodic messages to the periodic message stack according to the configuration sequence comprises:
if the periodic message stack is determined to have the writable space, adding the periodic messages to the periodic message stack according to the configuration sequence;
and if the periodic message stack is determined to have no writable space, performing a set action.
In this embodiment, the action of setting after determining that the writable space does not exist in the periodic message stack includes prohibiting a write operation. That is, no writable space prohibits writing unless other message configurations are deleted to reacquire new space.
The beneficial effect of this embodiment lies in:
by verifying the writable space of the periodic message stack, the reliability and stability of the communication system are further improved.
According to any of the embodiments described above, in this embodiment:
the step of constructing an index of the periodic message in a periodic message stack includes:
constructing an index of the periodic message in a periodic message stack;
reading the index, and performing a set action if the periodic message is determined to be successfully added;
reading the index, determining that the periodic message is not successfully added, and repeating the operation until the set conditions are met:
the repeating operation comprises a repeating configuration operation or a repeating addition operation;
the configuration operation is as follows: configuring periodic messages to a message configuration area in sequence; adding the periodic messages to a periodic message stack according to a configuration sequence; constructing an index of the periodic message in a periodic message stack;
the adding operation is as follows: adding the periodic messages to a periodic message stack according to a configuration sequence; and constructing an index of the periodic message in a periodic message stack.
In this embodiment, the index is read, and if it is determined that the periodic message is successfully added, the operations of configuring, calling, processing, executing, modifying, or deleting the message are continued.
In this embodiment, the index is read, and if it is determined that the periodic message addition is not successful, the periodic message addition is repeated.
It should be noted that the aperiodic message stack is configured to be manually added after a user designates an index, and whether a writable space exists cannot be queried, that is:
after the aperiodic message constructs indexes for users, the CB of the urgent message is written into a CBE space through a host interface according to addresses, and the address calculation formula of the CBE is as follows:
CBE_ADDR(cb_index) =(cb_index-1)* 0x40 + 0x60004000
unlike the periodic message operation method. The flag bit of whether the addition is successful or not can not be inquired.
The beneficial effect of this embodiment lies in:
by verifying whether the message addition is successful, the reliability and the stability of the communication system are further improved.
According to any of the embodiments described above, in this embodiment:
the network controller communicates based on the FC-AE-1553 protocol.
The message processing method further comprises the following steps:
and modifying or deleting the periodic message or the non-periodic message according to the index.
The embodiment is applied to an FC-AE-1553 bus network communication system.
In the FC-AE-1553 bus network communication system, a network controller is abbreviated as nc (network controller). The NC is used as an initiator of FC-AE-1553 protocol messages, and completes data interaction of each node on the network in a mode of sending command frames, sending or receiving data and receiving status frames.
Before the NC runs, parameters of the message are configured in advance, and the parameters are stored in the RAM or the DDR and are called a memory structure.
Each message initiated by the NC corresponds to a CB (command block) in the memory space, and the CB is mainly used for storing configuration information of each message. After the message is completed, reading the CQ (completion request) in the memory space to obtain the state of completion of execution of the message, and generating a CQ after processing one message.
NC-initiated messages can be divided into periodic and non-periodic messages from a usage perspective.
The beneficial effect of this embodiment lies in:
in the embodiment, based on the FC-AE-1553 bus network communication system, a memory structure of a network controller is designed and utilized, and by means of adding a message configuration area and combining a periodic message A/B stack, a message processing method is simplified, a step of acquiring a CB base address is omitted, so that the step of adding a message to the message stack is simpler, simpler and more convenient, and the user operation is easy, and further, the FC-AE-1553 bus network communication system has the advantages of high reliability, high stability, high bandwidth, strong electromagnetic interference resistance, simple and quick engineering application and the like.
According to any of the embodiments described above, in this embodiment:
firstly, an NC memory design method is provided as a basis:
in the memory design of the NC in the prior art, the NC is divided into a periodic message a/B stack and a non-periodic message stack, and all the message stacks share a CQ cache pool. The memory design is firstly complicated on configuration information, and the base address of each CB in the memory needs to be known in advance when the information is configured, and then the information is correspondingly added; secondly, A/B stack switching is carried out when the periodic message is added or deleted and modified; in addition, the use of a CQ cache pool for periodic and aperiodic messages also increases unnecessary coupling.
The NC memory structure of the embodiment comprises two message stacks of a periodic message CB and a non-periodic message CB, and the two message stacks respectively correspond to two CQ cache pools; a block of storage location (CB _ cfg _ addr) is added for specially configuring the periodic message CB, the CB needing to be configured can be sequentially configured to the CB _ cfg _ addr without knowing the base address of each CB, each CB is automatically added into a periodic message stack according to the configuration sequence after configuration is finished, and meanwhile, the index of the CB in the message stack is returned to a user, so that subsequent modification or deletion operation is facilitated; the shared memory is increased to improve the cooperative work efficiency between the processors; the rest is data space for storing data transmitted in the exchange process.
The memory design method provided by the embodiment can improve the simplicity of message configuration operation, reduce the coupling of periodic messages and non-periodic messages, and make more efficient use of the memory structure.
Based on the memory design method, the obtained memory structure is shown in fig. 2 and includes a periodic message stack, a non-periodic message stack, a periodic message CQ cache pool, a non-periodic message CQ cache pool, a configuration periodic message area, a shared memory and a data storage area.
According to the above memory structure, the configuration manner of the periodic message in this embodiment is as follows:
firstly, reading a CB management register to know whether a writable space exists in a current message stack, if the writable space exists, sequentially adding periodic message CBs through CB _ cfg _ addr, automatically distributing the CBs to a memory periodic message stack in sequence, returning an index of the CB in the message stack, and finding a corresponding CB through the index in subsequent message modification or deletion operation.
When the method is used actually, the CB index is read to know whether a writable space exists in a current message stack or not, if the writable space exists, the periodic message CBs are added in sequence through the CB _ cfg _ addr, the CBs are automatically distributed into the memory periodic message stack in sequence, the index of the CB in the message stack is returned, and finally the CB index is read again to know whether the current CB is added successfully or not; the message can be modified and deleted according to the index of the CB; when the periodic or non-periodic message is completed, reading the message completion state from the corresponding CQ cache pool respectively; the data transmitted when the message is executed are temporarily cached in the data storage space for further processing and use; if multiple processors exist, data sharing can be performed through the shared memory space.
The beneficial effect of this embodiment lies in:
the embodiment is mainly applied to the fields of aviation, aerospace and military, and is used for communication interconnection, data transmission and command control among electronic equipment. The method has the advantages of high reliability, high stability, high bandwidth, strong electromagnetic interference resistance, simple and quick engineering application and the like.
Specifically, the embodiment further reasonably designs the NC memory, so that the message configuration is simpler and more convenient, and the user operation is easy; the independence of the two different types of messages is enhanced by separating the CQ cache pools of the periodic message and the non-periodic message; the shared memory space is increased, and the cooperative work efficiency among the processors is improved.
The following describes the message processing apparatus provided by the present invention, and the message processing apparatus described below and the message processing method described above may be referred to correspondingly.
The embodiment of the invention also provides a message processing device, which comprises a network controller;
the network controller comprises a memory module, a configuration module, an adding module and an index module;
the memory module comprises a message configuration area and a periodic message stack;
the configuration module can sequentially configure periodic messages to a message configuration area;
the adding module can add the periodic messages to a periodic message stack according to a configuration sequence;
the indexing module is capable of constructing an index of the periodic message in a periodic message stack.
The beneficial effect of this embodiment lies in:
the device provided by the embodiment simplifies the message processing method based on the device by adding the message configuration area and combining the periodic message A/B stack, and omits the step of acquiring the CB base address, so that the step of adding the message to the message stack is simpler and simpler, and is easy for the user to operate.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)310, a communication Interface (communication Interface)320, a memory (memory)330 and a communication bus 340, wherein the processor 310, the communication Interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a message processing method comprising: configuring periodic messages to a message configuration area in sequence; adding the periodic messages to a periodic message stack according to a configuration sequence; and constructing an index of the periodic message in a periodic message stack.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a message processing method provided by the above methods, the method comprising: configuring periodic messages to a message configuration area in sequence; adding the periodic messages to a periodic message stack according to a configuration sequence; and constructing an index of the periodic message in a periodic message stack.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the message processing method provided above, the method comprising: configuring periodic messages to a message configuration area in sequence; adding the periodic messages to a periodic message stack according to a configuration sequence; and constructing an index of the periodic message in a periodic message stack.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A message processing method is characterized in that the method is applied to a network controller, and a message configuration area and a periodic message stack are deployed in a memory of the network controller;
the message processing method comprises the following steps:
configuring periodic messages to a message configuration area in sequence;
adding the periodic messages to a periodic message stack according to a configuration sequence;
and constructing an index of the periodic message in a periodic message stack.
2. The message processing method according to claim 1, wherein the memory of the network controller is further provided with an aperiodic message stack, a periodic completion queue buffer pool and an aperiodic completion queue buffer pool;
the message processing method further comprises the following steps:
adding the aperiodic message to an aperiodic message stack;
constructing an index of the aperiodic message in an aperiodic message stack;
when the execution of the aperiodic message is completed, generating completion state information and storing the completion state information into an aperiodic completion queue cache pool;
and when the execution of the cycle message is completed, generating completion state information and storing the completion state information into a cycle completion queue buffer pool.
3. The message processing method according to claim 1 or 2, wherein a data storage space is further disposed in the memory of the network controller;
the message processing method further comprises the following steps:
when the message is executed, the transmitted data is temporarily cached in the data storage space for further processing.
4. The message processing method of claim 1, wherein the step of adding the periodic messages to the periodic message stack in the configured order comprises:
if the periodic message stack is determined to have the writable space, adding the periodic messages to the periodic message stack according to the configuration sequence;
and if the periodic message stack is determined to have no writable space, performing a set action.
5. The message processing method according to claim 1, wherein the step of constructing an index of the periodic message in a periodic message stack comprises:
constructing an index of the periodic message in a periodic message stack;
reading the index, and performing a set action if the periodic message is determined to be successfully added;
reading the index, determining that the periodic message is not successfully added, and repeating the operation until the set conditions are met:
the repeating operation comprises a repeating configuration operation or a repeating addition operation;
the configuration operation is as follows: configuring periodic messages to a message configuration area in sequence; adding the periodic messages to a periodic message stack according to a configuration sequence; constructing an index of the periodic message in a periodic message stack;
the adding operation is as follows: adding the periodic messages to a periodic message stack according to a configuration sequence; and constructing an index of the periodic message in a periodic message stack.
6. The message processing method according to claim 2, wherein the message processing method further comprises:
and modifying or deleting the periodic message or the non-periodic message according to the index.
7. Message processing method according to claim 1 or 2, characterized in that the network controller communicates based on the FC-AE-1553 protocol.
8. A message processing apparatus, comprising a network controller;
the network controller comprises a memory module, a configuration module, an adding module and an index module;
the memory module comprises a message configuration area and a periodic message stack;
the configuration module can sequentially configure periodic messages to a message configuration area;
the adding module can add the periodic messages to a periodic message stack according to a configuration sequence;
the indexing module is capable of constructing an index of the periodic message in a periodic message stack.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the message processing method according to any of claims 1 to 7 are implemented when the processor executes the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the message processing method according to any one of claims 1 to 7.
CN202110899530.4A 2021-08-06 2021-08-06 Message processing method and device, electronic equipment and medium Active CN113347115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110899530.4A CN113347115B (en) 2021-08-06 2021-08-06 Message processing method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110899530.4A CN113347115B (en) 2021-08-06 2021-08-06 Message processing method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN113347115A true CN113347115A (en) 2021-09-03
CN113347115B CN113347115B (en) 2021-11-26

Family

ID=77481023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110899530.4A Active CN113347115B (en) 2021-08-06 2021-08-06 Message processing method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN113347115B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783773A (en) * 2021-11-12 2021-12-10 北京国科天迅科技有限公司 Message scheduling method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817249A (en) * 2016-12-20 2017-06-09 北京旋极信息技术股份有限公司 The simulation communication demo systems of FC AE 1553 and data transmission method for uplink
US20180329860A1 (en) * 2013-12-30 2018-11-15 International Business Machines Corporation Remote direct memory access (rdma) high performance producer-consumer message processing
CN111656738A (en) * 2018-01-31 2020-09-11 Zf腓特烈斯哈芬股份公司 Transmission system for control data
CN111934753A (en) * 2020-07-22 2020-11-13 北京国科天迅科技有限公司 Method for processing fault node of optical fiber network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180329860A1 (en) * 2013-12-30 2018-11-15 International Business Machines Corporation Remote direct memory access (rdma) high performance producer-consumer message processing
CN106817249A (en) * 2016-12-20 2017-06-09 北京旋极信息技术股份有限公司 The simulation communication demo systems of FC AE 1553 and data transmission method for uplink
CN111656738A (en) * 2018-01-31 2020-09-11 Zf腓特烈斯哈芬股份公司 Transmission system for control data
CN111934753A (en) * 2020-07-22 2020-11-13 北京国科天迅科技有限公司 Method for processing fault node of optical fiber network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783773A (en) * 2021-11-12 2021-12-10 北京国科天迅科技有限公司 Message scheduling method and system
CN113783773B (en) * 2021-11-12 2022-03-11 北京国科天迅科技有限公司 Message scheduling method and system

Also Published As

Publication number Publication date
CN113347115B (en) 2021-11-26

Similar Documents

Publication Publication Date Title
US10969983B2 (en) Method for implementing NVME over fabrics, terminal, server, and system
CN112130748B (en) Data access method, network card and server
CN112948318B (en) RDMA-based data transmission method and device under Linux operating system
US10116746B2 (en) Data storage method and network interface card
CN105808374B (en) A kind of snap processing method and relevant device
CN109558273B (en) Disk array backup method, electronic equipment and disk array
US20220222016A1 (en) Method for accessing solid state disk and storage device
CN112906075A (en) Memory sharing method and device
CN113347115B (en) Message processing method and device, electronic equipment and medium
US20190324930A1 (en) Method, device and computer program product for enabling sr-iov functions in endpoint device
WO2018076882A1 (en) Operating method for storage device, and physical server
CN110719345A (en) Virtual machine MAC address generation method, system, equipment and computer medium
CN115080479B (en) Transmission method, server, device, bare metal instance and baseboard management controller
CN112947857A (en) Data moving method, device, equipment and computer readable storage medium
CN113515320A (en) Hardware acceleration processing method and device and server
CN112817899B (en) PCIE-based data transmission method and device, storage medium and electronic equipment
CN113849127A (en) SAN storage dual-active network-based arbitration method and device and electronic equipment
CN112422485B (en) Communication method and device of transmission control protocol
CN106850554B (en) Method and device for dual-system directional connection
JP4412369B2 (en) Distributed processing system, distributed processing method, terminal, and program
CN106933646B (en) Method and device for creating virtual machine
CN113641604B (en) Data transmission method and system
CN105912477B (en) A kind of method, apparatus and system that catalogue is read
CN115437754A (en) Task distribution method, device, equipment and computer readable storage medium
CN113703676B (en) Calling method, device, equipment and medium for double live volumes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 701, 7th Floor, Building 6, Courtyard 8, Kegu 1st Street, Daxing District Economic and Technological Development Zone, Beijing, 100176

Patentee after: Beijing Tasson Technology Ltd.

Address before: 100744 room 701, 7th floor, building 6, courtyard 8, KEGU 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Patentee before: BEIJING TASSON TECHNOLOGY Ltd.