Data transmission method and related device

By using the target identifier and application identifier in the IP network to obtain the forwarding policy, it solves the problem that existing technology cannot achieve real-time QoS connection guarantee for a single user, realizes network-aware QoS management and statistical accounting, and meets end-to-end SLA requirements.

CN118714089APending Publication Date: 2024-09-27HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310312639.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing IP networks cannot guarantee real-time QoS connections for individual users and cannot meet end-to-end SLA requirements. Moreover, traditional methods require static settings and cannot achieve network-aware service quality assurance.

Method used

By receiving the user ID and application ID carried in the target packet in the communication device, the forwarding policy is obtained to control the performance of the packet to meet QoS requirements, and realize end-to-end QoS connection charging for a single user, supporting the on-demand establishment of QoS connections. Remove as needed.

Benefits of technology

It achieves real-time QoS connection guarantee for a single user, saves network resources, and supports accurate statistical data billing to meet SLA requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714089A
    Figure CN118714089A
Patent Text Reader

Abstract

The invention discloses a data transmission method and a related device thereof, which are applied to the field of communication. Comprising the steps that a target message which is sent by first communication equipment and used for accessing second communication equipment through an application program is received, the target message carries a target identifier, a source IP address and a target IP address, the target identifier comprises a user identifier and an application identifier, and the target identifier, the source IP address and the target IP address are sent to a core network; and receiving a forwarding strategy sent by the core network, the forwarding strategy being obtained by the core network based on the target identifier, the source IP address and the destination IP address, the forwarding strategy being used for controlling the performance of forwarding the target message to meet the QoS demand, and sending the target message based on the forwarding strategy. The method can identify that a single user needs to realize end-to-end QoS access to establish QoS connection in real time to meet the SLA requirement when using an application program, can realize that the QoS connection is established and disassembled at any time, and saves network resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and in particular to a data transmission method and related devices. Background Art

[0002] The current Internet Protocol (IP) network is an interconnection between hosts. The network layer forwards based on IP addresses and is not aware of the business or services carried in the IP. Service interconnection is completed by applications. As a result, some businesses cannot guarantee end-to-end service level agreements (SLA).

[0003] At present, traditional IP networks need to deploy end-to-end quality of service (QoS) to achieve guaranteed services. Existing networks use application-aware IPv6 networking (APN6) identity documents (IDs) to enter slices or end-to-end QoS guarantees. Specifically, based on the demands for service guarantees for different applications, network end-to-end SLA guarantees can be triggered for different applications or services. However, the current application identification through APN6-ID can only ensure that users in the entire application system meet end-to-end QoS services through statically set channels, and it is impossible to achieve network-aware services, that is, it is impossible to establish real-time QoS connections to meet the QoS requirements of individual users to ensure SLA requirements. Summary of the invention

[0004] The present application provides a data transmission method and related devices thereof, which can identify that a single user using an application needs to achieve end-to-end QoS access and build a QoS connection in real time to meet SLA requirements, and can achieve on-the-fly establishment and removal of QoS connections, saving network resources.

[0005] In a first aspect, a data transmission method is provided, comprising:

[0006] The first communication device receives a target message sent by the first communication device to access the second communication device through an application, the target message carries a target identifier, a source Internet Protocol IP address, and a destination IP address, the target identifier includes a user identifier and an application identifier, the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, the source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device. Exemplarily, the first communication device can be a gateway device such as an edge gateway.

[0007] The first communication device sends the target identifier, the source IP address and the destination IP address to the third communication device. Exemplarily, the third communication device may be a core network device.

[0008] Then, the first communication device receives the forwarding policy sent by the third communication device. The forwarding policy is obtained by the third communication device based on the target identifier, the source IP address and the destination IP address. The forwarding policy is used to control the performance of the forwarding target message to meet the QoS requirement.

[0009] The first communication device then sends the target message based on the forwarding strategy.

[0010] In an implementation manner of the present application, a forwarding strategy is obtained based on the target identifier, destination IP, and source IP, and the target message accessed through the application can be sent to achieve communication, and the performance of forwarding the target message meets the QoS requirements, and the statistical data generated by the user accessing the application can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection billing for a single user.

[0011] In a possible implementation of the first aspect, the first communication device determines statistical data based on the sent target message, where the statistical data is used to charge the first communication device, and the first communication device sends the statistical data to the third communication device.

[0012] In an embodiment of the present application, the first communication device sends the target message based on the forwarding strategy and obtains statistical data, and sends the statistical data to the third communication device, so that the third communication device can perform corresponding billing on the first communication device based on the statistical data when accessing through the application program meets the QoS requirements.

[0013] In a possible implementation manner of the first aspect, the forwarding strategy includes a QoS strategy and a next-hop network device, and the first communication device sends the target message to the next-hop network device based on the QoS strategy.

[0014] In an implementation manner of the present application, the first communication device sends a target message to a next-hop network device based on a QoS policy, can accurately control the transmission performance of the target message to meet QoS requirements, and transmit the target message to a path that meets SLA requirements.

[0015] In a possible implementation manner of the first aspect, the first communication device sends location information of the first communication device to the third communication device, and the location information of the first communication device is used to instruct the third communication device to determine a forwarding strategy.

[0016] In an implementation manner of the present application, the first communication device sends the location information of the first communication device to the third communication device, which can be used to determine the starting point of the transmission path, further ensuring that the target message meets the SLA requirements on the transmission path.

[0017] In a possible implementation of the first aspect, before the first communication device receives a target message sent by the first communication device for accessing the second communication device through an application, the first communication device receives a login message from the first communication device, where the login message is used to indicate that the first communication device has accessed the network, and the first communication device also sends an authentication request to the third communication device and obtains an authorization message, where the authentication request is used to instruct the third communication device to send an authorization message, where the authorization message indicates that the first communication device has legally accessed the network.

[0018] In an embodiment of the present application, a first communication device receives a login message from a first communication device, where the login message is used to instruct the first communication device to access a network. The first communication device sends an authentication request to a third communication device and obtains an authorization message, where the authentication request is used to instruct the third communication device to send an authorization message, where the authorization message indicates that the first communication device has legally accessed the network, and describes the process of the first communication device accessing the network.

[0019] In a possible implementation manner of the first aspect, the target identifier is determined by the control device based on the application identifier and a corresponding relationship, where the corresponding relationship is used to indicate that the application identifier corresponds to the user identifier, and the control device is a control center of the application program.

[0020] In an implementation manner of the present application, the target identifier is determined by the control device of the application based on the application identifier and the relationship table. The control device of the application can determine the target identifier in real time and efficiently, thereby improving the reliability of the solution.

[0021] In a second aspect, a data transmission method is provided, comprising:

[0022] The third communication device obtains a user identifier and an application identifier of the first communication device, wherein the user identifier is used to indicate the first communication device, and the application identifier is an identifier for accessing an application program.

[0023] Then, the third communication device determines a corresponding relationship based on the user identifier and the application identifier, and sends the corresponding relationship to the control device of the application program, so that the control device of the application program determines the target identifier based on the relationship table and sends it to the first communication device. The corresponding relationship is used to indicate that the application identifier corresponds to the user identifier, and the target identifier includes the user identifier and the application identifier.

[0024] In the implementation mode of the present application, the third communication device determines the corresponding relationship based on the user identifier and the application identifier of the first communication device, and sends the corresponding relationship to the control device, so that the control device can determine the target identifier based on the application identifier. Its target identifier can indicate its corresponding QoS parameter, which is used to indicate the QoS requirements that need to be met by the first communication device through the application program access, so that the QoS connection can be established and dismantled according to the target identifier.

[0025] In a third aspect, a data transmission method is provided, including:

[0026] The third communication device receives the target identifier, source IP address and destination IP address sent by the first communication device. The target identifier includes a user identifier and an application identifier, the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, the source IP address is the IP address of the first communication device, the destination IP address is the IP address of the second communication device, and the first communication device is used to access the second communication device through the application.

[0027] And the third communication device obtains the forwarding strategy based on the target identifier, the source IP address and the destination IP address.

[0028] In addition, the third communication device sends a forwarding strategy to the first communication device, where the forwarding strategy is used to control the performance of the first communication device in sending a target message to meet QoS requirements, and the target message is a message that the first communication device accesses the second communication device through an application.

[0029] In an embodiment of the present application, the third communication device obtains a forwarding strategy based on the target identifier, destination IP and source IP, and can send the target message accessed by the application to achieve communication, and the performance of forwarding the target message meets the QoS requirements.

[0030] In a possible implementation of the third aspect, the third communication device receives the statistical data of the first communication device, and charges the first communication device based on the statistical data of the first communication device, and the statistical data is used for billing. Specifically, the first communication device can accurately determine the statistical data generated by the user accessing the application based on the user identifier and the application identifier, and the third communication device charges the first communication device based on this, so as to realize end-to-end QoS connection billing for a single user.

[0031] In an embodiment of the present application, the third communication device receives the target message sent by the first communication device based on the forwarding strategy and obtains statistical data. The third communication device can perform corresponding billing on the first communication device for access through the application program when meeting the QoS requirements based on the statistical data.

[0032] In a possible implementation manner of the third aspect, the third communication device determines a QoS policy and a next-hop network device based on the target identifier, the source IP address, and the destination IP address.

[0033] And the third communication device sends the QoS policy and the next-hop network device to the first communication device, wherein the QoS policy and the next-hop network device are used to indicate that the performance of the target message sent by the first communication device to the next-hop network device meets the QoS requirement.

[0034] In an embodiment of the present application, the third communication device sends the QoS policy and the next-hop network device to the first communication device, so that the first communication device can send the target message to the next-hop network device based on the QoS policy, accurately control the transmission performance of the target message to meet the QoS requirements, and transmit the target message to a path that meets the SLA requirements.

[0035] In a possible implementation manner of the third aspect, the third communication device receives the location information of the first communication device sent by the first communication device.

[0036] The third communication device obtains the location information of the second communication device based on the destination IP, wherein the second communication device is a device for the second communication device to access the network.

