Network data interaction method
By designing a dedicated wide area network high-speed processing system in network data interaction, combined with DES optimization algorithm and software processing optimization, the problem of low efficiency of real-time processing in remote locations is solved, high-speed, flexible and efficient data interaction is achieved, and hardware costs are reduced.
Patent Information
- Application Number
- CN202111238405.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-10-25
AI Technical Summary
Existing network data interaction methods cannot effectively ensure real-time processing in remote locations, resulting in low efficiency in collaborative working in multiple locations.
A high-speed network software processing system based on a dedicated wide area network is designed, which combines DES optimization algorithm and software data processing optimization, and is applied in parallel to the ground integrated system. By optimizing the network equipment environment, reducing the total delay, and improving data interaction efficiency, virtual Queue and real-time response mechanism to optimize data processing and queuing delay.
The real-time performance of data interaction is improved, the network sending and receiving rate is increased by 20%, there is almost no network packet loss, the flexibility and portability are strong, and hardware costs and time are saved.
Smart Images

Figure CN113965316B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a network data interaction method. Background Art
[0002] The modern Internet mostly uses store-and-forward packet switching technology and a three-layer ISP structure, in which computer networks can be divided into wide area networks, metropolitan area networks, local area networks, etc. according to the scope of their functions.
[0003] With the rapid development of my country's aerospace industry, existing aerospace design institutes and their affiliated professional processing systems have spread across all regions of the country. Nowadays, the demand for real-time collaborative data in multiple locations for the same model of equipment is also increasing. Compared with the original centralized office system for designers in multiple regions, creating a dedicated high-speed wide area network cross-segment data interaction system can appropriately liberate the original restrictions on region, manpower, venue, etc., and greatly improve the processing efficiency of collaborative office in multiple locations.
[0004] Existing network data interaction methods cannot effectively guarantee real-time processing in different locations. Summary of the invention
[0005] In view of the above problems, the technical problem to be solved by the present invention is to provide a high-speed network software processing system based on a dedicated wide area network for real-time or rapid transmission and processing of information to be tested in various places. The system combines the DES optimization algorithm and the processing optimization of software data, and is applied in parallel in a suitable ground integrated system to improve the DES encryption and decryption processing rate.
[0006] How to quickly exchange data in a long-distance independent network based on cross-network terminals, the purpose of the present invention can be achieved by the following technical solutions:
[0007] Optimizing dedicated network equipment environments:
[0008] Analyze the characteristics of a large amount of dedicated data interaction within the system and design a dedicated high-speed WAN cross-segment network environment:
[0009] 1) Using the uniqueness of the physical MAC address in each host, a dedicated network environment for direct data transmission is designed. The hosts are connected through switches, and the host MAC address table is saved and maintained. Data can be saved and maintained through the switch to ensure the accuracy and uniqueness of the direct data interaction path;
[0010] 2) In order to solve the problem of a large number of hosts in the wide area network across network segments, unilateral positioning through MAC addressing is too inefficient and has strong limitations. IP addresses are set according to the region and processing characteristics of each processing host, and the ARP table of the corresponding relationship between host IP and MAC address is regularly maintained.
[0011] The above method flexibly utilizes the characteristics of MAC and IP, while ensuring the uniqueness of the host, and by maintaining the ARP table, it also improves the addressing efficiency and effectively reduces the data interaction time.
[0012] Optimize the total network latency:
[0013] The total network delay is composed of sending delay, propagation delay, processing delay and queuing delay.
[0014] In order to reduce the total delay, it is necessary to optimize the network system and software sending and receiving mechanisms one by one according to the environmental characteristics to reduce various delays.
[0015] Sending delay:
[0016] The sending delay is the time required for a host or router to send a data frame. To optimize the delay, the data frame length should be set appropriately and the sending rate should be increased.
[0017] Propagation delay:
[0018] Propagation delay is the time it takes for an electromagnetic wave to propagate a certain distance in a channel, since the transmission rate of electromagnetic waves is a fixed value.
[0019] This method reduces the propagation delay by reasonably designing the network links and reducing the propagation distance.
[0020] Processing delay:
[0021] Processing delay is the time required for a host or router to process a received packet.
[0022] This method mainly aims at processing delay, optimizing network layout, and designing a reasonable processing software platform to reduce the processing delay caused by the interaction of each branch system. By assigning processors to process network data through software, all platform resources are fully utilized to achieve the purpose of speeding up. The following are the design steps of this method:
[0023] 1) Data is stored and forwarded while data packets are exchanged. Since data is only forwarded in packets rather than messages, a long message needs to be cut into several packets of reasonable length to optimize the processing delay of a single packet data;
[0024] 2) The software puts the packaged data into a virtual queue to speed up the processing efficiency of real-time data;
[0025] 3) Set up a virtual real-time response mechanism to update the status of the data packet to be processed, the CPU processing core number and the processed data packet through the virtual runtime service mechanism to ensure that all resources in the computer can be reasonably utilized within the shortest time and the orderliness of the processed data can be guaranteed.
[0026] After actual testing, data interaction using the optimized platform increased by 2-3 times, and there was almost no network packet loss.
[0027] Queuing delay:
[0028] Queuing delay is the time that a packet waits in the input queue and output queue of a router, and its size generally depends on the current traffic volume of the network.
[0029] The method sets up a network data interaction processing software system, which is responsible for specially processing the queue waiting mechanism during each data interaction and the order of data entering and leaving the queue.
[0030] The entire network data interaction processing software system is divided into three parts: data input queue mode, data queue queuing mechanism, and data output queue mode.
[0031] 1) When the data packets to be interacted sent by different source ends enter the router, the network data interaction processing software system triggers the real-time response system, allocates their own independent configuration codes according to the pre-configured data interaction mapping table, and enters the response class data stack to wait for subsequent data processing.
[0032] 2) In the cache area of various data stacks, the processing software optimizes each data queue according to different configuration codes to prevent queue congestion caused by periodic voice and image data, and ensure the real-time transmission of various control commands. The software needs to call the real-time response system to reinsert the corresponding queue position according to the configuration code identifier every time new data enters the queue. In order to improve the efficiency of queue processing, this method adopts a layer-by-layer classification method, and optimizes the retrieval path through a multi-layer classification retrieval method to reduce the queue delay consumed by the retrieval.
[0033] 3) When different data are output from the router queue, the real-time response system dynamically refreshes the queue to ensure that the current outgoing packet is the highest priority data, and indexes the data configuration identifier to send the data directly to the specified destination address.
[0034] Due to the adoption of the above technical solution, the high-speed processing system for network data interaction of the present invention has the following advantages over the traditional network system:
[0035] Real-time performance: Compared with traditional network systems, the present invention greatly reduces the time consumption. Compared with the traditional direct-connection network mode, after using this network processing software system, the network receiving and sending rate can be increased by about 20%, and it can distinguish between periodic data and real-time control data, ensuring the real-time sending of control instructions.
[0036] Flexibility: The present invention is mainly based on a network rapid processing software system, and its core system relies on manually pre-loaded configuration forms of various levels to perform allocation operations one by one. All pre-loaded forms can be reloaded according to changes in the real-time environment without adding any software configuration items. The design is flexible and simple.
[0037] Portability: The present invention is mainly based on the network fast processing software system, and its core operation configuration form can be modified in the background and reloaded. The network transmission and reception of the entire operating system and each physical interaction layer use universal network protocols. Users can change and replace the configuration form according to new needs to complete the system transplantation.
[0038] Cost saving: Compared with the tens of thousands of dollars of investment in each hardware board and the time cost of hardware debugging, the entire network rapid processing software system only needs to consume the initial software development cost. And without calculating the hardware design loss, the entire system can only be used for the unique network condition state after development. If there are changes in the state, additional research and development funds and time are required for hardware transformation and debugging. The network rapid processing software system designed by the present invention is based on the software model and has strong versatility and ease of operation. In addition, the modular design allows many changes to meet the adaptation needs of the entire new environment by simply configuring according to the instructions, which greatly saves funds and time costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the cross-network wireless network data link and network equipment;
[0040] Figure 2 It is a schematic diagram of a network processing system for a cross-network wireless network;
[0041] Figure 3 Schematic diagram of network processing software for cross-network wireless networks;
[0042] Figure 4 Schematic diagram of the process of the network rapid processing system processing the data to be sent in real time. DETAILED DESCRIPTION
[0043] The following is a detailed description of the embodiment of the present invention in conjunction with the accompanying drawings. This embodiment is implemented based on the technical solution of the present invention, and a detailed implementation method and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiment. This embodiment is a system solution for a certain aerospace model of Tianjin-Beijing wireless joint test.
[0044] See Figure 1 , covering the cross-network data links and network equipment diagram of the entire wireless network from Beijing to Tianjin.
[0045] in Figure 2, 3 This is a schematic diagram of the actual hardware layout and uplink and downlink data flows of the present invention. The present invention displays the data flows in the above schematic diagram, performs data pre-classification, and constructs a reasonable network classification configuration table.
[0046] Figure 4 It is a flowchart of the network rapid processing system processing the data to be sent in real time, wherein the network rapid processing system marks all the data entering the queue to be sent with a configuration code according to the predefined configuration form and then enters the waiting queue. The real-time data processing system quickly and in real time updates the sequence number of the data to be sent out of the queue according to the configuration code, and the updated data is sent according to the new sequence.
Claims
1. A network data interaction method, characterized in that: include: 1) By optimizing the dedicated network equipment environment and linearly planning the MAC addresses and IP addresses of terminals at all levels, network data transmission can efficiently query the destination address, thereby reducing the time consumed by data interaction; 2) Optimize the total network delay and improve the efficiency of network data interaction by reducing the sending delay, propagation delay, processing delay and queuing delay; By optimizing the dedicated network equipment environment and linearly planning the MAC addresses and IP addresses of terminals at all levels, network data transmission can efficiently query the destination address to reduce the time consumed by data interaction, including: Using the uniqueness of the physical MAC address in each host, a dedicated network environment for direct data transmission is designed. The hosts are connected through switches, and the host MAC address table is saved and maintained. Data can be saved and maintained in the MAC address table of each host through the switch to ensure the accuracy and uniqueness of the interactive path of this type of direct data transmission; In order to solve the problem of a large number of hosts in the wide area network across network segments, the efficiency of unilateral MAC addressing is too low and has strong limitations. IP addresses are set according to the region and processing characteristics of each processing host, and the corresponding ARP table of host IP and MAC address is regularly maintained. Regularly maintain the ARP table of the host IP and MAC address correspondence, including: 1) Use the uniqueness of the MAC address to lock each network terminal to ensure that the mapping relationships do not conflict with each other; 2) In view of the large number of data processing terminals in this environment, the network IP is used in conjunction with the physical MAC address of each terminal; Optimize the total network delay and improve the network data interaction efficiency by reducing the sending delay, propagation delay, processing delay and queuing delay, including: 1) By setting the data frame length, increasing the sending rate can reduce the sending delay; 2) Reduce the propagation delay by designing the network physical links and reducing the propagation distance; 3) By optimizing the network layout, establishing a network virtual response mechanism, and designing a processing software platform to reduce the processing delay caused by the interaction of various branch systems; The transmission delay is the time required for a host or router to send a data frame; Propagation delay is the time it takes for an electromagnetic wave to propagate a certain distance in a channel; Processing delay is the time required for a host or router to process a packet when it is received; Queuing delay is the time a packet waits in the input queue and output queue of a router.
