Network situation information processing method and device, equipment, storage medium and product

By dividing network situation information into local and global parts, and being carried and broadcasted by different protocol layers, the problem of excessive or untimely perception overhead in the existing technology is solved, and real-time situation information sharing and reducing network overhead are achieved.

CN120567941APending Publication Date: 2025-08-29PENG CHENG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510693235.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

The prior art cannot provide network situation information on demand for different protocol layers, resulting in excessive perceived overhead or untimely perception.

Method used

The network situation information is divided into local situation information and global situation information, which are carried by the media access control layer and the transmission layer respectively, and the network situation information database is updated through preset periodic broadcasting and updating to meet the different needs of each layer.

Benefits of technology

This reduces the coupling degree between layers, reduces network overhead, ensures that the entire network nodes can share situation information in real time, and form a distributed situation awareness system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120567941A_ABST
    Figure CN120567941A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of network communication, and discloses a network situation information processing method and device, equipment, a storage medium and a product, and the method comprises the steps: dividing the obtained network situation information into local situation information and global situation information according to each layer of protocol, wherein the local situation information is borne by a frame body part of a function frame of a media access control layer, and the global situation information serves as application layer data and is borne by a frame body part of a transmission layer data frame; converting the local situation information and the global situation information into entries, and adding the entries into a network situation information base of each node; and broadcasting the network situation information base of each node in sequence through a preset period, and updating the network situation information base of each node based on a broadcasting result. According to the method, local situation information and global situation information are divided and borne by two protocol layers instead of a single layer, so that the coupling degree between the layers is reduced, and the network overhead is greatly reduced while the requirement of providing prior information for algorithms of each layer is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a network situation information processing method, device, equipment, storage medium and product. Background Art

[0002] In the implementation of mobile ad hoc networks, the layered protocol framework includes the physical layer, media access control (MAC) layer, network layer, transport layer, and application layer. Network situational information discovery is currently implemented based on a specific layer in the layered architecture. For example, based on a specific routing protocol, situational information is used as a network layer payload to achieve network-wide distribution of situational information. However, current situational information discovery technologies based on the network layer and above are unable to provide corresponding information on demand based on the needs of different protocol layers to meet the requirements of each protocol layer for the content and timeliness of situational information. This leads to problems such as excessive perception overhead or untimely perception. Summary of the Invention

[0003] The main purpose of this application is to provide a network situation information processing method, device, equipment, storage medium and product, aiming to solve the technical problem that the current network situation awareness cannot provide corresponding information on demand according to the needs of different protocol layers.

[0004] To achieve the above objectives, the present application proposes a network situation information processing method, which includes:

[0005] The obtained network situation information is divided into local situation information and global situation information according to the protocols of each layer, wherein the local situation information is carried by the frame body of the function frame of the media access control layer, and the global situation information is carried by the frame body of the transport layer data frame as application layer data;

[0006] Converting the local situation information and the global situation information into entries and adding them into the network situation information library of each node;

[0007] The network situation information base of each node is broadcasted in sequence at a preset period, and the network situation information base of each node is updated based on the broadcast result.

[0008] Optionally, the step of broadcasting the network situation information base of each node in sequence at a preset period, and updating the network situation information base of each node based on the broadcast result includes:

[0009] When the first sending cycle of the current node is triggered, the local situation information of the current node is broadcast and distributed through the first situation information module to obtain a first distribution result;

[0010] When the second sending cycle of the current node is triggered, the global situation information of the current node is broadcast and distributed through the second situation information module to obtain a second distribution result;

[0011] A network situation information database of neighbor nodes corresponding to the current node is updated based on the first distribution result and / or the second distribution result.

[0012] Optionally, the first situation information module includes a first perception module, a first network situation information database, and a first transceiver module. When the first sending cycle of the current node is triggered, the step of broadcasting and distributing the local situation information of the current node through the first situation information module to obtain a first distribution result includes:

[0013] determining a first network status of the current node according to a preset first algorithm, wherein the preset first algorithm is applied to a media access control layer and is used to optimize a media access scheme within a one-hop transmission range of the current node;

[0014] When the first sending cycle of the current node is triggered, obtaining the local situation information from the first network situation information database of the current node through the first perception module and the first network situation;

[0015] The local situation information is transmitted to the first transceiver module, and encapsulated according to a preset media access control function frame to obtain a media access control frame;

[0016] The media access control frame is placed into a sending buffer queue according to a preset priority, and is sent to a neighboring node corresponding to the current node to obtain a first distribution result.

[0017] Optionally, the second situation information module includes a second perception module, a second network situation information database, and a second transceiver module. When the second sending cycle of the current node is triggered, the step of broadcasting and distributing the global situation information of the current node through the second situation information module to obtain a second distribution result includes:

[0018] Determining a second network situation of the current node according to a preset second algorithm and functional requirements of the application layer, wherein the preset second algorithm is applied to the network layer to optimize the routing protocol;

[0019] When the second sending cycle of the current node is triggered, obtaining the global situation information from the second network situation information library of the current node through the second perception module and the second network situation;

[0020] The global situation information is transmitted to the second transceiver module, encapsulated according to the preset application data, and the encapsulated result is encapsulated to the lower layer through the transport layer port to obtain a transport layer data frame;

[0021] The transport layer data frame is placed into a sending buffer queue according to the preset priority, and is sent to a neighboring node corresponding to the current node to obtain a second distribution result.

[0022] Optionally, the step of updating a network situation information database of neighbor nodes corresponding to the current node based on the first distribution result and / or the second distribution result includes:

[0023] Determine, based on the first distribution result and / or the second distribution result, the situation information entries received by each of the neighboring nodes, wherein each of the situation information entries includes an entry identifier, entry data, and an entry time identifier;

[0024] Comparing the situation information entry with a local entry in a network situation information repository of the neighboring node;

[0025] If the entry identifier of the situation information entry does not match the local entry, adding the situation information entry into the network situation information database;