[0037] The third communication device acquires a transmission path based on the location information of the first communication device and the location information of the second communication device, where the transmission path includes a next-hop network device and the transmission path meets the end-to-end service level agreement SLA requirements of the network.

[0038] In an implementation manner of the present application, the third communication device may determine a transmission path that meets the end-to-end SLA requirements based on the location information of the first communication device and the second communication device, thereby ensuring the SLA of the target message transmission.

[0039] In a possible implementation manner of the third aspect, the third communication device receives statistical data of the second communication device sent by the second communication device, and charges the second communication device based on the statistical data of the second communication device.

[0040] In the implementation manner of the present application, statistical data of the second communication device is also received for billing, thereby ensuring synchronous billing of both communicating parties and improving the reliability of the solution.

[0041] In a possible implementation of the third aspect, the third communication device determines a path assurance policy based on the target identifier, and sends the path assurance policy to the network equipment on the transmission path, where the path assurance policy is used to indicate that the performance of the network equipment in forwarding the target message meets the SLA requirements of the network.

[0042] In an embodiment of the present application, the third communication device sends a target message to the second communication device based on a path assurance strategy to a network device on the transmission path to establish communication with the second communication device, thereby ensuring that the target message meets the end-to-end SLA requirements on the transmission path as much as possible.

[0043] In a fourth aspect, a data transmission method is provided, including:

[0044] The control device receives a corresponding relationship, where the corresponding relationship is used to indicate that the application identifier corresponds to the user identifier, wherein the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, and the control device is a control center of the application;

[0045] The control device receives the application identifier sent by the first communication device.

[0046] The control device determines a target identifier based on the application identifier and the relationship table, wherein the target identifier is used to indicate a quality of service QoS requirement corresponding to a target message, and the target message is a message from the first communication device to the second communication device through an application program.

[0047] The control device sends a target identifier to the first communication device, so that the first communication device sends a target message based on the target identifier.

[0048] In an embodiment of the present application, the control device determines a target identifier based on an application identifier and a relationship table, and the target identifier can indicate the QoS parameters of the target message in the network. Therefore, the first communication device carries the target identifier in the message accessed based on the application. Then, the first communication device can subsequently send a QoS policy for the target message accessed through the application based on the target identifier, thereby achieving communication, and satisfying the QoS requirements for forwarding the target message. In addition, the statistical data generated by the user accessing the application can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection billing for a single user.

[0049] In a fifth aspect, a data transmission method is provided, including:

[0050] The first communication device sends an application identifier to the control device, wherein the application identifier is an identifier for accessing an application program, and the control device is a control center of the application program.

[0051] The first communication device receives a target identifier sent by the control device, wherein the target identifier includes a user identifier and an application identifier, and the user identifier is used to indicate the first communication device.

[0052] In an embodiment of the present application, the first communication device sends an application identifier to the control device to obtain a target identifier, which can be used to indicate the QoS parameters established by accessing the connection through the application. A QoS connection can be established based on the target identifier to meet SLA requirements.

[0053] In a sixth aspect, a data transmission method is provided, comprising:

[0054] The first communication device sends a target message to the first communication apparatus for accessing the second communication device through an application. The target message carries a target identifier, a source IP address, and a destination IP address, the source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device, so that the performance of the first communication apparatus sending the target message based on the target identifier, the source IP address, and the destination IP address meets the QoS requirements, and determines statistical data based on the sent target message, and the statistical data is used for billing.

[0055] In an embodiment of the present application, the control device of the application determines the target identifier based on the application identifier and the relationship table. The target identifier can indicate the QoS parameters of the target message in the network. Therefore, the first communication device carries the target identifier in the message accessed by the application. Then, the subsequent first communication device can send the QoS policy for the target message accessed by the application based on the target identifier, so as to achieve communication, and the performance of forwarding the target message meets the QoS requirements. In addition, the statistical data generated by the user accessing the application can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection billing for a single user.

[0056] In a seventh aspect, a communication device is provided, comprising: a receiving unit and a sending unit.

[0057] Among them, the receiving unit is used to receive a target message sent by the first communication device to access the second communication device through an application. The target message carries a target identifier, a source Internet Protocol IP address and a destination IP address. The target identifier includes a user identifier and an application identifier. The user identifier is used to indicate the first communication device. The application identifier is an identifier for accessing the application. The source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device. The sending unit is used to send the target identifier, the source IP address and the destination IP address to the third communication device. The receiving unit is also used to receive a forwarding policy sent by the third communication device. The forwarding policy is obtained by the third communication device based on the target identifier, the source IP address and the destination IP address. The forwarding policy is used to control the performance of forwarding the target message to meet the QoS requirements. The sending unit is also used to send the target message based on the forwarding policy.

[0058] In a possible implementation of the seventh aspect, the communication device further includes a processing unit, the processing unit is further configured to determine statistical data based on the sent target message, the statistical data is used for billing, and the sending unit is further configured to send the statistical data to a third communication device.

[0059] In a possible implementation of the seventh aspect, the forwarding strategy includes a QoS policy and a next-hop network device, and the sending unit is specifically used to send the target message to the next-hop network device based on the QoS policy.

[0060] In a possible implementation manner of the seventh aspect, the sending unit is further used to send location information of the communication device to the third communication device, where the location information of the communication device is used to instruct the third communication device to determine a forwarding strategy.

[0061] In a possible implementation of the seventh aspect, before receiving a target message sent by the first communication device to access the second communication device through an application, the receiving unit is further configured to receive a login message from the first communication device, wherein the login message is used to indicate that the first communication device has accessed the network. The sending unit is further configured to send an authentication request to a third communication device and obtain an authorization message, wherein the authentication request is used to indicate that the third communication device sends an authorization message, and the authorization message indicates that the first communication device has legally accessed the network.

[0062] In a possible implementation manner of the seventh aspect, the target identifier is determined by the control device based on the application identifier and the corresponding relationship, and the corresponding relationship is used to indicate that the application identifier corresponds to the user identifier. The control device is a control center of the application program.

[0063] In the implementation manner of the present application, the beneficial effects of the communication device of the seventh aspect are similar to the beneficial effects of the method described in the first aspect of the present application or any possible implementation manner of the first aspect, and the details will not be repeated here.

[0064] In an eighth aspect, a communication device is provided, comprising a receiving unit, a processing unit and a sending unit.

[0065] The receiving unit is used to obtain the user identification and application identification of the first communication device, the user identification is used to indicate the first communication device, and the application identification is an identification for accessing the application. The processing unit is used to determine a corresponding relationship based on the user identification and the application identification. The corresponding relationship is used to indicate that the application identification corresponds to the user identification, the target identification includes the user identification and the application identification, and the control device is the control center of the application. Afterwards, the sending unit is used to send the corresponding relationship to the control device, so that the control device determines the target identification based on the corresponding relationship and sends it to the first communication device.

[0066] In the implementation manner of the present application, the beneficial effects of the communication device of the eighth aspect are similar to the beneficial effects of the method described in the second aspect of the present application, and the details will not be repeated here.

[0067] In a ninth aspect, a communication device is provided, comprising a receiving unit, a processing unit and a sending unit.

[0068] The receiving unit is used to receive the target identifier, source IP address and destination IP address sent by the first communication device. The target identifier includes a user identifier and an application identifier, the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, the source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device. The first communication device is used to access the second communication device through the application.

[0069] Afterwards, the processing unit is used to obtain a forwarding strategy based on the target identifier, the source IP address, and the destination IP address.

[0070] The sending unit is used to send a forwarding strategy to the first communication device, where the forwarding strategy is used to control the performance of the first communication device in sending a target message to meet QoS requirements. The target message is a message that the first communication device uses an application to access the second communication device.

[0071] In a possible implementation of the ninth aspect, the receiving unit is further used to receive statistical data of the first communication device, and to bill the first communication device based on the statistical data of the first communication device, where the statistical data is used for billing.

[0072] In a possible implementation of the ninth aspect, the processing unit is specifically configured to determine a QoS policy and a next-hop network device based on a target identifier, a source IP address, and a destination IP address. The sending unit is specifically configured to send the QoS policy and the next-hop network device to the first communication device, and the QoS policy and the next-hop network device are used to indicate that the performance of a target message sent by the first communication device to the next-hop network device meets the QoS requirement.

[0073] In a possible implementation of the ninth aspect, the receiving unit is specifically used to receive the location information of the first communication device sent by the first communication device. The processing unit is also used to obtain the location information of the second communication device based on the destination IP, and the second communication device is a device for the second communication device to access the network. The receiving unit is also used to obtain a transmission path based on the location information of the first communication device and the location information of the second communication device, the transmission path includes a next-hop network device, and the transmission path meets the end-to-end service level agreement SLA requirements of the network.

[0074] In a possible implementation manner of the ninth aspect, the receiving unit is further used to receive statistical data of the second communication device sent by the second communication device, and to charge the second communication device based on the statistical data of the second communication device.

[0075] In a possible implementation of the ninth aspect, the processing unit is further configured to determine a path assurance strategy based on the target identifier, wherein the path assurance strategy is used to indicate that the performance of the network device in forwarding the target message meets the SLA requirements of the network. The sending unit is further configured to send the path assurance strategy to the network device on the transmission path.

[0076] In the implementation manner of the present application, the beneficial effects of the communication device of the ninth aspect are similar to the beneficial effects of the method described in the third aspect of the present application or any possible implementation manner of the third aspect, and the details will not be repeated here.

[0077] In a tenth aspect, a server is provided, comprising a receiving unit, a sending unit and a processing unit.

[0078] The receiving unit is used to receive a corresponding relationship, where the corresponding relationship is used to indicate that the application identifier corresponds to the user identifier, the user identifier is used to indicate the first communication device, and the application identifier is an identifier for accessing the application program.

[0079] The receiving unit is further configured to receive an application identifier sent by the first communication device.

