Data processing method, system and device
By merging the data characteristics of uplink and downlink data streams, the problem of inaccurate data characteristics caused by routing asymmetry is solved, and more accurate traffic management is achieved.
Patent Information
- Application Number
- CN202410766346.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2025-12-16
AI Technical Summary
When the routing of uplink and downlink data streams for the same service is asymmetrical, the SIG may only receive data streams in one direction, leading to inaccurate data feature detection and affecting the traffic management performance of VBP.
By merging the data characteristics of uplink and downlink data streams at the front-end traffic detection device, or merging unidirectional data characteristics at the back-end business management device, complete data characteristics of bidirectional data streams can be formed, enabling accurate traffic management in the back-end.
Even in scenarios with asymmetric routing, it can still acquire complete data characteristics of bidirectional data streams, improving the accuracy and effectiveness of traffic management.
Smart Images

Figure CN121151333A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network communication, and in particular to a data processing method, system and device. BACKGROUND
[0002] A service intelligence gateway (SIG) is a device / system that uses service awareness (SA) technology to implement functions such as traffic analysis, bandwidth management, and network security protection. The SIG can work in cooperation with a versatile business platform (VBP). The SIG serves as the foreground, and the VBP serves as the background. The foreground can be used for traffic detection, policy implementation and application, and reporting of statistical data. The background can be used for device management, user management, traffic management, security management, and log management.
[0003] However, due to load sharing, policy routing, or node failure, and for other reasons, the transmission paths of uplink data streams and downlink data streams of the same service can be inconsistent. In this case, the SIG can only receive data streams in a single direction. The data features obtained by the SIG through detection of the data streams in the single direction can be inaccurate or even unable to be detected, which can result in poor traffic management by the VBP. SUMMARY
[0004] The present application provides a data processing method, system and device, which are used to solve the problem of poor traffic management due to inaccurate detection of data features of data streams in different directions of the same service.
[0005] To achieve the above object, the present application adopts the following technical solutions:
[0006] In a first aspect, a data processing method is provided. The method can be applied to a first device, or a functional module in the first device, such as a chip or a chip system. The method is described below with the first device as the execution subject. The data processing method can include: obtaining, by the first device, a first data feature of a first data stream and a second data feature of a second data stream. The first data stream is one of an uplink data stream or a downlink data stream of a first service, and the second data stream is the other of the uplink data stream or the downlink data stream of the first service. The transmission paths of the first data stream and the second data stream are different. The first device combines the first data feature and the second data feature to obtain a third data feature. The first device is a traffic detection device or a service management device.
[0007] Based on the scheme, in the scenario of asymmetric routing of the bidirectional data flow of the first service, the traffic detection device of the same foreground or the service management device of the same background can still obtain the data features of the data flow of two different directions of the first service. Based on this, the problem that the data features of the detected unidirectional data flow are inaccurate in the current asymmetric routing scenario can be overcome. In addition, the service management device of the background can perform traffic management according to the complete data features of the bidirectional data flow, so that the effect of traffic management can be improved.
[0008] With reference to the first aspect, in an optional implementation, the transmission path of the first data flow includes a first device, and the transmission path of the second data flow includes a second device. The first device and the second device are both traffic detection devices. The first device obtaining the first data feature and the second data feature can include: the first device detecting the first data flow to obtain the first data feature. The first device receiving the second data feature sent by the second device, the second data feature being obtained by the second device detecting the second data flow.
[0009] Based on the implementation, in the scenario of asymmetric routing of the data flow of two different directions of the same service, the traffic detection device on the transmission path of the data flow of one direction can send the detected data feature to the traffic detection device on the transmission path of the data flow of the other direction, so that one traffic detection device can obtain the data features of the bidirectional data flow. Based on this, the problem that the data features of the detected unidirectional data flow are not accurate enough can be overcome.
[0010] With reference to the first aspect, in an optional implementation, the transmission path of the first data flow includes a first device, and the transmission path of the second data flow includes a second device. The first device and the second device are both traffic detection devices. The data processing method can further include: the first device receiving the second data flow sent by the second device. In this case, the first device obtaining the first data feature and the second data feature can specifically include: the first device detecting the first data flow to obtain the first data feature. The first device detecting the second data flow to obtain the second data feature.
[0011] Based on the implementation, in the scenario of asymmetric routing of the data flow of two different directions of the same service, the traffic detection device on the transmission path of the data flow of one direction can send the detected data feature to the traffic detection device on the transmission path of the data flow of the other direction, so that one traffic detection device can obtain the data features of the bidirectional data flow. Based on this, the problem that the data features of the detected unidirectional data flow are not accurate enough can be overcome.
[0012] In an optional implementation of the first aspect, the transmission path of the first data flow comprises a second device, and the transmission path of the second data flow comprises a third device, and the second device and the third device are flow detection devices. In addition, the first device is a flow detection device other than the second device and the third device. In this case, the first device obtaining the first data feature and the second data feature can specifically include: the first device receiving the first data feature sent by the second device, the first data feature being obtained by the second device detecting the first data flow; and the first device receiving the second data feature sent by the third device, the second data feature being obtained by the third device detecting the second data flow.
[0013] Based on the implementation, in the scenario of asymmetric routing of data flows in two different directions of the same service, the flow detection devices on the transmission paths of the data flows in the two different directions can send the data features of the unidirectional data flows detected by the flow detection devices to the third-party flow detection node, so that the third-party flow detection node can obtain the complete data features of the bidirectional data flow. Thus, the problem of inaccurate data features of the unidirectional data flow can be overcome.
[0014] In an optional implementation of the first aspect, the data processing method further includes: the first device sending the third data feature to a service management device, the service management device being configured to perform flow management on the first service according to the third data feature.
[0015] Based on the implementation, the flow detection device in the foreground can send the complete data features of the bidirectional data flow to the service management device in the background for processing, and the defects in flow management according to the data features of the unidirectional data flow can be overcome.
[0016] In an optional implementation of the first aspect, the first device can be a service management device, the transmission path of the first data flow comprises a second device, and the transmission path of the second data flow comprises a third device, and the second device and the third device are flow detection devices. The first device obtaining the first data feature and the second data feature can specifically include: the first device receiving the first data feature sent by the second device, the first data feature being obtained by the second device detecting the first data flow; and the first device receiving the second data feature sent by the third device, the second data feature being obtained by the third device detecting the second data flow.
[0017] Based on the implementation, in the scenario of asymmetric routing of data flows in two different directions of the same service, the service management device in the background can receive the data features of the unidirectional data flows in the two different directions respectively. The service management device can combine the data features of the two unidirectional data flows to obtain the complete data features of the bidirectional data flow.
[0018] With reference to the first aspect, in a possible implementation form of the first aspect, the first apparatus is a traffic management apparatus, and the data processing method further comprises: performing traffic management on the first service according to the third data characteristic.
[0019] According to the implementation form, the traffic management apparatus in the background can perform traffic management according to the complete data characteristic of the bidirectional data flow, and the problem of poor effect of traffic management according to the data characteristic of the unidirectional data flow can be solved.
[0020] With reference to the first aspect, in a possible implementation form of the first aspect, the first data characteristic comprises a data characteristic of at least one data packet in the first data flow, and the second data characteristic comprises a data characteristic of at least one data packet in the second data flow.
[0021] With reference to the first aspect, in a possible implementation form of the first aspect, the data characteristic of the data packet comprises at least one of a flow label, a source Internet Protocol (IP) address, a destination IP address, a source port, a destination port, a transmission protocol, a source Media Access Control (MAC) address, a destination MAC address, a length of the data packet, an arrival time of the data packet, a payload length, a payload manner or a payload content.
[0022] According to a second aspect, a data processing method is provided, which is applied to a second apparatus, and can also be applied to a functional module in the second apparatus, such as a chip or a chip system. Here, the second apparatus is taken as an execution subject, and the data processing method can comprise the following steps. First, the second apparatus can obtain a first data characteristic of a first data flow, the first data flow being one of an uplink data flow or a downlink data flow of a first service. Then, the second apparatus can send the first data characteristic to a first apparatus. The first data characteristic is used to be merged with a second data characteristic of a second data flow obtained by the first apparatus, to obtain a third data characteristic. The second data flow is the other of the uplink data flow or the downlink data flow of the first service, the transmission path of the first data flow is different from that of the second data flow, the second apparatus is a traffic detection apparatus, and the first apparatus is a traffic detection apparatus or a service management apparatus.
[0023] With reference to the second aspect, in a possible implementation form of the second aspect, the transmission path of the first data flow comprises the second apparatus, the transmission path of the second data flow comprises the first apparatus, and the first apparatus and the second apparatus are both traffic detection apparatuses. The first data characteristic is obtained by the second apparatus detecting the first data flow, and the second data characteristic is obtained by the first apparatus detecting the second data flow.
[0024] In an optional implementation of the second aspect, the transmission path of the first data flow comprises a second device, and the transmission path of the second data flow comprises a third device, the second device and the third device are both flow detection devices, and the first device is a flow detection device or a service management device. The first data feature is obtained by the second device detecting the first data flow, and the second data feature is received by the first device from the third device, or the second data feature is obtained by the third device detecting the second data flow.
[0025] In an optional implementation of the second aspect, the first data feature comprises a data feature of at least one data packet in the first data flow, and the second data feature comprises a data feature of at least one data packet in the second data flow.
[0026] In an optional implementation of the second aspect, the data feature of the data packet comprises at least one of a flow label, a source IP address, a destination IP address, a source port, a destination port, a transmission protocol, a source MAC address, a destination MAC address, a length of the data packet, an arrival time of the data packet, a load length, a load mode or a load content.
[0027] In a third aspect, a communication system is provided, which comprises a first flow detection device and a second flow detection device. The first flow detection device is located on a transmission path of a first data flow of a first service, and the second flow detection device is located on a transmission path of a second data flow of the first service. The first data flow is one of an uplink data flow or a downlink data flow of the first service, and the second data flow is the other of the uplink data flow or the downlink data flow of the first service. The first flow detection device can be configured to detect the first data flow to obtain a first data feature. The second flow detection device can be configured to detect the second data flow to obtain a second data feature. The second flow detection device can also be configured to send the second data feature to the first flow detection device. The first flow detection device can also be configured to combine the first data feature and the second data feature to obtain a third data feature.
[0028] In an optional implementation of the third aspect, the first flow detection device and the second flow detection device can be BRASs with SA capability.
[0029] In an optional implementation of the third aspect, the communication system further comprises a service management device, and the first flow detection device can be configured to send the third data feature to the service management device.
[0030] In an optional implementation of the third aspect, the service management device can be a VBP.
[0031] In a fourth aspect, a communication system is provided, which comprises a first traffic detection device, a second traffic detection device and a service management device. The first traffic detection device is located on a transmission path of a first data stream of a first service, and the second traffic detection device is located on a transmission path of a second data stream of the first service. The first data stream is one of an uplink data stream or a downlink data stream of the first service, and the second data stream is the other of the uplink data stream or the downlink data stream of the first service. The first traffic detection device is configured to detect the first data stream to obtain a first data characteristic. The first traffic detection device is further configured to send the first data characteristic to the service management device. The second traffic detection device is configured to detect the second data stream to obtain a second data characteristic. The second traffic detection device is further configured to send the second data characteristic to the service management device. The service management device is configured to combine the first data characteristic and the second data characteristic to obtain a third data characteristic.
[0032] In an optional implementation of the fourth aspect, the first traffic detection device and the second traffic detection device can be a BRAS with a service awareness (SA) capability, and the service management device can be a virtualized broadband processor (VBP).
[0033] In a fifth aspect, a first device is provided, which can be a traffic detection device or a service management device. The first device can comprise an obtaining unit and a combining unit. The obtaining unit is configured to obtain a first data characteristic of a first data stream and a second data characteristic of a second data stream. The first data stream is one of an uplink data stream or a downlink data stream of a first service, and the second data stream is the other of the uplink data stream or the downlink data stream of the first service. The transmission path of the first data stream is different from that of the second data stream. The combining unit is configured to combine the first data characteristic and the second data characteristic to obtain a third data characteristic.
[0034] In an optional implementation of the fifth aspect, the transmission path of the first data stream comprises the first device, and the transmission path of the second data stream comprises a second device. The first device and the second device are both traffic detection devices. The obtaining unit comprises a detecting unit and a receiving unit. The detecting unit is configured to detect the first data stream to obtain the first data characteristic. The receiving unit is configured to receive the second data characteristic sent by the second device, which is obtained by the second device detecting the second data stream.
[0035] In an optional implementation of the fifth aspect, the transmission path of the first data stream comprises the first device, and the transmission path of the second data stream comprises a second device. The first device and the second device are both traffic detection devices. The first device further comprises a receiving unit configured to receive the second data stream sent by the second device. The obtaining unit comprises a detecting unit configured to detect the first data stream to obtain the first data characteristic, and to detect the second data stream to obtain the second data characteristic.
[0036] In an optional implementation of the fifth aspect, the transmission path of the first data stream includes a second device, the transmission path of the second data stream includes a third device, and the first device, the second device, and the third device are all traffic detection devices. The obtaining unit includes a receiving unit. The receiving unit is configured to receive the first data feature sent by the second device, the first data feature being obtained by the second device detecting the first data stream. The receiving unit is further configured to receive the second data feature sent by the third device, the second data feature being obtained by the third device detecting the second data stream.
[0037] In an optional implementation of the fifth aspect, the first device further includes a sending unit configured to send the third data feature to a service management device, the service management device being configured to perform traffic management on the first service according to the third data feature.
[0038] In an optional implementation of the fifth aspect, the first device is a service management device, the transmission path of the first data stream includes a second device, the transmission path of the second data stream includes a third device, and the second device and the third device are traffic detection devices. The obtaining unit includes a receiving unit. The receiving unit is configured to receive the first data feature sent by the second device, the first data feature being obtained by the second device detecting the first data stream. The receiving unit is further configured to receive the second data feature sent by the third device, the second data feature being obtained by the third device detecting the second data stream.
[0039] In an optional implementation of the fifth aspect, the first device is a service management device, and the first device further includes a management unit configured to perform traffic management on the first service according to the third data feature.
[0040] In an optional implementation of the fifth aspect, the first data feature includes a data feature of at least one data packet in the first data stream, and the second data feature includes a data feature of at least one data packet in the second data stream.
[0041] In a sixth aspect, a second device is provided, which can include an obtaining unit and a sending unit. The obtaining unit can be configured to obtain a first data feature of a first data stream, and the sending unit can be configured to send the first data feature to a first device. The first data feature is used to be merged with a second data feature of a second data stream obtained by the first device to obtain a third data feature. The first data stream is one of uplink data stream or downlink data stream of a first service, the second data stream is the other of the uplink data stream or the downlink data stream of the first service, and the transmission paths of the first data stream and the second data stream are different. The second device is a traffic detection device, and the first device is a traffic detection device or a service management device.
[0042] In an optional implementation of the sixth aspect, the transmission path of the first data stream includes the second device, the transmission path of the second data stream includes the first device, and the first device and the second device are both traffic detection devices. The obtaining unit in the second device can be configured to detect the first data stream to obtain the first data feature. In addition, the second data feature is obtained by the first device detecting the second data stream.
[0043] In an optional implementation of the sixth aspect, the transmission path of the first data stream includes the second device, the transmission path of the second data stream includes the third device, the second device and the third device are both traffic detection devices, and the first device is a traffic detection device or a service management device. The obtaining unit in the second device can be configured to detect the first data stream to obtain the first data feature. In addition, the second data feature is received by the first device from the third device, and the second data feature is obtained by the third device detecting the second data stream.
[0044] In an optional implementation of the sixth aspect, the first data feature includes a data feature of at least one data packet in the first data stream, and the second data feature includes a data feature of at least one data packet in the second data stream.
[0045] In an optional implementation of the sixth aspect, the data feature of the data packet includes at least one of a flow label, a source Internet Protocol (IP) address, a destination IP address, a source port, a destination port, a transmission protocol, a source Media Access Control (MAC) address, a destination MAC address, a length of the data packet, an arrival time of the data packet, a payload length, a payload mode, or a payload content.
[0046] A seventh aspect provides a communication device for implementing the data processing method in any one of the first aspect or the second aspect. The communication device includes modules, units, or means corresponding to the above-mentioned method, which can be implemented by hardware, software, or by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions.
[0047] An eighth aspect provides a communication device, including: a processor; the processor is configured to be coupled with a memory, and after reading instructions in the memory, execute the data processing method in any one of the first aspect or the second aspect according to the instructions.
[0048] In a possible implementation, the communication device further includes a memory; the memory is configured to store computer instructions.
[0049] In a possible implementation, the communication device further includes a communication interface, which is configured to enable the communication device to communicate with other devices. For example, the communication interface can be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuitry.
[0050] In a possible implementation, the communication device can be a chip or a chip system. When the communication device is a chip system, the communication device can be composed of a chip or include a chip and other discrete devices.
[0051] In a possible implementation, when the communication device is a chip or a chip system, the communication interface described above can be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuitry on the chip or chip system. The processor described above can also be implemented as a processing circuit or a logic circuit.
[0052] In a ninth aspect, a chip or chip system is provided, which includes a processing circuit and an interface circuit, and can be used to execute the data processing method described in any one of the first aspect or the second aspect.
[0053] In a tenth aspect, a computer-readable storage medium is provided, which stores instructions, and when the instructions are executed on a computer, the computer is caused to execute the data processing method described in any one of the first aspect or the second aspect.
[0054] In an eleventh aspect, a computer program product is provided, which, when executed on a processor, causes the processor to execute the data processing method described in any one of the possible implementation manners of the first aspect or the second aspect.
[0055] The technical effects brought by any one of the design manners of the second aspect to the eleventh aspect can be referred to the technical effects brought by the different design manners of the first aspect, which will not be described herein. BRIEF DESCRIPTION OF DRAWINGS
[0056] Figure 1 A scenario diagram of asymmetric routing of uplink data flow and downlink data flow of a same service is provided for an embodiment of the present application;
[0057] Figure 2 A structure diagram of a communication network is provided for an embodiment of the present application;
[0058] Figure 3 A flow diagram of a data processing method is provided for an embodiment of the present application;
[0059] Figure 4 A flow diagram of another data processing method is provided for an embodiment of the present application;
[0060] Figure 5 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0061] Figure 6 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0062] Figure 7 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0063] Figure 8 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0064] Figure 9 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0065] Figure 10 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0066] Figure 11 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0067] Figure 12 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6;
[0068] Figure 13 A flowchart of another data processing method provided by an embodiment of the present application is shown in FIG. 6. DETAILED DESCRIPTION
[0069] Before the embodiments of the present application are introduced, some terms and related technologies involved in the embodiments of the present application are explained. It should be noted that the following explanations are provided to make the embodiments of the present application more easily understood, and should not be regarded as limiting the scope of protection claimed by the embodiments of the present application.
[0070] In the art, the SIG can be a proprietary device with SA capability, or can be implemented by multiple devices together.
[0071] As a possible implementation manner, the SIG can be implemented by a broadband remote access server (BRAS) and a SA board together. As another possible implementation manner, the SIG can be implemented by a service router (SR) and a SA board together. As still another possible implementation manner, the SIG can be implemented by a provider edge (PE) and a SA board together. As still another possible implementation manner, the SIG can be implemented by a deep packet inspection (DPI) device.
[0072] The SIG can work with the VBP, and the SIG is in the foreground and the VBP is in the background. The SIG can be deployed on a transmission path of a data flow and can be used to detect the data flow passing through the SIG. However, due to load sharing, policy routing, or node failure, and for many other reasons, there can be a routing asymmetry between the uplink data flow and the downlink data flow of the same service, that is, the transmission paths of the uplink data flow and the downlink data flow of the same service are different. In this case, the uplink data flow and the downlink data flow of the same service pass through different SIGs. Therefore, a single SIG only receives a unidirectional data flow (uplink data flow or downlink data flow) of the same service, which can cause the SIG to be unable to identify the data characteristics of the data flow or the identified data characteristics to be inaccurate, and further affect the effect of traffic management on the service.
[0073] For example, Figure 1 A schematic diagram of a scenario of routing asymmetry between the uplink data flow and the downlink data flow of the same service is shown, as shown in Figure 1 As shown, the user equipment 101 is connected with the user access equipment 102, the user access equipment 102 is connected with the router 103a and the router 103b respectively, the router 103a is connected with the SIG 104a, the router 103b is connected with the SIG 104b, the SIG 104a is connected with the router 105a, the SIG 104b is connected with the router 105b, the router 105a and the router 105b are both connected with the core router (CR) 106, and the CR 106 is connected with the network side. The user access equipment 102 can be an access gateway, an access switch, or an access router, and the like.
[0074] In Figure 1In the illustrated network scenario, the uplink data stream of the user equipment 101 can be transmitted to the network side in sequence through the user access device 102, the router 103a, the SIG 104a, the router 105a, and the CR 106, and the downlink data stream of the user equipment 101 can be transmitted to the user equipment 101 in sequence through the CR 106, the router 105b, the SIG 104b, the router 103b, and the user access device 102, and the routing of the uplink data stream and the downlink data stream of the user equipment 101 is asymmetric.
[0075] Optionally, continuing to refer to Figure 1 , the SIG 104a and the SIG 104b can be connected with the VBP 107 in the background, and the SIG 104a and the SIG 104b can report the related information of the data stream to the VBP 107. The VBP 107 can manage according to the related information of the data stream reported by the SIG 104a and the SIG 104b, for example, can issue the traffic policy corresponding to the data stream of the SIG 104a and the SIG 104b.
[0076] In Figure 1 the illustrated scenario, the SIG 104a only receives the uplink data stream of the user equipment 101, and the SIG 104b only receives the downlink data stream of the user equipment 101. In this case, the SIG 104a or the SIG 104b can not be able to identify the one-way data stream (i.e., the uplink data stream or the downlink data stream) of the user equipment 101, or the identification of the data characteristics of the one-way data stream is not accurate. Further, it will cause the VBP 107 to be unable to accurately manage the traffic of the user equipment 101.
[0077] In view of the above problems, the present application provides a data processing method, the traffic detection device in the foreground can combine the data characteristics of the uplink data stream and the data characteristics of the downlink data stream of the same service into complete data characteristics of the bidirectional data stream, and then send the complete data characteristics of the bidirectional data stream to the service management node in the background for processing. Alternatively, the management node in the background receives the data characteristics of the one-way data stream first, and then combines the data characteristics of the one-way data stream into complete data characteristics of the bidirectional data stream before processing. In summary, even in the scenario where the routing of the uplink data stream or the downlink data stream of the same service is asymmetric, the service management device in the background can still manage the traffic according to the complete data characteristics of the bidirectional data stream of the same service, and the management effect is better.
[0078] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, " / " represents an "or" relationship between the objects before and after the " / ", for example, A / B can represent A or B; in the present application, "and / or" is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A alone, A and B together, and B alone, where A and B can be singular or plural. In the description of the present application, unless otherwise specified, "multiple" means two or more than two. "At least one of the following" or similar expressions means any combination of the items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, "first", "second", and the like are used to distinguish the functions and effects of the same items or similar items. Those skilled in the art can understand that "first", "second", and the like do not limit the quantity and execution order, and "first", "second", and the like do not necessarily mean different. At the same time, in the embodiments of the present application, "exemplary" or "for example" means to serve as an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the use of "exemplary" or "for example" is intended to present the relevant concept in a specific manner, for easy understanding. In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that as the network architecture evolves and new business scenarios appear, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0079] Before introducing the data processing method provided by the embodiments of the present application, the network architecture to which the data processing method of the present application is applied will be introduced.
[0080] For example, Figure 2 A structural diagram of a communication network provided by the present application is shown in Figure 2As shown, the communication network can include a traffic detection device 201a, a traffic detection device 201b, and a service management device 202, the traffic detection device 201a and the traffic detection device 201b are connected with the service management device 202. The traffic detection device 201a and the traffic detection device 201b are located on the transmission paths of data streams of two different directions of a same service. For example, a first data stream can pass through the traffic detection device 201a, and a second data stream can pass through the traffic detection device 201b, the first data stream and the second data stream are data streams of two different directions of a first service.
[0081] As a possible implementation manner, Figure 2 The traffic detection device (for example, the traffic detection device 201a and / or the traffic detection device 201b) in the communication network can be a SIG. For example, the traffic detection device can be a proprietary device with a SA capability, or the traffic detection device can be implemented by a BRAS+SA single board, or implemented by a SR+SA single board, or implemented by a PE+SA single board, or the traffic detection device is a DPI device.
[0082] As a possible implementation manner, in the case that the traffic detection device is implemented by a BRAS+SA single board, a SR+SA single board, or a PE+SA single board, the number of SA single boards in the traffic detection device can be one or more, and the present application does not limit this.
[0083] As a possible implementation manner, the service management device 202 can be a VBP.
[0084] As a possible implementation manner, Figure 2 The communication network shown can be Figure 1 The network structure shown, Figure 2 The traffic detection device 201a in the communication network can be Figure 1 The SIG 104a in the communication network, Figure 2 The traffic detection device 201b in the communication network can be Figure 1 The SIG 104b in the communication network, Figure 2 The management node in the communication network can be Figure 1 The VBP 107 in the communication network.
[0085] It should be understood that the above examples of the implementation manners of the communication network, the network, and the nodes in the network shown are illustrative, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Figure 1 and Figure 2 The communication network shown, and the implementation manners of the nodes in the network are illustrative, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Figure 1 and Figure 2The communication network shown can also be other types of network architecture / service scenarios, and the nodes therein can also be other types of devices. Those skilled in the art can know that, as network architectures evolve and new service scenarios emerge, the technical solutions provided by the embodiments of the present application are also applicable to similar network architectures.
[0086] The data processing method provided by the embodiments of the present application will be described below in conjunction with Figure 1 and Figure 2 the communication network shown. The actions and terms involved in the embodiments of the present application can be mutually referred to and are not limited. The message names or parameter names in the messages in the embodiments of the present application are only examples, and other names can also be used in specific implementations, which are not limited.
[0087] Figure 3 A flowchart of the data processing method provided by the present application is shown in Figure 3 , which can include the following steps S301 and S302.
[0088] S301, the first device acquires a first data feature of a first data stream and a second data feature of a second data stream. The first data stream is one of the uplink data stream or the downlink data stream of the first service, the second data stream is the other of the uplink data stream or the downlink data stream of the first service, and the transmission paths of the first data stream and the second data stream are different.
[0089] For example, the first data stream can be the uplink data stream of the first service, and the second data stream can be the downlink data stream of the first service. Alternatively, the first data stream can be the downlink data stream of the first service, and the second data stream can be the uplink data stream of the first service.
[0090] As a first possible implementation, the transmission path of the first data stream includes the first device, the transmission path of the second data stream includes the second device, and the first device and the second device are both flow detection devices. The implementation of the first device acquiring the first data feature and the second data feature can refer to the method flow shown in Figure 4 . Specifically, after receiving the first data stream, the first device can detect the first data stream to obtain the first data feature. After receiving the second data stream, the second device can detect the second data stream to obtain the second data feature. Moreover, the second device can send the second data feature detected by it to the first device. At this point, the first device can acquire the first data feature and the second data feature.
[0091] As a second possible implementation, the transmission path of the first data stream includes the first device, and the transmission path of the second data stream includes the second device, both the first device and the second device are traffic detection devices, and the implementation of the first device obtaining the first data feature and the second data feature can refer to the method flow shown in FIG. 4. Figure 5 As shown in the method flow. Among them, the first device can detect the first data stream to obtain the first data feature after receiving the first data stream. The second device can send the second data stream to the first device after receiving the second data stream. In this case, in addition to receiving the first data stream, the first device can also receive the second data stream. Then, the first device can also detect the second data stream to obtain the second data feature. At this point, the first device can obtain the first data feature and the second data feature.
[0092] As a third possible implementation, the transmission path of the first data stream includes the second device, and the transmission path of the second data stream includes the third device, both the second device and the third device are traffic detection devices, and the first device is a device other than the second device and the third device, and the implementation of the first device obtaining the first data feature and the second data feature can refer to the method flow shown in FIG. 5. Figure 6 As shown in the method flow. Among them, the second device can detect the first data stream to obtain the first data feature after receiving the first data stream. The third device can detect the second data stream to obtain the second data feature after receiving the second data stream. And the second device can send the obtained first data feature to the first device, and the third device can send the obtained second data feature to the first device. At this point, the first device can obtain the first data feature and the second data feature.
[0093] In the above three possible implementations, Figure 6 In the corresponding examples, the first device can be of the same type as the second device and the third device, that is, a traffic detection device. Alternatively, the first device can be a service management device, and the first device can manage the second device and the third device.
[0094] Based on the above three possible implementations, in the scenario of asymmetric routing of the bidirectional data stream of the first service, the traffic detection device of the same foreground or the service management device of the same background can still obtain the data features of the data streams of the two different directions of the first service.
[0095] S302, the first device merges the first data feature and the second data feature to obtain a third data feature.
[0096] It should be understood that the first data feature and the second data feature are respectively the data features of the data streams of two different directions of the first service. Therefore, the third data feature obtained by merging the first data feature and the second data feature can be considered as the complete data feature of the bidirectional data stream of the first service.
[0097] For example, as shown in Figure 4 , after detecting the first data feature of the first data stream and receiving the second data feature sent by the second device, the first device can combine the first data feature and the second data feature to obtain a third data feature.
[0098] For another example, as shown in Figure 5 , after detecting the first data feature of the first data stream and detecting the second data feature of the second data stream, the first device can combine the first data feature and the second data feature to obtain a third data feature.
[0099] For another example, as shown in Figure 6 , after receiving the first data feature sent by the second device and the second data feature sent by the third device, the first device can combine the first data feature and the second data feature to obtain a third data feature.
[0100] It should be understood that, if the first device in Figure 6 is a traffic management device, it means that the traffic management device combines the data features of the two unidirectional data streams of the first service. However, the traffic management device may not receive the data feature of the first data stream and the data feature of the second data stream at the same time. In this case, after the traffic management device first receives the data feature of one unidirectional data stream of the first service, it can first cache the data feature and not process it temporarily. Until the data feature of the other unidirectional data stream of the first service is received, the traffic management device combines the two data features.
[0101] As a possible implementation, with reference to Figure 4 and Figure 5 , after combining the first data feature and the second data feature to obtain a third data feature, the first device can further send the third data feature to the traffic management device. Then, the traffic management device can perform traffic management on the first service according to the third data feature.
[0102] As a possible implementation, in the case where the first device in Figure 6 is a traffic detection device, Figure 6 the method flow shown in the figure can be specifically as shown in Figure 7 . With reference to Figure 7 , after combining the first data feature and the second data feature to obtain a third data feature, the first device can further send the third data feature to the traffic management device. The traffic management device can perform traffic management on the first service according to the third data feature.
[0103] As a possible implementation, in the case where the first device in Figure 6 is a traffic detection device,Figure 6 The method flow as shown can further be as shown. Figure 8 Referring to Figure 8 , after the first device merges the first data feature and the second data feature to obtain the third data feature, the first device can further send the third data feature to the second device or the third device (the third device is taken as an example in Figure 8 ). The second device or the third device (the third device is taken as an example in Figure 8 ) can further send the third data feature to the service management device. The service management device can perform traffic management on the first service according to the third data feature.
[0104] As a possible implementation manner, in the case where the first device is the service management device in Figure 6 , the method flow as shown can further be as shown. Figure 6 The method flow as shown can further be as shown. Figure 9 Referring to Figure 9 , after the first device merges the first data feature and the second data feature to obtain the third data feature, the first device can perform traffic management on the first service according to the third data feature.
[0105] As a possible implementation manner, the service management device performing traffic management on the first service according to the third data feature can include at least one of the following: the service management device generates a traffic control policy of the first service according to the third data feature. Alternatively, the service management device records a traffic log of the first service according to the third data feature. The service management device performs security management on the traffic of the first service according to the third data feature.
[0106] It should be understood that, in the prior art, the background VBP will immediately process the data feature of the data stream reported by the foreground SIG after receiving the data feature. However, the data feature of the one-way data stream is incomplete, which will lead to inaccurate management by the VBP. In the embodiments of the present application, the service management device processes the complete data feature of the bidirectional data stream of the first service, so that the management of the service management device on the first service can be more accurate.
[0107] In summary, in the scenario of asymmetric routing of the bidirectional data flow of the first service, the same traffic detection apparatus can acquire data features of the two unidirectional data flows of the first service respectively, and can send the complete data features of the bidirectional data flow to the service management apparatus after merging the data features of the two unidirectional data flows. Alternatively, the service management apparatus can acquire data features of the two unidirectional data flows of the first service respectively, and can merge the data features of the two unidirectional data flows to obtain the complete data features of the bidirectional data flow. Further, the service management apparatus can perform traffic management on the first service according to the data features of the bidirectional data flow of the first service. Based on the above scheme, the problem that the detected data features are inaccurate in the current asymmetric routing scenario, and thus the effect of traffic management is poor, can be overcome.
[0108] As a possible implementation manner, the execution subject of the data processing method provided in the present application can be a node / device, or a functional component in the node / device, which is not limited in the present application. The functional component in the node / device can be a board card in the node / device, or a central processing unit (CPU) in the board card.
[0109] For example, in the method flow shown in Figure 3 or Figure 4 or Figure 5 , the first apparatus can be the SIG 104a in Figure 1 , or a functional component in the SIG 104a, the second apparatus can be the SIG 104b in Figure 1 , or a functional component in the SIG 104b, and the service management apparatus can be the VBP 107 in Figure 1 . Alternatively, the first apparatus can be the traffic detection apparatus 201a in Figure 2 , or a functional component in the traffic detection apparatus 201a, the second apparatus can be the traffic detection apparatus 201b in Figure 2 , or a functional component in the traffic detection apparatus 201b, and the service management apparatus can be the service management apparatus 202 in Figure 2 .
[0110] For example, in the method flow shown in Figure 7 or Figure 8 , the service management apparatus can be the VBP 107 in Figure 1 , the second apparatus can be the SIG 104a in Figure 1 , or a functional component in the SIG 104a, and the third apparatus can be the SIG 104b in Figure 1 , or a functional component in the SIG 104b. The first apparatus can be another SIG in Figure 1(not shown in the diagram), or other functional components in the SIG. Alternatively, the service management device can be... Figure 1 VBP 107 in the middle, the second device can be Figure 1 In SIG 104a, or the functional components in SIG 104a, the first and third devices can be Figure 1 The two independent boards or CPUs in the SIG 104b. Alternatively, the service management unit can be... Figure 2 The business management device 202 in the middle, the second device can be Figure 2 The flow detection device 201a, or a functional component of the flow detection device 201a, may be a third device. Figure 2 The first device can be any flow detection device 201b or a functional component of the flow detection device 201b, or other flow detection devices. Figure 2 (Not shown in the diagram) or other functional components in flow detection devices. Alternatively, the service management device can be a functional component in a flow detection device. Figure 2 The business management device 202 in the middle, the second device can be Figure 2 The flow detection device 201a, or the functional components of the flow detection device 201a, may be the first device and the third device. Figure 2 The traffic detection device 201b contains two independent boards or CPUs. Alternatively, the service management device can be... Figure 2 The business management device 202 in the middle, the first device and the second device can be Figure 2 The flow detection device 201a contains two independent boards or CPUs, and the third device can be... Figure 2 The flow detection device 201b or the functional component in the flow detection device 201b.
[0111] For example, in Figure 9 In the method flow shown, the first device can be Figure 1 VBP 107 in the middle, the second device can be Figure 1 The third device can be SIG 104a, or a functional component of SIG 104a. Figure 1 SIG 104b, or a functional component of SIG 104b. Alternatively, the first device can be... Figure 2 The business management device 202 in the middle, the second device can be Figure 2 The flow detection device 201a, or a functional component of the flow detection device 201a, may be a third device. Figure 2 The flow detection device 201b or the functional component in the flow detection device 201b.
[0112] As a possible implementation, when detecting the first data flow, the flow detection apparatus can detect at least one data packet in the first data flow. Thus, the first data feature can include a data feature of the at least one data packet in the first data flow. Similarly, when detecting the second data flow, the flow detection apparatus can detect at least one data packet in the second data flow. Thus, the second data feature can include a data feature of the at least one data packet in the second data flow.
[0113] As a possible implementation, the data feature identified by the flow detection apparatus for each data packet can include at least part of a feature field in the data packet. As an example, the data feature identified by the flow detection apparatus for each data packet can include at least one of the following information: flow identification, source internet protocol (IP) address, destination IP address, source media access control (MAC) address, destination MAC address, transmission protocol, source port, destination port, length of the data packet, arrival time of the data packet, payload content, payload length, payload manner, and the like.
[0114] As a possible implementation, the first apparatus can merge the first data feature and the second data feature based on a principle of taking a union set, and the third data feature obtained by the merging can include all feature fields in the first data feature and the second data feature. As an example, the first data feature can include a feature field A, a feature field B, a feature field C, and a feature field D, and the second data feature can include the feature field A, the feature field B, a feature field E, and a feature field F. Then, the third data feature obtained by the merging of the first data feature and the second data feature can include the feature field A, the feature field B, the feature field C, the feature field D, the feature field E, and the feature field F.
[0115] As a possible implementation, the first data feature and the second data feature both include a first feature field, and the third data feature obtained by the merging naturally includes the first feature field. The value of the first feature field in the third data feature can be determined according to the value of the first feature field in the first data feature and the value of the first feature field in the second data feature.
[0116] As an example, the first feature field can be a time delay type field. The value of the first feature field in the third data feature can be obtained by time delay calculation according to the value of the first feature field in the first data feature and the value of the first feature field in the second data feature.
[0117] As another example, the first feature field can be an accumulated type field. The value of the first feature field in the third data feature can be obtained by adding the value of the first feature field in the first data feature and the value of the first feature field in the second data feature.
[0118] As yet another example, the first feature field can be a decision type field. The value of the first feature field in the third data feature can be obtained by making a decision based on the first data feature and the second data feature. In a case where the decision cannot be made, the decision result of the first data feature or the decision result of the second data feature can be used as the value of the first feature field in the third data feature.
[0119] As a possible implementation, the direction of the first data flow can be considered as a first direction, and the direction of the second data flow can be considered as a second direction. The first direction and the second direction can be one of an uplink direction and a downlink direction. Figure 4 The first device in Figure 5 The second device in Figures 6 to 9 may receive data flows of multiple services in the first direction, and the first data flow is only one of the data flows. Figure 4 The second device in Figure 5 The third device in Figures 6 to 9 may receive data flows of multiple services in the second direction, and the second data flow is only one of the data flows.
[0120] As a possible implementation, Figure 4 The first device in Figure 5 The second device in Figures 6 to 9 may detect the first data feature from the first data flow, and the detection can include: Figure 4 The first device in Figure 5 The second device in Figures 6 to 9 may detect a first data feature set from data flows in the first direction received within a preset time window. The data flows in the first direction received within the preset time window include the first data flow, and the first data feature set includes the first data feature.
[0121] As a possible implementation, Figure 4 The second device in Figure 5 The third device in Figures 6 to 9 may detect the second data feature from the second data flow, and the detection can include: Figure 4 The second device in Figure 5 The third device in Figures 6 to 9The third device in the first device detects a second direction data stream received in a preset time window to obtain a second data feature set. The second direction data stream received in the preset time window includes the second data stream, and the second data feature set includes the second data feature.
[0122] As a possible implementation, the first device can obtain the first data feature set and the second data feature set, and the obtaining manner can be the same as the implementation of the first device obtaining the first data feature and the second data feature, which will not be repeated here. The first device merges the first data feature and the second data feature to obtain a third data feature, which can include: the first device merges the data features belonging to the same service in the first data feature set and the second data feature set to obtain a third data feature set. The third data feature set includes the third data feature, and the third data feature is obtained by merging the first data feature and the second data feature.
[0123] As a possible implementation, the first device can merge the first data feature set and the second data feature set according to the five-tuple information (i.e., transmission protocol, source IP, source port, destination IP, and destination port). It should be understood that the transmission protocol of the first direction data stream and the second direction data stream of the same service is the same. Moreover, the source IP and the source port of the first direction data stream of the same service are the same as the destination IP and the destination port of the second direction data stream of the same service. The destination IP and the destination port of the first direction data stream of the same service are the same as the source IP and the source port of the second direction data stream of the same service. Therefore, the first device can merge the data features belonging to the same service in the first data feature set and the second data feature set based on the five-tuple information.
[0124] As a possible implementation, for a hyper text transfer protocol (HTTP) type data stream, the first device can merge the first data feature set and the second data feature set according to an HTTP transaction. It should be understood that the data streams belonging to the same HTTP transaction belong to the same service. Therefore, the first device can merge the data features belonging to the same service in the first data feature set and the second data feature set according to the HTTP transaction.
[0125] In addition, there can be many other schemes for merging the data features of the data streams of the same service in the art, which are not limited by the present application.
[0126] It should be understood that, in the above description, Figure 4 and Figure 5In the scenario of FIG. 1, the data streams of the first direction and the second direction of the same service can not be received by the first device and the second device simultaneously within a preset time window. Or, in the scenario of FIG. 2, the data streams of the first direction and the second direction of the same service can not be received by the second device and the third device simultaneously within a preset time window. Thus, there can be data features of one-way data streams that cannot be merged in the first data feature set and the second data feature set. The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams. Figures 6 to 9 In the scenario of FIG. 1, the data streams of the first direction and the second direction of the same service can not be received by the first device and the second device simultaneously within a preset time window. Or, in the scenario of FIG. 2, the data streams of the first direction and the second direction of the same service can not be received by the second device and the third device simultaneously within a preset time window. Thus, there can be data features of one-way data streams that cannot be merged in the first data feature set and the second data feature set. The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams.
[0127] As a possible implementation manner, the first device in the method flow shown in FIG. 3 can further obtain the third data feature set corresponding to the preset time window from the second data feature set corresponding to the preset time window and the first data feature set corresponding to the preset time window. Figure 4 The first device in the method flow shown in FIG. 3 can further obtain the third data feature set corresponding to the preset time window from the second data feature set corresponding to the preset time window and the first data feature set corresponding to the preset time window. Figure 5 The second device in the method flow shown in FIG. 4 can further obtain the second data feature set corresponding to the preset time window from the data stream of the second direction received within the preset time window. Figures 6 to 9 The second device in the method flow shown in FIG. 4 can further obtain the second data feature set corresponding to the preset time window from the data stream of the second direction received within the preset time window. Figure 4 The second device in the method flow shown in FIG. 4 can further obtain the second data feature set corresponding to the preset time window from the data stream of the second direction received within the preset time window. Figure 5 The third device in the method flow shown in FIG. 5 can further obtain the second data feature set corresponding to the preset time window from the data stream of the second direction received within the preset time window. Figures 6 to 9 The third device in the method flow shown in FIG. 5 can further obtain the second data feature set corresponding to the preset time window from the data stream of the second direction received within the preset time window. The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams.
[0128] As a possible implementation manner, in the method flow shown in FIG. 3 or FIG. 4, the first device can further send the third data feature to the second device. Thus, the first device and the second device both have the third data feature, and the redundancy backup of the third data feature can be implemented. In addition, the first device and the second device can be configured with a master-slave relationship, the master device is configured to report the third data feature to a service management device in the background, and the standby device is configured to take over the work of the master device when the master device fails. Figure 4 The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams. Figure 5 The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams. The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams.
[0129] The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams. Figures 6 to 9 The third data feature set can include complete data features of merged two-way data streams, or data features of unmerged one-way data streams. Figure 4Taking the illustrated method flow as an example, in a specific embodiment, a data channel can be established between the first device and the second device, and a data protection mechanism (such as a remote backup service (RBS) mechanism) can be deployed to enable synchronization of third data features between the first device and the second device. Additionally, a master-slave control protocol (such as a virtual router redundancy protocol (VRRP)) can be configured on the first device and the second device to control the master-slave relationship between the first device and the second device.
[0130] As one possible implementation method, in Figure 5 or Figure 4 In the illustrated method flow, the first device can also send the third data feature to the second and third devices. Thus, both the second and third devices possess the third data feature, enabling redundant backup of the third data feature. Furthermore, the second and third devices can be configured in a primary / backup relationship, with the primary device reporting the third data feature to the backend business management device, and the backup device taking over the primary device's operation in case of a failure.
[0131] by Figure 5 or Figure 7 Taking the illustrated method flow as an example, in a specific embodiment, a data channel can be established between the second and third devices, and a data protection mechanism can be deployed to enable synchronization of third data features between the second and third devices. Additionally, a master-slave control protocol can be configured on the second and third devices to control their master-slave relationship.
[0132] As one possible implementation method, in Figure 8 In the illustrated embodiment, the second device sends a second data stream to the first device, which may specifically include: the second device redirecting the second data stream to the first device. Subsequently, the second data stream may be forwarded by the first device to the destination.
[0133] For example, with Figure 7 Taking the network architecture shown as an example, SIG 104a can be a first device, SIG 104b can be a second device, and a schematic diagram of the second device sending a second data stream to the first device can be shown as follows. Figure 8 As shown. Reference Figure 5The first data stream from user equipment 101 can be transmitted to the network side sequentially through user access equipment 102, router 103a, SIG 104a, router 105a, and CR 106. The second data stream from the network side can reach SIG 104b sequentially through CR 106 and router 105b. SIG 104b can redirect the second data stream to SIG 104a, and subsequently, the second data stream can reach user equipment 101 sequentially through router 103a and user access equipment 102. Thus, SIG 104a can receive both the first and second data streams.
[0134] As one possible implementation method, in Figure 1 In the illustrated embodiment, the second device sends a second data stream to the first device. Specifically, this may include the second device copying the second data stream and sending it to the first device. The second device can either forward the second data stream along its original path or send it directly to the first device. The first device can simply detect the second data stream from the second device without forwarding it.
[0135] For example, with Figure 10 Taking the network architecture shown as an example, SIG 104a can be a first device, SIG 104b can be a second device, and a schematic diagram of the second device sending a second data stream to the first device can also be shown as follows. Figure 10 As shown. Reference Figure 5 The first data stream from user equipment 101 can be transmitted to the network side sequentially through user access equipment 102, router 103a, SIG 104a, router 105a, and CR 106. The second data stream from the network side can be transmitted to user equipment 101 sequentially through CR 106, router 105b, SIG 104b, router 103b, and user access equipment 102. Additionally, SIG 104b can copy the received second data stream and forward it to SIG 104a. Therefore, SIG 104a can receive both the first and second data streams.
[0136] As one possible implementation, in a scenario where the second device sends a second data stream to the first device, the first device detects and reports the data characteristics of the data stream. The first device can acquire first and second data characteristics, and can combine the first and second data characteristics into a third data characteristic before reporting it to the business management device. For example, refer to... Figure 1 and Figure 11 SIG 104a can report third data features to VBP 107.
[0137] As a possible implementation, in the scenario where the second device sends the second data stream to the first device, the second device can also detect the second data feature of the second data stream, and can report the second data feature to the service management device. For example, referring to Figure 11 and Figure 10 The SIG 104b can also report the second data feature to the VBP 107.
[0138] Based on the above two implementations, in the scenario where the second device sends the second data stream to the first device, the first device can report the third data feature (the complete data feature of the bidirectional data stream) to the service management device, and the second device can report the second data feature (the data feature of the unidirectional data stream) to the service management device. In this case, the service management device can also combine the third data feature and the second data feature to obtain a fourth data feature. Then, the service management device can perform traffic management on the first service according to the fourth data feature.
[0139] The embodiments of the present application also provide a communication device for implementing the above methods. The communication device can also be the first device in the above method embodiments, or a component for the first device. It can be understood that the communication device contains the corresponding hardware structure and / or software module for executing each function in order to implement the above functions. Those skilled in the art should easily realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0140] The embodiments of the present application can divide the functions of the communication device according to the above method embodiments, for example, each function module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or software function module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. There can be another division method when actually implemented.
[0141] Figure 11 A structure schematic diagram of a communication device provided by the present application is shown, referring to Figure 10The communication apparatus 120 can include an obtaining unit 1201 and a merging unit 1202. The communication apparatus 120 can be configured to implement the functions of the first apparatus described above. The obtaining unit 1201 can be configured to support the apparatus to perform step S301 in the method embodiments described above. The merging unit 1202 can be configured to support the apparatus to perform step S302 in the method embodiments described above. All the related contents of each step in the method embodiments described above can be referred to the description of the corresponding function module, and will not be repeated here.
[0142] For example, in the system shown in Figure 11 The communication apparatus 120 can be the SIG 104a, the SIG 104b or the VBP 107.
[0143] For example, in the system shown in Figure 12 The communication apparatus 120 can be the flow detection apparatus 201a, the flow detection apparatus 201b or the service management apparatus 202.
[0144] It should be understood that the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. When actually implemented, there can be another division manner. For example, two or more functions can be integrated in one processing module. In addition, the integrated module can be implemented in the form of hardware or software function module, which is not limited in the present application.
[0145] In the present embodiment, the communication apparatus 120 is presented in the form of dividing each function module in an integrated manner. The "module" here can refer to a specific ASIC, a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, those skilled in the art can think that the communication apparatus 120 can be in the form of the communication apparatus 130 shown in Figure 12 .
[0146] Figure 1 Another structure of the communication apparatus provided in the embodiments of the present application is shown in Figure 2 The communication apparatus 130 includes one or more processors 1301, a communication line 1302, and at least one communication interface (1303), as shown in Figure 13The apparatus 1300 is only exemplary and comprises a communication interface 1303 and a processor 1301. Optionally, a memory 1304 can also be included. The processor 1301 can be a CPU, a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs of the solutions. The communication line 1302 can comprise a path for communication between different components. The communication interface 1303 can be a transceiver module for communicating with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc. For example, the transceiver module can be a transceiver, a transceiver module, etc. Optionally, the communication interface 1303 can also be a transceiver circuit in the processor 1301 for realizing the signal input and signal output of the processor. The memory 1304 can be a device with storage function. For example, it can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disc storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited to this. The memory can exist independently and be connected to the processor through the communication line 1302. The memory can also be integrated with the processor. The memory 1304 is used to store computer execution instructions for executing the solutions, and the processor 1301 controls the execution. The processor 1301 is used to execute the computer execution instructions stored in the memory 1304, thereby realizing the data processing method provided in the embodiments of the application. Alternatively, the processor 1301 of the embodiments of the application executes the processing-related functions in the data processing method provided in the embodiments of the application, and the communication interface 1303 is responsible for communication with other devices or communication networks, which is not limited in the embodiments of the application. The computer execution instructions in the embodiments of the application can also be called application program codes, which are not limited in the embodiments of the application. As an embodiment, the processor 1301 can include one or more CPUs, for exampleFigure 13 CPU0 and CPU1 in the CPU.
[0147] As one embodiment, the communication device 130 may include multiple processors, such as Figure 13 The processors 1301 and 1307 are described herein. Each of these processors may be a single-core processor or a multi-core processor. The processors herein may include, but are not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor, and other computing devices that run software. Each computing device may include one or more cores for executing software instructions to perform calculations or processing.
[0148] As one embodiment, the communication device 130 may further include an output device 1305 and an input device 1306. The output device 1305 communicates with the processor 1301 and can display information in various ways. For example, the output device 1305 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 1306 communicates with the processor 1301 and can receive user input in various ways. For example, the input device 1306 may be a mouse, keyboard, touchscreen device, or sensing device, etc.
[0149] Figure 13 The processor 1301 in the communication device 130 shown can execute the data processing method in the above-described method embodiment by calling computer execution instructions stored in the memory 1304. Since the communication device 130 provided in this embodiment can execute the above-described data processing method, the technical effects it can achieve can be referred to the above-described method embodiment, and will not be repeated here.
[0150] For example, in Figure 13 In the system shown, the communication device 130 can be SIG 104a, SIG 104b or VBP 107.
[0151] For example, in Figure 13 Figure 13 Figure 1 Figure 2 In the system shown, the communication device 130 can be a traffic detection device 201a, a traffic detection device 201b, or a service management device 202.
[0152] The embodiments of the present application also provide a chip or a chip system, which can include processing circuitry and interface circuitry, and can be used to execute the data processing method in the above embodiments.
[0153] The sequence of the above processes does not mean the execution order in various embodiments of the present application, and the execution order of the processes should be determined according to the functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here. In several embodiments provided by the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only schematic, and the division of the units is only a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms. The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments. In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. In the above embodiments, all or part can be realized by software, hardware, firmware or any combination thereof. When realized by software, it can be realized in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device.The computer instructions can be stored in and / or transmitted across a computer-readable medium, such as a floppy diskette, a CD-ROM, a hard disk, a magnetic tape, other memory of a computer, etc., and / or a data signal embodied in a carrier wave, such as an infrared signal, a digital signal, etc. The computer-readable medium can be a computer program product. The computer program product can be transmitted to a computer, such as a server, over a computer network, such as the Internet.
[0154] As used in this application, the terms "component," "module," "system" and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and / or a computer. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components can reside within a process and / or thread of execution and a component can be localized, partially and / or entirely, in one computer or distributed between two or more computers. Also, these components can execute from various computer-readable media having various data structures stored thereon. The components can communicate by way of local and / or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and / or across a network such as the Internet with other systems via the signal). The aspects, embodiments, and features relate to a system that can include one or more of the devices, components, modules, etc. described herein. It is to be understood and appreciated that such a system can include additional devices, components, modules, etc. and / or can not include all of the devices, components, modules etc.
[0155] In addition, in the embodiments of the present application, the word "example" is used to mean an instance, an illustration, or an exemplification. No embodiment or design presented as an "example" in the present application should be construed as preferred or advantageous over other embodiments or designs. In fact, the word "example" is used herein to present one or more concepts in a concrete manner. In the embodiments of the present application, information, signal, message, and channel can be used interchangeably, and it should be indicated that the meanings expressed are consistent when the differences are not emphasized. "Of", "corresponding", and "corresponding" can be used interchangeably, and it should be indicated that the meanings expressed are consistent when the differences are not emphasized. "System" and "network" can be used interchangeably, and it should be indicated that the meanings expressed are consistent when the differences are not emphasized, such as "communication network" also means "communication system". The network architecture and service scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0156] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any skilled person in the art can easily think of changes or replacements within the technical range disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A data processing method, characterized by, The method comprises: The first device acquires a first data feature of a first data stream and a second data feature of a second data stream; wherein the first data stream is one of uplink data stream or downlink data stream of a first service, the second data stream is the other of the uplink data stream or the downlink data stream of the first service, and the transmission path of the first data stream is different from that of the second data stream; The first device combines the first data feature and the second data feature to obtain a third data feature; The first device is a traffic detection device or a service management device.
2. The method of claim 1, wherein, The transmission path of the first data stream comprises the first device, the transmission path of the second data stream comprises a second device, and the first device and the second device are both traffic detection devices; The first device acquires the first data feature and the second data feature, comprising: The first device detects the first data stream to obtain the first data feature; And the first device receives the second data feature sent by the second device, wherein the second data feature is obtained by the second device detecting the second data stream.
3. The method of claim 1, wherein, The transmission path of the first data stream comprises the first device, the transmission path of the second data stream comprises a second device, and the first device and the second device are both traffic detection devices; The method further comprises: The first device receives the second data stream sent by the second device; The first device acquires the first data feature and the second data feature, comprising: The first device detects the first data stream to obtain the first data feature; And the first device detects the second data stream to obtain the second data feature.
4. The method of claim 1, wherein, The transmission path of the first data stream comprises a second device, the transmission path of the second data stream comprises a third device, and the first device, the second device and the third device are all traffic detection devices; The first device acquires the first data feature and the second data feature, comprising: The first device receives the first data feature sent by the second device, wherein the first data feature is obtained by the second device detecting the first data stream; And the first device receives the second data feature sent by the third device, wherein the second data feature is obtained by the third device detecting the second data stream.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: The first device sends the third data feature to a service management device, and the service management device is used for performing traffic management on the first service according to the third data feature.
6. The method of claim 1, wherein, The first device is a service management device, the transmission path of the first data stream comprises a second device, the transmission path of the second data stream comprises a third device, and the second device and the third device are both traffic detection devices; The first device acquires the first data feature and the second data feature, comprising: The first device receives the first data feature sent by the second device, wherein the first data feature is obtained by the second device detecting the first data stream; And the first device receives the second data feature sent by the third device, wherein the second data feature is obtained by the third device detecting the second data stream. The first device receives the second data characteristics sent by the third device, and the second data characteristics are obtained by the third device detecting the second data stream.
7. The method of claim 6, wherein, The method further comprises: The first device performs traffic management on the first service according to the third data characteristics.
8. The method according to any one of claims 1 to 7, characterized in that, The first data characteristics comprise data characteristics of at least one data packet in the first data stream, and the second data characteristics comprise data characteristics of at least one data packet in the second data stream.
9. The method of claim 8, wherein, The data characteristics of the data packet comprise at least one of a flow label, a source Internet Protocol (IP) address, a destination IP address, a source port, a destination port, a transmission protocol, a source Media Access Control (MAC) address, a destination MAC address, a length of the data packet, an arrival time of the data packet, a payload length, a payload manner or a payload content.
10. A data processing method, characterized by, The method comprises: The second device obtains first data characteristics of a first data stream, wherein the first data stream is one of uplink data stream or downlink data stream of a first service; The second device sends the first data characteristics to a first device, wherein the first data characteristics are used to be merged with second data characteristics of a second data stream obtained by the first device to obtain third data characteristics, the second data stream is the other of the uplink data stream or the downlink data stream of the first service, the transmission path of the first data stream is different from that of the second data stream, the second device is a traffic detection device, and the first device is a traffic detection device or a service management device.
11. The method of claim 10, wherein, The transmission path of the first data stream comprises the second device, the transmission path of the second data stream comprises the first device, and the first device and the second device are both traffic detection devices. The first data characteristics are obtained by the second device detecting the first data stream, and the second data characteristics are obtained by the first device detecting the second data stream.
12. The method of claim 10, wherein, The transmission path of the first data stream comprises the second device, the transmission path of the second data stream comprises a third device, the second device and the third device are both traffic detection devices, and the first device is a traffic detection device or a service management device. The first data characteristics are obtained by the second device detecting the first data stream, the second data characteristics are received by the first device from the third device, and the second data characteristics are obtained by the third device detecting the second data stream.
13. The method according to any one of claims 10-12, characterized in that, The first data characteristics comprise data characteristics of at least one data packet in the first data stream, and the second data characteristics comprise data characteristics of at least one data packet in the second data stream.
14. The method of claim 13, wherein, The data characteristics of the data packet comprise at least one of a flow label, a source Internet Protocol (IP) address, a destination IP address, a source port, a destination port, a transmission protocol, a source Media Access Control (MAC) address, a destination MAC address, a length of the data packet, an arrival time of the data packet, a payload length, a payload manner or a payload content.
15. A communication system, characterized by The communication system comprises a first traffic detection device and a second traffic detection device, the first traffic detection device is configured to perform the method of any one of claims 1-9.
16. The communication system of claim 15, wherein, The second traffic detection device is configured to perform the method of any one of claims 10-14.
17. The communication system of claim 15 or 16, characterized by The first traffic detection device and the second traffic detection device are Broadband Remote Access Server (BRAS) with Service Awareness (SA) capability.
18. The communication system of any of claims 15-17, wherein, The communication system further comprises a service management device; The first traffic detection device is further configured to send the third data feature to the service management device.
19. A chip or chip system, characterized by The chip or chip system comprises processing circuitry and interface circuitry, and is configured to perform the method of any one of claims 1-9 or 10-14.
20. A communications device, characterized by The communication device comprises a processor and a memory; The memory is configured to store program instructions which, when executed by the processor, cause the communication device to perform the method of any one of claims 1-9 or 10-14.
21. A computer-readable storage medium, characterized in that, The computer program product comprises computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-9 or 10-14.
22. A computer program product, characterised in that, The computer program product comprises computer instructions which, when executed on a processor, cause the processor to perform the method of any one of claims 1-9 or 10-14.