[0026] If the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is the same as the local entry, ignoring the situation information entry;

[0027] If the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is different from the local entry, the time validity of the entry time identifiers is compared, and the entry with the newer time validity is retained.

[0028] Optionally, after the step of updating the network situation information database of the neighboring nodes corresponding to the current node based on the first distribution result and / or the second distribution result, the method further includes:

[0029] When the third sending cycle of the current node is triggered, all situation information in the first network situation information library of the current node is sent across layers to the second situation information module through the first situation information module;

[0030] Determine the status of each item in the entire situation information by using the second perception module and the second network situation information library in the second situation information module;

[0031] The second network situation information database in the second situation information module is updated according to the status.

[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a network situation information processing device, the network situation information processing device comprising:

[0033] An information perception and distribution module is configured to divide the acquired network situation information into local situation information and global situation information according to protocols at each layer, wherein the local situation information is carried by the frame body of the function frame of the media access control layer, and the global situation information is carried as application layer data by the frame body of the transport layer data frame;

[0034] An information entry storage module, configured to convert the local situation information and the global situation information into entries and add them into a network situation information library of each node;

[0035] The information distribution and updating module is used to broadcast the network situation information base of each node in sequence through a preset period, and update the network situation information base of each node based on the broadcast result.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a network situation information processing device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is configured to implement the steps of the network situation information processing method as described above.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the network situation information processing method described above are implemented.

[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the network situation information processing method as described above.

[0039] This application discloses dividing the acquired network situation information into local situation information and global situation information according to each layer protocol; converting the local situation information and the global situation information into entries and adding them to the network situation information library of each node; broadcasting the network situation information library of each node in sequence through a preset period, and updating the network situation information library of each node based on the broadcast results. By dividing the network situation information into local situation information and global situation information, and carrying it by two protocol layers instead of a single layer, the coupling between layers is reduced, ensuring a certain degree of controlled interaction between layers. While satisfying the requirement of providing prior information for algorithms at each layer, network overhead is greatly reduced, ensuring that nodes across the entire network can share situation information in real time, and forming a distributed situation awareness system. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0042] Figure 1 This is a flowchart of the first embodiment of the network situation information processing method of the present application;

[0043] Figure 2 Design protocol framework and interface call diagram for cross-layer network situation information of this application;

[0044] Figure 3 This is a flow chart of the second embodiment of the network situation information processing method of the present application;

[0045] Figure 4 This is a schematic diagram of the implementation of the first situation information module of this application;

[0046] Figure 5 This is a schematic diagram of the implementation of the second situation information module of this application;

[0047] Figure 6 This is a communication diagram of the node network situation information sharing database for this application;

[0048] Figure 7 This is a flowchart of the third embodiment of the network situation information processing method of the present application;

[0049] Figure 8 It is a schematic diagram of a multi-hop network;

[0050] Figure 9 Schematic diagram of node sending order and time;

[0051] Figure 10 This is a diagram of the node's first broadcast grouping;

[0052] Figure 11 This is a schematic diagram of the node's second broadcast grouping;

[0053] Figure 12 Schematic diagram of the node sending time replacement scheme;

[0054] Figure 13 This is a schematic diagram of the module structure of the network situation information processing device according to an embodiment of the present application;

[0055] Figure 14This is a schematic diagram of the device structure of the hardware operating environment involved in the network situation information processing method in the embodiment of the present application.

[0056] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0057] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0058] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0059] The main solution of the embodiment of the present application is: dividing the acquired network situation information into local situation information and global situation information according to each layer protocol; converting the local situation information and the global situation information into entries, and adding them to the network situation information library of each node; broadcasting the network situation information library of each node in sequence through a preset period, and updating the network situation information library of each node based on the broadcast results.

[0060] The movement of nodes in mobile ad hoc networks causes the network topology and link status to constantly change. Simultaneously, the transmission of various services causes the status of each node (such as transmission queue size and service QoS requirements) to constantly change. Existing network situational information discovery algorithms are mostly implemented in conjunction with routing protocols. In engineering practice, these algorithms can be categorized as those based on the Simple Network Management Protocol (SNMP) or TCP / IP, depending on the protocol used. Currently, network situational information discovery is implemented at a specific layer within a layered architecture. For example, based on a specific routing protocol, situational information is used as a network layer payload to achieve network-wide distribution of situational information. However, network situational information not only provides the necessary foundation for network layer routing and application layer network management, but also provides prior information for wireless access at the MAC layer, thereby potentially improving MAC layer transmission performance. Current situational information discovery technologies based above the network layer are unable to provide information on demand based on the needs of different protocol layers to meet the content and timeliness requirements of each protocol layer. This leads to problems such as excessive sensing overhead and delayed sensing.

[0061] Therefore, the present application provides a method for network situation perception and distribution based on a cross-layer protocol. In the proposed method, the network situation information is divided into two independent parts: the first part is the local network situation information element, which is carried by the frame body part of the function frame of the MAC layer. The second part is the global network situation information element, which is carried by the frame body part of the data frame of the transport layer as application layer data. The content, triggering method and cycle of the two parts of situation information, as well as the sending priority and even the occupied resources are independently designed according to actual needs, but the perceived information can be shared across layers. The network situation information is divided into two parts: for the local network situation information of the first part, the MAC layer can be used to decide the media access plan within the one-hop transmission range. For the global network situation information of the second part, the network layer can be used to decide the routing within the global range, and the application layer can be used for upper-layer application services such as network management and human-computer interaction display. In addition to solving the full protocol stack sharing of network situation information, this method flexibly designs interactive elements according to the different needs of situation information at each layer to reduce the amount of transmitted data.

[0062] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a computer, or an electronic device capable of implementing the above functions. The following uses a mobile ad hoc network as an example to illustrate this embodiment and the following embodiments.

[0063] Based on this, the embodiment of the present application provides a method for processing network situation information, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the network situation information processing method of the present application.

[0064] In this embodiment, the network situation information processing method includes:

[0065] Step S10, divide the acquired network situation information into local situation information and global situation information according to each layer protocol, wherein the local situation information is carried by the frame body part of the function frame of the media access control layer, and the global situation information is carried by the frame body part of the transport layer data frame as application layer data.

[0066] It should be noted that cross-layer protocol design mainly refers to the interaction between the situation information carried by the MAC layer, the situation information carried by the application layer, and each protocol layer. Network status information is no longer limited to topology information, but has been expanded to include multi-dimensional information elements, including network topology, node load information, channel quality information, service demand QoS, etc. This type of information is collectively referred to as network situation information, which refers to dynamic and static parameters that can characterize the current network status characteristics. Network situation information can be divided into two parts based on the protocol requirements of each layer. The first part is the local situation information element. The local situation information is carried by the MAC layer and transmitted by the frame body of the MAC layer function class. The second part of the network situation information is the global situation information, which is carried by the application layer and transmitted by the frame body of the transport layer data frame.

[0067] It should be understood that local situational information refers to specific situational information within a certain range around a node, such as within k hops, where k ≥ 2. This specific situational information element is determined by the MAC layer media access algorithm and includes, but is not limited to, data cache queue length, topology, link quality, and so on. The MAC layer uses local situational information to determine the media access scheme within a single-hop transmission range. In mobile ad hoc networks, due to factors such as the distributed multi-hop environment and the presence of hidden and exposed terminals, the complexity of MAC protocol design far exceeds that of typical centralized single-hop wireless networks. The MAC layer utilizes the first portion of network situational information to design MAC layer protocols and related algorithms, reducing or eliminating wireless collisions and improving channel utilization. Therefore, the first portion of information elements is determined by the collection of network situation prior information required by the MAC layer media access algorithm.

[0068] It should be understood that global situational information refers to the situational information perceived and distributed by the current node, regardless of the topological scope. This situational information elements are determined by the network layer routing algorithm and the service requirements of the application layer, including but not limited to data cache queue length, topological status, link quality, geographic location information, node mobility speed, etc. The network layer utilizes the information elements of the second part of the network situation to solve routing problems. The application layer utilizes these information elements for application services such as human-computer interaction interface display, network management, and mobility detection. Therefore, the information elements of the second part are determined by the network layer routing algorithm and the combination of the prior network situation information required by the application layer services.

[0069] It is understandable that network status information is divided into two independent parts based on the protocol requirements of each layer. These two parts of status information contain different information elements and are carried and distributed by different protocol layers in independent triggering methods and different sending cycles. The sending priority, occupied resources, etc. are independently designed according to actual needs. Different sending priorities here refer to the MAC layer assigning a separate queue for each level of traffic priority, thereby supporting multi-level priorities; occupied resources refer to the ability to divide time resources so that the two independent parts of network status information can be transmitted at different time periods, or frequency resources can be divided so that the two independent parts of network status information can be transmitted at different frequencies. At the same time, the two parts of status information complete specific interactions regularly.

[0070] Step S20: convert the local situation information and the global situation information into entries, and add them into the network situation information library of each node.

[0071] It should be noted that each node in the network maintains a situation information database, which may contain one or more items of situation information as needed. Each item includes, but is not limited to, an item identifier, item data, and an item timestamp. This information can be mapped into various fields of the protocol frame for transmission.

[0072] In one example, reference Figure 2 , Figure 2 The protocol framework and interface call diagram for the cross-layer design of network situation information for this application are as follows. In this example, at the physical layer, the MAC layer uses Algorithm 1 to optimize the media access scheme within the one-hop transmission range and obtain information from the network situation information library 1. The network layer uses Algorithm 2 to optimize the routing protocol. The application service can directly call the information of the network situation information library 2 in the application layer to provide situation support for the application layer business. The application layer includes application service functions such as network agents. The network situation information library 2 stores global network situation information. Through the cross-layer call interface, it interacts with the network situation information library 1 of the MAC layer to realize cross-layer sharing of information. Direct calls are used between the same layers, and cross-layer interactions are carried out through specific interfaces.

[0073] Step S30 : broadcasting the network situation information base of each node in sequence at a preset period, and updating the network situation information base of each node based on the broadcast result.

[0074] It is understood that nodes need to maintain this information database to always retain the latest entry data. Maintenance refers to adding, updating, and deleting entry content based on the timeliness of situation information. The sources of data and its timeliness include: 1. The node's own status information, such as node load. 2. Detection information during the reception process, such as channel status and one-hop neighbor relationships. 3. Received broadcast packet information, i.e., the situation information database of the neighboring node. When a node receives a situation information packet broadcast by a neighboring node, it first extracts the information detected during the reception process, such as determining the connection relationship between one-hop neighbor nodes and detecting the channel status between the two nodes, and updates or adds this information to the corresponding entry in the local situation information database. Next, it extracts the various entries of semantic information from the received packet, combines those with the same entry identifier in the local situation information database into one entry, and determines whether to update the entry data based on the entry's time identifier. Entries with different time identifiers are added to the local situation information database. When the timeliness of an entry's time identifier in the situation information database exceeds a set threshold, the entry is deleted from the information database.

[0075] It should be understood that in traditional flooding-based situation distribution methods, nodes periodically broadcast information about themselves and their one-hop neighbors. Nodes that receive the relevant situation information then decide whether to broadcast and forward it based on information such as the Time-To-Live (TTL). Unlike traditional methods where nodes periodically broadcast information about themselves and their one-hop neighbors, in this application, nodes periodically broadcast all or part of the contents of their local situation information database on demand, and nodes that receive the information no longer forward it.

