Data transmission method and related device thereof
By reserving TSN resources for event-triggered services in a deterministic network and sending messages deterministically, the problem that the TSN protocol cannot guarantee the deterministic transmission of event-triggered services is solved, and deterministic transmission and services of event-triggered services are realized. Quality improvement.
Patent Information
- Application Number
- PCT/CN2023/077381
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-08-29
AI Technical Summary
The current time-sensitive network (TSN) protocol cannot guarantee the deterministic transmission of event-triggered services. It only supports the deterministic transmission of periodic services and cannot meet the deterministic communication needs of time-sensitive services such as the automotive field.
By reserving TSN resources for event-triggered services in the deterministic network, obtaining the target time period and target period, buffering and sending target messages deterministically, it ensures the deterministic transmission of event-triggered services in the deterministic network. Specific methods include determining the target period and cycle based on the number of event-triggered services and message size to ensure that messages are sent deterministically within the target period to avoid wasting bandwidth resources.
It realizes deterministic transmission of event-triggered services in deterministic networks, improves service quality, and ensures communication reliability and efficiency of time-sensitive services.
Smart Images

Figure CN2023077381_29082024_PF_FP_ABST
Abstract
Description
A data transmission method and related device Technical Field
[0001] The embodiments of the present application relate to the field of communication applications, and in particular to a data transmission method and related devices. Background Art
[0002] The automotive industry is undergoing a transformation driven by the "Four New Trends": electrification, intelligence, connectivity, and sharing. New architectures are driving the development of new in-vehicle technologies. Automotive Ethernet, with its high bandwidth and low latency, is evolving into a core technology for in-vehicle buses. However, automotive Ethernet still utilizes traditional best-effort transmission methods, lacking deterministic communication capabilities and unable to guarantee deterministic communication for time-sensitive services.
[0003] Currently, the Institute of Electrical and Electronics Engineers (IEEE) has launched the standardization of time scalar network (TSN). Its TSN protocol uses a queue gating mechanism to provide a communication mechanism similar to time division multiple access, providing deterministic network guarantees for time-sensitive services. It can provide deterministic network guarantees for time-sensitive services in the automotive field and industrial Ethernet network field.
[0004] In addition to periodic services, time-sensitive services also include event-triggered services. However, the current TSN protocol only supports deterministic transmission of periodic services and cannot guarantee deterministic transmission of event-triggered services.
[0005] Summary of the Invention
[0006] The present application provides a data transmission method and related devices, which are applied to the communication application field of deterministic networks, provide guarantees for the deterministic transmission of event-triggered services, and ensure the deterministic transmission of event-triggered services in deterministic networks.
[0007] In a first aspect, a data transmission method is provided. The method is applied to a deterministic network, the deterministic network including a communication device, and the method includes:
[0008] The communication device obtains a target time period and a target cycle. The target time period is the periodic end-to-end gating time slice for the target message, and the target cycle indicates the target message's transmission period. The target message is an event-triggered service message. Specifically, the communication device may reserve TSN resources for the target message based on the target time period and the target cycle.
[0009] And the communication device receives the target message.
[0010] Furthermore, the communication device buffers the target message in a sending queue corresponding to the target period.
[0011] Then, the communication device deterministically sends the target message based on the target time period.
[0012] In this application, a communication device obtains a target time period and a target cycle, and can reserve TSN resources for the target message of the event-triggered service based on the target time period and the target cycle. After receiving the target message, the target message is cached in the sending queue corresponding to the target cycle, and the target message is deterministically sent based on the target time period. This achieves deterministic transmission of messages for event-triggered services in a deterministic network.
[0013] In a possible implementation manner of the first aspect, the communication device determines a target time period and a target cycle based on the number of event-triggered services and the size of a target message.
[0014] In the present application, the communication device determines the target time period and the target cycle based on the number of event-triggered services and the size of the target message, which can ensure that the target message is transmitted deterministically in the deterministic network as much as possible, thereby improving the service quality.
[0015] In a possible implementation of the first aspect, the communication device obtains the number n of event-triggered services, the target message size P corresponding to each event-triggered service, and the target message size P corresponding to each event-triggered service. i , target delay τ and bandwidth B, where n, P i , τ and B are greater than 0.
[0016] The communication device determines the target time period and target cycle in the following manner:
[0017] T<τ;
[0018] t>(∑P i ) / B;
[0019] Where T is the target period;
[0020] t is the target period.
[0021] In this application, the communication device is based on the number n of event-triggered services and the target message size P corresponding to each event-triggered service. i , target delay τ and bandwidth B determine the target period and target time period, providing a specific implementation method to accurately ensure the deterministic transmission of target messages of event-triggered services and ensure the service quality of event-triggered services.
[0022] In a possible implementation manner of the first aspect, when the number of target messages of the same event-triggered service is greater than one, the communication device may retain only one target message of the event-triggered service.
[0023] In the present application, the communication device only retains one target message of the same event-triggered service in the sending queue to avoid wasting bandwidth resources.
[0024] In a possible implementation of the first aspect, the communication device obtains the number n of event-triggered services, the target message size P corresponding to each event-triggered service, and the target message size P corresponding to each event-triggered service from the edge node of the deterministic network. i , target delay τ and bandwidth B.
[0025] In this application, it is described that the communication device obtains the number n of event-triggered services and the target message size P corresponding to each event-triggered service from the edge node of the deterministic network. i , target delay τ and bandwidth B, which increases the implementation methods of the solution and reflects the selectivity of the solution.
[0026] In a possible implementation manner of the first aspect, the communication device sends a target time period and a target cycle to a network node in a deterministic network.
[0027] In the present application, a target time period and a target cycle are sent to each network node in the deterministic network to ensure that the target message is deterministically transmitted in the deterministic network.
[0028] In a possible implementation manner of the first aspect, the communication device is a control center or a central node of a deterministic network.
[0029] In the present application, in the embodiments of the present application, the communication device may be a control center or a central node of a deterministic network, reflecting the diversity of solutions.
[0030] In a second aspect, a communication device is provided, which has the function of implementing the method of the first aspect or any possible implementation of the first aspect. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
[0031] The communication device of the second aspect executes the method described in the first aspect of this application or any possible implementation manner of the first aspect.
[0032] On the third aspect, another communication device is provided, which may include a processor coupled to a memory, wherein the memory is used to store instructions, and the processor is used to execute the instructions in the memory so that the communication device executes the method of the first aspect of the present application or any possible implementation method of the first aspect.
[0033] In a fourth aspect, another communication device is provided, comprising a processor for executing a computer program (or computer executable instructions) stored in a memory, wherein when the computer program (or computer executable instructions) is executed, the communication device executes the method as in the first aspect and each possible implementation of the first aspect.
[0034] In one possible implementation, the processor and the memory are integrated together.
[0035] In another possible implementation, the memory is located outside the communication device.
[0036] The communication device also includes a communication interface, which is used for the communication device to communicate with other devices, such as sending or receiving data and / or signals. Exemplarily, the communication interface can be a transceiver, circuit, bus, module or other type of communication interface.
[0037] In a fifth aspect, a computer-readable storage medium is provided, comprising computer-readable instructions. When the computer-readable instructions are executed on a computer, the method described in the first aspect of the present application or any possible implementation of the first aspect is executed.
[0038] In a sixth aspect, a computer program product is provided, comprising computer-readable instructions, which, when executed on a computer, enables the method described in the first aspect of the present application or any possible implementation of the first aspect to be executed.
[0039] In the seventh aspect, a chip is provided, which includes at least one processor and at least one interface circuit, which is coupled to the processor, and the at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor, and the at least one processor is used to run computer programs or instructions, which has the function of implementing the method as described in the first aspect or any possible implementation method of the first aspect. The function can be implemented by hardware, by software, or by a combination of hardware and software, and the hardware or software includes one or more modules corresponding to the above functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a schematic diagram of the TSN deterministic configuration process;
[0041] FIG2 is a schematic diagram of a data transmission method provided in an embodiment of the present application;
[0042] FIG3 is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0043] FIG4 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0044] FIG5 is another schematic diagram of the structure of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the above-mentioned purpose, technical scheme and advantage of the present application easier to understand, detailed description is provided below. The detailed description proposes various embodiments of equipment and / or process by using block diagrams, flow charts and / or examples. Because these block diagrams, flow charts and / or examples include one or more functions and / or operations, it will be understood by those skilled in the art that each function and / or operation in these block diagrams, flow charts or examples can be implemented individually and / or jointly by many hardware, software, firmware or any combination thereof. The terms "first", "second", "third", "fourth" etc. (if any) in the specification and claims and drawings of the present application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than the content illustrated or described here. In addition, the terms "comprises" and "having" and any variations thereof are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, product or apparatus.
[0046] The embodiments of the present application provide a data transmission method and related devices, which are applied to the communication application field of deterministic networks, provide guarantees for the deterministic transmission of event-triggered services, and ensure deterministic communication of event-triggered services in deterministic networks.
[0047] Before introducing the embodiments of the present application, a brief introduction to TSN is given below to facilitate subsequent understanding of the embodiments of the present application.
[0048] TSN is a suite of IEEE 802.1 standard protocols that provides the hardware foundation for Ethernet to achieve deterministic latency guarantees. The IEEE 802.1 Qbv protocol, through network gating planning and configuration, provides TDMA-like capabilities, enabling highly deterministic communication. For example, within the timeframe of 0-50 microseconds, all nodes along the path from the source node to the destination node are configured to enable queue 0 and disable all other queues. In this scenario, messages from the source node to the destination node are sent through queue 0 between 0-50 microseconds, achieving deterministic message transmission for periodic services.
[0049] Exemplarily, the deterministic configuration process of TSN is shown in the example of FIG1 , which is a schematic diagram of the TSN deterministic configuration process. Among them, the configuration device includes a user-centered configuration module and a network-centered configuration module. The user-centered configuration module is used to generate TSN configuration parameters based on relevant information of periodic deterministic services (such as the sending period, sending time, and message size of periodic service messages. It can be understood that in actual situations, other periodic service information may also be included, which is not limited here.), such as the queue gating configuration of each node in the deterministic network for deterministic transmission of periodic service messages, to achieve time division multiplexing of periodic services, that is, to reserve corresponding sending time slices for each service, and to ensure that within the time slice, each service has exclusive bandwidth on its transmission path, thereby ensuring that each service message is deterministically sent at its corresponding time. The user-centered configuration module then sends the generated TSN configuration parameters to the network-centered configuration module.
[0050] Its network center configuration module sends TSN configuration to each node of the deterministic network according to the TSN configuration parameters, so that each node can achieve deterministic transmission of each periodic service based on the TSN configuration.
[0051] It should be noted that the configuration device can be a control node or central node or other node along the way of the deterministic network, or can also be included therein. In addition, in the vehicle field, it can be a vehicle-mounted system or belong to a vehicle-mounted system, which is not specifically limited here.
[0052] However, the current TSN only realizes the deterministic transmission of periodic services. Deterministic networks include not only periodic services but also event-triggered services, and TSN cannot guarantee the deterministic transmission of event-triggered services.
[0053] To solve the above-mentioned problems, an embodiment of the present application provides a data transmission method. The embodiment of the present application can be applied to a deterministic network. Among them, the communication device obtains a target time period and a target cycle, wherein the target time period is a periodic end-to-end gated time slice of the target message, and the target cycle is used to indicate a sending queue for caching the target message, and the target message is a message for an event-triggered service. The communication device receives the target message and caches the target message in a sending queue corresponding to the target cycle. The communication device then sends the target message based on the target time period. Among them, the communication device realizes deterministic sending of event-triggered service messages based on the target time period and the target cycle, thereby ensuring the deterministic sending of event-triggered services in the deterministic network.
[0054] In order to better understand the embodiments of the present application, a routing processing method proposed in the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems. Please refer to Figure 2 for details. Figure 2 is a schematic diagram of a data transmission method provided in the embodiments of the present application, which specifically includes:
[0055] A1. The communication device obtains a target time period and a target cycle.
[0056] The communication device obtains a target time period and a target cycle. The target time period is a periodic end-to-end gating time slice of a target message. The target cycle is used to indicate a sending queue for caching a target message. The target message is a message of an event-triggered service.
[0057] In one possible implementation, the communication device determines the target time period based on the number of event-triggered services and the size of the target message. For example, please refer to the example of Figure 3, which is a schematic diagram of an application scenario provided by an embodiment of the present application. Among them, the communication device can determine the target time period and the target cycle based on the number of event-triggered services and the size of the target message, i.e., the size of the transmitted data, that is, reserve periodic end-to-end gating time slices and TSN configuration parameters such as the sending period for the event-triggered service, reserve TSN resources for the event-triggered service, that is, perform TSN configuration based on the target time period and the target cycle.
[0058] In one possible implementation, a communication device sends a target time period and a target period to a network node in a deterministic network. Exemplarily, the following continues with the example of FIG. 3 , in which the communication device, i.e., the control center, obtains the TSN configuration for an event-triggered service, i.e., TSN configuration parameters such as the target time period and target period, and sends the TSN configuration, i.e., the target time period and target period, to the network nodes in the deterministic network, thereby enabling each network node on the transmission path in the deterministic network to obtain the TSN configuration for the event-triggered service.
[0059] In a possible implementation, the communication device obtains the number n of event-triggered services, the target message size P corresponding to each event-triggered service i , target delay τ and bandwidth B, where n, P i , τ, and B are greater than 0, and i is used to indicate the number of target messages. The communication device determines the target time period and target cycle in the following manner:
[0060] T<τ;
[0061] t>(∑P i ) / B;
[0062] Where T is the target cycle and t is the target time period.
[0063] Among them, it is ensured that the target period T, that is, the sending period, meets the network transmission delay requirement, and that the target message is sent within the target time period.
[0064] For example, when the number of event-triggered services acquired by the control center of the communication device as shown in FIG3 is 3, that is, n=3, and the size of the target message corresponding to each event-triggered service is also acquired, the size of each target message P is i They are P1, P2, and P3, respectively, where P1 = 2 bits, P2 = 3 bits, and P3 = 3 bits. i = 1, 2, and 3 are used to indicate three target messages, respectively, to distinguish each target message. i = 1, 2, and 3 can be determined by the order in which the target message sizes are obtained, or can be specifically limited according to the event-triggered service type. The specific restrictions are not made here. It should be noted that the number of target messages is at least one, that is, at least one message of the event-triggered service, that is, i is a positive integer greater than or equal to 1.
[0065] Then the control center determines the total data load of the current network transmission event-triggered service based on the sum of the sizes of the three target messages, i.e., P1 = 2 bits, P2 = 3 bits, and P3 = 3 bits, and determines the target time period t for transmitting the three target messages based on the current network bandwidth B, i.e., t>(∑P i ) / B to ensure that the three target messages are sent within the target time period t within the network bandwidth B.
[0066] The control center also obtains the delay requirement for the target message transmission of the event-triggered service in the current network, that is, the target delay τ, and determines that the target period is less than the target delay, that is, T<τ, so as to ensure that the target message transmission of the event-triggered service meets the deterministic delay, so as to ensure that the target message obtained in the subsequent step A2 is deterministically transmitted in the deterministic network.
[0067] In the embodiment of the present application, the communication device is based on the number n of event-triggered services and the target message size P corresponding to each event-triggered service. i , target delay τ and bandwidth B determine the target period and target time period, providing a specific implementation method to accurately ensure the deterministic transmission of target messages of event-triggered services and ensure the service quality of event-triggered services.
[0068] It should be noted that in actual application scenarios, the number n of the aforementioned event-triggered services and the size P of the target message of each event-triggered service are iThe network transmission delay, i.e., the target delay τ, and the network bandwidth, i.e., the bandwidth B, can be automatically collected or determined by the application system. For example, in the automotive field, it can be determined by the applied vehicle system. Specifically, the event-triggered service based on the vehicle system can predetermine n, at least one P i , τ and B, and the vehicle system is determined when the network is deployed. Alternatively, the control center or central node in the deterministic network automatically collects n, at least one P related to the end-to-end event-triggered service based on the current network. i , τ and B. It is understood that the aforementioned n, at least one P i The collection of , τ and B can be determined according to actual conditions and is not limited here.
[0069] Alternatively, in a possible implementation, the communication device obtains the number n of event-triggered services and the message size P corresponding to each event-triggered service from the edge node of the deterministic network. i , target delay τ and bandwidth B. Exemplarily, the edge node of the deterministic network collects the number of end-to-end event triggers n and the message size P corresponding to at least one event trigger service i , target delay τ and bandwidth B and send them to the control center or intermediate node, and then the control center or intermediate node sends them to the communication device, or directly sends them to the communication device.
[0070] In the embodiment of the present application, it is described that the communication device obtains the number n of event-triggered services and the target message size P corresponding to each event-triggered service from the edge node of the deterministic network. i , target delay τ and bandwidth B, which increases the implementation methods of the solution and reflects the selectivity of the solution.
[0071] In an embodiment of the present application, the communication device determines the target time period and the target cycle based on the number of event-triggered services and the size of the target message, which can ensure that the target message is transmitted deterministically in the deterministic network as much as possible, thereby improving the service quality.
[0072] In addition, optionally, the aforementioned communication device may be a control center or central node of a deterministic network. In the embodiments of the present application, the communication device may be a control center or central node of a deterministic network, reflecting the diversity of solutions.
[0073] In a possible implementation, the communication device further sends the target time period and target cycle to the network node in the deterministic network, as shown in step A5 below:
[0074] A5. The communication device sends a target time period and a target cycle.
[0075] For example, if the communication device is a control center or central node, it can send a target time period and a target cycle to each network node in the deterministic network to ensure that the target message is deterministically transmitted in the deterministic network. For example, in the example of Figure 3, the control center sends the acquired TSN configuration of the event-triggered service, namely the target time period and target cycle and other TSN configuration parameters, to each network node, so that each network node can reserve TSN resources for the target message, thereby ensuring that each network node can transmit the target message deterministically.
[0076] In one possible implementation, the aforementioned target time period t and target cycle T can also be obtained by the communication device from the control center or central node of the deterministic network. The way in which the control center or central node obtains the target time period and target cycle is similar to the way in which the aforementioned communication device obtains the target time period and target cycle, and the details will not be repeated here.
[0077] It should be noted that the example in the aforementioned Figure 3 is only used to understand the embodiments of the present application and does not impose any substantial limitation on the present application. It is understandable that in actual application scenarios, the communication device can also be other network nodes in a deterministic network, which is not specifically limited here.
[0078] A2. The communication device obtains the target message.
[0079] The communication device obtains the target message.
[0080] In a possible implementation manner, the communication device obtains the target message from a user terminal, or the communication device obtains the target message from a network node on a deterministic transmission path, and the communication device belongs to one of the network nodes.
[0081] A3. The communication device buffers the target message in a sending queue corresponding to the target period.
[0082] The communication device buffers the target message in a sending queue corresponding to the target period, ie, the sending period.
[0083] In one possible implementation, when the number of target messages for the same event-triggered service is greater than 1, the communication device retains one target message. Specifically, when the target message of a certain event-triggered service is cached in a sending queue, the communication device detects whether there are other messages of the event-triggered service in the queue, that is, if the target message of the event-triggered service is already cached in the current queue, the communication device deletes the previously saved target message and caches the latest target message. Optionally, the communication device may also discard the latest target message and only retain one of the cached target messages. It is understandable that when the communication device has multiple target messages of a certain event-triggered service in the sending queue, the method of retaining only one of the target messages can be determined according to the specific circumstances, and is not specifically limited here.
[0084] For example, in automotive and industrial applications, when multiple events occur concurrently for the same event-triggered service within a short time interval (e.g., 1ms), redundant target messages can be eliminated. Alternatively, when multiple concurrent services occur for an event, the delay of the tail message exceeds the target delay τ. The communication device can then check the queue length. When it exceeds a threshold m (where m ≤ n), it scans each target message in the queue, removes multiple target messages for the same event, and retains only the latest target message or one of the target messages, thereby ensuring that the target message transmission meets the target delay τ.
[0085] In an embodiment of the present application, the communication device only retains one target message of the same event-triggered service in the sending queue to avoid wasting bandwidth resources.
[0086] A4. The communication device deterministically sends the target message based on the target time period.
[0087] After the communication device buffers the target message in a sending queue corresponding to the target period, the communication device deterministically sends the target message based on the target time period.
[0088] Exemplarily, the communication device configures TSN Qbv queue gating for the target message based on the target period and target time period, and the communication device deterministically sends the target message within the target time period. Specifically, the communication device sets the target message send time based on the target time period in software TSN, and then the communication device's hardware TSN performs deterministic sending of the target message. This enables deterministic transmission of event-triggered service messages in a deterministic network.
[0089] In the above-mentioned embodiment of the present application, the communication device obtains a target time period and a target cycle, wherein the target time period is the periodic end-to-end gated time slice of the target message, and the target cycle is used to indicate the transmission period of the target message. The target message is a message for an event-triggered service. The communication device then receives the target message and caches the target message in a transmission queue corresponding to the target cycle, and transmits the target message deterministically based on the target time period. This ensures that messages for event-triggered services are transmitted end-to-end deterministically in a deterministic network, thereby improving the service quality of event-triggered services.
[0090] It should be noted that in the above-mentioned embodiments of the present application, the communication device can be any device such as a router, a switch, a hub, a gateway or a node, and the specific details are not limited here.
[0091] To implement the various functions of the methods provided in the embodiments of the present application, the communication device may include hardware structures and / or software modules, and the aforementioned functions may be implemented in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular one of the aforementioned functions is implemented in the form of hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.
[0092] As shown in Figure 4, an embodiment of the present application also provides a communication device 400. Please refer to Figure 4 for details. Figure 4 is a structural diagram of the communication device provided in the embodiment of the present application. The communication device 400 can be a routing device, such as at least one device among a router, a switch and a hub, or a gateway, a node and the like that can be used in conjunction with a terminal device or a network device. In one possible implementation, the communication device 400 may include a module or unit that corresponds one-to-one to the method / operation / step / action performed by the communication device in the above method embodiment. The unit may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one possible implementation, the communication device 400 may include: a receiving unit 401, an acquisition unit 402, a processing unit 403 and a sending unit 404. The acquisition unit 402 can be used to execute the steps of acquiring the target cycle and the target time period in the method embodiment shown in Figure 2 above, the receiving unit 401 can be used to execute the steps of receiving the target message in the method embodiment shown in Figure 2 above, the processing unit 403 can be used to execute the steps of caching the target message in the sending queue corresponding to the target cycle in the method embodiment shown in Figure 2 above, and the sending unit 404 can be used to execute the steps of deterministically sending the target message based on the target time period in the method embodiment shown in Figure 2 above.
[0093] In an embodiment of the present application, the acquisition unit 402 acquires a target time period and a target cycle, wherein the target time period is a periodic end-to-end gated time slice of the target message, and the target cycle is used to indicate the sending cycle of the target message, and the target message is a message of an event-triggered service. The receiving unit 401 receives the target message, and the processing unit 403 caches the target message in a sending queue corresponding to the target cycle, and then the sending unit 404 deterministically sends the target message based on the target time period. In an embodiment of the present application, the target time period and the target cycle are obtained, and TSN resources can be reserved for the received target message, and the target message of the event-triggered service can be deterministically sent based on the target time period and the target cycle, thereby realizing the deterministic sending of messages of event-triggered services in a deterministic network and improving the quality of service.
[0094] In other possible designs, the above-mentioned receiving unit 401, acquisition unit 402, processing unit 403 or sending unit 404 can execute the methods / operations / steps / actions in various possible implementation methods in the method embodiment shown in Figure 4 above one by one.
[0095] In one possible design, the acquisition unit 402 is specifically used to determine the target time period and target cycle based on the number of event-triggered services and the size of the target message.
[0096] In a possible design, the acquisition unit 402 is specifically used to obtain the number n of event-triggered services, the target message size P corresponding to each event-triggered service, and the target message size P corresponding to each event-triggered service. i , target delay τ and bandwidth B, where n, P i , τ and B are greater than 0;
[0097] The communication device determines the target time period and target cycle as follows:
[0098] T<τ;
[0099] t>(∑P i ) / B;
[0100] T is the target period;
[0101] t is the target period.
[0102] In one possible design, the processing unit 403 is further configured to retain one target message when the number of target messages for the same event-triggered service is greater than 1.
[0103] In a possible design, the acquisition unit 402 is specifically configured to acquire the number n of event-triggered services and the target message size P corresponding to each event-triggered service from the edge node of the deterministic network. i , target delay τ and bandwidth B.
[0104] In one possible design, the sending unit 404 is also used to send the target time period and target cycle to the network nodes in the deterministic network.
[0105] In one possible design, the above-mentioned communication device is a control center or central node of a deterministic network.
[0106] It should be noted that the information interaction, execution process, etc. between the modules / units in the communication device described in the embodiment corresponding to Figure 4 are based on the same concept as the method embodiment corresponding to Figure 2 in this application. For specific contents, please refer to the description in the method embodiment shown in Figure 2 of the aforementioned application, and will not be repeated here.
[0107] In addition, the functional modules or units in the above embodiments of the present application may be integrated into a single processor, or may exist physically separately, or two or more modules or units may be integrated into a single module or unit. The above integrated modules or units may be implemented in the form of hardware or software functional modules.
[0108] Next, another communication device provided by an embodiment of the present application will be described. Please refer to FIG5 , which is another structural diagram of a communication device provided by an embodiment of the present application. The modules described in the embodiment corresponding to FIG4 can be deployed on the communication device 500 to implement the functions of the communication device in the embodiment corresponding to FIG4 . Specifically, the communication device 500 is implemented by one or more servers. The communication device 500 may have relatively large differences due to different configurations or performances. It may include one or more central processing units (CPUs) 522 (for example, one or more central processing units) and a memory 532, and one or more storage media 530 (for example, one or more mass storage devices). Among them, the memory 532 and the storage medium 530 can be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), each module may include a series of instruction operations in the communication device 500. Furthermore, the central processing unit 522 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the communication device 500.
[0109] The communication device 500 may also include one or more power supplies 526 , one or more wired or wireless network interfaces 550 , and / or one or more input / output interfaces 558 .
[0110] In the embodiment of the present application, the central processor 522 is configured to obtain a target time period and a target cycle. The target time period is a periodic end-to-end gating time slice for a target message, and the target cycle is used to indicate the transmission period of the target message. The target message is a message for an event-triggered service. The central processor 522 is also configured to receive the target message, cache the target message in a transmission queue corresponding to the target cycle, and deterministically transmit the target message based on the target time period. This ensures deterministic transmission of event-triggered services in a deterministic network, providing quality of service.
[0111] It should be noted that the central processing unit 522 can also be used to execute any step in the method embodiment corresponding to Figure 2 of this application. For specific details, please refer to the description of the method embodiment shown in Figure 2 of this application, and will not be repeated here.
[0112] An embodiment of the present application also provides a computer-readable storage medium, including computer-readable instructions. When the computer-readable instructions are executed on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.
[0113] An embodiment of the present application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.
[0114] The present application also provides a chip or chip system, which may include a processor. The chip may also include a memory (or storage module) and / or a transceiver (or communication module), or the chip is coupled to a memory (or storage module) and / or a transceiver (or communication module), wherein the transceiver (or communication module) can be used to support the chip for wired and / or wireless communication, and the memory (or storage module) can be used to store a program or a set of instructions, and the processor calls the program or the set of instructions to implement the above-mentioned method embodiment, the operation performed by the terminal or network device in any possible implementation of the method embodiment. The chip system may include the above chip, and may also include the above chip and other discrete devices, such as memory (or storage module) and / or transceiver (or communication module).
[0115] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware, and of course can also be implemented by dedicated hardware including application-specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components, etc. In general, all functions performed by computer programs can be easily implemented with corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits, or dedicated circuits. However, for the present application, software program implementation is a better implementation method in most cases. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., and includes a number of instructions for enabling a computer device to execute the methods described in each embodiment of the present application.
[0117] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0118] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a communication device, a computing device or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode to another website, computer, communication device, computing device or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a communication device, a data center that includes one or more available media integrations. The available medium can be a magnetic medium, (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive (SSD)).
[0119] It should be understood that “one embodiment” or “an embodiment” mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, “in one embodiment” or “in an embodiment” appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0120] Additionally, the terms "system" and "network" are often used interchangeably. The term "and / or" is simply used to describe a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " generally indicates an "or" relationship between the related objects.
[0121] It should be understood that in the embodiments of the present application, "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B based solely on A, but B can also be determined based on A and / or other information.
[0122] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0123] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0124] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0125] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0126] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application.
[0128] In short, the above description is only a preferred embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent replacements, improvements, etc. made within the principles of this application should be included in the scope of protection of this application.
Claims
1. A data transmission method, characterized in that: The method is applied to a deterministic network, the deterministic network includes a communication device, and the method includes: The communication device acquires a target time period and a target cycle, wherein the target time period is a periodic end-to-end gating time slice of a target message, and the target cycle is used to indicate a sending cycle of the target message, and the target message is a message of an event-triggered service; The communication device receives the target message; The communication device caches the target message in a sending queue corresponding to the target period; The communication device deterministically sends the target message based on the target time period.
2. The method according to claim 1, characterized in that The communication device acquiring the target time period and the target cycle comprises: The communication device determines the target time period and the target cycle based on the number of the event-triggered services and the size of the target message.
3. The method according to claim 2, characterized in that The communication device determines the target time period and the target cycle based on the number of the event-triggered services and the transmission data size, including: The communication device obtains the number n of the event-triggered services and the target message size P corresponding to each of the event-triggered services. i , target delay τ and bandwidth B, where n, P i , the τ and the B are greater than 0; The communication device determines the target time period and the target cycle in the following manner: T<τ; t>(∑P i ) / B; Wherein, T is the target period; The t is the target time period.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: When the number of the target messages of the same event-triggered service is greater than 1, the communication device reserves one target message.
5. The method according to claim 3 or 4, characterized in that The communication device obtains the number n of the event-triggered services and the target message size P corresponding to each of the event-triggered services. i , target delay τ and bandwidth B, where n, P i , the τ and the B being greater than 0 include: The communication device obtains the number n of the event-triggered services and the target message size P corresponding to each event-triggered service from the edge node of the deterministic network. i , target delay τ and bandwidth B.
6. The method according to any one of claims 2 to 5, characterized in that: After the communication device acquires the target time period and the target cycle, the method further includes: The communication device sends the target time period and the target cycle to a network node in the deterministic network.
7. The method according to any one of claims 2 to 6, characterized in that The communication device is a control center or a central node of the deterministic network.
8. A communication device in a deterministic network, characterized in that: include: An acquisition unit is used to acquire a target time period and a target cycle, wherein the target time period is a periodic end-to-end gating time slice of a target message, the target cycle is used to indicate a sending cycle of the target message, and the target message is an event trigger. Messages for outgoing services; A receiving unit, configured to receive the target message; A processing unit, configured to cache the target message in a sending queue corresponding to the target period; A sending unit is used to deterministically send the target message based on the target time period.
9. The communication device according to claim 8, characterized in that The acquisition unit is specifically configured to determine the target time period and the target cycle based on the number of the event-triggered services and the size of the target message.
10. The communication device according to claim 9, characterized in that The acquisition unit is specifically used to acquire the number n of the event-triggered services and the target message size P corresponding to each of the event-triggered services. i , target delay τ and bandwidth B, where n, P i , the τ and the B are greater than 0; The communication device determines the target time period and the target cycle in the following manner: T<τ; t>(∑P i ) / B; The T is the target period; The t is the target time period.
11. The communication device according to any one of claims 8 to 10, characterized in that: The processing unit is further configured to reserve one target message when the number of the target messages of the same event-triggered service is greater than 1.
12. The communication device according to claim 9 or 10, characterized in that: The acquisition unit is specifically configured to acquire the number n of the event-triggered services and the target message size P corresponding to each event-triggered service from the edge node of the deterministic network. i , target delay τ and bandwidth B.
13. The communication device according to claims 9 to 12, characterized in that: The sending unit is further configured to send the target time period and the target cycle to a network node in the deterministic network.
14. The communication device according to any one of claims 9 to 13, characterized in that: The communication device is a control center or a central node of the deterministic network.
15. A computer-readable storage medium comprising computer-readable instructions, characterized in that: When the computer-readable instructions are executed on a computer, the method according to any one of claims 1 to 7 is executed.
16. A computer program product comprising computer readable instructions, characterized in that: When the computer-readable instructions are executed on a computer, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Fog computing Internet of Things networking method based on time delay perception
CN110958592A
Message processing method and device, message notification method and device, network bridge node, source equipment and medium
CN113691385A
Time-sensitive network access method for aperiodic time-triggered service flow
CN114221912A
Message processing method and device
CN114726805A
Process layer network communication method, device and system based on TSN, and TSN controller
CN115484140A
Cited By
Packet processing method, ingress node, medium and product
WO2026051700A1
