CN115632925B - Time-certainty fusion network architecture and data communication method - Google Patents

Time-certainty fusion network architecture and data communication method Download PDF

Info

Publication number
CN115632925B
CN115632925B CN202211670725.2A CN202211670725A CN115632925B CN 115632925 B CN115632925 B CN 115632925B CN 202211670725 A CN202211670725 A CN 202211670725A CN 115632925 B CN115632925 B CN 115632925B
Authority
CN
China
Prior art keywords
time
data
network
requirement
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211670725.2A
Other languages
Chinese (zh)
Other versions
CN115632925A (en
Inventor
杨冬
任杰
王洪超
张维庭
高德云
张宏科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN202211670725.2A priority Critical patent/CN115632925B/en
Publication of CN115632925A publication Critical patent/CN115632925A/en
Application granted granted Critical
Publication of CN115632925B publication Critical patent/CN115632925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a convergence network architecture for determinacy generation in time and a data communication method, wherein the network architecture comprises the following components: the time endogenous service layer is used for acquiring the time requirement of the data; the time generating adaptation layer is used for scheduling network resources to carry out network configuration according to the time requirement; and the time resource generation layer is used for transmitting data according to the network configuration. The data communication method based on the network architecture comprises the steps of obtaining time requirements of data, scheduling network resources according to the time requirements to carry out network configuration, and transmitting the data according to the network configuration. For data with different time requirements, time adaptation of network resources is realized through time requirement transmission and information sharing between network layers, so that data transmission with differentiated time requirements is supported, and the time guarantee capability of network communication is improved.

Description

Fusion network architecture capable of generating determinacy within time and data communication method
Technical Field
The invention relates to the technical field of deterministic network communication, in particular to a converged communication network architecture generating determinacy within time and a data communication method.
Background
With the gradual development of communication network technology, the service carrying capacity of the network is remarkably improved, mainly embodied in high bandwidth, low time delay and wide connection. High performance communication networks have also facilitated the creation of new internet businesses such as live video, AR/VR, autopilot, telemedicine, industrial control, etc. Meanwhile, new network applications put more strict requirements on the service quality of network delay and jitter, for example, millisecond-level delay and microsecond-level jitter are strictly required for control signaling in an industrial private network, and end-to-end delay is also required to be less than 20ms for video interaction data in a wide area network. This type of demand for time has prompted the evolution of communication networks from providing best effort services to providing deterministic services.
However, the traditional internet can only reduce the average end-to-end delay to tens of milliseconds, and cannot achieve strict upper-limit guarantee of delay. Intuitively uncontrollable end-to-end delay is caused by long queuing delay due to network congestion, but is essentially caused by two major drawbacks of existing network architectures and protocol stack architectures. The protocol stack layers lack the notion of time: when the intra-layer flow is executed, the time requirement of the data cannot be acquired, which results in the loss of the time guarantee capability.
In view of the above drawbacks, it is urgently needed to explore and construct a more complete network architecture supporting deterministic communication so as to meet the difficult problem of convergence networking of multiple network applications with differentiated real-time communication levels. Because the communication network has the characteristic of a cross-disciplinary complex system, the top-down system design is required to be carried out from the application requirement, and the achievement has wide application significance.
Disclosure of Invention
In view of this, embodiments of the present invention provide a converged network architecture for generating determinism within time and a data communication method, so as to solve the technical problem that it is difficult to ensure deterministic communication due to lack of time guarantee capability of network communication.
The technical scheme provided by the invention is as follows:
a first aspect of an embodiment of the present invention provides a convergence network architecture for determinacy generation within time, including: the time endogenous service layer is used for acquiring the time requirement of the data; the time-in-time adaptation layer is used for scheduling network resources according to the time requirement to carry out network configuration; and the time resource generation layer is used for transmitting data according to the network configuration.
Optionally, the time-lapse service layer includes: the universal socket comprises basic communication attributes and is used for realizing the transmission of the data with the time requirement as the basic requirement; the high-speed socket comprises basic communication attributes and a communication deadline and is used for realizing the transmission of data with the time requirement being a time delay guarantee requirement; and the time trigger socket comprises basic communication attributes and a sending time stamp and is used for realizing the transmission of the data of which the time requirement is a time determinacy requirement.
Optionally, the temporally generated adaptation layer comprises: the general adaptation module is used for finishing basic forwarding path scheduling and service quality priority configuration; the time-first adaptation module is used for realizing the adjustment of forwarding congestion control and the selection of a forwarding path according to the communication time limit; and the strict time trigger adaptation module is used for realizing the joint scheduling of the forwarding path and the transmission time slot according to the characteristic information of data transmission, the time requirement information and the resource use condition of the current network.
Optionally, the intra-time resource layer includes: the transmission component layer comprises a universal transmission protocol module, a congestion control module based on deadline perception and a transmission protocol module for real-time inspection, wherein the universal transmission protocol module is used for encapsulating data by using a first preset transmission protocol, the congestion control module based on deadline perception is used for adding a communication deadline into the data, the data and the communication deadline are encapsulated together by a second preset transmission protocol, the data sending rate is adjusted according to the communication deadline and the congestion condition, and the transmission protocol module for real-time inspection is used for encapsulating the data and the sending timestamp by using a third preset transmission protocol; the network component layer comprises a basic routing module, a distributed routing module based on time delay and a centralized routing module, wherein the basic routing module is used for acquiring the shortest path generated according to a distributed routing protocol to forward data, the distributed routing module based on time delay is used for calculating the path quality of all data forwarding paths in real time, and the forwarding path with the best path quality is selected to forward the data; the centralized routing module is used for performing combined scheduling of forwarding paths and transmission time slots according to characteristic information of data transmission, time requirement information and resource use conditions of a current network, and acquiring routing entries for data forwarding in advance; the link component layer comprises a general QoS module, a symmetrical parallel processing module, a sending sequencing module based on time limit, a rapid data path module, a time perception shaping/time division multiplexing module and a flow filtering and monitoring module, wherein the general QoS module is used for realizing differentiated services of a sending side according to service quality, the symmetrical parallel processing module is used for realizing data receiving of a receiving side in a symmetrical parallel processing mode, the sending sequencing module based on time limit is used for adjusting a data sending sequence according to the communication time limit, the rapid data path module is used for sinking a message processing and forwarding process of a protocol stack to a kernel network card driving layer to realize rapid data receiving, the time perception shaping/time division multiplexing module is used for sending data by using time perception shaping or time division multiplexing scheduling, and the flow filtering and monitoring module is used for filtering the arrived data according to a transmission time slot and monitoring the data according to a flow ID field of the data.
Optionally, the time endogenous resource layer further includes a physical component layer, the physical component layer includes a plurality of transmission media for transmitting data, and the link component layer further includes a hardware clock, and the hardware clock sends time information to the time endogenous service layer, the time endogenous adaptation layer, and the time endogenous resource layer, respectively.
A data communication method according to a second aspect of an embodiment of the present invention includes: acquiring time requirements of data; scheduling network resources according to the time requirement to carry out network configuration; and transmitting data according to the network configuration.
Optionally, the time requirements include a basic requirement, a delay guarantee requirement, and a time certainty requirement; the scheduling of the network resource for network configuration according to the time requirement includes: acquiring the type of the time requirement; if the time requirement is a basic requirement, the network configuration is a universal adaptation; if the time requirement is a time delay guarantee requirement, the network configuration is time-first adaptive; if the time requirement is a time certainty requirement, the network is configured to strictly time-triggered adaptation.
Optionally, transmitting data according to the network configuration includes: acquiring the type of the network configuration; if the network is configured to be universal, transmitting data according to a best-effort communication method oriented to the traditional Internet; if the network configuration is time-first adaptation, transmitting data according to a wide area network-oriented time delay guarantee communication method; and if the network is configured to be strictly time-triggered to adapt, transmitting the data according to a time deterministic communication method facing the private network.
Optionally, the data is transmitted according to a best effort communication method facing the traditional internet, including: encapsulating data using a first predetermined transport protocol; realizing differentiated service of a sending side according to the service quality; forwarding the data according to the identification or the basic forwarding routing entry of the IP protocol; and realizing data reception on a receiving side by means of symmetrical parallel processing.
Optionally, the transmitting data according to the wide area network-oriented delay guarantee communication method includes: adding the communication time limit into the data, and encapsulating the data and the communication time limit together through a second preset transmission protocol; adjusting the data sending rate according to the communication time limit and the congestion condition; calculating the path quality of all data forwarding paths in real time, and selecting the forwarding path with the best path quality for data forwarding; adjusting the data transmission sequence according to the communication time limit; data is received using the fast data path.
Optionally, the transmitting data according to a time deterministic communication method for a private network includes: acquiring and storing a sending timestamp distributed by an application for data, and packaging the data and the sending timestamp through a third preset transmission protocol; acquiring a corresponding routing entry according to a destination IP (Internet protocol) or a destination identifier of the data and forwarding the data according to the acquired routing entry, wherein the corresponding routing entry is acquired in advance by performing joint scheduling of a forwarding path and a transmission time slot according to characteristic information, time requirement information and the resource use condition of the current network sent by the data; scheduling data transmission using time-aware shaping or time division multiplexing mechanisms; and filtering the arriving data according to the transmission time slot, and supervising the data according to the stream ID field of the data.
A third aspect of embodiments of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the data communication method according to any one of the second aspect and the second aspect of the embodiments of the present invention.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute a data communication method according to any one of the second aspect and the second aspect of the embodiments of the present invention.
According to the technical scheme, the embodiment of the invention has the following advantages:
according to the time-endogenous certainty fusion network architecture and the data communication method provided by the embodiment of the invention, the time requirement of data is acquired through the time-endogenous service layer, the time-endogenous adaptation layer schedules network resources according to the time requirement to carry out network configuration and the time-endogenous resource layer transmits the data according to the network configuration, and for the data with different time requirements, the time adaptation of the network resources is realized through time requirement transmission and information sharing among network layer levels, so that the data transmission with different time requirements is supported, and the time guarantee capability of network communication is improved.
Drawings
In order to more clearly express the technical scheme of the embodiment of the present invention, the drawings used in the description of the embodiment will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a time-domain deterministic convergence network architecture according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of data communication in an embodiment of the present invention;
FIG. 3 is a flowchart of a best effort communication method for the conventional Internet according to an embodiment of the present invention;
fig. 4 is a flowchart of a wide area network-oriented delay guarantee communication method in an embodiment of the present invention;
FIG. 5 is a flow chart of a time deterministic method for a private network in an embodiment of the invention;
FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a convergence network architecture for generating determinism within time, as shown in fig. 1, including:
and the time in-time service layer is used for acquiring the time requirement of the data. The time-lapse service layer is responsible for sending and receiving data, and defines and transfers the time requirement of the data to the time-lapse adaptation layer during sending.
And the time generating adaptation layer is used for scheduling network resources according to time requirements to carry out network configuration. The time endogenous adaptation layer is used for intelligently scheduling network resources to meet the time requirement of the service provided by the service layer in the time endogenous time.
And the time endogenous resource layer is used for transmitting the data according to the network configuration. The time endogenous resource layer carries out function reconstruction according to network configuration generated by the time endogenous adaptation layer to ensure deterministic communication of data and is divided into a transmission component layer, a network component layer, a link component layer and a physical component layer according to a protocol stack layer.
The fusion network architecture of the time-endogenous certainty comprises three layers of a time-endogenous service layer, a time-endogenous adaptation layer and a time-endogenous resource layer, and the layers cooperate with each other to realize time information sharing, time requirement transmission and adaptation of time guarantee capability. And the time requirement of the data is acquired by the time endogenous service layer, the network resources are scheduled by the time endogenous adaptation layer and the time endogenous resource layer according to the time requirement for network configuration, and the data is transmitted according to the network configuration. For data with different time requirements, network resources are scheduled to carry out respective network configuration for transmission, the transmission of the data under different time requirements can be met, the defects that a traditional network architecture lacks a time concept and protocol stack level adaptation is loose are overcome, and the time guarantee capability of data network communication is improved.
In one embodiment, the temporal biogenic services layer comprises:
and the universal socket comprises basic communication attributes and is used for realizing the transmission of data with time requirement as a basic requirement. The universal socket is used as a basic unit of non-real-time application communication, and is used for specifying attributes such as an IP address, a port, a transmission protocol and the like, and realizing communication between basic application programs.
And the high-speed socket comprises basic communication attributes and a communication deadline and is used for realizing the transmission of data with time requirement as delay guarantee requirement. The high-speed socket is used as a basic unit of real-time application communication, besides the specification of basic communication attributes is completed, the communication deadline of the message, namely the latest delivery time, is injected into a message field in a label mode, so that the time concept is transparent to each network level, and the specific value of the communication deadline of the message is determined according to the end-to-end requirement of the application. The high-speed socket also sets a special physical memory block shared by addresses, and by setting the special physical memory block shared by the addresses, a user mode program can put data messages into the memory block when sending data, and the data messages are directed to a corresponding network equipment driver through the redirection function of the socket, and the driver directly acquires the messages according to the addresses of the messages in the memory for transmission without executing the processing flow of a protocol stack; similarly, when the network device receives data, the driver directly writes the data frame into the shared memory block and redirects the data frame to the user-mode socket, and the socket acquires the data message according to the address of the socket for processing, so that the data packet can realize zero-copy transmission between the user space and the kernel space, huge expenses caused by memory allocation, copy and release, cache miss and the like are reduced, and the processing of the protocol stack is accelerated.
And the time trigger socket comprises basic communication attributes and a sending time stamp and is used for realizing the transmission of the data of which the time requirement is a time determinacy requirement. The time trigger socket is used as a communication basic unit of isochronous application, the time transmitted from a local network interface is scheduled for each message through high-precision transmission time except the stipulation of basic communication attribute, and an accurate transmission time stamp is configured to a control field of the message through an SO _ TXTIME option, SO that the accurate time control of the bottom layer equipment on the transmission is realized.
In one embodiment, the temporally generated adaptation layer includes:
and the universal adapting module is used for finishing basic forwarding path scheduling and service quality priority configuration. Specifically, the general adaptation module is used to complete basic forwarding path scheduling and Quality of Service (QoS) priority configuration, and the adaptation function is based on the existing network architecture, and is mainly used for resource adaptation of a large amount of common services or low-priority services, and cannot guarantee end-to-end time requirements of data packets.
And the time-first adaptation module is used for realizing the adjustment of forwarding congestion control and the selection of a forwarding path according to the communication time limit. Specifically, the time-first adaptation module is configured to complete adjustment of forwarding congestion control and planning of a forwarding path in consideration of a message communication deadline; the adaptation function aims at the problem that existing equipment of a wide area network difficultly supports the deployment of a deterministic traffic shaping function, provides weak deterministic service for data in a loose soft implementation mode, and is a compromise between high determinacy and an enhanced hardware function.
And the strict time trigger adaptation module is used for realizing the joint scheduling of the forwarding path and the transmission time slot according to the characteristic information of data transmission, the time requirement information and the resource use condition of the current network. Specifically, the strict time trigger adaptation module is configured to complete centralized routing planning and scheduling of transmission timeslots of path nodes in consideration of hop-by-hop high-certainty transmission of a packet. In order to realize the cooperative configuration of the resources of the whole network and the extremely high certainty guarantee, a centralized control function of an integrated controller is required to be relied on, the integrated controller has a function of dynamic resource detection, global network resources and use conditions are dynamically sensed through detection packets or inquiry, a terminal or an application needs to register feature information and time requirements of services to the controller before network access, the controller can carry out combined scheduling on a forwarding path and a transmission time slot after acquiring the requirements of data streams, and finally, a scheduling result is issued to an underlying network node and deployed.
In one embodiment, the temporal generation resource layer includes:
the transmission component layer comprises a universal transmission protocol module, a congestion control module based on deadline awareness and a transmission protocol module for real-time inspection, wherein the universal transmission protocol module is used for encapsulating data by using a first preset transmission protocol, the congestion control module based on deadline awareness is used for adding a communication deadline into the data, the data and the communication deadline are encapsulated together by a second preset transmission protocol, the data sending rate is adjusted according to the communication deadline and the congestion condition, and the transmission protocol module for real-time inspection is used for encapsulating the data and the sending timestamp by using a transmission protocol for real-time inspection.
Specifically, the first preset transmission protocol is an existing communication protocol, including but not limited to a general protocol such as a TCP/IP protocol, an HTTP protocol, and the like. The generic transport protocol module receives data from the business application using a generic transport protocol, provides end-to-end data services for communication between application processes, and establishes logical connections between communication devices.
The difference between the second predetermined transmission protocol and the first transmission protocol is that the message carries the communication duration. The deadline-aware based congestion control module utilizes ECN feedback and message communication deadlines to adjust the congestion window based on existing TCP congestion control. In a congestion situation, TCP congestion control will check the traffic deadline of the flows generated by each port, and the flow windows far from the traffic deadline are narrowed down to save part of the bandwidth, so that flows near the traffic deadline can have a larger short-term bandwidth share to meet their traffic deadline. With this communication deadline-aware congestion management, not only can the number of packets exceeding the communication deadline be reduced, but also stricter communication deadline settings can be met, and forwarding device hardware is not required to have enhanced functionality.
The difference between the third predetermined transmission protocol and the first predetermined transmission protocol is that the message includes a transmission time stamp, i.e., a required communication time. The real-time detection transmission protocol module provides an end-to-end transmission service with real-time monitoring for data requiring strict real-time performance through a third preset transmission protocol, namely the real-time detection transmission protocol. The message of the transmission protocol which is checked in real time contains a serial number field, and an application program can detect the loss of the message according to the field and ensure that the received data messages are submitted to a user in a correct sequence. In addition, the transmission protocol of real-time inspection adds a timestamp field in the header of the message for filling the sampling time from the source media stream, and the receiving-end application program can use the timestamp to ensure the synchronous information transmission and calculate the time delay and jitter of the data stream.
The network component layer comprises a basic routing module, a distributed routing module based on time delay and a centralized routing module, wherein the basic routing module is used for acquiring the shortest path generated according to a distributed routing protocol to forward data, the distributed routing module based on time delay is used for calculating the path quality of all data forwarding paths in real time, and the forwarding path with the best path quality is selected to forward the data; the centralized routing module is used for performing joint scheduling of forwarding paths and transmission time slots according to the characteristic information of data transmission, time requirement information, the resource use condition of the current network and the communication time required to be transmitted, and acquiring routing entries for data forwarding in advance.
The network component layer supports the processing of an identifier or an IP protocol, and the basic routing module forwards a data packet according to the shortest path generated by a distributed routing protocol; the distributed routing module based on the time delay takes the hop-by-hop time delay as the cost of a link to calculate a forwarding path; and the centralized routing module plans a forwarding path of the message, which is selected by the centralized controller as the optimal resource path.
Specifically, the basic routing module provides a route forwarding function for a normal data flow without time requirement. The forwarding function of the basic routing module can be realized by operating a distributed routing protocol, a forwarding node in the network can autonomously report routing information or link connection conditions to a neighbor node, and the node can verify whether a local database or a routing forwarding table needs to be updated or not after receiving the information until the nodes in the whole network complete information synchronization; through basic forwarding, all data of the same destination can be forwarded through the same shortest path to the destination node.
The distributed routing module based on time delay provides a routing forwarding function for data flow with weak determinism requirement of the wide area network. In the network operation stage, each forwarding node can autonomously measure the link state based on time delay, the fastest propagation time delay and the processing time delay of hop-by-hop are used as the cost of the link and stored in a link state database, after the link databases of the whole network nodes are synchronized, each node can acquire the topology in the database, calculate n forwarding paths with shortest time delay facing each target network segment or target node and fill in a routing table, and periodically send a detection packet to monitor the link state, and notify in a broadcast mode after a fault is detected; after a data message reaches a router, n routing table entries corresponding to a destination node are matched, then local Path Quality (Quality of Path, qoP) is inquired in real time, the value of QoP and the end-to-end time delay of a link are related to queue conditions of network outlets corresponding to different forwarding paths, and the smaller the time delay is, the fewer the number of queued packets is, the better the Path Quality is; after calculating QoP of all reachable paths in real time, the data packet selects a path with the best QoP from the QoP, and delivers the path to the corresponding egress.
The centralized routing module provides route forwarding functionality for data flows with high deterministic requirements. The centralized routing module is provided with a centralized controller which is planned in a centralized mode, the centralized controller can send link state detection packets periodically, and the detection packets can be diffused to each network node and finally return to the controller. Each detection packet feeds back the passing path information to the controller, and the controller integrates all the path information and forms a topological graph. Meanwhile, the centralized controller detects the current resource use condition of the link, such as available bandwidth and the like, and obtains the autonomous statistical information of the forwarding device, such as total bandwidth, sending rate and the like, in a mode of actively reporting by the node or sending a query signaling by the controller, and before the network access is applied, the centralized controller selects an optimal path as a forwarding path of the data stream according to the current network resource condition.
The link component layer comprises a general QoS module, a symmetrical parallel processing module, a deadline-based sending sequencing module, a fast data path module, a time-sensing shaping/time division multiplexing module and a flow filtering and supervising module, wherein the general QoS module is used for realizing differentiated services of a sending side according to service quality, the symmetrical parallel processing module is used for realizing data receiving of a receiving side in a symmetrical parallel processing mode, the deadline-based sending sequencing module is used for adjusting the data sending sequence according to the communication deadline, the fast data path module is used for sinking the message processing and forwarding process of a protocol stack to a kernel network card driving layer to realize data fast receiving, the time-sensing shaping/time division multiplexing module is used for sending data by using time-sensing shaping or time division multiplexing scheduling, and the flow filtering and supervising module is used for filtering the arriving data according to a transmission time slot and supervising the data according to a flow ID field of the data.
Specifically, the general QoS module provides a transmission schedule for the messages according to the priority level; in order to meet QoS requirements of different user service flows, an application program sets a priority field or a service type field of a message header according to the mapping of specified requirements and priorities, notifies each device in a network of the QoS requirements, a network device classifies messages according to corresponding fields, puts the messages into different sending queues according to types for caching, and adopts a related algorithm to schedule the sending sequence of the messages so as to ensure the transmission performance of the high-priority messages. The symmetric parallel processing module can adjust CPU cores for network card receiving interruption and binding according to the number of receiving queues, the existing network processing equipment generally has a plurality of receiving/sending queues, the symmetric parallel processing module can classify and queue messages according to hash values of relevant fields (such as protocol types, quintuple and the like) of the incoming messages, and then the queues are respectively distributed to the CPU cores for processing, so that the message receiving process of a single queue is converted into the parallel processing of a plurality of queues, and the capacity of a multi-core processor is fully utilized. The symmetrical parallel processing module can effectively relieve the bottleneck of receiving interrupt processing caused by overlarge load of a single CPU core, and effectively reduce processing time delay.
The sending sequencing module based on time limit adjusts the data sending sequence according to the communication time limit and provides weak deterministic sending scheduling for the message; the forwarding node maintains a queue at the egress and sorts the packets according to the communication deadline time of the packets, and the network device always processes the packets at the front of the queue first, so that data packets that are more urgent are processed earlier. By the method, the number of the messages which are delivered in a time limit exceeding the communication time limit due to queuing can be effectively reduced, but the method cannot strictly guarantee the upper limit of the time delay of the messages.
The fast data path module is used for high-speed analysis of data messages, a network data packet processing function originally existing in a kernel protocol stack is sunk to a kernel network card driving layer, a BPF mapping (BPF Maps) module is designed in the kernel network card driving layer, the BPF mapping module can reconstruct a BPF user program according to a routing table item of a node or a flow table issued by a network controller, and an LLVM/CLang compiler can convert the user program into BPF byte codes and load the BPF byte codes into a kernel for execution. The function of the BPF mapping module is as follows: when the data message reaches the switching forwarding node, the BPF mapping module acquires the data message prior to the protocol stack to execute the user-defined action. The data message processed by the program is not processed by the protocol stack, thereby avoiding the processing overhead of the protocol stack. The BPF mapping module needs to inject a processing rule of the data packet in advance, and when the data packet reaches the network card driver layer, the BPF mapping module selects to execute an action according to the processing rule, such as sending, discarding, remapping to a user space, or handing over to a protocol stack for processing. Compared with the traditional protocol stack, the function can minimize the overhead of processing the data packet, greatly improve the processing efficiency and stability of the routing equipment and the switching equipment, and ensure the time deterministic transmission of the data stream.
The time-aware shaping/time division multiplexing module schedules data transmission using a time-aware shaping or time division multiplexing mechanism. Time-aware shaping or time division multiplexing mechanisms provide strictly deterministic transmission scheduling for packets. The basic idea of time-aware shaping or time division multiplexing is to reserve transmission time, i.e. transmission time slots, for high-priority data streams with more stringent requirements, and in the transmission time slots, network devices only allow specific high-priority data to be transmitted, and other data need to be buffered in a queue and transmitted after waiting for the end of the transmission time slots. In order to realize the division of transmission time slots, the work of time perception shaping or time division multiplexing depends on that a forwarding device has control and control capacity on a network card queue, namely, a gate control mechanism, a gate is arranged behind each transmission queue, data of the queue can be transmitted when the gate is opened, the data cannot be transmitted when the gate is closed, the opening and closing states of all the queue gates are determined by entries in a gate control table, each entry comprises a switching time and a queue opening and closing sequence, when a high-priority data stream arrives, the gate control table controls the high-priority queue gate to be opened, and other queue gates are closed, so that the interference-free transmission can be realized. The setting of the transmission time slot ensures that the transmission of the high-priority data stream is not interfered by the low-priority data stream and is not blocked, so that the high-priority data stream has stable queuing time delay and ensures the determined end-to-end time delay and jitter of the data stream.
And the flow filtering and supervising module filters the arriving data according to the communication time required to be sent and supervises the data according to the flow ID field of the data. The flow filtering and supervision can screen the arriving messages to ensure the high performance of the receiving process; and a door which has the same function as the door of the time-sensing shaping exit queue is arranged in front of the entrance queue of the network equipment, and allows the message to pass through the entrance queue to wait for processing when the door is opened, and does not allow the message to enter when the door is closed. For a communication process with high certainty requirement, data messages which do not arrive on time in a correct time window need to be filtered in a message receiving process, so that the type of overdue messages are prevented from entering a queue and the processing of important messages is prevented; meanwhile, the flow filtering also checks the flow ID field of the message to judge whether the message is an unsafe illegal message or not, thereby ensuring the safety of the receiving process.
In one embodiment, the time-endogenous resource layer further includes a physical component layer that includes several transmission media for transmitting data, such as various transmission media including IEEE 802.15.4 wireless personal area networks, IEEE 802.3 wired ethernet, and so on.
The link component layer also comprises a hardware clock and the hardware clock sends the time information to the time endogenous service layer, the time endogenous adaptation layer and the time endogenous resource layer respectively. Specifically, the hardware clock on the network card device periodically performs clock synchronization and delay measurement, and shares accurate time information to other levels. The network equipment exchanges synchronous information between adjacent equipment according to time synchronous messages encapsulated by IEEE 802.1AS by using an MAC protocol, calculates the deviation of a local clock and a master clock from messages such AS a message timestamp, a frequency ratio and the like, adjusts the local clock according to the deviation, acquires an accurate timestamp by accessing a hardware clock interface between layers, and can acquire a link delay result measured by the hardware clock.
An embodiment of the present invention further provides a data communication method, as shown in fig. 2, including:
step S100: the time requirement to acquire the data. Specifically, the time requirements include basic requirements, delay guarantee requirements and time certainty requirements, the basic requirements are existing communication requirements, the data communication requirements do not have strict delay requirements and requirements for specifying specific time for sending, and the method is suitable for data transmission in the internet. The delay guarantee requirement is a requirement of having a latest communication deadline for the transmission of data, the data is required to be transmitted within the latest communication deadline, and the method is suitable for the data transmission of the wide area network. The time certainty requirement is that each data packet has a specified transmission time, and the data packet is required to be sent within the specified transmission time, so that the time certainty requirement is suitable for data transmission of a private network.
Step S200: and scheduling network resources according to the time requirement to carry out network configuration. In particular, different time requirements need to be fulfilled by different network configurations, by configuring different kinds of network configurations to meet the time requirements of data transmission.
Step S300: and transmitting the data according to the network configuration. Specifically, the communication resources are re-deployed according to network configuration to ensure that respective time requirements can be met during data transmission.
According to the embodiment of the invention, network resources are scheduled for network configuration according to the time requirement of the acquired data, and the data are transmitted according to the network configuration. For data with different time requirements, respective network configuration is carried out for transmission by scheduling network resources, the transmission of the data under different time requirements can be met, and the time guarantee capability of data network communication is improved.
In one embodiment, the time requirements include a base requirement, a delay guarantee requirement, and a time certainty requirement; scheduling network resources for network configuration according to time requirements, comprising:
step S210: acquiring the type of time requirement; if the time requirement is a basic requirement, the network is configured to be a universal adaptation, the universal adaptation is used for finishing basic forwarding path scheduling and Quality of Service (QoS) priority configuration, calling a universal socket and a universal transmission protocol such as a TCP/IP protocol and an OSI protocol to perform data transmission, and scheduling data transmission through QoS priority.
Step S220: and if the time requirement is a time delay guarantee requirement, the network is configured to be time-first adaptive. The time-first adaptation is used for finishing the scheduling of the distributed network resources under the condition of considering the message communication deadline. Time-first adaptation requires the use of high-speed sockets for data transmission, and implements adjustment of forwarding congestion control and selection of forwarding paths according to communication deadlines.
The high-speed socket is used as a basic unit of real-time application communication, besides the specification of basic communication attributes is completed, the communication deadline of the message, namely the latest delivery time, is injected into a message field in a label mode, so that the time concept is transparent to each network level, and the specific value of the communication deadline of the message is determined according to the end-to-end requirement of the application. The high-speed socket is also provided with a special physical memory block shared by addresses, and by the special physical memory block shared by the addresses, a user mode program can put data messages into the memory block when sending data, and the data messages are directed to a corresponding network device driver through the redirection function of the socket, and the driver directly obtains the messages according to the addresses of the messages in the memory for transmission without executing the processing flow of a protocol stack; similarly, when the network device receives data, the driver directly writes the data frame into the shared memory block and redirects the data frame to the user-mode socket, and the socket acquires the data message according to the address of the socket for processing, so that the data packet can realize zero-copy transmission between the user space and the kernel space, huge expenses caused by memory allocation, copy and release, cache miss and the like are reduced, and the processing of the protocol stack is accelerated.
The adjusting of the forwarding Congestion Control and the selecting of the forwarding path according to the communication deadline include adjusting a Congestion window by using an ECN (Explicit Congestion Notification, a Protocol based on display feedback) feedback and a message communication deadline on the basis of an existing Transmission Control Protocol (TCP) Congestion Control. In a congested situation, TCP congestion control checks the communication deadline of the flows generated by each port, and the flow windows far away from the communication deadline are narrowed to save part of the bandwidth so that flows near the communication deadline can have a larger share of the short-term bandwidth to meet their communication deadline. With this communication deadline-aware congestion management, not only can the number of packets exceeding the communication deadline be reduced, but also stricter communication deadline settings can be met, and forwarding device hardware is not required to have enhanced functionality.
Step S230: if the time requirement is a time deterministic requirement, the network is configured for strict time triggered adaptation. The strict time trigger adaptation is used for realizing the joint scheduling of the forwarding path and the transmission time slot according to the characteristic information of data transmission, the time requirement information, the resource use condition of the current network and the communication time required to be transmitted.
Specifically, strict time-triggered adaptation requires invoking time-triggered socket transmission, which provides an end-to-end transmission service with real-time monitoring for data requiring strict real-time. The message of the transmission protocol needs to contain a serial number field to realize strict time trigger adaptation, and an application program can detect the loss of the message according to the field and ensure that the received data messages are submitted to a user in a correct sequence. In addition, the transmission protocol of real-time inspection adds a timestamp field in the header of the message for filling the sampling time from the source media stream, and the receiving-end application program can use the timestamp to ensure the synchronous information transmission and calculate the time delay and jitter of the data stream.
In order to implement joint scheduling of forwarding paths and transmission time slots that meet the requirement of time certainty, centralized routing planning is required. The centralized routing plan provides a routing forwarding function for data streams with high deterministic requirements, a centralized controller is needed for centralized planning to achieve the centralized routing plan, the centralized controller can periodically send link state detection packets, and the detection packets can be diffused to each network node and finally return to the centralized controller. Each detection packet feeds back the passing path information to the centralized controller, and the centralized controller integrates all the path information and forms a topological graph; meanwhile, the centralized controller detects the current resource use condition of the link, such as available bandwidth and the like; for the information autonomously counted by the forwarding device, such as the total bandwidth, the sending rate, and the like, the information can be obtained in a mode of actively reporting by a node or issuing a query signaling by the centralized controller, and before the application is networked, the centralized controller can select an optimal path as a forwarding path of a data stream according to the current network resource condition.
In one embodiment, transmitting data according to a network configuration includes: acquiring the type of network configuration; if the network is configured to be general adaptation, transmitting data according to a best effort communication method oriented to the traditional Internet; if the network configuration is time-first adaptation, transmitting data according to a wide area network-oriented delay guarantee communication method; if the network is configured for strict time-triggered adaptation, data is transmitted according to a time-deterministic communication method oriented to the private network.
The embodiment of the invention realizes the integration networking supporting three types of network applications with different determinacy communication grades, such as best effort, time delay guarantee and time determination, through different network configurations.
In one embodiment, the data is transmitted according to a best effort communication method facing the traditional internet, and the method comprises the following steps: encapsulating data using a first predetermined transport protocol; realizing differentiated service of a sending side according to the service quality; forwarding the data according to the identification or the basic forwarding routing entry of the IP protocol; and realizing data reception on a receiving side by means of symmetrical parallel processing.
Specifically, the first preset transmission protocol is an existing communication protocol, including but not limited to general protocols such as TCP/IP protocol, HTTP protocol, and the like. The user uses the universal socket to send and receive data, the data is packaged and analyzed by the universal transmission protocol, and the message is forwarded in the network according to the mark or the basic forwarding routing item of the IP protocol. The message uses general QoS to realize the coarse-grained differentiated service of the sending side, and uses symmetrical parallel processing to realize the quick receiving of the receiving side.
In one embodiment, transmitting data according to a wide area network-oriented delay guarantee communication method includes: adding the communication time limit into the data, and encapsulating the data and the communication time limit together through a second preset transmission protocol; adjusting the data sending rate according to the communication time limit and the congestion condition; calculating the path quality of all data forwarding paths in real time, and selecting the forwarding path with the best path quality for data forwarding; adjusting the data transmission sequence according to the communication deadline; data is received using the fast data path.
Specifically, a basic unit for transmitting and receiving data according to the wide area network-oriented delay guarantee communication method is a high-speed socket, when the high-speed socket sends data, a communication time limit is injected through a second preset transmission protocol to enable data messages to carry time information and be transparent to each layer, the second preset transmission protocol and the first transmission protocol are different in the communication time limit carried in the messages, then the transmission behavior of the optimized messages in a time endogenous resource layer is adjusted according to the communication time limit of the messages and the current network state, the communication time limit and the throughput of the messages are monitored, and a congestion window is dynamically adjusted. And evaluating the quality condition of each path at the network forwarding node of the message, and adaptively selecting a routing entry generated by distributed routing based on time delay for forwarding. The messages are sequenced based on the sending of the communication time limit to avoid long-time queuing delay, and a fast data path is used for fast processing at the forwarding node.
In one embodiment, the data is transmitted according to a time deterministic communication method facing a private network, comprising: acquiring and storing a sending timestamp distributed for the data by the application, and packaging the data and the sending timestamp through a third preset transmission protocol; acquiring a corresponding routing entry according to a destination IP (Internet protocol) or a destination identifier of the data and forwarding the data according to the acquired routing entry, wherein the corresponding routing entry is acquired in advance by performing joint scheduling of a forwarding path and a transmission time slot according to characteristic information, time requirement information and the resource use condition of the current network sent by the data; scheduling data transmission using time-aware shaping or time division multiplexing mechanisms; and filtering the arriving data according to the transmission time slot, and supervising the data according to the stream ID field of the data.
Specifically, a basic unit for receiving and sending data according to a time deterministic communication method oriented to a private network is a time triggered socket, when the time triggered socket sends data, an accurate sending timestamp is allocated to each data packet through a third preset transmission protocol, and the difference between the third preset transmission protocol and the first preset transmission protocol is that the packet includes the sending timestamp, that is, the required communication time. The method comprises the steps of obtaining transmission characteristics and time requirement information of application in advance when strict time trigger adaptation is carried out, planning a forwarding path and a transmission time slot for each data stream, issuing a scheduling result to a forwarding node in advance, packaging and analyzing a message by data through a third preset transmission protocol, attaching information such as a sequence number and a time stamp of the data to a message field to enhance real-time monitoring, forwarding the message according to a route entry issued in advance at a network forwarding node of the message, realizing interference-free and wait-free sending of the message by using a time perception shaping mechanism or a time division multiplexing mechanism, guaranteeing the time certainty of a sending process, and guaranteeing the high performance of a message receiving process by using flow filtering and supervision.
In order to meet the requirement of time certainty, a scheduling data message is sent under strict time certainty, and the sending scheduling of the strict certainty is provided for the message by adopting time perception shaping or time division multiplexing. The basic idea of time-aware shaping or time division multiplexing is to reserve transmission time, i.e. transmission time slots, for high-priority data streams which are more strictly needed, in the transmission time slots, network equipment only allows specific high-priority data to be transmitted, and other data need to be buffered in a queue and transmitted after the transmission time slots are finished; in order to realize the division of transmission time slots, the work of time perception shaping or time division multiplexing depends on that the forwarding equipment has the control capability of network card queues, namely a gating mechanism, a door is arranged behind each transmission queue, the data of the queues can be transmitted when the door is opened, and the data cannot be transmitted when the door is closed; the switching states of all queue gates are determined by entries in a gating table, and each entry comprises a switching moment and a queue switching sequence; when the high-priority data stream arrives, the gating table controls the high-priority queue door to open, and other queue doors to close, so that interference-free transmission can be realized. The setting of the transmission time slot ensures that the transmission of the high-priority data stream is not interfered by the low-priority data stream and is not blocked, so that the high-priority data stream has stable queuing time delay and ensures the determined end-to-end time delay and jitter of the data stream.
In addition, the time certainty communication method facing the private network also ensures the high performance of the receiving process by filtering, supervising and screening the arriving messages through flow. A door which has the same function as the door of the time perception shaping exit queue also exists in front of the entrance queue of the network equipment, when the door is opened, the message is allowed to pass through the entrance queue to wait for processing, and when the door is closed, the message is not allowed to enter; for a communication process with high certainty requirement, data messages which do not arrive on time in a correct time window need to be filtered in a message receiving process, so that the type of overdue messages are prevented from entering a queue and the processing of important messages is prevented; meanwhile, the flow filtration can also check the flow ID field of the message to judge whether the message is an unsafe illegal message or not, thereby ensuring the safety of the receiving process.
The embodiment of the invention supports the application and service with different time requirements in parallel by correspondingly adapting the data of the basic requirement, the time delay guarantee requirement and the time certainty requirement, and network managers or users can independently select according to the actual situation, thereby improving the operability and the resource utilization rate of the network, simultaneously making up the defect of the expandability of a strict time scheduling mechanism, and improving the certainty communication guarantee capability of the network under different scenes.
In an embodiment, the intra-time determinacy converged network architecture provided by the embodiment of the invention is used for realizing three data communication methods with different time requirements, namely a best-effort communication method facing the traditional internet, a time delay guarantee communication method facing a wide area network and a time determinacy communication method facing a private network.
As shown in fig. 3, the best effort communication method for the conventional internet includes the following steps:
step S401: and packaging and sending the message. Specifically, data of communication is generated using a general socket, the data is handed to a transport layer and control information of a general transport protocol, i.e., a transport layer header, is added. And (3) delivering the data segment to a network layer, adding an IP (Internet protocol) or identification protocol header, delivering the data packet to a data link layer, and adding an MAC (media access control) header and a tail.
Step S402: and scheduling the message transmission by using the general QoS. Specifically, according to the service type field of the IP or the identification protocol header, the packet is put into different sending queues for caching, and a relevant algorithm is adopted to schedule the sending sequence of the packet, so as to ensure that the packet obtains a transmission service corresponding to the service type of the packet.
Step S403: and (4) basic forwarding of the message. Specifically, after the packet reaches the forwarding node, the forwarding node will determine whether the packet is addressed to the local machine by checking the destination MAC address of the packet, after the determination is completed, the forwarding device will decapsulate the data packet, extract the destination IP or the destination identifier of the packet for querying the routing entry in the routing table, and after the corresponding routing entry is queried, the forwarding device will repackage the packet and deliver the packet to the sending interface for forwarding.
Step S404: the message is received using symmetric parallel processing. Specifically, in the process of receiving the message by the forwarding node and the receiving end, the entry receiving queue is determined by hash calculation of a corresponding field of the message header by the entry.
Step S405: and receiving and de-encapsulating the message. Specifically, after the message reaches the receiving end, the MAC header and the tail, the IP or identification protocol header, and the universal transmission protocol header are sequentially removed, and then the data is delivered to the socket of the receiving end, thereby completing the data communication.
As shown in fig. 4, the wide area network-oriented delay guarantee communication method includes the following steps:
step S501: and packaging and sending the message. Specifically, the data of communication is generated by using a high-speed socket and accompanied by a communication deadline of the data, the data is sent and received by using the high-speed socket, a data message carries time information and is transparent to each layer by injecting the communication deadline during sending, the data is given to a transmission layer and control information of a general transmission protocol, namely a transmission layer head is added, a data segment is given to a network layer, an IP or identification protocol head is added, a data packet is given to a data link layer, and an MAC head and a tail are added.
Step S502: communication deadline aware congestion control is configured. Specifically, the transport layer control process monitors the traffic conditions of all TCP ports to obtain ECN feedback and message communication deadlines, and adjusts the congestion window through these. When congestion occurs, TCP flows away from the communication deadline can slow down the sending rate by a large amount, while TCP flows near the communication deadline slow down or do not slow down to a small extent.
Step S503: message delivery is scheduled using delivery ordering based on communication deadline. And long queuing time delay is avoided by using sending sequencing based on a communication deadline, and quick processing is performed on forwarding nodes by using a quick data path. Specifically, the sending queue checks the communication deadline of the currently arriving message, and then queries the communication deadlines of all messages cached in the queue from the head of the queue backwards until finding the message position later than the communication deadline of the current message, and finally inserts the current message before the position.
Step S504: the message is received using the fast data path. Specifically, the message reaches the network card driving layer after being received by the network interface device, and at this time, the processing flow is intercepted by a BPF mapping (BPF Maps) module, and the forwarding action is executed by matching the message processing rule injected in advance.
Step S505: and forwarding the message based on time delay. Specifically, after reaching the router, the data packet is first matched with multiple routing table entries corresponding to the destination node, and then queue conditions of different network outlets of the device are queried in real time to calculate the path quality QoP. After calculating the QoP of all routing entries in real time, the packet selects the entry with the best QoP, and delivers it to the corresponding outlet for forwarding. The forwarding decision only determines the forwarding behavior of the current device, and each device on the path performs the routing process in a distributed manner.
Step S506: and receiving and de-encapsulating the message. Specifically, after the message reaches the receiving end, the MAC header and the tail, the IP or identification protocol header, and the universal transmission protocol header are sequentially removed, and then the data is delivered to the socket of the receiving end, thereby completing the data communication.
As shown in fig. 5, the method for time-deterministic communication towards a private network includes the following steps:
step S601: and accessing the network and reporting the requirements. Specifically, when an application with a high deterministic requirement is ready to communicate, the application first needs to send a network access request to the centralized controller, and submit the characteristic information and the time requirement information of the application at the same time. The characteristic information includes source/destination MAC address, VLAN number, source/destination IP address, source/destination identification address, transmission layer protocol type, source/destination port number, service period, period maximum sending frame number, maximum frame length, service priority and the like. The time requirement information includes an upper delay limit, an upper jitter limit, and the like.
Step S602: strict event triggered adaptation. Specifically, the centralized controller extracts the characteristic information and time requirement of the application and the resource usage of the current network from the database, and performs joint scheduling of the forwarding path and the transmission timeslot according to the information. If the scheduling is successful, the adaptation result is configured in the bottom layer network equipment; and if the scheduling fails, the network access application of the application is refused, which indicates that the current network resources are not enough to provide the service meeting the time requirement of the application.
Step S603: and packaging and sending the message. Specifically, the time triggered socket is used to generate the data of the communication, and the application schedules the accurate sending time of each message according to the current communication period and the data size, and fills the accurate sending time into the control field of the sk _ buff structure. The data is handed to the transport layer and the control information of the transport protocol, i.e. the transport layer header, is added. The data segment is delivered to a network layer, and an IP or identification protocol header is added; and (4) handing the data packet to a data link layer, and adding a MAC head part and a tail part.
Step S604: and scheduling message transmission by using time-aware shaping or time division multiplexing. The method uses a time perception shaping or time division multiplexing mechanism to realize non-interference and non-waiting sending, ensures the time certainty of the sending process, and uses flow filtration and supervision to ensure the high performance of the message receiving process. When a message enters the network interface device to be sent, the flow divider of the interface device can put the message into different sending queues for caching according to the priority of the message. The queue will open and close the door according to the gate control table of the interface device, and the message will be sent out in the transmission time slot of the current queue door.
Step S605: and centralized routing forwarding of the message. Specifically, after the packet arrives at the forwarding node, the forwarding node may determine whether the packet is addressed to the local computer by checking a destination MAC address of the packet. If the message is sent to the local machine, the subsequent decapsulation and routing processes are carried out, and if the message is not sent to the local machine, the message is discarded. After the judgment is completed, the forwarding device decapsulates the data packet, extracts the destination IP or the destination identifier of the packet for querying the routing entry that has been issued to the routing table in advance. The centralized routing forwarding of the message needs to acquire the transmission characteristics and time requirements of the application in advance, plan a forwarding path and a transmission time slot for each data stream, and issue and deploy a scheduling result to a forwarding node in advance. After the corresponding routing entry is inquired, the forwarding device re-encapsulates the message again and then delivers the message to the sending interface for forwarding.
Step S606: filtering and supervision are received. When the message reaches the entrance of the node, the flow filtering module of the entrance checks the characteristic information of the message to check whether the message is a safe message. Then, the door opening condition of the entrance queue is inquired, and whether the message arrives in time in the correct time window is checked.
Step S607: and receiving and de-encapsulating the message. Specifically, after the message reaches the receiving end, the MAC header and the tail, the IP or identification protocol header, and the transmission protocol header are sequentially removed, and then the data is delivered to the socket of the receiving end, thereby completing the data communication.
The network architecture provided by the embodiment of the invention solves the problems that the traditional network architecture lacks a time concept and the inter-level adaptation of a protocol stack layer is loose by adopting the working modes of three-layer information sharing, requirement transmission and cooperative adaptation of a time endogenous service layer, a time endogenous adaptation layer and a time endogenous resource layer. And a time concept is introduced into each layer, so that each function of each layer has independent or cooperative deterministic guarantee capability. The top-down time adaptation of the framework is realized through the requirement transmission and information sharing among three layers of the time endogenous service layer, the time endogenous adaptation layer and the time endogenous resource layer, so that the bottom layer network facility can support deterministic communication end to end and in all elements.
The data communication method provided by the embodiment of the invention is divided into a best-effort communication method facing the traditional internet, a time delay guarantee communication method facing a wide area network and a time certainty communication method facing a special network according to the strength of the time determination requirement from the actual application requirement. The data communication method supports applications and services with different deterministic requirements in parallel, network management personnel or users can independently select the applications and services according to actual conditions, network operability and resource utilization rate are improved, the defect of expandability of a strict time scheduling mechanism is overcome, and deterministic communication guarantee capability of the network in different scenes is improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, including: the memory 501 and the processor 502 are communicatively connected to each other, the memory 501 stores computer instructions, and the processor 502 executes the computer instructions, so as to perform the data communication method according to the above-described embodiment of the present invention. Wherein the processor 502 and the memory 501 may be connected by a bus or other means. Processor 502 may be a Central Processing Unit (CPU). The processor 502 may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations thereof. The memory 501, which is a non-transitory computer storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the corresponding program instructions/modules in the embodiments of the present invention. The processor 502 executes various functional applications and data processing of the processor 502 by executing non-transitory software programs, instructions, and modules stored in the memory 501, that is, implementing the data communication method in the above method embodiments. The memory 501 may include a storage program area and a storage data area, wherein the storage program area may store an application program required for operating the device, at least one function; the storage data area may store data created by the processor 502, and the like. Further, the memory 501 may include a high speed random access memory 501, and may also include a non-transitory memory 501, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 501 may optionally include memory 501 located remotely from processor 502, and such remote memory 501 may be connected to processor 502 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. One or more modules are stored in the memory 501, which when executed by the processor 502 perform the data communication method as in the above-described method embodiments. The specific details of the electronic device may be understood according to the related descriptions and effects corresponding to the method embodiments, and are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, as shown in fig. 7, on which a computer program 13 is stored, and when the instructions are executed by a processor, the steps of the data communication method in the above-mentioned embodiment are implemented. The storage medium is also stored with audio and video stream data, characteristic frame data, interactive request signaling, encrypted data, preset data size and the like. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), a flash memory (FlashMemory), a hard disk (hard disk drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above. It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program to instruct relevant hardware, and the computer program 13 may be stored in a computer readable storage medium, and when executed, may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), a flash memory (FlashMemory), a hard disk (hard disk drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An intra-time deterministic converged network architecture, comprising:
the time endogenous service layer is used for acquiring the time requirement of the data;
the time-in-time adaptation layer is used for scheduling network resources according to the time requirement to carry out network configuration;
a time resource generation layer for transmitting data according to the network configuration;
wherein the time-lapse service layer comprises:
the universal socket comprises a basic communication attribute and is used for realizing the transmission of the data with the time requirement as the basic requirement;
the high-speed socket comprises basic communication attributes and a communication deadline and is used for realizing the transmission of data with the time requirement being a time delay guarantee requirement;
the time trigger socket comprises a basic communication attribute and a sending time stamp and is used for realizing the transmission of data with the time requirement being a time certainty requirement;
the temporal evolution adaptation layer comprises:
the general adaptation module is used for finishing basic forwarding path scheduling and service quality priority configuration;
the time-first adaptation module is used for realizing the adjustment of forwarding congestion control and the selection of a forwarding path according to the communication time limit;
the strict time trigger adaptation module is used for realizing the joint scheduling of the forwarding path and the transmission time slot according to the characteristic information of data transmission, the time requirement information and the resource use condition of the current network;
the intra-time generation resource layer includes:
the transmission component layer comprises a universal transmission protocol module, a congestion control module based on deadline perception and a transmission protocol module for real-time inspection, wherein the universal transmission protocol module is used for encapsulating data by using a first preset transmission protocol, the congestion control module based on deadline perception is used for adding a communication deadline into the data, the data and the communication deadline are encapsulated together by a second preset transmission protocol, and the data sending rate is adjusted according to the communication deadline and the congestion condition, the transmission protocol module for real-time inspection is used for encapsulating the data and the sending timestamp by a third preset transmission protocol, and a message of the third preset transmission protocol comprises the sending timestamp, namely required communication time;
the network component layer comprises a basic routing module, a distributed routing module based on time delay and a centralized routing module, wherein the basic routing module is used for acquiring the shortest path generated according to a distributed routing protocol and forwarding data, the distributed routing module based on time delay is used for calculating the path quality of all data forwarding paths in real time, and the forwarding path with the best path quality is selected for data forwarding; the centralized routing module is used for performing combined scheduling of forwarding paths and transmission time slots according to the characteristic information of data transmission, time requirement information and the resource use condition of the current network, and acquiring routing entries for data forwarding in advance;
the link component layer comprises a general QoS module, a symmetrical parallel processing module, a sending sequencing module based on time limit, a rapid data path module, a time perception shaping/time division multiplexing module and a flow filtering and monitoring module, wherein the general QoS module is used for realizing differentiated services of a sending side according to service quality, the symmetrical parallel processing module is used for realizing data receiving of a receiving side in a symmetrical parallel processing mode, the sending sequencing module based on time limit is used for adjusting a data sending sequence according to the communication time limit, the rapid data path module is used for sinking a message processing and forwarding process of a protocol stack to a kernel network card driving layer to realize rapid data receiving, the time perception shaping/time division multiplexing module is used for sending data by using time perception shaping or time division multiplexing scheduling, and the flow filtering and monitoring module is used for filtering the arrived data according to a transmission time slot and monitoring the data according to a flow ID field of the data.
2. The chronogenesis deterministic converged network architecture of claim 1, wherein the chronogenesis resource layer further comprises a physical component layer comprising a number of transmission media for transmitting data, the link component layer further comprises a hardware clock that sends time information to the chronogenesis service layer, the chronogenesis adaptation layer and the chronogenesis resource layer, respectively.
3. A data communication method applied to the converged network architecture of claim 1, comprising:
obtaining a time requirement for the data;
scheduling network resources according to the time requirement to carry out network configuration;
and transmitting data according to the network configuration.
4. The data communication method of claim 3, wherein the time requirements include a base requirement, a delay guarantee requirement, and a time certainty requirement;
the scheduling of network resources for network configuration according to the time requirement includes:
obtaining the type of the time requirement;
if the time requirement is a basic requirement, the network configuration is a universal adaptation;
if the time requirement is a time delay guarantee requirement, the network configuration is time-first adaptive;
if the time requirement is a time certainty requirement, the network is configured to strictly time-triggered adaptation.
5. The data communication method according to claim 4, wherein transmitting data according to the network configuration comprises:
acquiring the type of the network configuration;
if the network is configured to be universal, transmitting data according to a best-effort communication method oriented to the traditional Internet;
if the network configuration is time-first adaptation, transmitting data according to a wide area network-oriented time delay guarantee communication method;
and if the network is configured to be strictly time-triggered to adapt, transmitting the data according to a time deterministic communication method facing the special network.
6. The data communication method according to claim 5, wherein transmitting data according to a best effort communication method for a legacy internet, comprises:
encapsulating data using a first preset transmission protocol;
realizing differentiated service of a sending side according to the service quality;
forwarding the data according to the identification or the basic forwarding routing entry of the IP protocol;
and realizing data reception on a receiving side by means of symmetrical parallel processing.
7. The data communication method according to claim 5, wherein transmitting data according to the wide area network-oriented delay-guaranteed communication method comprises:
adding the communication time limit into the data, and encapsulating the data and the communication time limit together through a second preset transmission protocol;
adjusting the data sending rate according to the communication time limit and the congestion condition;
calculating the path quality of all data forwarding paths in real time, and selecting the forwarding path with the best path quality for data forwarding;
adjusting the data transmission sequence according to the communication time limit;
data is received using the fast data path.
8. The data communication method according to claim 5, wherein transmitting data according to a time-deterministic communication method for a private network comprises:
acquiring and storing a sending time stamp distributed to data by an application, and encapsulating the data and the sending time stamp through a third preset transmission protocol;
acquiring a corresponding routing entry according to a destination IP or a destination identifier of the data and forwarding the data according to the acquired routing entry, wherein the corresponding routing entry is acquired in advance by performing joint scheduling on a forwarding path and a transmission time slot according to characteristic information, time requirement information and the resource use condition of the current network sent by the data;
scheduling data transmission using time-aware shaping or time division multiplexing mechanisms;
and filtering the arriving data according to the transmission time slot, and supervising the data according to the stream ID field of the data.
9. An electronic device, comprising: a memory and a processor communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the data communication method according to any one of claims 3 to 8.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the data communication method according to any one of claims 3 to 8.
CN202211670725.2A 2022-12-26 2022-12-26 Time-certainty fusion network architecture and data communication method Active CN115632925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211670725.2A CN115632925B (en) 2022-12-26 2022-12-26 Time-certainty fusion network architecture and data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211670725.2A CN115632925B (en) 2022-12-26 2022-12-26 Time-certainty fusion network architecture and data communication method

Publications (2)

Publication Number Publication Date
CN115632925A CN115632925A (en) 2023-01-20
CN115632925B true CN115632925B (en) 2023-03-14

Family

ID=84910795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211670725.2A Active CN115632925B (en) 2022-12-26 2022-12-26 Time-certainty fusion network architecture and data communication method

Country Status (1)

Country Link
CN (1) CN115632925B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116634521B (en) * 2023-07-20 2023-11-10 天津七一二通信广播股份有限公司 Cross-layer protocol architecture integrating MAC layer and routing layer and implementation method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2017300019B2 (en) * 2016-07-19 2022-04-14 Schneider Electric Industries Sas Time-sensitive software defined networking
CN110086662B (en) * 2019-04-22 2020-09-01 烽火通信科技股份有限公司 Method for implementing demand definition network and network architecture
EP3962218A1 (en) * 2020-08-28 2022-03-02 Robert Bosch GmbH Method, apparatus, and use thereof for radio communication
CN114221911A (en) * 2020-09-04 2022-03-22 中兴通讯股份有限公司 Message hybrid scheduling method and device, electronic equipment and storage medium
CN112671495B (en) * 2020-12-24 2023-11-17 之江实验室 Method and system for adjusting deterministic time delay
CN114079977A (en) * 2021-11-17 2022-02-22 重庆大学 5G and TSN fusion network flow scheduling framework and resource allocation method
CN114268537B (en) * 2021-11-26 2023-12-22 华中科技大学 Deterministic network-oriented network slice generation and dynamic configuration system and method
CN114401199B (en) * 2022-01-06 2024-03-01 中国科学院计算机网络信息中心 Hierarchical network capability model management method
CN114615736B (en) * 2022-04-18 2024-03-29 武汉华中天纬测控有限公司 Time synchronization network device and method
CN115314355B (en) * 2022-06-30 2023-10-03 国网河南省电力公司信息通信公司 Deterministic network-based power communication network architecture system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHIPENG CAO等.Enhanced System Design and Scheduling Strategy for Switches in Time-Sensitive Networking.2021,第9卷第42622-42633. *
魏月华等.确定性网络技术及应用场景研究.2020,第26卷(第4期),全文. *

Also Published As

Publication number Publication date
CN115632925A (en) 2023-01-20

Similar Documents

Publication Publication Date Title
US11616729B2 (en) Method and apparatus for processing low-latency service flow
US7876692B2 (en) Empirical scheduling of network packets using a plurality of test packets
WO2019128467A1 (en) Flexible ethernet (flexe)-based service flow transmission method and apparatus
US8693489B2 (en) Hierarchical profiled scheduling and shaping
US7636781B2 (en) System and method for realizing the resource distribution in the communication network
CN109714275B (en) SDN controller for access service transmission and control method thereof
WO2018120917A1 (en) Flexible ethernet-based service flow transmission method and apparatus, and communication system
EP3720069A1 (en) Method, device and system for sending message
EP4024778A1 (en) Method for determining required bandwidth for data stream transmission, and devices and system
US20070115956A1 (en) Rate-Controlled Optical Burst Switching
AU2005296189A2 (en) Network connection device
CN114125924A (en) TSN service processing method and device and computer readable storage medium
WO2021227947A1 (en) Network control method and device
CN113711572A (en) Message transmission method and device
JP2006506845A (en) How to select a logical link for a packet in a router
KR20140052847A (en) Method and apparatus for providing quality of service in software defiend neworking network
CN115632925B (en) Time-certainty fusion network architecture and data communication method
CN111917662A (en) Bandwidth reservation method and related equipment
Amari et al. AeroRing: Avionics full duplex ethernet ring with high availability and QoS management
CN109150722A (en) A kind of method and the network equipment of business forwarding
WO2023123104A1 (en) Message transmission method and network device
Baldi et al. Time-driven priority router implementation: Analysis and experiments
CN114598745B (en) Communication method and device
CN107835109B (en) Method and system for testing packet transport network defined by software
KR101681613B1 (en) Apparatus and method for scheduling resources in distributed parallel data transmission system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant