Communication method, device, relay equipment and terminal equipment
By carrying identification information or use indication messages in the data packet, the problem that the relay device cannot determine the packet transmission target in the group switching scenario is solved, and the correct transmission of the data packet is achieved.
Patent Information
- Application Number
- CN202010552800.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-17
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-06-17
AI Technical Summary
In the group switching scenario, the relay device cannot accurately know which base station the data sent by the terminal device is sent to, resulting in data transmission errors.
By carrying the first identification information in the data packet or indicating the boundary packet identification through a third message, the relay device can determine that the data packet is sent to the access network device before or after the handover, thereby correctly sending the data packet to the The second access network device.
The correct transmission of data in group switching scenarios is achieved to ensure that data packets can be accurately transmitted to the target access network equipment.
Smart Images

Figure CN113810963B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method, apparatus, relay equipment and terminal equipment. Background Art
[0002] There is a difference between the direct connection technology of things or the sidelink communication technology and the traditional wireless cellular network communication technology. In the traditional wireless cellular network, the terminal device communicates with the base station. At this time, the link between the terminal device and the base station is called the uplink (UL) link or the downlink (DL), and the interface is called the Uu interface. In the sidelink communication, the terminal devices can communicate directly with each other. The link between the terminal devices is called the sidelink (SL), and the interface is called the PC5 interface. In the communication network supporting the sidelink, a sidelink relay can be designed, that is, the link between the relay and the terminal device adopts the sidelink technology. In the sidelink relay, both the relay and the terminal device are movable, and may move from the coverage of one base station to the coverage of another base station, so a handover process needs to be performed. When there is no relative movement between the relay device and the terminal device, but there is movement between the relay and the base station, the handover between the relay device and the terminal device is called group handover.
[0003] In a group switching scenario based on a side link, when a terminal device sends data to a relay, the relay may not be able to know to which base station the data is sent. Therefore, how the relay can correctly send data from the terminal device in a group switching scenario is an urgent problem to be solved. Summary of the invention
[0004] The present application provides a communication method, apparatus, relay device and terminal device for achieving correct transmission of data in a group switching scenario.
[0005] In a first aspect, an embodiment of the present application provides a communication method, including:
[0006] The relay device and the terminal device switch from the first access network device to the second access network device, the relay device receives a data packet sent by the terminal device, the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device; the relay device sends the data packet to the second access network device according to the first identification information.
[0007] As a possible implementation manner, the first identification information includes an identification of the relay device under the second access network device and / or an identification of the terminal device under the second access network device;
[0008] Among them, the identifier of the relay device under the second access network device is different from the identifier of the relay device under the first access network device, and / or the identifier of the terminal device under the second access network device is different from the identifier of the terminal device under the first access network device.
[0009] As a possible implementation method, it also includes:
[0010] The relay device receives a first message sent by a terminal device, wherein the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
[0011] As a possible implementation manner, the first message is a switching command response.
[0012] As a possible implementation method, it also includes:
[0013] The relay device sends a second message to the terminal device, where the second message includes an identifier of the relay device under the second access network device.
[0014] As a possible implementation manner, the second message is a switching command.
[0015] As a possible implementation manner, the relay device and the terminal device are switched from the first access network device to the second access network device, and the relay device receives a data packet sent by the terminal device, including:
[0016] The relay device and the terminal device are switched from the first access network device to the second access network device, and the relay device receives the RLC data PDU sent by the terminal device, wherein the RLC data PDU includes the data packet and the first identification information.
[0017] As a possible implementation manner, the header of the RLC data PDU includes the first identification information.
[0018] As a possible implementation manner, the first identification information is one bit of information in the header of the RLC data PDU.
[0019] As a possible implementation manner, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0020] In a second aspect, the present application provides a communication method, comprising:
[0021] The relay device and the terminal device switch from the first access network device to the second access network device, and the relay device receives the data packet sent by the terminal device; the relay device sends the data packet to the second access network device according to the identifier of the data packet and the boundary data packet identifier indicated by the third message; wherein the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
[0022] As a possible implementation method, it also includes:
[0023] The third message is received, wherein the third message includes the boundary data packet identifier.
[0024] As a possible implementation manner, the relay device sends the data packet to the second access network device according to the identifier of the data packet and the boundary data packet identifier indicated by the third message, including:
[0025] If the identifier of the data packet is greater than the identifier of the last data packet, the data packet is sent to the second access network device.
[0026] As a possible implementation manner, the relay device sends the data packet to the second access network device according to the identifier of the data packet and the boundary data packet identifier indicated by the third message, including:
[0027] If the identifier of the data packet is greater than or equal to the identifier of the first data packet, the data packet is sent to the second access network device.
[0028] As a possible implementation manner, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0029] In a third aspect, the present application provides a communication method, comprising:
[0030] The relay device and the terminal device switch from the first access network device to the second access network device, and the terminal device sends a data packet to the relay device, and the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device.
[0031] As a possible implementation method, the first identification information includes the identification of the relay device under the second access network device and / or the identification of the terminal device under the second access network device; wherein, the identification of the relay device under the second access network device is different from the identification of the relay device under the first access network device, and / or the identification of the terminal device under the second access network device is different from the identification of the terminal device under the first access network.
[0032] As a possible implementation method, it also includes:
[0033] The terminal device sends a first message to the relay device, where the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
[0034] As a possible implementation manner, the first message is a switching command response.
[0035] As a possible implementation method, it also includes:
[0036] The terminal device receives a second message sent by the relay device, where the second message includes an identifier of the relay device under the second access network device.
[0037] As a possible implementation manner, the second message is a switching command.
[0038] As a possible implementation manner, after the relay device and the terminal device are switched from the first access network device to the second access network device, the terminal device sends a data packet to the relay device, including:
[0039] After the relay device and the terminal device are switched from the first access network device to the second access network device, the terminal device sends an RLC data PDU to the relay device, where the RLC data PDU includes the data packet and the first identification information.
[0040] As a possible implementation manner, the header of the RLC data PDU includes the first identification information.
[0041] As a possible implementation manner, the first identification information is one bit of information in the header of the RLC data PDU.
[0042] As a possible implementation, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0043] In a fourth aspect, the present application provides a communication method, comprising:
[0044] The terminal device sends a third message to the relay device, and the third message is used to indicate a boundary data packet identifier, and the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
[0045] In a fifth aspect, the present application provides a communication device, including: a receiving module, a processing module and a sending module.
[0046] The receiving module is used to switch the relay device and the terminal device from the first access network device to the second access network device, and receive the data packet sent by the terminal device, wherein the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device; the processing module is used to send the data packet to the second access network device through the sending module according to the first identification information.
[0047] As a possible implementation method, the first identification information includes the identification of the relay device under the second access network device and / or the identification of the terminal device under the second access network device; wherein, the identification of the relay device under the second access network device is different from the identification of the relay device under the first access network device, and / or the identification of the terminal device under the second access network device is different from the identification of the terminal device under the first access network device.
[0048] As a possible implementation manner, the receiving module is further used for:
[0049] Receive a first message sent by a terminal device, wherein the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
[0050] As a possible implementation manner, the first message is a switching command response.
[0051] As a possible implementation manner, the sending module is further used for:
[0052] A second message is sent to the terminal device, wherein the second message includes an identifier of the relay device under the second access network device.
[0053] As a possible implementation manner, the second message is a switching command.
[0054] As a possible implementation manner, the receiving module is specifically used for:
[0055] The relay device and the terminal device switch from the first access network device to the second access network device, and receive the RLC data PDU sent by the terminal device, wherein the RLC data PDU includes the first identification information.
[0056] As a possible implementation manner, the header of the RLC data PDU includes the first identification information.
[0057] As a possible implementation manner, the first identification information is one bit of information in the header of the RLC data PDU.
[0058] As a possible implementation manner, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0059] In a sixth aspect, the present application provides a communication device, comprising: a receiving module, a processing module and a sending module.
[0060] The receiving module is used to switch the relay device and the terminal device from the first access network device to the second access network device, and receive the data packet sent by the terminal device; the processing module is used to send the data packet to the second access network device through the sending module according to the identifier of the data packet and the boundary data packet identifier indicated by the third message; wherein the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
[0061] As a possible implementation manner, the receiving module is further used for:
[0062] The third message is received, wherein the third message includes the boundary data packet identifier.
[0063] As a possible implementation manner, the processing module is specifically used for:
[0064] If the identifier of the data packet is greater than the identifier of the last data packet, the data packet is sent to the second access network device through the sending module.
[0065] As a possible implementation manner, the processing module is specifically used for:
[0066] If the identifier of the data packet is greater than or equal to the identifier of the first data packet, the data packet is sent to the second access network device through the sending module.
[0067] As a possible implementation manner, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0068] In a seventh aspect, the present application provides a communication device, including: a processing module and a sending module.
[0069] The processing module is used to switch the relay device and the terminal device from the first access network device to the second access network device, and send a data packet to the relay device through the sending module, wherein the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device.
[0070] As a possible implementation method, the first identification information includes the identification of the relay device under the second access network device and / or the identification of the terminal device under the second access network device; wherein, the identification of the relay device under the second access network device is different from the identification of the relay device under the first access network device, and / or the identification of the terminal device under the second access network device is different from the identification of the terminal device under the first access network.
[0071] As a possible implementation manner, the processing module is further used for:
[0072] A first message is sent to the relay device through the sending module, wherein the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
[0073] As a possible implementation manner, the first message is a switching command response.
[0074] As a possible implementation method, it also includes: a receiving module;
[0075] The receiving module is used to receive a second message sent by the relay device, where the second message includes an identifier of the relay device under the second access network device.
[0076] As a possible implementation manner, the second message is a switching command.
[0077] As a possible implementation manner, the processing module is specifically used for:
[0078] The relay device and the terminal device switch from the first access network device to the second access network device, and send the RLC data PDU to the relay device through the sending module, wherein the RLC data PDU includes the first identification information.
[0079] As a possible implementation manner, the header of the RLC data PDU includes the first identification information.
[0080] As a possible implementation manner, the first identification information is one bit of information in the header of the RLC data PDU.
[0081] As a possible implementation, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0082] In an eighth aspect, the present application provides a communication device, including: a processing module and a sending module.
[0083] The processing module is used to send a third message to the relay device through the sending module, and the third message is used to indicate a boundary data packet identifier, and the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
[0084] In a ninth aspect, the present application provides a relay device, including:
[0085] Memory, used to store program instructions.
[0086] The processor is used to call and execute the program instructions in the memory to perform the method steps described in the first aspect or the second aspect.
[0087] In a tenth aspect, the present application provides a terminal device, including:
[0088] Memory, used to store program instructions.
[0089] The processor is used to call and execute the program instructions in the memory to perform the method steps described in the third aspect or the fourth aspect.
[0090] In an eleventh aspect, the present application provides a readable storage medium, wherein the readable storage medium stores a computer program, and the computer program is used to execute the method described in the first aspect, the second aspect, the third aspect or the fourth aspect above.
[0091] In a twelfth aspect, an embodiment of the present application provides a computer program product, which includes a computer program code. When the computer program code is executed by an energy storage module, the energy storage module executes the method described in the first aspect, the second aspect, the third aspect or the fourth aspect above.
[0092] In the communication method provided by the present application, a terminal device and a relay device switch from a first access network device to a second access network device. When the terminal device sends a data packet to the relay device, by carrying first identification information in the data packet, or indicating a boundary data packet identification through a third message, the relay device can know, based on the first identification information or the third message, that the data packet is a data packet sent to the second access network device, and can then correctly send the data packet to the second access network device, thereby achieving correct data transmission in a group switching scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0094] Figure 1 Example diagram of scenarios where sidelink technology is applied;
[0095] Figure 2 A schematic diagram of a system involving relay equipment in a traditional wireless cellular network;
[0096] Figure 3 A schematic diagram of a system involving a relay device in a sidelink communication network;
[0097] Figure 4 Schematic diagram of the scene switching for the group;
[0098] Figure 5 An exemplary interactive flow chart for group switching;
[0099] Figure 6 A flow chart of a communication method provided in an embodiment of the present application;
[0100] Figure 7 A flow chart of another communication method provided in an embodiment of the present application;
[0101] Figure 8 A module structure diagram of a communication device provided in an embodiment of the present application;
[0102] Fig. 9 A module structure diagram of another communication device provided in an embodiment of the present application;
[0103] Fig.10 Another communication device provided in an embodiment of the present application;
[0104] Fig.11 A module structure diagram of another communication device provided in an embodiment of the present application;
[0105] Fig.12 A schematic diagram of the structure of a relay device 1200 provided in an embodiment of the present application;
[0106] Fig.13 A schematic diagram of the structure of a terminal device 1300 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0107] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0108] First of all, it should be noted that the side link can also be called an edge link, a side link, a direct link or an inter-device link. The following embodiments of this application all use the term side link.
[0109] Figure 1 This is an example diagram of a scenario where the sidelink technology is applied, such as Figure 1 As shown, the communication network includes: access network equipment, terminal equipment 1 and terminal equipment 2. Among them, terminal equipment 1 is connected to the access network equipment and terminal equipment 2 respectively. Specifically, the terminal equipment 1 communicates with the access network equipment through an uplink (UL) and a downlink (DL), and the terminal equipment 1 communicates with the terminal equipment 2 through a sidelink (SL). Based on the sidelink, data can be directly transmitted between the terminal equipment 1 and the terminal equipment 2 without passing through the access network equipment.
[0110] On the basis of the sidelink, a sidelink relay device is introduced, that is, the link between the relay device and the terminal device adopts the sidelink technology. The relay device and the terminal device communicate based on the sidelink, and forward the data sent by the transmitter to the receiver. For example, the relay device receives data from the terminal device based on the sidelink and forwards it to the access network device. Alternatively, the relay device sends the data received from the access network device to the terminal device based on the sidelink. The following diagrams illustrate the differences in relay device communication in a traditional wireless cellular network and a sidelink communication network. Among them, the sidelink communication network may refer to a communication network that supports the sidelink.
[0111] It should be understood that the embodiment of the present application defines the unidirectional communication link from the access network device to the terminal device as a downlink, the data transmitted on the downlink is downlink data, and the transmission direction of the downlink data is called the downlink direction. The unidirectional communication link from the terminal device to the access network device is an uplink, the data transmitted on the uplink is uplink data, and the transmission direction of the uplink data is called the uplink direction.
[0112] Figure 2 A schematic diagram of a system involving relay equipment in a traditional wireless cellular network is shown in FIG. Figure 2 As shown, in a traditional wireless cellular network, the terminal device and the relay device communicate through uplink and downlink, and the relay device and the access network device communicate through uplink and downlink. When the access network device needs to send data to the terminal device, it sends the data to the relay device through the downlink between the access network device and the relay device, and the relay device then forwards the data to the terminal device through the downlink between the relay device and the terminal device. When the terminal device needs to send data to the access network device, it sends the data to the relay device through the uplink between the terminal device and the relay device, and the relay device then sends the data to the relay device through the uplink between the relay device and the access network device.
[0113] Figure 3 is a system diagram involving relay equipment in a sidelink communication network, such as Figure 3 As shown, in the sidelink communication network, the terminal device and the relay device communicate via the sidelink, and the relay device and the access network device communicate via the uplink and downlink. When the access network device needs to send data to the terminal device, the data is sent to the relay device via the downlink between the access network device and the relay device, and the relay device then forwards the data to the terminal device via the sidelink between the relay device and the terminal device. When the terminal device needs to send data to the access network device, the data is sent to the relay device via the sidelink between the terminal device and the relay device, and the relay device then sends the data to the relay device via the uplink between the relay device and the access network device.
[0114] In a sidelink communication network, a relay device can be a fixed device or a mobile device. Exemplarily, the relay device can be a mobile device such as a mobile phone. When the relay device is mobile, in some scenarios, it may happen that both the relay device and the terminal device move from the coverage of one access network device to the coverage of another access network device, that is, both the relay device and the terminal device are switched. In this handover, there is no relative movement between the relay device and the terminal device, and this handover can be called a group handover. That is, group handover means that both the relay device and the terminal device are switched from one access network device to another access network device, and the connection relationship between the relay device and the terminal device remains unchanged. Figure 4 The schematic diagram of the group switching scene is as follows: Figure 4 As shown, the relay device and the terminal device are both switched from access network device 1 to access network device 2, and the connection relationship between the relay device and the terminal device remains unchanged. After the switch, the terminal device still sends data to access network device 2 through the relay device, and receives data from access network device 2 through the relay device.
[0115] Figure 5 An exemplary interactive flow chart of group switching is shown in FIG. Figure 5 As shown, assuming that access network device 1 is the access network device before switching, and access network device 2 is the access network device after switching, the interaction process of group switching may include:
[0116] S501 : The relay device sends a measurement result to access network device 1 .
[0117] S502: Access network device 1 sends a switching request to access network device 2.
[0118] After receiving the measurement result, the access network device determines that the terminal device has moved to the access network device 2 according to the measurement result, and then the access network device 1 sends a switching request to the access network device 2.
[0119] S503: Access network device 2 sends a switching command to access network device 1.
[0120] The switching command is used to instruct the terminal device to switch to the access network device 2. The switching command may include the bearer configuration information and security configuration information allocated by the access network device 2 to the terminal device.
[0121] S504: Access network device 1 sends a switching command to the relay device.
[0122] S505: The relay device sends a switching command to the terminal device.
[0123] S506: The terminal device sends a switching command response to the relay device.
[0124] After receiving the switching command, the terminal device switches to access network device 2 according to the bearer configuration and security configuration information allocated by access network device 2 to the terminal device, and sends a switching command response to the relay device.
[0125] S507 . The relay device is connected to the access network device 2 .
[0126] After the relay device receives the switching command response sent by the terminal device, it can be known that the terminal device has switched. The relay device then switches to access network device 2 and needs to forward the switching command response of the terminal device to access network device 2.
[0127] After this, when the relay device receives data sent by the terminal device, it needs to forward the data to the access network device 2.
[0128] In the above process, after step S507, after receiving the data sent by the terminal device, the relay device first needs to know that the data is sent to the access network device 2, and then can correctly send the data to the access network device 2.
[0129] Assuming that the terminal device, relay device, access network device 1 and access network device 2 in the above process are devices of a traditional cellular network, that is, the terminal device relay device uses uplink and downlink communication, then after the relay device sends a switching command to the terminal device in step S505, the terminal device can resynchronize with the relay device using a random access process. Specifically, after receiving the switching command, the terminal device stops data transmission and initiates a random access process. After the random access is successful, the above step S506 is executed to send a switching command response to the relay device. The data received by the relay device from the terminal device after the switching command response are all data sent to the access network device 2, so that the data can be correctly sent to the access network device 2.
[0130] However, in the above-mentioned group switching scenario, the relay device and the terminal device communicate through the side link, and the random access process is not supported in the side link communication mode. Therefore, after receiving the switching command, the terminal device may not stop data transmission, but still send data to the relay device. The relay device cannot know whether the received data is sent to access network device 1 or access network device 2, which may cause data transmission errors.
[0131] Taking the above problems into consideration, the embodiment of the present application indicates to the relay device through the terminal device that the data packet is a data packet sent to the access network device before or after the switching, so that the relay device can send the data to the correct access network device, thereby achieving correct data transmission.
[0132] The embodiments of the present application may be applicable to a 5th generation (5G) communication system, a 4th generation (4G) communication system, a 3rd generation (3G) communication system, or a future 6th generation (6G) communication system, a 7th generation (7G) communication system, etc.
[0133] The relay device involved in the embodiments of the present application may be a mobile relay device. The relay device may refer to various forms of user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, terminal equipment, wireless communication equipment, user agent or user device. It may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device of a 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), etc., and the embodiments of the present application are not limited to this.
[0134] The terminal device involved in the embodiments of the present application may refer to various forms of UE, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal device, wireless communication device, user agent or user device. It can also be a cellular phone, a cordless phone, a SIP phone, a WLL station, a PDA, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device of a 5G network or a terminal device in a future evolved PLMN, etc., and the embodiments of the present application are not limited to this.
[0135] The wireless access network device involved in the embodiments of the present application, such as the first access network device and the second access network device, can be a base transceiver station (BTS) in a global system for mobile communication (GSM) or a code division multiple access (CDMA) network, a node base station (NB) in a wideband code division multiple access (WCDMA), an evolutionary NB (eNB or eNodeB) in long term evolution (LTE), a wireless controller in a cloud radio access network (CRAN) scenario, a base station in a 5G mobile communication system or a new generation of wireless (NR) communication system, or a base station in a future mobile communication system, an access node in a WiFi system, a device that performs base station functions in device-to-device (D2D) communication and machine communication, an access network device in a future evolved PLMN network or a vehicle networking device, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device. In the embodiments of the present application, the terms 5G and new radio (NR) may be equivalent.
[0136] The embodiment of the present application provides two solutions to implement the terminal device to indicate to the relay device whether the data packet is sent to the access network device before or after the switch. One solution is to directly indicate in the data packet to be sent to the access network device, and the other solution is to indicate using a separate indication message. The following describes the two solutions in detail.
[0137] Figure 6 A flow chart of a communication method provided in an embodiment of the present application is shown as follows: Figure 6 As shown, the interaction process between the terminal device and the relay device in the group switching scenario includes:
[0138] S601. A relay device and a terminal device switch from a first access network device to a second access network device. The terminal device sends a data packet to the relay device. The data packet includes first identification information. The first identification information is used to identify that the data packet is sent to the second access network device.
[0139] Correspondingly, the relay device and the terminal device are switched from the first access network device to the second access network device, and the relay device receives the data packet sent by the terminal device.
[0140] Optionally, the terminal device sends the above data packet to the relay device during the process of the terminal device and the relay device switching from the first access network device to the second access network device, or after the terminal device and the relay device switch from the first access network device to the second access network device, which is not specifically limited in the present embodiment of the application. Figure 5 According to the process shown in FIG. 5 , the data packet sent by the terminal device in this step may be a data packet sent in the stage before step S507, or may be a data packet sent in the stage after step S507 or step S508.
[0141] The data packet described in the embodiment of the present application may be data for transmission after being processed by any layer in the protocol stack. Exemplarily, the data packet may be a packet data convergence protocol (PDCP) protocol data unit (PDU), a radio link control (RLC) PDU, a media access control (MAC) PDU, a physical layer transport block, and corresponding scheduling signaling, etc.
[0142] Correspondingly, the first identification information included in the above data packet may be, for example, identification information of the header portion of the data packet, or identification information of the data portion of the data packet, or identification information of the scheduling signaling portion. The embodiment of the present application does not specifically limit this.
[0143] S602: The relay device determines, based on the first identification information, that the data packet is a data packet sent to the second access network device.
[0144] S603: The relay device sends the data packet to the second access network device.
[0145] The relay device sends the data packet to the second access network device according to the first identification information.
[0146] After receiving the data packet, the relay device can know, based on the first identification information, that the data packet is a data packet sent to the second access network device.
[0147] It is worth noting that if the relay device receives a data packet sent to the first access network device, the data packet may carry identification information different from the first identification information. The relay device can know that the data packet is sent to the first access network device based on the identification information.
[0148] In this embodiment, the terminal device and the relay device switch from the first access network device to the second access network device. When the terminal device sends a data packet to the relay device, by carrying first identification information in the data packet, the relay device can know, based on the first identification information, that the data packet is a data packet sent to the second access network device, and can then correctly send the data packet to the second access network device, thereby achieving correct data transmission in the group switching scenario.
[0149] In an embodiment of the present application, the first identification information may be carried in a data packet in the following two ways.
[0150] In the first manner, the data packet carries the identifier of the relay device under the second access network device and / or the identifier of the terminal device under the second access network device, and the identifier is used as the first identification information.
[0151] In the second manner, the first identification information is carried in the RLC data PDU.
[0152] The processing procedures of the above two methods are described below respectively.
[0153] The processing procedure of the first method mentioned above is first described below.
[0154] In this manner, the first identification information includes an identification of the relay device under the second access network device and / or an identification of the terminal device under the second access network device.
[0155] Among them, the identifier of the relay device under the second access network device is different from the identifier of the relay device under the first access network device, and / or the identifier of the terminal device under the second access network device is different from the identifier of the terminal device under the first access network device.
[0156] In the embodiment of the present application, the relay device can use different identifiers to communicate with different access network devices. Exemplarily, the relay device uses the identifier of relay 1 to communicate with the first access network device, and when the relay device switches from the first access network device to the second access network device, it can use the identifier of relay 2 to communicate with the second access network device. Therefore, the identifiers of relay 1 and relay 2 are the same relay device, but are used for the relay device to communicate with different access network devices.
[0157] The terminal device can use different identifiers to communicate with different access network devices. For example, the terminal device uses the identifier of terminal 1 to communicate with the first access network device. When the terminal device switches from the first access network device to the second access network device, it can use the identifier of terminal 2 to communicate with the second access network device. Therefore, terminal 1 and terminal 2 identify the same terminal device, but are used for the terminal device to communicate with different access network devices.
[0158] When a terminal device sends a data packet to a relay device, the data packet may carry at least one of the identifier of the relay device under the second access network device and the identifier of the terminal device under the second access network device, thereby allowing the relay device to determine that the data packet is a data packet sent to the second access network device.
[0159] In the first case, the data packet only carries the identifier of the relay device under the second access network device. Since the identifier of the relay device under the first access network device is different from the identifier of the relay device under the second access network device, after receiving the data packet, the relay device can use the identifier of the relay device under the second access network device carried in the data packet to identify that the data packet is sent to the new access network device after the switch, that is, the data packet sent to the second access network device, and thus correctly send the data packet to the second access network device.
[0160] In the second case, the data packet only carries the identifier of the terminal device under the second access network device. Since the identifier of the terminal device under the first access network device is different from the identifier of the terminal device under the second access network device, after receiving the data packet, the relay device can use the identifier of the terminal device under the second access network device carried in the data packet to identify that the data packet is sent to the new access network device after the switch, that is, the data packet sent to the second access network device, and thus correctly send the data packet to the second access network device.
[0161] In the third case, the data packet carries both the identifier of the terminal device under the second access network device and the identifier of the relay device under the second access network device. Since the identifier of the terminal device under the first access network device is different from the identifier of the terminal device under the second access network device, and the identifier of the relay device under the first access network device is different from the identifier of the relay device under the second access network device, after receiving the data packet, the relay device can use the identifier carried in the data packet to identify that the data packet is sent to the new access network device after switching, that is, the data packet sent to the second access network device, and thus correctly send the data packet to the second access network device.
[0162] Optionally, the identifier of the relay device under the second access network device can be carried in the destination identifier (Destination ID) field of the data packet, and the identifier of the terminal device under the second access network device can be carried in the source identifier (Source ID) field of the data packet. For example, in this manner, the data packet can be a MAC PDU, and the destination identifier and source identifier are carried in the header part of the data packet, or the data packet can be a physical layer transport block, and the destination identifier and source identifier are carried in the corresponding scheduling signaling.
[0163] As an optional implementation, the relay device may send the identifier of the relay device under the second access network device to the terminal device via a second message.
[0164] The relay device sends a second message to the terminal device, and correspondingly, the terminal device receives the second message.
[0165] The second message may be a separate message that is only used to carry the identifier of the relay device under the second access network device, or the second message may be a switching-related message sent by the relay device to the terminal device during the group switching process.
[0166] With the above Figure 5 Taking the group switching interaction process shown as an example, the second message may be a switching command sent by the relay device to the terminal device in step S505.
[0167] If the relay device sends the above-mentioned second message to the terminal device, the terminal device may choose to carry the identifier of the relay device under the second access network device in the data packet sent to the second access network device, or carry the identifier of the relay device under the second access network device and the identifier of the terminal device under the second access network device. Alternatively, the terminal device may also choose not to carry the identifier of the relay device under the second access network device in the data packet, but only carry the identifier of the terminal device under the second access network device.
[0168] As an optional implementation, the terminal device may send a first message to the relay device, and correspondingly, the relay device receives the first message. The first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
[0169] With the above Figure 5 Taking the group switching interaction process shown as an example, the above-mentioned first message can be a switching command response sent by the terminal device to the relay device in step S506.
[0170] The terminal device carries the identifier of the relay device under the second access network device and / or the identifier of the terminal device under the second access network device in the switching command response, so that the relay device can know that the switching command response is a message sent to the second access network device, and then can correctly send the switching command response to the second access network device.
[0171] In the first method mentioned above, by carrying the identifier of the relay device under the second access network device and / or the identifier of the terminal device under the second access network device in the data packet, the relay device can know that the data packet is a data packet sent to the second access network device, thereby achieving correct sending of the data packet.
[0172] The processing procedure of the second method is described below.
[0173] In this manner, the terminal device can carry the above-mentioned first identification information in the RLC data PDU.
[0174] The terminal device sends an RLC data PDU to the relay device, and correspondingly, the relay device receives the RLC data PDU. The RLC data PDU includes the above-mentioned first identification information.
[0175] In the second manner, the aforementioned data packet specifically refers to an RLC data PDU.
[0176] The RLC layer PDU includes an RLC data PDU and an RLC control PDU. In the second manner, the RLC data PDU is used to carry the above-mentioned first identification information.
[0177] The RLC data PDU may include a header part and a data part. As an optional implementation, the first identification information may be carried in the header of the RLC data PDU.
[0178] In a possible manner, the first identification information may be represented by multiple bits in the header of the RLC data PDU, for example, by 2 bits, 3 bits, etc. preset in the header.
[0179] Taking the use of two preset bits as an example, the accumulation of the values on the bits can be used to carry the above-mentioned first identification information. Exemplarily, if the terminal device is currently under access network device 1, the terminal device can write 00 on the preset bit of the header of the RLC data PDU sent to the relay device, indicating that the data packet is sent to access network device 1. When the terminal device switches from access network device 1 to access network device 2 and sends data to access network device 2, the terminal device can write 01 on the preset bit of the header of the RLC data PDU sent to the relay device, indicating that the data packet is sent to access network device 2. When the terminal device switches from access network device 2 to access network device 3 and sends data to access network device 3, the terminal device can write 10 on the preset bit of the header of the RLC data PDU sent to the relay device, indicating that the data packet is sent to access network device 3. Based on the values of the two bits, the relay device can identify that the data packet is sent to the new access network device after the switch.
[0180] In another possible manner, the first identification information may be represented by a preset bit in the header of the RLC data PDU. That is, the first identification information is one bit of information in the header of the RLC data PDU.
[0181] In this manner, the terminal device can carry the first identification information by flipping the value of the preset bit.
[0182] Exemplarily, if the terminal device is currently under access network device 1, the terminal device can write 0 to the preset bit position of the packet header of the RLC data PDU sent to the relay device, indicating that the data packet is sent to access network device 1. When the terminal device switches from access network device 1 to access network device 2 and sends data to access network device 2, the terminal device can write 1 to the preset bit position of the packet header of the RLC data PDU sent to the relay device, indicating that the data packet is sent to access network device 2. When the terminal device switches from access network device 2 to access network device 3 and sends data to access network device 3, the terminal device can write 0 to the preset bit position of the packet header of the RLC data PDU sent to the relay device again, indicating that the data packet is sent to access network device 3. Based on the value of this one bit position, the relay device can identify that the data packet is sent to the new access network device after switching.
[0183] In the second manner described above, by carrying the first identification information in the RLC data PDU, the relay device can learn that the data packet is a data packet sent to the second access network device, thereby achieving correct sending of the data packet.
[0184] The above is a technical solution of the embodiment of the present application, that is, directly indicating in the data packet that the terminal device needs to send to the access network device that the data packet is a data packet sent to the access network device after switching. As mentioned above, the embodiment of the present application also provides another solution, that is, using a separate indication message to indicate that the data packet is a data packet sent to the access network device after switching.
[0185] The other solution is described in detail below.
[0186] Figure 7 A flow chart of another communication method provided in an embodiment of the present application, such as Figure 7 As shown, the interaction process between the terminal device and the relay device in the group switching scenario includes:
[0187] S701. A relay device and a terminal device switch from a first access network device to a second access network device, and the terminal device sends a data packet to the relay device.
[0188] Correspondingly, the relay device receives the data packet sent by the terminal device.
[0189] The terminal device sends the above data packet to the relay device during the process of the terminal device and the relay device switching from the first access network device to the second access network device, or after the terminal device and the relay device switch from the first access network device to the second access network device. This embodiment of the present application does not specifically limit this. For example, assuming that the processing flow of the group switching is as above Figure 5According to the process shown in FIG. 5 , the data packet sent by the terminal device in this step may be a data packet sent in the stage before step S507, or may be a data packet sent in the stage after step S507 or step S508.
[0190] S702: The relay device determines, based on the identifier of the data packet and the boundary data packet identifier indicated by the third message, that the data packet is a data packet sent to the second access network device.
[0191] S703: The relay device sends the data packet to the second access network device.
[0192] The relay device sends the data packet to the second access network device according to the identifier of the data packet and the boundary data packet identifier indicated by the third message.
[0193] The boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
[0194] As an example, the above-mentioned data packet identifier and the above-mentioned boundary data packet identifier may respectively refer to a sequence number (SN) of a data packet, and the sequence number can uniquely identify a data packet.
[0195] Before executing this embodiment, the terminal device has already sent the third message to the relay device in advance.
[0196] It is worth noting that the third message is also carried in a data packet and sent to the relay device, but the data packet is a data packet with the relay device as the target, that is, after the data packet is sent to the relay device, the relay device parses the third message and the boundary data packet identifier indicated by the third message, and does not need to send the data packet to other devices. The aforementioned data packet in this application is a data packet with the access network device as the target, and after the relay device receives the data packet, it needs to send it to the access network device.
[0197] Exemplarily, the terminal device may send the above-mentioned third message to the relay device before sending the first data packet that needs to be sent to the second access network device, or after sending the last data packet that needs to be sent to the first access network device, wherein the third message carries the identifier of the first data packet that needs to be sent to the second access network device, or carries the identifier of the last data packet that needs to be sent to the first access network device, which is called a boundary data packet identifier. After receiving the third message, the relay device may parse and save the above-mentioned boundary data packet identifier. Furthermore, when the relay device receives the data packet from the terminal device, it compares the identifier of the received data packet with the boundary data packet, so that it can identify that the data packet is a data packet sent to the second access network device.
[0198] In this embodiment, the relay device and the terminal device switch from the first access network device to the second access network device. The terminal device can send a third message to the relay device in advance to indicate the boundary data packet identifier. When the relay device receives the data packet from the terminal device again, based on the identifier of the received data packet and the boundary data packet identifier, it can identify that the data packet is a data packet sent to the second access network device, and then send the data packet to the second access network device, thereby realizing the correct transmission of data in the group switching scenario.
[0199] As an optional implementation, the terminal device may send the third message to the relay device, and carry the third message in the third message.
[0200] Optionally, the third message may be carried by RLC control PDU.
[0201] The RLC control PDU is used to carry the third message, that is, a separate control signaling is used to indicate the boundary data packet identifier.
[0202] The following describes the process in which the relay device determines, according to the identifier of the data packet and the identifier of the boundary data packet in the above step S702, that the data packet is a data packet sent to the second access network device.
[0203] In one case, if the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, then after receiving the data packet sent by the terminal device, the relay device determines whether the identifier of the data packet is greater than the identifier of the last data packet, and if so, sends the received data packet to the second access network device. Otherwise, the relay device sends the received data packet to the first access network device.
[0204] In another case, if the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device, after receiving the data packet sent by the terminal device, the relay device determines whether the identifier of the data packet is greater than or equal to the identifier of the first data packet, and if so, sends the received data packet to the second access network device. Otherwise, the relay device sends the received data packet to the first access network device.
[0205] Figure 8 This is a module structure diagram of a communication device provided in an embodiment of the present application. The device may be the aforementioned relay device, or may be a device that enables the relay device to implement the functions of the relay device in the method provided in an embodiment of the present application. For example, the device may be a device or chip system in a relay device. Figure 8 As shown, the device includes: a receiving module 801, a processing module 802 and a sending module 803.
[0206] Receiving module 801 is used to switch the relay device and the terminal device from the first access network device to the second access network device, and receive the data packet sent by the terminal device, wherein the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device.
[0207] The processing module 802 is used to send the data packet to the second access network device through the sending module 803 according to the first identification information.
[0208] As an optional implementation, the first identification information includes the identification of the relay device under the second access network device and / or the identification of the terminal device under the second access network device; wherein, the identification of the relay device under the second access network device is different from the identification of the relay device under the first access network device, and / or the identification of the terminal device under the second access network device is different from the identification of the terminal device under the first access network device.
[0209] As an optional implementation manner, the receiving module 801 is further configured to:
[0210] Receive a first message sent by a terminal device, wherein the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
[0211] As an optional implementation, the first message is a switching command response.
[0212] As an optional implementation manner, the sending module 803 is further configured to:
[0213] A second message is sent to the terminal device, wherein the second message includes an identifier of the relay device under the second access network device.
[0214] As an optional implementation, the second message is a switching command.
[0215] As an optional implementation manner, the receiving module 801 is specifically configured to:
[0216] The relay device and the terminal device switch from the first access network device to the second access network device, and receive the RLC data PDU sent by the terminal device, wherein the RLC data PDU includes the first identification information.
[0217] As an optional implementation, the header of the RLC data PDU includes the first identification information.
[0218] As an optional implementation, the first identification information is one bit of information in the header of the RLC data PDU.
[0219] As an optional implementation, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0220] Fig. 9 This is a module structure diagram of another communication device provided in an embodiment of the present application. The device may be the aforementioned relay device, or may be a device that enables the relay device to implement the functions of the relay device in the method provided in an embodiment of the present application. For example, the device may be a device or chip system in a relay device. Fig. 9 As shown, the device includes: a receiving module 901, a processing module 902 and a sending module 903.
[0221] The receiving module 901 is used for the relay device and the terminal device to switch from the first access network device to the second access network device, and receive the data packet sent by the terminal device.
[0222] The processing module 902 is used to send the data packet to the second access network device through the sending module 903 according to the identifier of the data packet and the boundary data packet identifier indicated by the third message; wherein the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
[0223] As an optional implementation manner, the receiving module 901 is further configured to:
[0224] The third message is received, wherein the third message includes the boundary data packet identifier.
[0225] As an optional implementation manner, the processing module 902 is specifically configured to:
[0226] If the identifier of the data packet is greater than the identifier of the last data packet, the data packet is sent to the second access network device through the sending module.
[0227] As an optional implementation manner, the processing module 902 is specifically configured to:
[0228] If the identifier of the data packet is greater than or equal to the identifier of the first data packet, the data packet is sent to the second access network device through the sending module.
[0229] As an optional implementation, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0230] Fig.10 Another communication device provided in the embodiment of the present application may be the aforementioned terminal device, or may be a device that enables the terminal device to implement the functions of the terminal device in the method provided in the embodiment of the present application, for example, the device may be a device or chip system in the terminal device. Fig.10 As shown, the device includes: a processing module 1001 and a sending module 1002.
[0231] The processing module 1001 is used for switching the relay device and the terminal device from the first access network device to the second access network device, and sending a data packet to the relay device through the sending module 1002, wherein the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device.
[0232] As an optional implementation, the first identification information includes the identification of the relay device under the second access network device and / or the identification of the terminal device under the second access network device; wherein, the identification of the relay device under the second access network device is different from the identification of the relay device under the first access network device, and / or the identification of the terminal device under the second access network device is different from the identification of the terminal device under the first access network.
[0233] As an optional implementation manner, the processing module 1001 is further configured to:
[0234] A first message is sent to the relay device through the sending module 1002, wherein the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
[0235] As an optional implementation, the first message is a switching command response.
[0236] As an optional implementation, refer to Fig.10 , the device also includes: a receiving module 1003.
[0237] The receiving module 1003 is used to receive a second message sent by the relay device, where the second message includes an identifier of the relay device under the second access network device.
[0238] As an optional implementation, the second message is a switching command.
[0239] As an optional implementation manner, the processing module 1001 is specifically configured to:
[0240] The relay device and the terminal device switch from the first access network device to the second access network device, and send the RLC data PDU to the relay device through the sending module, wherein the RLC data PDU includes the first identification information.
[0241] As an optional implementation, the header of the RLC data PDU includes the first identification information.
[0242] As an optional implementation, the first identification information is one bit of information in the header of the RLC data PDU.
[0243] As an optional implementation, the terminal device and the relay device communicate via a side link, and the relay device and the second access network communicate via an uplink and a downlink.
[0244] Fig.11 This is a module structure diagram of another communication device provided in an embodiment of the present application. The device may be the aforementioned terminal device, or may be a device that enables the terminal device to implement the functions of the terminal device in the method provided in an embodiment of the present application. For example, the device may be a device or chip system in the terminal device. Fig.11 As shown, the device includes: a processing module 1101 and a sending module 1102.
[0245] The processing module 1101 is used to send a third message to the relay device through the sending module 1102, and the third message is used to indicate a boundary data packet identifier, and the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
[0246] The above-mentioned communication device provided in the embodiment of the present application can execute the method steps in the above-mentioned method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.
[0247] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the determination module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0248] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0249] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0250] Fig.12 FIG. 1 is a schematic diagram of a structure of a relay device 1200 provided in an embodiment of the present application. Fig.12 As shown, the relay device may include: a processor 121, a memory 122, a communication interface 123 and a system bus 124, wherein the memory 122 and the communication interface 123 are connected to the processor 121 through the system bus 124 and communicate with each other, wherein the memory 122 is used to store computer execution instructions, and the communication interface 123 is used to communicate with other devices, and when the processor 121 executes the computer program, the above-mentioned Figure 6 to Figure 7 The scheme of the relay device in the illustrated embodiment.
[0251] Should Fig.12The system bus mentioned in the specification may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.
[0252] The above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0253] Fig.13 FIG. 1 is a schematic diagram of the structure of a terminal device 1300 provided in an embodiment of the present application. Fig.13 As shown, the terminal device may include: a processor 131, a memory 132, a communication interface 133 and a system bus 134. The memory 132 and the communication interface 133 are connected to the processor 131 through the system bus 134 and communicate with each other. The memory 132 is used to store computer execution instructions, and the communication interface 133 is used to communicate with other devices. When the processor 131 executes the computer program, the above-mentioned Figure 6 to Figure 7 The scheme of the terminal device in the embodiment shown.
[0254] Should Fig.13 The system bus mentioned in the figure may be a PCI bus or an EISA bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include RAM, and may also include a non-volatile memory, such as at least one disk storage.
[0255] The above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, NP, etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0256] Optionally, the present application also provides a storage medium, wherein the storage medium stores instructions, which, when executed on a computer, cause the computer to execute the above-mentioned Figure 6 to Figure 7 The method of the relay device or the method of the terminal device in the illustrated embodiment.
[0257] Optionally, the present application embodiment further provides a chip for executing instructions, the chip being used to execute the above Figure 6 to Figure 7 The method of the relay device or the method of the terminal device in the illustrated embodiment.
[0258] The embodiment of the present application also provides a program product, wherein the program product includes a computer program, wherein the computer program is stored in a storage medium, and at least one processor can read the computer program from the storage medium, and when the at least one processor executes the computer program, the above-mentioned Figure 6 to Figure 7 The method of the relay device or the method of the terminal device in the illustrated embodiment.
[0259] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0260] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.
[0261] It can be understood that in the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0262] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A communication method, characterized in that: include: The relay device and the terminal device switch from the first access network device to the second access network device, the relay device receives a data packet sent by the terminal device, the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device; The relay device sends the data packet to the second access network device according to the first identification information; The terminal device and the relay device communicate via a side link.
2. The method according to claim 1, characterized in that The first identification information includes an identification of the relay device under the second access network device and / or an identification of the terminal device under the second access network device; Among them, the identifier of the relay device under the second access network device is different from the identifier of the relay device under the first access network device, and / or the identifier of the terminal device under the second access network device is different from the identifier of the terminal device under the first access network device.
3. The method according to claim 2, characterized in that Also includes: The relay device receives a first message sent by a terminal device, wherein the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
4. The method according to claim 3, characterized in that The first message is a switching command response.
5. The method according to any one of claims 2 to 4, characterized in that: Also includes: The relay device sends a second message to the terminal device, where the second message includes an identifier of the relay device under the second access network device.
6. The method according to claim 5, characterized in that The second message is a switching command.
7. The method according to claim 1, characterized in that The relay device and the terminal device are switched from the first access network device to the second access network device, and the relay device receives a data packet sent by the terminal device, including: The relay device and the terminal device switch from the first access network device to the second access network device, and the relay device receives a radio link control RLC data protocol data unit PDU sent by the terminal device, wherein the RLC data PDU includes the first identification information.
8. The method according to claim 7, characterized in that The header of the RLC data PDU includes the first identification information.
9. The method according to claim 8, characterized in that The first identification information is one bit of information in the packet header of the RLC data PDU.
10. The method according to any one of claims 1-4, 6-9, characterized in that: The relay device and the second access network device communicate via an uplink and a downlink.
11. A communication method, characterized in that: include: The relay device and the terminal device are switched from the first access network device to the second access network device, and the relay device receives the data packet sent by the terminal device; The terminal device and the relay device communicate via a side link; The relay device sends the data packet to the second access network device based on the identifier of the data packet and the boundary data packet identifier indicated by the third message; wherein the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
12. The method according to claim 11, characterized in that Also includes: The third message is received, wherein the third message includes the boundary data packet identifier.
13. The method according to claim 11 or 12, characterized in that: The relay device sends the data packet to the second access network device according to the identifier of the data packet and the boundary data packet identifier indicated by the third message, including: If the identifier of the data packet is greater than the identifier of the last data packet, the data packet is sent to the second access network device.
14. The method according to claim 11 or 12, characterized in that: The relay device sends the data packet to the second access network device according to the identifier of the data packet and the boundary data packet identifier indicated by the third message, including: If the identifier of the data packet is greater than or equal to the identifier of the first data packet, the data packet is sent to the second access network device.
15. The method according to any one of claims 11-12, characterized in that: The relay device and the second access network device communicate via an uplink and a downlink.
16. A communication method, characterized in that: include: A relay device and a terminal device switch from a first access network device to a second access network device, and the terminal device sends a data packet to the relay device. The data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device; the terminal device and the relay device communicate via a side link.
17. The method according to claim 16, characterized in that The first identification information includes an identification of the relay device under the second access network device and / or an identification of the terminal device under the second access network device; Among them, the identifier of the relay device under the second access network device is different from the identifier of the relay device under the first access network device, and / or the identifier of the terminal device under the second access network device is different from the identifier of the terminal device under the first access network.
18. The method according to claim 17, characterized in that Also includes: The terminal device sends a first message to the relay device, where the first message includes an identifier of the relay device under the second access network device and / or an identifier of the terminal device under the second access network device.
19. The method according to claim 18, characterized in that The first message is a switching command response.
20. The method according to any one of claims 17 to 19, characterized in that: Also includes: The terminal device receives a second message sent by the relay device, where the second message includes an identifier of the relay device under the second access network device.
21. The method according to claim 20, characterized in that The second message is a switching command.
22. The method according to claim 16, characterized in that The relay device and the terminal device are switched from the first access network device to the second access network device, and the terminal device sends a data packet to the relay device, including: The relay device and the terminal device switch from the first access network device to the second access network device, and the terminal device sends a radio link control RLC data protocol data unit PDU to the relay device, and the RLC data PDU includes the first identification information.
23. The method according to claim 22, characterized in that The header of the RLC data PDU includes the first identification information.
24. The method according to claim 23, characterized in that The first identification information is one bit of information in the packet header of the RLC data PDU.
25. The method according to any one of claims 16-19, 21-24, characterized in that: The relay device and the second access network device communicate via an uplink and a downlink.
26. A communication method, characterized in that: include: The relay device and the terminal device are switched from the first access network device to the second access network device, and the relay device receives the data packet sent by the terminal device; The terminal device and the relay device communicate via a side link; The terminal device sends a third message to the relay device so that the relay device sends the data packet to the second access network device based on the identifier of the data packet and the boundary data packet identifier indicated by the third message; the third message is used to indicate the boundary data packet identifier, and the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
27. A communication device, characterized in that: include: Receiving module, processing module and sending module; The receiving module is used for the relay device and the terminal device to switch from the first access network device to the second access network device, and receive a data packet sent by the terminal device, wherein the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device; the terminal device and the relay device communicate via a side link; The processing module is used to send the data packet to the second access network device through the sending module according to the first identification information.
28. A communication device, characterized in that: include: Receiving module, processing module and sending module; The receiving module is used for the relay device and the terminal device to switch from the first access network device to the second access network device, and receive the data packet sent by the terminal device; the terminal device and the relay device communicate via a side link; The processing module is used to send the data packet to the second access network device through the sending module according to the identifier of the data packet and the boundary data packet identifier indicated by the third message; wherein the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
29. A communication device, characterized in that: include: Processing module and sending module; The processing module is used for switching the relay device and the terminal device from the first access network device to the second access network device, and sending a data packet to the relay device through the sending module, wherein the data packet includes first identification information, and the first identification information is used to identify that the data packet is sent to the second access network device; the terminal device and the relay device communicate via a side link.
30. A communication device, characterized in that: include: Processing module and sending module; The sending module is used for the relay device and the terminal device to switch from the first access network device to the second access network device, and the relay device receives the data packet sent by the terminal device; the terminal device and the relay device communicate via a side link; The processing module is used for the terminal device to send a third message to the relay device through the sending module so that the relay device sends the data packet to the second access network device according to the identifier of the data packet and the boundary data packet identifier indicated by the third message, and the third message is used to indicate the boundary data packet identifier, and the boundary data packet identifier includes the identifier of the last data packet sent by the terminal device to the first access network device, or the boundary data packet identifier includes the identifier of the first data packet sent by the terminal device to the second access network device.
31. A relay device, characterized in that: include: A memory for storing program instructions; A processor, configured to call and execute program instructions in the memory to perform the method steps described in any one of claims 1 to 10 or any one of claims 11 to 15.
32. A terminal device, characterized in that: include: A memory for storing program instructions; A processor, configured to call and execute program instructions in the memory to perform the method steps described in any one of claims 16 to 25 or claim 26.
33. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and the computer program is used to execute the method of any one of claims 1 to 10, any one of claims 11 to 15, any one of claims 16 to 25, or claim 26.
Citation Information
Patent Citations
Handover method with mobile relay station
CN101578782A
Switching method, devices and system
CN109151928A
Method and device for relay transmission
EP3429244A1
Methods and Network Nodes for Assisting Handover
US20150296426A1
Source ID-Based Packet Filtering Method in Wireless Communication System and Terminal Using Method
US20180077608A1