[0076] In this embodiment, acquired network status information is divided into local status information and global status information based on the protocols at each layer. These local status information and global status information are converted into entries and added to the network status information database of each node. The network status information database of each node is broadcast sequentially at a preset period, and the database of each node is updated based on the broadcast results. The content, triggering method, and period, as well as the transmission priority and even the resource usage of the two components of status information are independently designed based on actual needs, tailored to the requirements of different protocol layers. For efficient MAC layer access protocols, precise and rapid local network status information is required; however, for node routing, the comprehensiveness of network status information is more demanding, while its timeliness is significantly reduced. Therefore, for large-scale mobile ad hoc networks, the smaller, more frequently transmitted components of the update information are transmitted separately. This not only provides prior information for algorithms at each layer, but also significantly reduces network overhead, ensuring that nodes across the entire network can share status information in real time, forming a distributed situational awareness system. Carrying the two components of network status information across two protocol layers rather than a single layer reduces the coupling between layers and ensures a certain level of controlled interaction between them. At the same time, information can be sent by reserving resources, using different sending priorities, etc., which is not only more flexible but also easier to implement and maintain.

[0077] Reference Figure 3 , Figure 3 This is a flow chart of the second embodiment of the network situation information processing method of the present application. Based on the above-mentioned first embodiment, the second embodiment of the network situation information processing method of the present application is proposed.

[0078] In the second embodiment, step S30 includes:

[0079] Step S301: When the first sending cycle of the current node is triggered, the local situation information of the current node is broadcast and distributed through the first situation information module to obtain a first distribution result.

[0080] It should be noted that the first transmission period is the transmission period configured by the MAC layer configuration item. The first situation information module maintains local situation information and determines the required network situation based on the MAC layer algorithm. This includes two aspects: the range of perceived neighbor nodes and the situation information elements of the perceived nodes. For example, this may include the length of the transmit data buffer queue of neighbor nodes within a k = 2 hop range and the topological link status within this range (including topology structure and channel quality).

[0081] Furthermore, in order to provide the media access control layer with accurate prior knowledge and improve channel utilization and data transmission reliability, the first situation information module includes a first perception module, a first network situation information database, and a first transceiver module. Step S301 may include:

[0082] A first network status of a current node is determined according to a preset first algorithm, wherein the preset first algorithm is applied to a media access control layer and is used to optimize a media access scheme within a one-hop transmission range of the current node; when a first sending cycle of the current node is triggered, the local status information is obtained from a first network status information library of the current node through a first perception module and the first network status; the local status information is transmitted to a first transceiver module, and encapsulated according to a preset media access control function frame to obtain a media access control frame; the media access control frame is placed in a sending cache queue according to a preset priority, and sent to a neighboring node corresponding to the current node to obtain a first distribution result.

[0083] In one example, reference Figure 4 , Figure 4 This is a schematic diagram of the implementation of the first situation information module of this application. Situation information module 1 includes the following three modules: network situation information repository 1, perception module 1, and transceiver module 1. Network situation information repository 1 stores the first portion of network situation information; perception module 1 processes the first portion of situation information, processing it and performing operations such as adding, updating, and deleting it; and transceiver module 1 sends and receives the first portion of network situation information.

[0084] The MAC layer configuration item configuration triggers the first sending cycle T1, and T1 meets the information timeliness requirements of Algorithm 1. When the cycle T1 arrives, the perception module 1 obtains the current situation information of this node from the network situation information library 1, and then all the situation information in the network situation information library 1 is passed to the transceiver module 1. The transceiver module 1 receives the data sent by the perception module 1, encapsulates it according to the MAC function frame type, and puts it into the sending cache queue for transmission according to a specific priority. The MAC type frame should contain the following fields: sending node address, situation frame type (situation module 1), entry identifier, entry data, entry time identifier, etc. The MAC layer of the neighboring node receives the MAC frame, identifies this MAC frame as an information frame of the situation module 1 through the situation frame type field, and sends it to the transceiver module 1 of this node. The perception module 1 judges the status of each item of situation information in the data packet based on the content in the network situation information library 1. If the entry doesn't exist in Network Situation Information Library 1, it is added to Network Situation Information Library 1. If the entry already exists, the timeliness of the received entry is compared with the corresponding entry in Network Situation Information Library 1. If the timeliness is higher, it is updated to the Network Situation Information Library 1 module. The node checks the timeliness of Network Situation Information Library 1 in real time and deletes any entries that have timed out.

[0085] Step S302: When the second sending cycle of the current node is triggered, the global situation information of the current node is broadcast and distributed through the second situation information module to obtain a second distribution result.

[0086] It should be noted that the second sending period is the sending period configured by the network layer configuration item. The second situation information module maintains global situation information and determines the required network situation based on network layer algorithm 2 and the functional requirements of the application layer. This includes two aspects: the range of perceived neighbor nodes and the situation information elements of the perceived nodes. For example, this may include: the length of the send data cache queue of all nodes in the entire network, the topological link status of the entire network (including topology structure and channel quality), the location information of all nodes in the entire network, and the movement speed.

[0087] Furthermore, in order to enable the network layer to select a more stable and efficient routing path by integrating global information such as multi-hop topology and node movement trajectory, and effectively reduce the problem of frequent routing switching caused by node movement, the second situation information module includes a second perception module, a second network situation information library, and a second transceiver module, and the step S302 may include:

[0088] The second network situation of the current node is determined according to the functional requirements of the preset second algorithm and the application layer, wherein the preset second algorithm is applied to the network layer for optimizing the routing protocol; when the second sending cycle of the current node is triggered, the global situation information is obtained from the second network situation information library of the current node through the second perception module and the second network situation; the global situation information is transmitted to the second transceiver module, encapsulated according to the preset application data, and the encapsulation result is encapsulated to the lower layer through the transport layer port to obtain a transport layer data frame; the transport layer data frame is placed in a sending cache queue according to the preset priority, and sent to the neighboring node corresponding to the current node to obtain a second distribution result.

[0089] In one example, reference Figure 5 , Figure 5 This is a schematic diagram of the second situation information module of this application. Situation information module 2 includes the following three modules: network situation information repository 2, perception module 2, and transceiver module 2. Network situation information repository 2 stores the second portion of network situation information; perception module 2 processes the second portion of situation information, performing operations such as adding, updating, and deleting the received second portion of network situation information; and transceiver module 2 transmits and receives the first portion of network situation information.