[0080] The processing unit is used to determine a target identifier based on the application identifier and the corresponding relationship, where the target identifier is used to indicate a quality of service QoS requirement corresponding to a target message, and the target message is a message from a first communication device to a second communication device through an application program.

[0081] The sending unit is used to send a target identifier to the first communication device, so that the first communication device sends a target message based on the target identifier.

[0082] In the implementation manner of the present application, the beneficial effects of the communication device of the tenth aspect are similar to the beneficial effects of the method described in the fourth aspect of the present application, and the details will not be repeated here.

[0083] In an eleventh aspect, a communication device is provided, comprising a sending unit and a receiving unit.

[0084] The sending unit is used to send an application identifier to a control device, where the application identifier is an identifier for accessing an application program, and the control device is a control center of the application program.

[0085] The receiving unit is used to receive a target identifier sent by the control device, wherein the target identifier includes a user identifier and an application identifier, and the user identifier is used to indicate the first communication device.

[0086] In the implementation manner of the present application, the beneficial effects of the communication device of the eleventh aspect are similar to the beneficial effects of the method described in the fifth aspect of the present application, and the details will not be repeated here.

[0087] In the twelfth aspect, a communication device is provided, comprising a sending unit, the sending unit being used to send a target message for accessing a second communication device through an application to a first communication device, the target message carrying a target identifier, a source IP address and a destination IP address, the source IP address being the IP address of the first communication device, and the destination IP address being the IP address of the second communication device, so that the performance of the first communication device sending the target message based on the target identifier, the source IP address and the target IP address meets the QoS requirements, and determines statistical data based on the sent target message, and the statistical data is used for billing.

[0088] In the implementation manner of the present application, the beneficial effects of the communication device in the twelfth aspect are similar to the beneficial effects of the method described in the sixth aspect of the present application, and the details will not be repeated here.

[0089] In the thirteenth aspect, a communication device is provided, which may include a processor, which is coupled to a memory, wherein the memory is used to store instructions, and the processor is used to execute the instructions in the memory so that the communication device performs the method described in the first aspect of the present application or any possible implementation of the first aspect, or performs the method described in the second aspect of the present application, or performs the method described in the third aspect of the present application or any possible implementation of the third aspect, or performs the method described in the fourth aspect, fifth aspect or sixth aspect of the present application.

[0090] In a fourteenth aspect, another communication device is provided, comprising a processor for executing a computer program (or computer executable instructions) stored in a memory. When the computer program (or computer executable instructions) is executed, the method in the first aspect and each possible implementation of the first aspect is executed, or the method described in the second aspect of the present application is executed, or the method described in the third aspect of the present application or any possible implementation of the third aspect is executed, or the method described in the fourth aspect, fifth aspect or sixth aspect of the present application is executed.

[0091] In one possible implementation, the processor and the memory are integrated together;

[0092] In another possible implementation, the memory is located outside the communication device.

[0093] The communication device also includes a communication interface, which is used for the communication device to communicate with other devices, such as sending or receiving data and / or signals. Exemplarily, the communication interface can be a transceiver, circuit, bus, module or other type of communication interface.

[0094] The fifteenth aspect provides a computer-readable storage medium, comprising computer-readable instructions. When the computer-readable instructions are run on a computer, the method described in the first aspect, any possible implementation of the first aspect, the second aspect or any possible implementation of the second aspect, the third aspect or any possible implementation of the third aspect, and the fourth aspect or any possible implementation of the fourth aspect of this application is executed.

[0095] In the sixteenth aspect, a computer program product is provided, comprising computer-readable instructions. When the computer-readable instructions are run on a computer, the method described in the first aspect, any possible implementation of the first aspect, the second aspect, any possible implementation of the second aspect, the third aspect or any possible implementation of the third aspect, and the fourth aspect or any possible implementation of the fourth aspect of the present application is executed.

[0096] In the seventeenth aspect, an interactive system is provided, comprising the communication device provided in the seventh aspect, the server provided in the tenth aspect, and the communication equipment provided in the eleventh aspect.

[0097] In an eighteenth aspect, an interactive system is provided, comprising the communication device of the seventh aspect or any possible implementation of the seventh aspect, the communication device of the ninth aspect or any possible implementation of the ninth aspect, and the communication equipment of the twelfth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] Figure 1 A schematic diagram of the APN6-ID message header;

[0099] Figure 2 A schematic diagram of an application scenario for implementing end-to-end QoS guarantee based on IP quintuple;

[0100] Figure 3 A schematic diagram of a data transmission method provided in an embodiment of the present application;

[0101] Figure 4 A schematic diagram of the architecture of an application system provided in an embodiment of the present application;

[0102] Figure 5 A schematic diagram of an application scenario provided by an embodiment of the present application;

[0103] Figure 6 A schematic diagram of the APN-ID format provided in an embodiment of the present application;

[0104] Figure 7 A schematic diagram of a structure of a communication device provided in an embodiment of the application;

[0105] Figure 8A schematic diagram of the structure of a core network device provided in an embodiment of the present application;

[0106] Fig. 9 A schematic diagram of the structure of a server provided in an embodiment of the present application;

[0107] Fig.10 A schematic diagram of the structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0108] The embodiment of the present application provides a data transmission method and related devices, which are applied in the field of communications. It can identify that a single user using an application needs to achieve end-to-end QoS access and build a QoS connection in real time to meet SLA requirements, and can achieve QoS connection construction and teardown at any time, saving network resources.

[0109] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0110] To facilitate the subsequent understanding of the embodiments of the present application, some relevant professional terms are briefly introduced below:

[0111] IP quintuple: a set of five quantities: source IP address, source port, destination IP address, destination port, and transport layer protocol. For example: 162.168.1.1 10000 TCP 131.15.88.76 90 constitutes a quintuple. This means that a terminal with an IP address of 162.168.1.1 connects to a terminal with an IP address of 131.15.88.76 and a port of 90 through port 10000 and TCP protocol. Different sessions can be distinguished based on the quintuple, and the corresponding sessions are unique.

[0112] APN6-ID: The purpose of APN6-ID is to carry application information in the message, so that devices in the network can identify the ID and perform corresponding differentiated forwarding without relying on deep packet inspection (DPI) equipment for deep packet identification.

[0113] APN6-ID message header information such as Figure 1 For example, Figure 1 This is a schematic diagram of the APN6-ID message header, where the meanings of the various fields are as follows:

[0114] APN-ID-Type: 8 bits, used to identify the type of APN ID and the number of digits of the APN ID.

[0115] Flags: 8-bit field, which can be defined later.

[0116] APN-Para-Type (optional setting): 16-bit map indicating the APN parameters related to the corresponding APN-ID. It reflects specific requirements such as bandwidth, packet loss, latency, jitter, computing power, security, etc. by bit setting.

[0117] APN-ID: APN identifier (identifier), 64 bits is recommended.

[0118] Intent: 32-bit identifier, representing the business requirements for the network. It should be noted that it is currently an abstract definition, such as high reliability.

[0119] APN-Para: A series of APN parameters, specified by the aforementioned APN-Para-Type.

[0120] In addition, it should be noted that in the APN-ID message header, APN-ID is mandatory information. Figure 1 The information after APN-ID is all optional information, such as Intent and / or APN Parameters, etc. It can be understood that in actual situations, APN-Para may not be carried, and the specific details are not limited here.

[0121] To facilitate understanding of the embodiments of the present application, various QoS guarantee mechanisms in current networks are first briefly described below.

[0122] First, we will introduce how to implement end-to-end QoS based on IP quintuple. Figure 2 For example, Figure 2 The following is a schematic diagram of an application scenario for implementing end-to-end QoS guarantee based on IP quintuple. The specific process is as follows:

[0123] Step 1: The user terminal can sign up for a specific application / service in advance through the self-service page, perform end-to-end QoS scheduling for the specific application / service, and mark the corresponding application / service message with a high priority differential services code point (DSCP) so that the subsequent devices in the network can implement priority scheduling based on the DSCP. For example, a user opens a broadband account and subscribes to a certain application value-added service, such as accessing a certain cloud resource. It should be noted that this example is only for illustration and does not substantially limit the embodiments of this application. The specific details can be determined according to actual conditions and are not limited here.

[0124] Step 2: The self-service page sends the user account and service information of the signed contract to the authentication device or billing center.

[0125] Step 3: The user terminal goes online for a specific application / service and sends an online request to the edge gateway, for example, a common user terminal login application or network interface.

[0126] Step 4: The edge gateway sends an online request to the authentication device or the billing center to obtain authorization information for going online.

[0127] Step 5: The authentication device or billing center determines whether to authorize based on the user account and service information in the online request. When the user account and the corresponding service information have the same corresponding relationship in the authentication device or billing center, the authorization information is sent to the edge gateway, and a specific DSCP value corresponding to the accessed destination IP is sent, so that the application service flow, i.e., the application message, is scheduled at a high priority, and step 6 is continued. Alternatively, when the user account and service information do not have the same corresponding relationship in the authentication device or billing center, the QoS guarantee of the service cannot be guaranteed.

[0128] Step 6: The edge gateway receives the application message sent by the user terminal and accessed through the application program. The edge gateway can identify the traffic based on the IP five-tuple and mark the corresponding DSCP priority for the application message that needs to ensure QoS.

[0129] Step 7: The network devices on the forwarding path prioritize the application messages based on DSCP to meet end-to-end QoS guarantees.

[0130] exist Figure 2 In the example, it is specifically described that the application message is marked with a DSCP value based on the IP quintuple, so as to achieve high priority scheduling based on DSCP, thereby meeting end-to-end QoS guarantees.

[0131] In addition, the following is an end-to-end slicing guarantee based on the segment routing IPv6 policy (SRv6 policy) based on the Internet Protocol version 6 (IPv6) based on the IP quintuple. The specific implementation process is the same as the above Figure 2 Similar to the above Figure 2 The difference from the example is that the high-value slice forwarding for specific applications / services is based on the IP five-tuple. The slices can be built in advance by the network controller, and the slices between different routing domains need to be coordinated. This achieves end-to-end slice guarantee and thus achieves end-to-end SLA.

