Terminal side data transmission scheduling method and device, equipment, storage medium and product

By identifying the service type and setting dynamic priority of the data flow of service terminal equipment, the problem of lack of flexibility and intelligence in data forwarding in the prior art is solved, efficient and differentiated data transmission is achieved, and the data transmission quality and efficiency of industrial sites are improved.

CN119603321AActive Publication Date: 2025-03-11CHINA MOBILE ZIJIN INNOVATION INST CO LTD +2

Patent Information

Application Number
CN202411633798.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-03-11
Estimated Expiration
2044-11-14

AI Technical Summary

Technical Problem

In the prior art, data forwarding and scheduling lacks flexibility and intelligence, and cannot adapt to dynamically changing industrial environments and business needs, resulting in high-priority data services that may be connected to low-priority ports, affecting the quality and efficiency of data transmission.

Method used

By obtaining the device data stream sent by the service terminal device, the service type is identified, the priority of the transmission port is determined based on the identification results, and corresponding data transmission parameters are set to achieve dynamic differentiated data forwarding.

Benefits of technology

Ensure that high-priority services can be forwarded at high-priority ports first, improve the data transmission quality of key services, solve the technical problems of priority division and differentiated forwarding of gateways at all levels according to service types, and improve the forwarding efficiency of industrial on-site business data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603321A_ABST
    Figure CN119603321A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to a terminal side data transmission scheduling method and device, equipment, a storage medium and a product, and the method comprises the steps: obtaining an equipment data stream sent by service terminal equipment, carrying out the service type recognition of the equipment data stream, and obtaining a service type recognition result; the method comprises the following steps: firstly, setting a transmission priority for a transmission port corresponding to a device data stream according to priorities corresponding to various services, then, further configuring a corresponding data encapsulation format according to the priority of the transmission port, and finally, forwarding the encapsulated device data stream through the corresponding transmission port. According to the scheme, the data transmission priority is determined according to the service type identification result of the data packet, so that the high-priority service can be preferentially forwarded at the high-priority port, and the data transmission quality of the key service is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a terminal side data transmission scheduling method, device, equipment, storage medium and product. Background Art

[0002] With the development of the Industrial Internet, various devices in factories and industrial facilities, including programmable logic controllers (PLCs), radars, cameras, sensors, etc., are gradually connected to the Internet, forming a highly interconnected industrial ecosystem. These devices not only need to collect and exchange large amounts of data in real time, but also place higher requirements on the real-time, reliability and security of data transmission.

[0003] In the prior art, data forwarding and scheduling generally involves a unified, one-time manual priority configuration of the physical port. The port forwards data according to the configured priority. A high-priority data service may be connected to a low-priority port, causing the service data to be forwarded in a low-priority state. In other words, the existing port priority configuration method is a static priority allocation strategy that lacks flexibility and intelligence and cannot adapt to dynamically changing industrial environments and business needs.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a terminal-side data transmission scheduling method, device, equipment, storage medium and product, aiming to solve the technical problem in the prior art of how to enable gateways at all levels to perform priority division and differentiated forwarding according to different business types, thereby comprehensively improving the data transmission quality and efficiency of the entire process.

[0006] To achieve the above object, the present invention provides a terminal side data transmission scheduling method, the method comprising the following steps: Obtain device data stream sent by business terminal devices; Performing business type identification on the device data flow to obtain a business type identification result of the device data flow; Determining the transmission port priority corresponding to the device data flow according to the service type identification result; According to the transmission port priority, the data transmission parameter of the transmission port corresponding to the device data stream is set, and the device data stream is forwarded through the corresponding transmission port.

[0007] In one embodiment, the performing service type identification on the device data flow to obtain a service type identification result of the device data flow includes: Extracting data from the device data stream to obtain an application layer message; Identify the application layer message through a deep message inspection algorithm to obtain a service feature identification result; A service type identification result of the device data flow is obtained according to the service feature identification result and its corresponding feature identification weight.

[0008] In one embodiment, the identifying the application layer message by using a deep message inspection algorithm to obtain a service feature identification result includes: Performing feature word recognition on the application layer message to obtain a feature word service type recognition result; Performing application layer gateway identification on the application layer message to obtain an application layer gateway service type identification result; Performing behavior pattern recognition on the application layer message to obtain a behavior model service type recognition result; The characteristic word service type identification result, the application layer gateway service type identification result and the behavior model service type identification result are used as the service characteristic identification result.

[0009] In one embodiment, determining the transmission port priority corresponding to the device data flow according to the service type identification result includes: Obtain a mapping relationship table between business type identification results and business priorities; Based on the mapping relationship table, determining the transmission priority of the device data stream; According to the transmission priority of the device data flow, the transmission port priority corresponding to the device data flow is determined.

[0010] In one embodiment, setting the data transmission parameters of the transmission port corresponding to the device data flow according to the transmission port priority includes: Obtaining TAN protocol priority field information according to the transmission port priority and TAN protocol priority mapping table; The data encapsulation format of the transmission port is set based on the TAN protocol priority field information.

[0011] In one embodiment, before forwarding the encapsulated device data stream through the corresponding transmission port, the method further includes: Generate transmission priority registration information based on the transmission priority and source MAC address of the device data flow; The transmission priority registration information is uploaded to a remote controller, and the transmission priority registration of the device data stream is completed at the remote controller.

[0012] In addition, to achieve the above-mentioned purpose, the present invention further proposes a terminal side data transmission scheduling device, the terminal side data transmission scheduling device comprising: Data transmission module, used to obtain device data stream sent by service terminal equipment; A service type identification module, used to identify the service type of the device data flow and obtain a service type identification result of the device data flow; A data analysis module, used to determine the transmission port priority corresponding to the device data flow according to the service type identification result; The data transmission module is further used to set the data transmission parameters of the transmission port corresponding to the device data stream according to the transmission port priority, and forward the device data stream through the corresponding transmission port.

[0013] In addition, to achieve the above-mentioned purpose, the present invention also proposes a terminal side data transmission scheduling device, which includes: a memory, a processor, and a terminal side data transmission scheduling program stored in the memory and executable on the processor, and the terminal side data transmission scheduling program is configured to implement the steps of the terminal side data transmission scheduling method as described above.

[0014] In addition, to achieve the above objectives, the present invention also proposes a storage medium, on which a terminal side data transmission scheduling program is stored, and when the terminal side data transmission scheduling program is executed by a processor, the steps of the terminal side data transmission scheduling method described above are implemented.

[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the terminal-side data transmission scheduling method as described above.

[0016] One or more technical solutions proposed in this application have at least the following technical effects: This application obtains the device data stream sent by the service terminal device, and then identifies the service type of the device data stream to obtain the service type identification result, and then sets the transmission priority for the transmission port corresponding to the device data stream according to the priority corresponding to each type of service, and then further configures the corresponding data encapsulation format according to the priority of the transmission port, and finally forwards the encapsulated device data stream through the corresponding transmission port. This solution determines the data transmission priority according to the service type identification result of the data packet, ensures that high-priority services can be forwarded at high-priority ports first, ensures the data transmission quality of key services, and solves the technical problem of how to enable gateways at all levels to prioritize and forward according to different service types, thereby comprehensively improving the data transmission quality and efficiency of the entire process, and greatly improving the forwarding efficiency of industrial field service data. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0019] Figure 1 This is a flow chart of a first embodiment of a method for scheduling data transmission on a terminal side according to the present invention; Figure 2 A schematic diagram of the entire service process of an embodiment of a terminal-side data transmission scheduling method of the present invention; Figure 3 A schematic diagram of a service priority mapping relationship table of a terminal-side data transmission scheduling method of the present invention; Figure 4 This is a flow chart of a second embodiment of a method for scheduling data transmission on a terminal side according to the present invention; Figure 5 A schematic diagram of the TAN protocol encapsulation structure of the terminal side data transmission scheduling method of the present invention; Figure 6 It is a structural block diagram of the first embodiment of the terminal side data transmission scheduling device of the present invention; Figure 7 It is a structural diagram of a terminal-side data transmission scheduling device in a hardware operating environment involved in an embodiment of the present invention.

[0020] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

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

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

[0023] The main solution of the embodiment of the present application is: obtain the device data stream sent by the service terminal device; identify the service type of the device data stream to obtain the service type identification result of the device data stream; determine the transmission port priority corresponding to the device data stream according to the service type identification result; set the data transmission parameters of the transmission port corresponding to the device data stream according to the transmission port priority, and forward the device data stream through the corresponding transmission port.