[0090] The network layer configuration item configuration triggers the sending period T2, and T2 meets the information timeliness requirements of algorithm 2 and the application layer functional requirements. When the period T2 arrives, the perception module 2 obtains the current situation information of this node from the network situation information library 2, and then all the situation information in the network situation information library 2 is passed to the transceiver module 2. The transceiver module 2 receives the data sent by the perception module 2, encapsulates it according to the application data, and finally puts it into the MAC layer sending cache queue after encapsulation to the lower layer through the transport layer port and sends it according to a specific priority. The application data sending protocol can be customized by different applications and should include the following fields: data type (situation module 2), local node ID number, entry identifier, entry data, entry time identifier, etc. The neighboring node receives the application data, parses it layer by layer, and uploads it to the application layer transceiver module 2 from the corresponding port. It is identified as the second part of the situation information through the data type field and sent to the perception module 2. The perception module 2 judges the status of each item of the situation information in the data packet based on the content in the network situation information library 2. If the entry doesn't exist in Network Situation Information Library 2, it's added to it. If the entry already exists, the received entry is compared with the corresponding entry in Network Situation Information Library 2 for timeliness. If the timeliness is higher, it's updated to the Network Situation Information Library 2 module. The node checks the timeliness of Network Situation Information Library 2 in real time and deletes any entries that have timed out.

[0091] Step S303: Update the network situation information database of the neighboring nodes corresponding to the current node based on the first distribution result and / or the second distribution result.

[0092] It is understood that, in addition to updating the network status information database 1 by sensing the first portion of network status information sent by neighboring nodes, nodes can also update the database 1 through the following methods: 1. Periodically updating the node's own load information; 2. Receiving data packets from neighboring nodes to update the link status with neighboring nodes; 3. Other related updates to the first portion of network status information. All of these updates are performed by comparing the timeliness of related entries through the sensing module 1.

[0093] Furthermore, in order to enable the two parts of the situation information library to share information between each layer through the direct communication interface between the layers and serve each protocol layer, a complete situation information fusion system is constructed. After the step S303, it also includes:

[0094] When the third sending cycle of the current node is triggered, all situation information in the first network situation information library of the current node is sent across layers to the second situation information module through the first situation information module; the status of each item in the all situation information is judged through the second perception module and the second network situation information library in the second situation information module; and the second network situation information library in the second situation information module is updated according to the status.

[0095] In one example, reference Figure 6 , Figure 6 This is a communication diagram of the shared database for network situation information of nodes in this application. The two-part situation information library can share information between layers through direct communication interfaces between layers and serve each protocol layer. Other modules in the same layer can directly access the data information of this layer, and cross-layer access can provide data sharing by creating a new SAP (Service Access Point) as an upward information flow or a downward information flow. Alternatively, the two-part situation information library can provide information to all layers in the form of a shared database, as shown in the figure. The shared database is a public data storage area accessible to all layers. A new interaction interface is designed between different protocol layers and the shared database to provide storage / retrieval services for various modules in different protocol layers, such as Algorithm 1 directly connected to the MAC layer, Algorithm 2 of the network layer, and application services of the application layer.

[0096] According to the configuration, the node triggers the third transmission cycle T1', sending all current situation information in Network Situation Information Repository 1 across multiple layers to Situation Information Module 2. Perception Module 2 then determines the status of each situation information entry in Network Situation Information Repository 1 based on the content in Network Situation Information Repository 2. If the entry does not exist in Network Situation Information Repository 2, it is added to Network Situation Information Repository 2. If the entry already exists, the received entry is compared with the corresponding entry in Network Situation Information Repository 2 for timeliness. If the timeliness is higher, it is updated to Network Situation Information Repository 2.

[0097] In this embodiment, when the first transmission cycle of the current node is triggered, the local situation information of the current node is broadcast and distributed via the first situation information module, obtaining a first distribution result. When the second transmission cycle of the current node is triggered, the global situation information of the current node is broadcast and distributed via the second situation information module, obtaining a second distribution result. Based on the first distribution result and / or the second distribution result, the network situation information database of the neighboring nodes corresponding to the current node is updated. Through layered distribution, the requirements for situation information timeliness at different levels are met, while unnecessary information redundancy is effectively reduced, thereby lowering network overhead.

[0098] Reference Figure 7 , Figure 7 This is a flow chart of the third embodiment of the network situation information processing method of the present application. Based on the above second embodiment, the third embodiment of the network situation information processing method of the present application is proposed.

[0099] In the third embodiment, step S303 includes:

[0100] Step S3031: Determine the situation information items received by each of the neighboring nodes based on the first distribution result and / or the second distribution result, wherein each of the situation information items includes an item identifier, item data, and an item time identifier.

[0101] As can be understood, to address the network resource consumption issues caused by traditional flooding methods for situation distribution, this embodiment utilizes a data broadcast distribution method based on situation fusion, applied to the situation distribution process in the first and second network situation information repositories. Each situation information entry includes, but is not limited to, an entry identifier, entry data, and an entry time identifier. The entry identifier refers to the identifier of the situation information, such as a node or link; the entry data represents the specific content of the situation information; and the entry time identifier indicates the time attribute of the entry data.

[0102] Step S3032: Compare the situation information entry with the local entry in the network situation information database of the neighboring node.

[0103] It can be understood that the local situation information library is compared with the received one, and when a new entry is received, it is directly added to the local semantic information library; when an existing entry is received, the entry time stamp is further compared, and if the time is the same, the received entry is ignored, and if the time is different, the latest entry data and time stamp of the two are retained.

[0104] Step S3033: If the entry identifier of the situation information entry does not match the local entry, then the situation information entry is added to the network situation information database.

[0105] Understandably, if a mismatch is found, it means this is new situation information that has not yet been recorded in the local information database. In order for the local node to have a more comprehensive and accurate understanding of the network situation, it needs to add this new situation information entry to its own network situation information database, so that subsequent network-related decisions can be based on more complete information.