[0132] However, in many application scenarios, it is not possible to identify applications / services based on IP quintuples, and the application scope is limited. When used to achieve end-to-end QoS guarantee, QoS scheduling cannot actually guarantee strict bandwidth guarantee, and can only be unified. In addition, different routing domains in the forwarding path can cross operators, and different operators have different priority scheduling for QoS, which needs to be pre-set to ensure unified high-priority scheduling.

[0133] The following is a brief introduction to end-to-end QoS protection based on DPI identification and end-to-end slicing protection based on DPI identification and SRv6 policy.

[0134] Among them, the specific implementation method of end-to-end QoS guarantee based on DPI identification application is the same as Figure 2 The difference between the examples is that the DPI board is deployed at the edge gateway. The edge gateway receives the authorization information sent by the authentication device / billing center, which indicates that all messages of the application / service contracted with the user account are redirected to the DPI board for application analysis. The edge gateway uses the DPI board to identify whether the message received from the user terminal is a message of the contracted application / service. If so, the message is marked with a specific DSCP value, so that the network equipment on the forwarding path can schedule the message with high priority based on the DSCP value. In this way, end-to-end QoS guarantee is achieved and end-to-end SLA is guaranteed.

[0135] End-to-end slicing guarantee based on DPI identification applications, such as SRv6 policy, is similar to the aforementioned end-to-end QoS guarantee based on DPI identification applications. The difference is that the message is redirected to the DPI board for application analysis and identification of the corresponding application / service, and the signed application / service is forwarded into high-value slices. The slices are built in advance by the network controller, and the slices between different routing domains need to be coordinated.

[0136] However, deploying DPI boards on edge gateways increases network costs, and when used to achieve end-to-end QoS guarantees, QoS scheduling cannot actually guarantee strict bandwidth guarantees, and can only be unified. Different routing domains in the forwarding path can cross operators, and different operators have different QoS priority scheduling, which needs to be pre-set to ensure unified high-priority scheduling.

[0137] The following describes the current APN6-ID-based slicing or end-to-end QoS guarantee. Figure 2 The example is similar to that of , with the specific difference being that a message of an application / service sent by a user terminal carries the APN6-ID corresponding to the application / service. When the authorization information is obtained and the APN6-ID is determined to be legitimate, that is, the application / service corresponding to the message is the same as the application / service corresponding to its APN6-ID and has been signed, the edge gateway identifies the application based on the APN6-ID and puts the message into a high-value slice or marks it with a specific DSCP for service priority scheduling, thereby ensuring end-to-end SLA.

[0138] However, the current approach is to ensure that users in the entire application / service system meet end-to-end QoS guarantees to guarantee end-to-end SLA, but it is impossible to identify whether a single user of the application / service enjoys end-to-end QoS access, and thus it is impossible to charge based on a single user's end-to-end QoS connection.

[0139] To solve the above-mentioned problems, the embodiment of the present application first provides a data transmission method and related devices, which are applied in the field of communication. A target message sent by a first communication device to access a second communication device through an application is received, and the target message carries a target identifier, a source Internet Protocol IP address, and a destination IP address, wherein the target identifier includes a user identifier and an application identifier, wherein the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, the source IP address is the IP address of the first communication device, and the destination IP is the IP address of the second communication device. Then, the target identifier, source IP, and destination IP are sent to the service controller, and a forwarding policy sent by the service controller is received, the forwarding policy is determined by the service controller based on the target identifier, source IP, and destination IP, and the forwarding policy is used to control the performance of forwarding the target message to meet the QoS requirements, and the target message is sent based on the forwarding policy, and statistical data is sent to the service controller, and the statistical data is used for billing. In an embodiment of the present application, a forwarding strategy is obtained based on the target identifier, destination IP, and source IP, and the target message accessed through the application can be sent to achieve communication, and the performance of forwarding the target message meets the QoS requirements, and the statistical data generated by the user accessing the application can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection billing for a single user.

[0140] In order to better understand the embodiments of the present application, a data transmission method provided by the embodiments of the present application is first described in detail below in conjunction with the accompanying drawings. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems. Figure 3 , Figure 3 A schematic diagram of a data transmission method provided in an embodiment of the present application. Specifically comprising:

[0141] A1. The core network obtains a user identifier and an application identifier of a first communication device.

[0142] The third communication device, namely the core network, obtains the user identification and application identification of the first communication device, where the application identification is an identification for accessing the application program. Figure 3 The function of the core network is realized by the third communication device, namely Figure 3 In the subsequent embodiments, the core network is used as an example of the third communication device for explanation.

[0143] It is understandable that the third communication device may be an integrated core network device or a combination of multiple devices, which is not specifically limited here.

[0144] Exemplarily, before the user of the first communication device accesses the network, it is necessary to open a broadband account in advance on the self-service page or business hall, and activate the corresponding application value-added service. Specific applications include commonly used video software, communication software and / or game software on the market, etc., which are not limited here. Its value-added services, such as obtaining information by accessing the application, need to ensure the end-to-end SLA requirements of the network and improve the service quality. The self-service page or business hall sends the broadband account, application information and corresponding application identifier of the first communication device to the core network, where the user identifier can be a broadband account or a dedicated line IP corresponding to the broadband account. It can be understood that in actual situations, the user identifier can also be other unique identifiers, which are not limited here.

[0145] For ease of explanation, the following is based on Figure 4 The application system is described in detail. Figure 4A schematic diagram of the architecture of the application system provided for the embodiment of the present application. The application system is a system architecture for an application scenario, which includes a self-service page / business hall 401 of different provinces, i.e., Province A and a self-service page / business hall 402 of Province B, a user terminal 1 402 and a user terminal 2 406 containing application software (application, APP), an edge gateway 1 403, an edge gateway 2 407, a routing domain 1 410 (a routing domain includes multiple network devices for forwarding messages), a routing domain 2 413, an autonomous system boundary router (ASBR) 411 and an ASBR 412, an application server 409, and a core network 404 of Province A and a core network 408 of Province B in different provinces, i.e., user terminal 1 402 belongs to Province A, and user terminal 2 406 belongs to Province B. 406 belongs to Province B, and its Province A core network 404 includes authentication, authorization, accounting, AAA center 4041, network controller 4043, service controller 4042 and resource database 4044, and Province B core network 408 includes authentication, authorization, accounting, AAA center 4081, network controller 4083, service controller 4082 and resource database 4084.

[0146] It should be noted that user terminal 1 402 is used as an example of a first communication device, user terminal 2 406 is used as an example of a second communication device, edge gateway 1 403 is used as an example of a first communication device, and edge gateway 2 407 is used as an example of a second communication device for understanding subsequent embodiments.

[0147] Among them, user terminal 1 402 opens a broadband account on the self-service page or business hall 401 for accessing the Internet, and opens the value-added service of the corresponding application, and sends the opened broadband account and its corresponding application information and corresponding application identifier to the core network 404, which can be AAA 4041 in the core network 404. In a possible implementation, AAA 4041 determines the user identifier based on the broadband account, and the user identifier is used to indicate the first communication device. Specifically, the user identifier is a unique identifier for the entire network, divided by province.

[0148] For example, please refer to Figure 5 In the example of step S1 and step S2, Figure 5 A schematic diagram of an application scenario provided in an embodiment of the present application, which is mainly used to illustrate the aforementioned Figure 4 The interaction process of the application system.

[0149] It should be noted that after a broadband account is opened, the account password and QoS authorization of the broadband account will be synchronized to AAA so that AAA can determine the legitimate user terminal access to the network based on this.

[0150] S1. AAA receives the broadband account and application identifier of user terminal 1.

[0151] S2. AAA determines the user ID based on the broadband account.

[0152] It should be noted that the application identifier may predetermine the range of the application identifier, for example, including the number of bits representing the application identifier and the range of values, which are not specifically limited here.

[0153] Exemplarily, the user identifier may be a broadband account such as a telephone number or a dedicated IP. It is understandable that in actual situations, the user identifier may also be other unique identifiers, which are not specifically limited here.

[0154] A2. The core network determines a relationship table based on the user identifier and the application identifier.

[0155] The core network determines a corresponding relationship based on the user identifier and the application identifier, where the corresponding relationship is used to indicate that the application identifier corresponds to the user identifier.

[0156] For example, Figure 3 As described in, the corresponding relationship can be in a relationship table, and one user identifier can correspond to multiple application identifiers, and optionally, the corresponding relationship can be directly sent to the control device, which is not limited here. Exemplarily, the relationship table can be a table that includes the user identifier and the application identifier of the application program that activates the value-added service with the user identifier.

[0157] A3. The core network sends the relationship table to the control device of the application.

[0158] The core network sends the corresponding relationship to the control device of the application so that the control device of the application can determine the target identifier based on the relationship table. Its target identifier includes a user identifier and an application identifier. And the target identifier is used to indicate the QoS requirement of the target message of the first communication device accessing the second communication device through the application in the network. In the subsequent communication of accessing the application, the SLA requirement of forwarding the target message in the network can be further met based on the target identifier. And optionally, the core network can send a relationship table to the control device of the application, or it can directly send the corresponding relationship to the control device, which is not limited here. Its control device is the control center of the application, which is not limited here.

[0159] For example, Figure 4In the example, AAA 4041 sends a relationship table to application server 409, as shown in FIG. Figure 5 Step S3:

[0160] S3. AAA sends the relationship table to the application server.

[0161] Exemplarily, the relationship table may be a table including a correspondence between a user ID and an application ID of an application program for opening a value-added service with the user ID, wherein the specific format of the table is not limited.

[0162] In one possible implementation, the core network sends the user ID to the integrated terminal management system (ITMS), and the ITMS sends a diversion strategy based on the user ID to the optical network terminal (ONT), where the diversion strategy is used to instruct the target message to enter a high-priority channel.