[0024] As various devices in modern factories and industrial facilities, including programmable logic controllers (PLCs), radars, cameras, sensors, etc., are gradually connected to the Internet, forming a highly interconnected industrial ecosystem, these devices not only need to collect and exchange large amounts of data in real time, but also place higher requirements on the real-time, reliability and security of data transmission.

[0025] In the prior art, data forwarding and scheduling generally involves a unified, one-time manual priority configuration of physical ports. The ports forward data according to the configured priority, which may result in high-priority data services being connected to low-priority ports, causing the service data to be forwarded in a low-priority state. In other words, the existing port priority configuration method is a static priority allocation strategy that lacks flexibility and intelligence and cannot adapt to dynamically changing industrial environments and business needs.

[0026] The present application provides a solution, which obtains the device data stream sent by the service terminal device, and then identifies the service type of the device data stream to obtain the service type identification result, and then sets the transmission priority for the transmission port corresponding to the device data stream according to the priority corresponding to each type of service, and then further configures the corresponding data encapsulation format according to the transmission port priority, and finally forwards the encapsulated device data stream through the corresponding transmission port. This solution determines the data transmission priority according to the service type identification result of the data packet, ensuring that high-priority services can be forwarded preferentially at high-priority ports, ensuring the data transmission quality of key services.

[0027] Based on this, an embodiment of the present invention provides a terminal side data transmission scheduling method, referring to Figure 1 , Figure 1 The present invention is a flowchart of a first embodiment of a terminal-side data transmission scheduling method.

[0028] In this embodiment, the terminal side data transmission scheduling method includes the following steps: Step S10: Acquire the device data stream sent by the service terminal device.

[0029] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device that can realize the above functions, a cloud server, etc. The following takes the cloud server as an example to illustrate this embodiment and the following embodiments.

[0030] It should be noted that the terminal-side data transmission scheduling method recorded in this application is applied to gateway devices directly connected to various types of industrial equipment terminals, such as the common 5G TAN deterministic gateway. The 5G TAN deterministic gateway is a gateway device designed specifically for industrial Internet and time-sensitive applications. It has the characteristics of high speed, large connection, wide coverage, low latency and high reliability. It can be widely used in distribution network differential protection, cloud PLC, remote control and mobile precision timing and other scenarios that require 5G to provide deterministic network connection.

[0031] It is understandable that in a typical industrial remote control scenario, terminal devices such as PLC machines, cameras, radars, locators, and sensors may randomly access the LAN port of any 5G deterministic gateway in the area according to the real-time task content for data transmission. These devices are equivalent to business terminal devices, and the data forwarded through the gateway is the device data stream. It should be noted that at this time, these devices may not have been configured with data transmission priorities. On the one hand, these devices may be connected to the local area network for the first time, and neither the local gateway nor the next-level gateway that is about to forward data has configured corresponding priorities for them. On the other hand, the gateway device accessed by the terminal device in each data transmission task may be different, so a dynamic and intelligent method is needed to manage and optimize the transmission priority of the data stream.

[0032] It should be understood that the core idea of ​​the technical solution of this application needs to be explained here first, such as Figure 2 As shown, Figure 2 The figure is a schematic diagram of the entire service process of the present invention. Since data transmission of different service types has different real-time requirements, for example, PLC control data has higher real-time requirements, while monitoring video and environmental sensor sampling data have lower real-time requirements, the former should be assigned a high priority during data transmission, and the latter needs to be configured as a low priority. Therefore, the present application sets a priority mapping table corresponding to the real-time requirements of the service type of the data stream in the gateway directly connected to the terminal device, so that the terminal-side gateway can automatically identify the data stream uploaded by the connected device, and then identify the service type in the data stream to differentiate the priority allocation for each connected device, and then further allocate the data stream to ports with different forwarding rates, thereby realizing differentiated data transmission of field service data.

[0033] Step S20: performing service type identification on the device data flow to obtain a service type identification result of the device data flow.