[0106] Step S3034: If the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is the same as that of the local entry, then the situation information entry is ignored.

[0107] It is understood that if the comparison finds that the item identifier of the situation information item matches the item identifier of a local item in the local information database, and the item timestamp is also the same, this indicates that the same situation information with the same timeliness already exists in the local information database. In this case, the received situation information item does not bring new valid content. To avoid information redundancy and unnecessary processing, the node will ignore this situation information item and perform no additional operation.

[0108] Step S3035: If the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is different from the local entry, then compare the time validity of the entry time identifiers and retain the entry with the newer time validity.

[0109] In one example, reference Figure 8 、 Figure 9 、 Figure 10 、 Figure 11 and Figure 12 . Figure 8 is a multi-hop network diagram. Figure 9 This is a diagram of the node sending order and time. Figure 10 This is a diagram of the node's first broadcast grouping. Figure 11 This is a diagram of the node's second broadcast grouping. Figure 12 Schematic diagram of the node sending time replacement scheme.

[0110] The network status information in this example includes: node load, channel quality, and network topology. This description only focuses on the data broadcast distribution method of situation fusion, without limiting the scope of fusion, that is, without limiting the first part of network situation information and the second part of network situation information. Figure 8 The network topology shown in the figure includes 4 nodes, where node 1 is connected to nodes 2 and 4, node 2 is connected to nodes 1 and 4, and node 3 is connected to node 4. The node broadcasts network status information at a period of T, and the node sends the information at the time and in the order shown in the figure. Figure 9 As shown in the figure, the time and order of each node's two broadcast packet transmissions are shown. The specific implementation is as follows:

[0111] Step 1: Node 1 sends the message at time t1, triggering the broadcast of the network status packet. At this time, the network status information database of node 1 only contains the load information of this node, i.e. Figure 10 Broadcast packet 1 only contains the load of node 1 (Buf1) and the sending time (t1). According to the unified expression method of the whole network items: the item identifier is (1), the item data is Buf1, and the item time identifier is t1.

[0112] In step 2, nodes 2 and 4 receive packet 1. At this time, the network status information database of node 2 is shown in Table 1.

[0113] Table 1 Network status information database after node 2 receives packet 1

[0114] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-2) SNR12 t1

[0115] For node 2, node 1 is taken as a one-hop neighbor node, and the channel quality SNR12 from node 1 to node 2 is detected. At the same time, the data content in broadcast packet 1 is parsed and the above information is updated to the local network situation information database.

[0116] Similarly, after receiving node 4 receives packet 1, the network status information library of node 4 is shown in Table 2 below:

[0117] Table 2 Network status information database after node 4 receives packet 1

[0118] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-4) SNR14 t1

[0119] Step 3: When the sending time t2 of node 2 arrives, node 2 adds the load information of the node to the network status information database. At this time, the network status information sent by group 2 is shown in Table 3.

[0120] Table 3 Network situation information database within node 2 group 2

[0121] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-2) SNR12 t1 (2) Buf2 t2

[0122] In step 4, node 2 sends packet 2, which is received by nodes 1 and 4. For node 4, the network status information in Table 2 and Table 3 is merged and processed based on the entry identifier and entry time identifier. Entry (1) in Table 2 and entry (1) in Table 3 are merged into one entry. An entry (2-4) for the channel quality detected from node 2 to node 4 and a new entry (2) in packet 2 are added. The resulting network status information database is shown in Table 4. After node 1 receives packet 2, it also updates the network status information.

[0123] Table 4 Network status information database after node 4 receives packet 2

[0124] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-2) SNR12 t1 (1-4) SNR14 t1 (2) Buf2 t2 (2-4) SNR24 t2

[0125] Step 5: When the sending time t3 of node 3 arrives, node 4 receives it, and the network situation information fusion method is the same as step 2.

[0126] Step 6: When the sending time t4 of node 4 arrives, nodes 1, 2, and 3 receive it. The network situation information fusion method is the same as steps 2 and 4. At this time, the network situation information database of nodes 1, 2, and 3 is shown in Tables 5, 6, and 7.

[0127] Table 5 Network status information database after node 1 receives packet 4

[0128] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-2) SNR12 t1 (1-4) SNR14 t1 (2) Buf2 t2 (2-1) SNR21 t2 (2-4) SNR24 t2 (3) Buf3 t3 (3-4) SNR34 t3 (4) Buf4 t4 (4-1) SNR41 t4

[0129] Table 6 Network status information database after node 2 receives packet 4

[0130] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-2) SNR12 t1 (1-4) SNR14 t1 (2) Buf2 t2 (2-1) SNR21 t2 (2-4) SNR24 t2 (3) Buf3 t3 (3-4) SNR34 t3 (4) Buf4 t4 (4-2) SNR42 t4

[0131] Table 7 Network status information database after node 3 receives packet 4

[0132] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-2) SNR12 t1 (1-4) SNR14 t1 (2) Buf2 t2 (2-4) SNR24 t2 (3) Buf3 t3 (3-4) SNR34 t3 (4) Buf4 t4 (4-3) SNR43 t4

[0133] Step 7, enter the next cycle, send the packet diagram as shown below Figure 11 Node 1 updates the load information of the node to the corresponding status information entry, that is, update entry (1) in Table 5, and the sending time t5 arrives. At this time, the network status information sent by node 1 is shown in Table 8.

[0134] Table 8 Network situation information database within node group 5

[0135] Entry ID Entry Data Entry timestamp (1) Buf1' t5 (1-2) SNR12 t1 (1-4) SNR14 t1 (2) Buf2 t2 (2-1) SNR21 t2 (2-4) SNR24 t2 (3) Buf3 t3 (3-4) SNR34 t3 (4) Buf4 t4 (4-1) SNR41 t4