[0163] For example, Figure 4 The application system also includes ITMS 416, ITMS 417, ONT 414 and ONT 415. ITMS 416 and ONT 414 belong to province A, while ITMS 417 and ONT 415 belong to province A. ONT is an optical network device for user terminals, such as home computers and mobile phones, and performs network address translation (NAT) processing on them, and allocates private network IP addresses to user terminals in the home, such as home computers, mobile phones or TVs. It performs point-to-point protocol over ethernet (PPPoE) or IPoE protocol dial-up based on Ethernet, obtains IP from the edge gateway, and accesses the network.

[0164] For example, dual channels can be deployed in advance in a passive optical network (PON), and high-priority and low-priority channels use different virtual local area networks.

[0165] In applications, such as Figure 4 AAA 4041 in the core network 404 of Province A sends the user ID and / or user account of the broadband account to ITMS 416, and then ITMS 416 sends a diversion strategy based on the user ID to ONT 414. The diversion strategy specifically determines the corresponding QoS requirement based on the user ID, and then uses the high-priority channel in the preset dual channels to transmit the message sent by the user terminal 1 corresponding to the user ID.

[0166] In an embodiment of the present application, a traffic diversion strategy is determined based on a user identifier, and the message sent by the first communication device is placed in a high priority channel, which can further meet the SLA requirements.

[0167] In a possible implementation, the first communication device receives a login message from the first communication device, the login message is used to instruct the first communication device to access the network, the first communication device sends an authentication request to the core network, and obtains an authorization message, wherein the authentication request is used to instruct the core network to send an authorization message, the authorization message indicates that the first communication device is legally accessing the network. Figure 3 Step A4 and Step A5:

[0168] A4. The first communication device sends a login message to the first communication apparatus.

[0169] The first communication device sends a login message to the first communication apparatus, where the login message is used to instruct the first communication device to access a network.

[0170] For example, Figure 4 The user terminal 1 402 sends a login message carrying a broadband account and password to the corresponding edge gateway 1 403, or the user terminal 2 406 sends a login message carrying a broadband account and password to the corresponding edge gateway 2 407.

[0171] A5. The first communication device sends an authentication request to the core network.

[0172] The first communication device sends an authentication request to the core network, where the authentication request is used to instruct the core network to send an authorization message, where the authorization message is used to indicate that the first communication device is legally accessing the network.

[0173] like Figure 4 AAA 4041 of the core network 404 of province A receives the authentication request sent by edge gateway 1 403, which contains the broadband account and corresponding password logged in by user terminal 1 402. AAA 4041 compares the broadband account and password in the authentication request with its own broadband account and password. When they are the same, AAA 4041 confirms that user terminal 1 402 is legal to enter the network. Edge gateway 2 407 sends the authentication request to AAA 4081 of the core network 408 of province B in a similar way to the implementation of the aforementioned edge gateway 1 402, and will not be described in detail here.

[0174] A6. The core network sends an authorization message to the first communication device.

[0175] The first communication device receives an authorization message sent by the core network, and the authorization message indicates that at least the first communication device is legal to access the network.

[0176] For example, Figure 4 In the example, after the AAA 4041 of the core network 404 of Province A confirms that the user terminal 1 402 is legally allowed to enter the network, it sends an authorization message to the edge gateway 1 403, and the edge gateway 1 403 accesses the user terminal 1 402 to the network based on the authorization message. It should be noted that the implementation of the edge gateway 2 407 receiving the authorization message that the user terminal 2 406 is legally allowed to access the network is similar to the implementation of the AAA 4041 sending the authorization message to the edge gateway 1 402, and the details will not be repeated here.

[0177] In an embodiment of the present application, a first communication device receives a login message from a first communication device, where the login message is used to instruct the first communication device to access the network. The first communication device sends an authentication request to a core network and obtains an authorization message, where the authentication request is used to instruct the core network to send an authorization message, where the authorization message indicates that the first communication device has legally accessed the network, and describes the process of the first communication device accessing the network.

[0178] A7. The first communication device sends an application identifier to a control device of the application program.

[0179] The control device of the application receives the application identifier sent by the first communication device, that is, the first communication device sends the application identifier to the control device of the application for logging into the application.

[0180] For example, Figure 4 In the example, user terminal 1 402 sends an application identifier to application server 409 to log in to the application program. Figure 5 As shown in step S4 in .

[0181] S4. User terminal 1 sends an application identifier to the application server.

[0182] The user terminal 1 sends an application identifier to the application server to log in to the APP of the user terminal 1. The application identifier may be an account number and / or a corresponding password for logging in to the application, which is not specifically limited here.

[0183] In a possible implementation, the target identifier is determined by the control device of the application program based on the application identifier and the relationship table. Specifically, as shown in step A8:

[0184] A8. The control device of the application determines the target identifier based on the application identifier and the relationship table.

[0185] The control device of the application determines the target identifier based on the application identifier and the relationship table. The target identifier can represent the QoS / service information of the corresponding application.

[0186] For example, Figure 4The application server 409 in the example determines the target identifier according to the application identifier and the relationship table carried by the user terminal 1 402 when logging in. Figure 5 Step S5.

[0187] S5. The application server determines the target identifier based on the application identifier and the relationship table.

[0188] The application server determines the target identifier according to the application identifier, such as the APP account, and the relationship table carried by the user terminal 1 when logging in. Specifically, the application server searches the relationship table for the user identifier corresponding to the APP account, and then obtains the target identifier composed of the user identifier and the APP account.

[0189] In an implementation manner of the present application, the target identifier is determined by the control device of the application based on the application identifier and the relationship table. The control device of the application can determine the target identifier in real time and efficiently, thereby improving the reliability of the solution.

[0190] In a possible implementation, the target identifier may be an APN-ID composed of a user identifier and an application identifier. For example, the format of APN6-ID is as follows: Figure 6 For example, Figure 6 A schematic diagram of the APN-ID format provided for an embodiment of the present application. Among them, the APN-ID includes three fields, each of which has a variable length: APP-Group-ID: used to indicate the application group. USER-Group-ID: used to indicate the user group. Reserved: reserved field. APN ID is a structured design that focuses on reflecting the application group information and user group information of the service. Therefore, optionally, the user identifier and the application identifier can be respectively in the APP-Group-ID field or the USER-Group-ID field, or the user identifier and the application identifier can be in the same field, which can be determined according to actual conditions and is not limited here. Among them, the APN-ID parameter can represent the QoS / service information of the corresponding APP.

[0191] In addition, it should be noted that in the embodiment of the present application, the target identifier is APN-ID, which is only used as an example to understand the embodiment of the present application. It can be understood that in actual situations, the target identifier can be a pre-set identifier, which is carried by the IPv6 message, and is not specifically limited here.

[0192] In the embodiment of the present application, the target identifier can be an APN-ID or other customized ID, which provides multiple target identifier implementation methods and increases the flexibility of the solution.

[0193] A9. The control device of the application sends a target identifier to the first communication device.

[0194] The first communication device receives the target identifier sent by the control device of the application program.

[0195] For example, Figure 5 Step S6:

[0196] S6. The application server sends a target identifier to the user terminal 1.

[0197] After the application server determines the target identifier as shown in step S5 , the application server returns the target identifier to the user terminal 1 .

[0198] A10. The first communication device sends a target message to the first communication apparatus.

[0199] The first communication device sends a target message to the first communication apparatus for accessing the second communication device through an application, the target message carrying a target identifier, a source IP address and a destination IP address, wherein the source IP address is the IP address of the first communication device and the destination IP address is the IP address of the second communication device.

[0200] For example, Figure 4 In the example, user terminal 1 402 and user terminal 2 406 initiate APP access, as shown in FIG. Figure 5 Step S7 in:

[0201] S7. User terminal 1 sends a target message to edge gateway 1.

[0202] Exemplarily, user terminal 1 402 and user terminal 2 406 initiate APP access (such as voice or video calls, text or pictures), so user terminal 1 sends a target message to edge gateway 1, and the target message carries the APN-ID and source IP address of user terminal 1, and the destination IP address of user terminal 2. In a possible implementation, the target IP address can be the IP address of user terminal 2 returned by the application server to user terminal 1.

[0203] In a possible implementation, the first communication device sends location information of the first communication device to the core network, and the location information of the first communication device is used to instruct the core network to determine a forwarding strategy, and the forwarding strategy is used to control the performance of the forwarding target message to meet the QoS requirement. Figure 3 Step A12 is as follows:

[0204] A12. The first communication device sends location information of the first communication device to the core network.

[0205] The first communication device sends the location information of the first communication device to the core network.

[0206] For example, Figure 5 As shown in step S10:

[0207] The edge gateway 1 sends the location information of the edge gateway 1 to the service controller. Specifically, when the user terminal 1 performs operations such as accessing the APP, such as refreshing the APP, or receiving and sending messages through the APP, the APP access message sent by the user terminal 1 to the edge gateway 1 carries the APN-ID. The edge gateway 1 identifies the APN-ID of the user terminal 1 in the message and sends the location information of the edge gateway 1 to the service controller. The service controller sends the APN-ID of the user terminal 1 to the AAA for authentication and authorization. After the authentication is legal, the location information of the edge gateway 1 associated with the user terminal 1 is reported to the resource database for record. It can be understood that in actual situations, the user terminal 1 can be moved, so the location of the edge gateway 1 to which the user terminal 1 is connected is updated in real time at different times.

[0208] It should be noted that there is no restriction on the order of step A12 and step A10, and no specific restriction is made here.

[0209] Similarly, step A13 is as follows:

[0210] A13. The second communication device sends the location information of the second communication device to the core network.

[0211] The second communication device sends location information of the second communication device to the core network, where the second communication device is a device for the second communication equipment to access the network.

[0212] For example, Figure 5 Step S11:

[0213] Step S11: The edge gateway 2 sends the location information of the edge gateway 2 to the service controller.

[0214] The APP access message sent by the user terminal 2 carries the APN-ID of the user terminal 2. The edge gateway 2 identifies the APN-ID of the user terminal 2 in the message and sends the location information of the edge gateway 2 to the service controller. The service controller sends the APN-ID of the user terminal 2 to the AAA for authentication. After the authentication is legal, the location information of the edge gateway 2 associated with the user terminal 2 is sent to the resource database for recording. The specific details are similar to the aforementioned step S10 and will not be repeated here.