[0034] It should be noted that enhanced DPI identification technology is required to identify the service type of device data streams. DPI is the abbreviation of Deep Packet Inspection technology, which is a network packet filtering technology used to check the data portion of the data packet passing through the detection point (which may include its header) to detect protocols that do not match the specifications, viruses, spam, intrusions, or to determine whether the detected data packet can pass or needs to be routed to other different destinations according to preset access criteria. It can also be used to collect statistical data. Traditional DPI identification technology is deployed in the forwarding equipment of operators and Internet service providers for firewall-related malicious identification, and mainly plays a role in information transmission security. Therefore, DPI technology has not yet been clearly applied in the field of priority planning of terminal-side gateways.

[0035] It can be understood that the introduction of DPI technology in the terminal-side gateway can enable the gateway to have the ability to actively identify real-time transmitted data, and the device data stream enters the gateway in the Ethernet data frame format, where the application layer message in the data frame format contains the MAC address, application layer protocol, application port number, and feature fingerprint information of the data message. The terminal-side gateway uses DPI technology to identify the characteristics of the data stream regarding the business type.

[0036] It should be understood that DPI identification technology can be identified based on feature words. Different applications usually use different protocols, and various protocols have their own special fingerprints. These fingerprints may be specific ports, specific strings or specific bit sequences. It can be identified based on the application layer gateway. For services with separated control flow and business flow, the business flow has no characteristics. The application layer gateway identification technology first identifies the control flow and selects a specific application layer gateway to parse the business flow according to the control flow protocol. It can also be identified based on behavior patterns, and the business can be distinguished through statistical data such as the frequency of business changes. It can be seen that in the specific implementation process, the business type can be identified based on the different characteristics of the business data, and the business type identification results of the data flow from multiple angles can be obtained. Since the identification process is a process similar to judgment, it is not completely accurate. Therefore, through the multi-angle identification code, and then combined with the weights of each identification result, the type with the largest confidence value is taken as the result of this business identification.

[0037] Step S30: Determine the transmission port priority corresponding to the device data flow according to the service type identification result.

[0038] It should be noted that before this step, the service type of the device data stream has been identified by enhanced DPI technology, and the service type identification results have been obtained. These results are usually specific types of service flows, such as video streams, file transfers, real-time control signals, etc. In this step, a predefined mapping relationship table from service type to transmission port priority is required. This table clearly defines the priority level corresponding to each service type.

[0039] In one embodiment, determining the transmission port priority corresponding to the device data stream based on the service type identification result includes: obtaining a mapping relationship table between service type identification results and service priorities; determining the transmission priority of the device data stream based on the mapping relationship table; and determining the transmission port priority corresponding to the device data stream based on the transmission priority of the device data stream.

[0040] It can be understood that the mapping relationship table between the service type identification result and the service priority is a data structure that associates different service types in the network with their corresponding priorities. This mapping relationship table enables the network device to dynamically assign different priority processing to different service flows based on the service type identification result. Figure 3 As shown, Figure 3 This is an example diagram of the service priority mapping relationship table. It can be seen from the figure that the order of priority is arranged from high to low. PLC control, as the highest level of priority, can achieve the highest port access priority. This category of data should be transmitted through the port with the highest forwarding rate. Subsequent categories are assigned ports with different forwarding rates according to the priority order. In the specific implementation, the determined physical port priority information is written into the priority field of the TAN protocol. This field is used in the TAN frame to identify the priority of the data packet so that it can be correctly processed during the data forwarding process. It should be emphasized that writing the priority field of the TAN protocol in the physical port priority information makes the identification in the entire TAN network universal. Any gateway in the TAN network can determine the priority of the data transmitted from the port based on this part of the field information.

[0041] Step S40: according to the transmission port priority, set the data transmission parameters of the transmission port corresponding to the device data flow, and forward the device data flow through the corresponding transmission port.

[0042] It should be noted that, based on the priority of the transmission port, the gateway device can decide which data encapsulation format to use. For example, high-priority data may need to use the fast PDU (protocol data unit) format, while low-priority data may use the standard PDU format, so that high-priority data packets may be sent to ports with higher bandwidth and lower latency.

[0043] In one embodiment, the data transmission parameters of the transmission port corresponding to the device data stream are set according to the transmission port priority, including: obtaining TAN protocol priority field information according to the transmission port priority and TAN protocol priority mapping table; and setting the data encapsulation format of the transmission port based on the TAN protocol priority field information.