[0136] In step 8, nodes 2 and 4 receive packet 5. Node 2 compares local situation information table 6 with received situation information table 8 and updates the local entries with the same identifier to the latest received data and time identifier, i.e., updates entry (1). At the same time, it detects new link information from node 1 to node 2, updates entry (1-2), and combines the fusion method of steps 2 and 4. At this point, node 2's network situation information library is shown in Table 9.

[0137] After node 4 receives packet 5, the fusion method is the same as when node 2 receives packet 5.

[0138] Table 9 Network status information database after node 2 receives packet 5

[0139] Entry ID Entry Data Entry timestamp (1) Buf1' t5 (1-2) SNR12' t5 (1-4) SNR14 t1 (2) Buf2 t2 (2-1) SNR21 t2 (2-4) SNR24 t2 (3) Buf3 t3 (3-4) SNR34 t3 (4) Buf4 t4 (4-1) SNR41 t4 (4-2) SNR42 t4

[0140] Step 9: Node 2 sends the message at time t6, and obtains the network status information in group 6 based on the method in Table 9 and step 7.

[0141] In step 10, nodes 1 and 4 receive packet 6 and perform fusion according to the method in step 8. The network status information database after node 4 receives packet 6 is shown in Table 10.

[0142] Table 10 Network status information database after node 4 receives packet 6

[0143] Entry ID Entry Data Entry timestamp (1) Buf1' t5 (1-2) SNR12' t5 (1-4) SNR14' t5 (2) Buf2' t6 (2-1) SNR21 t2 (2-4) SNR24' t6 (3) Buf3 t3 (3-4) SNR34 t3 (4) Buf4 t4 (4-1) SNR41 t4 (4-2) SNR42 t4

[0144] In step 11, when the sending time t7 arrives, node 3 obtains the network status information of group 7 based on the method of step 7 in Table 7 as shown in Table 11.

[0145] Table 11 Network situation information database within node 3 group 7

[0146] Entry ID Entry Data Entry timestamp (1) Buf1 t1 (1-2) SNR12 t1 (1-4) SNR14 t1 (2) Buf2 t2 (2-4) SNR24 t2 (3) Buf3' t7 (3-4) SNR34 t3 (4) Buf4 t4 (4-3) SNR43 t4

[0147] In step 12, node 4 receives packet 7 and compares local state information table 10 with received state information table 11. Local entries (1), (1-2), (1-4), (2), and (2-4) have time stamps greater than those in the received packet, so these entries are ignored. The remaining entries are fused as described in step 8, resulting in the network status information database for node 4 after receiving packet 7, as shown in Table 12.

[0148] Table 12 Network status information database after node 4 receives packet 6

[0149] Entry ID Entry Data Entry timestamp (1) Buf1' t5 (1-2) SNR12' t5 (1-4) SNR14' t5 (2) Buf2' t6 (2-1) SNR21 t2 (2-4) SNR24' t6 (3) Buf3' t7 (3-4) SNR34' t7 (4) Buf4 t4 (4-1) SNR41 t4 (4-2) SNR42 t4

[0150] Of course, the node periodicity mode is not limited to the mode in the figure, for example, the MAC layer configuration item configures the trigger transmission period T1, and the network layer configuration item configures the trigger transmission period T2. Figure 12 Node broadcast is triggered by a method described as follows: Under the condition that all nodes in the network have reached the same window period, each node only transmits its local situation information database once within each window. Within this period, the node's transmission time can be randomly selected based on the detected channel occupancy. In other words, the transmission order and transmission time of all nodes in each window may be different.

[0151] In this embodiment, the situation information entries received by each of the neighboring nodes are determined based on the first distribution result and / or the second distribution result, wherein each of the situation information entries includes an entry identifier, entry data, and an entry time identifier; the situation information entry is compared with the local entry in the network situation information library of the neighboring node; if the entry identifier of the situation information entry does not match the local entry, the situation information entry is added to the network situation information library; if the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is the same as the local entry, the situation information entry is ignored; if the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is different from the local entry, the timeliness of the entry time identifiers is compared, and the entry with newer timeliness is retained. The data broadcast distribution method based on situation fusion reduces the number of business flooding of broadcast messages, reduces the amount of forwarded data, and reduces the number of times nodes process duplicate information.

[0152] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the network situation information processing method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0153] This application also provides a network situation information processing device, please refer to Figure 13, the network situation information processing device includes:

[0154] An information sensing and distribution module 10 is configured to divide the acquired network situation information into local situation information and global situation information according to protocols at each layer, wherein the local situation information is carried in the frame body of the function frame of the media access control layer, and the global situation information is carried as application layer data in the frame body of the transport layer data frame;

[0155] An information entry storage module 20, configured to convert the local situation information and the global situation information into entries and add them into a network situation information library of each node;

[0156] The information distribution and update module 30 is used to broadcast the network situation information base of each of the nodes in sequence through a preset period, and update the network situation information base of each of the nodes based on the broadcast results. The network situation information processing device provided by the present application adopts the network situation information processing method in the above embodiment, which can solve the technical problem that the current network situation perception cannot provide corresponding information on demand according to the needs of different protocol layers. Compared with the existing technology, the beneficial effects of the network situation information processing device provided by the present application are the same as the beneficial effects of the network situation information processing method provided by the above embodiment, and the other technical features in the network situation information processing device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0157] The present application provides a network situation information processing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the network situation information processing method in the above-mentioned embodiment 1.

[0158] Reference below Figure 14 , which shows a schematic diagram of the structure of a network situation information processing device suitable for implementing the embodiments of the present application. The network situation information processing device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 14 The network situation information processing device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0159] like Figure 14 As shown, the network situation information processing device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory 1002 or programs loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the network situation information processing device. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems may be connected to the input / output interface 1006: an input device 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the network situation information processing device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a network situation information processing device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have alternatively.

[0160] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are performed.

