WO2021114132A1 - 通信方法和装置 - Google Patents

通信方法和装置 Download PDF

Info

Publication number
WO2021114132A1
WO2021114132A1 PCT/CN2019/124514 CN2019124514W WO2021114132A1 WO 2021114132 A1 WO2021114132 A1 WO 2021114132A1 CN 2019124514 W CN2019124514 W CN 2019124514W WO 2021114132 A1 WO2021114132 A1 WO 2021114132A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
network device
service
indication information
sequence number
Prior art date
Application number
PCT/CN2019/124514
Other languages
English (en)
French (fr)
Inventor
许斌
李秉肇
王燕
陈磊
王宏
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2019/124514 priority Critical patent/WO2021114132A1/zh
Priority to CN201980102701.7A priority patent/CN114747248A/zh
Priority to EP19956050.9A priority patent/EP4061055A4/en
Publication of WO2021114132A1 publication Critical patent/WO2021114132A1/zh
Priority to US17/837,602 priority patent/US20220303214A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • H04W36/023Buffering or recovering information during reselection
    • H04W36/0235Buffering or recovering information during reselection by transmitting sequence numbers, e.g. SN status transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0007Control or signalling for completing the hand-off for multicast or broadcast services, e.g. MBMS

Definitions

  • This application relates to communication technology, and in particular to a communication method and device.
  • wireless communication systems have been widely used in people’s daily lives.
  • wireless communication systems can provide users with various services such as telephone, voice, video, data, and sending and receiving, so that users can handle it without leaving home.
  • services such as telephone, voice, video, data, and sending and receiving, so that users can handle it without leaving home.
  • Large and small affairs in daily life, work, and study greatly improve the convenience of users in handling affairs, and at the same time enhance the user experience.
  • the wireless communication system includes at least one core network device and at least one base station.
  • the user's terminal device can be connected to the wireless communication system by accessing the base station, so that the user can process services through the terminal device and the wireless communication system.
  • the related processing of services by the wireless communication system may include, for example, when the user's terminal device processes a certain service, the core network device sends the service data packet to the base station, and the base station sends the received service data packet to the user's terminal device.
  • the base station to which the user’s terminal equipment is connected needs to be from the source base station Handover to the target base station. After the handover is completed, the target base station needs to continue processing services related to terminal equipment.
  • the base station cannot detect the progress information of the services it supports, the base station cannot accurately perform the processing related to the services it supports, thus failing to provide users with good service services and affecting users.
  • the base station cannot accurately perform the processing related to the services it supports, thus failing to provide users with good service services and affecting users.
  • This application provides a communication method and device to solve the problem that because the base station cannot detect the progress information of the service supported by the base station, the base station cannot accurately perform the processing related to the service supported by the base station, thereby failing to provide users with good service services.
  • the problem of user experience because the base station cannot detect the progress information of the service supported by the base station, the base station cannot accurately perform the processing related to the service supported by the base station, thereby failing to provide users with good service services.
  • this application provides a communication method, including:
  • At least one data packet of the first service is received, the at least one data packet includes a first data packet, and the first data packet is located at a first position in the at least one data packet; and the at least one data packet is sent to a first network device A data packet and first indication information, where the first indication information is used to indicate the first position.
  • the first network device may be a source network device or a target network device.
  • the first indication information is used to indicate the first position of the first data packet in the first service, so that the first network device can be based on the first position indicated by the first indication information Determine the progress information of the first service currently being processed, so that the first network device can more accurately and effectively perform the processing related to the first service according to the progress information of the first service, so as to better provide users with service services and improve users Experience.
  • the first indication information includes the sequence number of the first data packet, and the sequence number of the first data packet is used to indicate that the first data packet is in the at least one data packet. The first position in the package.
  • the general radio packet service tunneling protocol-user plane serial number of the first data packet is determined according to the first position of the first data packet in the at least one data packet.
  • the first indication information includes a first offset and a sequence number of the first data packet, and the first offset is the sequence number of the first data packet and the sequence number of the first data packet. The difference of the serial number corresponding to the first position.
  • the sequence number of the first data packet is a general radio packet service tunneling protocol-user plane sequence number of the first data packet.
  • the first indication information is included in the header, payload, or data of the first data packet; or, the first indication information is included in the header, payload, or data of a preset data packet. Data.
  • sending the first indication information to the first network device includes:
  • the first indication information is sent to the first network device at a first moment, where the first moment is one of a plurality of periodically configured moments, wherein two adjacent moments among the plurality of moments
  • the duration between is the set duration; or, after sending N of the data packets to the first network device, the first indication information is sent to the first network device, where N ⁇ 0, and N is an integer.
  • the present application provides a communication method, including: receiving at least one data packet of a first service from a core network device and first indication information, where the first indication information is used to indicate that the first data packet is in the A first position in at least one data packet, the at least one data packet containing the first data packet.
  • the first network device can determine according to the first location indicated by the first indication information The progress information of the first service currently being processed, thereby facilitating the first network device to more accurately and effectively perform the processing related to the first service according to the progress information of the first service, so as to better provide users with service services and improve user experience .
  • the first indication information includes the sequence number of the first data packet, and the sequence number of the first data packet is used to indicate that the first data packet is in the at least one data packet. The first position in the package.
  • the first indication information includes a first offset and a sequence number of the first data packet, and the first offset is the sequence number of the first data packet and the sequence number of the first data packet. The difference of the serial number corresponding to the first position.
  • the sequence number of the first data packet is a general radio packet service tunneling protocol-user plane sequence number of the first data packet.
  • the first indication information is included in the header, payload, or data of the first data packet; or, the first indication information is included in the header, payload, or data of a preset data packet. Data.
  • the method further includes: sending second indication information to the second network device, where the second indication information is used for Indicates a second sequence number, where the second sequence number is the maximum sequence number of the data packet of the first service received by the first network device from the core network device; and/or, receiving the second network device Third indication information sent, the third indication information is used to indicate a third sequence number, and the third sequence number is the data of the first service received by the second network device from the core network device The maximum sequence number of the package.
  • the second network device can determine the first network according to the maximum sequence number of the data packet of the first service received by the first network device from the core network device represented by the second indication information The current progress of the first service supported by the device, so that the second network device can more accurately and effectively perform processing related to the first service supported by the first network device according to the current progress of the first service supported by the first network device.
  • the first network device can determine the second network device according to the maximum sequence number of the data packet of the first service received from the core network device by the second network device characterized by the third instruction information.
  • the current progress of the first service supported by the network device so that the first network device can more accurately and effectively perform processing related to the first service supported by the second network device according to the current progress of the first service supported by the second network device.
  • the first network device serves as a source network device
  • the second network device serves as a target network device
  • the second indication information is also used to indicate information about the first service
  • the information of the first service includes at least one of the following:
  • the identification information of the first service; the type of the first service; the packet data unit session identification information of the first service; the packet data unit session type of the first service; the data wireless of the first service Bearer identification information; the third indication information is also used to indicate whether the second network device supports the first service.
  • the second serial number corresponds to the first service; and/or, the third serial number corresponds to the first service.
  • the method further includes: determining a third data packet according to the third instruction information; and sending to the second network device The third data packet.
  • the method when the first network device serves as the target network device and the second network device serves as the source network device, after sending the second indication information to the second network device, the method further includes: Determine a fourth data packet according to the third indication information; buffer the fourth data packet.
  • the present application provides a communication device, including: a first receiving module, configured to receive at least one data packet of a first service, the at least one data packet includes a first data packet, and the first data packet is The at least one data packet is located at a first position; the sending module is configured to send the at least one data packet and first indication information to a first network device, where the first indication information is used to indicate the first position.
  • the first indication information includes the sequence number of the first data packet, and the sequence number of the first data packet is used to indicate that the first data packet is in the at least one data packet. The first position in the package.
  • the sending module is further configured to: determine the general radio packet service of the first data packet according to the first position of the first data packet in the at least one data packet Tunneling protocol-user plane serial number.
  • the first indication information includes a first offset and a sequence number of the first data packet, and the first offset is the sequence number of the first data packet and the sequence number of the first data packet. The difference of the serial number corresponding to the first position.
  • the sequence number of the first data packet is a general radio packet service tunneling protocol-user plane sequence number of the first data packet.
  • the first indication information is included in the header, payload, or data of the first data packet; or, the first indication information is included in the header, payload, or data of a preset data packet. Data.
  • the sending module includes a sending unit configured to send the first indication information to the first network device, wherein: the sending unit is specifically configured to send the first indication information to the first network device at the first time.
  • the first network device sends the first indication information, and the first moment is one of a plurality of moments configured periodically, wherein the length of time between two adjacent moments in the plurality of moments is set The timing is long; or, the sending unit is specifically configured to send the first indication information to the first network device after sending N data packets to the first network device, where N ⁇ 0 , And N is an integer.
  • the present application provides a communication device, including: a second receiving module, configured to receive at least one data packet of a first service from a core network device and first indication information, where the first indication information is used to indicate The first data packet is at a first position in the at least one data packet, and the at least one data packet includes the first data packet.
  • the first indication information includes the sequence number of the first data packet, and the sequence number of the first data packet is used to indicate that the first data packet is in the at least one data packet. The first position in the package.
  • the first indication information includes a first offset and a sequence number of the first data packet, and the first offset is the sequence number of the first data packet and the sequence number of the first data packet. The difference of the serial number corresponding to the first position.
  • the sequence number of the first data packet is a general radio packet service tunneling protocol-user plane sequence number of the first data packet.
  • the first indication information is included in the header, payload, or data of the first data packet; or, the first indication information is included in the header, payload, or data of a preset data packet. Data.
  • the second receiving module is further configured to send the second instruction information to the second network device after receiving at least one data packet and the first instruction information from the core network device.
  • the second indication information is used to indicate a second sequence number, where the second sequence number is the maximum sequence number of the data packet of the first service received by the first network device from the core network device; and/or,
  • the second receiving module is further configured to, after receiving at least one data packet and the first indication information from the core network device, receive third indication information sent by the second network device, where the third indication information is used to indicate A third sequence number, where the third sequence number is the maximum sequence number of the data packet of the first service received by the second network device from the core network device.
  • the first network device serves as a source network device
  • the second network device serves as a target network device
  • the second indication information is also used to indicate information about the first service
  • the information of the first service includes at least one of the following:
  • the identification information of the first service; the type of the first service; the packet data unit session identification information of the first service; the packet data unit session type of the first service; the data wireless of the first service Bearer identification information; the third indication information is also used to indicate whether the second network device supports the first service.
  • the second serial number corresponds to the first service; and/or, the third serial number corresponds to the first service.
  • the second receiving module is further configured to, after receiving the third instruction information sent by the second network device, determine a third data packet according to the third instruction information, and send the The second network device sends the third data packet.
  • the first network device serves as a target network device
  • the second network device serves as a source network device
  • the second receiving module is further configured to send a second instruction to the second network device.
  • a fourth data packet is determined according to the third indication information, and the fourth data packet is cached.
  • the present application provides a communication system, including: at least one core network device, and at least one first network device, wherein: the core network device includes the device according to any one of the third aspects; the The first network device includes the apparatus according to any one of the foregoing fourth aspects.
  • the communication system includes at least one first network device and at least one terminal device, and the first network device includes the apparatus according to any one of the foregoing fourth aspects.
  • the present application provides a computer-readable storage medium, including a computer program, which when executed on a computer, causes the computer to execute the method described in any one of the first aspect to the second aspect .
  • the present application provides a computer program, when the computer program is executed by a computer, it is used to execute the method described in any one of the first aspect to the second aspect.
  • the present application provides a chip including a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the first aspect to the first aspect to the first aspect.
  • the present application provides a communication device, including: a processor; and a memory for storing calculator programs and/or data; a transceiver for receiving and sending information; wherein the processor is configured to call the memory The computer program and/or data stored in the computer program, so that the communication device implements the method described in any one of the first aspect to the second aspect.
  • Figure 1 is a schematic diagram of an application scenario of the communication method provided by this application.
  • FIG. 2 is a schematic diagram 1 of the flow of the communication method provided by this application.
  • FIG. 3 shows a schematic diagram of the process of switching the network device connected to the terminal device provided by the present application from the first network device to the second network device;
  • FIG. 4 is a first structural diagram of an embodiment of a communication device provided by this application.
  • FIG. 5 is a second structural diagram of an embodiment of a communication device provided by this application.
  • Fig. 6 is a schematic structural diagram of a communication device provided by this application.
  • At least one (item) refers to one or more, and “multiple” refers to two or more.
  • “And/or” is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, “A and/or B” can mean: only A, only B, and both A and B , Where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • the following at least one item (a) or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • At least one of a, b, or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c" ", where a, b, and c can be single or multiple.
  • Figure 1 is a schematic diagram of an application scenario of the communication method provided by this application. It can be seen from FIG. 1 that the application scenario includes core network equipment 10, network equipment 20 and 30, and terminal equipment 21-26, 31-33. Among them, the terminal devices 21-26 are connected to the network device 20, and the terminal devices 31-33 are connected to the network device 30.
  • terminal devices 24-26 can form a communication system. Based on this, the network device 20 can send downlink data to the terminal devices 21-23 and the terminal device 24, and the terminal device 24 can send downlink data to the terminal devices 25 and 26.
  • the terminal devices 31-33 can send uplink data to the network device 30, and the network device 30 can send downlink data to the terminal devices 31-33.
  • the core network device 10 receives a service data packet sent by a service data server or a data network. Specifically, for multiple services, firstly establish links or session connections between the core network device 10 and the data servers or data networks of various services (indicated by links in the following description), and then, each service The data server or the data network sends the data packet to the core network device 10 through the corresponding link; the core network device 10 receives the data packet of the corresponding service from the corresponding link.
  • the core network device 10 sends service data packets to the network device. Specifically, for at least one type of service and one network device, first, a link is established between the core network device 10 and the network device for each type of at least one type of service, and then the core network device 10 passes through each type of service. The link sends the data packet of the corresponding service to the network device. It should be noted that, since the core network device 10 sends data packets of at least one service to each network device in the same principle, the case of at least one service and multiple network devices will not be described here.
  • the core network device 10 sends data packets of the service to the network device 20 through the first link and sends data packets of the service to the network device 30 through the second link.
  • the first service link is established between the core network device 10 and the network device 20, and the core network device 10
  • the second service link is established with the network device 20, and then the core network device 10 sends the data packet of the first service to the network device 20 through the link of the first service and to the network device 20 through the link of the second service.
  • Send the data packet of the second service if the data packet of the first service is sent to the network device 20, and the data packet of the second service is sent to the network device 30, then the first service is established between the core network device 10 and the network device 20.
  • the service link is to establish a second service link between the core network device 10 and the network device 30, and then the core network device 10 sends the data packet of the first service to the network device 20 through the first service link, and The data packet of the second service is sent to the network device 30 through the link of the second service.
  • the network device may send downlink data to the terminal device, where the downlink data includes service data packets.
  • the network device can use unicast to send downlink data to the terminal device; the second, the network device can use multicast (or multicast) Ways to send downlink data to the terminal equipment.
  • a unicast method is used to send downlink data to a terminal device
  • the network device when the network device sends data packets of a certain service to multiple terminal devices, it is necessary to establish a dedicated bearer or a dedicated bearer for each terminal device and the network device based on the service.
  • Dedicated connection so that each terminal device receives the data packet of the service from the network device through its corresponding dedicated bearer.
  • a network device sends data packets of multiple services to the same terminal device, it may be necessary to establish one or more dedicated bearers between the terminal device and the network device based on each service.
  • a multicast method is used to send downlink data to the terminal device, when the network device sends a data packet of a certain service (ie, downlink data) to at least one terminal device, there is no need to establish a dedicated bearer or connection for each terminal device At least one terminal device can receive the data packet of the service from the network device through a unified bearer or configuration information.
  • a certain service ie, downlink data
  • the network device 20 may use unicast to send downlink data to the terminal devices 21-23, and the network device 20 may use unicast to send downlink data to the terminal device 24 and the terminal device 26, and the terminal device 24
  • the data may be sent to the terminal devices 25-26 in a multicast manner or a device-to-device (D2D) communication manner, and the network device 30 may send downlink data to the terminal devices 31-33 in a multicast manner.
  • D2D device-to-device
  • terminal devices 21-26 can send uplink data to the network device 20
  • terminal devices 31-33 can send uplink data to the network device 30.
  • the service supported by the network device can be determined according to the ongoing service of the terminal device connected to the network device.
  • the services supported by the core network equipment may be determined according to the services supported by the network equipment connected to the core network equipment.
  • the foregoing network device may be, for example, an entity having a transceiver function such as a base station, which is not specifically limited here.
  • the above-mentioned terminal equipment may be, for example, a mobile phone, a computer, an e-reader, a printer, a smart kitchen utensil, a stereo, a vehicle with a function of sending and receiving information, etc., which is not specifically limited in this application.
  • the above-mentioned core network equipment may be, for example, access and mobility management function (AMF), service management function (Service Management Function, SMF), user port function (User Port Function, UPF), etc., which are not special here. limited.
  • AMF access and mobility management function
  • SMF Service Management Function
  • UPF User Port Function
  • the foregoing service may be a multicast service (Multimedia Broadcast Multicast Service, MBMS) or a broadcast service or a unicast service, which is not specifically limited in this application.
  • Multicast service or broadcast service is a one-to-many communication service.
  • the multicast service can be a live broadcast service, an on-demand service, etc. It can also be a service that requires one-to-many communication in an industrial scene or a public safety scene or a car networking scene. , Such as batch issuing instructions or batch software updates or one-to-many communication.
  • Unicast service is a one-to-one communication service.
  • the MBMS service can be sent to the terminal equipment in the form of unicast by establishing a dedicated bearer for the terminal equipment.
  • a dedicated bearer for the terminal equipment.
  • it is in the form of multicast To send to a terminal device, only the MBMS dedicated bearer needs to be established, and all terminal devices that process the MBMS service can receive the MBMS through the MBMS dedicated bearer.
  • Fig. 2 is the first flow diagram of the communication method provided by this application. As shown in Fig. 2, the communication method may include the following steps:
  • Step 201 The core network device receives at least one data packet of the first service, the at least one data packet includes a first data packet, and the first data packet is located in a first position in the at least one data packet.
  • the data server or data network of the first service sends at least one data packet of the first service to the core network device through the link between the data server or data network of the first service and the core network device,
  • the core network device receives at least one data packet of the first service.
  • at least one data packet of the first service includes a first data packet, and the first data packet is located at a first position in the at least one data packet of the first service, and the number of the first data packet may be one or more, The position of each first data packet in at least one data packet of the first service corresponds to the first position of the first data packet.
  • each data packet (including the first data packet) in at least one data packet (including the first data packet) of the first service can be understood as: each of the at least one data packet of the first service
  • the data packets are sorted according to the order in which they are sent, and the sorting position of each data packet is the position of the corresponding data packet in at least one data packet of the first service.
  • the first service is any one of the above services. Since the service has been specifically described above, the first service will not be repeated here.
  • the process for the data server or data network of the first service to send at least one data packet of the first service to the core network device may include: selecting the first data packet from the at least one data packet of the first service, where the first data packet is selected from among the at least one data packet of the first service.
  • the number of a data packet may be at least one; each data packet (including the selected first data packet) in at least one data packet of the first service is sent to the core network device, or at least one data packet of the first service
  • Each data packet in the packet (including the selected first data packet) and the first information corresponding to each selected first data packet are sent to the core network device, where the first information corresponding to the first data packet indicates The sequence or position or sequence number of the first data packet in at least one data packet.
  • the manner of selecting the first data packet in the at least one data packet of the first service may include: selecting each data packet in the at least one data packet of the first service as the first data packet; or, selecting the first data packet
  • the M-th data packet in at least one data packet of the service is selected as the first data packet, and a first data packet is selected for every preset number of data packets in the data packets after the M-th data packet, M is an integer and greater than or equal to 1; alternatively, a data packet located in an odd number among at least one data packet of the first service is selected as the first data packet.
  • M is an integer and greater than or equal to 1
  • a data packet located in an odd number among at least one data packet of the first service is selected as the first data packet.
  • the sending timing of the first information corresponding to each first data packet may include: sending the first information corresponding to the first data packet while sending the first data packet; or, sending the first information after each first data packet is sent.
  • the first information corresponding to the first data packet is not specifically limited in this application.
  • the sending method of the first information corresponding to the first data packet may include: sending the first information corresponding to the first data packet as a separate information; or, carrying the first information corresponding to the first data packet in the first data. It is sent in a packet (for example, the header and load of the first data packet), and this application does not specifically limit this.
  • the process of sending each data packet (including the selected first data packet) of the at least one data packet of the first service to the core network device by the data server or the data network of the first service may include: Each data packet in a data packet is sent to the core network device in turn, that is, after one data packet is sent, the next data packet is sent; or, the preset amount of data in at least one data packet of the first service The packet is sent to the core network device at the same time, and after the preset number of data packets is sent, the next preset number of data packets are sent, that is, multiple data packets are sent to the core network device at the same time to improve the transmission efficiency.
  • the set number can be set as a standard, or set by the data server or data network of the first service, and the setting method of the preset number is not limited here. It should be noted that the foregoing manner of sending at least one data packet of the first service to the core network device is only exemplary, and is not intended to limit the present invention, that is, the data of the first service may also be sent to the core network device in other ways. package.
  • the core network equipment can simultaneously receive at least one data packet of each service in at least one service, that is, the data server or data network of each service in the at least one service (it needs to be explained that different services It may also be the same data server or data network) which can respectively send at least one data packet of the corresponding service to the core network device; the core network device receives at least one data packet of the corresponding service sent by the data server or data network of each service.
  • the above-mentioned first service is any one of at least one type of service.
  • the data server or data network of each service sends at least one data packet of the corresponding service to the core network device on the same principle, and the data server or data network of the first service has already sent at least one data packet of the first service to the core network device.
  • the principle of one data packet has been explained. Therefore, the principle of sending at least one data packet of the corresponding service to the core network device by the data server or data network of other various services will not be repeated here.
  • step 201 is an optional step.
  • Step 202 The core network device sends the at least one data packet and first indication information to the first network device, where the first indication information is used to indicate the foregoing first location.
  • the manner in which the core network device sends at least one data packet of the first service to the first network device may include: after the core network device has received at least one data packet of the first service (that is, after receiving the first data packet) After all the data packets of the service), at least one data packet of the first service is sent to the first network device; or the core network device, after receiving one of the at least one data packet of the first service, will receive the first data packet of the first service.
  • the data packet of a service is sent to the first network device, that is, the core network device sends the received data packet of the first service to the first network device in the process of receiving the data packet of the first service. It should be noted that the above process is only exemplary and is not used to limit the present invention.
  • the manner of sending the above-mentioned first indication information to the first network device may be: sending the first indication information to the first network device at the first moment, the first moment being one of a plurality of times configured periodically, and the plurality of times
  • the duration between two adjacent moments in the two moments is the set duration.
  • the set duration can be set by the core network device, or can be set by the data server or data network of the first service. There is no special limitation here, for example, The timing length is 20 milliseconds or 30 milliseconds.
  • a plurality of periods with a set duration are divided by two adjacent moments among the plurality of times configured in the period, and each of the plurality of times is used as the start or end time of the corresponding period, based on Therefore, the first indication information corresponding to the corresponding period may be sent at the start time or the end time of each period, where the first indication information corresponding to each period is used to indicate the first indication information sent to the first network device in the corresponding period.
  • An indication information (which does not limit which data packet is the first data packet of N data packets), where N ⁇ 0, and N is an integer, that is, after each N data packets of the first service, send once and every The first indication information corresponding to the data packets of the N first services.
  • the first indication information corresponding to every N data packets of the first service is used to indicate the first position or sequence or sequence number of any one of the N data packets of the first service.
  • N each time a data packet of the first service is sent to the first network device, the first indication information corresponding to the data packet of the first service that has been sent is sent to the first network device, and the first indication information that corresponds to the data packet of the first service that has been sent is sent to the first network device.
  • the device sends five data packets of the first service, and sends first indication information corresponding to the five first service data packets that have been sent to the first network device once, and the data of the five first services that have been sent
  • the first indication information corresponding to the packet is used to indicate the first position of any one of the five first service data packets that have been sent. It should be noted that the foregoing manner is only exemplary and is not used to limit the present invention, that is, the first indication information may also be sent in other manners.
  • the first indication information corresponding to the first data packet may be sent once, that is, the first data packet of the first service is determined as the first data packet.
  • the first indication information is used to indicate the position of the first data packet of the first service, so as to inform the first network device of the starting position of the first data packet of the first service received.
  • the first indication information can include the following two ways, among which:
  • the first indication information includes the sequence number of the first data packet, and the sequence number of the first data packet is used to indicate the first position of the first data packet in at least one data packet of the first service. That is, each data packet in the at least one data packet of the first service can be sorted according to the sequence of transmission to obtain the sequence number of each data packet in the at least one data packet of the first service.
  • the sequence number of the packet is used to indicate the position of each data packet in at least one data packet of the first service, because the first data packet is a data packet in at least one data packet of the first service, and the first data packet is in the first service.
  • the position in at least one data packet of a service is the first position. Therefore, the sequence number of the first data packet is used to indicate the first position of the first data packet in the at least one data packet of the first service.
  • the serial number of the first data packet may be a serial number independent of any original serial numbers in the first data packet.
  • the sequence number of the first data packet may also be any original sequence number in the first data packet.
  • the original sequence number in the first data packet may be, for example, the general packet radio service tunnel protocol-user plane (GTP-U) sequence number of the first data packet, etc., which is not used here. Special restrictions. If the sequence number of the first data packet is the GTP-U sequence number of the first data packet, after the core network device receives at least one data packet of the first service, it will be based on the at least one data packet of the first data packet in the first service.
  • the first position or sequence in the packet determines the GTP-U sequence number of the first data packet, that is, the GTP-U sequence number of the first data packet indicates the first data packet in at least one data packet of the first service. position.
  • the first indication information includes a first offset and a sequence number of the first data packet
  • the first offset is the sequence number corresponding to the sequence number of the first data packet and the first position of the first data packet The difference.
  • the sequence number of the first data packet here may be one of the original sequence numbers in the first data packet or may be a preset sequence number. Wherein, the original sequence number in the first data packet may include the GTP-U sequence number of the first data packet, etc., which is not specifically limited here.
  • the preset serial number may be a known serial number sent by the core network device to the first network device. It should be noted that the sequence number of the first data packet here is not used to indicate the first position of the first data packet in at least one data packet of the first service.
  • the sequence number corresponding to the first position of the first data packet here can be understood as the sequence number of the first data packet in the above-mentioned first manner, that is, the sequence number corresponding to the first position of the first data packet is used to indicate the first data packet.
  • a data packet is in the first position of at least one data packet of the first service. Since the sequence number of the first data packet is explained in the first way, the first data packet of the first data packet is not described here.
  • the serial number corresponding to the location is described.
  • the first network device can determine the sequence number corresponding to the first position of the first data packet according to the first offset in the first indication information and the sequence number of the first data packet, Furthermore, the position of the first data packet in the at least one data packet of the first service is determined according to the sequence number corresponding to the first position of the first data packet.
  • the sending modes of the first indication information may include the following three, among which:
  • the first indication information may be sent as information independent of the first data packet, for example, it may be sent through control information or control signaling.
  • the first indication information is included in the header, load, or data of the first data packet, that is, the first indication information is carried in the header, load, or data of the first data packet for transmission.
  • the first indication information is contained in the header, load, or data of the preset data packet, that is, a preset data packet is set according to the first indication information, and the first indication information is carried in the header, In the load or data, the first indication information is sent by sending a preset data packet to the first network device.
  • the type and size of the preset data packet can be preset according to actual needs, and there is no special limitation here.
  • the method for generating the first indication information includes: if the core network device receives the first information corresponding to the first data packet, generating the first indication information corresponding to the first data packet according to the first information corresponding to the first data packet; if If the core network device does not receive the first information corresponding to the first data packet, the core network device generates the first indication information according to the first position of the first data packet.
  • the core network device needs to send the received data packet to the first network device, but before the core network device sends the received data packet to the first network device, it needs to add some cores to the header of the data packet.
  • the relevant protocol layer of the network device processes information, but the load or data of the data packet remains unchanged. Therefore, it can be understood that the same data packet received by the core network device and the same data packet sent to the first network device are different, that is, data
  • the load or data of the packet is the same, but the header of the data packet is different.
  • the load or data of the data packet with the same name received in step 201 and the data packet sent in step 202 are the same, but the header is different.
  • the core network device may simultaneously send at least one data packet of each of the at least one service and the first indication information to the first network device.
  • the above-mentioned first service is any one of at least one type of service. Since the core network device sends at least one data packet of each type of service to the first network device and the first indication information in the same principle, and the core network device has already sent at least one data packet of the first service to the first network device and The principle of the first indication information has been explained, so the principle of the core network device sending at least one data packet of other various services and the first indication information to the first network device will not be repeated here.
  • the core network device may simultaneously send at least one data packet of the first service and the first indication information to each of the at least one network device, where the above-mentioned first network device is any one of the at least one network device. Since the core network device sends at least one data packet of the first service and the indication information to each network device on the same principle, and the core network device has already sent at least one data packet of the first service and the first network device to the first network device. The principle of the indication information has been explained. Therefore, the principle of the core network device sending at least one data packet of the first service and the first indication information to other network devices will not be repeated here. In addition, the types of services supported by different network devices may be completely the same, or may be completely different, or may not be completely the same.
  • Step 203 The first network device receives at least one data packet of the first service from the core network device and first indication information, where the first indication information is used to indicate that the first data packet is in the at least one data packet of the first service
  • the first position or sequence or sequence number of the at least one data packet includes the first data packet.
  • the first network device is receiving the first indication information sent by the core network device, where the first indication information is used to indicate the first position of the first data packet in the first service.
  • the first network device can determine the progress information of the first service currently being processed, thereby facilitating more accurate and effective processing related to the first service according to the progress information of the first service, and providing users with better service services. Improve user experience.
  • the first network device After the first network device successfully receives the data packet and/or the first indication information from the core network device, it may send a reception success message to the core network device to inform the core network device that the first network device has successfully received the data sent by it. Packet and/or first indication information, if the core network device does not receive the reception success information sent by the first network device, the core network device confirms that the first network device has not successfully received the data packet and/or the first indication sent by it Information, the core network device needs to re-send the unsuccessfully received data packet and/or the first indication information to the first network device.
  • the first network device receives at least one data packet of the first service and the first indication information, and performs the next processing based on the at least one data packet of the first service and the first indication information.
  • the communication process of the first network device will be described in the following three ways, among which:
  • the first network device sends second indication information to the second network device, where the second indication information is used to indicate a second serial number, and the second serial number is the first service received by the first network device from the core network device
  • the maximum sequence number of the data packet, the second sequence number has a corresponding relationship with the first service.
  • the second serial number may be marked with the information of the first service in the second indication information to indicate the correspondence between the second serial number and the first service.
  • the second network device can determine which first service's maximum serial number the second serial number is specifically based on the corresponding relationship.
  • the first network device may determine the second sequence number corresponding to each first service according to the maximum sequence number of the data packet of each first service received from the core network device , Generating the second indication information according to the second serial number corresponding to each first service, wherein the second indication information can be marked with the second serial number corresponding to the first service by the information of each first service in the second indication information to Indicate the correspondence between each second serial number in the second indication information and the corresponding first service.
  • the second network device can determine which first service's maximum serial number each second serial number is specifically according to the corresponding relationship.
  • the correspondence between the serial number and the service may be pre-configured or pre-defined. For example, there is a corresponding relationship between the maximum serial number of a data packet of a business and the service, and another example is a corresponding relationship between the minimum serial number of a data packet of a business and the business. Specifically, there is a correspondence between the at least one service and the sequence number of the data packet of the at least one service.
  • the core network device connected to the second network device may be the same as or different from the core network device connected to the first network device, which is not specifically limited here.
  • the number of the second network device is at least one.
  • the types of services supported by the first network device and the second network device may be completely the same, may be completely different, or may not be completely the same.
  • the purpose of the first network device sending the second indication information to the second network device is to enable the second network device to determine the maximum sequence number of the data packet of the first service that the first network device has received according to the second indication information, and then The current progress of the first service supported by the first network device is determined according to the maximum sequence number of the data packet of the first service that the first network device has received, so that the second network device according to the first service supported by the first network device The current progress is better for processing related to the first service supported by the first network device. For example, in the process of switching the terminal device from the first network device to the second network device, the second network device knows the progress of the terminal device’s service on the first network device through the second indication information.
  • the second network device may determine whether service data buffering is required or whether it is necessary to send data packets to the terminal device through unicast or multicast transmission according to the progress of the service of the terminal device on the first network device. Based on this, the process of sending the second indication information to the second network device may include: first determining the maximum sequence number (ie, the second sequence number) of the data packet of the first service that the first network device has received, and then, according to the first The maximum sequence number of the data packet of the first service that a network device has received generates second indication information, and finally, sends the second indication information to the second network device.
  • the maximum sequence number ie, the second sequence number
  • the first network device will receive at least one first indication information of the first service sent by the core network device, Each first indication information in the at least one first indication information respectively indicates the first position of the corresponding first data packet. Based on this, according to the first position of the first data packet indicated by each first indication information in the at least one first indication information, the indication information with the largest first position is determined as the target indication information, and according to the first position indicated by the target indication information A position determines the sequence number of the first data packet corresponding to the target indication information, and further determines the maximum sequence number of the received data packet of the first service according to the determined sequence number of the first data packet. For example, if the sequence number of the first data packet corresponding to the target indication information is 10, and two more data packets are received after the first data packet corresponding to the target indication information, the current maximum sequence number is 12.
  • the timing of sending the second indication information to the second network device may include: sending the second indication information at a predetermined time, for example, carrying the second indication information in the handover request during the handover process or at the beginning of the handover; or periodically (every Fixed time) to send the second indication information to the second network device; or, in response to a preset instruction (such as a progress sending instruction or a handover confirmation instruction, etc.) to send the second indication information to the second network device, etc., this application No special restrictions.
  • the second indication information is also used to indicate the information of the first service
  • the information of the first service may include: the identification information of the first service, the type of the first service, and the packet data unit session of the first service. At least one of Unit session, PDU session identification information, PDU session type of the first service, Data Radio Bearer (DRB) identification information of the first service, and the like.
  • the type of the first service is used to indicate what kind of service the first service belongs to, for example, it may be a unicast service or a multicast service; the PDU session type of the first service is used to indicate the session or bearer or connection established for the first service Specifically, the type of service can be determined through the PDU session type.
  • the second instruction information sent by the first network device to the second network device may involve multiple first services. Specifically, if the second instruction information involves multiple first services, it is included in the second instruction information
  • the second sequence number corresponding to the first service will be indicated for each first service, or the second sequence number corresponding to the first service and the information corresponding to the first service will be indicated in the second instruction information for each first service,
  • the second sequence number of each first service is the maximum sequence number of the corresponding first service data packet received by the first network device from the core network device.
  • the process of sending the second instruction information to the second network device includes: first determining every data received by the first network device.
  • the maximum sequence number of the data packet of the first service that is, the second sequence number corresponding to each first service
  • it is generated according to the maximum sequence number of the data packet of each first service that the first network device has received
  • the second instruction information and finally, the second instruction information is sent to the second network device.
  • the maximum sequence number of the data packet corresponding to the first service can be marked by the information of each type of first service, so that the second network device according to the maximum sequence number of the data packet of each type of first service (that is, each type of first service)
  • the mark of the second serial number corresponding to a service determines the maximum serial number of which service each second serial number is.
  • the second network device can determine the first network according to the maximum sequence number of the data packet of the first service received by the first network device from the core network device represented by the second indication information The current progress of the first service supported by the device, so that the second network device can more accurately and effectively perform processing related to the first service in the first network device according to the current progress of the first service supported by the first network device.
  • the first network device receives third indication information sent by the second network device, where the third indication information is used to indicate a third sequence number, and the third sequence number is that the second network device receives from the core network device
  • the maximum sequence number of the data packet of the first service, and the third sequence number has a corresponding relationship with the first service.
  • the third serial number may be marked with the information of the first service in the third indication information to indicate the correspondence between the third serial number and the first service.
  • the first network device can determine which first service's largest serial number the third serial number is specifically based on the corresponding relationship.
  • the second network device can determine the third sequence number corresponding to each first service according to the maximum sequence number of the data packet of each first service received from the core network device , Generating third indication information according to the third sequence number corresponding to each first service, where the third indication information can be marked with the third sequence number corresponding to the first service by using the information of each first service in the third indication information to Indicate the correspondence between each third sequence number in the third indication information and the corresponding first service.
  • the first network device can determine which first service's maximum serial number each third serial number is specifically according to the corresponding relationship.
  • the core network device connected to the second network device may be the same as or different from the core network device connected to the first network device, which is not specifically limited here.
  • the number of the second network device is at least one.
  • the types of services supported by the first network device and the second network device may be completely the same, may be completely different, or may not be completely the same.
  • the purpose of the second network device sending the third indication information to the first network device is to enable the first network device to determine the maximum sequence number of the data packet of the first service that the second network device has received according to the third indication information, and then The current progress of the first service supported by the second network device is determined according to the maximum sequence number of the data packet of the first service that the second network device has received, so that the first network device is able to determine the current progress of the first service supported by the second network device according to the The current progress is better for processing related to the first service supported by the second network device. For example, in the process of the terminal device switching from the second network device to the first network device, the first network device knows the progress of the terminal device’s service on the second network device through the third indication information.
  • the first network device may determine whether service data buffering is required or whether it is necessary to send data packets to the terminal device in a unicast or multicast transmission manner according to the progress of the terminal device's service on the second network device. Based on this, the process of sending the third indication information to the first network device may include: first determining the maximum sequence number of the data packet of the first service that the second network device has received, and then, according to the received first service The maximum sequence number of the data packet generates the third indication information, and finally, the third indication information is sent to the first network device.
  • the principle of determining the maximum sequence number of the data packet of the first service that the second network device has received is: because the second network device will receive at least one first indication information of the first service sent by the core network device Each of the first indication information in the at least one first indication information respectively indicates the first position of the corresponding first data packet. Based on this, according to the first position of the first data packet indicated by each first indication information in the at least one first indication information, the indication information with the largest first position is determined as the target indication information, and according to the first position indicated by the target indication information A position determines the sequence number of the first data packet corresponding to the target indication information, and further determines the maximum sequence number of the received data packet of the first service according to the determined sequence number of the first data packet. For example, if the sequence number of the first data packet indicated by the target indication information is 10, and two more data packets are received after the first data packet, the current maximum sequence number is 12.
  • the timing of sending the third indication information to the first network device may include: sending the third indication information at a predetermined time, for example, carrying the third indication information in the handover request during the handover process or at the beginning of the handover; or periodically (each At a fixed time) send third instruction information to the first network device; or, in response to a preset instruction (such as a progress sending instruction or handover confirmation instruction), send third instruction information, etc., to the first network device. No special restrictions.
  • the third indication information is also used to indicate the information of the first service.
  • the information of the first service may include: the identification information of the first service, the type of the first service, the PDU session identification information of the first service, and the first service information. At least one of the PDU session type of the service, the DRB identification information of the first service, and the like.
  • the type of the first service is used to indicate what kind of service the first service belongs to, for example, it may be a unicast service or a multicast service; the PDU session type of the first service is used to indicate the session or bearer or connection established for the first service Specifically, the type of service can be determined through the PDU session type.
  • the third instruction information sent by the second network device to the first network device may involve multiple first services. Specifically, if the third instruction information involves multiple first services, it is included in the third instruction information
  • the third sequence number corresponding to the first service will be indicated for each first service, or the third sequence number corresponding to the first service and the information corresponding to the first service will be indicated in the third instruction information for each first service,
  • the third sequence number of each first service is the maximum sequence number of the data packet corresponding to the first service received by the second network device from the core network device.
  • the process of sending the third instruction information to the first network device includes: First, determine the information received by the second network device The maximum sequence number of the data packet of each type of first service (that is, the third sequence number corresponding to each type of first service), and then according to the maximum sequence number of the data packet of each type of first service that the second network device has received Generate third instruction information, and finally, send the third instruction information to the first network device.
  • the maximum sequence number of the data packet corresponding to the first service can be marked by the information of each first service, so that the first network device can according to the maximum sequence number of the data packet of each first service (that is, the maximum sequence number of each first service).
  • the mark of the third serial number corresponding to a business determines which business's largest serial number is the third serial number corresponding to each first business.
  • the first network device can determine the second network according to the maximum sequence number of the data packet of the first service received by the second network device from the core network device represented by the third indication information The current progress of the first service supported by the device, so that the first network device can more accurately and effectively perform processing related to the first service in the second network device according to the current progress of the first service supported by the second network device.
  • the first network device may also determine according to the third instruction information The third data packet, and the third data packet is sent to the second network device. Specifically, the first network device determines the maximum sequence number of the data packet of the first service received by the first network device from the core network device, and names the maximum sequence number as the first maximum sequence number; 3. The instruction information determines the maximum sequence number of the data packet of the same first service received by the second network device from the core network device, and names the maximum sequence number as the second maximum sequence number; judges whether the first maximum sequence number is greater than the first 2. The largest serial number.
  • the first network device may determine the specific data packet in the first service whose sequence number is less than or equal to the first maximum sequence number as the third data packet, and send it to the second network device
  • the third data packet is sent, and the first network device may also send second indication information to the second network device, where the second indication information is used to indicate a second sequence number, and the second sequence number indicates that the first network device is from the core network device
  • the second network device buffers the data packets after the first maximum sequence number in the first service Data packets corresponding to all serial numbers.
  • the above-mentioned specific data packet can be determined according to the first maximum sequence number and specific application scenarios.
  • the application scenario is that the network device connected to the terminal device is switched from the first network device to the second network device, that is, the first network device is The source network device of the terminal device, the second network device is the target network device of the terminal device, where the service being processed by the terminal device is the first service
  • the specific data packet is determined according to the following: The interaction information of the first service and the first maximum sequence number determine the specific data packet, where the interaction information of the first service is used to indicate that the first network device has sent to the terminal device and has received the confirmation of correct reception from the terminal device The serial number of the data packet of the first service of the message.
  • the serial number in the first service is less than or equal to the first maximum serial number and is not sent to the terminal device, and the serial number in the first service is less than or equal to the first maximum
  • a data packet with a serial number that has been sent to the terminal device but has not received a confirmation message of correct reception sent by the terminal device is determined to be a specific data packet.
  • the finally determined third data packet is the data packet whose serial number in the first service is less than or equal to the first maximum serial number and is not sent to the terminal device, and the serial number in the first service is less than or equal to the first maximum serial number and has been sent to A data packet sent by the terminal device but not received a confirmation message of correct reception sent by the terminal device.
  • the first maximum sequence number is 10, that is, the maximum sequence number of the first service data packet received by the first network device from the core network device is 10, and the second maximum sequence number is 20, that is, the second network device receives the core network device from the core network device.
  • the maximum sequence number of the data packet of the first service received by the network device is 20, and the first network device has sent the data packet with the sequence number 1 to 5 in the first service to the terminal device and has received the correct reception from the terminal device Feedback, based on this, the first network device determines the data packet with a serial number greater than or equal to 6 and less than or equal to 10 in the first service as the third data packet, and determines the data packet with a serial number greater than or equal to 6 and less than or equal to 10 in the first service
  • the packet is sent to the second network device, and the second network device caches all data packets with the serial number 11 and the serial number greater than 11 in the first service, and after the terminal device switches from the first network device to the second network device, the second network device The network device then sends data packets with a serial number greater than or equal to 6 in the first service to the terminal device.
  • the second network device receives the status report sent by the terminal device before sending, and further determines which data packets to send to the terminal device according to the status report.
  • Terminal Equipment The status report sent by the terminal device may include the serial number of the data packet of the first service that the terminal device has successfully received.
  • the second network device can check the data packets of the first service sent to the terminal device again according to the status report, so as to further ensure the accuracy of the data packets sent to the terminal device.
  • the first network device may determine the specific data packet in the first service whose sequence number is less than or equal to the second maximum sequence number as the third data packet, and send it to the second network.
  • the third data packet is sent, and the first network device may also send second indication information to the second network device, where the second indication information is used to indicate a second sequence number, and the second sequence number indicates that the first network device is from the core network device.
  • the second network device caches the data packets after the second maximum sequence number in the first service Data packets corresponding to all serial numbers.
  • the above-mentioned specific data packet can be determined according to the second largest serial number and specific application scenarios.
  • the application scenario is that the network device connected to the terminal device is switched from the first network device to the second network device, that is, the first network device is The source network device of the terminal device, the second network device is the target network device of the terminal device, where the service supported by the terminal device is the first service, and the specific data packet is determined according to the first network device and the terminal device based on the first
  • the interaction information of a service and the second largest sequence number determine the specific data packet, where the interaction information of the first service is used to indicate that the first network device has sent to the terminal device and has received the confirmation message of correct reception sent by the terminal device
  • the serial number of the data packet of the first service based on this, the serial number in the first service is less than or equal to the second maximum serial number and is not sent to the terminal device, and the serial number in the first service is less than or equal to the second maximum sequence A data packet that has been sent to the terminal device but has not
  • the finally determined third data packet is the data packet whose serial number in the first service is less than or equal to the second maximum serial number and is not sent to the terminal device, and the serial number in the first service is less than or equal to the second maximum serial number and has been sent to The terminal device sent but did not receive the correctly received positive response data packet sent by the terminal device.
  • the first maximum sequence number is 20, that is, the maximum sequence number of the first service data packet received by the first network device from the core network device is 20, and the second maximum sequence number is 15, that is, the second network device receives from the core network device the maximum sequence number of 15.
  • the maximum sequence number of the data packet of the first service received by the network device is 15, and the first network device has sent the data packet with the sequence number 1 to 6 in the first service to the terminal device and has received the correct reception from the terminal device Feedback, based on this, the first network device determines a data packet with a sequence number greater than or equal to 7 and less than or equal to 15 in the first service as the third data packet.
  • the second network device After the device is switched from the first network device to the second network device, the second network device sends the data packet with the serial number greater than or equal to 7 in the first service to the terminal device.
  • the second network device receives the terminal device before sending it.
  • the status report sent by the device further determines which data packets are sent to the terminal device according to the status report.
  • the status report sent by the terminal device may include the serial number of the data packet of the first service that the terminal device has successfully received.
  • the second network device can check the data packets of the first service sent to the terminal device again according to the status report, so as to further ensure the accuracy of the data packets sent to the terminal device.
  • the first network device sends second indication information to the second network device, where the second indication information is used to indicate a second sequence number, and the second sequence number is the first network device received by the first network device from the core network device.
  • the maximum sequence number of a data packet of a service the first network device receives the third indication information sent by the second network device, the third indication information is used to indicate the third sequence number, and the third sequence number is the second network device’s slave The maximum sequence number of the data packet of the first service received by the core network device.
  • the manner in which the first network device interacts with the second network device may include the following three manners. among them;
  • Manner 1 The first network device generates the second indication information according to the maximum sequence number of the data packet of the first service received from the core network device, and sends the second indication information to the second network device; the second network device according to its slave The maximum sequence number of the data packet of the first service received by the core network device generates third indication information, sends the third indication information to the first network device, and the first network device receives the third indication information sent by the second network device.
  • the order in which the first network device sends the second instruction information to the second network device and the first network device receives the third instruction information sent by the second network device is not limited here.
  • the first network device sends information about the first service supported by the first network device (the type of the first service is at least one) to the second network device; the second network device is based on the first service supported by the first network device Information to determine the first service jointly supported by the first network device and the second network device; the second network device determines the maximum sequence number of the data packet of the first service jointly supported by the core network device, and according to the determined common The maximum sequence number of the data packet of the supported first service generates the third indication information, and sends the third indication information to the first network device; the first network device receives the third indication information, and determines the jointly supported information according to the third indication information For the first service, the second indication information is generated according to the maximum sequence number of the data packet of the first service jointly supported received from the core network device; the first network device sends the second indication information to the second network device.
  • the first network device generates the second indication information according to the maximum sequence number of the data packet of the first service received from the core network device, and sends the second indication information to the second network device; the second network device according to the first 2.
  • the indication information determines the first service supported by the first network device, and determines the first service jointly supported by the first network device and the second network device according to the first service supported by the first network device; the second network device determines from the core network The maximum sequence number of the data packet of the first service jointly supported by the device, and the third indication information is generated according to the determined maximum sequence number of the data packet of the first service jointly supported, and the third indication information is sent to the first network Device; the first network device receives the third indication information.
  • the third indication information is also used to indicate whether the second network device supports the first service. Specifically, after the first network device sends the second instruction information to the second network device, the second network device may determine whether the second network device supports the information sent by the first network device according to the information of the first service in the second instruction information. The first service corresponding to the second indication information (that is, the first service supported by the second network device and the first network device is judged), and the judgment result is carried in the third indication information and sent to the first network device.
  • first service supported by the first network device and the first service supported by the second network device may be the same, or different, or not exactly the same, and there is no special limitation here.
  • the progress of the services supported by the first network device and the second network device can be sent between the first network device and the second network device.
  • the second network device can return to the first network device the services of the first network device it supports, realizing the intercommunication of service progress information between the first network device and the second network device, so that the first network device The device and the second network device can accurately and efficiently process related services.
  • the first network device may also determine according to the third instruction information The third data packet, and the third data packet is sent to the second network device. Since this step has been described above, it will not be repeated here.
  • the first network device when the first network device serves as the target network device and the second network device serves as the source network device, after sending the second instruction information to the second network device, it may further include: the first network device determines the fourth network device according to the third instruction information. Data packet, and buffer the fourth data packet.
  • the third indication information is used to indicate a third sequence number, where the third sequence number is the maximum sequence number of the data packet of the first service received by the second network device from the core network device.
  • the first network device determines the maximum sequence number of the data packet of the first service received by the first network device from the core network device, and names the maximum sequence number as the first maximum sequence number;
  • the instruction information determines the maximum sequence number of the data packet of the same first service received by the second network device from the core network device, and names the maximum sequence number as the second maximum sequence number; judges whether the first maximum sequence number is greater than the second Maximum serial number.
  • the fourth data packet is buffered.
  • the first maximum sequence number is 10, that is, the maximum sequence number of the first service data packet received by the first network device from the core network device is 10
  • the second maximum sequence number is 20, that is, the second network device receives the core network device from the core network device. If the maximum sequence number of the data packet of the first service received by the network device is 20, the first network device buffers the data packet with the sequence number 11 and all the data packets with the sequence number greater than 11.
  • the fourth data packet is buffered.
  • the first network device buffers the data packet with the sequence number 12 and all the data packets with the sequence number greater than 12.
  • the progress information is exchanged between the first network device and the second network device, so that the first network device and the second network device are exchanged according to the exchanged progress information.
  • the progress information determines which data packets need to be forwarded and which data packets are buffered, so that after the terminal device is switched from the first network device to the second network device, the situation of interruption and packet loss of the data packets received by the terminal device is avoided, thereby avoiding the occurrence of The phenomenon of service interruption and avoiding the situation that the terminal device receives redundant data packets, thereby avoiding the situation of wasting resource rate.
  • FIG. 3 shows a schematic diagram of the process of switching the network device connected to the terminal device from the first network device to the second network device provided by the present application; as shown in FIG. 3, the terminal device switching process may include the following steps:
  • a core network device sends at least one data packet and indication information of a service to a first network device, where the indication information is used to indicate the first position of the first data packet in the at least one data packet of the service, and
  • the at least one data packet includes a first data packet, and the number of the first data packet is at least one.
  • each indication information is used to indicate the first position of a first data packet.
  • the service here is a service supported by the first network device, and the type of service supported by the first network device may be at least one type, that is, the core network device sends to the first network device at least the amount of each service supported by the first network device.
  • the indication information of each service is used to indicate the first position of the first data packet in at least one data packet of the corresponding service.
  • the core network device sends at least one data packet and indication information of the service to the second network device, where the indication information is used to indicate the first position of the first data packet in the at least one data packet of the service, and At least one data packet includes a first data packet, and the number of the first data packet is at least one. When there are multiple first data packets, there are also multiple indication information, and each indication information is used to indicate one first data packet.
  • the first position is a service supported by the second network device, and the type of service supported by the second network device may be at least one type, that is, the core network device sends to the second network device at least the amount of each service supported by the second network device.
  • the indication information of each service is used to indicate the first position of the first data packet in at least one data packet of the corresponding service.
  • step 301 and step 302. The service supported by the first network device and the service supported by the second network device may be completely the same, or may be completely different, or may not be completely the same.
  • the terminal device sends a measurement report to the first network device. Specifically, the terminal device triggers a measurement report when the report condition is met according to the measurement information configured by the network device, and sends a measurement report to the first network device.
  • the first network device sends a switching request to the second network device when it determines that the terminal device satisfies the switching condition according to the measurement report and the Radio-Resource Management (RRM) algorithm. Specifically, when it is determined that the terminal device satisfies the switching condition, the second network device is determined for the terminal device (that is, the target network device is determined), and the switching request is sent to the second network device.
  • RRM Radio-Resource Management
  • the first service information is carried in the handover request, where the first service is a service supported by the terminal device and the first service belongs to a service supported by the first network device, and the type of the first service is at least one Kind.
  • the handover request carries information about each type of first service.
  • the handover request may also carry the context information of the terminal device.
  • the information of the first service and the second indication information of the first service may be carried in the handover request.
  • the second indication information is used to indicate the second sequence number, and the second sequence number is the first The maximum sequence number of the data packet of the first service received by the network device from the core network device, where the first service is a service supported by the terminal device and the first service belongs to the service supported by the first network device, and the type of the first service is At least one.
  • the handover request carries information of each type of first service and second indication information of each type of first service.
  • the second network device returns a handover request confirmation message to the first network device.
  • the second network device receives the handover request, and generates a confirmation message of the handover request in response to the handover request. Specifically, the second network device matches the information of the first service carried in the handover request with the information of each type of service supported by the second network device to confirm whether the second network device supports the first service according to the matching result, and the details Which first businesses are supported. Specifically, if the information of the first service matches the information of any one of the services supported by the second network device, it is determined that the second network device supports the first service; if the information of the first service matches the information of the second network device When the information of any one of the services does not match, it is determined that the second network device does not support the first service. It should be noted that since the number of first services is at least one, when the number of first services is multiple, it is necessary to sequentially determine whether the second network device supports each first service.
  • the second network device does not support at least one of the first services of each of the first services, that is, the second network device does not support all services supported by the terminal device, a confirmation message of the handover request is generated and carried in the confirmation message
  • the second network device does not support at least one type of first service information for each type of first service.
  • the second network device supports at least one of the first services, that is, the second network device supports all or part of the services supported by the terminal device, a confirmation message of the handover request is generated, and the confirmation message carries the support of the second network device.
  • the third indication information of the first service is used to indicate the third serial number, and the third serial number is the slave of the second network device.
  • the second network device can inform the first network device whether it supports the first service, and if it supports the first service, which first services it specifically supports, and the progress information of the supported first services.
  • the second network device After the second network device confirms that it supports at least one of the first services, it allocates a cell radio network temporary identity (C-RNTI) and other parameters to the terminal device, and performs the handover of the terminal device. ready. Based on this, the confirmation message of the handover request may also carry the C-RNTI and other parameters allocated to the terminal device.
  • C-RNTI cell radio network temporary identity
  • the first network device sends a switching instruction to the terminal device.
  • the first network device after the first network device receives the confirmation information of the handover request, if the confirmation information of the handover request indicates that the second terminal device supports at least one of the first services supported by the terminal device, the first network device sends the terminal The device sends a switching instruction to instruct the terminal device to switch from the first network device to the second network device.
  • the handover instruction may also include the new C-RNTI (that is, the C-RNTI assigned by the second network device to the terminal device), the system information block (System Information Block, SIB) of the second network device, and the configuration information of the terminal device (such as Media Access Control (MAC), Radio Link Control (RLC), Packet Data Convergence Protocol (PDCP) layer configuration, etc.).
  • the first network device After the first network device receives the confirmation message of the handover request, based on the first implementation in step 304, the first network device also needs to follow the information of the first service supported by the second network device carried in the confirmation message, Send to the second network device second indication information of the first service supported by the second network device, where the second indication information is used to indicate a second serial number, where the second serial number is received by the first network device from the core network device The maximum sequence number of the data packet of the first service.
  • the second network device can be notified of the progress information of the first service supported by the second network device in the first network device.
  • the first network device confirms the forwarded data packet, that is, the first network device confirms the forwarded data packet of each type of first service supported by the second network device. Since the principle of confirming the data packet of the first service supported by the second network device to be forwarded is the same as the principle of confirming the third data packet above, it will not be repeated here.
  • the first network device After confirming the forwarded data packet of each first service supported by the second network device, the first network device sends the confirmed forwarding data packet of the first service supported by the second network device to the second network device.
  • the second network device confirms the data packets that need to be buffered, that is, the second network device confirms the data packets of each first service supported by the second network device that need to be buffered. Since the principle of confirming that the second network device needs to buffer the data packets of each first service supported by the second network device has been described above, it will not be repeated here.
  • the terminal device is disconnected from the first network device, and a synchronization process with the second network device is started. After receiving the handover instruction, the terminal device stops the uplink or downlink data transmission with the first network device, and synchronizes with the second network device.
  • the terminal device starts a random access process (a process of randomly accessing a second network device) to obtain uplink timing and uplink resource allocation.
  • the second network device sends a timing advance (Timing Advance, TA) to the terminal device and indicates the resource allocated to it to the terminal device.
  • TA Timing Advance
  • This information will be used by the terminal device to send a radio resource control (Radio Resource Control, RRC) connection reconfiguration complete message to the second network device to indicate the completion of the handover.
  • RRC Radio Resource Control
  • the terminal device sends a confirmation message to the second network device, indicating that the handover has been completed.
  • the second network device sends a handover complete message to the first network device, so that the first network device releases the context information of the terminal device.
  • the second network device sends an instruction to update the network device connected to the terminal device to the core network device, so that the core network device can send the data packet of the terminal device to the second network device.
  • steps 307 to 309 is not limited.
  • FIG. 4 is a schematic structural diagram 1 of an embodiment of a communication device provided by this application.
  • the communication device may be the core network device in FIG. 2, or the communication device may be a chip system or an integrated circuit, and the above chip system and integrated circuit may be located in The core network equipment.
  • the communication device 400 may include: a first receiving module 401 and a sending module 402, where:
  • the first receiving module 401 is configured to receive at least one data packet of a first service, the at least one data packet includes a first data packet, and the first data packet is located at a first position in the at least one data packet; and
  • the module 402 is configured to send the at least one data packet and first indication information to a first network device, where the first indication information is used to indicate the first location.
  • the first indication information includes the sequence number of the first data packet, and the sequence number of the first data packet is used to indicate that the first data packet is in the at least one data packet. The first position in the package.
  • the sending module 402 is further configured to: determine the general wireless packet of the first data packet according to the first position of the first data packet in the at least one data packet Service tunneling protocol-user plane serial number.
  • the first indication information includes a first offset and a sequence number of the first data packet, and the first offset is the sequence number of the first data packet and the sequence number of the first data packet. The difference of the serial number corresponding to the first position.
  • the sequence number of the first data packet is a general radio packet service tunneling protocol-user plane sequence number of the first data packet.
  • the first indication information is included in the header, payload, or data of the first data packet; or, the first indication information is included in the header, payload, or data of a preset data packet. Data.
  • the sending module 402 includes a sending unit configured to send the first indication information to the first network device, wherein: the sending unit is specifically configured to send the first indication information to the first network device at the first time The first network device sends the first indication information, and the first time is one of a plurality of times configured periodically, wherein the time length between two adjacent times of the plurality of times is Setting the duration; or, the sending unit is specifically configured to send the first indication information to the first network device after sending N of the data packets to the first network device, where N ⁇ 0, and N is an integer.
  • FIG. 5 is a second structural diagram of an embodiment of a communication device provided by this application.
  • the communication device may be the first network device in FIG. 2, or the communication device may be a chip system or an integrated circuit, and the above chip system and integrated circuit may be Located in the first network device.
  • the communication device 500 may include: a second receiving module 501, wherein:
  • the second receiving module 501 is configured to receive at least one data packet of a first service from a core network device and first indication information, where the first indication information is used to indicate that the first data packet is in the at least one data packet. In the first position, the at least one data packet includes the first data packet.
  • the first indication information includes the sequence number of the first data packet, and the sequence number of the first data packet is used to indicate that the first data packet is in the at least one data packet. The first position in the package.
  • the first indication information includes a first offset and a sequence number of the first data packet, and the first offset is the sequence number of the first data packet and the sequence number of the first data packet. The difference of the serial number corresponding to the first position.
  • the sequence number of the first data packet is a general radio packet service tunneling protocol-user plane sequence number of the first data packet.
  • the first indication information is included in the header, payload, or data of the first data packet; or, the first indication information is included in the header, payload, or data of a preset data packet. Data.
  • the second receiving module 501 is further configured to send the second instruction information to the second network device after receiving at least one data packet and the first instruction information from the core network device, so The second indication information is used to indicate a second sequence number, where the second sequence number is the maximum sequence number of the data packet of the first service received by the first network device from the core network device; and/or, The second receiving module 501 is further configured to receive third instruction information sent by the second network device after receiving at least one data packet and the first indication information from the core network device, and the third instruction information is used for To indicate a third sequence number, where the third sequence number is the maximum sequence number of the data packet of the first service received by the second network device from the core network device.
  • the first network device serves as a source network device
  • the second network device serves as a target network device
  • the second indication information is also used to indicate information about the first service
  • the information of the first service includes at least one of the following:
  • the identification information of the first service; the type of the first service; the packet data unit session identification information of the first service; the packet data unit session type of the first service; the data wireless of the first service Bearer identification information; the third indication information is also used to indicate whether the second network device supports the first service.
  • the second serial number corresponds to the first service; and/or, the third serial number corresponds to the first service.
  • the second receiving module 501 is further configured to, after receiving the third instruction information sent by the second network device, determine a third data packet according to the third instruction information, and to The second network device sends the third data packet.
  • the second receiving module 501 is further configured to send data to the second network device. After the second indication information, a fourth data packet is determined according to the third indication information, and the fourth data packet is cached.
  • This application also provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium.
  • the computer program When the computer program is executed by a computer, the computer executes the steps and/or processing in any of the above-mentioned method embodiments. .
  • the present application also provides a computer program product, the computer program product includes computer program code, when the computer program code runs on a computer, the computer executes the steps and/or processing in any of the foregoing method embodiments.
  • the application also provides a chip including a processor.
  • the memory used to store the computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory to execute the steps and/or processing in any of the foregoing method embodiments.
  • the chip may also include a memory and a communication interface.
  • the communication interface may be an input/output interface, a pin, an input/output circuit, or the like.
  • Fig. 6 is a schematic structural diagram of a communication device provided by this application.
  • the communication device 600 may be the first network device or the core network device in FIG. 2 described above.
  • the communication device 600 includes an antenna 601, a radio frequency device 602, and a baseband device 603.
  • the antenna 601 is connected to the radio frequency device 602.
  • the radio frequency device 602 receives a signal from the terminal device or the first network device through the antenna 601, and sends the received signal to the baseband device 603 for processing.
  • the baseband device 603 In the downlink direction, the baseband device 603 generates a signal that needs to be sent to the terminal device or the first network device, and sends the generated signal to the radio frequency device 602.
  • the radio frequency device 602 transmits the signal through the antenna 601.
  • the antenna 601 is a type of transceiver.
  • the baseband device 603 may include one or more processing units 6031.
  • the processing unit 6031 may specifically be a processor.
  • the baseband device 603 may further include one or more storage units 6032 and one or more communication interfaces 6033.
  • the storage unit 6032 is used to store computer programs and/or data, and the storage unit 6032 may specifically be a memory.
  • the communication interface 6033 is used to exchange information with the radio frequency device 602.
  • the storage unit 6032 may specifically be a memory, and the communication interface 6033 may be an input/output interface or a transceiver circuit.
  • the storage unit 6032 may be a storage unit on the same chip as the processing unit 6031, that is, an on-chip storage unit, or a storage unit on a different chip from the processing unit 6031, that is, an off-chip storage unit. This application does not limit this.
  • the processor may be configured to call the computer program and/or data stored in the memory to implement the method described in any of the foregoing method embodiments.
  • the steps of the foregoing method embodiments may be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the processor can be a general-purpose processor, digital signal processor (digital signal processor, DSP), application-specific integrated circuit (ASIC), field programmable gate array (field programmable gate array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware encoding processor, or executed and completed by a combination of hardware and software modules in the encoding processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory mentioned in the above embodiments may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • 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 on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (personal computer, server, or network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种通信方法和装置,其中通信方法包括:接收第一业务的至少一个数据包,所述至少一个数据包包含第一数据包,所述第一数据包在所述至少一个数据包中位于第一位置;向第一网络设备发送所述至少一个数据包以及第一指示信息,所述第一指示信息用于指示所述第一位置。本申请通过向第一网络设备发送第一指示信息,使得第一网络设备可根据第一指示信息指示的第一位置确定当前处理的第一业务的进度信息,进而便于第一网络设备根据第一业务的进度信息更加准确、有效地进行与第一业务相关的处理,从而更好的为用户提供业务服务,提升用户体验。

Description

通信方法和装置 技术领域
本申请涉及通信技术,尤其涉及一种通信方法和装置。
背景技术
目前,无线通信系统已经广泛应用于人们的日常生活中,具体的,无线通信系统可以向用户提供电话、语音、视频、数据、收发等各种服务,以使用户可以足不出户即可处理日常生活、工作、学习中的大小事务,极大的提升了用户处理事务的便捷性,同时也提升了用户的体验。
无线通信系统包括至少一个核心网设备和至少一个基站,用户的终端设备可以通过接入基站与无线通信系统进行连接,以使用户通过终端设备和无线通信系统对业务进行处理。无线通信系统对业务的相关处理例如可以包括:在用户的终端设备处理某一业务时,核心网设备将业务的数据包发送至基站,基站将接收到的业务的数据包发送至用户的终端设备,以使用户的终端设备根据业务的数据包对业务进行处理;在无线通信系统包含多个基站的场景下,由于用户位置或者通信质量发生变化时,用户的终端设备连接的基站需要从源基站切换至目标基站,切换完成后,目标基站需要继续处理与终端设备相关的业务。
然而,在无线通信系统的运行过程中,由于基站无法检测其支持的业务的进度信息,导致基站无法准确的进行与其支持的业务相关的处理,从而无法很好的为用户提供业务服务,影响用户体验。
发明内容
本申请提供一种通信方法和装置,以解决由于基站无法检测其支持的业务的进度信息,导致基站无法准确的进行与其支持的业务相关的处理,从而无法很好的为用户提供业务服务,影响用户体验的问题。
第一方面,本申请提供一种通信方法,包括:
接收第一业务的至少一个数据包,所述至少一个数据包包含第一数据包,所述第一数据包在所述至少一个数据包中位于第一位置;向第一网络设备发送所述至少一个数据包以及第一指示信息,所述第一指示信息用于指示所述第一位置。
其中,所述第一网络设备可以为源网络设备或者目标网络设备。
通过向第一网络设备发送第一指示信息,其中第一指示信息用于指示第一业务中的第一数据包的第一位置,使得第一网络设备可根据第一指示信息指示的第一位置确定当前处理的第一业务的进度信息,进而便于第一网络设备根据第一业务的进度信息更加准确、有效地进行与第一业务相关的处理,从而更好的为用户提供业务服务,提升用户体验。
在一种可能的实现方式中,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
在一种可能的实现方式中,根据所述第一数据包在所述至少一个数据包中的所述第一位置确定所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
在一种可能的实现方式中,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
在一种可能的实现方式中,向所述第一网络设备发送所述第一指示信息,包括:
在第一时刻向所述第一网络设备发送所述第一指示信息,所述第一时刻为周期配置的多个时刻的其中之一,其中,所述多个时刻中的相邻两个时刻之间的时长为设定时长;或者,在向所述第一网络设备发送N个所述数据包后,向所述第一网络设备发送所述第一指示信息,其中,N≥0,且N为整数。
第二方面,本申请提供一种通信方法,包括:接收来自核心网设备的第一业务的至少一个数据包以及第一指示信息,所述第一指示信息用于指示第一数据包在所述至少一个数据包中的第一位置,所述至少一个数据包包含所述第一数据包。
通过接收核心网设备发送的第一指示信息,其中第一指示信息用于指示第一业务中的第一数据包的第一位置,第一网络设备可根据第一指示信息指示的第一位置确定当前处理的第一业务的进度信息,进而便于第一网络设备根据第一业务的进度信息更加准确、有效地进行与第一业务相关的处理,从而更好的为用户提供业务服务,提升用户体验。
在一种可能的实现方式中,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
在一种可能的实现方式中,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
在一种可能的实现方式中,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
在一种可能的实现方式中,所述接收来自核心网设备的至少一个数据包以及第一指示信息之后,还包括:向第二网络设备发送第二指示信息,所述第二指示信息用于指示第二序列号,所述第二序列号为第一网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号;和/或,接收所述第二网络设备发送的第三指示信息,所述第三指示信息用于指示第三序列号,所述第三序列号为所述第二网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号。
通过向第二网络设备发送第二指示信息,使得第二网络设备可以根据第二指示信息表征的第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号确定第一网络设备支持的第一业务的当前进度,从而使得第二网络设备根据第一网络设备支持的第 一业务的当前进度更加准确、有效地进行与第一网络设备支持的第一业务相关的处理。
通过接收第二网络设备发送的第三指示信息,使得第一网络设备可以根据第三指示信息表征的第二网络设备从核心网设备接收到的第一业务的数据包的最大序列号确定第二网络设备支持的第一业务的当前进度,从而使得第一网络设备根据第二网络设备支持的第一业务的当前进度更加准确、有效地进行与第二网络设备支持的第一业务相关的处理。
在一种可能的实现方式中,所述第一网络设备作为源网络设备,所述第二网络设备作为目标网络设备,所述第二指示信息还用于指示所述第一业务的信息,所述第一业务的信息包括以下至少一种:
所述第一业务的标识信息;所述第一业务的类型;所述第一业务的分组数据单元会话标识信息;所述第一业务的分组数据单元会话类型;所述第一业务的数据无线承载标识信息;所述第三指示信息还用于指示所述第二网络设备是否支持所述第一业务。
在一种可能的实现方式中,所述第二序列号和所述第一业务对应;和/或,所述第三序列号和所述第一业务对应。
在一种可能的实现方式中,所述接收所述第二网络设备发送的第三指示信息之后,还包括:根据所述第三指示信息确定第三数据包;向所述第二网络设备发送所述第三数据包。
在一种可能的实现方式中,当所述第一网络设备作为目标网络设备,所述第二网络设备作为源网络设备时,所述向第二网络设备发送第二指示信息之后,还包括:根据所述第三指示信息确定第四数据包;缓存所述第四数据包。
第三方面,本申请提供一种通信装置,包括:第一接收模块,用于接收第一业务的至少一个数据包,所述至少一个数据包包含第一数据包,所述第一数据包在所述至少一个数据包中位于第一位置;发送模块,用于向第一网络设备发送所述至少一个数据包以及第一指示信息,所述第一指示信息用于指示所述第一位置。
在一种可能的实现方式中,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
在一种可能的实现方式中,所述发送模块还用于:根据所述第一数据包在所述至少一个数据包中的所述第一位置确定所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
在一种可能的实现方式中,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
在一种可能的实现方式中,所述发送模块包括用于向所述第一网络设备发送所述第一指示信息的发送单元,其中:所述发送单元,具体用于在第一时刻向所述第一网络设备发送所述第一指示信息,所述第一时刻为周期配置的多个时刻的其中之一,其中,所 述多个时刻中的相邻两个时刻之间的时长为设定时长;或者,所述发送单元,具体用于在向所述第一网络设备发送N个所述数据包后,向所述第一网络设备发送所述第一指示信息,其中,N≥0,且N为整数。
第四方面,本申请提供一种通信装置,包括:第二接收模块,用于接收来自核心网设备的第一业务的至少一个数据包以及第一指示信息,所述第一指示信息用于指示第一数据包在所述至少一个数据包中的第一位置,所述至少一个数据包包含所述第一数据包。
在一种可能的实现方式中,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
在一种可能的实现方式中,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
在一种可能的实现方式中,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
在一种可能的实现方式中,所述第二接收模块,还用于在接收来自核心网设备的至少一个数据包以及第一指示信息之后,向第二网络设备发送第二指示信息,所述第二指示信息用于指示第二序列号,所述第二序列号为第一网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号;和/或,所述第二接收模块,还用于在接收来自核心网设备的至少一个数据包以及第一指示信息之后,接收所述第二网络设备发送的第三指示信息,所述第三指示信息用于指示第三序列号,所述第三序列号为所述第二网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号。
在一种可能的实现方式中,所述第一网络设备作为源网络设备,所述第二网络设备作为目标网络设备,所述第二指示信息还用于指示所述第一业务的信息,所述第一业务的信息包括以下至少一种:
所述第一业务的标识信息;所述第一业务的类型;所述第一业务的分组数据单元会话标识信息;所述第一业务的分组数据单元会话类型;所述第一业务的数据无线承载标识信息;所述第三指示信息还用于指示所述第二网络设备是否支持所述第一业务。
在一种可能的实现方式中,所述第二序列号和所述第一业务对应;和/或,所述第三序列号和所述第一业务对应。
在一种可能的实现方式中,所述第二接收模块还用于在接收所述第二网络设备发送的第三指示信息之后,根据所述第三指示信息确定第三数据包,以及向所述第二网络设备发送所述第三数据包。
在一种可能的实现方式中,所述第一网络设备作为目标网络设备,所述第二网络设备作为源网络设备,所述第二接收模块还用于在向第二网络设备发送第二指示信息之后,根据所述第三指示信息确定第四数据包,以及缓存所述第四数据包。
第五方面,本申请提供一种通信系统,包括:至少一个核心网设备,至少一个第一网络设备,其中:所述核心网设备包含上述第三方面中任一项所述的装置;所述第一网 络设备包含上述第四方面中任一项所述的装置。或者,所述通信系统包括至少一个第一网络设备以及至少一个终端设备,所述第一网络设备包含上述第四方面中任一项所述的装置。
第六方面,本申请提供一种计算机可读存储介质,包括计算机程序,所述计算机程序在计算机上被执行时,使得所述计算机执行第一方面至第二方面中任一项所述的方法。
第七方面,本申请提供一种计算机程序,当所述计算机程序被计算机执行时,用于执行第一方面至第二方面中任一项所述的方法。
第八方面,本申请提供一种芯片,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行第一方面至第二方面中任一项所述的方法。
第九方面,本申请提供一种通信设备,包括:处理器;以及存储器,用于存储计算器程序和/或数据;收发器用于接收和发送信息;其中,处理器被配置为调用所述存储器中存储的计算机程序和/或数据,以使得所述通信设备实现上述第一方面至第二方面中任一项所述的方法。
附图说明
图1为本申请提供的通信方法的一个应用场景示意图;
图2为本申请提供的通信方法的流程示意图一;
图3示出了本申请提供的终端设备连接的网络设备从第一网络设备切换至第二网络设的流程示意图;
图4为本申请提供的通信装置实施例的结构示意图一;
图5为本申请提供的通信装置实施例的结构示意图二;
图6为本申请提供的通信设备的示意性结构图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书实施例和权利要求书及附图中的术语“第一”、“第二”等仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元。方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是 单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
图1为本申请提供的通信方法的一个应用场景示意图。由图1可知,该应用场景中包括核心网设备10、网络设备20和30、终端设备21-26、31-33。其中,终端设备21-26与网络设备20连接,终端设备31-33与网络设备30连接。
此外,终端设备24-26可以组成一个通信系统。基于此,网络设备20可以发送下行数据给终端设备21-23、以及终端设备24,终端设备24可以向终端设备25和26发送下行数据。
终端设备31-33可以发送上行数据给网络设备30,网络设备30可以发送下行数据给终端设备31-33。
核心网设备10接收业务的数据服务器或数据网络发送的业务的数据包。具体的,针对多种业务,首先分别建立核心网设备10与各种业务的数据服务器或数据网络之间的链路或者会话连接(后面描述中均用链路表示),然后,每种业务的数据服务器或数据网络通过对应的链路向核心网设备10发送数据包;核心网设备10从对应链路上接收对应业务的数据包。
核心网设备10向网络设备发送业务的数据包。具体的,针对至少一种业务和一个网络设备,首先在核心网设备10与该网络设备之间为至少一种业务中的每种业务建立链路,然后,核心网设备10通过每种业务的链路向该网络设备发送对应业务的数据包。需要说明的是,由于核心网设备10向每个网络设备发送至少一种业务的数据包的原理相同,因此,此处不再对针对至少一种业务和多个网络设备的情况进行说明。
如图1中所示,若将一业务的数据包发送至网络设备20和30,则需在核心网设备10与网络设备20之间建立该业务的第一链路,在核心网设备10与网络设备30之间建立该业务的第二链路,然后,核心网设备10通过第一链路向网络设备20发送该业务的数据包以及通过第二链路向网络设备30发送该业务的数据包;若将第一业务的数据包和第二业务的数据包均发送至网络设备20,则在核心网设备10与网络设备20之间建立第一业务的链路,以及在核心网设备10与网络设备20之间建立第二业务的链路,然后,核心网设备10通过第一业务的链路向网络设备20发送第一业务的数据包以及通过第二业务的链路向网络设备20发送第二业务的数据包;若将第一业务的数据包发送至网络设备20,将第二业务的数据包发送至网络设备30,则在核心网设备10与网络设备20之间建立第一业务的链路,在核心网设备10与网络设备30之间建立第二业务的链路,然后,核心网设备10通过第一业务的链路将第一业务的数据包发送至网络设备20以及通过第二业务的链路向网络设备30发送第二业务的数据包。
网络设备可以向终端设备发送下行数据,其中,下行数据包括业务的数据包。网络设备向终端设备发送下行数据的方式可以包括两种:第一种,网络设备可以采用单播的方式向终端设备发送下行数据;第二种,网络设备可以采用多播(或者组播)的方式向终端设备发送下行数据。
具体的,若采用单播的方式向终端设备发送下行数据,则在网络设备向多个终端设 备发送某一业务的数据包时,需基于该业务为每个终端设备与网络设备建立专用承载或者专用连接,以使每个终端设备通过与其对应的专用承载从网络设备接收该业务的数据包。若网络设备向同一终端设备发送多种业务的数据包,可能需要基于每种业务建立该终端设备与网络设备的一个或者多个专用承载。
若采用多播的方式向终端设备发送下行数据,则在网络设备向至少一个终端设备发送某一业务的数据包(即下行数据)时,不需要针对每个终端设备都建立一个专用承载或者连接,至少一个终端设备可以通过统一的承载或者配置信息从网络设备接收该业务的数据包。
如图1中所示,网络设备20可以采用单播的方式向终端设备21-23发送下行数据,网络设备20可以采用单播的方式向终端设备24和终端设备26发送下行数据,终端设备24可以采用多播的方式或者设备到设备(Device to Device,D2D)通信的方式向终端设备25-26发送数据,网络设备30可以采用多播的方式向终端设备31-33发送下行数据。
此外,终端设备21-26可以发送上行数据给网络设备20,终端设备31-33可以发送上行数据给网络设备30。
网络设备支持的业务可以根据与该网络设备连接的终端设备正在进行的业务确定。核心网设备支持的业务可以根据与该核心网设备连接的网络设备支持的业务确定。
上述网络设备例如可以为基站等具有收发功能的实体,此处不作具体限定。上述终端设备例如可以为:手机、电脑、电子阅读器、打印机、智能厨具、音响、具有信息收发功能的交通工具等,本申请对此不作特殊限定。上述核心网设备例如可以为接入和移动管理功能(Access and Mobility Management Function,AMF)、业务管理功能(Service Management Function,SMF)、用户口功能(User Port Function,UPF)等,此处不作特殊限定。
上述业务可以为多播业务(Multimedia Broadcast Multicast Service,MBMS)或者广播业务或者单播业务,本申请对此不作特殊限定。多播业务或者广播业务是一对多的通信业务,例如,多播业务可以为直播业务、点播业务等,还可以是工业场景或者公共安全场景中或者车联网场景需要进行一对多通信的业务,比如批量下发指令或者批量软件更新或者一对多通信等。单播业务是一对一的通信业务。
在网络设备与终端设备之间,MBMS业务可以通过建立终端设备专用的承载以单播的形式发送给终端设备,具体的,当有多个终端设备需要接收某一MBMS业务时,若以单播的形式发送,则需为大量的终端设备建立专用承载;在网络设备与终端设备之间,也可以通过建立MBMS专用的承载以广播的形式发送给终端设备,具体的,若以多播的形式发送给终端设备,则只需建立MBMS专用的承载,所有处理该MBMS业务的终端设备都可以通过MBMS专用的承载接收该MBMS。
需要说明的是,上述场景以及场景的说明仅为示例性的,并不用于限定本申请,即本申请还可以适用于网络设备大于两个和核心网设备为多个的场景,以及适用于多个网络设备协作且与多个终端设备进行数据通信的场景。
图2为本申请提供的通信方法的流程示意图一,如图2所示,该通信方法可以包括以下步骤:
步骤201、核心网设备接收第一业务的至少一个数据包,该至少一个数据包包含第一 数据包,该第一数据包在该至少一个数据包中位于第一位置。
在本申请实施例中,第一业务的数据服务器或者数据网络将第一业务的至少一个数据包通过第一业务的数据服务器或者数据网络与核心网设备之间的链路发送至核心网设备,核心网设备接收第一业务的至少一个数据包。其中,第一业务的至少一个数据包包含第一数据包,该第一数据包在第一业务的至少一个数据包中位于第一位置,该第一数据包的数量可以为一个或者多个,每个第一数据包在第一业务的至少一个数据包中的位置为对应第一数据包的第一位置。
具体的,每个数据包(包括第一数据包)在第一业务的至少一个数据包(包括第一数据包)中的位置可以理解为:将第一业务的至少一个数据包中的每个数据包按照发送的先后顺序进行排序,每个数据包的排序位置为对应的数据包在第一业务的至少一个数据包中的位置。第一业务为上文中的业务中的任一种,由于上文中已经对业务进行了具体说明,因此此处不再对第一业务进行赘述。
具体的,第一业务的数据服务器或者数据网络向核心网设备发送第一业务的至少一个数据包的过程可以包括:在第一业务的至少一个数据包中选定第一数据包,其中,第一数据包的数量可以为至少一个;将第一业务的至少一个数据包中的每个数据包(包括选定的第一数据包)发送至核心网设备,或者将第一业务的至少一个数据包中的每个数据包(包括选定的第一数据包)和每个选定的第一数据包对应的第一信息发送至核心网设备,其中,第一数据包对应的第一信息指示第一数据包在至少一个数据包中的顺序或者位置或者序列号。
在第一业务的至少一个数据包中选定第一数据包的方式可以包括:将第一业务的至少一个数据包中的每个数据包均选定为第一数据包;或者,将第一业务的至少一个数据包中的第M个数据包选定为第一数据包,以及在第M个数据包之后的数据包中每隔一预设数量的数据包选定一个第一数据包,M为整数且大于等于1;或者,将第一业务的至少一个数据包中位于奇数位的数据包选定为第一数据包。需要说明的是,上述选定第一数据包的方式仅为示例性的,并不用于限定本发明,即还可以根据其他的方式选定第一数据包。
每个第一数据包对应的第一信息的发送时机可以包括:在发送第一数据包的同时发送该第一数据包对应的第一信息;或者,在每发送一个第一数据包后发送该第一数据包对应的第一信息等,本申请对此不作特殊限定。
第一数据包对应的第一信息的发送方式可以包括:将第一数据包对应的第一信息作为一个单独的信息进行发送;或者,将第一数据包对应的第一信息携带在第一数据包(例如第一数据包的包头、负载等)中进行发送等,本申请对此不作特殊限定。
第一业务的数据服务器或者数据网络将第一业务的至少一个数据包中的每个数据包(包括选定的第一数据包)发送至核心网设备的过程可以包括:将第一业务的至少一个数据包中的每个数据包依次发送至核心网设备,即在一个数据包发送完成后,再发送下一个数据包;或者,将第一业务的至少一个数据包中的预设数量的数据包同时发送至核心网设备,以及在该预设数量的数据包发送完成后,发送下一个预设数量的数据包,即同时向核心网设备发送多个数据包,以提高发送效率,其中预设数量可以为标准设定的,还可以由第一业务的数据服务器或者数据网络设定的,此处不对预设数量的设置方式进 行限定。需要说明的是,上述向核心网设备发送第一业务的至少一个数据包的方式仅为示例性的,并不用于限定本发明,即还可以通过其他方式向核心网设备发送第一业务的数据包。
需要说明的是,核心网设备可以同时接收至少一种业务中的每种业务的至少一个数据包,即至少一种业务中的每种业务的数据服务器或者数据网络(需要说明的是,不同业务也可以是同一个数据服务器或者数据网络)可以分别将对应业务的至少一个数据包发送至核心网设备;核心网设备接收每种业务的数据服务器或者数据网络发送的对应业务的至少一个数据包。其中,上述第一业务为至少一种业务中的任意一种业务。由于每种业务的数据服务器或者数据网络向核心网设备发送对应业务的至少一个数据包的原理相同,且上文中已经对第一业务的数据服务器或者数据网络向核心网设备发送第一业务的至少一个数据包的原理进行了说明,因此,此处不再对其他各种业务的数据服务器或者数据网络向核心网设备发送对应业务的至少一个数据包的原理进行赘述。
需要说明的是,上述步骤201为可选步骤。
步骤202、核心网设备向第一网络设备发送该至少一个数据包以及第一指示信息,该第一指示信息用于指示上述第一位置。
在本申请实施例中,核心网设备向第一网络设备发送第一业务的至少一个数据包的方式可以包括:核心网设备在接收完第一业务的至少一个数据包后(即接收完第一业务的所有数据包后),向第一网络设备发送第一业务的至少一个数据包;或者核心网设备在接收到第一业务的至少一个数据包中的一个数据包后,将接收到的第一业务的数据包发送至第一网络设备,即核心网设备在接收第一业务的数据包的过程中向第一网络设备发送已接收到的第一业务的数据包。需要说明的是,上述过程仅为示例性的,并不用于限定本发明。
向第一网络设备发送上述第一指示信息的方式可以为:在第一时刻向第一网络设备发送第一指示信息,该第一时刻为周期配置的多个时刻的其中之一,且该多个时刻中相邻两个时刻之间的时长为设定时长,该设定时长可由核心网设备设置,还可以由第一业务的数据服务器或者数据网络设置,此处不作特殊限定,例如,设定时长为20毫秒或者30毫秒。在该方式中,通过周期配置的多个时刻中相邻的两个时刻划分出多个具有设定时长的周期,多个时刻中的每个时刻作为对应周期的起始时刻或终止时刻,基于此,可以在每个周期的起始时刻或者终止时刻发送对应周期对应的第一指示信息,其中,与每个周期对应的第一指示信息用于指示对应周期中向第一网络设备发送的第一业务的数据包中任意一个第一数据包的第一位置;或者,在向第一网络设备发送第一业务的至少一个数据包中的N个数据包后,向该第一网络设备发送第一指示信息(不限定N个数据包的第一个数据包是哪个数据包),其中,N≥0,且N为整数,即每发送N个第一业务的数据包后,发送一次与每N个第一业务的数据包对应的第一指示信息。具体的,与每N个第一业务的数据包对应的第一指示信息用于指示每N个第一业务的数据包中的任意一个第一数据包的第一位置或者顺序或者序列号。若N=1,则每向第一网络设备发送一个第一业务的数据包,向第一网络设备发送与已发送的第一业务的数据包对应的第一指示信息,与已发送的第一业务的数据包对应的第一指示信息用于指示该已发送的数据包(即第一数据包)的第一位置,即将第一业务的每个数据包均作为第一数据包,然后,每向第一 网络设备发送一个第一数据包,发送一次第一指示信息,该第一指示信息用于指示已发送的第一数据包的第一位置;若N=5,则每向第一网络设备发送五个第一业务的数据包,向第一网络设备发送一次与该已发送的五个第一业务的数据包对应的第一指示信息,与该已发送的五个第一业务的数据包对应的第一指示信息用于指示该已发送的五个第一业务的数据包中的任意一个第一数据包的第一位置。需要说明的是,上述方式仅为示例性的,并不用于限定本发明,即还可以通过其他方式发送第一指示信息。
此外,还可以在向第一网络设备发送第一业务的第一个数据包时,发送一次与第一个数据包对应的第一指示信息,即将第一业务的第一个数据包确定为第一数据包,该第一指示信息用于指示第一业务的第一个数据包的位置,以告知第一网络设备接收到的第一业务的第一个数据包的起始位置,后续可以根据上述两种方式向第一网络设备发送第一指示信息。
第一指示信息可以包括以下两种方式,其中:
第一种,第一指示信息包括第一数据包的序列号,该第一数据包的序列号用于指示该第一数据包在第一业务的至少一个数据包中的第一位置。即可以对第一业务的至少一个数据包中的每个数据包根据发送的先后顺序进行排序,以得到第一业务的至少一个数据包中的每个数据包的序列号,其中,每个数据包的序列号用于指示每个数据包在第一业务的至少一个数据包中的位置,由于第一数据包为第一业务的至少一个数据包中的数据包,且第一数据包在第一业务的至少一个数据包中的位置为第一位置,因此,第一数据包的序列号用于指示第一数据包在第一业务的至少一个数据包中的第一位置。
第一数据包的序列号可以为一独立于第一数据包中的任何原有的序列号的一个序列号。第一数据包的序列号也可以为第一数据包中的任何一个原有的序列号。第一数据包中的原有的序列号例如可以为第一数据包的通用无线分组业务隧道协议-用户面(General packet radio service Tunnel Protocol-User plane,GTP-U)序列号等,此处不作特殊限定。若第一数据包的序列号为第一数据包的GTP-U序列号,则在核心网设备接收到第一业务的至少一个数据包之后,根据第一数据包在第一业务的至少一个数据包中的第一位置或者顺序确定第一数据包的GTP-U序列号,即通过第一数据包的GTP-U序列号指示第一数据包在第一业务的至少一个数据包中的第一位置。
第二种,第一指示信息包括第一偏置和第一数据包的序列号,该第一偏置为该第一数据包的序列号与该第一数据包的第一位置对应的序列号的差值。此处的第一数据包的序列号可以为第一数据包中原有的序列号中的一个也可以是预设的序列号。其中,第一数据包中原有的序列号可以包括第一数据包的GTP-U序列号等,此处不作特殊限定。预设的序列号可以为核心网设备发送给第一网络设备的一个已知序列号。需要说明的是,此处的第一数据包的序列号不用于指示第一数据包在第一业务的至少一个数据包中的第一位置。此处的第一数据包的第一位置对应的序列号可以理解为上述第一种方式中的第一数据包的序列号,即第一数据包的第一位置对应的序列号用于指示第一数据包在第一业务的至少一个数据包中的第一位置,由于在第一种方式中对第一数据包的序列号作出了说明,因此此处不再对第一数据包的第一位置对应的序列号进行说明。基于此,在第一网络设备接收到第一指示信息后,可以根据第一指示信息中的第一偏置和第一数据包的序列号确定第一数据包的第一位置对应的序列号,进而根据第一数据包的第一位置对 应的序列号确定第一数据包在第一业务的至少一个数据包中的位置。
需要说明的是,上述第一指示信息的具体表示方式仅为示例性的,并不用于限定本发明。
第一指示信息的发送方式可以包括以下三种,其中:
第一种,第一指示信息可以作为一个独立于第一数据包的信息进行发送,例如,可以通过控制信息或者控制信令发送等。
第二种,第一指示信息包含在第一数据包的包头、负载或者数据中,即将第一指示信息携带在第一数据包的包头、负载或者数据中进行发送。
第三种,第一指示信息包含在预设数据包的包头、负载或者数据中,即根据第一指示信息设置一预设数据包,并将第一指示信息携带在预设数据包的包头、负载或者数据中,以通过向第一网络设备发送预设数据包的方式发送第一指示信息。预设数据包的类型、大小等规格,可以根据实际需求进行预先设置,此处不作特殊限定。
第一指示信息的生成方式包括:若核心网设备接收到第一数据包对应的第一信息,则根据第一数据包对应的第一信息生成该第一数据包对应的第一指示信息;若核心网设备未接收到第一数据包对应的第一信息,则核心网设备根据第一数据包的第一位置生成第一指示信息。
需要说明的是,核心网设备需将接收的数据包发送至第一网络设备,但是在核心网设备将接收的数据包发送至第一网络设备之前,需要在该数据包的包头中添加一些核心网设备的相关协议层处理信息,但是该数据包的负载或者数据保持不变,因此,可以理解为核心网设备接收的和向第一网络设备发送的同一个数据包是存在不同的,即数据包的负载或者数据相同,但是数据包的包头不同,为了便于描述,为核心网设备接收的和向第一网络设备发送的负载或者数据相同的数据包(即同一个数据包)设置相同的名称。换言之,步骤201接收的和步骤202发送的名称相同的数据包的负载或者数据相同,但是包头不同。
需要说明的是,核心网设备可以同时向第一网络设备发送至少一种业务中的每种业务的至少一个数据包和第一指示信息。其中,上述第一业务为至少一种业务中的任意一种业务。由于核心网设备向第一网络设备发送每种业务的至少一个数据包和第一指示信息的原理相同,且上文中已经对核心网设备向第一网络设备发送第一业务的至少一个数据包和第一指示信息的原理进行了说明,因此此处不再对核心网设备向第一网络设备发送其他各种业务的至少一个数据包和第一指示信息的原理进行赘述。
以及,核心网设备可以同时向至少一个网络设备中的每个网络设备发送第一业务的至少一个数据包和第一指示信息,其中,上述第一网络设备为至少一个网络设备中的任意一个。由于核心网设备向每个网络设备发送第一业务的至少一个数据包和指示信息的原理相同,且上文中已经对核心网设备向第一网络设备发送第一业务的至少一个数据包和第一指示信息的原理进行了说明,因此此处不再对核心网设备向其他各网络设备发送第一业务的至少一个数据包和第一指示信息的原理进行赘述。此外,不同网络设备支持的业务的种类可以完全相同,也可以完全不同,还可以不完全相同。
步骤203、第一网络设备接收来自核心网设备的第一业务的至少一个数据包以及第一指示信息,其中,第一指示信息用于指示第一数据包在第一业务的至少一个数据包中的 第一位置或者顺序或者序列号,该至少一个数据包包括该第一数据包。
在本申请实施例中,第一网络设备在接收到核心网络设备发送的第一指示信息,其中第一指示信息用于指示第一业务中的第一数据包的第一位置。这样,第一网络设备可以确定当前处理的第一业务的进度信息,进而便于根据第一业务的进度信息更加准确、有效的进行与第一业务相关的处理,为用户提供更好的业务服务,提升用户体验。
在第一网络设备成功接收来自核心网设备的数据包和/或第一指示信息后,可以向核心网设备发送一接收成功信息,以告知核心网设备第一网络设备已经成功接收其发送的数据包和/或第一指示信息,若核心网设备没有接收到第一网络设备发送的接收成功信息,则核心网设备确认第一网络设备并未成功接收其发送的数据包和/或第一指示信息,核心网设备需重新向第一网络设备发送该未成功接收的数据包和/或第一指示信息。
第一网络设备接收到第一业务的至少一个数据包以及第一指示信息,将基于第一业务的至少一个数据包以及第一指示信息进行下一步的处理。下面,将通过以下三种方式对第一网络设备的通信流程进行说明,其中:
第一种,第一网络设备向第二网络设备发送第二指示信息,第二指示信息用于指示第二序列号,第二序列号为第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号,第二序列号与第一业务具有对应关系。例如,可以在第二指示信息中通过第一业务的信息对第二序列号进行标记,以指示第二序列号与第一业务的对应关系。通过在第二指示信息中指示第二序列号与第一业务的对应关系,可使第二网络设备根据对应关系确定第二序列号具体为哪个第一业务的最大序列号。在同时有多种不同第一业务进行的场景中,第一网络设备可以根据从核心网设备接收的每种第一业务的数据包的最大序列号确定每种第一业务对应的第二序列号,根据每种第一业务对应的第二序列号生成第二指示信息,其中,在第二指示信息中可以通过每种第一业务的信息对对应第一业务的第二序列号进行标记,以指示第二指示信息中每个第二序列号与对应的第一业务的对应关系。通过在第二指示信息中指示每个第二序列号与第一业务的对应关系,可使第二网络设备根据对应关系确定每个第二序列号具体为哪个第一业务的最大序列号。
进一步可选的,序列号与业务之间的对应关系可以是预先配置或者预先定义的。例如,业务的数据包的最大序列号与该业务之间存在对应关系,又如,业务的数据包的最小序列号与该业务之间存在对应关系。具体的,至少一个业务与所述至少一个业务的数据包的序列号之间存在对应关系。
在本申请实施例中,第二网络设备连接的核心网设备可以与第一网络设备连接的核心网设备相同,也可以不同,此处对此不作特殊限定。第二网络设备的数量为至少一个。第一网络设备和第二网络设备支持的业务种类可以完全相同,也可以完全不同,还可以不完全相同。
第一网络设备向第二网络设备发送第二指示信息的目的为:使第二网络设备可以根据第二指示信息确定第一网络设备已经接收到的第一业务的数据包的最大序列号,进而根据第一网络设备已经接收到的第一业务的数据包的最大序列号确定第一网络设备支持的第一业务的当前进度,从而使得第二网络设备根据第一网络设备支持的第一业务的当前进度更好的进行与第一网络设备支持的第一业务相关的处理。例如在终端设备从第一网络设备向第二网络设备切换的过程中,第二网络设备通过第二指示信息知道终端设备 在第一网络设备的业务的进度,在终端设备切换过来以后,第二网络设备可以根据终端设备在第一网络设备的业务的进度确定是否需要进行业务数据缓冲或者确定需要通过单播或者多播传输方式向终端设备发送数据包。基于此,向第二网络设备发送第二指示信息的过程可以包括:首先确定第一网络设备已经接收到的第一业务的数据包的最大序列号(即第二序列号),然后,根据第一网络设备已经接收到的第一业务的数据包的最大序列号生成第二指示信息,最后,将第二指示信息发送至第二网络设备。
具体的,确定第一网络设备已经接收到的第一业务的数据包的最大序列号的原理为:第一网络设备会收到由核心网设备发送的第一业务的至少一个第一指示信息,该至少一个第一指示信息中的每个第一指示信息分别指示对应的第一数据包的第一位置。基于此,根据至少一个第一指示信息中的每个第一指示信息指示的第一数据包的第一位置,将第一位置最大的指示信息确定为目标指示信息,根据目标指示信息指示的第一位置确定与目标指示信息对应的第一数据包的序列号,并进一步根据该确定的第一数据包的序列号确定接收的第一业务的数据包的最大序列号。例如,目标指示信息对应的第一数据包的序列号为10,在目标指示信息对应的第一数据包后又收到了2个数据包,则当前最大的序列号为12。
向第二网络设备发送第二指示信息的时机可以包括:在预定的时间发送第二指示信息,例如切换过程中或者切换开始时,在切换请求中携带第二指示信息;或者周期性(每个固定的时间)向第二网络设备发送第二指示信息;或者,响应于一预设指令(例如进度发送指令或者切换确认指令等)向第二网络设备发送第二指示信息等,本申请对此不作特殊限定。
进一步的,第二指示信息还用于指示第一业务的信息,该第一业务的信息可以包括:第一业务的标识信息、第一业务的类型、第一业务的分组数据单元会话(Packet Data Unit session,PDU session)标识信息、第一业务的PDU session类型、第一业务的数据无线承载(Data Radio Bearer,DRB)标识信息等中的至少一种。其中,第一业务的类型用于指示第一业务属于何种业务,例如可以是单播业务或者组播业务;第一业务的PDU session类型用于指示为第一业务建立的会话或者承载或者连接的类型,具体的,可以通过PDU session类型判断出业务的类型。
需要说明的是,第一网络设备向第二网络设备发送的第二指示信息可以涉及多种第一业务,具体的,若第二指示信息涉及多种第一业务,则在第二指示信息中会针对每种第一业务指示对应第一业务的第二序列号,或者在第二指示信息中会针对每种第一业务指示对应第一业务的第二序列号和对应第一业务的信息,其中,每种第一业务的第二序列号为第一网络设备从核心网设备接收到的对应的第一业务的数据包的最大序列号。
例如,若第一网络设备向第二网络设备发送的第二指示信息涉及3种第一业务,则向第二网络设备发送第二指示信息的过程包括:首先确定第一网络设备接收到的每种第一业务的数据包的最大序列号(即每种第一业务对应的第二序列号),然后,根据第一网络设备已经接收到的每种第一业务的数据包的最大序列号生成第二指示信息,最后,将第二指示信息发送至第二网络设备。其中,可以通过每种第一业务的信息对对应第一业务的数据包的最大序列号进行标记,以使第二网络设备根据每种第一业务的数据包的最大序列号(即每种第一业务对应的第二序列号)的标记确定每个第二序列号具体是哪个业 务的最大序列号。
通过向第二网络设备发送第二指示信息,使得第二网络设备可以根据第二指示信息表征的第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号确定第一网络设备支持的第一业务的当前进度,从而使得第二网络设备根据第一网络设备支持的第一业务的当前进度更加准确、有效地进行与第一网络设备中的第一业务相关的处理。
第二种,第一网络设备接收第二网络设备发送的第三指示信息,该第三指示信息用于指示第三序列号,该第三序列号为该第二网络设备从核心网设备接收到的第一业务的数据包的最大序列号,第三序列号与第一业务具有对应关系。例如,可以在第三指示信息中通过第一业务的信息对第三序列号进行标记,以指示第三序列号与第一业务的对应关系。通过在第三指示信息中指示第三序列号与第一业务的对应关系,可使第一网络设备根据对应关系确定第三序列号具体为哪个第一业务的最大序列号。在同时有多种不同第一业务进行的场景中,第二网络设备可以根据从核心网设备接收的每种第一业务的数据包的最大序列号确定每种第一业务对应的第三序列号,根据每种第一业务对应的第三序列号生成第三指示信息,其中,在第三指示信息中可以通过每种第一业务的信息对对应第一业务的第三序列号进行标记,以指示第三指示信息中每个第三序列号与对应的第一业务的对应关系。通过在第三指示信息中指示每个第三序列号与第一业务的对应关系,可使第一网络设备根据对应关系确定每个第三序列号具体为哪个第一业务的最大序列号。
在本申请实施例中,第二网络设备连接的核心网设备可以与第一网络设备连接的核心网设备相同,也可以不同,此处对此不作特殊限定。第二网络设备的数量为至少一个。第一网络设备和第二网络设备支持的业务种类可以完全相同,也可以完全不同,还可以不完全相同。
第二网络设备向第一网络设备发送第三指示信息的目的是:使第一网络设备可以根据第三指示信息确定第二网络设备已经接收到的第一业务的数据包的最大序列号,进而根据第二网络设备已经接收到的第一业务的数据包的最大序列号确定第二网络设备支持的第一业务的当前进度,从而使得第一网络设备根据第二网络设备支持的第一业务的当前进度更好的进行与第二网络设备支持的第一业务相关的处理。例如在终端设备从第二网络设备向第一网络设备切换的过程中,第一网络设备通过第三指示信息知道终端设备在第二网络设备的业务的进度,在终端设备切换过来以后,第一网络设备可以根据终端设备在第二网络设备的业务的进度确定是否需要进行业务数据缓冲或者确定需要通过单播或者多播传输方式向终端设备发送数据包。基于此,向第一网络设备发送第三指示信息的过程可以包括:首先确定第二网络设备已经接收到的第一业务的数据包的最大序列号,然后,根据已经接收到的第一业务的数据包的最大序列号生成第三指示信息,最后,将第三指示信息发送至第一网络设备。
具体的,确定第二网络设备已经接收到的第一业务的数据包的最大序列号的原理为:由于第二网络设备会收到由核心网设备发送的第一业务的至少一个第一指示信息,该至少一个第一指示信息中的每个第一指示信息分别指示对应的第一数据包的第一位置。基于此,根据至少一个第一指示信息中的每个第一指示信息指示的第一数据包的第一位置,将第一位置最大的指示信息确定为目标指示信息,根据目标指示信息指示的第 一位置确定与目标指示信息对应的第一数据包的序列号,并进一步根据该确定的第一数据包的序列号确定接收的第一业务的数据包的最大序列号。例如,目标指示信息指示的第一数据包的序列号为10,在第一数据包后又收到了2个数据包,则当前最大的序列号为12。
向第一网络设备发送第三指示信息的时机可以包括:在预定的时间发送第三指示信息,例如切换过程中或者切换开始时,在切换请求中携带第三指示信息;或者周期性(每个固定的时间)向第一网络设备发送第三指示信息;或者,响应于一预设指令(例如进度发送指令或者切换确认等指令)向第一网络设备发送第三指示信息等,本申请对此不作特殊限定。
进一步的,第三指示信息还用于指示第一业务的信息,该第一业务的信息可以包括:第一业务的标识信息、第一业务的类型、第一业务的PDU session标识信息、第一业务的PDU session类型、第一业务的DRB标识信息等中的至少一种。其中,第一业务的类型用于指示第一业务属于何种业务,例如可以是单播业务或者组播业务;第一业务的PDU session类型用于指示为第一业务建立的会话或者承载或者连接的类型,具体的,可以通过PDU session类型判断出业务的类型。
需要说明的是,第二网络设备向第一网络设备发送的第三指示信息可以涉及多种第一业务,具体的,若第三指示信息涉及多种第一业务,则在第三指示信息中会针对每种第一业务指示对应第一业务的第三序列号,或者在第三指示信息中会针对每种第一业务指示对应第一业务的第三序列号和对应第一业务的信息,其中,每种第一业务的第三序列号为第二网络设备从核心网设备接收到的对应第一业务的数据包的最大序列号。
例如,若第二网络设备向第一网络设备发送的第三指示信息涉及4种第一业务,则向第一网络设备发送第三指示信息的过程包括:首先,确定第二网络设备接收到的每种第一业务的数据包的最大序列号(即每种第一业务对应的第三序列号),然后,根据第二网络设备已经接收到的每种第一业务的数据包的最大序列号生成第三指示信息,最后,将第三指示信息发送至第一网络设备。其中,可以通过每种第一业务的信息对对应第一业务的数据包的最大序列号进行标记,以使第一网络设备根据每个第一业务的数据包的最大序列号(即每种第一业务对应的第三序列号)的标记确定每种第一业务对应的第三序列号具体是哪个业务的最大序列号。
通过向第一网络设备发送第三指示信息,使得第一网络设备可以根据第三指示信息表征的第二网络设备从核心网设备接收到的第一业务的数据包的最大序列号确定第二网络设备支持的第一业务的当前进度,从而使得第一网络设备根据第二网络设备支持的第一业务的当前进度更加准确、有效地进行与第二网络设备中的第一业务相关的处理。
进一步的,若第一网络设备作为源网络设备,第二网络设备作为目标网络设备时,在接收到第二网络设备发送的第三指示信息之后,第一网络设备还可以根据第三指示信息确定第三数据包,以及向第二网络设备发送第三数据包。具体的,第一网络设备确定第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号,并将该最大序列号命名为第一最大序列号;第一网络设备根据第三指示信息确定第二网络设备从核心网设备接收到的同一第一业务的数据包的最大序列号,并将该最大序列号命名为第二最大序列号;判断第一最大序列号是否大于第二最大序列号。
若第一最大序列号小于第二最大序列号,则第一网络设备可以将第一业务中序列号小于等于第一最大序列号的特定数据包确定为第三数据包,并向第二网络设备发送第三数据包,以及第一网络设备还可以向第二网络设备发送第二指示信息,该第二指示信息用于指示第二序列号,第二序列号为第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号,以及在第二网络设备判定第一最大序列号小于第二最大序列号后,第二网络设备缓存第一业务中第一最大序列号之后的所有序列号对应的数据包。
上述的特定数据包可以根据第一最大序列号和具体的应用场景进行确定,例如,若应用场景为终端设备连接的网络设备从第一网络设备切换至第二网络设备,即第一网络设备为终端设备的源网络设备,第二网络设备为终端设备的目标网络设备,其中,终端设备正在处理的业务为第一业务,则特定数据包的确定方式为:根据第一网络设备与终端设备基于第一业务的交互信息以及第一最大序列号确定特定数据包,其中,第一业务的交互信息用于指示第一网络设备已经向终端设备发送的且已收到终端设备发送的正确接收的确认消息的第一业务的数据包的序列号,基于此,将第一业务中序列号小于等于第一最大序列号且未向终端设备发送的数据包以及第一业务中序列号小于等于第一最大序列号且已向终端设备发送但未收到终端设备发送的正确接收的确认消息的数据包确定为特定数据包。综上,最终确定的第三数据包为第一业务中序列号小于等于第一最大序列号且未向终端设备发送的数据包和第一业务中序列号小于等于第一最大序列号且已向终端设备发送但未收到终端设备发送的正确接收的确认消息的数据包。
例如,若第一最大序列号为10,即第一网络设备从核心网设备接收的第一业务的数据包的最大序列号为10,第二最大序列号为20,即第二网络设备从核心网设备接收的第一业务的数据包的最大序列号为20,以及第一网络设备已经将第一业务中序列号为1~5的数据包发送至终端设备并且已经收到终端设备的正确接收反馈,基于此,第一网络设备将第一业务中序列号大于等于6且小于等于10的数据包确定为第三数据包,以及将第一业务中序列号大于等于6且小于等于10的数据包发送至第二网络设备,以及第二网络设备缓存第一业务中序列号为11以及序列号大于11的所有数据包,等终端设备从第一网络设备切换到第二网络设备后,第二网络设备再将第一业务中序列号大于等于6的数据包发送给终端设备,可选的,第二网络设备在发送之前接收终端设备发送的状态报告,根据状态报告进一步确定发送哪些数据包给终端设备。其中,终端设备发送的状态报告可以包括终端设备已经接收成功的第一业务的数据包的序列号。通过接收终端设备发送的状态报告,使得第二网络设备可以根据状态报告再次对发送至终端设备的第一业务的数据包进行核查,以进一步确保发送至终端设备的数据包的准确性。
若第一序列号大于等于第二最大序列号,则第一网络设备可以将第一业务中序列号小于等于第二最大序列号的特定数据包确定为第三数据包,并向第二网络设发送第三数据包,以及第一网络设备还可以向第二网络设备发送第二指示信息,该第二指示信息用于指示第二序列号,第二序列号为第一网络设备从核心网设备接收的第一业务的数据包的最大序列号,以及在第二网络设备判断第一最大序列号大于等于第二最大序列号后,第二网络设备缓存第一业务中第二最大序列号之后的所有序列号对应的数据包。
上述的特定数据包可以根据第二最大序列号和具体的应用场景进行确定,例如,若应用场景为终端设备连接的网络设备从第一网络设备切换至第二网络设备,即第一网络 设备为终端设备的源网络设备,第二网络设备为终端设备的目标网络设备,其中,终端设备支持的业务为第一业务,则特定数据包的确定方式为:根据第一网络设备与终端设备基于第一业务的交互信息以及第二最大序列号确定特定数据包,其中,第一业务的交互信息用于指示第一网络设备已经向终端设备发送的且已收到终端设备发送的正确接收的确认消息的第一业务的数据包的序列号,基于此,将第一业务中序列号小于等于第二最大序列号且未向终端设备发送的数据包以及第一业务中序列号小于等于第二最大序列号且已向终端设备发送但未收到终端设备发送的正确接收的肯定应答(Acknowledge,ACK)的数据包确定为特定数据包。综上,最终确定的第三数据包为第一业务中序列号小于等于第二最大序列号且未向终端设备发送的数据包和第一业务中序列号小于等于第二最大序列号且已向终端设备发送但未收到终端设备发送的正确接收的肯定应答的数据包。
例如,若第一最大序列号为20,即第一网络设备从核心网设备接收的第一业务的数据包的最大序列号为20,第二最大序列号为15,即第二网络设备从核心网设备接收的第一业务的数据包的最大序列号为15,以及第一网络设备已经将第一业务中序列号为1~6的数据包发送至终端设备并且已经收到终端设备的正确接收反馈,基于此,第一网络设备将第一业务中序列号大于等于7且小于等于15的数据包确定为第三数据包。以及将第一业务中序列号大于等于7且小于等于15的数据包发送至第二网络设备,以及第二网络设备缓存第一业务中序列号为16以及序列号大于16的数据包,等终端设备从第一网络设备切换到第二网络设备后,第二网络设备再将第一业务中序列号大于等于7的数据包发送给终端设备,可选的,第二网络设备在发送之前接收终端设备发送的状态报告,根据状态报告进一步确定发送哪些数据包给终端设备。其中,终端设备发送的状态报告可以包括终端设备已经接收成功的第一业务的数据包的序列号。通过接收终端设备发送的状态报告,使得第二网络设备可以根据状态报告再次对发送至终端设备的第一业务的数据包进行核查,以进一步确保发送至终端设备的数据包的准确性。
第三种,第一网络设备向第二网络设备发送第二指示信息,该第二指示信息用于指示第二序列号,该第二序列号为第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号;第一网络设备接收第二网络设备发送的第三指示信息,该第三指示信息用于指示第三序列号,该第三序列号为第二网络设备从核心网设备接收到的第一业务的数据包的最大序列号。
在本申请实施例中,第一网络设备与第二网络设备进行交互的方式可以包括以下三种方式。其中;
方式一,第一网络设备根据其从核心网设备接收的第一业务的数据包的最大序列号生成第二指示信息,将第二指示信息发送至第二网络设备;第二网络设备根据其从核心网设备接收的第一业务的数据包的最大序列号生成第三指示信息,将第三指示信息发送至第一网络设备,第一网络设备接收第二网络设备发送的第三指示信息。此处不对第一网络设备向第二网络设备发送第二指示信息和第一网络设备接收第二网络设备发送的第三指示信息在执行上的先后顺序做限定。
方式二,第一网络设备向第二网络设备发送第一网络设备支持的第一业务的信息(第一业务的种类为至少一种);第二网络设备根据第一网络设备支持的第一业务的信息,确 定第一网络设备和第二网络设备共同支持的第一业务;第二网络设备确定从核心网设备接收的共同支持的第一业务的数据包的最大序列号,以及根据确定的共同支持的第一业务的数据包的最大序列号生成第三指示信息,将第三指示信息发送至第一网络设备;第一网络设备接收第三指示信息,并根据第三指示信息确定共同支持的第一业务,根据从核心网设备接收的共同支持的第一业务的数据包的最大序列号生成第二指示信息;第一网络设备将第二指示信息发送至第二网络设备。
方式三,第一网络设备根据其从核心网设备接收的第一业务的数据包的最大序列号生成第二指示信息,以及将第二指示信息发送至第二网络设备;第二网络设备根据第二指示信息确定第一网络设备支持的第一业务,以及根据第一网络设备支持的第一业务确定第一网络设备和第二网络设备共同支持的第一业务;第二网络设备确定从核心网设备接收的共同支持的第一业务的数据包的最大序列号,以及根据确定的共同支持的第一业务的数据包的最大序列号生成第三指示信息,将第三指示信息发送至第一网络设备;第一网络设备接收第三指示信息。
由于上述确定第一业务的最大序列号的原理已经在上文中进行了说明,因此此处不再进行赘述。
进一步的,第三指示信息还用于指示第二网络设备是否支持第一业务。具体的,第一网络设备向第二网络设备发送第二指示信息后,第二网络设备可以根据第二指示信息中的第一业务的信息,判断第二网络设备是否支持第一网络设备发送的第二指示信息对应的第一业务(即判断第二网络设备和第一网络设备共同支持的第一业务),并将判断结果携带在第三指示信息中发送给第一网络设备。
需要说明的是,第一网络设备支持的第一业务与第二网络设备支持的第一业务可以相同,也可以不同,还可以不完全相同,此处不作特殊限定。
由上可知,通过向第一网络设备发送第二指示信息并接收第二网络设备发送的第三指示信息,使得第一网络设备和第二网络设备之间可以将其自身支持的业务的进度发送至对方,以及第二网络设备可以向第一网络设备返回其所支持的第一网络设备的业务,实现了第一网络设备和第二网络设备之间的业务进度信息的互通,使得第一网络设备和第二网络设备能够准确,高效的进行相关业务的处理。
进一步的,若第一网络设备作为源网络设备,第二网络设备作为目标网络设备时,在接收到第二网络设备发送的第三指示信息之后,第一网络设备还可以根据第三指示信息确定第三数据包,以及向第二网络设备发送第三数据包。由于该步骤已经在上文中进行了说明,因此此处不再进行赘述。
此外,当第一网络设备作为目标网络设备,第二网络设备作为源网络设备时,向第二网络设备发送第二指示信息之后,还可以包括:第一网络设备根据第三指示信息确定第四数据包,以及缓存第四数据包。第三指示信息用于指示第三序列号,该第三序列号为第二网络设备从核心网设备接收到的第一业务的数据包的最大序列号。具体的,第一网络设备确定第一网络设备从核心网设备接收的第一业务的数据包的最大序列号,并将该最大序列号命名为第一最大序列号;第一网络设备根据第三指示信息确定第二网络设备从核心网设备接收到的同一第一业务的数据包的最大序列号,并将该最大序列号命名为第二最大序列号;判断第一最大序列号是否大于第二最大序列号。
若第一最大序列号小于第二最大序列号,则将序列号大于第一最大序列号的所有数据包确定为第四数据包,并缓存第四数据包。
例如,若第一最大序列号为10,即第一网络设备从核心网设备接收的第一业务的数据包的最大序列号为10,第二最大序列号为20,即第二网络设备从核心网设备接收的第一业务的数据包的最大序列号为20,则第一网络设备缓存序列号为11的数据包以及序列号大于11的所有数据包。
若第一最大序列号大于等于第二最大序列号,则将序列号大于第二最大序列号的所有数据包确定为第四数据包,并缓存第四数据包。
例如,若第一最大序列号为20,即第一网络设备从核心网设备接收的第一业务的数据包的最大序列号为20,第二最大序列号为11,即第二网络设备从核心网设备接收的第一业务的数据包的最大序列号为11,则第一网络设备缓存序列号为12的数据包以及序列号大于12的所有数据包。
需要说明的是,上述三种方式仅为示例性的,并不用于限定本发明。
综上,由于在终端设备从第一网络设备切换至第二网络设备时,第一网络设备和第二网络设备之间进行进度信息的交换,使第一网络设备和第二网络设备根据交换的进度信息决定哪些数据包需要转发,哪些数据包进行缓存,使得终端设备从第一网络设备切换至第二网络设备后,避免出现终端设备接收的数据包出现中断、丢包的情况,从而避免出现业务中断的现象,以及避免出现终端设备接收到冗余数据包的情况,进而避免出现浪费资源率的情况。
下面,将举例对终端设备连接的网络设备从第一网络设备切换到第二网络设备的过程进行详细的说明。
图3示出了本申请提供的终端设备连接的网络设备从第一网络设备切换至第二网络设的流程示意图;如图3所示,终端设备的切换过程可以包括以下步骤:
301、核心网设备向第一网络设备发送业务的至少一个数据包和指示信息,其中,该指示信息用于指示第一数据包在上述业务的至少一个数据包中的第一位置,上述业务的至少一个数据包包括第一数据包,第一数据包的数量为至少一个。在第一数据包为多个时,指示信息也为多个,且每个指示信息用于指示一个第一数据包的第一位置。此处的业务为第一网络设备支持的业务,第一网络设备支持的业务的种类可以为至少一种,即核心网设备向第一网络设备分别发送第一网络设备支持的每种业务的至少一个数据包和指示信息。每种业务的指示信息用于指示对应业务的至少一个数据包中的第一数据包的第一位置。
302、核心网设备向第二网络设备发送业务的至少一个数据包和指示信息,其中,该指示信息用于指示第一数据包在上述业务的至少一个数据包中的第一位置,上述业务的至少一个数据包包括第一数据包,第一数据包的数量为至少一个,在第一数据包为多个时,指示信息也为多个,且每个指示信息用于指示一个第一数据包的第一位置。此处的业务为第二网络设备支持的业务,第二网络设备支持的业务的种类可以为至少一种,即核心网设备向第二网络设备分别发送第二网络设备支持的每种业务的至少一个数据包和指示信息。每种业务的指示信息用于指示对应业务的至少一个数据包中的第一数据包的第一位置。
需要说明的是,步骤301和步骤302在执行顺序上没有先后之分。第一网络设备支持的业务和第二网络设备支持的业务可以完全相同,也可以完全不同,还可不完全相同。
303、终端设备向第一网络设备发送测量报告。具体的,终端设备根据网络设备配置的测量信息,在满足上报条件的时候触发测量上报,向第一网络设备发送测量报告。
304、第一网络设备根据测量报告和无线资源管理(Radio-Resource Management,RRM)算法判定终端设备满足切换条件时,向第二网络设备发送切换请求。具体的,在判定终端设备满足切换条件时,为终端设备确定第二网络设备(即确定目标网络设备),以及向第二网络设备发送切换请求。
在第一种实现方式中,在切换请求中携带第一业务的信息,其中第一业务为终端设备支持的业务且第一业务属于第一网络设备支持的业务,第一业务的种类为至少一种。需要说明的是,第一业务为多种时,切换请求中携带每种第一业务的信息。此外,切换请求中还可以携带终端设备的上下文信息。通过携带第一业务的信息可以告知第二网络设备终端设备支持的业务的信息。
在第二种实现方式中,可以在切换请求中携带第一业务的信息和第一业务的第二指示信息,该第二指示信息用于指示第二序列号,该第二序列号为第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号,其中,第一业务为终端设备支持的业务且第一业务属于第一网络设备支持的业务,第一业务的种类为至少一种。需要说明的是,第一业务为多种时,切换请求中携带每种第一业务的信息和每种第一业务的第二指示信息。通过携带第一业务的信息和第一业务的第二指示信息可以告知第二网络设备终端设备支持的每种业务的信息和进度信息。
305、第二网络设备向第一网络设备返回切换请求的确认消息。
第二网络设备接收切换请求,并响应于该切换请求生成该切换请求的确认消息。具体的,第二网络设备将切换请求中携带的第一业务的信息与第二网络设备支持的每种业务的信息进行匹配,以根据匹配结果确认第二网络设备是否支持第一业务,以及具体支持哪些第一业务。具体的,若第一业务的信息与第二网络设备支持的业务中的任意一种业务的信息匹配时,确定第二网络设备支持第一业务;若第一业务的信息与第二网络设备支持的业务中的任意一种业务的信息都不匹配时,确定第二网络设备不支持第一业务。需要说明的是,由于第一业务的数量为至少一个,因此,在第一业务的数量为多个时,需要依次判断第二网络设备是否支持每种第一业务。
若第二网络设备不支持至少一种第一业务中的每种第一业务,即第二网络设备不支持终端设备支持的所有业务,则生成切换请求的确认消息,并在该确认消息中携带第二网络设备不支持至少一种第一业务的每种第一业务的信息。
若第二网络设备支持至少一种第一业务,即第二网络设备支持终端设备支持的所有业务或者部分业务,则生成切换请求的确认消息,并在该确认消息中携带第二网络设备支持的每种第一业务的信息,以及支持的每种第一业务的第三指示信息,该第一业务的第三指示信息用于指示第三序列号,该第三序列号为第二网络设备从核心网设备接收到的第一业务的数据包的最大序列号。
通过上述过程,第二网络设备可以告知第一网络设备其是否支持第一业务,以及若支持第一业务,则其具体支持哪些第一业务,以及支持的第一业务的进度信息。
此外,在第二网络设备确认其支持至少一种第一业务后,为终端设备分配小区无线网络临时标识(Cell Radio Network Tempory Identity,C-RNTI)和其他参数,并为该终端设备的切换做准备。基于此,切换请求的确认消息还可以携带为终端设备分配的C-RNTI和其他参数等。
306、第一网络设备向终端设备发送切换指令。
在本申请实施例中,第一网络设备接收切换请求的确认信息之后,若切换请求的确认信息中指示第二终端设备支持终端设备支持的至少一种第一业务,则第一网络设备向终端设备发送切换指令,指示终端设备从第一网络设备切换至第二网络设备。另外,切换指令还可以包括新C-RNTI(即第二网络设备为终端设备分配的C-RNTI)、第二网络设备的系统信息块(System Information Block,SIB)、终端设备的配置信息(如媒体接入控制层(Medium Access Control,MAC)、无线链路控制(Radio Link Control,RLC)、分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层的配置等)。
此外,在第一网络设备接收切换请求的确认消息之后,基于步骤304中的第一种实现方式,第一网络设备还需要根据确认消息中携带的第二网络设备支持的第一业务的信息,向第二网络设备发送第二网络设备支持的第一业务的第二指示信息,该第二指示信息用于指示第二序列号,该第二序列号为第一网络设备从核心网设备接收到的第一业务的数据包的最大序列号。通过向第二网络设备发送第二网络设备支持的第一业务的第二指示信息,可以告知第二网络设备其支持的第一业务在第一网络设备中的进度信息。
307、第一网络设备确认转发的数据包,即第一网络设备确认转发的第二网络设备支持的每种第一业务的数据包。由于确认转发的第二网络设备支持的第一业务的数据包的原理与上文中的确认第三数据包的原理相同,因此此处不再进行赘述。
第一网络设备确认了转发的第二网络设备支持的每种第一业务的数据包后,将确认转发的第二网络设备支持的第一业务的数据包发送至第二网络设备。
308、第二网络设备确认需要缓存的数据包,即,第二网络设备确认需要缓存的第二网络设备支持的每种第一业务的数据包。由于确认第二网络设备需要缓存的第二网络设备支持的每种第一业务的数据包的原理已经在上文中进行了说明,因此此处不再进行赘述。
309、终端设备与第一网络设备断开,启动与第二网络设备的同步过程。终端设备在接收到切换指令后,停止与第一网络设备的上行或下行数据传输,并向第二网络设备进行同步。
310、终端设备启动随机接入过程(随机接入第二网络设备的过程),来获取上行的定时和上行资源分配。第二网络设备向终端设备发送定时提前(Timing Advance,TA)并向终端设备指示分给它的资源。这些信息将用于终端设备向第二网络设备发送无线资源控制(Radio Resource Control,RRC)连接重配置完成消息,以指示切换完成。
311、终端设备向第二网络设备发送确认消息,指示已完成切换。
312、第二网络设备向第一网络设备发送切换完成消息,以便于第一网络设备释放终端设备的上下文信息。
313、第二网络设备向核心网设备发送更新终端设备连接的网络设备的指令,以便于核心网设备将终端设备的数据包发送至第二网络设备。
需要说明的是,上述步骤307~309在执行顺序上不作限定。
图4为本申请提供的通信装置实施例的结构示意图一,该通信装置可以为图2中的核心网设备,或者所述通信装置可以为芯片系统或集成电路,上述芯片系统和集成电路可以位于所述核心网设备中。具体的,如图4所示,该通信装置400可以包括:第一接收模块401、发送模块402,其中:
第一接收模块401,用于接收第一业务的至少一个数据包,所述至少一个数据包包含第一数据包,所述第一数据包在所述至少一个数据包中位于第一位置;发送模块402,用于向第一网络设备发送所述至少一个数据包以及第一指示信息,所述第一指示信息用于指示所述第一位置。
在一种可能的实现方式中,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
在一种可能的实现方式中,所述发送模块402还用于:根据所述第一数据包在所述至少一个数据包中的所述第一位置确定所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
在一种可能的实现方式中,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
在一种可能的实现方式中,所述发送模块402包括用于向所述第一网络设备发送所述第一指示信息的发送单元,其中:所述发送单元,具体用于在第一时刻向所述第一网络设备发送所述第一指示信息,所述第一时刻为周期配置的多个时刻的其中之一,其中,所述多个时刻中的相邻两个时刻之间的时长为设定时长;或者,所述发送单元,具体用于在向所述第一网络设备发送N个所述数据包后,向所述第一网络设备发送所述第一指示信息,其中,N≥0,且N为整数。
本申请的上述装置,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
图5为本申请提供的通信装置实施例的结构示意图二,该通信装置可以为图2中的第一网络设备,或者所述通信装置可以为芯片系统或集成电路,上述芯片系统和集成电路可以位于所述第一网络设备中。具体的,如图5所示,该通信装置500可以包括:第二接收模块501,其中,
第二接收模块501,用于接收来自核心网设备的第一业务的至少一个数据包以及第一指示信息,所述第一指示信息用于指示第一数据包在所述至少一个数据包中的第一位置,所述至少一个数据包包含所述第一数据包。
在一种可能的实现方式中,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
在一种可能的实现方式中,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
在一种可能的实现方式中,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
在一种可能的实现方式中,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
在一种可能的实现方式中,所述第二接收模块501,还用于在接收来自核心网设备的至少一个数据包以及第一指示信息之后,向第二网络设备发送第二指示信息,所述第二指示信息用于指示第二序列号,所述第二序列号为第一网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号;和/或,所述第二接收模块501,还用于在接收来自核心网设备的至少一个数据包以及第一指示信息之后,接收所述第二网络设备发送的第三指示信息,所述第三指示信息用于指示第三序列号,所述第三序列号为所述第二网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号。
在一种可能的实现方式中,所述第一网络设备作为源网络设备,所述第二网络设备作为目标网络设备,所述第二指示信息还用于指示所述第一业务的信息,所述第一业务的信息包括以下至少一种:
所述第一业务的标识信息;所述第一业务的类型;所述第一业务的分组数据单元会话标识信息;所述第一业务的分组数据单元会话类型;所述第一业务的数据无线承载标识信息;所述第三指示信息还用于指示所述第二网络设备是否支持所述第一业务。
在一种可能的实现方式中,所述第二序列号和所述第一业务对应;和/或,所述第三序列号和所述第一业务对应。
在一种可能的实现方式中,所述第二接收模块501还用于在接收所述第二网络设备发送的第三指示信息之后,根据所述第三指示信息确定第三数据包,以及向所述第二网络设备发送所述第三数据包。
在一种可能的实现方式中,当所述第一网络设备作为目标网络设备,所述第二网络设备作为源网络设备时,所述第二接收模块501还用于在向第二网络设备发送第二指示信息之后,根据所述第三指示信息确定第四数据包,以及缓存所述第四数据包。
本申请的上述装置,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行上述任一方法实施例中的步骤和/或处理。
本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述任一方法实施例中的步骤和/或处理。
本申请还提供一种芯片,所述芯片包括处理器。用于存储计算机程序的存储器独立于芯片而设置,处理器用于执行存储器中存储的计算机程序,以执行上述任一方法实施例中的步骤和/或处理。
进一步地,所述芯片还可以包括存储器和通信接口。所述通信接口可以是输入/输出 接口、管脚或输入/输出电路等。
图6为本申请提供的通信设备的示意性结构图。通信设备600可以是上述图2中的第一网络设备或者核心网设备。如图6所示,通信设备600包括天线601、射频装置602、基带装置603。天线601与射频装置602连接。在上行方向上,射频装置602通过天线601接收来自终端设备或第一网络设备的信号,并将接收到的信号发送给基带装置603进行处理。在下行方向上,基带装置603生成需要发送给终端设备或者第一网络设备的信号,并将生成的信号发送给射频装置602。射频装置602通过天线601将该信号发射出去。可选的,天线601为收发器的一种。
基带装置603可以包括一个或多个处理单元6031。处理单元6031具体可以为处理器。
此外,基带装置603还可以包括一个或多个存储单元6032以及一个或多个通信接口6033。存储单元6032用于存储计算机程序和/或数据,存储单元6032具体可以为存储器。通信接口6033用于与射频装置602交互信息。存储单元6032具体可以为存储器,通信接口6033可以为输入输出接口或者收发电路。
可选地,存储单元6032可以是和处理单元6031处于同一芯片上的存储单元,即片内存储单元,也可以是与处理单元6031处于不同芯片上的存储单元,即片外存储单元。本申请对此不作限定。
处理器可以被配置为调用所述存储器中存储的计算机程序和/或数据,以实现上述任一方法实施例中所述的方法。
在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、特定应用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。本申请实施例公开的方法的步骤可以直接体现为硬件编码处理器执行完成,或者用编码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
上述各实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink  DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (38)

  1. 一种通信方法,其特征在于,包括:
    接收第一业务的至少一个数据包,所述至少一个数据包包含第一数据包,所述第一数据包在所述至少一个数据包中位于第一位置;
    向第一网络设备发送所述至少一个数据包以及第一指示信息,所述第一指示信息用于指示所述第一位置。
  2. 根据权利要求1所述的方法,其特征在于,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    根据所述第一数据包在所述至少一个数据包中的所述第一位置确定所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
  4. 根据权利要求1所述的方法,其特征在于,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
  5. 根据权利要求2或4所述的方法,其特征在于,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,向所述第一网络设备发送所述第一指示信息,包括:
    在第一时刻向所述第一网络设备发送所述第一指示信息,所述第一时刻为周期配置的多个时刻的其中之一,其中,所述多个时刻中的相邻两个时刻之间的时长为设定时长;或者,
    在向所述第一网络设备发送N个所述数据包后,向所述第一网络设备发送所述第一指示信息,其中,N≥0,且N为整数。
  8. 一种通信方法,其特征在于,包括:
    接收来自核心网设备的第一业务的至少一个数据包以及第一指示信息,所述第一指示信息用于指示第一数据包在所述至少一个数据包中的第一位置,所述至少一个数据包包含所述第一数据包。
  9. 根据权利要求8所述的方法,其特征在于,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
  10. 根据权利要求8所述的方法,其特征在于,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
  12. 根据权利要求8-11中任一项所述的方法,其特征在于,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
  13. 根据权利要求8-12中任一项所述的方法,其特征在于,所述接收来自核心网设备的至少一个数据包以及第一指示信息之后,还包括:
    向第二网络设备发送第二指示信息,所述第二指示信息用于指示第二序列号,所述第二序列号为第一网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号;和/或,
    接收所述第二网络设备发送的第三指示信息,所述第三指示信息用于指示第三序列号,所述第三序列号为所述第二网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号。
  14. 根据权利要求13所述的方法,其特征在于,所述第一网络设备作为源网络设备,所述第二网络设备作为目标网络设备,所述第二指示信息还用于指示所述第一业务的信息,所述第一业务的信息包括以下至少一种:
    所述第一业务的标识信息;
    所述第一业务的类型;
    所述第一业务的分组数据单元会话标识信息;
    所述第一业务的分组数据单元会话类型;
    所述第一业务的数据无线承载标识信息;
    所述第三指示信息还用于指示所述第二网络设备是否支持所述第一业务。
  15. 根据权利要求14所述的方法,其特征在于,所述第二序列号和所述第一业务对应;和/或,所述第三序列号和所述第一业务对应。
  16. 根据权利要求14或15所述的方法,其特征在于,所述接收所述第二网络设备发送的第三指示信息之后,还包括:
    根据所述第三指示信息确定第三数据包;
    向所述第二网络设备发送所述第三数据包。
  17. 根据权利要求13所述的方法,其特征在于,所述第一网络设备作为目标网络设备,所述第二网络设备作为源网络设备,所述向第二网络设备发送第二指示信息之后,还包括:
    根据所述第三指示信息确定第四数据包;
    缓存所述第四数据包。
  18. 一种通信装置,其特征在于,包括:
    第一接收模块,用于接收第一业务的至少一个数据包,所述至少一个数据包包含第一数据包,所述第一数据包在所述至少一个数据包中位于第一位置;
    发送模块,用于向第一网络设备发送所述至少一个数据包以及第一指示信息,所述第一指示信息用于指示所述第一位置。
  19. 根据权利要求18所述的装置,其特征在于,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
  20. 根据权利要求19所述的装置,其特征在于,所述发送模块,还用于根据所述第一数据包在所述至少一个数据包中的所述第一位置确定所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
  21. 根据权利要求18所述的装置,其特征在于,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
  22. 根据权利要求19或21所述的装置,其特征在于,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
  23. 根据权利要求18-22中任一项所述的装置,其特征在于,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
  24. 根据权利要求18-23中任一项所述的装置,其特征在于,所述发送模块包括用于向所述第一网络设备发送所述第一指示信息的发送单元,其中:
    所述发送单元,具体用于在第一时刻向所述第一网络设备发送所述第一指示信息,所述第一时刻为周期配置的多个时刻的其中之一,其中,所述多个时刻中的相邻两个时刻之间的时长为设定时长;或者,
    所述发送单元,具体用于在向所述第一网络设备发送N个所述数据包后,向所述第一网络设备发送所述第一指示信息,其中,N≥0,且N为整数。
  25. 一种通信装置,其特征在于,包括:
    第二接收模块,用于接收来自核心网设备的第一业务的至少一个数据包以及第一指示信息,所述第一指示信息用于指示第一数据包在所述至少一个数据包中的第一位置,所述至少一个数据包包含所述第一数据包。
  26. 根据权利要求25所述的装置,其特征在于,所述第一指示信息包括所述第一数据包的序列号,所述第一数据包的序列号用于指示所述第一数据包在所述至少一个数据包中的所述第一位置。
  27. 根据权利要求25所述的装置,其特征在于,所述第一指示信息包括第一偏置和所述第一数据包的序列号,所述第一偏置为所述第一数据包的序列号与所述第一位置对应的序列号的差值。
  28. 根据权利要求26或27所述的装置,其特征在于,所述第一数据包的序列号为所述第一数据包的通用无线分组业务隧道协议-用户面序列号。
  29. 根据权利要求25-28中任一项所述的装置,其特征在于,所述第一指示信息包含在所述第一数据包的包头、负载或者数据中;或者,所述第一指示信息包含在预设数据包的包头、负载或者数据中。
  30. 根据权利要求25-29中任一项所述的装置,其特征在于,所述第二接收模块,还用于在接收来自核心网设备的至少一个数据包以及第一指示信息之后,向第二网络设备发送第二指示信息,所述第二指示信息用于指示第二序列号,所述第二序列号为第一网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号;和/或,
    所述第二接收模块,还用于在接收来自核心网设备的至少一个数据包以及第一指示信息之后,接收所述第二网络设备发送的第三指示信息,所述第三指示信息用于指示第 三序列号,所述第三序列号为所述第二网络设备从所述核心网设备接收到的所述第一业务的数据包的最大序列号。
  31. 根据权利要求30所述的装置,其特征在于,所述第一网络设备作为源网络设备,所述第二网络设备作为目标网络设备,所述第二指示信息还用于指示所述第一业务的信息,所述第一业务的信息包括以下至少一种:
    所述第一业务的标识信息;
    所述第一业务的类型;
    所述第一业务的分组数据单元会话标识信息;
    所述第一业务的分组数据单元会话类型;
    所述第一业务的数据无线承载标识信息;
    所述第三指示信息还用于指示所述第二网络设备是否支持所述第一业务。
  32. 根据权利要求31所述的装置,其特征在于,所述第二序列号和所述第一业务对应;和/或,所述第三序列号和所述第一业务对应。
  33. 根据权利要求31或32所述的装置,其特征在于,所述第二接收模块还用于在接收所述第二网络设备发送的第三指示信息之后,根据所述第三指示信息确定第三数据包,以及向所述第二网络设备发送所述第三数据包。
  34. 根据权利要求30所述的装置,其特征在于,所述第一网络设备作为目标网络设备,所述第二网络设备作为源网络设备,所述第二接收模块还用于在向第二网络设备发送第二指示信息之后,根据所述第三指示信息确定第四数据包,以及缓存所述第四数据包。
  35. 一种通信系统,其特征在于,包括:至少一个核心网设备,至少一个第一网络设备,其中:
    所述核心网设备包含权利要求18~24中任一项所述的装置;
    所述第一网络设备包含权利要求25~34中任一项所述的装置。
  36. 一种计算机可读存储介质,包括计算机程序,所述计算机程序在计算机上被执行时,使得所述计算机执行权利要求1~7中任一项所述的方法或者权利要求8~17中任一项所述方法。
  37. 一种计算机程序,当所述计算机程序被计算机执行时,用于执行权利要求1~7中任一项所述的方法或者权利要求8~17中任一项所述方法。
  38. 一种芯片,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行权利要求1~7中任一项所述的方法或者权利要求8~17中任一项所述方法。
PCT/CN2019/124514 2019-12-11 2019-12-11 通信方法和装置 WO2021114132A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2019/124514 WO2021114132A1 (zh) 2019-12-11 2019-12-11 通信方法和装置
CN201980102701.7A CN114747248A (zh) 2019-12-11 2019-12-11 通信方法和装置
EP19956050.9A EP4061055A4 (en) 2019-12-11 2019-12-11 COMMUNICATION METHOD AND DEVICE
US17/837,602 US20220303214A1 (en) 2019-12-11 2022-06-10 Communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/124514 WO2021114132A1 (zh) 2019-12-11 2019-12-11 通信方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/837,602 Continuation US20220303214A1 (en) 2019-12-11 2022-06-10 Communication method and apparatus

Publications (1)

Publication Number Publication Date
WO2021114132A1 true WO2021114132A1 (zh) 2021-06-17

Family

ID=76329226

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124514 WO2021114132A1 (zh) 2019-12-11 2019-12-11 通信方法和装置

Country Status (4)

Country Link
US (1) US20220303214A1 (zh)
EP (1) EP4061055A4 (zh)
CN (1) CN114747248A (zh)
WO (1) WO2021114132A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272607A (zh) * 2007-03-21 2008-09-24 北京三星通信技术研究有限公司 指示数据发送结束的方法
CN107078968A (zh) * 2014-09-02 2017-08-18 诺基亚通信公司 无线网络中的多连接性的分组序列编号
CN109729506A (zh) * 2017-10-31 2019-05-07 中国电信股份有限公司 业务缓存方法、系统和装置
CN105009638B (zh) * 2014-01-03 2019-10-01 华为技术有限公司 一种用户设备切换方法及基站

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8861475B2 (en) * 2011-05-19 2014-10-14 Telefonaktiebolaget L M Ericsson (Publ) Inter-RAT handover control using sequence numbers
CN108282825B (zh) * 2017-01-05 2019-12-20 电信科学技术研究院 一种信息处理方法及装置
CN109392025B (zh) * 2017-08-11 2023-09-29 华为技术有限公司 数据传输方法和数据传输装置
US11122477B2 (en) * 2018-02-26 2021-09-14 Qualcomm Incorporated User plane function (UPF) duplication based make before break handover
CN110475299B (zh) * 2018-05-10 2021-06-29 维沃移动通信有限公司 一种切换小区的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272607A (zh) * 2007-03-21 2008-09-24 北京三星通信技术研究有限公司 指示数据发送结束的方法
CN105009638B (zh) * 2014-01-03 2019-10-01 华为技术有限公司 一种用户设备切换方法及基站
CN107078968A (zh) * 2014-09-02 2017-08-18 诺基亚通信公司 无线网络中的多连接性的分组序列编号
CN109729506A (zh) * 2017-10-31 2019-05-07 中国电信股份有限公司 业务缓存方法、系统和装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ALAN FORD, COSTIN RAICIU, MARK HANDLEY, OLIVIER BONAVENTURE: "Internet Engineering Task Force (IETF) TCP Extensions for Multipath Operation with Multiple Addresses", 1 January 2013 (2013-01-01), XP055765632, Retrieved from the Internet <URL:https://tools.ietf.org/pdf/rfc6824.pdf> [retrieved on 20210115] *
See also references of EP4061055A4 *

Also Published As

Publication number Publication date
US20220303214A1 (en) 2022-09-22
EP4061055A4 (en) 2022-11-30
CN114747248A (zh) 2022-07-12
EP4061055A1 (en) 2022-09-21

Similar Documents

Publication Publication Date Title
US11606786B2 (en) Data transmission method, terminal device, and access network device
KR102667780B1 (ko) 사이드링크 통신방법, 장치 및 저장매체
TWI336577B (en) Method and mobile terminal for communicating data in a wireless communications system
AU2005204215A1 (en) Repairing errors in data of MBMS service
EP3512290B1 (en) Message transmission method, device and system
US20180084564A1 (en) Bearer establishment method, user equipment, and base station
JP2012178890A (ja) Sps機能のharqプロセスを処理する方法及び装置
US20190223256A1 (en) Data transmission method, network device, and terminal device
CN112217615B (zh) 一种支持时间敏感网络的方法及装置
US11991694B2 (en) Communication system
WO2009076864A1 (zh) 点到多点gtp隧道的建立方法、网络设备
KR20050089686A (ko) 이동 광대역 무선 접속 시스템에서 다수의 액티브기지국들을 가진 이동단말의 서비스 플로우 관리 방법
US10383090B2 (en) Data sending method, user equipment, and network device
WO2018098762A1 (zh) 信息传输方法、基站和终端设备
CN116349255A (zh) 多播广播服务中的切换方案
JP2023547407A (ja) ハイブリッド自動再送信要求のための方法および装置
WO2021114132A1 (zh) 通信方法和装置
EP4280677A1 (en) Communication method and apparatus
WO2020192250A1 (zh) 无线承载建立方法及装置
EP4064617A1 (en) Communication method and device
US20240236619A1 (en) Method and apparatus for multicast and broadcast services
WO2024000110A1 (zh) 一种小区切换方法及装置、终端设备、网络设备
WO2022041127A1 (en) Method and apparatus for multicast and broadcast services
US20240080216A1 (en) Methods and apparatuses for multicast and broadcast services
US20230345323A1 (en) Data transmission method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19956050

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019956050

Country of ref document: EP

Effective date: 20220615

NENP Non-entry into the national phase

Ref country code: DE