[0044] It should be noted that after determining the priority of the transmission port, the priority of the transmission port needs to be bound to the priority field of the TAN protocol. That is, when the priority of the transmission port is high, the high priority field in the TAN protocol is also written into the priority identification field of the transmission port. The beneficial effect of this is that the data from the southbound access device of the terminal-side gateway can be forwarded with differentiated priority on the terminal side at the same time, and the service data on the server side is transmitted to the service platform again with differentiated priority, thereby ensuring that key services can obtain the necessary service quality assurance throughout the transmission path and meet the requirements of low latency, high reliability, etc.

[0045] It is understandable that before forwarding data, the terminal device corresponding to the current data stream needs to register the transmission priority. Due to the special application scenarios of terminal gateway devices, the devices that access the gateway for data transmission are random. Therefore, every time a new terminal device is connected, it is necessary to automatically register the terminal, assign it a transmission priority, and broadcast it to other transmission gateways.

[0046] In one embodiment, before forwarding the encapsulated device data stream through the corresponding transmission port, it also includes: generating transmission priority registration information based on the transmission priority and source MAC address of the device data stream; uploading the transmission priority registration information to the remote controller, and completing the transmission priority registration of the device data stream at the remote controller.

[0047] It should be understood that the gateway device on the terminal side identifies the service type of the passing data stream through the enhanced DPI technology, and determines the transmission priority of the data stream according to the service type. The gateway device then registers the port priority information to the remote controller. This step involves binding the port priority with the priority field of the TAN protocol. In this way, the remote controller can understand the priority setting of each port and schedule and manage the data stream accordingly, thus realizing the two-stage mapping of service priority-port priority-protocol priority, automatically establishing the mapping of service traffic and TAN protocol, realizing the terminal-side frame priority forwarding and frame preemption, and ensuring the service quality of industrial field service data stream transmission.

[0048] This embodiment obtains the device data stream sent by the service terminal device, and then identifies the service type of the device data stream to obtain the service type identification result, and then sets the transmission priority for the transmission port corresponding to the device data stream according to the priority corresponding to each type of service, and then further configures the corresponding data encapsulation format according to the priority of the transmission port, and finally forwards the encapsulated device data stream through the corresponding transmission port. This solution determines the data transmission priority according to the service type identification result of the data packet, ensuring that high-priority services can be forwarded at high-priority ports first, ensuring the data transmission quality of key services.

[0049] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 4 , the step S20 comprises: Step S201: extracting data from the device data stream to obtain an application layer message.

[0050] It should be noted that the device data stream is encapsulated into UDP packets for transmission by the TAN protocol, and the TAN protocol encapsulates the Ethernet data frames entering the gateway into PDUs (Protocol Data Units). PDU is a data unit transmitted in network communications. It contains information from the upper layer and information attached to the current layer entity, that is, the device data stream enters the gateway in the format of Ethernet data frames. The basic format of an Ethernet frame includes preamble, frame start delimiter, destination MAC address, source MAC address, type / length field, data field, and frame check sequence.

[0051] It is understandable that if Figure 5 As shown, Figure 5 The figure is a schematic diagram of the TAN protocol encapsulation structure. The UDP header in the figure is the header of the UDP message, which contains information such as the source port number, the destination port number, the UDP message length and the checksum; the TAN header is the header of the TAN protocol, which is located after the UDP header. The TAN header contains the control information required by the TAN protocol and is used to process the encapsulation and transmission details specific to the TAN protocol; the standard Ethernet header is the header of the Ethernet frame, which contains the destination MAC address, the source MAC address and the type / length field. The type / length field indicates the type or length of the data payload (PAYLOAD) in the frame; PAYLOAD is the data part of the UDP message, which contains the application layer data. In the context of the TAN protocol, PAYLOAD is the data encapsulated by the TAN protocol, which will be transmitted to the destination; CRC (Cyclic Redundancy Check) is a cyclic redundancy check code used to detect whether an error occurs in the frame during transmission, so the CRC code is located at the end of the entire frame.

