Terminal-side data transmission scheduling method and apparatus, device, storage medium, and product
By introducing DPI technology into the terminal-side gateway, the service type is identified and the transmission port priority is dynamically allocated, which solves the problem of insufficient flexibility and intelligence in the existing data transmission scheduling methods and achieves a high-efficiency improvement in data transmission quality and efficiency.
Patent Information
- Application Number
- CN202411633798.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-11-14
AI Technical Summary
Existing data transmission scheduling methods lack flexibility and intelligence, and cannot adapt to dynamically changing industrial environments and business needs, resulting in high-priority data services being forwarded through low-priority ports.
By introducing Deep Packet Inspection (DPI) technology into the terminal-side gateway, the service type of the device data stream is identified, and the transmission port priority and data encapsulation format are dynamically allocated according to the service type identification results, ensuring that high-priority services are forwarded on high-priority ports.
It enables differentiated forwarding based on service type, improving data transmission quality and efficiency, and ensuring the data transmission quality and real-time performance of critical services.
Smart Images

Figure CN119603321B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a terminal-side data transmission scheduling method and device, equipment, storage medium and product. BACKGROUND
[0002] With the development of industrial internet, various devices in factories and industrial facilities, including programmable logic controllers (PLCs), radars, cameras, sensors, etc., are gradually connected to form a highly interconnected industrial ecosystem. These devices not only need to collect and exchange a large amount of data in real time, but also have higher requirements for the real-time, reliability and security of data transmission.
[0003] In the prior art, data forwarding and scheduling are generally unified and manually configured once for priority, and the port forwards data according to the configured priority. It may be that high-priority data traffic is accessed to a low-priority port, resulting in the data being forwarded at a low priority. That is, the existing port priority configuration method is a static priority allocation strategy, which lacks flexibility and intelligence and cannot adapt to dynamic changes in the industrial environment and business needs.
[0004] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY
[0005] The main purpose of the present application is to provide a terminal-side data transmission scheduling method, device, equipment, storage medium and product, which aims to solve the technical problem of how to make the gateway at each level be able to make priority division and differential forwarding according to different business types, so as to comprehensively improve the data transmission quality and efficiency of the whole process.
[0006] To achieve the above purpose, the present application provides a terminal-side data transmission scheduling method, which comprises the following steps:
[0007] Obtaining device data stream sent by a business terminal device;
[0008] Identifying the business type of the device data stream to obtain a business type identification result of the device data stream;
[0009] According to the business type identification result, determining the transmission port priority corresponding to the device data stream;
[0010] According to the transmission port priority, setting the data transmission parameters of the transmission port corresponding to the device data stream, and forwarding the device data stream through the corresponding transmission port.
[0011] In an embodiment, the service type identification of the device data stream comprises:
[0012] The device data stream is subjected to data extraction to obtain an application layer message;
[0013] The application layer message is identified by a deep packet inspection algorithm to obtain a service feature identification result;
[0014] According to the service feature identification result and its corresponding feature identification weight, a service type identification result of the device data stream is obtained.
[0015] In an embodiment, the application layer message is identified by the deep packet inspection algorithm to obtain a service feature identification result, which comprises:
[0016] The application layer message is subjected to feature word identification to obtain a feature word service type identification result;
[0017] The application layer message is subjected to application layer gateway identification to obtain an application layer gateway service type identification result;
[0018] The application layer message is subjected to behavior pattern identification to obtain a behavior model service type identification result;
[0019] The feature word service type identification result, the application layer gateway service type identification result, and the behavior model service type identification result are taken as the service feature identification result.
[0020] In an embodiment, according to the service type identification result, the transmission port priority corresponding to the device data stream is determined, which comprises:
[0021] A mapping relationship table of service type identification result and service priority is obtained;
[0022] Based on the mapping relationship table, the transmission priority of the device data stream is determined;
[0023] According to the transmission priority of the device data stream, the transmission port priority corresponding to the device data stream is determined.
[0024] In an embodiment, according to the transmission port priority, the data transmission parameter of the transmission port corresponding to the device data stream is set, which comprises:
[0025] According to the transmission port priority and a TAN protocol priority mapping table, TAN protocol priority field information is obtained;
[0026] Based on the TAN protocol priority field information, the data encapsulation format of the transmission port is set.
[0027] In an embodiment, before forwarding the encapsulated device data stream through the corresponding transmission port, the method further comprises:
[0028] generating transmission priority registration information according to the transmission priority of the device data stream and the source MAC address;
[0029] uploading the transmission priority registration information to a remote controller, and completing the transmission priority registration of the device data stream in the remote controller.
[0030] In addition, to achieve the above object, the application further provides a terminal-side data transmission scheduling device, which comprises:
[0031] a data transmission module, configured to acquire a device data stream sent by a service terminal device;
[0032] a service type identification module, configured to identify the service type of the device data stream to obtain a service type identification result of the device data stream;
[0033] a data analysis module, configured to determine the transmission port priority corresponding to the device data stream according to the service type identification result;
[0034] the data transmission module is further configured to set the data transmission parameter 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.
[0035] In addition, to achieve the above object, the application further provides a terminal-side data transmission scheduling device, which comprises 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.
[0036] In addition, to achieve the above object, the application further provides a storage medium, which stores a terminal-side data transmission scheduling program, and the terminal-side data transmission scheduling program implements the steps of the terminal-side data transmission scheduling method as described above when executed by a processor.
[0037] In addition, to achieve the above object, the application further provides a computer program product, which comprises a computer program, and the computer program implements the steps of the terminal-side data transmission scheduling method as described above when executed by a processor.
[0038] The one or more technical solutions provided in the application have at least the following technical effects: the application obtains device data stream sent by a service terminal device, then performs service type identification on the device data stream to obtain a service type identification result, then sets a transmission priority of a transmission port corresponding to the device data stream according to the priority corresponding to each type of service, then further configures a data encapsulation format according to the transmission port priority, and finally forwards the encapsulated device data stream through the corresponding transmission port. The scheme determines the data transmission priority according to the service type identification result of the data packet, ensures that high-priority services can be preferentially forwarded at high-priority ports, ensures the data transmission quality of critical services, solves the technical problem of how to enable gateways at all levels to perform priority division and differential forwarding according to different service types, thereby comprehensively improving the data transmission quality and efficiency of the entire process, and greatly improves the forwarding efficiency of industrial field service data. BRIEF DESCRIPTION OF DRAWINGS
[0039] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the specification, serve to explain the principles of the application.
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, those skilled in the art can obtain other drawings from these drawings without creative labor.
[0041] Figure 1 A flowchart of a first embodiment of a terminal-side data transmission scheduling method of the application;
[0042] Figure 2 A service flowchart of an embodiment of a terminal-side data transmission scheduling method of the application;
[0043] Figure 3 A service priority mapping relationship table of a terminal-side data transmission scheduling method of the application;
[0044] Figure 4 A flowchart of a second embodiment of a terminal-side data transmission scheduling method of the application;
[0045] Figure 5 A TAN protocol encapsulation structure of a terminal-side data transmission scheduling method of the application;
[0046] Figure 6 A structure block diagram of a first embodiment of a terminal-side data transmission scheduling device of the application;
[0047] Figure 7Fig. 1 is a structural schematic diagram of a terminal side data transmission scheduling device of a hardware running environment according to an embodiment of the present application.
[0048] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are merely intended to explain the technical solutions of the present application, and are not intended to limit the present application.
[0050] In order to better understand the technical solutions of the present application, the following will be described in detail in combination with the accompanying drawings and specific embodiments.
[0051] The main solution of the embodiment of the present application is: obtaining device data stream sent by a service terminal device; performing service type identification on the device data stream to obtain a service type identification result of the device data stream; determining a transmission port priority corresponding to the device data stream according to the service type identification result; setting data transmission parameters of a transmission port corresponding to the device data stream according to the transmission port priority; and forwarding the device data stream through the corresponding transmission port.
[0052] As various devices in modern factories and industrial facilities, including programmable logic controllers (PLCs), radars, cameras, sensors, etc., are gradually connected to form a highly interconnected industrial ecosystem, these devices not only need to collect and exchange a large amount of data in real time, but also put forward higher requirements on the real-time performance, reliability and security of data transmission.
[0053] In the prior art, data forwarding and scheduling are generally unified and one-time manual priority configuration of physical ports, and the ports forward data according to the configured priority, which may cause high-priority data services to be connected to low-priority ports, so that the service data is forwarded at a low priority. That is, the existing port priority configuration method is a static priority allocation strategy, which lacks flexibility and intelligence and cannot adapt to dynamic changes in the industrial environment and service requirements.
[0054] The application provides a solution, which comprises the following steps: obtaining device data stream sent by a service terminal device, identifying the service type of the device data stream to obtain a service type identification result, setting the transmission priority of a transmission port corresponding to the device data stream according to the priority of each service type, further configuring a data encapsulation format according to the transmission port priority, and finally forwarding the encapsulated device data stream through the corresponding transmission port. According to the service type identification result of the data packet, the data transmission priority is determined, 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.
[0055] Based on this, the embodiment of the application provides a terminal-side data transmission scheduling method, which refers to Figure 1 , Figure 1 The flowchart of the first embodiment of the terminal-side data transmission scheduling method of the application is shown in the figure.
[0056] In this embodiment, the terminal-side data transmission scheduling method comprises the following steps:
[0057] Step S10: obtaining device data stream sent by a service terminal device.
[0058] It should be noted that the execution subject of the 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, a cloud server, etc. that can realize the above functions. Hereinafter, the cloud server is taken as an example to describe the embodiment and the following embodiments.
[0059] It should be noted that the terminal-side data transmission scheduling method described in the application is applied to a gateway device directly connected to various industrial device terminals, such as a common 5G TAN deterministic gateway. The 5G TAN deterministic gateway is a gateway device specially designed for industrial internet and time-sensitive applications, which has the characteristics of high speed, large connection, wide coverage, low latency and high reliability, and can be widely used in power grid differential protection, cloud PLC, remote control and mobile precise timing, etc. which need 5G to provide deterministic network connection.
[0060] It can be understood that in a typical industrial remote control scenario, PLC machines, cameras, radars, positioners, sensors and other terminal devices can randomly access the LAN port of any 5G deterministic gateway in the area according to 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 priority, on the one hand these devices may be accessing the local area network for the first time, neither the local gateway nor the next gateway for data forwarding has performed corresponding priority configuration on 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.
[0061] It should be understood that the core idea of the technical solution of the present application needs to be explained first, as shown in Figure 2 , Figure 2 is a business full-process diagram of the present application. Since different types of data transmission have 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, therefore the former should be allocated as high priority in the data transmission process, and the latter needs to be configured as low priority, so the present application sets a priority mapping table corresponding to the real-time requirements of the business type of the data stream at the gateway directly connected to the terminal device, so that the terminal-side gateway identifies the data stream uploaded by the accessed device, then identifies the business type in the data stream to differentiate the priority allocation for each accessed device, and then further allocates the data stream to ports with different forwarding rates, thereby realizing differentiated data transmission of on-site business data.
[0062] Step S20: performing business type identification on the device data stream to obtain a business type identification result of the device data stream.
[0063] It should be noted that the service type identification of the device data stream needs to use enhanced DPI identification technology. DPI is the abbreviation of Deep Packet Inspection, which is a network packet filtering technology. DPI is used to check the data part (which may include the header) of the data packet passing through the detection point, to detect protocols that do not match the standard, viruses, spam, intrusion, or to determine whether the detected data packet can pass or needs to be routed to other different destinations according to the preset access criteria, and can also be used for the purpose of collecting statistical data. The traditional DPI identification technology needs to be deployed in the forwarding device of the operator and the Internet service provider for firewall-related malicious identification, and mainly plays a role in information transmission security. Therefore, the DPI technology has not been clearly applied in the priority planning field of the terminal side gateway.
[0064] 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. The device data stream enters the gateway in the format of an Ethernet data frame. The application layer message in the data frame format includes the MAC address of the data message, the application layer protocol, the application port number, and the characteristic fingerprint information. The terminal side gateway using the DPI technology can identify the characteristics of the service type of the data stream.
[0065] It should be understood that the DPI identification technology can be identified according to the characteristic word. Different applications usually use different protocols, and various protocols have their special fingerprints. These fingerprints can be specific ports, specific strings, or specific bit sequences. The application layer gateway can be identified. For the service of separating control flow and service flow, the service flow has no characteristics. The application layer gateway identification technology first identifies the control flow, and selects a specific application layer gateway according to the control flow protocol to analyze the service flow. It can also be identified according to the behavior mode. The service is distinguished by statistical data such as the change frequency of the service. It can be seen that in the specific implementation process, the service type identification can be started from the different characteristics of the service data, and the service type identification result of the data stream under multiple angles can be obtained. Since the identification process is a process similar to judgment, it is not completely accurate. Therefore, the identification code is obtained from multiple angles, and then the weight of each identification result is combined to take the type with the largest confidence value as the result of this service identification.
[0066] Step S30: According to the service type identification result, determine the transmission port priority corresponding to the device data stream.
[0067] It should be noted that the service type identification result is obtained by identifying the service type of the device data stream through the enhanced DPI technology before the present step, and the service type identification result is usually the specific type of the service stream, such as a video stream, a file transmission, a real-time control signal, etc. In the present step, a predefined mapping relationship table of the service type to the transmission port priority is required, which indicates the priority level corresponding to each service type.
[0068] In an embodiment, the determining of the transmission port priority corresponding to the device data stream according to the service type identification result comprises: obtaining a mapping relationship table of the service type identification result and the service priority; 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 according to the transmission priority of the device data stream.
[0069] It can be understood that the mapping relationship table of the service type identification result and the service priority is a data structure for associating different service types in the network with the corresponding priority. The mapping relationship table enables the network device to dynamically allocate different priorities to different service streams according to the service type identification result. As shown in Figure 3 , Figure 3 is an example diagram of the service priority mapping relationship table. As can be seen from the diagram, the order of the priority is arranged from high to low. The PLC control is the highest priority, which can realize the highest port access priority. The data of this category should be transmitted through the port with the highest forwarding rate. The subsequent categories are correspondingly allocated to different ports with different forwarding rates according to the priority order. In the specific execution, the determined physical port priority information is written into the priority field of the TAN protocol. This field is used to identify the priority of the data packet in the TAN frame, so that the data can be correctly processed in the data forwarding process. It should be emphasized that writing the physical port priority information into the priority field of the TAN protocol makes the identification in the entire TAN network universal. Any gateway in the TAN network can determine the priority of the data transmitted by the port according to this field information.
[0070] Step S40: setting the data transmission parameter of the transmission port corresponding to the device data stream according to the transmission port priority, and forwarding the device data stream through the corresponding transmission port.
[0071] It should be noted that according to 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 a fast PDU (Protocol Data Unit) format, while low-priority data may use a standard PDU format, which can make the high-priority data packet be sent to a port with higher bandwidth and lower delay.
[0072] In an embodiment, the setting of the data transmission parameter of the transmission port corresponding to the device data stream according to the transmission port priority comprises: obtaining TAN protocol priority field information according to the mapping table of the transmission port priority and the TAN protocol priority; and setting the data encapsulation format of the transmission port based on the TAN protocol priority field information.
[0073] 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 field about high priority 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 of the terminal side gateway southbound access device can be simultaneously forwarded with differentiated priority on the terminal side, and the service data is transmitted again with differentiated priority to the service platform on the server side, thereby ensuring that the key service can obtain necessary service quality guarantee on the entire transmission path and meet the requirements of low delay and high reliability.
[0074] It can be understood that before forwarding the data, the terminal device corresponding to the current data stream needs to be registered for transmission priority. Due to the random nature of the devices accessed by the terminal gateway device, each time a new terminal device is accessed, automatic registration needs to be performed for the terminal, and the transmission priority is allocated and broadcast to other transmission gateways.
[0075] In an embodiment, before the encapsulated device data stream is forwarded through the corresponding transmission port, the method further comprises: generating transmission priority registration information according to the transmission priority of the device data stream and the source MAC address; and uploading the transmission priority registration information to a remote controller, and completing the transmission priority registration of the device data stream in the remote controller.
[0076] It should be understood that the gateway device on the terminal side identifies the service type of the passing data stream through enhanced DPI technology, and determines the transmission priority of the data stream according to the service type, and then the gateway device registers the port priority information to the remote controller. This step involves binding the port priority to 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, which realizes two-stage mapping of service priority-port priority-protocol priority, automatically establishes the mapping of service traffic and the TAN protocol, realizes frame priority forwarding and frame preemption on the terminal side, and guarantees the service quality of industrial site service data stream transmission.
[0077] This embodiment acquires the device data stream sent by the service terminal device, then identifies the service type of the data stream to obtain the service type identification result. Next, based on the priority of each service type, it sets the transmission priority for the corresponding transmission port of the device data stream. Then, it configures the corresponding data encapsulation format according to the transmission port priority. Finally, it forwards the encapsulated device data stream through the corresponding transmission port. This scheme determines the data transmission priority based on the service type identification result of the data packet, ensuring that high-priority services are forwarded first at high-priority ports, thus ensuring the data transmission quality of critical services.
[0078] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 4 Step S20 includes:
[0079] Step S201: Extract data from the device data stream to obtain application layer messages.
[0080] It should be noted that the device data stream is encapsulated into UDP packets by the TAN protocol for transmission. The TAN protocol encapsulates Ethernet data frames entering the gateway into PDUs (Protocol Data Units). A PDU is a data unit transmitted in network communication; it contains information from the upper layer and additional information from the current layer entity. In other words, the device data stream enters the gateway according to the format of an Ethernet data frame. The basic format of an Ethernet frame includes a preamble, start-of-frame delimiter, destination MAC address, source MAC address, type / length field, data field, and frame check sequence.
[0081] It is understandable that, such as Figure 5 As shown, Figure 5 This diagram illustrates the TAN protocol encapsulation structure. The UDP header, located after the UDP header, contains the source port number, destination port number, UDP packet length, and checksum. The TAN header provides control information for handling TAN-specific encapsulation and transmission details. The standard Ethernet header includes the destination MAC address, source MAC address, and a type / length field, indicating the type or length of the payload (PAYLOAD) in the frame. The PAYLOAD is the data portion of the UDP packet, containing application-layer data. In the TAN context, the PAYLOAD is the data encapsulated by TAN and will be transmitted to its destination. The CRC (Cyclic Redundancy Check) is used to detect errors during frame transmission; therefore, the CRC code is located at the end of the frame.
[0082] It should be understood that the message of the application layer is the PAYLOAD part. The PAYLOAD is the data part of the UDP message, which contains the data of the application layer. In the TAN protocol, the PAYLOAD is the data encapsulated by the TAN protocol, which will be transmitted to the destination. Therefore, this part of data contains the MAC address of the data message, the application layer protocol, the application port number, the feature fingerprint information, and the flow type identification with fine-grained characteristics.
[0083] Step S202: identifying the application layer message by a deep packet detection algorithm to obtain a service feature identification result.
[0084] It should be noted that in this embodiment, the service type is identified by three features of signature recognition, application layer gateway, and behavior pattern recognition in sequence.
[0085] It can be understood that the signature recognition refers to using the characteristic string of a specific protocol or application to identify the specific application type in the data flow. For example, some protocols have fixed byte sequences at specific positions of the data packet, which can be used as the "fingerprint" to identify the protocol, and the service type identification result of the data flow is obtained based on this; the application layer gateway recognition is suitable for the service of separating control flow and service flow. This data flow needs to identify the control flow first, and then parse it through a specific application layer gateway according to the protocol of the control flow to identify the corresponding service flow from the protocol content, and then determine the service type of the data flow according to the service flow; the behavior pattern recognition is based on the analysis of the behavior implemented by the terminal to judge the action being performed by the user or the action to be implemented, which is usually used for the identification of services that cannot be judged according to the protocol.
[0086] In an embodiment, the identifying the application layer message by a deep packet detection algorithm to obtain a service feature identification result comprises: performing signature recognition on the application layer message to obtain a signature service type identification result; performing application layer gateway recognition 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 identification result; and taking the signature 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.
[0087] Step S203: obtaining a service type identification result of the device data flow according to the service feature identification result and the corresponding feature identification weight.
[0088] It can be understood that the service message is first subjected to application layer data extraction, evaluation of DPI multi-identification method matching degree, generation of feature word identification, application layer gateway, and behavior pattern serial identification weighted values I, J, and K, and parallel identification of feature word identification service type confidence vector application layer gateway identification service type confidence vector behavior pattern identification service type confidence vector and determining the service type identification result according to the following formula.
[0089]
[0090] It should be understood that the confidence vector contains multiple sub-elements, and each sub-element 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 stream, audio stream, file transmission, etc., each sub-element in the confidence vector represents the confidence of the model that the input data belongs to these categories. Generally, the value of each sub-element represents the confidence of the model for 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 angles of feature word identification, application layer gateway, and behavior pattern, combined with the weight of each identification method, and through the calculation of the above formula, the confidence of multiple traffic categories of the remote control scene service can be calculated. Then, the type with the maximum confidence value is taken as the result of this service identification. Then, a one-stage mapping of service priority to port priority is performed to obtain the 5G TAN gateway port priority mapping scheme.
[0091] The embodiment can finely identify application layer messages and distinguish different service types through a deep message detection algorithm. This identification not only relies on a single feature, but also combines feature word identification, application layer gateway identification, and behavior pattern identification, thereby improving the accuracy and reliability of identification. Since the scheme integrates multiple identification methods of different data features, it can adapt to different network environments and service types, has strong adaptability and flexibility, and enables the terminal side gateway to perform differentiated data transmission through automatic identification and priority mapping, thereby improving the overall data transmission efficiency and quality.
[0092] The application also provides a terminal side data transmission scheduling device, which is described with reference to Figure 6 The terminal side data transmission scheduling device comprises:
[0093] A data transmission module 10 is configured to acquire device data stream transmitted by a service terminal device.
[0094] The service type identification module 20 is configured to identify the service type of the device data stream to obtain a service type identification result of the device data stream.
[0095] The data analysis module 30 is configured to determine the transmission port priority corresponding to the device data stream according to the service type identification result.
[0096] The data transmission module 10 is further configured to set the data transmission parameter 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.
[0097] In an embodiment, the service type identification module 20 is further configured to extract data from the device data stream to obtain an application layer message, identify the application layer message through a deep packet inspection algorithm to obtain a service feature identification result, and obtain the service type identification result of the device data stream according to the service feature identification result and a corresponding feature identification weight.
[0098] In an embodiment, the service type identification module 20 is further configured to identify a feature word of the application layer message to obtain a feature word service type identification result, identify an application layer gateway of the application layer message to obtain an application layer gateway service type identification result, identify a behavior model of the application layer message to obtain a behavior model service type identification result, and take 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.
[0099] In an embodiment, the data analysis module 30 is further configured to obtain a mapping relationship table of service type identification result and service priority, determine the transmission priority of the device data stream based on the mapping relationship table, and determine the transmission port priority corresponding to the device data stream according to the transmission priority of the device data stream.
[0100] In an embodiment, the data transmission module 10 is further configured to obtain TAN protocol priority field information according to the transmission port priority and a TAN protocol priority mapping table, and set the data encapsulation format of the transmission port based on the TAN protocol priority field information.
[0101] In an embodiment, the data transmission module 10 is further configured to generate transmission priority registration information according to the transmission priority of the device data stream and a source MAC address, upload the transmission priority registration information to a remote controller, and complete the transmission priority registration of the device data stream in the remote controller.
[0102] The embodiment obtains the device data stream sent by the service terminal device, and then performs service type identification on the device data stream to obtain a service type identification result. Then, the priority of transmission of the transmission port corresponding to the device data stream is set according to the priority corresponding to each type of service. Then, the corresponding data encapsulation format is further configured according to the transmission port priority configuration. Finally, the encapsulated device data stream is forwarded through the corresponding transmission port. According to the service type identification result of the data packet, the data transmission priority is determined, 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.
[0103] The terminal side data transmission scheduling device provided by the application adopts the terminal side data transmission scheduling method in the above embodiment, and can solve the technical problem of terminal side data transmission scheduling. Compared with the prior art, the terminal side data transmission scheduling device provided by the application has the same beneficial effects as the terminal side data transmission scheduling method provided by the above embodiment, and other technical features in the terminal side data transmission scheduling device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0104] The application provides a terminal side data transmission scheduling device, which comprises at least one processor and a memory in communication connection with the at least one processor. The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the terminal side data transmission scheduling method in the above embodiment one.
[0105] Reference will now be made to the drawings, and specific examples thereof will be illustrated. Figure 7 The terminal side data transmission scheduling device in the embodiment of the application can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description), PMPs (Portable Media Player), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 7 The terminal side data transmission scheduling device shown is only an example, and should not impose any limitation on the functions and use range of the embodiment of the application.
[0106] As Figure 7As shown, the terminal-side data transmission scheduling device can include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1002 or loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for the terminal-side data transmission scheduling device to operate are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 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: input devices 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; the 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 terminal-side data transmission scheduling device with various systems is shown in the figure, it should be understood that all the shown systems are not required to be implemented or possessed. More or fewer systems can be alternatively implemented or possessed.
[0107] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of embodiments of the present disclosure are performed.
[0108] The terminal-side data transmission scheduling device provided by the present disclosure adopts the terminal-side data transmission scheduling method in the above embodiments, and can solve the technical problem of terminal-side data transmission scheduling. Compared with the prior art, the terminal-side data transmission scheduling device provided by the present disclosure has the same beneficial effects as the terminal-side data transmission scheduling method provided by the above embodiments, and other technical features in the terminal-side data transmission scheduling device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.
[0109] It should be understood that portions of the application disclosed can be implemented in hardware, software, firmware, or combinations thereof. In the description of the embodiments above, specific features, structures, materials or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0110] The above description is merely illustrative of the application and is not intended to limit the scope of the application. Any changes or modifications that can be made to the application in accordance with the principles of the application would be readily apparent to persons skilled in the art and the generic principles of the application defined herein are intended to include all such changes and modifications. The scope of the application is therefore intended to be defined only by the scope of the claims presented and equivalents thereof.
[0111] The application provides a computer readable storage medium having stored thereon computer readable program instructions (i.e. computer programs) for performing the terminal-side data transmission scheduling method in the above-described embodiments.
[0112] The computer readable storage medium provided by the application may, for example, be a U disk, but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more conductive wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer readable storage medium can be transmitted in any suitable medium, including but not limited to electrical wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
[0113] The above computer readable storage medium can be included in a terminal-side data transmission scheduling device; or can exist separately and not be assembled into a terminal-side data transmission scheduling device.
[0114] The above computer readable storage medium carries one or more programs, which, when executed by the terminal-side data transmission scheduling device, cause the terminal-side data transmission scheduling device to perform terminal-side data transmission scheduling.
[0115] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can 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 the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0116] The flow diagrams and the block diagrams in the drawings are meant as illustrative representations of the architectures, functions, and operations of possible implementations of systems, methods and computer program products according to the present application. It should be noted that each block in the flow diagrams and the block diagrams, and combinations of blocks in the flow diagrams and the block diagrams, can be implemented by either hardware, software, or combinations thereof. The flow diagrams of FIGS. 6-8 and the block diagrams of FIGS. 1-5 illustrate the architecture, functionality, and operations of possible implementations of systems, methods and computer program products according to the present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions ("instructions"). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may
[0117] The modules involved in the embodiments of the present application can be implemented by software or by hardware. In some cases, the name of the module does not constitute a limitation on the module itself.
[0118] The readable storage medium provided by the present application is a computer readable storage medium, which stores computer readable program instructions (i.e. computer programs) for executing the terminal side data transmission scheduling method described above, and can solve the technical problem of terminal side data transmission scheduling. Compared with the prior art, the computer readable storage medium provided by the present application has the same beneficial effects as the terminal side data transmission scheduling method provided by the above-mentioned embodiments, which will not be repeated here.
[0119] The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the terminal-side data transmission scheduling method as described above.
[0120] The computer program product provided by the application can solve the technical problem of terminal-side data transmission scheduling. Compared with the prior art, the beneficial effects of the computer program product provided by the application are the same as those of the terminal-side data transmission scheduling method provided by the above-mentioned embodiments, and are not described here.
[0121] The above only describes some embodiments of the application, and does not limit the patent scope of the application. Any equivalent structural transformation made by using the content of the application specification and drawings, or direct / indirect application in other related technical fields is included in the patent protection scope of the application.
Claims
1. A terminal-side data transmission scheduling method, characterized in that, The terminal-side data transmission scheduling method includes: Acquire device data streams sent by business terminal devices; Perform service type identification on the device data stream to obtain the service type identification result of the device data stream; Based on the service type identification result, determine the transmission port priority corresponding to the device data stream; Based on the priority of the transmission port, the data encapsulation format of the transmission port is determined, and the encapsulated device data stream is forwarded through the corresponding transmission port. The step of determining the data encapsulation format of the transmission port based on the transmission port priority includes: Based on the mapping table between the transmission port priority and the TAN protocol priority, the TAN protocol priority field information is obtained; The data encapsulation format of the transmission port is set based on the TAN protocol priority field information.
2. The terminal-side data transmission scheduling method according to claim 1, characterized in that, The step of identifying the service type of the device data stream to obtain the service type identification result of the device data stream includes: Data is extracted from the device data stream to obtain application layer messages; The application layer messages are identified using a deep message detection algorithm to obtain the business feature identification results; Based on the business feature identification results and their corresponding feature identification weights, the business type identification results of the device data stream are obtained.
3. The terminal-side data transmission scheduling method according to claim 2, characterized in that, The process of identifying the application layer messages using a deep packet inspection algorithm to obtain service feature identification results includes: The application layer message is subjected to feature word recognition to obtain the feature word service type recognition result; The application layer message is subjected to application layer gateway identification to obtain the application layer gateway service type identification result; Behavioral pattern recognition is performed on the application layer messages to obtain the behavioral model service type recognition result; The step of obtaining the service type identification result of the device data stream based on the service feature identification result and its corresponding feature identification weight includes: The service type identification result is obtained based on the feature word service type identification result, the application layer gateway service type identification result, the behavior model service type identification result, and the corresponding feature identification weight.
4. The terminal-side data transmission scheduling method according to claim 1, characterized in that, The step of determining the transmission port priority corresponding to the device data stream based on the service type identification result includes: Obtain a mapping table between business type identification results and business priority; Based on the mapping table, the transmission priority of the device data stream is determined; The priority of the transmission port corresponding to the device data stream is determined based on the transmission priority of the device data stream.
5. 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: Based on the transmission priority and source MAC address of the device data stream, transmission priority registration information is generated; The transmission priority registration information is uploaded to the remote controller, and the remote controller completes the transmission priority registration for the device data stream.
6. A terminal-side data transmission scheduling device, characterized in that, The terminal-side data transmission scheduling device includes: The data transmission module is used to acquire device data streams sent by business terminal devices; A service type identification module is used to identify the service type of the device data stream and obtain the service type identification result of the device data stream. The data analysis module is used to determine the transmission port priority corresponding to the device data stream based on the service type identification result. The data transmission module is further configured to determine the data encapsulation format of the transmission port according to the priority of the transmission port, and forward the encapsulated device data stream through the corresponding transmission port. The data transmission module is further configured to obtain TAN protocol priority field information according to the mapping table between the transmission port priority and the TAN protocol priority; and to set the data encapsulation format of the transmission port based on the TAN protocol priority field information.
7. 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 5.
8. A storage medium, characterized in that, The storage medium stores a terminal-side data transmission scheduler, which, when executed by the processor, implements the terminal-side data transmission scheduling method as described in any one of claims 1 to 5.
9. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the terminal-side data transmission scheduling method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Data traffic processing method, network device and network system
CN102143035A
Service request processing method and device, storage medium and electronic equipment
CN111754332A