Method and device for transmitting power material detection information
By setting subprocess one and subprocess two in the information transmission process, and forming information transmission instructions after collecting the purpose ID of the information, the problem of information transmission hysteresis in the transmission of power material detection information is solved, and the efficiency and security of information transmission are achieved.
Patent Information
- Application Number
- CN202510120660.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-01-26
AI Technical Summary
The prior art has problems of information transmission hysteresis and insufficient channel utilization in the transmission of power material detection information, especially in the process of information collection and transmission in network elements.
By setting child process one and child process two in the information transmission process, child process one forms an information transmission instruction after collecting the purpose ID of the information and passes it to child process two. After collecting the information transmission instruction, child process two simultaneously transmits information, reducing the cache and waiting time of information transmission.
This method effectively reduces the hysteresis time in the information interaction stage, improves the efficiency of information transmission, and optimizes the utilization of channels, ensuring the security and efficiency of information transmission.
Smart Images

Figure CN119561950B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of information transmission, and in particular relates to a method and device for transmitting power material detection information. Background Art
[0002] Power material management is an important part of enterprise material management. It refers to an enterprise operation activity that occurs during the normal operation of a power enterprise to organize, plan, coordinate and control various materials that need to be ordered, transported, stored and supplied. It is also an important part of power enterprise management.
[0003] In terms of power material management, the detection of power materials is a key link, as mentioned in the prior art solution with application publication number "CN115063085A", specifically, it often includes an environmental management sub-platform formed by environmental sensors and WIFI modules connected to the industrial computer. The environmental management sub-platform and the equipment management sub-platform are both located in the WLAN and communicate with each other. The environmental management sub-platform performs abnormal analysis on the environmental data of the environment in which the power materials are located that is collected by its environmental sensors and transmitted to the industrial computer. If there is an abnormality, the industrial computer will send a warning message to the equipment management sub-platform. The environmental data of the environment in which the power materials are located is the power material detection information.
[0004] On the other hand, there are more and more requirements for sharing information between environmental management sub-platforms. Often, the industrial computer of an environmental management sub-platform will transmit the power material detection information it obtains to the industrial computer of another environmental management sub-platform via the network element in the WLAN (which can be a WIFI router or a computer in the WLAN), so as to achieve the purpose of sharing information between environmental sub-platforms.
[0005] Network elements often use the storage and transit method to transmit power material detection information. In this type of network element information transmission method, sub-thread one receives all the information and then transmits it to another sub-thread one. Its function is to ensure the accuracy of information transmission. However, this type of network element formula has significant defects in the delay of information transmission, because all the information must be received before it can be transmitted. After identifying the destination ID of the received information, it is still necessary to wait until the information is completely received before it can be transmitted, which causes a considerable delay. In addition, the existing network element method cannot optimally utilize the duplex transmission function provided by the channel. When the industrial computer transmits information to the network element, it cannot synchronously receive the information from other industrial computers, which will further increase the delay of information transmission. Summary of the invention
[0006] In order to solve the defects in the prior art, the present invention proposes a transmission device and method for power material detection information, wherein the sub-process 1 of each information transmission process of the network element does not have to receive the information as a whole before executing the subsequent information transmission. After reaching the destination ID in the received information, it will form an information transmission instruction and transmit it to the sub-process 2 of each other information transmission process. After the sub-process 1 receives the message returned by the corresponding sub-process 2 confirming that the information has been received, it transmits the information to the corresponding sub-process 2 when it receives the information itself. This saves a lot of time for the cache of sub-process 1, the cache of sub-process 2 to store information, and the time for waiting to transmit information, effectively reducing the delay time in the information interaction stage and improving the efficiency of information transmission.
[0007] The present invention utilizes the following technical solutions.
[0008] A method for transmitting power material detection information, comprising:
[0009] The environment management sub-platform performs abnormal analysis on the environmental data of the environment in which the power materials are located, which is collected by its environmental sensors and transmitted to the industrial computer. If there is an abnormality, the industrial computer will send a warning message to the industrial computer management sub-platform. The environmental data of the environment in which the power materials are located is the power material detection information;
[0010] The industrial computer of the environment management sub-platform also transmits the power material detection information it obtains to the industrial computer of another environment management sub-platform via the network element in the WLAN, which includes:
[0011] A process ID is set for each information transmission process, and a sub-process 1 and a sub-process 2 are set for each information transmission process, the sub-process 1 is provided with a corresponding cache for the sub-process 1, the cache for the sub-process 1 is set to store information received by the sub-process 1, and the sub-process 2 is provided with a cache for the sub-process 2, the cache for the sub-process 2 is set to store information received by the sub-process 2;
[0012] The sub-process 1 of the information transmission process is configured to receive information and transmit the information to the sub-process 2 of another information transmission process; the sub-process 2 of the information transmission process is configured to receive information transmitted by the sub-process 1 of another information transmission process;
[0013] The child process 1 of the information transmission process receives the information and stores it in the cache corresponding to the child process 1. The information also includes a destination ID, which is one of the process IDs.
[0014] After the sub-process 1 receives the destination ID of the message, it transmits the message transmission instruction to the sub-process 2 of another message transmission process, and the message transmission instruction includes the destination ID;
[0015] The second child process of the other message transmission process receives the message transmission instruction and compares the destination ID with its corresponding process ID. If the two are the same, the second child process returns the message that has been received to the first child process;
[0016] If sub-process one receives a message that is considered to have been received, it passes the message to the corresponding sub-process two. Sub-process two receives the message and stores it in the cache for sub-process two, which returns the message that is considered to have been received. Sub-process two receives the message and synchronously passes the received message to the destination.
[0017] A device for transmitting power material detection information, comprising:
[0018] The environmental sensor and WIFI module connected to the industrial computer form an environmental management sub-platform. Both the environmental management sub-platform and the industrial computer management sub-platform are located in the WLAN and are connected to each other. The environmental management sub-platform is used to perform abnormal analysis on the environmental data of the environment in which the power materials are located, which is collected by its environmental sensors and transmitted to the industrial computer. If there is an abnormality, the industrial computer will send a warning message to the industrial computer management sub-platform. The environmental data of the environment in which the power materials are located is the detection information of the power materials.
[0019] The industrial computer of the environment management sub-platform is also used to transmit the power material detection information it obtains to the industrial computer of another environment management sub-platform via the network element in the WLAN;
[0020] The network element includes a plurality of information transmission processes that communicate with each other, each information transmission process is provided with a process ID, different information transmission processes have different corresponding process IDs, and each information transmission process includes a sub-process 1 and a sub-process 2, sub-process 1 is provided with a corresponding cache for sub-process 1, the cache for sub-process 1 is set to store the power material detection information received by sub-process 1, and sub-process 2 is provided with a cache for sub-process 2, the cache for sub-process 2 is set to store the power material detection information received by sub-process 2;
[0021] The sub-process 1 of the information transmission process is configured to receive the power material detection information transmitted by the industrial control computer to the network element and transmit the information to the sub-process 2 of another information transmission process; the sub-process 2 of the information transmission process is configured to receive the information transmitted by the sub-process 1 of another information transmission process;
[0022] The child process 1 of the message transmitting process receives the message and stores it in the corresponding cache for the child process 1. The message also contains the destination ID, which is one of several process IDs.
[0023] After the sub-process 1 receives the destination ID of the message, it transmits the message transmission instruction to the sub-process 2 of another message transmission process, and the message transmission instruction includes the destination ID;
[0024] The second child process of the other message transmission process receives the message transmission instruction and compares the destination ID with its corresponding process ID. If the two are the same, the second child process returns the message that has been received to the first child process.
[0025] If the child process one receives a message that is recognized as received, it passes the information to the corresponding child process two, and the child process two receives the information and stores it in its corresponding cache for the child process two.
[0026] Furthermore, the network element includes The information transmission process The message transmission process is set in on a core.
[0027] Furthermore, each kernel includes a sub-process 1 of an information transmission process and a sub-process 2 of another information transmission process, and the sub-process 1 of an information transmission process and the sub-process 2 of another information transmission process are respectively connected in communication.
[0028] Furthermore, information transmission is performed between the sub-process 1 and the sub-process 2 on the same core, and information transmission is not performed between the sub-process 1 and the sub-process 2 on different cores.
[0029] Furthermore, the sub-process 1 and the sub-process 2 on each core execute information transmission independently from each other.
[0030] Furthermore, the sub-process 1 and the sub-process 2 on each core can synchronously execute information transmission.
[0031] Furthermore, when subprocess one transmits information to subprocess two, the corresponding information in the cache for subprocess one is kept together; the information stored in the cache for subprocess one is deleted only after subprocess one completes the transmission of a cluster of information to subprocess two.
[0032] Furthermore, at the same point in time, a cache for child process one only holds one cluster of information.
[0033] Furthermore, when sub-process 2 transmits information to the outside of the network element, the corresponding information in the cache used for sub-process 2 is maintained together; the information stored in the cache used for sub-process 2 is deleted only after sub-process 2 completes the transmission of a cluster of information to another industrial computer as the destination.
[0034] Furthermore, at the same time point, a cache for child process 2 only holds one cluster of information.
[0035] Furthermore, if the transmission of information from subprocess 1 to subprocess 2 is stopped or blocked, then when subprocess 1 transmits information to subprocess 2 again, all the information in its corresponding cache for subprocess 1 is transmitted to subprocess 2, and subprocess 2 receives the information and stores or replaces the information in its corresponding cache for subprocess 2;
[0036] If the transmission of information from subprocess 2 to the outside of the network element is stopped or blocked, then when subprocess 2 transmits information to another industrial computer as the destination again, all the information in the cache corresponding to subprocess 2 is transmitted to the other industrial computer as the destination.
[0037] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:
[0038] The sub-process 1 of each information transmission process of the network element does not need to receive the information as a whole before executing the subsequent information transmission. After reaching the destination ID in the received information, it will form an information transmission instruction and transmit it to the sub-process 2 of each other information transmission process. After receiving the message returned by the corresponding sub-process 2 confirming that it has been received, the sub-process 1 transmits the information to the corresponding sub-process 2 when it receives the information itself, thereby saving a lot of time for the cache of sub-process 1, the time for the cache of sub-process 2 to store information, and the time for waiting to transmit information, effectively reducing the delay time in the information interaction stage and improving the efficiency of information transmission; if the network element contains An information transmission process The message transmission process is set in On each core, each core includes a sub-process 1 of an information transmission process and a sub-process 2 of another information transmission process, and the sub-process of one information transmission process is respectively communicated with the sub-process 2 of another information transmission process, and the sub-process 1 and the sub-process 2 of different information transmission processes on each core perform information transmission independently and synchronously with each other, which not only improves the efficiency of information transmission and reduces the hysteresis of information transmission, but also prevents each information transmission channel from interfering with each other, thereby ensuring the security of information transmission; the network element and the information transmission method optimize the information retransmission rule, on the one hand, when the sub-process 1 and the sub-process 2 transmit information, the information in their corresponding caches is shared The process is maintained until all the information is transmitted. Secondly, when information needs to be transmitted again after being blocked or stopped, the transmission mode of the information in the current network element can be changed. Only one cluster of information is stored in the cache of sub-process one during transmission and for storage. For example, when the destination (another industrial computer used as the destination) verifies that the information fails, the destination abandons / prohibits information transmission. When the information is transmitted again, all the corresponding cached information of sub-process one and sub-process two can be transmitted to the destination ID again. There is no need to find the location of the information in the cache, which reduces the delay of information retransmission, improves the efficiency of information retransmission, and overcomes the defect of insufficient efficiency of information retransmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a partial flow chart of the method for transmitting power material detection information described in the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely expressed in combination with the drawings in the embodiments of the present invention. The embodiments expressed in this application are only some embodiments of the present invention, not all embodiments. According to the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the protection scope of the present invention.
[0041] like Figure 1 As shown, a method for transmitting power material detection information according to the present invention includes:
[0042] The environment management sub-platform performs abnormal analysis on the environmental data of the environment in which the power materials are located, which is collected by its environmental sensors and transmitted to the industrial computer. If there is an abnormality, the industrial computer will send a warning message to the industrial computer management sub-platform. The environmental data of the environment in which the power materials are located is the power material detection information;
[0043] The industrial computer of the environment management sub-platform also transmits the power material detection information it obtains to the industrial computer of another environment management sub-platform through the network element in the WLAN (which can be a WIFI router or a computer in the WLAN), so as to achieve the purpose of sharing information between the environment sub-platforms, which includes:
[0044] A process ID is set for each information transmission process, and a sub-process 1 and a sub-process 2 are set for each information transmission process, the sub-process 1 is provided with a corresponding cache for the sub-process 1, the cache for the sub-process 1 is set to store information received by the sub-process 1, and the sub-process 2 is provided with a cache for the sub-process 2, the cache for the sub-process 2 is set to store information received by the sub-process 2;
[0045] The sub-process 1 of the information transmission process is configured to receive information and transmit the information to the sub-process 2 of another information transmission process; the sub-process 2 of the information transmission process is configured to receive information transmitted by the sub-process 1 of another information transmission process;
[0046] The child process 1 of the information transmission process receives the information and stores it in the cache corresponding to the child process 1. The information also includes a destination ID, which is one of the process IDs.
[0047] After the sub-process 1 receives the destination ID of the message, it transmits the message transmission instruction to the sub-process 2 of another message transmission process, and the message transmission instruction includes the destination ID;
[0048] The second child process of the other message transmission process receives the message transmission instruction and compares the destination ID with its corresponding process ID. If the two are the same, the second child process returns the message that has been received to the first child process;
[0049] If sub-process one receives a message that is considered to have been received, it passes the message to the corresponding sub-process two. Sub-process two receives the message and stores it in the cache for sub-process two, which returns the message that is considered to have been received. Sub-process two receives the message and synchronously passes the received message to the destination.
[0050] The sub-process one of each information transmission process of the present application is set to communicate with the sub-process two of another information transmission process; the sub-process one of a different information transmission process and the sub-process two of another information transmission process perform information transmission independently with each other, and when the sub-process one transmits information to the sub-process two, the information in the cache corresponding to the sub-process one is kept together; the information stored in the cache for the sub-process one is deleted only after the sub-process one completes the transmission of a cluster of information to the sub-process two.
[0051] The present application reduces latency and achieves synchronous reception of information during process transmission by changing the way information is received and transmitted and the direction of cache space in the network element, which will greatly improve the quality of industrial computer transmission, especially the efficiency of information transmission. Then, in the industrial computer, the present application can make the best use of the duplex transmission function provided by the channel, and can synchronously receive information from another industrial computer when the industrial computer transmits information to the network element, which can greatly improve the efficiency of information transmission and reduce the latency of information transmission. In the industrial computer, the present application reduces latency and achieves synchronous reception of information during process transmission by changing the way and direction of information transmission in the network element, which greatly improves the quality of the industrial computer, especially the efficiency of information transmission.
[0052] The present invention provides a device for transmitting electric power material detection information, comprising:
[0053] The environmental sensor and WIFI module connected to the industrial computer form an environmental management sub-platform. Both the environmental management sub-platform and the industrial computer management sub-platform are located in the WLAN and are connected to each other. The environmental management sub-platform is used to perform abnormal analysis on the environmental data of the environment in which the power materials are located, which is collected by its environmental sensors and transmitted to the industrial computer. If there is an abnormality, the industrial computer will send a warning message to the industrial computer management sub-platform. The environmental data of the environment in which the power materials are located is the detection information of the power materials.
[0054] The industrial computer of the environment management sub-platform is also used to transmit the power material detection information it obtains to the industrial computer of another environment management sub-platform via the network element in the WLAN;
[0055] The network element includes a plurality of information transmission processes that communicate with each other, each information transmission process is provided with a process ID, different information transmission processes have different corresponding process IDs, and each information transmission process includes a sub-process 1 and a sub-process 2, sub-process 1 is provided with a corresponding cache for sub-process 1, the cache for sub-process 1 is set to store the power material detection information received by sub-process 1, and sub-process 2 is provided with a cache for sub-process 2, the cache for sub-process 2 is set to store the power material detection information received by sub-process 2;
[0056] Sub-process one of the information transmission process is configured to receive the power material detection information transmitted by the industrial computer to the network element and pass the information to sub-process two of another information transmission process; sub-process two of the information transmission process is configured to receive the information transmitted by sub-process one of another information transmission process; the information in this application is the power material detection information.
[0057] The child process 1 of the message transmitting process receives the message and stores it in the corresponding cache for the child process 1. The message also contains the destination ID, which is one of several process IDs.
[0058] After the sub-process 1 receives the destination ID of the message, it transmits the message transmission instruction to the sub-process 2 of another message transmission process, and the message transmission instruction includes the destination ID;
[0059] The second child process of another information transmission process receives the information transmission instruction and compares the destination ID with its corresponding process ID. If the two are the same, the second child process returns a predefined message to the first child process.
[0060] If the child process one receives a message that is recognized as received, it passes the information to the corresponding child process two, and the child process two receives the information and stores it in its corresponding cache for the child process two.
[0061] The current network elements have significant defects in the delay of information transmission. Because all information must be received before subsequent transmission can be executed, after the industrial computer transmits the entire information to the cache used for sub-process one, sub-process one can only transmit the information stored in the cache used for sub-process one to the destination sub-process two after obtaining the confirmation message from the destination sub-process two; similarly, sub-process two can only transmit the information in its cache used for sub-process two to another industrial computer as the destination after receiving all the information and confirming the confirmation message sent back by the destination, which causes a considerable delay.
[0062] The network element of the present application greatly reduces the delay by changing the way of receiving and transmitting information, and changing the direction of the cache space in the network element. The sub-process one in the network element does not need to receive the information as a whole and then execute the transmission in the next stage. It only needs to form a message transmission instruction and transmit it to the sub-process two of each other message transmission process after reaching the destination ID in the received information. The message transmission instruction contains the destination ID, which corresponds to the same process ID as the destination ID, and determines that the process ID is the destination sub-process two. The destination sub-process two will return the message that has been received to the sub-process one. After the sub-process one receives the message that has been received, it will transmit the message to the destination sub-process two when it receives the message itself. The sub-process two receives the message and simultaneously transmits the received message to another industrial control computer that is used as the destination. This saves a lot of time for storing information in the cache of sub-process one and the cache of sub-process two, and the time for waiting for the transmission of the message transmission instruction message and waiting for the return of the message that has been received, effectively reducing the delay time in the information interaction stage.
[0063] The network element of the present application reduces the delay in information interaction. According to several information transmission processes, when an industrial computer transmits information to the network element, it can synchronously receive information from another industrial computer in the network element, and synchronously transmit information to the other industrial computer, which can further reduce the delay in information transmission and improve the efficiency of information transmission. Here, the size of the cache for sub-process one and the cache for sub-process two of the network element can be set according to specific requirements to ensure the efficiency and accuracy of information transmission. The network element can be used to transmit and receive information, and detect the delay and accuracy of information transmission.
[0064] In a preferred but non-limiting embodiment of the present invention, the network element comprises The information transmission process The message transmission process is set in on a core.
[0065] In a preferred but non-limiting embodiment of the present invention, each kernel includes a sub-process 1 of an information transmission process and a sub-process 2 of another information transmission process, and the sub-process 1 of an information transmission process and the sub-process 2 of another information transmission process are respectively communicated and connected.
[0066] In a preferred but non-limiting embodiment of the present invention, information transmission is performed between sub-process one and sub-process two on the same kernel, and information transmission is not performed between sub-process one and sub-process two on different kernels.
[0067] In a preferred but non-limiting embodiment of the present invention, sub-process 1 and sub-process 2 on each core execute information transmission independently from each other.
[0068] In a preferred but non-limiting embodiment of the present invention, sub-process 1 and sub-process 2 on each core can synchronously execute information transmission.
[0069] Just like the four cores of the four information transmission processes, the first pair of information transmission processes of each core are process one and process two from first to last, and the last pair of information transmission processes of each core are process three and process four from first to last. Process one to process four all have sub-process one and sub-process two and corresponding caches.
[0070] Here, the subprocess of process 1 of the first core is connected to process 2 and process 4 respectively; the subprocess of process 2 of the second core is connected to process 1, process 3 and process 4 respectively; the subprocess of process 3 of the third core is connected to process 1, process 2 and process 4 respectively; the subprocess of process 4 of the fourth core is connected to process 1, process 2 and process 3 respectively. In this way, the subprocess 1 and subprocess 2 of different information transmission processes are transmitted independently and synchronously, which not only improves the efficiency of information transmission and reduces the latency of information transmission, but also prevents each information transmission channel from interfering with each other, thus ensuring the security of information transmission.
[0071] Compared with the current method, sub-process 1 and sub-process 2 of the same information transmission process share the same cache; in the present application, a cache is set for each sub-process 1 and sub-process 2 of each information transmission process, thereby making the best use of the duplex transmission provided on the information transmission channel, connecting the cache used for sub-process 1 with each cache used for sub-process 2, and separating the received information and the transmitted information into different caches by adding one more cache, thereby reducing the waiting delay caused by the inability to receive information when a process cache is still transmitting information when information is transmitted in the network element.
[0072] In a preferred but non-limiting embodiment of the present invention, in order to further improve the security of information transmission, when sub-process one transmits information to sub-process two, the information in the corresponding cache for sub-process one is maintained together, that is, the transmitted information and the untransmitted information in the cache for sub-process one are maintained together and cannot be deleted; the information stored in the cache for sub-process one is deleted only after the transmission of a cluster of information (that is, a pre-set number of power material detection information) from sub-process one to sub-process two is completed.
[0073] In a preferred but non-limiting embodiment of the present invention, at the same time point, a cache for a child process only maintains one cluster of information.
[0074] In a preferred but non-limiting embodiment of the present invention, similarly, when sub-process two transmits information to the outside of the network element, the corresponding information in the cache used for sub-process two is maintained together, that is, the transmitted information and the untransmitted information in the cache used for sub-process two are then maintained in the cache used for sub-process two and cannot be deleted; the information stored in the cache used for sub-process two is deleted only after sub-process two completes the transmission of a cluster of information to another industrial computer used as the destination.
[0075] In a preferred but non-limiting embodiment of the present invention, at the same time point, a cache for child process two only maintains one cluster of information.
[0076] In a preferred but non-limiting embodiment of the present invention, if the transmission of information from subprocess one to subprocess two is stopped or blocked, then when subprocess one transmits information to subprocess two again, all the information in its corresponding cache for subprocess one is transmitted to subprocess two, and subprocess two receives the information and stores or replaces the information in its corresponding cache for subprocess two;
[0077] If the transmission of information from subprocess 2 to the outside of the network element is stopped or blocked, then when subprocess 2 transmits information to another industrial computer as the destination again, all the information in the cache corresponding to subprocess 2 is transmitted to the other industrial computer as the destination.
[0078] According to the above-mentioned improved information retransmission rule, the current information transmission mode in the network element can be changed. When the information is transmitted and stored in the cache used for sub-process one, only a cluster of information is retained. When the destination party (another industrial computer used as the destination) verifies that the information has not passed, the destination party will abandon / prohibit information transmission. When the information is retransmitted, the destination party only needs to retransmit all the information received in the cache used for sub-process two, and does not need to search for the storage ID in the cache used for sub-process two, thereby improving the efficiency of information retransmission.
[0079] In the current network element system, when information is transmitted, the cache used for sub-process one is still processing other information and cannot respond immediately. In this case, the cluster transmission information will be temporarily stored in the cache used for sub-process two, and information will be continuously collected synchronously until the cache is filled. When the transmission is started, the location of the information will be found in the cache, which will also increase the delay. The present application improves the efficiency of information retransmission through the above-mentioned improved information retransmission rules and overcomes the defect of insufficient efficiency of information retransmission.
[0080] This application simplifies the information transmission process, reduces the storage and transmission time of information in network elements, improves the efficiency of information transmission, and thereby improves the transmission quality of the entire industrial computer. In short, compared with the current method, there are obvious improvements in information transmission delay, duplex transmission function of the channel, efficiency of information retransmission, and streamlining of information transmission links.
[0081] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:
[0082] The sub-process 1 of each information transmission process of the network element does not need to receive the information as a whole before executing the subsequent information transmission. After reaching the destination ID in the received information, it will form an information transmission instruction and transmit it to the sub-process 2 of each other information transmission process. After receiving the message returned by the corresponding sub-process 2 confirming that it has been received, the sub-process 1 transmits the information to the corresponding sub-process 2 when it receives the information itself, thereby saving a lot of time for the cache of sub-process 1, the time for the cache of sub-process 2 to store information, and the time for waiting to transmit information, effectively reducing the delay time in the information interaction stage and improving the efficiency of information transmission; if the network element contains An information transmission process The message transmission process is set in On each core, each core includes a sub-process 1 of an information transmission process and a sub-process 2 of another information transmission process, and the sub-process of one information transmission process is respectively communicated with the sub-process 2 of another information transmission process, and the sub-process 1 and the sub-process 2 of different information transmission processes on each core perform information transmission independently and synchronously with each other, which not only improves the efficiency of information transmission and reduces the hysteresis of information transmission, but also prevents each information transmission channel from interfering with each other, thereby ensuring the security of information transmission; the network element and the information transmission method optimize the information retransmission rule, on the one hand, when the sub-process 1 and the sub-process 2 transmit information, the information in their corresponding caches is shared The process is maintained until all the information is transmitted. Secondly, when information needs to be transmitted again after being blocked or stopped, the transmission mode of the information in the current network element can be changed. Only one cluster of information is stored in the cache of sub-process one during transmission and for storage. For example, when the destination (another industrial computer used as the destination) verifies that the information fails, the destination abandons / prohibits information transmission. When the information is transmitted again, all the corresponding cached information of sub-process one and sub-process two can be transmitted to the destination ID again. There is no need to find the location of the information in the cache, which reduces the delay of information retransmission, improves the efficiency of information retransmission, and overcomes the defect of insufficient efficiency of information retransmission.
[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not deviate from the spirit and scope of the present invention should be covered within the protection scope of the claims of the present invention.
Claims
1. A method for transmitting power material detection information, characterized in that: include: The environment management sub-platform performs abnormal analysis on the environmental data of the environment in which the power materials are located, which is collected by its environmental sensors and transmitted to the industrial computer. If there is an abnormality, the industrial computer will send a warning message to the industrial computer management sub-platform. The environmental data of the environment in which the power materials are located is the power material detection information; The industrial computer of the environment management sub-platform also transmits the power material detection information it obtains to the industrial computer of another environment management sub-platform via the network element in the WLAN, which includes: A process ID is set for each information transmission process, and a sub-process 1 and a sub-process 2 are set for each information transmission process, the sub-process 1 is provided with a corresponding cache for the sub-process 1, the cache for the sub-process 1 is set to store information received by the sub-process 1, and the sub-process 2 is provided with a cache for the sub-process 2, the cache for the sub-process 2 is set to store information received by the sub-process 2; The sub-process 1 of the information transmission process is configured to receive information and transmit the information to the sub-process 2 of another information transmission process; the sub-process 2 of the information transmission process is configured to receive information transmitted by the sub-process 1 of another information transmission process; The child process 1 of the information transmission process receives the information and stores it in the cache corresponding to the child process 1. The information also includes a destination ID, which is one of the process IDs. After the sub-process 1 receives the destination ID of the message, it transmits the message transmission instruction to the sub-process 2 of another message transmission process, and the message transmission instruction includes the destination ID; The sub-process 2 of the other information transmission process receives the information transmission instruction respectively and compares the destination ID with its corresponding process ID. If the two are the same, the sub-process 2 returns the message that has been received to the sub-process 1. If sub-process one receives a message that is considered to have been received, it passes the message to the corresponding sub-process two. Sub-process two receives the message and stores it in the cache for sub-process two, which returns the message that is considered to have been received. Sub-process two receives the message and synchronously passes the received message to the destination.
2. A device for transmitting power material detection information, characterized in that: include: The environmental sensor and WIFI module connected to the industrial computer form an environmental management sub-platform. Both the environmental management sub-platform and the industrial computer management sub-platform are located in the WLAN and are connected to each other. The environmental management sub-platform is used to perform abnormal analysis on the environmental data of the environment in which the power materials are located, which is collected by its environmental sensors and transmitted to the industrial computer. If there is an abnormality, the industrial computer will send a warning message to the industrial computer management sub-platform. The environmental data of the environment in which the power materials are located is the detection information of the power materials. The industrial computer of the environment management sub-platform is also used to transmit the power material detection information it obtains to the industrial computer of another environment management sub-platform via the network element in the WLAN; The network element includes a plurality of information transmission processes that communicate with each other, each information transmission process is provided with a process ID, different information transmission processes have different corresponding process IDs, and each information transmission process includes a sub-process 1 and a sub-process 2, sub-process 1 is provided with a corresponding cache for sub-process 1, the cache for sub-process 1 is set to store the power material detection information received by sub-process 1, and sub-process 2 is provided with a cache for sub-process 2, the cache for sub-process 2 is set to store the power material detection information received by sub-process 2; The sub-process 1 of the information transmission process is configured to receive the power material detection information transmitted by the industrial control computer to the network element and transmit the information to the sub-process 2 of another information transmission process; the sub-process 2 of the information transmission process is configured to receive the information transmitted by the sub-process 1 of another information transmission process; The child process 1 of the message transmitting process receives the message and stores it in the corresponding cache for the child process 1. The message also contains the destination ID, which is one of several process IDs. After the sub-process 1 receives the destination ID of the message, it transmits the message transmission instruction to the sub-process 2 of another message transmission process, and the message transmission instruction includes the destination ID; The second child process of the other message transmission process receives the message transmission instruction and compares the destination ID with its corresponding process ID. If the two are the same, the second child process returns the message that has been received to the first child process. If the child process one receives a message that is recognized as received, it passes the information to the corresponding child process two, and the child process two receives the information and stores it in its corresponding cache for the child process two.
3. The device for transmitting electric power material detection information according to claim 2, characterized in that: Network elements include The information transmission process The message transmission process is set in on a core.
4. The device for transmitting electric power material detection information according to claim 3, characterized in that: Each kernel includes a sub-process 1 of an information transmission process and a sub-process 2 of another information transmission process, and the sub-process 1 of an information transmission process and the sub-process 2 of another information transmission process are respectively connected in communication.
5. The transmission device for power material detection information according to claim 4, characterized in that: Information transmission is performed between sub-process 1 and sub-process 2 on the same core, and information transmission is not performed between sub-process 1 and sub-process 2 on different cores.
6. The device for transmitting electric power material detection information according to claim 5, characterized in that: Separate execution information transmission between subprocess 1 and subprocess 2 on each core; The sub-process 1 and the sub-process 2 on each core can synchronously execute information transmission.
7. The device for transmitting electric power material detection information according to claim 6, characterized in that: When subprocess 1 passes information to subprocess 2, the information in the corresponding cache for subprocess 1 is kept together; after subprocess 1 passes a bunch of information to subprocess 2, the information stored in the cache for subprocess 1 is deleted; At the same point in time, a cache for a child process only holds one cluster of information.
8. The device for transmitting electric power material detection information according to claim 7, characterized in that: When sub-process 2 transmits information to the outside of the network element, the information in the cache corresponding to sub-process 2 is kept together; after sub-process 2 completes the transmission of a cluster of information to another industrial computer as the destination, the information stored in the cache for sub-process 2 is deleted.
9. The device for transmitting electric power material detection information according to claim 8, characterized in that: At the same point in time, the cache for child process 2 only holds one cluster of information.
10. The device for transmitting electric power material detection information according to claim 9, characterized in that: If the transmission of information from subprocess 1 to subprocess 2 is stopped or blocked, then when subprocess 1 transmits information to subprocess 2 again, all the information in its corresponding cache for subprocess 1 is transmitted to subprocess 2, and subprocess 2 receives the information and stores or replaces the information in its corresponding cache for subprocess 2; If the transmission of information from subprocess 2 to the outside of the network element is stopped or blocked, then when subprocess 2 transmits information to another industrial computer as the destination again, all the information in the cache corresponding to subprocess 2 is transmitted to the other industrial computer as the destination.
Citation Information
Patent Citations
Electric power material fusion management and control platform and method based on data identification
CN115063085A
Multi-process processing method and device, terminal equipment and computer readable storage medium
CN110413386A
Data transmission method and system
CN114116595A