[0052] It should be understood that the application layer message is the PAYLOAD part. PAYLOAD is the data part of the UDP message, which contains the application layer data. In the TAN protocol, PAYLOAD is the data encapsulated by the TAN protocol, which will be transmitted to the destination. Therefore, this part of the data contains the MAC address, application layer protocol, application port number, and feature fingerprint information of the data message, and the traffic type identification has the characteristics of refinement.

[0053] Step S202: Identify the application layer message through a deep message inspection algorithm to obtain a service feature identification result.

[0054] It should be noted that, in this embodiment, the service type is identified based on three features: feature word identification, application layer gateway, and behavior pattern identification.

[0055] It can be understood that signature identification refers to the use of characteristic character strings of specific protocols or applications to identify specific application types in data streams. For example, some protocols have fixed byte sequences at specific locations in data packets. These sequences can be used as "fingerprints" to identify protocols, and the business type identification results of data streams can be obtained based on this. Application layer gateway identification is suitable for services where control streams and business streams are separated. This type of data stream needs to first identify the control stream, and then parse it through a specific application layer gateway according to the protocol of the control stream, identify the corresponding business stream from the protocol content, and then determine the business type of the data stream based on the business stream. Behavior pattern identification is based on the analysis of the behavior that has been implemented by the terminal to determine the user's ongoing or upcoming actions. It is usually used to identify services that cannot be determined based on protocols.

[0056] In one embodiment, the application layer message is identified by a deep message detection algorithm to obtain a service feature identification result, including: performing feature word identification on the application layer message to obtain a feature word service type identification result; performing application layer gateway identification on the application layer message to obtain an application layer gateway service type identification result; performing behavior pattern identification on the application layer message to obtain a behavior model service type identification result; and using the feature word service type identification result, the application layer gateway service type identification result and the behavior model service type identification result as the service feature identification result.

[0057] Step S203: Obtaining a service type identification result of the device data flow according to the service feature identification result and its corresponding feature identification weight.

[0058] It can be understood that the service message first undergoes application layer data extraction, evaluates the matching degree of DPI multi-recognition methods, generates feature word recognition, application layer gateway, behavior pattern serial recognition weighted values ​​I, J, K, and parallel recognition generates feature word recognition service type confidence vector , the confidence vector of the application layer gateway identifying the service type , Behavior pattern recognition business type confidence vector , and determine the business type identification result according to the following formula.

[0059]

[0060] It should be understood that the confidence vector contains multiple sub-elements, each of which represents the confidence of an identification result. Specifically, each sub-element corresponds to a possible service type or traffic category. For example, when the service type includes video streaming, audio streaming, file transfer, etc., each sub-element in the confidence vector represents the model's confidence that the input data belongs to these categories. Generally speaking, the value of each sub-element represents the model's confidence in the corresponding category. The larger the value, the more confident the model is that the input data belongs to the category. In the identification process, identification is performed from three perspectives: feature word recognition, application layer gateway, and behavior pattern. Combined with the weight of each identification method, the confidence of multiple traffic categories of the remote control scenario service can be calculated through the calculation of the above formula, and then the type with the largest confidence value is taken as the result of this service identification, and then a one-stage mapping of service priority to port priority is performed to obtain a 5G TAN gateway port priority mapping solution.

[0061] This embodiment uses a deep message detection algorithm to perform fine-grained identification of application layer messages and distinguish different business types. This identification does not rely solely on a single feature, but combines three methods: feature word identification, application layer gateway identification, and behavior pattern identification, which improves the accuracy and reliability of identification. Since the solution combines a variety of identification methods for different data features, it can adapt to different network environments and business types, has strong adaptability and flexibility, and enables the terminal-side gateway to perform differentiated data transmission through automated identification and priority mapping, thereby improving the overall data transmission efficiency and quality.

[0062] This application also provides a terminal side data transmission scheduling device, please refer to Figure 6 , the terminal side data transmission scheduling device includes: The data transmission module 10 is used to obtain the device data stream sent by the service terminal device; A service type identification module 20, configured to identify the service type of the device data flow and obtain a service type identification result of the device data flow; A data analysis module 30, configured to determine the transmission port priority corresponding to the device data flow according to the service type identification result; The data transmission module 10 is further used to set the data transmission parameters of the transmission port corresponding to the device data flow according to the transmission port priority, and forward the device data flow through the corresponding transmission port.