[0215] The second communication device sending the location information of the second communication device to the core network is similar to the aforementioned step A12, and the details are not repeated here.

[0216] In an implementation manner of the present application, the first communication device sends location information of the first communication device to the core network, which can be used to determine the starting point of the transmission path, further ensuring that the target message meets the SLA requirements on the transmission path.

[0217] After step A10, the first communication device performs step A11.

[0218] A11. The first communication device sends a target identifier, a source IP address, and a destination IP address to the core network.

[0219] The first communication device sends a target identifier, a source IP address, and a destination IP address to the core network.

[0220] For example, Figure 5 As shown in step S8:

[0221] S8. The edge gateway 1 sends the target identifier, source IP address, and destination IP address to the service controller.

[0222] Specifically, after receiving the target message, the edge gateway 1 identifies the APN-ID in the message, and sends the APN-ID, source IP address and destination IP address in the target message to the service controller to apply to the service controller for a connection channel to guarantee the SLA. It can use the path computation element communication protocol (PCEP) to send the target identifier, source IP address and destination IP address. It is understandable that in actual situations, other protocols that can transmit the target identifier, source IP address and destination IP address can also be used, which are not limited here.

[0223] After that, execute step A14:

[0224] A14. The core network obtains a forwarding strategy based on the target identifier, source IP address, and destination IP address.

[0225] In a possible implementation, the core network determines the QoS policy and the next-hop network device based on the target identifier, the source IP address, and the target IP address.

[0226] Optionally, the core network obtains the location information of the second communication device based on the destination IP, and obtains the transmission path based on the location information of the first communication device and the location information of the second communication device, the transmission path includes the next hop network device, and the transmission path meets the end-to-end SLA requirements of the network. For example, Figure 4In the case where user terminal 1 402 initiates APP access to user terminal 2 406, service controller 4042 of core network 404 of province A queries resource database 4043 for the gateway location of the target IP address of user terminal 2 406, that is, edge gateway 2 407, that is, the location information of the second communication device, and channel resources, that is, the aforementioned high-priority channel information. Then, resource database 4044 queries resource database 4084 of core network 408 of province B for the gateway location and channel information of the IP address of user terminal 2 406.

[0227] In addition, it should be noted that Figure 4 The example is an application scenario across provinces. It can be understood that in the application scenario within the same province, the location information of the second communication device can be directly obtained from the resource database of the same core network.

[0228] Exemplarily, the core network obtains the transmission path based on the location information of the first communication device and the location information of the second communication device. Figure 5 As shown in step S9 and step S12:

[0229] S9. The service controller sends a target request.

[0230] After obtaining the location information of the edge gateway 2, the service controller sends a target request to the network controller to apply for a resource guarantee connection.

[0231] S12: The network controller determines a transmission path and a path assurance strategy based on the target request.

[0232] The network controller determines the transmission path and path guarantee strategy based on the target request.

[0233] The network controller applies to the network controller of Province B where the edge gateway 2 is located to create a guaranteed path for the corresponding routing domain 2 and obtain the corresponding path guarantee policy.

[0234] S14. The network controller sends a transmission path to the service controller.

[0235] After determining the transmission path, the core network will send the forwarding strategy to the edge gateway 1 based on the transmission path.

[0236] A15. The core network sends the forwarding strategy to the first communication device.

[0237] The core network sends a forwarding policy to the first communication device. In a possible implementation, the forwarding policy includes a QoS policy and a next-hop network device. The QoS policy is a policy for instructing the first communication device to send a target message. The first communication device sends the target message to the next-hop network device based on the forwarding policy.

[0238] For example, Figure 5 Step S15:

[0239] The service controller sends a forwarding policy to the edge gateway 1. Specifically, the service controller sends a QoS policy based on an application-level traffic diversion policy and an application to the edge gateway 1. Optionally, a border gateway protocol (BGP) or other protocols may be used, which are not specifically limited here.

[0240] A16. The core network sends the path assurance strategy to the network devices on the transmission path.

[0241] For example, Figure 5 Step S13:

[0242] The network controller sends a path assurance policy to network devices on the transmission path.

[0243] A17. The first communication device sends the target message based on the forwarding strategy.

[0244] The first communication device sends the target message based on the forwarding strategy.

[0245] For example, Figure 5 Step S16:

[0246] S16. Edge gateway 1 sends the target message based on the forwarding strategy.

[0247] A18. The network device sends the target message based on the path assurance strategy.

[0248] The network device on the transmission path sends the target message to the second communication device based on the path assurance strategy to establish communication with the second communication device, so as to ensure that the target message meets the end-to-end SLA requirements as much as possible on the transmission path.

[0249] For example, Figure 5 Step S18:

[0250] S18. The network device sends the target message based on the path assurance strategy.

[0251] A19. The first communication device determines statistical data based on the sent target message.

[0252] The first communication device determines statistical data based on the sent target message.

[0253] For example, Figure 5 Step S17:

[0254] S17. The edge gateway 1 determines statistical data based on the sent target message.

[0255] After the connection is established and the communication is normal, the edge gateway 1 executes the forwarding strategy according to the QoS execution rule corresponding to the APN-ID and determines the statistical data. The statistical data can be time, flow statistics or other forms, which are not limited here.

[0256] A20. The first communication device sends statistical data to the core network.

[0257] The first communication device sends statistical data to the core network.

[0258] For example, Figure 5 Step S19:

[0259] Edge gateway 1 sends statistical data to the service controller.

[0260] A21. The core network charges based on the statistical data of the first communication device

[0261] The core network charges based on the statistical data of the first communication device.

[0262] In a possible implementation, when the second communication device and the first communication device belong to the same core network, the core network further receives statistical data of the second communication device sent by the second communication device, and charges the second communication device.

[0263] For example, Figure 5 Step S19 and step S20:

[0264] Step S19: The edge gateway 1 sends statistical data to the service controller.

[0265] Step S20: The service controller sends statistical data to AAA.

[0266] After the service controller sends the statistical data to AAA, AAA charges the user terminal 1 based on the statistical data.

[0267] Optionally, the service controller of Province B also receives the statistical data sent by the edge gateway 2 and forwards the statistical data to the AAA of Province B, and then AAA charges the user terminal 2.

[0268] It should be noted that, when the first communication device and the second communication device belong to the same core network, the core network also receives the statistical data of the second communication device and charges both ends of the communication. In the case of cross-province or cross-national cross-domain, the user terminal 2 can also be regarded as the first communication device, and its billing process is similar to that of the user terminal 1, which will not be described in detail here.

[0269] In the implementation manner of the present application, statistical data of the second communication device is also received for billing, thereby ensuring synchronous billing of both communicating parties and improving the reliability of the solution.

[0270] It should be noted that, as shown in 4 and Figure 5 The user terminal 2 in the actual situation can be understood as the first communication device, and the specific implementation process is the same as the above Figure 5 The user terminal 1 is similar and will not be described in detail here.

[0271] It should be said that the aforementioned Figure 4 as well as Figure 5 The examples are only used to understand the embodiments of the present application and do not impose any substantial limitation on the present application. It is understandable that the first communication device and the second communication device may be application scenarios in the same region or in different regions such as across provinces or countries, and no specific limitation is made here.

[0272] It should be noted that the control device of the aforementioned application can be a common application server, or an application cluster server, or an application control center and other devices. It can be understood that in actual situations, it can also be other central devices that can provide services for the application, which is not limited here.

[0273] In an embodiment of the present application, in an embodiment of the present application, a forwarding strategy is obtained based on the target identifier, destination IP, and source IP, and the target message accessed through the application can be sent to achieve communication, and the performance of forwarding the target message meets the QoS requirements, and the statistical data generated by the user accessing the application can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection billing for a single user.

[0274] The above is a detailed introduction to a data transmission method provided by an embodiment of the present application. The principles and implementation methods of the present application are described in detail using specific examples herein. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.

[0275] In order to implement the functions of the method provided in the above embodiment of the present application, the first communication device, the first communication equipment and the core network may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0276] like Figure 7 As shown, the embodiment of the present application also provides a communication device, which is applied in the field of communication. Figure 7 , Figure 7 A schematic diagram of a communication device provided in an embodiment of the application. In a possible implementation, the communication device may include executing the method in the embodiment of the above method. Figure 3 The module or unit corresponding to the method / operation / step / action corresponding to the first communication device in the communication device 700 may be a hardware circuit, software, or a combination of a hardware circuit and software. In a possible implementation, the communication device 700 may include: a receiving unit 701 and a sending unit 702. The receiving unit 701 may be used to perform the steps of receiving a target message and a forwarding strategy in the above method embodiment, and the sending unit 702 may be used to perform the steps of sending a target identifier, a source IP address, and a destination IP address, and sending a target message in the above method embodiment.

[0277] In an embodiment of the present application, a receiving unit 701 receives a target message sent by a first communication device to access a second communication device through an application. Among them, the target message carries a target identifier, a source IP address, and a destination IP address. The target identifier includes a user identifier and an application identifier. The user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, the source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device. Then, the sending unit 702 sends the target identifier, the source IP address, and the destination IP address to the third communication device. Then, the receiving unit 701 receives a forwarding strategy sent by the third communication device, which is obtained by the third communication device based on the target identifier, the source IP address, and the destination IP address. The forwarding strategy is used to control the performance of the forwarded target message to meet the QoS requirements, and the sending unit 702 sends the target message based on the forwarding strategy. In an embodiment of the present application, a forwarding strategy is obtained based on the target identifier, the destination IP, and the source IP, and the target message accessed through the application can be sent, so as to achieve communication, and the performance of the forwarded target message meets the QoS requirements.

