Data processing method, apparatus and network device
By using multi-channel network devices to send test messages during emergency rescue to construct a communication environment quality map, and selecting the optimal channel for data packet forwarding, problems such as unstable signals, coverage blind spots, and protocol incompatibility are solved, enabling fast and accurate information transmission and improving the communication efficiency of emergency rescue.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING GUOYUN DIGITAL TECHNOLOGY CO LTD
- Filing Date
- 2026-04-27
- Publication Date
- 2026-07-17
AI Technical Summary
Existing communication technologies suffer from problems such as signal interruption, high latency, limited coverage, deployment difficulties, and protocol incompatibility in emergency rescue scenarios, resulting in untimely and unstable information transmission and affecting rescue efficiency.
By configuring network devices with multiple communication channels, sending test messages and receiving feedback messages, a communication environment quality map is constructed, and the optimal communication channel is selected for data packet forwarding to ensure the real-time performance, reliability, and security of information.
It enables rapid and accurate information transmission in complex environments, solves problems such as unstable signals, coverage blind spots, frequency band congestion, and protocol incompatibility, and improves communication efficiency and collaborative operation capabilities in emergency rescue.
Smart Images

Figure CN122420157A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a data processing method, apparatus, and network equipment. Background Technology
[0002] With the rapid development of communication technology, current communication methods have made significant progress. At present, common communication technologies mainly cover radio communication, satellite communication, wired communication, and long-distance wireless network communication.
[0003] Among these, radio communication offers flexible mobile communication due to its convenience. However, its signals are highly susceptible to interference from natural factors such as terrain undulations and inclement weather, leading to signal interruptions or instability during communication. Furthermore, its coverage is significantly limited by transmission power, antenna height, and complex terrain.
[0004] Satellite communication boasts a wide coverage area, enabling global communication connectivity. However, it is undeniable that satellite communication suffers from drawbacks such as high latency and limited bandwidth resources, and is prone to communication blind spots in specific environments such as deep mountains, canyons, and densely populated urban areas.
[0005] While wired communication offers stable signal transmission and high data transmission rates, its deployment and maintenance costs are high, and its flexibility is severely lacking. In areas with complex geographical conditions, such as earthquake ruins or flood-inundated areas, rapid and effective deployment is difficult, and repairs are time-consuming and challenging once lines are damaged.
[0006] Long-range wireless communication, based on wireless transmission technology, theoretically enables communication connections over considerable distances. However, in practical applications, long-range wireless communication signals are susceptible to interference from complex electromagnetic environments and obstacles, leading to weakened signal strength and communication interruptions. As the transmission distance increases, the transmission rate decreases significantly, making it difficult to meet the demands of real-time transmission of large amounts of data. Furthermore, due to terrain and environmental factors, signal coverage blind spots exist in mountainous areas and densely populated urban areas.
[0007] In emergency rescue operations, such as after major natural disasters like earthquakes and floods, the on-site environment is extremely complex and harsh. At such times, the need for communication technology is extremely urgent. It is required not only to transmit rescue instructions, personnel location information, and on-site disaster data in real time and accurately, but also to ensure the stability and reliability of communication. However, existing communication technologies have revealed numerous problems when dealing with such complex scenarios.
[0008] For example, during earthquake rescue operations in mountainous areas, radio communication signals are frequently interrupted due to mountain obstructions, making it difficult for the rescue command center to effectively direct and coordinate rescue teams, and severely affecting the collaborative operations between various rescue groups.
[0009] Due to latency, satellite communication technology cannot provide timely and accurate data support for rescue operations requiring real-time feedback, such as life detection and emergency medical care. Furthermore, in severely affected urban areas, communication blind spots can occur due to collapsed buildings, causing rescue personnel to lose contact with the command center and hindering the timely transmission of critical rescue information, significantly delaying optimal rescue opportunities.
[0010] In emergency rescue sites, wired communication infrastructure is highly vulnerable to damage during disasters, such as earthquakes causing underground cables to break or floods washing away utility poles. Furthermore, re-laying lines is extremely difficult and time-consuming, requiring significant manpower and resources, making it impossible to meet communication needs in the crucial early stages of a rescue operation. Additionally, the fixed nature of wired communication makes it inflexible for adapting to the mobile operations of rescue personnel.
[0011] For long-distance wireless communication, the complex electromagnetic environment, along with large amounts of metal rubble and temporary electrical equipment, at disaster sites such as earthquakes and floods can cause strong interference with long-distance wireless signals, leading to frequent communication interruptions. Furthermore, due to limited transmission rates, high-definition rescue videos and information on a large number of affected people cannot be transmitted to the command center and support teams in a timely manner. In addition, signal coverage blind spots in mountain valleys and urban high-rise canyons completely isolate some rescue personnel from outside communication.
[0012] Furthermore, the communication equipment and systems used by different rescue departments often follow different communication protocols and standards, which makes it difficult for departments to achieve efficient information sharing and collaborative operations, severely reducing the overall efficiency of emergency rescue.
[0013] In conclusion, existing communication technologies face numerous problems that urgently need to be addressed when dealing with complex and ever-changing emergency rescue scenarios, necessitating a new communication technology solution that can effectively overcome these shortcomings. Summary of the Invention
[0014] In view of this, the purpose of the present invention is to provide a data processing method, apparatus and network device to alleviate the above-mentioned technical problems.
[0015] In a first aspect, embodiments of the present invention provide a data processing method applied to a network device, the network device being configured with multiple communication channels; the method includes: responding to a received communication data packet, determining whether the communication data packet needs to be forwarded; if so, generating a test message, sending the test message to a target device using the pre-configured multiple communication channels, wherein the target device is a network device receiving the communication data packet; receiving feedback messages from each of the communication channels regarding the test message; constructing a communication environment quality map based on network parameters carried in the feedback messages; determining a target communication channel based on the communication environment quality map, and forwarding the communication data packet to the target device through the target communication channel.
[0016] In conjunction with the first aspect, the present invention provides a first possible implementation of the first aspect, wherein the step of determining whether the communication data packet needs to be forwarded includes: parsing the communication data packet to obtain the header communication parameters carried by the communication data packet; determining whether the communication data packet needs to be forwarded based on the header communication parameters; and, when it is determined that forwarding is required, determining the target device based on the header communication parameters.
[0017] In conjunction with the first aspect, this embodiment of the invention provides a second possible implementation of the first aspect, wherein the step of constructing a communication environment quality map based on the network parameters carried by the feedback message includes: extracting the network parameters of the feedback message corresponding to each communication channel; calculating a quality score for at least one preset communication indicator corresponding to each communication channel based on the network parameters; wherein the preset communication indicator includes at least one of the following: protocol matching degree, frequency band occupancy rate, and signal strength of the feedback message; generating a communication environment quality map containing each communication channel based on the quality score; wherein the communication environment quality map is used to characterize the communication quality of each communication channel.
[0018] In conjunction with the second possible implementation of the first aspect, this embodiment of the invention provides a third possible implementation of the first aspect, wherein the step of determining the target communication channel based on the communication environment quality map includes: determining whether the quality score of each preset communication indicator meets a preset scoring threshold; if so, selecting the preset communication indicator with the highest priority as the target communication indicator according to the priority of the preset communication indicators configured in advance; and selecting the communication channel corresponding to the highest quality score of the target communication indicator from the communication environment quality map as the target communication channel.
[0019] In conjunction with the third possible implementation of the first aspect, this embodiment of the invention provides a fourth possible implementation of the first aspect, wherein the step of determining the target communication channel based on the communication environment quality map further includes: if the quality score of at least one of the preset communication indicators does not meet a preset scoring threshold, then triggering a communication quality processing mechanism corresponding to the preset communication indicator that does not meet the preset scoring threshold; wherein, after the communication quality processing mechanism is triggered, it is used to optimize the communication channel according to a pre-configured processing rule; and based on the optimization processing result, determining the target communication channel from a variety of communication channels.
[0020] In conjunction with the first aspect, this embodiment of the invention provides a fifth possible implementation of the first aspect, wherein the method further includes: after determining the target communication channel, generating a communication channel switching instruction; and adjusting the current communication protocol between the network device and the target device based on the communication channel switching instruction, so that the communication protocol matches the target communication channel.
[0021] In conjunction with the first aspect, this embodiment of the invention provides a sixth possible implementation of the first aspect, wherein the above method further includes: if there is a communication channel that returns the feedback message, then the communication channel that returns the feedback message is determined as the target communication channel.
[0022] In conjunction with the first aspect, this embodiment of the invention provides a seventh possible implementation of the first aspect, wherein the above method further includes: if the network device is configured with a wired communication channel among multiple communication channels, then sending a test message to the target device through the wired communication channel; if a response result returned by the target device based on the wired communication channel is received within a pre-configured time range, then determining the wired communication channel as the target communication channel.
[0023] Secondly, embodiments of the present invention also provide a data processing apparatus applied to a network device, the network device being configured with multiple communication channels; the apparatus includes: a response module, configured to respond to received communication data packets and determine whether the communication data packets need to be forwarded; a generation module, configured to generate a test message when forwarding is determined, and send the test message to a target device using the pre-configured multiple communication channels, wherein the target device is a network device receiving the communication data packets; a feedback module, configured to receive feedback messages of the test messages returned by each of the communication channels; a construction module, configured to construct a communication environment quality map based on the network parameters carried in the feedback messages; and a determination module, configured to determine a target communication channel based on the communication environment quality map, and forward the communication data packets to the target device through the target communication channel.
[0024] Thirdly, embodiments of the present invention also provide a network device, the network device being configured with the data processing apparatus described in the second aspect.
[0025] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the steps of the method described in the first aspect above.
[0026] The embodiments of the present invention bring the following beneficial effects: The data processing method, apparatus, and network device provided in this invention can determine whether a communication data packet needs to be forwarded after receiving it. If so, a test message is generated and sent to the target device using multiple pre-configured communication channels. Feedback messages are received from each communication channel. A communication environment quality map is constructed based on the network parameters carried in the feedback messages. The target communication channel is determined based on the communication environment quality map, and the communication data packet is forwarded to the target device through the target communication channel. Since the network device is configured with multiple communication channels, the optimal communication channel can be selected through the process of selecting the target communication channel, thereby ensuring that the communication data packet can be effectively forwarded to the target device, ensuring the real-time performance, reliability, and security of information exchange, and ensuring that information can be transmitted quickly and accurately.
[0027] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0028] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0029] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0030] Figure 1 A flowchart of a data processing method provided in an embodiment of the present invention; Figure 2 A schematic diagram of a network device provided in an embodiment of the present invention; Figure 3A flowchart of another data processing method provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of a data processing device provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0032] In emergency rescue operations, the timeliness, stability, and accuracy of communication are crucial. However, existing communication technologies have revealed numerous problems, as follows: Disadvantages of satellite communication: Taking BeiDou communication as an example, satellite communication inherently involves transmission latency. At emergency rescue sites, rescuers need to report critical information such as the location of trapped personnel and the situation on-site to the command center in real time. Transmission latency can lead to untimely information delivery, affecting the timeliness of rescue decisions. Furthermore, the number of BeiDou satellites is limited, and signal strength is easily affected. In complex environments such as densely populated cities or deep mountain valleys, signal quality is unstable and prone to interruptions, causing the rescue command center to lose contact with on-site rescuers and hindering effective command of rescue operations.
[0033] Disadvantages of radio communication: Radio communication frequency bands are limited. As the number of communication devices involved in rescue operations increases, frequency congestion worsens, leading to a shortage of communication resources. This may result in some rescue teams being unable to access the communication network in a timely manner. Furthermore, radio communication is affected by factors such as the ionosphere, multipath propagation, and ground environment, resulting in signals mixed with a large amount of noise. This can lead to errors or unclear transmission of rescue information, affecting the coordination of rescue operations. Moreover, due to frequency band and communication technology limitations, communication capacity is small and cannot meet the needs of large-scale data transmission, such as the transmission of high-definition video from the scene or large amounts of life detection data.
[0034] Disadvantages of long-range wireless networks: Signal strength is susceptible to interference over long distances. In emergency rescue sites, such as earthquake ruins and flood-stricken areas, the presence of large amounts of metal debris, electrical equipment, and complex electromagnetic environments can significantly weaken the signal strength, leading to frequent communication interruptions. Furthermore, transmission speeds decrease significantly with distance, making it difficult to meet the demands of rapidly transmitting large amounts of data in emergency rescue operations, such as real-time video footage and extensive information on affected individuals. In addition, coverage is limited; signal blind spots can easily appear in mountainous areas, canyons, or densely populated urban areas, preventing some rescue personnel from communicating with the outside world.
[0035] Disadvantages of wired networks: In emergency rescue scenarios, wired networks are highly vulnerable to damage. Disasters such as earthquakes and floods often damage infrastructure such as cables and base stations, leading to line outages. Furthermore, wired networks lack deployment flexibility; in situations where roads are blocked or terrain is complex at disaster sites, it is difficult to quickly redeploy and restore wired networks, hindering timely communication support for rescue operations. Moreover, their reliance on fixed lines means they cannot meet the communication needs of rescue personnel during mobile operations.
[0036] Based on this, the data processing method, apparatus and network device provided in this embodiment of the invention can analyze the current communication environment and signal quality, and quickly and accurately select the optimal communication method, effectively alleviating the above-mentioned technical problems.
[0037] To facilitate understanding of this embodiment, a data processing method disclosed in this embodiment of the invention will first be described in detail.
[0038] In one possible implementation, the present invention provides a data processing method applied to a network device. Specifically, the network device in the present invention is configured with multiple communication channels. Therefore, the network device in the present invention is actually an embedded multi-channel information exchange network device, such as a switch, gateway, routing device, etc., and supports multiple communication channels.
[0039] Specifically, such as Figure 1 The flowchart shown illustrates a data processing method, which includes the following steps: Step S102: Response to received communication data packets, determine whether the communication data packets need to be forwarded; Step S104: If yes, generate a test message and send the test message to the target device using multiple pre-configured communication channels; In this embodiment of the invention, the target device is a network device that receives communication data packets; that is, the next-hop device corresponding to the network device when forwarding the current communication data packet.
[0040] In practical use, after a network device receives a communication data packet, it can parse the communication data packet to obtain the header communication parameters carried by the communication data packet; it can then determine whether the communication data packet needs to be forwarded based on the header communication parameters, and if it is determined that forwarding is necessary, it can identify the target device based on the header communication parameters.
[0041] Specifically, the network devices in this embodiment of the invention typically refer to network devices in a network, which usually includes multiple network devices interconnected to form the communication network of the network. Furthermore, each network device is configured with a corresponding routing table, enabling each network device to determine the routing information during the communication data forwarding process based on the routing table, that is, which next-hop device the communication data needs to be forwarded to.
[0042] Therefore, in step S102 above, the received communication data packet usually refers to the communication data forwarded by the previous hop device of the current network device. This communication data can be sent directly to the current network device or it can be communication data forwarded by the current network device. Therefore, the communication parameters in the header of the communication data packet usually carry the routing information of the communication data packet transmission, so that the network device can determine whether the current communication data packet needs to be forwarded.
[0043] Specifically, if a network device determines that the destination of the current communication data packet is itself based on the routing information carried in the header communication parameters (e.g., if the destination device's identifier matches its own identifier based on the routing information carried in the header communication parameters), then the communication data packet does not need to be forwarded. However, if the destination of the current communication data packet is not itself (i.e., if the destination device's identifier does not match its own identifier based on the routing information carried in the header communication parameters), then the communication data packet needs to be forwarded, and the next hop for forwarding can be determined based on the routing information carried in the header communication parameters.
[0044] For situations requiring the forwarding of communication data packets, an optimal communication channel needs to be selected to ensure effective forwarding of the data packets. Specifically, in this embodiment of the invention, the optimal communication channel is selected by sending and receiving test messages, specifically including the following process: Step S106: Receive feedback messages of test messages returned by each communication channel; Step S108: Construct a communication environment quality map based on the network parameters carried in the feedback message; Step S110: Determine the target communication channel based on the communication environment quality map, and forward the communication data packets to the target device through the target communication channel.
[0045] The data processing method provided in this invention can determine whether a communication data packet needs to be forwarded after receiving it. If so, it generates a test message and sends the test message to the target device through multiple pre-configured communication channels. It receives feedback messages from each communication channel. It constructs a communication environment quality map based on the network parameters carried in the feedback messages. It determines the target communication channel based on the communication environment quality map and forwards the communication data packet to the target device through the target communication channel. Since the network device is configured with multiple communication channels, the optimal communication channel can be selected through the process of selecting the target communication channel, thereby ensuring that the communication data packet can be effectively forwarded to the target device, ensuring the real-time performance, reliability, and security of information exchange, and ensuring that information can be transmitted quickly and accurately.
[0046] In practical use, the communication channels configured in the network devices of this invention include wired communication channels and wireless communication channels. For example, the network devices may integrate Ethernet communication channels, BeiDou communication channels, radio communication channels, and long-distance wireless communication channels, etc.
[0047] Furthermore, based on the aforementioned multiple communication channels, in this embodiment of the invention, a test message is sent to the target device using each communication channel; then, a feedback message corresponding to the test message is received within a pre-configured time range. The communication quality of the communication channel can be determined based on the network parameters carried in the feedback message, thereby matching the optimal target communication channel.
[0048] Specifically, if there are multiple communication channels that return feedback messages, the communication quality of each communication channel can be calculated, and the communication channel with the best communication quality can be selected as the target communication channel; if there is only one communication channel that returns feedback messages, then the communication channel that returns the feedback message will be determined as the target communication channel.
[0049] Furthermore, considering the relative stability of wired communication channels, when selecting a target communication channel, if the network device is configured with multiple communication channels, including a wired communication channel such as an Ethernet communication channel, then a test message is sent to the target device through the wired communication channel. That is, the availability of the wired communication channel is tested first. If a feedback message is received from the target device based on the wired communication channel within a pre-configured time range, indicating that the wired communication channel is available, then the wired communication channel is determined as the target communication channel.
[0050] If the wired communication channel is unavailable, for example, if no feedback message is received from the target device based on the wired communication channel within the pre-configured time range, then other communication channels can be tested to see if they are available. That is, other communication channels can be used to send test messages to the target device. Then, based on the feedback message, the target communication channel can be determined from the other communication channels.
[0051] Furthermore, the aforementioned test messages typically refer to short test messages. Specific test messages can be set according to actual usage conditions, and this embodiment of the invention does not impose any restrictions on this.
[0052] In practical use, in order to facilitate the maintenance of the communication network, a communication object configuration library is generally configured in the network device. This communication object configuration library is used to maintain the data exchange relationship between network devices. For example, the data exchange relationship can include the name of the network device, the unique identifier of the network device, the group number, the organizational relationship, etc.
[0053] Furthermore, in order to enable the network device to configure multiple communication channels and support multiple communication methods, the functional modules required for multiple communication channels can usually be embedded into the network device. Therefore, the network device in the embodiments of the present invention is actually an embedded multi-channel network device.
[0054] Furthermore, corresponding functional modules can be configured in network devices to support multiple communication methods.
[0055] For ease of understanding, Figure 2 A schematic diagram of a network device is also shown, including: a test message management and environment awareness module 1, a multi-protocol compatibility testing and dynamic adaptation module 2, an intelligent frequency band resource scheduling module 3, a multi-channel intelligent switching control module 4, an ad hoc network management and disaster recovery scheduling module 5, and a security encryption and interface virtualization module 6. Typically, these functional modules can be implemented through software.
[0056] Specifically, the functions of each module are as follows: (1) Test message management and environment awareness module 1 is used to generate lightweight test short messages (such as probe frames in a fixed format) that are sent through all communication channels. That is, to generate the message in the embodiment of the present invention, and to receive feedback messages and further parse the network parameters carried in the feedback information, such as signal strength, latency, packet loss rate, etc., so as to construct a communication environment quality map in real time.
[0057] Therefore, based on the functions of the test message management and environment awareness module 1, the above steps S104 and S106 can be implemented in the test message management and environment awareness module 1.
[0058] (2) Multi-protocol compatibility testing and dynamic adaptation module 2 is used to simulate the handshake process of different protocols (such as HTTP / MQTT / LoRaWAN) through test messages, automatically identify protocol differences (such as data frame structure and verification mechanism), and generate a protocol conversion rule base. It dynamically selects the optimal protocol or performs protocol conversion (such as converting the dedicated protocol of satellite communication to the TCP / IP protocol of the rescue team terminal).
[0059] (3) Intelligent frequency band resource scheduling module 3 is used to analyze the current frequency band occupancy rate (such as 2.4GHz / 5GHz / satellite band); dynamically allocate bandwidth according to service priority (such as video stream bandwidth > sensor data bandwidth > text command bandwidth); and execute frequency band preemption or retreat strategies (specifically in accordance with the emergency rescue spectrum special approval rules).
[0060] (4) Multi-channel intelligent handover control module 4, used to generate handover decisions based on quality scores and protocol matching degrees (such as strategies for satellite handover to ad hoc networks). Perform millisecond-level channel handover and ensure data continuity (such as pre-caching data to be transmitted during handover). Support dynamic learning and optimization of handover strategies (such as providing feedback on the success rate of the current process based on historical handover success rates).
[0061] (5) Self-organizing network management and disaster recovery scheduling module 5, used to receive switching instructions from multi-channel intelligent switching control module 4, and construct or optimize communication network routing paths. Management nodes dynamically join / leave and optimize multi-hop routing paths.
[0062] (6) Security encryption and interface virtualization module 6, used to receive switching instructions from multi-channel intelligent switching control module 4 and routing information from self-organizing network management and disaster recovery scheduling module 5, dynamically adjust interface protocol type and encrypt transmitted data.
[0063] In practical use, the above Figure 2The network devices shown can be applied to emergency rescue communication scenarios. Under interference from complex terrain, weather, and other factors, by sending test messages and receiving feedback messages, the current communication environment and signal quality can be analyzed. This allows for the rapid and accurate selection of the optimal communication channel, ensuring the real-time, reliable, and secure exchange of information, and guaranteeing fast and accurate information transmission. For example, in earthquake relief scenarios, a network can be built in the disaster area to form a communication network. For instance, rescue team personnel can wear network device 1, while a temporary command post can be equipped with network device 2, and a higher-level command post can be equipped with network device 3, etc. The number of network devices 1, 2, or 3 can be one or more, thus forming a network. These interconnected network devices can form the entire communication network. Once the communication network is built, each network device in the network can execute the data processing method provided in this embodiment of the invention.
[0064] Therefore, for ease of understanding, based on the above... Figure 2 The network devices shown, Figure 3 A flowchart of another data processing method is shown to further illustrate the data processing method provided in the embodiments of the present invention, such as... Figure 3 As shown, it includes the following steps: Step S302: Response to received communication data packets, determine whether the communication data packets need to be forwarded; In practice, the process of receiving communication data packets in this step can be performed between any network devices. Furthermore, the network devices can be configured with a dedicated communication data receiving unit to receive communication data packets. This unit can also check the integrity and legality of the communication data packets' origin. Once confirmed to be correct, it passes the communication data packets to the test message management and environment awareness module 1 via an internal interface for further processing.
[0065] Specifically, after receiving a communication data packet, the communication data processing unit unpacks the communication data packet to obtain the data inside the packet and stores it in the device database. It also parses the header communication parameters carried by the communication data packet and then determines whether the communication data packet needs to be forwarded based on the header communication parameters. If yes, the following steps are executed; if no, the process ends, indicating that the communication data packet at this time is to be forwarded to the current network device and does not need to be forwarded further.
[0066] Step S304: If yes, generate a test message and send the test message to the target device using multiple pre-configured communication channels; The process of step S304 is described above. Figure 2The test message management and environment awareness module 1 is implemented in the test message management and environment awareness module 1. Specifically, the test message management and environment awareness module 1 includes a test message management unit and an environment awareness analysis unit.
[0067] The test message management unit can generate test messages, such as short test messages. Specifically, it can generate lightweight probe frames and send them to the target device through all communication channels. The content of the test message typically includes fields such as timestamp, protocol type identifier, and checksum, which are used for subsequent compatibility analysis.
[0068] During this process, the multi-protocol compatibility testing and dynamic adaptation module 2 can also simulate the handshake process of different protocols by testing short messages, automatically identifying protocols and matching conversion rules.
[0069] Step S306: Receive feedback messages of test messages returned by each communication channel; Step S308: Extract the network parameters of the feedback message corresponding to each communication channel, and calculate the quality score of at least one preset communication indicator corresponding to each communication channel based on the network parameters. In this embodiment of the invention, the preset communication indicators include at least one of the following: protocol matching degree, frequency band occupancy rate, and signal strength of feedback messages; Step S310: Generate a communication environment quality map containing each communication channel based on the quality score; In this embodiment of the invention, the communication environment quality map is used to characterize the communication quality of each communication channel.
[0070] In practical use, the processes described in steps S306 to S308 can be implemented in the environmental perception analysis unit of the test message management and environmental perception module 1. That is, the environmental perception analysis unit receives feedback messages, parses relevant network parameters, and generates a three-dimensional communication environment quality map. The horizontal axis of the communication environment quality map typically represents the communication technology type, such as the communication method adopted by each communication channel; the vertical axis can represent the frequency band; and the height can represent the quality score of each preset communication indicator.
[0071] Step S312: Determine the target communication channel based on the communication environment quality map, and forward the communication data packets to the target device through the target communication channel.
[0072] Specifically, when determining the target communication channel, it is necessary to determine whether the quality score of each preset communication indicator meets the preset score threshold; if so, according to the priority of the preset communication indicators, the preset communication indicator with the highest priority is selected as the target communication indicator; and the communication channel corresponding to the highest quality score of the target communication indicator is selected from the communication environment quality map as the target communication channel.
[0073] For example, the priority order can be set from high to low based on actual usage: signal strength of feedback messages > protocol matching degree > frequency band occupancy rate. That is, if all preset communication indicators meet the scoring threshold, the target communication channel is selected based on the highest priority principle. For example, the communication channel corresponding to the strongest signal strength of the feedback message is selected as the target communication channel.
[0074] Furthermore, if the quality score of at least one preset communication indicator is determined to be unsatisfactory based on the communication environment quality map, the communication quality processing mechanism corresponding to the preset communication indicator that does not meet the preset score threshold is triggered. After the communication quality processing mechanism is triggered, it is used to optimize the communication channel according to the pre-configured processing rules. Then, based on the optimization results, the target communication channel is determined from multiple communication channels.
[0075] In practice, the above step S312 can be implemented in the intelligent frequency band resource scheduling module 3.
[0076] For example, the intelligent frequency band resource scheduling module 3 analyzes the communication environment quality map to determine whether the quality score of each preset communication indicator meets the preset scoring threshold. This includes whether the protocol matching degree is lower than the preset scoring threshold, whether the frequency band occupancy rate is greater than the preset occupancy rate threshold, and whether the signal strength of the feedback message is lower than the preset strength threshold. If so, the corresponding processing mechanism is triggered.
[0077] For example, if the protocol matching degree is low and the quality score is <70 points (score threshold), the intelligent frequency band resource scheduling module 3 can trigger the communication quality processing mechanism at this time, such as calling the protocol adaptation engine to start the protocol conversion process (such as converting the satellite communication dedicated protocol into the rescue terminal's HTTP protocol), and then using protocol virtualization technology to dynamically load the protocol stack in memory, which can avoid hardware restart of network devices.
[0078] For example, a low quality score for frequency band occupancy indicates that the frequency band occupancy is high and exceeds the preset occupancy rate, such as a frequency band occupancy rate > 80%. In this case, the intelligent frequency band resource scheduling module 3 can trigger the frequency band scheduler to execute the frequency band preemption or switching mechanism, such as switching from the congested 2.4GHz to the 5.8GHz microwave band. Typically, the idle status of the future spectrum can be predicted a certain time in advance based on a pre-configured spectrum hole prediction model (ARIMA time series analysis), such as 10 seconds in advance, and the idle frequency band can be locked in advance for subsequent communication use.
[0079] For example, if the signal quality is poor, that is, the signal strength of the feedback message is low, it can be quantified by calculating the RSSI (Received Signal Strength Indicator). If RSSI < -90dBm, it indicates that the signal quality is poor, that is, below the preset strength threshold. At this time, the intelligent frequency band resource scheduling module 3 can start the switching controller, generate a hot switching command (such as switching from satellite link to self-organizing network), and adopt a double buffering mechanism to enable the old and new communication channels to transmit in parallel for 0.5 seconds, ensuring zero data loss.
[0080] In actual use, the intelligent frequency band resource scheduling module 3 can trigger the communication quality processing mechanism of each communication channel simultaneously, or it can trigger the communication quality processing mechanism corresponding to the preset communication indicator individually when the quality score of one of the preset communication indicators does not meet the preset score threshold. The specific implementation depends on the actual usage, and this embodiment of the invention does not impose any restrictions on this.
[0081] Furthermore, after the above-mentioned communication quality processing mechanism is optimized, the multi-channel intelligent handover control module 4 can determine the target communication channel from multiple communication channels based on the optimization processing results. That is, the multi-channel intelligent handover control module 4 receives the optimization results from the intelligent frequency band resource scheduling module 3, and comprehensively evaluates them based on signal quality scores, protocol matching scores, frequency band resource allocation results, etc., to generate a handover decision. At the same time, the handover controller of the multi-channel intelligent handover control module 4 can send a handover command to the network management unit of the self-organizing network management and disaster recovery scheduling module 5 to switch the communication channel.
[0082] Furthermore, in this embodiment of the invention, after determining the target communication channel, a communication channel switching instruction can be generated; based on the communication channel switching instruction, the communication protocol between the current network device and the target device can be adjusted so that the communication protocol matches the target communication channel.
[0083] Specifically, after the self-organizing network management and disaster recovery scheduling module 5 receives the switching command from the switching controller, it can construct or optimize the routing path of the communication network and feed it back to the security encryption and interface virtualization module 6. At this time, the security encryption and interface virtualization module 6 receives the switching command from the switching controller and the routing information from the self-organizing network management and disaster recovery scheduling module 5, dynamically adjusts the interface protocol type, and encrypts and transmits communication data packets to the target device.
[0084] In practical use, the network devices in this embodiment of the invention are typically configured with multiple communication channels, including Ethernet communication channels, BeiDou communication channels, radio communication channels, and long-distance wireless communication channels. Therefore, the data processing method provided in this embodiment of the invention can achieve seamless integration of multiple communication channels, such as seamless integration of four communication technologies, including Ethernet communication channels, BeiDou communication channels, radio communication channels, and long-distance wireless communication channels. This fusion of diversified communication methods not only significantly expands the coverage of communication and improves the flexibility of communication, but also automatically selects the optimal communication channel in complex and ever-changing communication environments, thereby ensuring the continuity and stability of communication.
[0085] Furthermore, in this embodiment of the invention, by sending and receiving test messages to analyze the current communication environment and signal quality, the optimal communication channel can be selected quickly and accurately, thereby effectively alleviating various problems in the face of complex and ever-changing emergency rescue scenarios. Specifically, it can solve the following problems: (1) Addressing the issue of unstable signals: By sending and receiving test messages in real time, changes in the communication environment at the rescue site can be detected in a timely manner. For example, when it is detected that satellite communication signals are severely blocked, radio communication noise is too loud, or long-distance wireless network signal interference is strong, a communication method more suitable for the current environment can be quickly switched, such as switching to self-organizing network communication in areas with severe signal blockage, to ensure the reliability of communication and allow rescue information to be continuously transmitted.
[0086] (2) Solve the problem of protocol differences and interoperability: Test the compatibility of test messages between different networks, select the communication method with high protocol matching degree and good interoperability based on the test results, avoid communication delays or interruptions caused by protocol incompatibility, ensure the real-time and accuracy of information exchange between rescue teams, and promote collaborative operations.
[0087] (3) Addressing frequency band congestion and limited communication capacity: By analyzing the communication environment, communication methods with relatively empty frequency bands can be intelligently selected, and communication resources can be allocated rationally. For example, when radio communication frequency bands are congested, other available wireless communication frequency bands or communication technologies can be selected to improve communication efficiency and meet the transmission needs of different types of data in emergency rescue, such as the transmission of large amounts of data such as life detection data and on-site video.
[0088] (4) Overcoming the limitations of wired networks and long-distance wireless networks: Addressing the vulnerability and deployment difficulties of wired networks, when test messages detect that the wired network is not functioning properly, a timely switch to wireless communication is initiated as an alternative. To address the signal interference, low transmission rate, and coverage blind spots of long-distance wireless networks, based on test results, other stable communication technologies, such as terrestrial microwave communication and low-power self-organizing network communication, are employed in interference and blind areas to ensure the comprehensiveness and stability of rescue communications.
[0089] Furthermore, taking a strong earthquake in a certain region as an example, it often leads to the collapse of numerous buildings, severe road damage, and the entrapment of many people. After an earthquake, the local emergency rescue command center quickly activates the emergency response mechanism, organizing multiple rescue teams, including fire, medical, and police personnel, to rush to the scene.
[0090] In this scenario, traditional communication technologies would have the following problems: (1) Satellite communication: When the rescue team initially attempted to establish contact with the command center, the satellite communication equipment they carried suffered severe signal blockage due to the high-rise buildings surrounding the earthquake zone, resulting in extremely poor signal quality and multiple communication failures. Even during brief signal connections, the transmission delay inherent in satellite communication caused significant delays in the images and voice information received by the command center from the rescue site, severely impacting the timeliness of command decisions.
[0091] (2) Radio Communication: Rescue teams communicate with each other via radio. However, as the rescue operation unfolds, numerous communication devices are activated simultaneously, making the available frequency bands extremely congested. Radio communication is not only affected by changes in the ionosphere but also suffers from severe multipath propagation interference due to the complex ground environment. This results in a large amount of noise mixed in with the signal, severely degrading the communication quality between teams. Key rescue instructions and information cannot be clearly conveyed, greatly hindering the coordinated conduct of the rescue operation. Moreover, when it is necessary to transmit large amounts of data obtained by on-site life detectors, radio communication, due to its limited communication capacity, cannot meet the transmission requirements, resulting in slow or even interrupted data transmission.
[0092] (3) Long-distance wireless network: Some rescue teams attempted to use long-distance wireless networks for communication. However, in the complex environment after the earthquake, the signal was subject to a lot of interference. Electromagnetic interference from surrounding metal ruins and electrical equipment significantly weakened the signal strength, causing frequent communication interruptions. Moreover, long-distance transmission limited the transmission rate, making it impossible to quickly transmit rescue videos and real-time vital signs data taken on-site to the command center and rear medical teams, seriously affecting rescue decisions and the treatment of the wounded. In addition, due to complex terrain, such as valleys in mountainous areas and urban areas with high-rise buildings, long-distance wireless networks have signal coverage blind spots, and some rescuers were completely unable to contact the outside world when they were in these areas.
[0093] (4) Wired network: The fixed nature of wired networks makes it difficult to deploy them flexibly to various rescue sites, especially when roads are blocked and buildings are covered in ruins, it is difficult to extend wired networks to areas where communication is needed.
[0094] The data processing method provided in this invention can analyze the communication environment through test messages. After realizing the severity of the communication problem, rescuers can activate network devices equipped with multiple communication channels and use the function of sending and receiving test messages to quickly analyze the current communication environment. A large amount of data on signal strength, interference sources, communication delays, etc. can be collected in a short time, accurately locating areas with weak long-distance wireless network signals and high interference, as well as situations where wired networks are damaged or difficult to deploy.
[0095] Furthermore, based on the feedback messages from the test packets, the network device can quickly determine whether, in the current environment, terrestrial microwave communication technology is suitable for some open areas, while switching to low-power, interference-resistant self-organizing network communication in areas with severe signal obstruction. For scenarios requiring the transmission of large amounts of data, such as medical teams transmitting detailed examination data of wounded soldiers to rear hospitals, the network device can intelligently select a communication network with relatively sufficient bandwidth (in suitable areas). When signal problems are detected in long-distance wireless networks, the network device will promptly adjust its communication strategy. For example, in areas with severe interference, it will avoid using long-distance wireless networks and switch to other more stable communication methods; in areas with signal coverage blind spots, it will establish temporary communication links through self-organizing network communication. For issues where wired networks are difficult to cover, the network device will supplement with other wireless communication methods to ensure comprehensive communication.
[0096] The data processing method provided by this invention enables stable and efficient communication between rescue teams. For example, fire brigades can promptly transmit information about the fire scene to the command center and other rescue teams; medical teams can obtain real-time vital signs information of trapped individuals and prepare for treatment in advance; and police teams can accurately grasp the flow of people and safety conditions at the rescue site and maintain order. Closer coordination among rescue teams significantly improves rescue efficiency. Throughout the rescue process, network equipment employs test message technology to ensure unimpeded communication of rescue information, providing strong support for the successful rescue of trapped individuals.
[0097] Furthermore, embodiments of the present invention also provide a data processing apparatus applied to a network device, the network device being configured with multiple communication channels; such as... Figure 4 The diagram shows the structure of a data processing device, which includes: Response module 40 is used to respond to received communication data packets and determine whether the communication data packets need to be forwarded; The generation module 41 is used to generate a test message when it is determined that forwarding is required, and send the test message to the target device through multiple pre-configured communication channels, wherein the target device is a network device that receives the communication data packet; Feedback module 42 is used to receive feedback messages of the test messages returned by each of the communication channels; Construction module 43 is used to construct a communication environment quality map based on the network parameters carried in the feedback message; The determination module 44 is used to determine the target communication channel based on the communication environment quality map, and forward the communication data packet to the target device through the target communication channel.
[0098] Furthermore, embodiments of the present invention also provide a network device configured with the aforementioned data processing apparatus.
[0099] Furthermore, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the above-described... Figure 1 or Figure 3 The steps of the method shown.
[0100] The data processing apparatus provided in this embodiment of the invention has the same technical features as the data processing method provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.
[0101] Furthermore, embodiments of the present invention also provide a schematic diagram of the structure of an electronic device, such as... Figure 5 The diagram shows the structure of the electronic device, which includes a processor 51 and a memory 50. The memory 50 stores computer-executable instructions that can be executed by the processor 51, and the processor 51 executes the computer-executable instructions to implement the above-described method.
[0102] exist Figure 5 In the illustrated embodiment, the electronic device further includes a bus 52 and a communication interface 53, wherein the processor 51, the communication interface 53, and the memory 50 are connected via the bus 52.
[0103] The memory 50 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 53 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 52 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 52 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0104] Processor 51 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 51 or by instructions in software form. Processor 51 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this invention can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in the memory, and the processor 51 reads the information in the memory and uses its hardware to complete the aforementioned method.
[0105] The computer program products of the data processing method, apparatus and network device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0106] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0107] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0108] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0109] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0110] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A data processing method, characterized in that, Applied to a network device, the network device being configured with multiple communication channels; the method includes: The system receives a communication data packet and determines whether the communication data packet needs to be forwarded. If so, generate a test message and send the test message to the target device using multiple pre-configured communication channels, wherein the target device is a network device that receives the communication data packets; Receive feedback messages from each of the communication channels for the test messages returned; A communication environment quality map is constructed based on the network parameters carried in the feedback message; The target communication channel is determined based on the communication environment quality map, and the communication data packets are forwarded to the target device through the target communication channel.
2. The method according to claim 1, characterized in that, The step of determining whether the communication data packet needs to be forwarded includes: Parse the communication data packet to obtain the header communication parameters carried by the communication data packet; The communication data packet is determined based on the header communication parameters to determine whether it needs to be forwarded, and if it is determined that it needs to be forwarded, the target device is determined based on the header communication parameters.
3. The method according to claim 1, characterized in that, The steps of constructing a communication environment quality map based on the network parameters carried in the feedback message include: Extract the network parameters of the feedback message corresponding to each communication channel; The quality score of at least one preset communication indicator corresponding to each communication channel is calculated based on the network parameters; wherein the preset communication indicator includes at least one of the following: protocol matching degree, frequency band occupancy rate, and signal strength of feedback message; A communication environment quality map containing each of the communication channels is generated based on the quality score; wherein the communication environment quality map is used to characterize the communication quality of each of the communication channels.
4. The method according to claim 3, characterized in that, The steps for determining the target communication channel based on the communication environment quality map include: Determine whether the quality score of each preset communication indicator meets the preset scoring threshold; If so, select the preset communication indicator with the highest priority as the target communication indicator according to the priority of the preset communication indicators that are pre-configured; The communication channel corresponding to the highest quality score of the target communication indicator is selected from the communication environment quality map as the target communication channel.
5. The method according to claim 4, characterized in that, The step of determining the target communication channel based on the communication environment quality map further includes: If the quality score of at least one of the preset communication indicators does not meet the preset scoring threshold, the communication quality processing mechanism corresponding to the preset communication indicator that does not meet the preset scoring threshold is triggered; wherein, after the communication quality processing mechanism is triggered, it is used to optimize the communication channel according to the pre-configured processing rules. Based on the optimization results, the target communication channel is determined from the various communication channels.
6. The method according to claim 1, characterized in that, The method further includes: After the target communication channel is determined, a communication channel switching command is generated; Based on the communication channel switching instruction, the communication protocol between the current network device and the target device is adjusted so that the communication protocol matches the target communication channel.
7. The method according to claim 1, characterized in that, The method further includes: If there is one communication channel that returns the feedback message, then the communication channel that returns the feedback message is determined as the target communication channel.
8. The method according to claim 1, characterized in that, The method further includes: If the network device is configured with a wired communication channel among its various communication channels, then a test message is sent to the target device through the wired communication channel. If a feedback message is received from the target device based on the wired communication channel within a pre-configured time range, then the wired communication channel is identified as the target communication channel.
9. A data processing apparatus, characterized in that, Applied to network devices, the network devices being configured with multiple communication channels; the device includes: The response module is used to respond to received communication data packets and determine whether the communication data packets need to be forwarded. The generation module is used to generate a test message when it is determined that forwarding is required, and send the test message to the target device through multiple pre-configured communication channels, wherein the target device is a network device that receives the communication data packet; The feedback module is used to receive feedback messages from the test messages returned by each of the communication channels; The construction module is used to construct a communication environment quality map based on the network parameters carried in the feedback message; The determination module is used to determine the target communication channel based on the communication environment quality map, and forward the communication data packet to the target device through the target communication channel.
10. A network device, characterized in that, The network device is equipped with the data processing apparatus as described in claim 9.