[0063] In one embodiment, the business type identification module 20 is also used to extract data from the device data flow to obtain application layer messages; identify the application layer messages through a deep message detection algorithm to obtain business feature identification results; and obtain business type identification results of the device data flow based on the business feature identification results and their corresponding feature identification weights.

[0064] In one embodiment, the service type identification module 20 is further used to perform feature word identification on the application layer message to obtain a feature word service type identification result; perform application layer gateway identification on the application layer message to obtain an application layer gateway service type identification result; perform behavior pattern identification on the application layer message to obtain a behavior model service type identification result; and use the feature word service type identification result, the application layer gateway service type identification result and the behavior model service type identification result as the service feature identification result.

[0065] In one embodiment, the data analysis module 30 is also used to obtain a mapping relationship table between business type identification results and business priorities; based on the mapping relationship table, determine the transmission priority of the device data stream; and according to the transmission priority of the device data stream, determine the transmission port priority corresponding to the device data stream.

[0066] In one embodiment, the data transmission module 10 is further used to obtain TAN protocol priority field information according to the transmission port priority and TAN protocol priority mapping table; and to set the data encapsulation format of the transmission port based on the TAN protocol priority field information.

[0067] In one embodiment, the data transmission module 10 is also used to generate transmission priority registration information based on the transmission priority and source MAC address of the device data stream; upload the transmission priority registration information to the remote controller, and complete the transmission priority registration of the device data stream at the remote controller.

[0068] This embodiment obtains the device data stream sent by the service terminal device, and then identifies the service type of the device data stream to obtain the service type identification result, and then sets the transmission priority for the transmission port corresponding to the device data stream according to the priority corresponding to each type of service, and then further configures the corresponding data encapsulation format according to the priority of the transmission port, and finally forwards the encapsulated device data stream through the corresponding transmission port. This solution determines the data transmission priority according to the service type identification result of the data packet, ensuring that high-priority services can be forwarded at high-priority ports first, ensuring the data transmission quality of key services.

[0069] The terminal-side data transmission scheduling device provided by the present application adopts the terminal-side data transmission scheduling method in the above-mentioned embodiment, which can solve the technical problem of terminal-side data transmission scheduling. Compared with the prior art, the beneficial effects of the terminal-side data transmission scheduling device provided by the present application are the same as the beneficial effects of the terminal-side data transmission scheduling method provided by the above-mentioned embodiment, and other technical features in the terminal-side data transmission scheduling device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.

[0070] The present application provides a terminal-side data transmission scheduling device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the terminal-side data transmission scheduling method in the above-mentioned embodiment one.

[0071] Reference below Figure 7 , which shows a schematic diagram of the structure of a terminal-side data transmission scheduling device suitable for implementing an embodiment of the present application. The terminal-side data transmission scheduling device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The terminal-side data transmission scheduling device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0072] like Figure 7As shown, the terminal-side data transmission scheduling device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the terminal-side data transmission scheduling device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the terminal-side data transmission scheduling device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a terminal-side data transmission scheduling device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

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

[0074] The terminal-side data transmission scheduling device provided by the present application adopts the terminal-side data transmission scheduling method in the above-mentioned embodiment, which can solve the technical problem of terminal-side data transmission scheduling. Compared with the prior art, the beneficial effects of the terminal-side data transmission scheduling device provided by the present application are the same as the beneficial effects of the terminal-side data transmission scheduling method provided by the above-mentioned embodiment, and other technical features in the terminal-side data transmission scheduling device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

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

[0076] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0077] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the terminal-side data transmission scheduling method in the above-mentioned embodiment.

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

[0079] The above-mentioned computer-readable storage medium may be included in the terminal-side data transmission scheduling device; or may exist independently without being assembled into the terminal-side data transmission scheduling device.

[0080] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the terminal-side data transmission scheduling device, the terminal-side data transmission scheduling device performs terminal-side data transmission scheduling.

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

[0082] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0083] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0084] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned terminal-side data transmission scheduling method, and can solve the technical problem of terminal-side data transmission scheduling. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the terminal-side data transmission scheduling method provided in the above-mentioned embodiment, and will not be described in detail here.

[0085] The present application also provides a computer program product, including a computer program, which implements the steps of the terminal-side data transmission scheduling method as described above when the computer program is executed by a processor.