[0278] In another possible design, the communication device 700 further includes a processing unit 703, and the processing unit 702 determines statistical data based on the sent target message, and the statistical data is used for billing. And the sending unit 702 also sends the statistical data to the third communication device. In this way, the statistical data generated by the user accessing the application program can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection billing for a single user.

[0279] In other possible designs, the above-mentioned receiving unit 701 and the sending unit 702 can execute the methods / operations / steps / actions in various possible implementation methods of the first communication device in the above-mentioned method embodiment one by one.

[0280] In one possible design, the forwarding strategy includes a QoS policy and a next-hop network device, and the sending unit 702 is specifically used to send the target message to the next-hop network device based on the QoS policy.

[0281] In a possible design, the sending unit 702 is further used to send location information of the communication device to a third communication device, and the location information of the communication device is used to instruct the third communication device to determine a forwarding strategy.

[0282] In a possible design, before receiving the target message sent by the first communication device to access the second communication device through an application, the receiving unit 701 is also used to receive a login message from the first communication device, and the login message is used to indicate that the first communication device has accessed the network.

[0283] The sending unit 702 is further used to send an authentication request to the third communication device and obtain an authorization message, where the authentication request is used to instruct the third communication device to send an authorization message, and the authorization message indicates that the first communication device is legally allowed to access the network.

[0284] In a possible design, the target identifier is determined by a control device of the application program based on an application identifier and a relationship table, where the relationship table is used to indicate a corresponding relationship between the application identifier and the user identifier.

[0285] Please refer to the above for the beneficial effects of the various communication devices designed in this application. Figure 3 The beneficial effects of the various corresponding implementation methods in the method embodiments will not be described in detail here.

[0286] It should be noted that Figure 7 The information interaction, execution process, etc. between the modules / units in the communication device of the corresponding embodiment are the same as those in the present application. Figure 7 The first communication device in the corresponding method embodiment is based on the same concept. For specific contents, please refer to the description in the method embodiment shown above in this application, which will not be repeated here.

[0287] like Figure 8 As shown, the embodiment of the present application further provides a third communication device, which is applied in the field of communication. Figure 8 , Figure 8 A schematic diagram of the structure of a third communication device provided in an embodiment of the present application. In a possible implementation, the third communication device may include executing the method in the embodiment of the present application. Figure 3The module or unit corresponding to the method / operation / step / action corresponding to the third communication device in the embodiment may be a hardware circuit, software, or a combination of a hardware circuit and software. In one possible implementation, the third communication device device 800 may include: a receiving unit 801, a processing unit 802, and a sending unit 803. The receiving unit 801 may be used to execute the steps of obtaining the user identification and application identification of the first communication device, the target identification, and the statistical data in the above method embodiment, the processing unit 902 may be used to execute the steps of determining the relationship table and obtaining the forwarding strategy in the above method embodiment, and the sending unit 903 may be used to execute the steps of sending the relationship table and the forwarding strategy in the above method embodiment.

[0288] In an embodiment of the present application, a receiving unit 801 is used to obtain a user identifier and an application identifier of a first communication device, wherein the user identifier is used to indicate the first communication device, and the application identifier is an identifier for accessing an application program. A processing unit 802 is used to determine a relationship table based on the user identifier and the application identifier, wherein the relationship table is used to indicate the correspondence between the application identifier and the user identifier, and the target identifier includes the user identifier and the application identifier. A sending unit 803 is used to send the relationship table to the control device of the application program, so that the control device of the application program determines the target identifier based on the relationship table and sends it to the first communication device. The receiving unit 801 is also used to receive a target identifier, a source IP address, and a destination IP address sent by the first communication device, wherein the target identifier includes a user identifier and an application identifier, wherein the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing an application program, the source IP address is the IP address of the first communication device, the destination IP address is the IP address of the second communication device, and the first communication device is used to access the second communication device through the application program. The processing unit 802 is also used to obtain a forwarding strategy based on the target identifier, the source IP address, and the destination IP address. The sending unit 803 is also used to send a forwarding strategy to the first communication device, and the forwarding strategy is used to control the performance of the first communication device to send the target message to meet the QoS requirements. The target message is a message that the first communication device accesses the second communication device through the application. The receiving unit 801 is also used to receive the statistical data of the first communication device, and to charge the first communication device based on the statistical data of the first communication device, and the statistical data is used for billing. In an embodiment of the present application, the third communication device obtains a relationship table based on the user identifier and the application identifier and sends it to the control device of the application, and can obtain the target identifier and reflect the corresponding relationship between the user and the application, so as to achieve accurate billing. The forwarding strategy is obtained based on the target identifier, the destination IP and the source IP, and the target message accessed by the application can be sent to achieve communication, and the performance of forwarding the target message meets the QoS requirements, and the statistical data generated by the user accessing the application can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection billing for a single user.

[0289] In other possible designs, the above-mentioned receiving unit 801, processing unit 802 and sending unit 803 can execute the methods / operations / steps / actions in various possible implementation methods of the second communication device in the above-mentioned method embodiment one by one.

[0290] In a possible design, the processing unit 802 is further used to obtain location information of a second communication device based on a destination IP, where the second communication device is a device for a second communication device to access a network.

[0291] The receiving unit 801 is further used to obtain a transmission path based on the location information of the first communication device and the location information of the second communication device, the transmission path includes a next-hop network device, and the transmission path meets the end-to-end service level agreement SLA requirements of the network.

[0292] In a possible design, the above-mentioned receiving unit 701 is specifically used to receive the location information of the first communication device sent by the first communication device.

[0293] The processing unit 702 is further configured to obtain location information of a second communication device based on a destination IP, where the second communication device is a device for a second communication device to access a network.

[0294] The receiving unit 701 is further used to obtain a transmission path based on the location information of the first communication device and the location information of the second communication device, the transmission path includes a next-hop network device, and the transmission path meets the end-to-end service level agreement SLA requirements of the network.

[0295] In a possible design, the receiving unit 701 is further used to receive statistical data of the second communication device sent by the second communication device, and to charge the second communication device based on the statistical data of the second communication device.

[0296] In a possible design, the processing unit 702 is further used to determine a path assurance strategy based on the target identifier, where the path assurance strategy is used to indicate that the performance of the network device forwarding the target message meets the SLA requirements of the network;

[0297] The sending unit 703 is further configured to send a path assurance policy to network devices on the transmission path.

[0298] Please refer to the above for the beneficial effects of the third communication device of various designs mentioned above in this application. Figure 3 The beneficial effects of various implementation modes of the one-to-one correspondence of the third communication device in the method embodiment will not be described in detail here.

[0299] It should be noted that Figure 8 The information interaction, execution process, etc. between the modules / units in the third communication device of the corresponding embodiment are the same as those in the present application. Figure 3 The third communication device in the corresponding method embodiment is based on the same concept. For specific contents, please refer to the description in the method embodiment shown above in this application, which will not be repeated here.

[0300] like Fig. 9 As shown, the embodiment of the present application also provides a server, which is applied in the field of communications. Fig. 9 , Fig. 9A schematic diagram of the structure of a server provided in an embodiment of the present application. In a possible implementation, the communication device may include executing the above method embodiment Figure 3 The module or unit corresponding to the method / operation / step / action corresponding to the control device of the application program in the one-to-one manner may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one possible implementation, the server 900 may include: a receiving unit 901, a processing unit 902, and a sending unit 903. The receiving unit 901 may be used to execute the steps of receiving a relationship table and an application identifier in the above method embodiment, the processing unit 902 may be used to execute the steps of determining a target identifier in the above method embodiment, and the sending unit 903 may be used to execute the steps of sending a target identifier in the above method embodiment.

[0301] In an embodiment of the present application, the receiving unit 901 receives a relationship table, wherein the relationship table is used to indicate the correspondence between the application identifier and the user identifier, the user identifier is used to indicate the first communication device, and the application identifier is an identifier for accessing the application program. The receiving unit 701 also receives the application identifier sent by the first communication device. The processing unit 902 determines the target identifier based on the application identifier and the relationship table, and the target identifier is used to indicate the service quality QoS requirement corresponding to the target message, and the target message is a message in which the first communication device accesses the second communication device through the application program. Then the sending unit 903 sends the target identifier to the first communication device so that the first communication device sends the target message based on the target identifier. The target identifier can indicate the QoS parameters of the target message in the network, realize communication based on the target identifier, meet the QoS requirements for forwarding the target message, and can accurately determine the statistical data generated by the user accessing the application program based on the user identifier and the application identifier, so as to charge the first communication device and realize end-to-end QoS connection charging for a single user.

[0302] The beneficial effects of the various designs of the servers mentioned above in this application can be found in the above Figure 3 The beneficial effects of the various corresponding implementation methods in the method embodiments will not be described in detail here.

[0303] It should be noted that Fig. 9 The information interaction, execution process, etc. between the modules / units in the communication device of the corresponding embodiment are the same as those in the present application. Figure 3 The control device of the application in the corresponding method embodiment is based on the same concept. The specific content can be found in the description of the method embodiment shown in the previous description of this application, and will not be repeated here.

[0304] like Fig.10 As shown, the embodiment of the present application also provides a communication device, which is applied in the field of communication. Fig.10 , Fig.10 A schematic diagram of the structure of a communication device provided in an embodiment of the present application. In a possible implementation, the communication device may include executing the method in the embodiment of the present application. Figure 3 The module or unit corresponding to the method / operation / step / action corresponding to the first communication device in the communication device 1000 may be a hardware circuit, software, or a combination of a hardware circuit and software. In a possible implementation, the communication device 1000 may include: a receiving unit 1001 and a sending unit 1002. The receiving unit 1001 may be used to perform the step of receiving the target identifier in the above method embodiment, and the sending unit 1002 may be used to perform the step of sending the application identifier and the target message in the above method embodiment.