[0161] The network situation information processing device provided in this application, utilizing the network situation information processing method described in the aforementioned embodiment, can resolve the current technical issue of network situation awareness being unable to provide on-demand information tailored to the needs of different protocol layers. Compared to the prior art, the beneficial effects of the network situation information processing device provided in this application are the same as those of the network situation information processing method described in the aforementioned embodiment. Other technical features of this network situation information processing device are the same as those disclosed in the aforementioned embodiment and are not further elaborated upon here.

[0162] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0163] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0164] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the network situation information processing method in the above embodiment.

[0165] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0166] The computer-readable storage medium may be included in the network situation information processing device; or may exist independently without being assembled into the network situation information processing device.

[0167] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the network situation information processing device, the network situation information processing device executes the network situation information processing method described above.

[0168] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0169] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of code, and the module, program segment or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.

[0170] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0171] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned network situation information processing method. This computer-readable storage medium can address the current technical issue of network situation awareness being unable to provide on-demand information for different protocol layers. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the network situation information processing method provided in the aforementioned embodiments, and are not further elaborated here.

[0172] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned network situation information processing method when executed by a processor.

[0173] The computer program product provided in this application can address the current technical issue of network situational awareness being unable to provide information on demand for different protocol layers. Compared to the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the network situation information processing method provided in the aforementioned embodiment, and are not further elaborated here.

[0174] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for processing network situation information, characterized in that: The network situation information processing method includes: The obtained network situation information is divided into local situation information and global situation information according to the protocols of each layer, wherein the local situation information is carried by the frame body of the function frame of the media access control layer, and the global situation information is carried by the frame body of the transport layer data frame as application layer data; Converting the local situation information and the global situation information into entries and adding them into the network situation information library of each node; The network situation information base of each node is broadcasted in sequence at a preset period, and the network situation information base of each node is updated based on the broadcast result.

2. The network situation information processing method according to claim 1, wherein: The step of broadcasting the network situation information base of each node in sequence at a preset period, and updating the network situation information base of each node based on the broadcast result, includes: When the first sending cycle of the current node is triggered, the local situation information of the current node is broadcast and distributed through the first situation information module to obtain a first distribution result; When the second sending cycle of the current node is triggered, the global situation information of the current node is broadcast and distributed through the second situation information module to obtain a second distribution result; A network situation information database of neighbor nodes corresponding to the current node is updated based on the first distribution result and / or the second distribution result.

3. The network situation information processing method according to claim 2, wherein: The first situation information module includes a first perception module, a first network situation information database, and a first transceiver module. When the first sending cycle of the current node is triggered, the step of broadcasting and distributing the local situation information of the current node through the first situation information module to obtain a first distribution result includes: determining a first network status of the current node according to a preset first algorithm, wherein the preset first algorithm is applied to a media access control layer and is used to optimize a media access scheme within a one-hop transmission range of the current node; When the first sending cycle of the current node is triggered, obtaining the local situation information from the first network situation information database of the current node through the first perception module and the first network situation; The local situation information is transmitted to the first transceiver module, and encapsulated according to a preset media access control function frame to obtain a media access control frame; The media access control frame is placed into a sending buffer queue according to a preset priority, and is sent to a neighboring node corresponding to the current node to obtain a first distribution result.

4. The network situation information processing method according to claim 2, wherein: The second situation information module includes a second perception module, a second network situation information database, and a second transceiver module. When the second sending cycle of the current node is triggered, the global situation information of the current node is broadcast and distributed through the second situation information module to obtain a second distribution result, including: Determining a second network situation of the current node according to a preset second algorithm and functional requirements of the application layer, wherein the preset second algorithm is applied to the network layer to optimize the routing protocol; When the second sending cycle of the current node is triggered, obtaining the global situation information from the second network situation information library of the current node through the second perception module and the second network situation; The global situation information is transmitted to the second transceiver module, encapsulated according to the preset application data, and the encapsulated result is encapsulated to the lower layer through the transport layer port to obtain a transport layer data frame; The transport layer data frame is placed into a sending buffer queue according to the preset priority, and is sent to a neighboring node corresponding to the current node to obtain a second distribution result.

5. The network situation information processing method according to claim 2, wherein: The step of updating the network situation information database of the neighboring nodes corresponding to the current node based on the first distribution result and / or the second distribution result includes: Determine, based on the first distribution result and / or the second distribution result, the situation information entries received by each of the neighboring nodes, wherein each of the situation information entries includes an entry identifier, entry data, and an entry time identifier; Comparing the situation information entry with a local entry in a network situation information repository of the neighboring node; If the entry identifier of the situation information entry does not match the local entry, adding the situation information entry into the network situation information database; If the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is the same as the local entry, ignoring the situation information entry; If the entry identifier of the situation information entry matches the local entry, and the entry time identifier of the situation information entry is different from the local entry, the time validity of the entry time identifiers is compared, and the entry with the newer time validity is retained.

6. The network situation information processing method according to claim 2, wherein: After the step of updating the network situation information database of the neighboring nodes corresponding to the current node based on the first distribution result and / or the second distribution result, the method further includes: When the third sending cycle of the current node is triggered, all situation information in the first network situation information library of the current node is sent across layers to the second situation information module through the first situation information module; Determine the status of each item in the entire situation information by using the second perception module and the second network situation information library in the second situation information module; The second network situation information database in the second situation information module is updated according to the status.

7. A network situation information processing device, characterized in that: The device comprises: An information perception and distribution module is configured to divide the acquired network situation information into local situation information and global situation information according to protocols at each layer, wherein the local situation information is carried by the frame body of the function frame of the media access control layer, and the global situation information is carried as application layer data by the frame body of the transport layer data frame; An information entry storage module, configured to convert the local situation information and the global situation information into entries and add them into a network situation information library of each node; The information distribution and updating module is used to broadcast the network situation information base of each node in sequence through a preset period, and update the network situation information base of each node based on the broadcast result.

8. A network situation information processing device, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the network situation information processing method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the network situation information processing method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the network situation information processing method according to any one of claims 1 to 6 are implemented.