[0086] The computer program product provided by the present application can solve the technical problem of data transmission scheduling on the terminal side. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the data transmission scheduling method on the terminal side provided by the above embodiment, which will not be repeated here.

[0087] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A terminal side data transmission scheduling method, characterized in that: The terminal side data transmission scheduling method includes: Obtain device data stream sent by business terminal devices; Performing business type identification on the device data flow to obtain a business type identification result of the device data flow; Determining the transmission port priority corresponding to the device data flow according to the service type identification result; According to the transmission port priority, the data transmission parameter of the transmission port corresponding to the device data stream is set, and the device data stream is forwarded through the corresponding transmission port.

2. The terminal side data transmission scheduling method according to claim 1, characterized in that: The performing business type identification on the device data flow to obtain a business type identification result of the device data flow includes: Extracting data from the device data stream to obtain an application layer message; Identify the application layer message through a deep message inspection algorithm to obtain a service feature identification result; A service type identification result of the device data flow is obtained according to the service feature identification result and its corresponding feature identification weight.

3. The terminal side data transmission scheduling method according to claim 2, characterized in that: The identifying the application layer message by using a deep message inspection algorithm to obtain a service feature identification result includes: Performing feature word recognition on the application layer message to obtain a feature word service type recognition result; Performing application layer gateway identification on the application layer message to obtain an application layer gateway service type identification result; Performing behavior pattern recognition on the application layer message to obtain a behavior model service type recognition result; The characteristic word service type identification result, the application layer gateway service type identification result and the behavior model service type identification result are used as the service characteristic identification result.

4. The terminal side data transmission scheduling method according to claim 1, characterized in that: The determining, according to the service type identification result, the transmission port priority corresponding to the device data flow includes: Obtain a mapping relationship table between business type identification results and business priorities; Based on the mapping relationship table, determining the transmission priority of the device data stream; According to the transmission priority of the device data flow, the transmission port priority corresponding to the device data flow is determined.

5. The terminal side data transmission scheduling method according to claim 1, characterized in that: The step of setting the data transmission parameters of the transmission port corresponding to the device data flow according to the transmission port priority includes: Obtaining TAN protocol priority field information according to the transmission port priority and TAN protocol priority mapping table; The data encapsulation format of the transmission port is set based on the TAN protocol priority field information.

6. The terminal side data transmission scheduling method according to claim 1, characterized in that: Before forwarding the encapsulated device data stream through the corresponding transmission port, the method further includes: Generate transmission priority registration information based on the transmission priority and source MAC address of the device data flow; The transmission priority registration information is uploaded to a remote controller, and the transmission priority registration of the device data stream is completed at the remote controller.

7. A terminal side data transmission scheduling device, characterized in that: The terminal side data transmission scheduling device comprises: Data transmission module, used to obtain device data stream sent by service terminal equipment; A service type identification module, used to identify the service type of the device data flow and obtain a service type identification result of the device data flow; A data analysis module, used to determine the transmission port priority corresponding to the device data flow according to the service type identification result; The data transmission module is further used to set the data transmission parameters of the transmission port corresponding to the device data stream according to the transmission port priority, and forward the device data stream through the corresponding transmission port.

8. A terminal side data transmission scheduling device, characterized in that: The terminal side data transmission scheduling device includes: a memory, a processor, and a terminal side data transmission scheduling program stored in the memory and executable on the processor, wherein the terminal side data transmission scheduling program is configured to implement the terminal side data transmission scheduling method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores a terminal-side data transmission scheduling program, and when the terminal-side data transmission scheduling program is executed by the processor, the terminal-side data transmission scheduling method according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the terminal side data transmission scheduling method as claimed in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Data traffic processing method, network device and network system

    CN102143035A

  • Flow downloading method and system as well as packet data network gateway

    CN102209348A

  • Service request processing method and device, storage medium and electronic equipment

    CN111754332A

  • Data transmission method and device

    CN117118911A

  • Data processing method and device and network equipment

    CN118869627A

Cited By

  • Method and device for identifying service type based on DPI (Deep Packet Inspection)

    CN120263745A

  • Priority-based data packet forwarding method and device, equipment and storage medium

    CN120639715A