[0305] In an embodiment of the present application, the sending unit 1002 sends an application identifier to the control device of the application, and the application identifier is an identifier for accessing the application. The receiving unit 1001 is used to receive a target identifier sent by the control device of the application, and the target identifier includes a user identifier and an application identifier, and the user identifier is used to indicate the first communication device. The sending unit 1002 sends a target message to access the second communication device through the application to the first communication device, and the target message carries a target identifier, a source IP address, and a destination IP address. The source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device, so that the performance of the first communication device sending the target message based on the target identifier, the source IP address, and the target IP address meets the QoS requirements, and determines the statistical data based on the sent target message, and the statistical data is used for billing. The target identifier can indicate the QoS parameters of the target message in the network, and communication is achieved based on the target identifier, so that the performance of forwarding the target message meets the QoS requirements, and the statistical data generated by the user accessing the application can be accurately determined based on the user identifier and the application identifier, so as to charge the first communication device and realize the end-to-end QoS connection billing for a single user. In other possible designs, the processing unit 1101 and the sending unit 1102 may execute the methods / operations / steps / actions in various possible implementations of the second communication device in the method embodiment one by one.

[0306] Please refer to the above for the beneficial effects of the various communication devices designed in this application. Figure 3 The beneficial effects of the various corresponding implementation methods in the method embodiments will not be described in detail here.

[0307] It should be noted that Fig.10 The information interaction, execution process, etc. between the modules / units in the first communication device of the corresponding embodiment are the same as those in the present application. Figure 3The first communication device in the corresponding method embodiment is based on the same concept. For specific contents, please refer to the description in the method embodiment shown above in this application, which will not be repeated here.

[0308] In addition, each functional module or unit in each embodiment of the present application may be integrated into one processor, or may exist physically separately, or two or more modules or units may be integrated into one module or unit. The above-mentioned integrated modules or units may be implemented in the form of hardware or in the form of software functional modules.

[0309] Another communication device provided in an embodiment of the present application includes a processor, which is coupled to a memory, the memory stores instructions, and the processor is used to execute the instructions so that the communication device executes any one of the implementation methods shown in the aforementioned method embodiments.

[0310] An embodiment of the present application also provides a computer-readable storage medium, including computer-readable instructions. When the computer-readable instructions are executed on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.

[0311] The embodiments of the present application also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.

[0312] The present application also provides a chip or chip system, which may include a processor. The chip may also include a memory (or storage module) and / or a transceiver (or communication module), or the chip is coupled to a memory (or storage module) and / or a transceiver (or communication module), wherein the transceiver (or communication module) can be used to support the chip for wired and / or wireless communication, and the memory (or storage module) can be used to store a program or a set of instructions, and the processor calls the program or the set of instructions to implement the above method embodiment, the operation performed by the terminal or the communication device in any possible implementation of the method embodiment. The chip system may include the above chip, and may also include the above chip and other separate devices, such as a memory (or storage module) and / or a transceiver (or communication module).

[0313] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0314] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a communication device, etc.) to execute the methods of each embodiment of the present application.

[0315] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0316] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state drive, SSD)), etc.

Claims

1. A data transmission method, characterized in that: include: The first communication device receives a target message sent by the first communication device for accessing the second communication device through an application, the target message carrying a target identifier, a source Internet Protocol IP address, and a destination IP address, the target identifier includes a user identifier and an application identifier, the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, the source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device; The first communication device sends the target identifier, the source IP address, and the destination IP address to a third communication device; The first communication device receives a forwarding policy sent by the third communication device, where the forwarding policy is obtained by the core network based on the target identifier, the source IP address, and the destination IP address, and the forwarding policy is used to control the performance of forwarding the target message to meet QoS requirements; The first communication device sends the target message based on the forwarding strategy.

2. The method according to claim 1, characterized in that The method further comprises: The first communication device determines statistical data based on the sent target message, wherein the statistical data is used for billing; The first communication device sends the statistical data to the third communication device.

3. The method according to claim 1 or 2, characterized in that: The forwarding strategy includes a QoS strategy and a next-hop network device; The first communication device sending the target message based on the forwarding strategy includes: The first communication device sends the target message to the next-hop network device based on the QoS policy.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The first communication device sends location information of the first communication device to the third communication device, where the location information of the first communication device is used to instruct the core network to determine the forwarding strategy.

5. The method according to any one of claims 1 to 4, characterized in that Before the first communication device receives a target message sent by the first communication device for accessing the second communication device through an application, the method further includes: The first communication device receives a login message from the first communication device, where the login message is used to instruct the first communication device to access a network; The first communication device sends an authentication request to the third communication device and obtains an authorization message, wherein the authentication request is used to instruct the core network to send the authorization message, and the authorization message indicates that the first communication device is legal to access the network.

6. The method according to any one of claims 1 to 5, characterized in that The target identifier is determined by the control device based on the application identifier and a corresponding relationship, where the corresponding relationship is used to indicate that the application identifier corresponds to the user identifier, and the control device is a control center of the application program.

7. A data transmission method, characterized in that: include: The third communication device obtains a user identifier and an application identifier of the first communication device, wherein the user identifier is used to indicate the first communication device, and the application identifier is an identifier for accessing an application program; The third communication device determines a corresponding relationship based on the user identifier and the application identifier, and sends the corresponding relationship to the control device, so that the control device determines a target identifier based on the corresponding relationship and sends it to the first communication device. The corresponding relationship is used to indicate that the application identifier corresponds to the user identifier, the target identifier includes the user identifier and the application identifier, and the control device is the control center of the application.

8. A data transmission method, characterized in that: include: The third communication device receives a target identifier, a source IP address, and a destination IP address sent by the first communication device, wherein the target identifier includes a user identifier and an application identifier, the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, the source IP address is an IP address of the first communication device, and the destination IP address is an IP address of the second communication device, and the first communication device is used to access the second communication device through the application; The third communication device acquires a forwarding strategy based on the target identifier, the source IP address and the destination IP address; The third communication device sends the forwarding strategy to the first communication device, where the forwarding strategy is used to control the performance of the first communication device in sending a target message to meet QoS requirements, and the target message is a message that the first communication device uses to access the second communication device through the application.

9. The method according to claim 8, characterized in that The method further comprises: The third communication device receives the statistical data of the first communication device, and charges the first communication device based on the statistical data of the first communication device, wherein the statistical data is used for charging.

10. The method according to claim 8 or 9, characterized in that: The third communication device determines the forwarding strategy based on the target identifier, the source IP and the destination IP, including: The third communication device determines a QoS policy and a next-hop network device based on the target identifier, the source IP address, and the destination IP address; The third communication device sending the forwarding strategy to the first communication device includes: The third communication device sends the QoS policy and the next-hop network device to the first communication device, and the QoS policy and the next-hop network device are used to indicate that the performance of the target message sent by the first communication device to the next-hop network device meets the QoS requirement.

11. The method according to claim 10, characterized in that The third communication device determines the QoS policy and the next-hop network device based on the target identifier, the source IP and the destination IP, including: The third communication device receives the location information of the first communication device sent by the first communication device; The third communication device acquires the location information of the second communication device based on the destination IP, where the second communication device is a device for the second communication device to access the network; The third communication device acquires a transmission path based on the location information of the first communication device and the location information of the second communication device, the transmission path includes the next-hop network device, and the transmission path meets the end-to-end service level agreement SLA requirements of the network.

12. The method according to claim 11, characterized in that The method further comprises: The core network receives the statistical data of the second communication device sent by the second communication device, and charges the second communication device based on the statistical data of the second communication device.

13. The method according to claim 11 or 12, characterized in that: The method further comprises: The third communication device determines the path assurance policy based on the target identifier, and sends the path assurance policy to the network equipment on the transmission path, wherein the path assurance policy is used to indicate that the performance of the network equipment in forwarding the target message meets the SLA requirements of the network.

14. A data transmission method, characterized in that: include: The control device receives a corresponding relationship, where the corresponding relationship is used to indicate that the application identifier corresponds to the user identifier, the user identifier is used to indicate the first communication device, the application identifier is an identifier for accessing the application, and the control device is a control center of the application; The control device receives the application identifier sent by the first communication device; The control device determines a target identifier based on the application identifier and the relationship table, where the target identifier is used to indicate a quality of service QoS requirement corresponding to a target message, where the target message is a message from the first communication device to the second communication device through the application program; The control device sends the target identifier to the first communication device, so that the first communication device sends a target message based on the target identifier.

15. A data transmission method, characterized in that: include: The first communication device sends an application identifier to the control device, where the application identifier is an identifier for accessing the application program, and the control device is a control center of the application program; The first communication device receives a target identifier sent by the control device, where the target identifier includes a user identifier and an application identifier, and the user identifier is used to indicate the first communication device.

16. A data transmission method, characterized in that: include: The first communication device sends a target message to the first communication apparatus for accessing the second communication device through the application, wherein the target message carries a target identifier, a source IP address, and a destination IP address, wherein the source IP address is the IP address of the first communication device, and the destination IP address is the IP address of the second communication device, so that the performance of the first communication apparatus sending the target message based on the target identifier, the source IP address, and the target IP address meets the QoS requirements.

17. An interactive system, characterized in that: The method comprises a communication device, a communication apparatus and a server, wherein the communication apparatus is used to execute the method according to claim 7, the server is used to execute the method according to claim 14, and the communication device is used to execute the method according to claim 15.

18. An interactive system, characterized in that: It comprises a communication device, a first communication apparatus and a third communication apparatus, wherein the communication device is used to execute the method according to claim 16, the first communication apparatus executes the method according to any one of claims 1-6, and the third communication apparatus executes the method according to any one of claims 8-13.

19. A communication device, characterized in that: The device comprises a processor, the processor is coupled to a memory, the memory stores instructions, and the processor is used to execute the instructions so that the communication device executes the method according to any one of claims 1 to 16.

20. A computer-readable storage medium comprising computer-readable instructions, characterized in that: When the computer-readable instructions are executed on a computer, the method according to any one of claims 1 to 16 is executed.

21. A computer program product comprising computer readable instructions, characterized in that: When the computer-readable instructions are executed on a computer, the method according to any one of claims 1 to 16 is executed.

Citation Information

Cited By

  • Data transmission control method and apparatus, device, and program product

    WO2026137787A1