WO2018161357A1 - 通信方法和终端设备 - Google Patents
通信方法和终端设备 Download PDFInfo
- Publication number
- WO2018161357A1 WO2018161357A1 PCT/CN2017/076348 CN2017076348W WO2018161357A1 WO 2018161357 A1 WO2018161357 A1 WO 2018161357A1 CN 2017076348 W CN2017076348 W CN 2017076348W WO 2018161357 A1 WO2018161357 A1 WO 2018161357A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- message
- network
- currently
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W92/00—Interfaces specially adapted for wireless communication networks
- H04W92/16—Interfaces between hierarchically similar devices
- H04W92/18—Interfaces between hierarchically similar devices between terminal devices
Definitions
- the present application relates to the field of communications, and more particularly to a communication method and terminal device.
- D2D Device-to-Device
- the data transmission between the network device and the remote terminal device can be assisted by the D2D relay.
- the D2D communication mode can be adopted between the terminal device for the D2D relay and the remote terminal, and the terminal for the D2D relay can be used.
- a cellular communication mode is used between the device and the network device, wherein the terminal device for communicating the auxiliary network device with the terminal device may be referred to as a relay terminal device, and the relay terminal device may also be non-assisted with other terminal devices. The way to communicate directly with network devices.
- the embodiment of the present application provides a communication method and a terminal device, which can determine whether two terminal devices are in the same network.
- a communication method including: receiving, by a first terminal, indication information sent by a second terminal, where the indication information is used to indicate network information currently camped by the second terminal; The indication information determines whether the first terminal and the second terminal reside on the same network.
- the receiving, by the first terminal, the indication information sent by the second terminal includes:
- the first terminal receives a first message sent by the second terminal, where the first message includes the indication information.
- the first terminal according to the indication information, determining whether the first terminal and the second terminal are in the same network, includes:
- the first terminal determines, according to the indication information, that the network where the first terminal and the second terminal reside are the same.
- the method further comprises:
- the first terminal communicates with the first terminal and the network where the second terminal currently resides through the second terminal.
- the method further comprises:
- the first terminal sends a second message to the second terminal, where the second message is used to indicate that the first terminal and the second terminal currently camp on the same network.
- the second message is a discovery message or a direct communication message.
- the first terminal determines, according to the indication information, whether the first terminal and the second terminal are in the same network, including:
- the first terminal determines, according to the indication information, that the network where the first terminal and the second terminal reside are different.
- the method further includes:
- the first terminal receives the indication information sent by the other terminal, where the indication information is used to indicate a network message that the other terminal currently camps on;
- the first terminal determines, according to the indication information sent by the other terminal, a terminal device that is in the same network as the first terminal.
- the method further comprises:
- the first terminal performs a camping action for camping the first terminal to a network on which the second terminal is currently camping.
- the method further comprises:
- the first terminal communicates with the same network by using the second terminal.
- the method further comprises:
- the first terminal sends a third message to the second terminal, where the third message is used to indicate that the first terminal has successfully camped on a network where the second terminal currently resides.
- the third message is a discovery message or a direct communication message.
- the method further comprises:
- the first terminal sends a fourth message to the second terminal, where the fourth message is used to indicate that the first terminal fails to perform the camping action.
- the fourth message includes a reason for failure and/or network information that the first terminal currently camps, and the cause of the failure includes at least one of the following :
- the channel quality of the network currently camped by the second terminal does not meet the preset condition, and the network currently camped by the second terminal does not allow the first terminal to access.
- the fourth message is a discovery message or a direct communication message.
- the method further comprises:
- the first terminal sends a fifth message to the second terminal, where the fifth message is used to refuse to camp on the network where the second terminal currently resides.
- the fifth message further includes a reason for rejection and/or network information that the first terminal currently camps, and the reason for the rejection includes the first terminal It is different from the network where the second terminal currently resides.
- the fifth message is a discovery message or a direct communication message.
- the method further comprises:
- the first terminal sends a sixth message to the second terminal, where the sixth message is used to reject the first message.
- the sixth message includes a reason for rejection, the reason for the rejection comprising a different network in which the first terminal and the second terminal currently camp.
- the same network is any one of the following:
- the currently camped network information includes at least one of the following:
- Identification information, spatial consistency information, and time consistency information of the currently camped network the spatial consistency information indicating whether the currently camped network is the same as the last camped network, the time consistency information indicating a specific time Whether the network that resides inside has changed.
- the receiving, by the first terminal, the indication information sent by the second terminal includes:
- the first terminal receives the indication information sent by the second terminal, when the second terminal is powered on, or the network that resides is changed, or the relay service needs to be transmitted.
- a communication method including:
- the second terminal sends the indication information to the first terminal, where the indication information is used to indicate network information that the second terminal currently camps;
- the second terminal determines, according to the receiving time and/or content of the first message, whether the first terminal and the second terminal currently reside in the same network.
- the sending, by the second terminal, the indication information to the first terminal includes:
- the second terminal sends a second message to the first terminal, where the second information includes the indication information.
- the method further includes:
- the second terminal relays data between the first terminal and the same network.
- the determining that the first terminal and the second terminal reside on the same network the determining that the first terminal and the second terminal reside on the same network
- the second terminal determines that the first terminal and the second terminal currently reside On the same network.
- the determining that the first terminal and the second terminal reside on the same network the determining that the first terminal and the second terminal reside on the same network
- the second terminal determines that the first terminal and the second terminal are currently Residing on the same network.
- the second terminal determines, according to the receiving time and/or the content of the first message, whether the first terminal and the second terminal are currently stationed Stay on the same network, including:
- the second terminal determines that the first terminal and the second terminal currently reside in different The internet.
- the first message further includes a reason for rejection and/or network information that the first terminal currently camps, and the reason for the rejection includes the first terminal It is different from the network where the second terminal currently resides.
- the method further includes:
- the second terminal performs a camping action according to the network information that the first terminal currently camps on the first message, where the camping action is used to camp the second terminal to the first The network where the terminal is currently resident.
- the method further includes:
- the second terminal sends a third message to the first terminal, where the third message is used to indicate that the second terminal has successfully camped on the network where the first terminal currently resides.
- the third message is a discovery message or a direct communication message.
- the method further includes:
- the second terminal sends a fourth message to the first terminal, where the fourth message is used to indicate that the second terminal fails to perform the camping action.
- the fourth message includes a cause of failure
- the cause of the failure includes at least one of the following:
- the channel quality of the network currently camped by the first terminal does not meet the preset condition, and the network currently camped by the first terminal does not allow the second terminal to access.
- the fourth message is a discovery message or a direct communication message.
- the method further includes:
- the second terminal receives the fifth message sent by the first terminal, and the fifth message is used to reject the second message.
- the second terminal determines, according to a receiving time and/or content of the first message, whether the first terminal and the second terminal are currently camped on The same network, including:
- the second terminal determines that the first terminal and the second terminal currently reside in different networks.
- the first message is a discovery message or a direct communication message.
- the same network is any one of the following:
- the currently camped network information includes at least one of the following:
- Identification information, spatial consistency information, and time consistency information of the currently camped network the spatial consistency information indicating whether the currently camped network is the same as the last camped network, the time consistency information indicating a specific time Whether the network that resides inside has changed.
- the sending, by the second terminal, the indication information to the first terminal includes:
- the indication information is sent to the first terminal when the second terminal is powered on, or the resident network changes, or the relay service needs to be transmitted.
- a communication device comprising means for performing the method of the first aspect or various implementations thereof.
- a communication device comprising means for performing the method of the second aspect or various implementations thereof.
- a communication device comprising: a memory for storing a program, a processor for executing a program, and when the program is executed, the processor is based on the The transceiver performs the method of the first aspect.
- a communication device comprising: a memory for storing a program, a processor for executing a program, and when the program is executed, the processor is based on the The transceiver performs the method of the second aspect.
- a computer readable medium storing program code for execution by a terminal device, the program code comprising instructions for performing the method of the first aspect.
- a computer readable medium storing program code for execution by a terminal device, the program code comprising instructions for performing the method of the second aspect.
- the embodiment of the present application provides a communication method and a terminal device, which can determine whether two terminal devices are in the same network.
- FIG. 1 is a schematic diagram of a wireless communication system in accordance with an embodiment of the present application.
- FIG. 2 is a schematic flowchart of a communication method according to an embodiment of the present application.
- FIG. 3 is a schematic flowchart of a communication method according to another embodiment of the present application.
- FIG. 4 is a schematic flowchart of a communication method according to still another embodiment of the present application.
- FIG. 5 is a schematic block diagram of a terminal device according to an embodiment of the present application.
- FIG. 6 is a schematic block diagram of a terminal device according to another embodiment of the present application.
- FIG. 7 is a schematic block diagram of a terminal device according to still another embodiment of the present application.
- FIG. 8 is a schematic block diagram of a terminal device according to still another embodiment of the present application.
- system and “network” are used interchangeably herein.
- the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
- the character "/" in this article generally indicates that the contextual object is an "or" relationship.
- Network device 100 can be a device that communicates with a terminal device. Each network device 100 can provide communication coverage for a particular geographic area and can communicate with terminal devices located within the coverage area.
- the network device 100 can be a GSM system or code division multiple access (Code Base Station in a Division Multiple Access (CDMA) system (Base Transceiver Station, BTS), may also be a base station (NodeB, NB) in a WCDMA system, or an evolved base station in an LTE system (Evolutional Node) B, eNB or eNodeB), or cloud wireless access network (Cloud Radio Access).
- CDMA Code Division Multiple Access
- BTS Base Transceiver Station
- BTS Base Transceiver Station
- NodeB, NB base station
- LTE Long Term Evolutional Node
- eNB evolved base station
- cloud wireless access network Cloud Radio Access
- the wireless controller in the network, CRAN or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, a network side device in a future 5G network, or a future evolved public land mobile network (Public) Network devices in the Land Mobile Network, PLMN).
- Public public land
- the wireless communication system 100 also includes a plurality of terminal devices, such as terminal devices 121, 122, 123, 124, 125, and 126 as shown in FIG.
- the terminal device can be mobile or fixed.
- the terminal device can refer to an access terminal and a user equipment (User Equipment, UE), subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment.
- UE User Equipment
- the access terminal can be a cellular phone, a cordless phone, a session initiation protocol (Session) Initiation Protocol, SIP) Telephone, Wireless Local Loop (WLL) station, personal digital processing (Personal Digital Assistant, PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a future 5G network, or a terminal device in a future evolved PLMN.
- Session Session
- SIP Session Initiation Protocol
- WLL Wireless Local Loop
- PDA Personal Digital Assistant
- FIG. 1 exemplarily shows a network device and six terminal devices.
- the wireless communication system 100 may include multiple network devices and other numbers of terminal devices, which are not limited in this embodiment of the present application.
- the wireless communication system 100 can also include a mobility management entity (Mobile Management Entity, MME), Serving Gateway (S-GW), Packet Data Network Gateway (Packet Data Network) Gateway, P-GW, and other network entities, but the embodiments of the present application are not limited thereto.
- MME Mobile Management Entity
- S-GW Serving Gateway
- Packet Data Network Gateway Packet Data Network Gateway
- P-GW Packet Data Network Gateway
- the terminal device can communicate in a cellular communication mode or a D2D communication mode, wherein in the cellular communication mode, the terminal device can communicate with other terminal devices through the network device; in the D2D communication mode, the terminal device can pass the D2D link Communicate directly with other terminal devices.
- the terminal device 121 and the terminal device 125 may be referred to as remote terminal devices, and the terminal device 121 and the terminal device 125 may communicate with the network device 110 through the relay terminal devices 122 and 124, respectively.
- the terminal device 122 and the terminal device 124 may relay data between the remote terminal device 121 and the remote terminal device 125 and the network device 110.
- the terminal device 122 and the terminal device 124 may be referred to as a relay terminal device.
- the relay terminal devices 122 and 124 can also directly communicate with the network device in a manner that does not assist other terminal devices; the terminal device 123 can communicate with the network device 110 without relaying the terminal device, and does not need to relay other terminal devices with Network device 110 communicates.
- the terminal devices 122, 123, 124, and 126 and the network device 110 have a Uu interface, and can communicate with the network device 110 by using a cellular communication technology.
- the relay terminal device and the remote terminal device have a PC5 interface, and the D2D communication technology is used for communication.
- the D2D communication technology may be specifically a bypass (SideLink, SL) technology in LTE, or may be a WIFI in a WLAN.
- the embodiment of the present application does not limit the technology, such as the Bluetooth, or other D2D communication technologies.
- the terminal device 121 and the terminal device 125 can also directly communicate with the network device 110 through the relay terminal device. At this time, the terminal device 121 and the terminal device 125 and the network device have a Uu interface, and can adopt a cellular communication technology and Network device 110 communicates.
- the remote terminal device and the relay terminal device need to reside in the same cell or the same base station, and the relay terminal device can The data is delivered to the corresponding network device.
- the embodiment of the present application provides a communication method, and the remote terminal device can deliver the data to a suitable relay terminal device, so that the data can be delivered to the corresponding network device.
- FIG. 2 schematically illustrates a communication 200 provided by an embodiment of the present application.
- the method 200 can be applied to the wireless communication system 100 described above, but the embodiment of the present application is not limited thereto.
- the method 200 includes the following.
- the first terminal receives the indication information sent by the second terminal, where the indication information is used to indicate a network message that the second terminal currently camps;
- the first terminal determines, according to the indication information, whether the first terminal and the second terminal reside in the same network.
- the first terminal and the second terminal may be any two terminal devices in the network, for example, the first terminal and the second terminal are both remote terminal devices, or The first terminal is a remote terminal device, the second terminal is a relay terminal device, or the first terminal is a relay terminal device, and the second terminal is a remote terminal device, which is in the embodiment of the present application.
- the first terminal and the second terminal may determine whether they are in the same network by using the manners described in S210 and S220. Specifically, the first terminal may receive the indication information of the second terminal, where the indication information indicates network information that the second terminal currently camps, so that the first terminal may determine according to the indication information. Whether the first terminal and the second terminal reside in the same network.
- the first terminal may be a remote terminal device
- the second terminal is a relay terminal device
- the first terminal may be according to the first terminal and the second terminal.
- the network situation in which the terminal resides determines whether the second terminal or other terminal is used as a relay terminal device between the first terminal and the network device.
- the first terminal may directly send uplink data to the network device in the same network by using the second terminal, or The network device in the same network may send downlink data to the first terminal by using the second terminal, that is, the second terminal may serve as a relay terminal device between the first terminal and the network device.
- the second terminal cannot directly serve as a relay terminal device between the first terminal and the network device.
- the first terminal may search for other terminal devices by using the methods described in S210 and S220 until a terminal device that is in the same network as the first terminal is found, and then the terminal device is used as the first device.
- a relay terminal device between the terminal and the network device, or the first terminal may reside in a network where the second terminal currently resides.
- the first terminal and the second terminal are stationed
- the second terminal can serve as a relay terminal device between the first terminal and the network device. Therefore, the first terminal can communicate with the network device through the second terminal.
- the receiving, by the first terminal, the indication information sent by the second terminal includes:
- the first terminal receives a first message sent by the second terminal, where the first message includes the indication information.
- the D2D discovery process is a process in which a terminal device perceives and recognizes a nearby terminal device, and D2D discovery is a prerequisite for establishing a D2D connection. If two devices desire data communication in a D2D format, the D2D discovery process is triggered first. Therefore, the second terminal may carry the indication information in the discovery message by sending a discovery message. That is, the second terminal may notify the first terminal of the network information currently camped by the second terminal in the D2D discovery process.
- the discovery message may be a discovery statement (Discovery) Announcement message, which can also be a Discovery Solicitation message, or other messages in the discovery message.
- the second terminal may also notify the first terminal of the network information currently camped by the second terminal in the D2D connection establishment process.
- the second terminal may send a direct communication message, where the indication information is included in the direct communication message.
- the direct communication message may be a direct communication establishment request (DIRECT_COMMUNICATION_REQUEST) message, or a direct communication establishment. Accept (DIRECT_COMMUNICATION_ACCEPT) messages, or other messages in direct communication messages.
- the first terminal may not reply to any response message, or may reply to the second message, where the second message is used to notify the second terminal that the first terminal and the second terminal currently camp on the same network.
- the second message may be a discovery response (Discovery) a message, or if the first message is a direct communication setup request message, the second message may be a direct communication setup accept message, or if the first message is a direct communication setup accept message, the second message A success message can be established for direct communication or a failure message can be established for direct communication.
- the second terminal after receiving the first message of the first terminal, determines, according to the indication information, that the first terminal and the second terminal reside The first terminal may not reply to any response message, or may attempt to camp on the network where the second terminal currently camps. Alternatively, if the camping is successful, the first terminal may reply. And a third message, the third message is used to notify the second terminal that the first terminal has successfully camped on a network where the second terminal currently resides.
- the first terminal may reply to the fourth message, to notify the second terminal that the first terminal fails to camp.
- the fourth message may further include a failure.
- the channel camp of the network where the second terminal is currently camping does not meet the preset condition, or the network currently camped by the second terminal does not allow the first terminal to access.
- the fourth message may further include network information that the first terminal currently camps on.
- the third message may be a discovery response message, or if the first message is a direct communication setup request message, the third message may be established for direct communication. The message is accepted, or if the first message is a direct communication establishment accept message, the third message may be a direct communication establishment success message or a direct communication establishment failure message or the like.
- the fourth message may be a discovery response message, or if the first message is a direct communication setup request message, the fourth message may be established for direct communication.
- the DIRECT_COMMUNICATION_REJECT message is rejected, or if the first message is a direct communication establishment accept message, the fourth message may be a direct communication setup failure message or the like.
- the second terminal after receiving the first message of the first terminal, determines, according to the indication information, that the first terminal and the second terminal reside
- the first terminal may also directly reply to the fifth message, where the fifth message is used to refuse to camp on the network where the second terminal currently resides.
- the fifth message may also be The reason for the rejection is that the reason for the rejection may be different for the network where the first terminal and the second terminal are currently camping.
- the fifth message may further include network information that the first terminal currently resides.
- the fifth message may be a discovery response (Discovery) a message, or if the first message is a direct communication setup request message, the fifth message may be a direct communication establishment rejection message, or if the first message is a direct communication establishment acceptance message, the fifth message A failure message or the like can be established for direct communication.
- discovery response Discovery
- the fifth message may be a direct communication establishment rejection message, or if the first message is a direct communication establishment acceptance message, the fifth message A failure message or the like can be established for direct communication.
- the second terminal determines, according to the indication information, that the first terminal and the second terminal reside
- the first terminal may also directly reply to the sixth message, where the sixth message is used to reject the first message.
- the sixth message may further include a reason for rejection, and the reason for the rejection may be The first terminal is different from the network where the second terminal currently resides.
- the sixth message may further include network information that the first terminal currently resides.
- the first message is a discovery request message
- the sixth message may be used to reject the discovery request message, or if the first message is a direct communication setup request message, the sixth message may be Used to reject the direct communication setup request message.
- the fourth message indicates that the first terminal fails to camp
- the fifth message indicates that the first terminal refuses to camp to the network where the second terminal is currently camping
- the sixth message indicates that the first message is rejected
- the fourth message, the fifth message, or the sixth message may include network information that the first terminal currently camps, so that the second terminal may be according to the fourth message, the fifth message, or the The network information currently camped by the first terminal that may be included in the six message attempts to camp on the network where the first terminal currently camps. If the residing is successful, the second terminal may not reply to any response message.
- the second terminal may also reply to the first terminal with a seventh message, indicating that the second terminal is successfully camped on. . If the device is resident, the second terminal may not reply to any response message.
- the second terminal may also reply to the first terminal with an eighth message, indicating that the second terminal fails to camp.
- the eighth message may include a reason for failure, where the reason for the failure may include that a channel quality of a network where the first terminal currently camps does not satisfy a camping condition of the second terminal, or The network in which a terminal currently resides does not allow the second terminal to camp on.
- the second terminal may also refuse to camp on the network where the first terminal currently resides. In this case, the second terminal may not reply to any response message, and may also reply to the ninth message.
- the second terminal may also reply to the tenth message for rejecting the fourth message, the fifth message, or the sixth message.
- the message used for communication between the first terminal and the second terminal may be a discovery message or a direct communication message. Or other interface messages used for communication between the terminal devices, which are not limited in this embodiment of the present application.
- the same network may be any one of the following, which is not limited by the embodiment of the present application:
- Same beam same cell, same base station, same core network, same public land mobile network (Public Land Mobile) Network, PLMN), the same tracking area (TA), the same paging area.
- PLMN public land mobile network
- TA tracking area
- the communication method of the embodiment of the present application is introduced as a whole.
- the following describes the actions of the first terminal and the second terminal in each scenario.
- the determining, by the first terminal, whether the first terminal and the second terminal reside in the same network, according to the indication information includes:
- the first terminal determines, according to the indication information, that the network where the first terminal and the second terminal reside are the same.
- the first terminal currently resides in the first network, and if the second terminal determines, according to the indication information, that the second terminal currently resides in the second network, if the first network and the The second network is the same, and the first terminal determines that the first terminal and the second terminal reside in the same network.
- the method 200 further includes:
- the first terminal communicates with the first terminal and the network where the second terminal currently resides through the second terminal.
- the first terminal may communicate with the network device by using the second terminal, that is, The second terminal may serve as a relay terminal device between the first terminal and the network device.
- the method 200 further includes:
- the first terminal sends a second message to the second terminal, where the second message is used to indicate that the first terminal and the second terminal currently camp on the same network.
- the first terminal may further send a second message to the second terminal to notify the The second terminal and the second terminal are currently in the same network, so that the second terminal can receive uplink data sent by the first terminal to the network device, and forward the uplink data to the network.
- the device, or the second terminal may receive downlink data sent by the network device to the first terminal, and forward the downlink data to the first terminal.
- the second message is a discovery message or a direct communication message.
- the first terminal may notify the second terminal that the first terminal and the second terminal currently camp on the same network by sending a discovery message or a direct communication message, optionally, the discovery
- the message may be a discovery claim message or a discovery request message
- the direct communication message may be a direct communication setup request message or a direct communication setup accept message.
- the second terminal may not reply, or may reply a corresponding response message, for example, if the second message is a discovery request message, The second terminal may reply to the discovery response message, or if the second message is a direct communication setup request message, the second terminal may reply to the direct communication establishment accept message or the like.
- the determining, by the first terminal, whether the first terminal and the second terminal reside in the same network, according to the indication information includes:
- the first terminal determines, according to the indication information, that the network where the first terminal and the second terminal reside are different.
- the method further includes:
- the first terminal receives the indication information sent by the other terminal, where the indication information is used to indicate a network message that the other terminal currently camps on;
- the first terminal determines, according to the indication information sent by the other terminal, a terminal device that is in the same network as the first terminal.
- the first terminal may continue to receive an indication of another terminal (for example, a third terminal). Determining, according to the indication information of the third terminal, whether the third terminal and the first terminal reside in the same network, optionally, if the third terminal and the first terminal reside in the same network
- the first terminal may send uplink data to the network device by using the third terminal, or receive downlink data from the network device by using the third terminal.
- the first terminal may further receive indication information of the fourth terminal, and determine whether the fourth terminal and the first terminal are Residing in the same network, if camping on different networks, the first terminal may continue to perform the above steps until a terminal device in the same network is found, thereby communicating with the network device through the terminal device.
- the method 200 further includes:
- the first terminal performs a camping action for camping the first terminal to a network on which the second terminal is currently camping.
- the method further includes:
- the first terminal communicates with the same network by using the second terminal.
- the first terminal may be caused to reside in the network where the second terminal currently resides, so that the first The terminal and the second terminal reside on the same network. If the first terminal camps on the network where the second terminal is currently camped, that is, if the camping action is successful, the first terminal may send uplink data to the network device by using the second terminal, or Receive downlink data sent by the network device.
- the camping of the first terminal and the second terminal to the same network may include The first terminal camps on the second network, or camps the second terminal to the first network, or camps both the first terminal and the second terminal to a third network.
- the method further includes:
- the first terminal sends a third message to the second terminal, where the third message is used to indicate that the first terminal has successfully camped on a network where the second terminal currently resides.
- the first terminal may further send a third message to the second terminal, if the first terminal successfully camps on the network where the second terminal is currently camping, that is, the performing the residing action is successful.
- the third message is used to notify the second terminal that the first terminal has successfully camped on the network where the second terminal is currently camping, so that the second terminal may receive the first terminal and send the network to the network.
- Uplink data of the device, and forwarding the uplink data to the network device, or the second terminal may receive downlink data sent by the network device to the first terminal, and forward the downlink data to the first terminal .
- the third message is a discovery message or a direct communication message.
- the first terminal may notify the second terminal that the first terminal has successfully camped on the network currently camped by the second terminal by sending a discovery message or a direct communication message
- the discovery message may be a discovery claim message or a discovery request message
- the direct communication message may be a direct communication setup request message or a direct communication establishment accept message.
- the second terminal may not reply, or may reply a corresponding response message, for example, if the third message is a discovery request message, The second terminal may reply to the discovery response message, or if the third message is a direct communication setup request message, the second terminal may reply to the direct communication establishment accept message.
- the method 200 further includes:
- the first terminal sends a fourth message to the second terminal, where the fourth message is used to indicate that the first terminal fails to perform the camping action.
- the fourth terminal may further send a fourth message to the second terminal, to notify the second terminal by the fourth terminal to perform the camping.
- the fourth message includes a reason for failure and/or network information that the first terminal currently camps, and the reason for the failure includes at least one of: a network of the second terminal currently camping on The channel quality does not meet the preset condition, and the network currently camped by the second terminal does not allow the first terminal to access. Therefore, the second terminal may try to camp on the network currently camped by the first terminal according to the network information currently camped by the first terminal included in the fourth message, so that the first terminal and the first terminal The second terminal resides on the same network.
- the fourth message may also be a discovery message or a direct communication message.
- the fourth message may also be a discovery message or a direct communication message.
- the method 200 further includes:
- the first terminal sends a fifth message to the second terminal, where the fifth message is used to refuse to camp on the network where the second terminal currently resides.
- the first terminal may also refuse to camp on the network where the second terminal currently resides.
- a terminal may not reply to the second terminal, and may also reply to a fifth message, where the fifth message is used to refuse to camp on the network where the second terminal currently camps.
- the first terminal may further search for a terminal device that is in the same network as the first terminal by using the method described in the foregoing embodiment.
- the fifth message may further include network information and/or a reason for rejection of the first terminal, so that the second terminal may be according to the first terminal included in the fifth message.
- the currently camped network information resides on the network in which the first terminal is currently camping, thereby camping the first terminal and the second terminal on the same network.
- the reason for the rejection may include that the first terminal and the second terminal currently camp on a different network.
- the fifth message may also be a discovery message or a direct communication message.
- the discovery message may also be a discovery message or a direct communication message.
- the method further includes:
- the first terminal sends a sixth message to the second terminal, where the sixth message is used to reject the first message.
- the sixth message may further include a reason for the rejection, where the reason for the rejection may be different from a network where the first terminal and the second terminal currently camp.
- the first terminal may first try to access the network where the second terminal is located, if the access fails, or if the first terminal refuses to access the network where the second terminal is located, or rejects the The first message, the first terminal may send a fourth message or a fifth message or a sixth message to the second terminal, where the first message is included in the fourth message or the fifth message or the sixth message.
- the network information residing by the terminal so that the second terminal camps on the network where the first terminal currently resides according to the network information currently camped by the first terminal.
- the currently camped network information includes at least one of the following:
- Identification information, spatial consistency information, and time consistency information of the currently camped network the spatial consistency information indicating whether the currently camped network is the same as the last camped network, the time consistency information indicating a specific time Whether the network that resides inside has changed.
- the currently camped network information may include identifier information of a currently camped network, and the corresponding network may be determined by using the identifier information.
- the currently camped network information may further include spatial consistency information indicating whether the currently camped network is the same as the last camped network.
- the spatial consistency information may be 1-bit information. For example, 0 may be set to be the same as the network that was last camped, and 1 is set to be different from the network that was last camped if the spatial consistency information is used.
- the network information currently camped by the second terminal may include only spatial consistency information, thereby saving signaling overhead, and the first terminal may The network that the second terminal last camped on (provided that the first terminal knows the network where the second terminal last camped), determines the currently camped network, and determines whether it is in the same state as the second terminal.
- the internet may indicate whether the network where the second terminal resides changes in a specific time.
- the time consistency information may also be 1-bit information, and 0 may be set to indicate a specific The network that resides in the time does not change. Setting 1 indicates that the network residing in a specific time changes.
- the first terminal may directly determine the network where the second terminal resides, instead of receiving the indication information sent by the second terminal, and determining, by using the indication information, the network currently camped by the second terminal, thereby enabling Save signaling overhead.
- the receiving, by the first terminal, the indication information sent by the second terminal includes:
- the first terminal receives the indication information sent by the second terminal, when the second terminal is powered on, or the network that resides is changed, or the relay service needs to be transmitted.
- the second terminal may send the indication information to the first terminal when the device is powered on, so that the first terminal finds the second terminal according to the indication information, thereby determining the first terminal. And in a case that the second terminal resides in the same network, determining that the second terminal is a relay terminal device between the first terminal and the network terminal. Or the second terminal may send the indication information to the first terminal when the resident network changes, so that the first terminal may select to re-find the relay terminal device, or the first The terminal may choose to camp on the network in which the second terminal resides after the change.
- the second terminal may send the indication information when there is a service that needs to be relayed, which may be a relay service from the first terminal, or may be a relay service from another terminal.
- the first terminal may determine, according to the indication information, whether the second terminal is in the same network. If the second terminal is in the same network, the relay service may be sent to the second terminal. If the first terminal is in a different network, the first terminal is You may choose to look for other relay terminal devices or camp on the network where the second terminal is currently camping.
- FIG. 2 a communication method according to an embodiment of the present application is described in detail from the perspective of a first terminal.
- a communication method according to another embodiment of the present application will be described in detail from the perspective of a second terminal in conjunction with FIG. It should be understood that the description of the first terminal side and the description of the second terminal side correspond to each other, and similar descriptions may be referred to above. To avoid repetition, details are not described herein again.
- FIG. 3 is a schematic flowchart of a communication method 300 according to another embodiment of the present application. As shown in FIG. 3, the method 300 includes:
- the second terminal sends the indication information to the first terminal, where the indication information is used to indicate network information that the second terminal currently camps on;
- the second terminal determines, according to the receiving time and/or the content of the first message, whether the first terminal and the second terminal currently reside in the same network.
- the second terminal may send the indication information to the first terminal, so that the first terminal determines network information that the second terminal currently resides according to the first terminal, so that the first terminal
- the second terminal may reply to the second terminal, or may not reply to the first message, and the second terminal may determine, according to the content or the receiving time of the first message, the first terminal and the second terminal. Whether to reside on the same network.
- the sending, by the second terminal, the indication information to the first terminal includes:
- the second terminal sends a second message to the first terminal, where the second information includes the indication information.
- the method further includes:
- the second terminal relays data between the first terminal and the same network.
- the first terminal may communicate with the network device through the second terminal.
- the determining that the first terminal and the second terminal reside on the same network including:
- the second terminal determines that the first terminal and the second terminal currently reside On the same network.
- the determining that the first terminal and the second terminal reside on the same network including:
- the second terminal determines that the first terminal and the second terminal are currently Residing on the same network.
- the first terminal and the second terminal residing on the same network may be that the first terminal and the second terminal originally reside in the same network, or may be through the first The terminal camps on the network of the second terminal such that the first terminal and the second terminal currently reside on the same network.
- the second terminal determines, according to the receiving time and/or content of the first message, whether the first terminal and the second terminal currently reside in the same network, including :
- the second terminal determines that the first terminal and the second terminal currently reside in different The internet.
- the first message further includes a reason for rejecting and/or network information that the first terminal currently camps, where the reason for the rejection includes that the first terminal and the second terminal are currently resident.
- the network left is different.
- the method further includes:
- the second terminal performs a camping action according to the network information that the first terminal currently camps on the first message, where the camping action is used to camp the second terminal to the first The network where the terminal is currently resident.
- the method further includes:
- the second terminal sends a third message to the first terminal, where the third message is used to indicate that the second terminal has successfully camped on the network where the first terminal currently resides.
- the third message is a discovery message or a direct communication message.
- the method further includes:
- the second terminal sends a fourth message to the first terminal, where the fourth message is used to indicate that the second terminal fails to perform the camping action.
- the fourth message includes a reason for failure
- the reason for the failure includes at least one of the following:
- the channel quality of the network currently camped by the first terminal does not meet the preset condition, and the network currently camped by the first terminal does not allow the second terminal to access.
- the fourth message is a discovery message or a direct communication message.
- the method further includes:
- the second terminal receives the fifth message sent by the first terminal, and the fifth message is used to reject the second message.
- the determining, by the second terminal, whether the first terminal and the second terminal are currently camped on the same network, according to the receiving time and/or content of the first message includes:
- the second terminal determines that the first terminal and the second terminal currently reside in different networks.
- the second terminal may preset a time range. If the first message is not received within a preset time range, the second terminal may determine the first terminal and the second terminal. The terminal is on a different network.
- the first message is a discovery message or a direct communication message.
- the same network is any one of the following:
- the currently camped network information includes at least one of the following:
- Identification information, spatial consistency information, and time consistency information of the currently camped network the spatial consistency information indicating whether the currently camped network is the same as the last camped network, the time consistency information indicating a specific time Whether the network that resides inside has changed.
- the sending, by the second terminal, the indication information to the first terminal includes:
- the indication information is sent to the first terminal when the second terminal is powered on, or the resident network changes, or the relay service needs to be transmitted.
- the method includes:
- the first terminal receives the first message of the second terminal, where the first message includes indication information, where the indication information indicates network information that the second terminal currently camps on.
- the first message may be a discovery claim message, a discovery request message, a direct communication setup request message, or a direct establishment request accept message.
- the first terminal determines, according to the indication information, whether the network where the first terminal and the second terminal reside are the same.
- the first terminal may not reply to any response message, or in 403, the first terminal may reply to the second terminal with a second message, where the second message indicates the first terminal and the The network in which the second terminal resides is the same.
- the second message may be a discovery claim message, a discovery request message, a direct communication setup request message, or a direct establishment request accept message.
- the first terminal may perform a camping action according to the indication information, for camping on a network where the second terminal currently camps.
- the first terminal may not reply to any response message, or in 405, the first terminal may reply to the second terminal with a third message, where the third message indicates the first terminal The network residing to the second terminal is successful.
- the third message may be a discovery response message, a direct communication establishment request accept message, or the like.
- the first terminal may not reply to any response message, or in 406, the first terminal may reply to the second terminal with a fourth message, where the fourth message indicates the first terminal
- the network residing to the second terminal fails.
- the fourth message may include a reason for failure and/or network information that the first terminal currently camps, and the reason for the failure may be that the channel quality of the network where the second terminal is currently camping does not meet the pre- It is assumed that the network in which the second terminal is currently camped does not allow the terminal device to access.
- the fourth message may include the network information currently camped by the first terminal, so that the second terminal resides in the network according to the network information currently camped by the first terminal included in the fourth message. The network in which the first terminal currently resides.
- the fourth message may be a discovery response message
- the fourth message may be a direct communication establishment request. Reject the message, etc.
- the first terminal may further reply a fifth message to the second terminal, to indicate the The first terminal refuses to camp on the network in which the first terminal is currently camping.
- the fifth message may further include a reason for rejecting and/or network information that the terminal device currently camps, where the reason for the rejection includes that the first terminal and the second terminal are currently camped on different networks.
- the fifth message may be a discovery response message
- the fifth message may be a direct communication establishment request. Reject the message, etc.
- the first terminal may further reply a sixth message to the second terminal, where Said the first message.
- the sixth message may further include a reason for rejecting and/or network information that the first terminal currently camps, where the reason for the rejection includes that the first terminal and the second terminal are currently camped on different networks.
- the sixth message may be a discovery response message
- the sixth message may be a direct communication establishment request. Reject the message, etc.
- the second terminal may attempt to camp on the first terminal currently camping according to network information that the first terminal currently resides in the fourth message, the fifth message, or the sixth message. network of.
- the second terminal may send a seventh message to the first terminal, where the seventh message may indicate that the second terminal successfully camps on the network where the first terminal currently resides.
- the seventh message may be a discovery claim message, a discovery request message, a direct communication setup request message, or a direct establishment request accept message.
- the second terminal may send an eighth message to the first terminal, where the eighth message may indicate that the second terminal camps on the network where the first terminal currently camps fails.
- the eighth message may be a discovery claim message, a discovery request message, a direct communication setup request message, or a direct establishment request accept message.
- the second terminal may not reply to the response message, or may be in 412, where the The second terminal may reply to the first terminal with a ninth message indicating that the network is currently camped on the first terminal, and optionally, the ninth message may further include a reason for rejection, and the reason for the rejection may be The network in which the first terminal and the second terminal currently reside is different.
- the ninth message may be a discovery response message or a direct establishment request rejection message or the like.
- the second terminal may not reply to the response message, or may be in 413, where the The second terminal may reply to the first terminal with a tenth message, indicating to refuse to camp on the fourth message, the fifth message, or the sixth message, optionally, the tenth message may further include rejecting The reason for the rejection may be different for the network where the first terminal and the second terminal currently camp.
- FIG. 5 is a schematic block diagram of a terminal device 500 according to an embodiment of the present application. As shown in FIG. 5, the terminal device 500 includes a communication module 510 and a determination module 520.
- the communication module 510 is configured to receive indication information that is sent by the second terminal, where the indication information is used to indicate network information that the second terminal currently camps on;
- the determining module 520 is configured to determine, according to the indication information, whether the terminal device and the second terminal reside in the same network.
- the communications module 510 is specifically configured to:
- the determining module 520 is specifically configured to:
- the communications module 510 is specifically configured to:
- the communications module 510 is specifically configured to:
- the second message is a discovery message or a direct communication message.
- the determining module 520 is specifically configured to:
- the communications module 510 is specifically configured to:
- the determining module 520 is specifically configured to:
- the terminal device further includes:
- a resident module for performing a resident action for camping the terminal device to a network in which the second terminal is currently camped.
- the communication module 510 is further configured to:
- the communication module 510 is further configured to:
- the third message is a discovery message or a direct communication message.
- the communication module 510 is further configured to:
- the fourth message includes a reason for failure and/or network information that the terminal device currently camps, and the reason for the failure includes at least one of the following:
- the channel quality of the network currently camped by the second terminal does not meet the preset condition, and the network currently camped by the second terminal does not allow the terminal device to access.
- the fourth message is a discovery message or a direct communication message.
- the communication module 510 is further configured to:
- the fifth message is used to refuse to camp on a network where the second terminal is currently camped.
- the fifth message further includes a reason for rejecting and/or network information that the terminal device currently camps, where the reason for the rejection includes that the terminal device and the second terminal are currently camped on.
- the network is different.
- the fifth message is a discovery message or a direct communication message.
- the communication module 510 is further configured to:
- the sixth message includes a reason for rejection, the denying being different for the network including the terminal device and the second terminal currently camping.
- the same network is any one of the following:
- the currently camped network information includes at least one of the following:
- Identification information, spatial consistency information, and time consistency information of the currently camped network the spatial consistency information indicating whether the currently camped network is the same as the last camped network, the time consistency information indicating a specific time Whether the network that resides inside has changed.
- the communications module 510 is specifically configured to:
- the terminal device 500 may correspond to the first terminal of the communication method 200 or the method of FIG. 4 according to the embodiment of the present application, and the device 500 may include the method for performing the method 200 of FIG. 2 or the first terminal of FIG. The entity unit of the method being executed.
- the physical units in the device 500 and the other operations and/or functions described above are respectively implemented in order to implement the corresponding processes of the method 200 or the method in FIG. 4, and are not described herein again for brevity.
- FIG. 6 is a schematic block diagram of a terminal device 600 according to another embodiment of the present application. As shown in FIG. 6, the terminal device 600 includes a communication module 610 and a determination module 620.
- the communication module 610 is configured to send, to the first terminal, indication information, where the indication information is used to indicate network information that the terminal device currently camps on;
- the determining module 620 is configured to determine, according to the receiving time and/or the content of the first message, whether the first terminal and the terminal device currently reside in the same network.
- the communication module 610 is specifically configured to:
- the communication module 610 is further configured to:
- the determining module 620 is specifically configured to:
- the determining module 620 is specifically configured to:
- the content of the first message indicates that the first terminal has successfully accessed the network where the terminal device currently camps, it is determined that the first terminal and the terminal device currently reside in the same network.
- the determining module 620 is specifically configured to:
- the content of the first message indicates that the first terminal refuses to access the network where the terminal device currently camps, it is determined that the first terminal and the terminal device currently reside in different networks.
- the first message further includes a reason for rejecting and/or network information that the first terminal currently camps, where the reason for the rejection includes the first terminal and the terminal device currently camping The network is different.
- the terminal device further includes:
- a resident module configured to perform a camping action according to the network information currently camped by the first terminal included in the first message, where the camping action is used to camp the terminal device to the first The network where the terminal is currently resident.
- the communication module 610 is further configured to:
- the third message is a discovery message or a direct communication message.
- the communication module 610 is further configured to:
- the fourth message includes a reason for failure
- the reason for the failure includes at least one of the following:
- the channel quality of the network where the first terminal currently resides does not meet the preset condition, and the network currently camped by the first terminal does not allow the terminal device to access.
- the fourth message is a discovery message or a direct communication message.
- the communication module 610 is further configured to:
- the determining module 620 is further configured to:
- the receiving time of the first message is not within a preset time range, determining that the first terminal and the terminal device currently reside in different networks.
- the first message is a discovery message or a direct communication message.
- the same network is any one of the following:
- the currently camped network information includes at least one of the following:
- Identification information, spatial consistency information, and time consistency information of the currently camped network the spatial consistency information indicating whether the currently camped network is the same as the last camped network, the time consistency information indicating a specific time Whether the network that resides inside has changed.
- the communication module 610 is specifically configured to:
- the indication information is sent to the first terminal when the terminal device is powered on, or the resident network changes, or the relay service needs to be transmitted.
- the terminal device 600 may correspond to the communication method 300 according to the embodiment of the present application or the second terminal in FIG. 4, and the device 600 may include a method for performing the method 300 in FIG. 3 or the second terminal in FIG. The physical unit of the method.
- each entity unit in the device 600 and the other operations and/or functions described above are respectively used to implement the corresponding processes of the method 300 or the method in FIG. 4, and are not described herein again for brevity.
- FIG. 7 is a schematic block diagram of a terminal device according to still another embodiment of the present application.
- the terminal device 700 shown in FIG. 7 includes a memory 710 for storing a program, a processor 730 for executing program code stored in the memory 710, and a processor 730
- the transceiver 720 implements external communication.
- the processor 730 can call the program code stored in the memory 710 to perform the corresponding operations in the method 200 shown in FIG. 2, and details are not described herein for brevity.
- the processor 730 may be a central processing unit (Central Processing Unit, abbreviated as "CPU"), the processor 730 can also be other general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices. , discrete gates or transistor logic devices, discrete hardware components, etc.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the memory 710 can include read only memory and random access memory and provides instructions and data to the processor 730. A portion of the memory 710 may also include a non-volatile random access memory. For example, the memory 710 can also store information of the device type.
- each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 730 or an instruction in a form of software.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory, and the processor 730 reads the information in the memory and combines the hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here.
- the determining module 520 of FIG. 5 can be implemented by the processor 730 of FIG. 7, and the communication module 510 of FIG. 5 can be implemented by the transceiver 720 of FIG.
- FIG. 8 is a schematic block diagram of a terminal device according to still another embodiment of the present application.
- the terminal device 800 shown in FIG. 8 includes a memory 810 for storing a program, a processor 830 for executing program code stored in the memory 810, and a processor 830
- the transceiver 820 implements external communication.
- the processor 830 can call the program code stored in the memory 810 to perform the corresponding operations in the method 300 shown in FIG. 3.
- the processor 830 can call the program code stored in the memory 810 to perform the corresponding operations in the method 300 shown in FIG. 3.
- the processor 830 may be a central processing unit (Central Processing Unit, abbreviated as "CPU"), the processor 830 can also be other general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices. , discrete gates or transistor logic devices, discrete hardware components, etc.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the memory 810 can include read only memory and random access memory and provides instructions and data to the processor 830. A portion of the memory 810 may also include a non-volatile random access memory. For example, the memory 810 can also store information of the device type.
- each step of the above method may be completed by an integrated logic circuit of hardware in the processor 830 or an instruction in the form of software.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory, and the processor 830 reads the information in the memory and performs the steps of the above method in combination with the hardware thereof. To avoid repetition, it will not be described in detail here.
- the determining module 620 of FIG. 6 can be implemented by the processor 830 of FIG. 8, and the communication module 610 of FIG. 6 can be implemented by the transceiver 820 of FIG.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
- the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请提供了一种通信方法和终端设备,能够识别两个终端设备是否处于同一网络。该方法包括:第一终端接收第二终端发送的指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络。
Description
本申请涉及通信领域,并且更具体地,涉及一种通信方法和终端设备。
设备到设备(Device-to-Device,D2D)技术是指邻近的终端设备可以在近距离范围内通过直连链路的方式进行数据传输。
可以通过D2D中继辅助网络设备和远端终端设备之间的数据传输,此时,用于D2D中继的终端设备与远端终端之间可以采用D2D通信模式,而用于D2D中继的终端设备和网络设备之间使用蜂窝通信模式,其中,可以将用于辅助网络设备与终端设备进行通信的终端设备可以称为中继终端设备,该中继终端设备也可以以非辅助其他终端设备的方式直接与网络设备进行通信。
如何确定两个终端设备是否处于同一网络是一项亟待解决的问题。
本申请实施例提供一种通信方法和终端设备,能够确定两个终端设备是否处于同一网络。
第一方面,提供了一种通信方法,包括:第一终端接收第二终端发送的指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络。
结合第一方面,在第一方面的某些实现方式中,所述第一终端接收第二终端发送的指示信息,包括:
所述第一终端接收所述第二终端发送的第一消息,所述第一消息包括所述指示信息。
结合第一方面,在第一方面的某些实现方式中,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络,包括:
所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络相同。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
所述第一终端通过所述第二终端,与所述第一终端和所述第二终端当前驻留的网络进行通信。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
所述第一终端向所述第二终端发送第二消息,所述第二消息用于指示所述第一终端和所述第二终端当前驻留的网络相同。
可选地,所述第二消息为发现消息或直接通信消息。
可选地,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络,包括:
所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络不同。
可选地,在一种可能的实现方式中,在所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络不同之后,所述方法还包括:
所述第一终端接收其他终端发送的指示信息,所述指示信息用于指示所述其他终端当前驻留的网络消息;
所述第一终端根据所述其他终端发送的指示信息,直到找到与所述第一终端处于同一网络的终端设备。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
所述第一终端执行驻留动作,所述驻留动作用于将所述第一终端驻留到所述第二终端当前驻留的网络。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
在所述第一终端执行驻留动作成功的情况下,所述第一终端通过所述第二终端与所述同一网络进行通信。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
所述第一终端向所述第二终端发送第三消息,所述第三消息用于指示所述第一终端已成功驻留到所述第二终端当前驻留的网络。
结合第一方面,在第一方面的某些实现方式中,所述第三消息为发现消息或直接通信消息。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
所述第一终端向所述第二终端发送第四消息,所述第四消息用于指示所述第一终端执行所述驻留动作失败。
结合第一方面,在第一方面的某些实现方式中,所述第四消息包括失败原因和/或所述第一终端当前驻留的网络信息,所述失败原因包括以下中的至少一项:
所述第二终端当前驻留的网络的信道质量不满足预设条件,所述第二终端当前驻留的网络不允许所述第一终端接入。
结合第一方面,在第一方面的某些实现方式中,所述第四消息为发现消息或直接通信消息。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
所述第一终端向所述第二终端发送第五消息,所述第五消息用于拒绝驻留到所述第二终端当前驻留的网络。
结合第一方面,在第一方面的某些实现方式中,所述第五消息还包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
结合第一方面,在第一方面的某些实现方式中,所述第五消息为发现消息或直接通信消息。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
所述第一终端向所述第二终端发送第六消息,所述第六消息用于拒绝所述第一消息。
结合第一方面,在第一方面的某些实现方式中,所述第六消息包括拒绝原因,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
结合第一方面,在第一方面的某些实现方式中,所述同一网络为以下中的任意一种:
同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
结合第一方面,在第一方面的某些实现方式中,所述当前驻留的网络信息包括以下中的至少一项:
当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
结合第一方面,在第一方面的某些实现方式中,所述第一终端接收第二终端发送的指示信息,包括:
在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,所述第一终端接收所述第二终端发送的所述指示信息。
第二方面,提供了一种通信方法,包括:
第二终端向第一终端发送指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;
所述第二终端根据第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络。
结合第二方面,在第二方面的某些实现方式中,所述第二终端向第一终端发送指示信息,包括:
所述第二终端向所述第一终端发送第二消息,所述第二信息包括所述指示信息。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:
在确定所述第一终端和所述第二终端驻留在同一网络的情况下,所述第二终端中继所述第一终端与所述同一网络之间的数据。
结合第二方面,在第二方面的某些实现方式中,所述确定所述第一终端和所述第二终端驻留在同一网络,包括:
在所述第一消息的内容指示所述第一终端和所述第二终端当前驻留的网络相同的情况下,所述第二终端确定所述第一终端和所述第二终端当前驻留在同一网络。
结合第二方面,在第二方面的某些实现方式中,所述确定所述第一终端和所述第二终端驻留在同一网络,包括:
在所述第一消息的内容指示所述第一终端已成功接入所述第二终端当前驻留的网络的情况下,所述第二终端确定所述第一终端和所述第二终端当前驻留在同一网络。
结合第二方面,在第二方面的某些实现方式中,所述第二终端根据所述第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络,包括:
若所述第一消息的内容指示所述第一终端拒绝接入所述第二终端当前驻留的网络,所述第二终端确定所述第一终端和所述第二终端当前驻留在不同网络。
结合第二方面,在第二方面的某些实现方式中,所述第一消息还包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:
所述第二终端根据所述第一消息包括的所述第一终端当前驻留的网络信息,执行驻留动作,所述驻留动作用于将所述第二终端驻留到所述第一终端当前驻留的网络。
结合第二方面,在第二方面的某些实现方式中,述方法还包括:
所述第二终端向所述第一终端发送第三消息,所述第三消息用于指示所述第二终端已成功驻留到所述第一终端当前驻留的网络。
结合第二方面,在第二方面的某些实现方式中,所述第三消息为发现消息或直接通信消息。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:
所述第二终端向所述第一终端发送第四消息,所述第四消息用于指示所述第二终端执行所述驻留动作失败。
结合第二方面,在第二方面的某些实现方式中,所述第四消息包括失败原因,所述失败原因包括以下中的至少一项:
所述第一终端当前驻留的网络的信道质量不满足预设条件,所述第一终端当前驻留的网络不允许所述第二终端接入。
结合第二方面,在第二方面的某些实现方式中,所述第四消息为发现消息或直接通信消息。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:
所述第二终端接收到所述第一终端发送的第五消息,所述第五消息用于拒绝所述第二消息。
结合第二方面,在第二方面的某些实现方式中,所述第二终端根据第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络,包括:
若所述第一消息的接收时间不在预设的时间范围内,所述第二终端确定所述第一终端和所述第二终端当前驻留在不同网络。
结合第二方面,在第二方面的某些实现方式中,所述第一消息为发现消息或直接通信消息。
结合第二方面,在第二方面的某些实现方式中,所述同一网络为以下中的任意一种:
同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
结合第二方面,在第二方面的某些实现方式中,所述当前驻留的网络信息包括以下中的至少一项:
当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
结合第二方面,在第二方面的某些实现方式中,所述第二终端向第一终端发送指示信息,包括:
在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,向第一终端发送所述指示信息。
第三方面,提供了一种通信设备,包括用于执行第一方面或其各种实现方式中的方法的单元。
第四方面,提供了一种通信设备,包括用于执行第二方面或其各种实现方式中的方法的单元。
第五方面,提供一种通信设备,包括存储器、处理器和收发器,所述存储器用于存储程序,所述处理器用于执行程序,当所述程序被执行时,所述处理器基于所述收发器执行第一方面中的方法。
第六方面,提供一种通信设备,包括存储器、处理器和收发器,所述存储器用于存储程序,所述处理器用于执行程序,当所述程序被执行时,所述处理器基于所述收发器执行第二方面中的方法。
第七方面,提供一种计算机可读介质,所述计算机可读介质存储用于终端设备执行的程序代码,所述程序代码包括用于执行第一方面中的方法的指令。
第八方面,提供一种计算机可读介质,所述计算机可读介质存储用于终端设备执行的程序代码,所述程序代码包括用于执行第二方面中的方法的指令。
本申请实施例提供一种通信方法和终端设备,能够确定两个终端设备是否处于同一网络。
图1是根据本申请实施例的无线通信系统的示意性图。
图2是根据本申请实施例的通信方法的示意性流程图。
图3是根据本申请另一实施例的通信方法的示意性流程图。
图4是根据本申请再一实施例的通信方法的示意性流程图。
图5是根据本申请实施例的终端设备的示意性框图。
图6是根据本申请另一实施例的终端设备的示意性框图。
图7是根据本申请再一实施例的终端设备的示意性框图。
图8是根据本申请再一实施例的终端设备的示意性框图。
下面将结合附图,对本申请实施例中的技术方案进行描述。
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
图1是本申请实施例的应用的无线通信系统100的示意图,该无线通信系统100包括可以包括至少一个网络设备110。网络设备100可以是与终端设备通信的设备。每个网络设备100可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。该网络设备100可以是GSM系统或码分多址(Code
Division Multiple Access,CDMA)系统中的基站(Base Transceiver
Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node
B,eNB或eNodeB),或者是云无线接入网络 (Cloud Radio Access
Network,CRAN)中的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备、未来5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public
Land Mobile Network,PLMN)中的网络设备等。
该无线通信系统100还包括多个终端设备,例如,如图1所示的终端设备121、122、123、124、125和126。该终端设备可以是移动的或固定的。该终端设备可以指接入终端、用户设备(User
Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session
Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal
Digital
Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、未来5G网络中的终端设备或者未来演进的PLMN中的终端设备等。
图1示例性地示出了一个网络设备和六个终端设备,可选地,该无线通信系统100可以包括多个网络设备以及其它数量的终端设备,本申请实施例对此不做限定。此外,该无线通信系统100还可以包括移动管理实体(Mobile
Management Entity,MME)、服务网关(Serving Gateway,S-GW)、分组数据网络网关(Packet Data Network
Gateway,P-GW)等其他网络实体,但本申请实施例不限于此。
具体地,终端设备可以以蜂窝通信模式或D2D通信模式进行通信,其中,在蜂窝通信模式中,终端设备可以通过网络设备与其它终端设备通信;在D2D通信模式中,终端设备可以通过D2D链路直接与其它终端设备通信。
在图1示出的多个终端设备中,终端设备121和终端设备125可以称为远端终端设备,该终端设备121和终端设备125可以分别通过中继终端设备122和124与网络设备110通信;终端设备122和终端设备124可以中继远端终端设备121和远端终端设备125与网络设备110之间的数据,此时,终端设备122和终端设备124可以称为中继终端设备,该中继终端设备122和124也可以以非辅助其他终端设备的方式直接与网络设备进行通信;终端设备123可以即不用通过中继终端设备与网络设备110进行通信,也不用中继其他终端设备与网络设备110进行通信。
其中,终端设备122、123、124和126与网络设备110之间具有Uu接口,可以采用蜂窝通信技术与网络设备110进行通信。中继终端设备与远端终端设备之间具有PC5接口,采用D2D通信技术进行通信,其中,该D2D通信技术可以具体为LTE中的旁路(SideLink,SL)技术,也可以为WLAN中的WIFI或蓝牙等技术,或者为其它D2D通信技术,本申请实施例对此不做限定。当然,终端设备121和终端设备125也可以不通过中继终端设备直接与网络设备110进行通信,此时,终端设备121和终端设备125与网络设备之间具有Uu接口,可以采用蜂窝通信技术与网络设备110进行通信。
在本申请实施例中,中继终端设备中继数据通信时,需要远端终端设备和中继终端设备驻留在同一小区或同一基站中,所述中继终端设备才能将远端终端设备的数据递交到相应的网络设备,为此,本申请实施例提供了一种通信方法,远端终端设备能够将数据递交到合适的中继终端设备处,从而能够将数据递交到相应的网络设备。
图2示意性地示出了本申请实施例提供的通信200。该方法200可以应用于上述无线通信系统100,但本申请实施例不限于此。
如图2所示,该方法200包括以下内容。
S210,第一终端接收第二终端发送的指示信息,所述指示信息用于指示所述第二终端当前驻留的网络消息;
S220,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络。
在本申请实施例中,所述第一终端和所述第二终端可以为网络中的任意两个终端设备,例如,所述第一终端和所述第二终端都为远端终端设备,或所述第一终端为远端终端设备,所述第二终端为中继终端设备,或所述第一终端为中继终端设备,所述第二终端为远端终端设备,本申请实施例对此不作限定。所述第一终端和是第二终端可以通过S210和S220所述的方式,确定是否处于同一网络。具体的,所述第一终端可以接收所述第二终端的指示信息,所述指示信息指示所述第二终端当前驻留的网络信息,从而所述第一终端可以根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一个网络。
可选地,在一些实施例中,所述第一终端可以为远端终端设备,所述第二终端为中继终端设备,所述第一终端可以根据所述第一终端和所述第二终端驻留的网络情况,决定是将所述第二终端还是其他终端作为所述第一终端和网络设备之间的中继终端设备。可选地,若所述第一终端和所述第二终端驻留在同一网络,所述第一终端可以直接通过所述第二终端向所述同一网络中的网络设备发送上行数据,或所述同一网络中的网络设备可以通过所述第二终端向所述第一终端发送下行数据,即所述第二终端可以作为所述第一终端和网络设备之间的中继终端设备。可选地,若所述第一终端和所述第二终端驻留在不同网络,因此,所述第二终端不能直接作为所述第一终端和网络设备之间的中继终端设备,此时,可选地,所述第一终端可以通过S210和S220所述的方法寻找其他的终端设备,直到找到与所述第一终端处于同一网络的终端设备,然后将所述终端设备作为所述第一终端和网络设备之间的中继终端设备,或者,所述第一终端可以驻留到所述第二终端当前驻留的网络,此时,所述第一终端和所述第二终端驻留到同一网络,从而所述第二终端可以作为所述第一终端和网络设备之间的中继终端设备,因此,所述第一终端可以通过所述第二终端与网络设备进行通信。
可选地,所述第一终端接收第二终端发送的指示信息,包括:
所述第一终端接收所述第二终端发送的第一消息,所述第一消息包括所述指示信息。
具体的,D2D发现过程是一个终端设备感知并识别附近的终端设备的过程,D2D发现是D2D连接建立的前提,若两个设备希望以D2D形式进行数据通信,首先会触发D2D发现过程。从而所述第二终端可以通过发送发现消息,在所述发现消息中携带所述指示信息。也就是说,所述第二终端可以在D2D发现过程中,通知所述第一终端所述第二终端当前驻留的网络信息。可选地,所述发现消息可以为发现声明(Discovery
Announcement)消息,也可以为发现请求(Discovery Solicitation)消息,或者也可以为发现消息中的其他消息。
可选地,所述第二终端也可以在D2D连接建立过程中,通知所述第一终端所述第二终端当前驻留的网络信息。或者说所述第二终端可以发送直接通信消息,在所述直接通信消息中包括所述指示信息,可选地,所述直接通信消息可以为直接通信建立请求(DIRECT_COMMUNICATION_REQUEST)消息,或直接通信建立接受(DIRECT_COMMUNICATION_ACCEPT)消息,或者也可以为直接通信消息中的其他消息。
可选地,所述第二终端接收到所述第一终端的所述第一消息后,若根据所述指示信息确定所述第一终端和所述第二终端驻留的网络相同,所述第一终端可以不回复任何响应消息,或者也可以回复第二消息,所述第二消息用于通知所述第二终端所述第一终端和所述第二终端当前驻留的网络相同。例如,若所述第一消息为发现请求消息,所述第二消息可以为发现响应(Discovery
Response)消息,或若所述第一消息为直接通信建立请求消息,所述第二消息可以为直接通信建立接受消息,或若所述第一消息为直接通信建立接受消息,所述第二消息可以为直接通信建立成功消息或直接通信建立失败消息等。
可选地,在一些实施例中,所述第二终端接收到所述第一终端的所述第一消息后,若根据所述指示信息确定所述第一终端和所述第二终端驻留的网络不同,所述第一终端可以不回复任何响应消息,或者也可以尝试驻留到所述第二终端当前驻留的网络,可选地,若驻留成功,所述第一终端可以回复第三消息,所述第三消息用于通知所述第二终端所述第一终端已成功驻留到所述第二终端当前驻留的网络。可选地,若驻留失败,所述第一终端可以回复第四消息,用于通知所述第二终端所述第一终端驻留失败,可选地,所述第四消息还可以包括失败原因,例如,所述第二终端当前驻留的网络的信道驻留不满足预设条件,或所述第二终端当前驻留的网络不允许所述第一终端接入。可选地,所述第四消息还可以包括所述第一终端当前驻留的网络信息。可选地,若所述第一消息为发现请求消息,所述第三消息可以为发现响应消息,或若所述第一消息为直接通信建立请求消息,所述第三消息可以为直接通信建立接受消息,或若所述第一消息为直接通信建立接受消息,所述第三消息可以为直接通信建立成功消息或直接通信建立失败消息等。可选地,若所述第一消息为发现请求消息,所述第四消息可以为发现响应消息,或若所述第一消息为直接通信建立请求消息,所述第四消息可以为直接通信建立拒绝(DIRECT_COMMUNICATION_REJECT)消息,或若所述第一消息为直接通信建立接受消息,所述第四消息可以为直接通信建立失败消息等。
可选地,在一些实施例中,所述第二终端接收到所述第一终端的所述第一消息后,若根据所述指示信息确定所述第一终端和所述第二终端驻留的网络不同,所述第一终端也可以直接回复第五消息,所述第五消息用于拒绝驻留到所述第二终端当前驻留的网络,可选地,所述第五消息还可以包括拒绝原因,拒绝原因可以为所述第一终端和所述第二终端当前驻留的网络不同,可选地,所述第五消息还可以包括所述第一终端当前驻留的网络信息。可选地,若所述第一消息为发现请求消息,所述第五消息可以为发现响应(Discovery
Response)消息,或若所述第一消息为直接通信建立请求消息,所述第五消息可以为直接通信建立拒绝消息,或若所述第一消息为直接通信建立接受消息,所述第五消息可以为直接通信建立失败消息等。
可选地,在一些实施例中,所述第二终端接收到所述第一终端的所述第一消息后,若根据所述指示信息确定所述第一终端和所述第二终端驻留的网络不同,所述第一终端也可以直接回复第六消息,所述第六消息用于拒绝所述第一消息,可选地,所述第六消息还可以包括拒绝原因,拒绝原因可以为所述第一终端和所述第二终端当前驻留的网络不同,可选地,所述第六消息还可以包括所述第一终端当前驻留的网络信息。可选地,若所述第一消息为发现请求消息,所述第六消息可以用于拒绝所述发现请求消息,或若所述第一消息为直接通信建立请求消息,所述第六消息可以用于拒绝所述直接通信建立请求消息。
综上所述,第四消息表示第一终端驻留失败,第五消息表示第一终端拒绝驻留到所述第二终端当前驻留的网络,第六消息表示拒绝所述第一消息,因此,在所述第二终端接收到所述第四消息、第五消息或第六消息中的任一消息时,都表示所述第一终端和所述第二终端当前还是驻留在不同的网络,可选地,所述第四消息、第五消息或第六消息中可以包括所述第一终端当前驻留的网络信息,从而所述第二终端可以根据第四消息、第五消息或第六消息中可以包括的所述第一终端当前驻留的网络信息,尝试驻留到所述第一终端当前驻留的网络。若驻留成功,所述第二终端可以不回复任何响应消息,可选地,所述第二终端也可以向所述第一终端回复第七消息,用于指示所述第二终端驻留成功。若驻留设备,所述第二终端可以不回复任何响应消息,可选地,所述第二终端也可以向所述第一终端回复第八消息,用于指示所述第二终端驻留失败,可选地,所述第八消息可以包括失败原因,所述失败原因可以包括所述第一终端当前驻留的网络的信道质量不满足所述第二终端的驻留条件,或所述第一终端当前驻留的网络不允许所述第二终端驻留。可选地,所述第二终端也可以拒绝驻留到所述第一终端当前驻留的网络,此情况下,所述第二终端可以不回复任何响应消息,也可以回复第九消息,用于指示拒绝驻留到所述第一终端当前驻留的网络,可选地,所述第二终端也可以回复第十消息,用于拒绝所述第四消息、第五消息或第六消息。
应理解,在本申请实施例中,用于所述第一终端和所述第二终端之间进行通信的消息,例如,第一消息到第十消息,都可以为发现消息或直接通信消息,或者也可以为用于终端设备之间通信的其他接口消息,本申请实施例对此不作限定。
可选地,在本申请实施例中,所述同一网络可以指以下中的任意一种,本申请实施例对此不作限定:
同一波束、同一小区、同一基站、同一核心网、同一公众陆地移动网络(Public Land Mobile
Network, PLMN)、同一跟踪区域(Tracking Area ,TA)、同一寻呼区域。
以上,从整体介绍了本申请实施例的通信方法,以下,具体介绍每种场景下,所述第一终端和所述第二终端的动作。
可选地,在一些实施例中,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络,包括:
所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络相同。
具体的,所述第一终端当前驻留在第一网络,若所述第二终端根据所述指示信息,确定所述第二终端当前驻留在第二网络,若所述第一网络和所述第二网络相同,所述第一终端确定所述第一终端和所述第二终端驻留在同一网络。
可选地,在一些实施例中,所述方法200还包括:
所述第一终端通过所述第二终端,与所述第一终端和所述第二终端当前驻留的网络进行通信。
具体的,若所述第一终端确定所述第一终端和所述第二终端当前驻留的网络相同,此时,所述第一终端可以通过所述第二终端与网络设备进行通信,即所述第二终端可以作为所述第一终端和网络设备之间的中继终端设备。
可选地,在一些实施例中,所述方法200还包括:
所述第一终端向所述第二终端发送第二消息,所述第二消息用于指示所述第一终端和所述第二终端当前驻留的网络相同。
具体的,若所述第一终端确定所述第一终端和所述第二终端当前驻留的网络相同,所述第一终端还可以向所述第二终端发送第二消息,通知所述第二终端所述第一终端和所述第二终端当前驻留的网络相同,从而所述第二终端可以接收所述第一终端发送给网络设备的上行数据,并将所述上行数据转发给网络设备,或者所述第二终端可以接收网络设备发送给所述第一终端的下行数据,并将所述下行数据转发给所述第一终端。
可选地,在一些实施例中,所述第二消息为发现消息或直接通信消息。
也就是说,所述第一终端可以通过发送发现消息或直接通信消息,通知所述第二终端所述第一终端和所述第二终端当前驻留的网络相同,可选地,所述发现消息可以为发现声明消息,也可以为发现请求消息,所述直接通信消息可以为直接通信建立请求消息,或直接通信建立接受消息。
可选地,所述第二终端接收到所述第一终端的所述第二消息后,可以不回复,也可以回复相应的响应消息,例如,若所述第二消息为发现请求消息,所述第二终端可以回复发现响应消息,或若所述第二消息为直接通信建立请求消息,所述第二终端可以回复直接通信建立接受消息等。
可选地,在一些实施例中,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络,包括:
所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络不同。
可选地,在一些实施例中,在所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络不同之后,所述方法还包括:
所述第一终端接收其他终端发送的指示信息,所述指示信息用于指示所述其他终端当前驻留的网络消息;
所述第一终端根据所述其他终端发送的指示信息,直到找到与所述第一终端处于同一网络的终端设备。
具体的,所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络不同之后,所述第一终端可以继续接收其他终端(例如,第三终端)的指示信息,根据第三终端的指示信息,确定所述第三终端和所述第一终端是否驻留在同一网络,可选地,若所述第三终端和所述第一终端驻留在同一网络,所述第一终端可以通过所述第三终端向网络设备发送上行数据,或通过所述第三终端接收来自网络设备的下行数据。可选地,若所述第三终端和所述第一终端驻留在不同网络,所述第一终端还可以接收第四终端的指示信息,确定所述第四终端和所述第一终端是否驻留在同一网络,若驻留在不同网络,所述第一终端还可以继续执行上述步骤,直到找到处于同一网络的终端设备,从而通过所述终端设备与网络设备进行通信。
可选地,在一些实施例中,所述方法200还包括:
所述第一终端执行驻留动作,所述驻留动作用于将所述第一终端驻留到所述第二终端当前驻留的网络。
此情况下,所述方法还包括:
在所述第一终端执行驻留动作成功的情况下,所述第一终端通过所述第二终端与所述同一网络进行通信。
具体的,若所述第一终端和所述第二终端当前驻留的网络不同,可以通过将所述第一终端驻留到所述第二终端当前驻留的网络,从而使得所述第一终端和所述第二终端驻留在同一网络。在所述第一终端驻留所述第二终端当前驻留的网络成功,即执行驻留动作成功的情况下,所述第一终端可以通过所述第二终端向网络设备发送上行数据,或接收网络设备发送的下行数据。
应理解,若所述第一终端驻留在第一网络,所述第二终端驻留在第二网络,将所述第一终端和所述第二终端驻留到同一网络可以包括将所述第一终端驻留到所述第二网络,或将所述第二终端驻留到所述第一网络,或将所述第一终端和所述第二终端都驻留到第三网络。
可选地,在一些实施例中,所述方法还包括:
所述第一终端向所述第二终端发送第三消息,所述第三消息用于指示所述第一终端已成功驻留到所述第二终端当前驻留的网络。
可选地,若所述第一终端成功驻留到所述第二终端当前驻留的网络,即执行驻留动作成功,所述第一终端还可以向所述第二终端发送第三消息,所述第三消息用于通知所述第二终端所述第一终端已成功驻留到所述第二终端当前驻留的网络,从而所述第二终端可以接收所述第一终端发送给网络设备的上行数据,并将所述上行数据转发给网络设备,或者所述第二终端可以接收网络设备发送给所述第一终端的下行数据,并将所述下行数据转发给所述第一终端。
可选地,所述第三消息为发现消息或直接通信消息。
也就是说,所述第一终端可以通过发送发现消息或直接通信消息,通知所述第二终端所述第一终端已成功驻留到所述第二终端当前驻留的网络,可选地,所述发现消息可以为发现声明消息,也可以为发现请求消息,所述直接通信消息可以为直接通信建立请求消息,或直接通信建立接受消息。
可选地,所述第二终端接收到所述第一终端的所述第三消息后,可以不回复,也可以回复相应的响应消息,例如,若所述第三消息为发现请求消息,所述第二终端可以回复发现响应消息,或若所述第三消息为直接通信建立请求消息,所述第二终端可以回复直接通信建立接受消息。
可选地,所述方法200还包括:
所述第一终端向所述第二终端发送第四消息,所述第四消息用于指示所述第一终端执行所述驻留动作失败。
具体的,若所述第一终端执行驻留动作失败,还可以向所述第二终端发送第四消息,通过所述第四消息通知所述第二终端所述第一终端执行所述驻留动作失败。可选地,所述第四消息包括失败原因和/或所述第一终端当前驻留的网络信息,所述失败原因包括以下中的至少一项:所述第二终端当前驻留的网络的信道质量不满足预设条件,所述第二终端当前驻留的网络不允许所述第一终端接入。从而所述第二终端可以根据所述第四消息包括的所述第一终端当前驻留的网络信息,尝试驻留到所述第一终端当前驻留的网络,从而使得所述第一终端和所述第二终端驻留到同一网络。
可选地,与前述第一消息、第二消息和第三消息类似,所述第四消息也可以为发现消息或直接通信消息,为了简洁,这里不再赘述。
可选地,在一些实施例中,所述方法200还包括:
所述第一终端向所述第二终端发送第五消息,所述第五消息用于拒绝驻留到所述第二终端当前驻留的网络。
具体的,若所述第一终端和所述第二终端当前驻留的网络不同,所述第一终端也可以拒绝驻留到所述第二终端当前驻留的网络,此时,所述第一终端可以不回复所述第二终端,也可以回复第五消息,所述第五消息用于拒绝驻留到所述第二终端当前驻留的网络。此情况下,所述第一终端还可以采用前述实施例中描述的方法,继续寻找与所述第一终端处于同一网络的终端设备。或者可选地,所述第五消息还可以包括所述第一终端当前驻留的网络信息和/或拒绝原因,从而所述第二终端可以根据所述第五消息包括的所述第一终端当前驻留的网络信息,驻留到所述第一终端当前驻留的网络,从而将所述第一终端和所述第二终端驻留到同一网络。
可选地,所述拒绝原因可以包括所述第一终端和第二终端当前驻留的网络不同。
与前述第一消息、第二消息,第三消息和第四消息类似,所述第五消息也可以为发现消息或直接通信消息,为了简洁,这里不再赘述。
可选地,在一些实施例中,所述方法还包括:
所述第一终端向所述第二终端发送第六消息,所述第六消息用于拒绝所述第一消息。
可选地,所述第六消息还可以包括拒绝原因,所述拒绝原因可以为所述第一终端和所述第二终端当前驻留的网络不同。
也就是说,所述第一终端可以先尝试接入所述第二终端所在的网络,若接入失败,或者若所述第一终端拒绝接入所述第二终端所在的网络,或拒绝所述第一消息,所述第一终端可以向所述第二终端发送第四消息或第五消息或第六消息,在所述第四消息或第五消息或第六消息中包括所述第一终端驻留的网络信息,以便于所述第二终端根据所述第一终端当前驻留的网络信息,驻留到所述第一终端当前驻留的网络。
可选地,在一些实施例中,所述当前驻留的网络信息包括以下中的至少一项:
当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
具体的,所述当前驻留的网络信息可以包括当前驻留的网络的标识信息,通过所述标识信息可以确定对应的网络。可选地,所述当前驻留的网络信息还可以包括空间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同。可选地,所述空间一致性信息可以为1比特信息,例如,可以设置0表示与上次驻留的网络相同,设置1表示与上次驻留的网络不同,若所述空间一致性信息指示当前驻留的网络与上次驻留的网络相同,那么所述第二终端当前驻留的网络信息可以只包括空间一致性信息,从而节省信令开销,所述第一终端可以根据所述第二终端上次驻留的网络(前提是,所述第一终端知道所述第二终端上次驻留的网络),确定当前驻留的网络,从而确定是否与所述第二终端处于同一网络。可选地,所述时间一致性信息可以指示特定时间内所述第二终端驻留的网络是否发生改变,可选地,所述时间一致性信息也可以为1比特信息,可以设置0表示特定时间内驻留的网络未发生变化,设置1表示特定时间内驻留的网络发生变化,若所述时间一致性信息指示特定时间内驻留的网络未发生变化,在所述特定时间内,所述第一终端可以直接确定所述第二终端驻留的网络,而不用再接收所述第二终端发送的指示信息,通过所述指示信息确定所述第二终端当前驻留的网络,从而能够节省信令开销。
可选地,在一些实施例中,所述第一终端接收第二终端发送的指示信息,包括:
在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,所述第一终端接收所述第二终端发送的所述指示信息。
具体的,所述第二终端可以在开机时,向所述第一终端发送指示信息,以便于所述第一终端根据所述指示信息找到所述第二终端,从而在确定所述第一终端和第二终端驻留在同一网络的情况下,确定所述第二终端为所述第一终端和网络终端之间的中继终端设备。或所述第二终端可以在驻留的网络发生变化时,向所述第一终端发送所述指示信息,从而可以所述第一终端可以选择重新寻找中继终端设备,或者,所述第一终端可以选择驻留到发生变化后的所述第二终端驻留的网络。可选地,所述第二终端可以在有需要中继的业务(可以为来自第一终端的中继业务,也可以为来自其他终端的中继业务)时,发送所述指示信息,从而所述第一终端可以根据所述指示信息确定与所述第二终端是否处于同一网络,若处于同一网络,可以将中继业务发送给所述第二终端,若处于不同网络,所述第一终端可以选择寻找其他中继终端设备,或驻留到所述第二终端当前驻留的网络。
上文结合图2,从第一终端的角度详细描述了根据本申请一实施例的通信方法,下文结合图3,从第二终端的角度详细描述根据本申请另一实施例的通信方法。应理解,第一终端侧的描述与第二终端侧的描述相互对应,相似的描述可以参见上文,为避免重复,此处不再赘述。
图3是根据本申请另一实施例的通信方法300的示意性流程图,如图3所示,该方法300包括:
S310,第二终端向第一终端发送指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;
S320,所述第二终端根据第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络。
也就是说,所述第二终端可以向第一终端发送指示信息,以便于所述第一终端根据所述第一终端确定所述第二终端当前驻留的网络信息,从而所述第一终端可以向所述第二终端回复第一消息,或不回复所述第一消息,所述第二终端可以根据所述第一消息的内容或接收时间确定所述第一终端和所述第二终端是否驻留在同一网络。
可选地,在一些实施例中,所述第二终端向第一终端发送指示信息,包括:
所述第二终端向所述第一终端发送第二消息,所述第二信息包括所述指示信息。
可选地,在一些实施例中,所述方法还包括:
在确定所述第一终端和所述第二终端驻留在同一网络的情况下,所述第二终端中继所述第一终端与所述同一网络之间的数据。
也就是说,在所述第一终端和所述第二终端驻留在同一网络的情况下,所述第一终端可以通过所述第二终端与网络设备进行通信。
可选地,在一些实施例中,所述确定所述第一终端和所述第二终端驻留在同一网络,包括:
在所述第一消息的内容指示所述第一终端和所述第二终端当前驻留的网络相同的情况下,所述第二终端确定所述第一终端和所述第二终端当前驻留在同一网络。
可选地,在一些实施例中,所述确定所述第一终端和所述第二终端驻留在同一网络,包括:
在所述第一消息的内容指示所述第一终端已成功接入所述第二终端当前驻留的网络的情况下,所述第二终端确定所述第一终端和所述第二终端当前驻留在同一网络。
也就是说,所述第一终端和所述第二终端驻留在同一网络可以是所述第一终端和所述第二终端原来就驻留在同一网络,或者也可以是通过所述第一终端驻留到所述第二终端的网络,使得所述第一终端和所述第二终端当前驻留在同一网络。
可选地,在一些实施例中,所述第二终端根据所述第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络,包括:
若所述第一消息的内容指示所述第一终端拒绝接入所述第二终端当前驻留的网络,所述第二终端确定所述第一终端和所述第二终端当前驻留在不同网络。
可选地,在一些实施例中,所述第一消息还包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
可选地,在一些实施例中,所述方法还包括:
所述第二终端根据所述第一消息包括的所述第一终端当前驻留的网络信息,执行驻留动作,所述驻留动作用于将所述第二终端驻留到所述第一终端当前驻留的网络。
可选地,在一些实施例中,所述方法还包括:
所述第二终端向所述第一终端发送第三消息,所述第三消息用于指示所述第二终端已成功驻留到所述第一终端当前驻留的网络。
可选地,在一些实施例中,所述第三消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述方法还包括:
所述第二终端向所述第一终端发送第四消息,所述第四消息用于指示所述第二终端执行所述驻留动作失败。
可选地,在一些实施例中,所述第四消息包括失败原因,所述失败原因包括以下中的至少一项:
所述第一终端当前驻留的网络的信道质量不满足预设条件,所述第一终端当前驻留的网络不允许所述第二终端接入。
可选地,在一些实施例中,所述第四消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述方法还包括:
所述第二终端接收到所述第一终端发送的第五消息,所述第五消息用于拒绝所述第二消息。
可选地,在一些实施例中,所述第二终端根据第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络,包括:
若所述第一消息的接收时间不在预设的时间范围内,所述第二终端确定所述第一终端和所述第二终端当前驻留在不同网络。
具体的,所述第二终端可以预设一个时间范围,若在预设的时间范围内,未接收到所述第一消息,所述第二终端可以确定所述第一终端和所述第二终端处于不同的网络。
可选地,在一些实施例中,所述第一消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述同一网络为以下中的任意一种:
同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
可选地,在一些实施例中,所述当前驻留的网络信息包括以下中的至少一项:
当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
可选地,在一些实施例中,所述第二终端向第一终端发送指示信息,包括:
在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,向第一终端发送所述指示信息。
以下,结合图4,从设备交互的角度描述本申请实施例的通信方法,如图4所示,所述方法包括:
在401中,所述第一终端接收所述第二终端的第一消息,所述第一消息包括指示信息,所述指示信息指示所述第二终端当前驻留的网络信息。
可选地,所述第一消息可以为发现声明消息,发现请求消息,直接通信建立请求消息或直接建立请求接受消息等。
在402中,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端驻留的网络是否相同。
若相同,所述第一终端可以不回复任何响应消息,或者在403中,所述第一终端可以向所述第二终端回复第二消息,所述第二消息指示所述第一终端和所述第二终端驻留的网络相同。
可选地,所述第二消息可以为发现声明消息,发现请求消息,直接通信建立请求消息或直接建立请求接受消息等。
若不同,在404中,所述第一终端可以根据所述指示信息,执行驻留动作,用于驻留到所述第二终端当前驻留的网络。
若驻留成功,所述第一终端可以不回复任何响应消息,或者在405中,所述第一终端可以向所述第二终端回复第三消息,所述第三消息指示所述第一终端驻留到所述第二终端的网络成功。
可选地,所述第三消息可以为发现响应消息,直接通信建立请求接受消息等。
若驻留失败,所述第一终端可以不回复任何响应消息,或者在406中,所述第一终端可以向所述第二终端回复第四消息,所述第四消息指示所述第一终端驻留到所述第二终端的网络失败。可选地,所述第四消息可以包括失败原因和/或所述第一终端当前驻留的网络信息,所述失败原因可以为所述第二终端当前驻留的网络的信道质量不满足预设条件或所述第二终端当前驻留的网络不允许所述终端设备接入。所述第四消息可以包括所述第一终端当前驻留的网络信息,以便于所述第二终端根据所述第四消息包括的所述第一终端当前驻留的网络信息,驻留到所述第一终端当前驻留的网络。
可选地,所述若所述第一消息为发现请求消息,第四消息可以为发现响应消息,若所述第一消息为直接连接建立请求消息,所述第四消息可以为直接通信建立请求拒绝消息等。
可选地,若所述第一终端和所述第二终端当前驻留的网络不同,在407中,所述第一终端还可以向所述第二终端回复第五消息,用于指示所述第一终端拒绝驻留到所述第一终端当前驻留的网络。
可选地,所述第五消息还可以包括拒绝原因和/或所述终端设备当前驻留的网络信息,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
可选地,所述若所述第一消息为发现请求消息,第五消息可以为发现响应消息,若所述第一消息为直接连接建立请求消息,所述第五消息可以为直接通信建立请求拒绝消息等。
可选地,若所述第一终端和所述第二终端当前驻留的网络不同,在408中,所述第一终端还可以向所述第二终端回复第六消息,用于指示拒绝所述第一消息。
可选地,所述第六消息还可以包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
可选地,所述若所述第一消息为发现请求消息,第六消息可以为发现响应消息,若所述第一消息为直接连接建立请求消息,所述第六消息可以为直接通信建立请求拒绝消息等。
在409中,所述第二终端可以根据所述第四消息、第五消息或第六消息包括的所述第一终端当前驻留的网络信息,尝试驻留到所述第一终端当前驻留的网络。
可选地,若驻留成功,在410中
所述第二终端可以向所述第一终端发送第七消息,所述第七消息可以指示所述第二终端成功驻留到所述第一终端当前驻留的网络。
可选地,所述第七消息可以为发现声明消息,发现请求消息,直接通信建立请求消息或直接建立请求接受消息等。
可选地,若驻留失败,在411中
所述第二终端可以向所述第一终端发送第八消息,所述第八消息可以指示所述第二终端驻留到所述第一终端当前驻留的网络失败。
可选地,所述第八消息可以为发现声明消息,发现请求消息,直接通信建立请求消息或直接建立请求接受消息等。
或者,所述第二终端接收到所述第一终端的第四消息,或第五消息,或第六消息后,所述第二终端可以不回复响应消息,也可以在412中,所述第二终端可以向所述第一终端回复第九消息,指示拒绝驻留到所述第一终端当前驻留的网络,可选地,所述第九消息还可以包括拒绝原因,所述拒绝原因可以为所述第一终端和所述第二终端当前驻留的网络不同。
可选地,所述第九消息可以为发现响应消息或直接建立请求拒绝消息等。
或者,所述第二终端接收到所述第一终端的第四消息,或第五消息,或第六消息后,所述第二终端可以不回复响应消息,也可以在413中,所述第二终端可以向所述第一终端回复第十消息,指示拒绝驻留所述第四消息,所述第五消息,或所述第六消息,可选地,所述第十消息还可以包括拒绝原因,所述拒绝原因可以为所述第一终端和所述第二终端当前驻留的网络不同。
上文结合图2至图4,详细描述了本申请的方法实施例,下文结合图5至图8,详细描述本申请的装置实施例,应理解,装置实施例与方法实施例相互对应,类似的描述可以参照方法实施例。
图5是根据本申请实施例的终端设备500的示意性框图。如图5所示,该终端设备500包括通信模块510和确定模块520。
其中,通信模块510,用于接收第二终端发送的指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;
确定模块520,用于根据所述指示信息,确定所述终端设备和所述第二终端是否驻留在同一网络。
可选地,在一些实施例中,所述通信模块510具体用于:
接收所述第二终端发送的第一消息,所述第一消息包括所述指示信息。
可选地,在一些实施例中,所述确定模块520具体用于:
根据所述指示信息,确定所述终端设备和第二终端驻留的网络相同。
可选地,在一些实施例中,所述通信模块510具体用于:
通过所述第二终端,与所述终端设备和所述第二终端当前驻留的网络进行通信。
可选地,在一些实施例中,所述通信模块510具体用于:
向所述第二终端发送第二消息,所述第二消息用于指示所述终端设备和所述第二终端当前驻留的网络相同。
可选地,在一些实施例中,所述第二消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述确定模块520具体用于:
根据所述指示信息,确定所述终端设备和第二终端驻留的网络不同。
可选地,在一些实施例中,所述通信模块510具体用于:
接收其他终端发送的指示信息,所述指示信息用于指示所述其他终端当前驻留的网络消息;
所述确定模块520具体用于:
根据所述其他终端发送的指示信息,直到找到与所述终端设备处于同一网络的终端设备。
可选地,在一些实施例中,所述终端设备还包括:
驻留模块,用于执行驻留动作,所述驻留动作用于将所述终端设备驻留到所述第二终端当前驻留的网络。
可选地,在一些实施例中,所述通信模块510还用于:
在所述终端设备执行驻留动作成功的情况下,通过所述第二终端与所述同一网络进行通信。
可选地,在一些实施例中,所述通信模块510还用于:
向所述第二终端发送第三消息,所述第三消息用于指示所述终端设备已成功驻留到所述第二终端当前驻留的网络。
可选地,在一些实施例中,所述第三消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述通信模块510还用于:
向所述第二终端发送第四消息,所述第四消息用于指示所述终端设备执行所述驻留动作失败。
可选地,在一些实施例中,所述第四消息包括失败原因和/或所述终端设备当前驻留的网络信息,所述失败原因包括以下中的至少一项:
所述第二终端当前驻留的网络的信道质量不满足预设条件,所述第二终端当前驻留的网络不允许所述终端设备接入。
可选地,在一些实施例中,所述第四消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述通信模块510还用于:
向所述第二终端发送第五消息,所述第五消息用于拒绝驻留到所述第二终端当前驻留的网络。
可选地,在一些实施例中,所述第五消息还包括拒绝原因和/或所述终端设备当前驻留的网络信息,所述拒绝原因包括所述终端设备和第二终端当前驻留的网络不同。
可选地,在一些实施例中,所述第五消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述通信模块510还用于:
向所述第二终端发送第六消息,所述第六消息用于拒绝所述第一消息。
可选地,在一些实施例中,所述第六消息包括拒绝原因,所述拒绝用于包括所述终端设备和第二终端当前驻留的网络不同。
可选地,在一些实施例中,所述同一网络为以下中的任意一种:
同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
可选地,在一些实施例中,所述当前驻留的网络信息包括以下中的至少一项:
当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
可选地,在一些实施例中,所述通信模块510具体用于:
在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,接收所述第二终端发送的所述指示信息。
具体地,该终端设备500可对应于根据本申请实施例的通信方法200或图4所述方法的第一终端,该设备500可以包括用于执行图2中方法200或图4中第一终端执行的方法的实体单元。并且,该设备500中的各实体单元和上述其他操作和/或功能分别为了实现图2中方法200或图4所述方法的相应流程,为了简洁,在此不再赘述。
图6是根据本申请另一实施例的终端设备600的示意性框图。如图6所示,该终端设备600包括通信模块610和确定模块620。
其中,通信模块610,用于向第一终端发送指示信息,所述指示信息用于指示所述终端设备当前驻留的网络信息;
确定模块620,用于根据第一消息的接收时间和/或内容,确定所述第一终端和所述终端设备当前是否驻留在同一网络。
可选地,在一些实施例中,所述通信模块610具体用于:
向所述第一终端发送第二消息,所述第二信息包括所述指示信息。
可选地,在一些实施例中,所述通信模块610还用于:
在确定所述第一终端和所述终端设备驻留在同一网络的情况下,中继所述第一终端与所述同一网络之间的数据。
可选地,在一些实施例中,所述确定模块620具体用于:
在所述第一消息的内容指示所述第一终端和所述终端设备当前驻留的网络相同的情况下,确定所述第一终端和所述终端设备当前驻留在同一网络。
可选地,在一些实施例中,所述确定模块620具体用于:
在所述第一消息的内容指示所述第一终端已成功接入所述终端设备当前驻留的网络的情况下,确定所述第一终端和所述终端设备当前驻留在同一网络。
可选地,在一些实施例中,所述确定模块620具体用于:
若所述第一消息的内容指示所述第一终端拒绝接入所述终端设备当前驻留的网络,确定所述第一终端和所述终端设备当前驻留在不同网络。
可选地,在一些实施例中,所述第一消息还包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和终端设备当前驻留的网络不同。
可选地,在一些实施例中,所述终端设备还包括:
驻留模块,用于根据所述第一消息包括的所述第一终端当前驻留的网络信息,执行驻留动作,所述驻留动作用于将所述终端设备驻留到所述第一终端当前驻留的网络。
可选地,在一些实施例中,所述通信模块610还用于:
向所述第一终端发送第三消息,所述第三消息用于指示所述终端设备已成功驻留到所述第一终端当前驻留的网络。
可选地,在一些实施例中,所述第三消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述通信模块610还用于:
向所述第一终端发送第四消息,所述第四消息用于指示所述终端设备执行所述驻留动作失败。
可选地,在一些实施例中,所述第四消息包括失败原因,所述失败原因包括以下中的至少一项:
所述第一终端当前驻留的网络的信道质量不满足预设条件,所述第一终端当前驻留的网络不允许所述终端设备接入。
可选地,在一些实施例中,所述第四消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述通信模块610还用于:
接收到所述第一终端发送的第五消息,所述第五消息用于拒绝所述第二消息。
可选地,在一些实施例中,所述确定模块620还用于:
若所述第一消息的接收时间不在预设的时间范围内,确定所述第一终端和所述终端设备当前驻留在不同网络。
可选地,在一些实施例中,所述第一消息为发现消息或直接通信消息。
可选地,在一些实施例中,所述同一网络为以下中的任意一种:
同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
可选地,在一些实施例中,所述当前驻留的网络信息包括以下中的至少一项:
当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
可选地,在一些实施例中,所述通信模块610具体用于:
在所述终端设备开机,或驻留的网络发生变化,或需要传输中继业务的情况下,向所述第一终端发送所述指示信息。
具体地,该终端设备600可对应于根据本申请实施例的通信方法300或图4中的第二终端,该设备600可以包括用于执行图3中方法300或图4中第二终端执行的方法的实体单元。并且,该设备600中的各实体单元和上述其他操作和/或功能分别为了实现图3中方法300或图4所述方法的相应流程,为了简洁,在此不再赘述。
图7是根据本申请再一实施例的终端设备的示意性框图。图7所示的终端设备700包括存储器710、收发器720和处理器730,所述存储器710用于存储程序,所述处理器730用于执行存储器710中存储的程序代码,处理器730可以通过收发器720实现对外通信。
可选地,该处理器730可以调用存储器710中存储的程序代码,执行图2所示的方法200中的相应操作,为了简洁,在此不再赘述。
应理解,在本申请实施例中,该处理器730可以是中央处理单元(Central Processing
Unit,简称为“CPU”),该处理器730还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器710可以包括只读存储器和随机存取存储器,并向处理器730提供指令和数据。存储器710的一部分还可以包括非易失性随机存取存储器。例如,存储器710还可以存储设备类型的信息。
在实现过程中,上述方法的各步骤可以通过处理器730中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器730读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
一个具体的实施方式中,图5中的确定模块520可以用图7的处理器730实现,图5中的通信模块510可以用图7的收发器720实现。
图8是根据本申请再一实施例的终端设备的示意性框图。图8所示的终端设备800包括存储器810、收发器820和处理器830,所述存储器810用于存储程序,所述处理器830用于执行存储器810中存储的程序代码,处理器830可以通过收发器820实现对外通信。
可选地,该处理器830可以调用存储器810中存储的程序代码,执行图3所示的方法300中的相应操作,为了简洁,在此不再赘述。
应理解,在本申请实施例中,该处理器830可以是中央处理单元(Central Processing
Unit,简称为“CPU”),该处理器830还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器810可以包括只读存储器和随机存取存储器,并向处理器830提供指令和数据。存储器810的一部分还可以包括非易失性随机存取存储器。例如,存储器810还可以存储设备类型的信息。
在实现过程中,上述方法的各步骤可以通过处理器830中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器830读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
一个具体的实施方式中,图6中的确定模块620可以用图8的处理器830实现,图6中的通信模块610可以用图8的收发器820实现。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only
Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。
Claims (84)
- 一种通信方法,其特征在于,包括:第一终端接收第二终端发送的指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络。
- 根据权利要求1所述的方法,其特征在于,所述第一终端接收第二终端发送的指示信息,包括:所述第一终端接收所述第二终端发送的第一消息,所述第一消息包括所述指示信息。
- 根据权利要求1或2所述的方法,其特征在于,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络,包括:所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络相同。
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:所述第一终端通过所述第二终端,与所述第一终端和所述第二终端当前驻留的网络进行通信。
- 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:所述第一终端向所述第二终端发送第二消息,所述第二消息用于指示所述第一终端和所述第二终端当前驻留的网络相同。
- 根据权利要求4所述的方法,其特征在于,所述第二消息为发现消息或直接通信消息。
- 根据权利要求2所述的方法,其特征在于,所述第一终端根据所述指示信息,确定所述第一终端和所述第二终端是否驻留在同一网络,包括:所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络不同。
- 根据权利要求7所述的方法,其特征在于,在所述第一终端根据所述指示信息,确定所述第一终端和第二终端驻留的网络不同之后,所述方法还包括:所述第一终端接收其他终端发送的指示信息,所述指示信息用于指示所述其他终端当前驻留的网络消息;所述第一终端根据所述其他终端发送的指示信息,直到找到与所述第一终端处于同一网络的终端设备。
- 根据权利要求7所述的方法,其特征在于,所述方法还包括:所述第一终端执行驻留动作,所述驻留动作用于将所述第一终端驻留到所述第二终端当前驻留的网络。
- 根据权利要求9所述的方法,其特征在于,所述方法还包括:在所述第一终端执行驻留动作成功的情况下,所述第一终端通过所述第二终端与所述同一网络进行通信。
- 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:所述第一终端向所述第二终端发送第三消息,所述第三消息用于指示所述第一终端已成功驻留到所述第二终端当前驻留的网络。
- 根据权利要求11所述的方法,其特征在于,所述第三消息为发现消息或直接通信消息。
- 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:所述第一终端向所述第二终端发送第四消息,所述第四消息用于指示所述第一终端执行所述驻留动作失败。
- 根据权利要求13所述的方法,其特征在于,所述第四消息包括失败原因和/或所述第一终端当前驻留的网络信息,所述失败原因包括以下中的至少一项:所述第二终端当前驻留的网络的信道质量不满足预设条件,所述第二终端当前驻留的网络不允许所述第一终端接入。
- 根据权利要求13或14所述的方法,其特征在于,所述第四消息为发现消息或直接通信消息。
- 根据权利要求6所述的方法,其特征在于,所述方法还包括:所述第一终端向所述第二终端发送第五消息,所述第五消息用于拒绝驻留到所述第二终端当前驻留的网络。
- 根据权利要求16所述的方法,其特征在于,所述第五消息还包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
- 根据权利要求16或17所述的方法,其特征在于,所述第五消息为发现消息或直接通信消息。
- 根据权利要求7所述的方法,其特征在于,所述方法还包括:所述第一终端向所述第二终端发送第六消息,所述第六消息用于拒绝所述第一消息。
- 根据权利要求19所述的方法,其特征在于,所述第六消息包括拒绝原因,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
- 根据权利要求1至20中任一项所述的方法,其特征在于,所述同一网络为以下中的任意一种:同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
- 根据权利要求1至21中任一项所述的方法,其特征在于,所述当前驻留的网络信息包括以下中的至少一项:当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
- 根据权利要求1至22中任一项所述的方法,其特征在于,所述第一终端接收第二终端发送的指示信息,包括:在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,所述第一终端接收所述第二终端发送的所述指示信息。
- 一种通信方法,其特征在于,包括:第二终端向第一终端发送指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;所述第二终端根据第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络。
- 根据权利要求24所述的方法,其特征在于,所述第二终端向第一终端发送指示信息,包括:所述第二终端向所述第一终端发送第二消息,所述第二信息包括所述指示信息。
- 根据权利要求24或25所述的方法,其特征在于,所述方法还包括:在确定所述第一终端和所述第二终端驻留在同一网络的情况下,所述第二终端中继所述第一终端与所述同一网络之间的数据。
- 根据权利要求26所述的方法,其特征在于,所述确定所述第一终端和所述第二终端驻留在同一网络,包括:在所述第一消息的内容指示所述第一终端和所述第二终端当前驻留的网络相同的情况下,所述第二终端确定所述第一终端和所述第二终端当前驻留在同一网络。
- 根据权利要求26所述的方法,其特征在于,所述确定所述第一终端和所述第二终端驻留在同一网络,包括:在所述第一消息的内容指示所述第一终端已成功接入所述第二终端当前驻留的网络的情况下,所述第二终端确定所述第一终端和所述第二终端当前驻留在同一网络。
- 根据权利要求24或25所述的方法,其特征在于,所述第二终端根据所述第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络,包括:若所述第一消息的内容指示所述第一终端拒绝接入所述第二终端当前驻留的网络,所述第二终端确定所述第一终端和所述第二终端当前驻留在不同网络。
- 根据权利要求29所述的方法,其特征在于,所述第一消息还包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和第二终端当前驻留的网络不同。
- 根据权利要求30所述的方法,其特征在于,所述方法还包括:所述第二终端根据所述第一消息包括的所述第一终端当前驻留的网络信息,执行驻留动作,所述驻留动作用于将所述第二终端驻留到所述第一终端当前驻留的网络。
- 根据权利要求31所述的方法,其特征在于,所述方法还包括:所述第二终端向所述第一终端发送第三消息,所述第三消息用于指示所述第二终端已成功驻留到所述第一终端当前驻留的网络。
- 根据权利要求32所述的方法,其特征在于,所述第三消息为发现消息或直接通信消息。
- 根据权利要求31所述的方法,其特征在于,所述方法还包括:所述第二终端向所述第一终端发送第四消息,所述第四消息用于指示所述第二终端执行所述驻留动作失败。
- 根据权利要求34所述的方法,其特征在于,所述第四消息包括失败原因,所述失败原因包括以下中的至少一项:所述第一终端当前驻留的网络的信道质量不满足预设条件,所述第一终端当前驻留的网络不允许所述第二终端接入。
- 根据权利要求34或35所述的方法,其特征在于,所述第四消息为发现消息或直接通信消息。
- 根据权利要求25所述的方法,其特征在于,所述方法还包括:所述第二终端接收到所述第一终端发送的第五消息,所述第五消息用于拒绝所述第二消息。
- 根据权利要求24或25所述的方法,其特征在于,所述第二终端根据第一消息的接收时间和/或内容,确定所述第一终端和所述第二终端当前是否驻留在同一网络,包括:若所述第一消息的接收时间不在预设的时间范围内,所述第二终端确定所述第一终端和所述第二终端当前驻留在不同网络。
- 根据权利要求24至38中任一项所述的方法,其特征在于,所述第一消息为发现消息或直接通信消息。
- 根据权利要求24至39中任一项所述的方法,其特征在于,所述同一网络为以下中的任意一种:同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
- 根据权利要求24至40中任一项所述的方法,其特征在于,所述当前驻留的网络信息包括以下中的至少一项:当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
- 根据权利要求24至41中任一项所述的方法,其特征在于,所述第二终端向第一终端发送指示信息,包括:在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,向所述第一终端发送所述指示信息。
- 一种终端设备,其特征在于,包括:通信模块,用于接收第二终端发送的指示信息,所述指示信息用于指示所述第二终端当前驻留的网络信息;确定模块,用于根据所述指示信息,确定所述终端设备和所述第二终端是否驻留在同一网络。
- 根据权利要求43所述的终端设备,其特征在于,所述通信模块具体用于:接收所述第二终端发送的第一消息,所述第一消息包括所述指示信息。
- 根据权利要求43或44所述的终端设备,其特征在于,所述确定模块具体用于:根据所述指示信息,确定所述终端设备和第二终端驻留的网络相同。
- 根据权利要求45所述的终端设备,其特征在于,所述通信模块具体用于:通过所述第二终端,与所述终端设备和所述第二终端当前驻留的网络进行通信。
- 根据权利要求45或46所述的终端设备,其特征在于,所述通信模块具体用于:向所述第二终端发送第二消息,所述第二消息用于指示所述终端设备和所述第二终端当前驻留的网络相同。
- 根据权利要求46所述的终端设备,其特征在于,所述第二消息为发现消息或直接通信消息。
- 根据权利要求44所述的终端设备,其特征在于,所述确定模块具体用于:根据所述指示信息,确定所述终端设备和第二终端驻留的网络不同。
- 根据权利要求49所述的终端设备,其特征在于,所述通信模块具体用于:接收其他终端发送的指示信息,所述指示信息用于指示所述其他终端当前驻留的网络消息;所述确定模块具体用于:根据所述其他终端发送的指示信息,直到找到与所述终端设备处于同一网络的终端设备。
- 根据权利要求49所述的终端设备,其特征在于,所述终端设备还包括:驻留模块,用于执行驻留动作,所述驻留动作用于将所述终端设备驻留到所述第二终端当前驻留的网络。
- 根据权利要求51所述的终端设备,其特征在于,所述通信模块还用于:在所述终端设备执行驻留动作成功的情况下,通过所述第二终端与所述同一网络进行通信。
- 根据权利要求51或52所述的终端设备,其特征在于,所述通信模块还用于:向所述第二终端发送第三消息,所述第三消息用于指示所述终端设备已成功驻留到所述第二终端当前驻留的网络。
- 根据权利要求53所述的终端设备,其特征在于,所述第三消息为发现消息或直接通信消息。
- 根据权利要求51或52所述的终端设备,其特征在于,所述通信模块还用于:向所述第二终端发送第四消息,所述第四消息用于指示所述终端设备执行所述驻留动作失败。
- 根据权利要求55所述的终端设备,其特征在于,所述第四消息包括失败原因和/或所述终端设备当前驻留的网络信息,所述失败原因包括以下中的至少一项:所述第二终端当前驻留的网络的信道质量不满足预设条件,所述第二终端当前驻留的网络不允许所述终端设备接入。
- 根据权利要求55或56所述的终端设备,其特征在于,所述第四消息为发现消息或直接通信消息。
- 根据权利要求48所述的终端设备,其特征在于,所述通信模块还用于:向所述第二终端发送第五消息,所述第五消息用于拒绝驻留到所述第二终端当前驻留的网络。
- 根据权利要求58所述的终端设备,其特征在于,所述第五消息还包括拒绝原因和/或所述终端设备当前驻留的网络信息,所述拒绝原因包括所述终端设备和第二终端当前驻留的网络不同。
- 根据权利要求58或59所述的终端设备,其特征在于,所述第五消息为发现消息或直接通信消息。
- 根据权利要求49所述的终端设备,其特征在于,所述通信模块还用于:向所述第二终端发送第六消息,所述第六消息用于拒绝所述第一消息。
- 根据权利要求61所述的终端设备,其特征在于,所述第六消息包括拒绝原因,所述拒绝用于包括所述终端设备和第二终端当前驻留的网络不同。
- 根据权利要求43至62中任一项所述的终端设备,其特征在于,所述同一网络为以下中的任意一种:同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
- 根据权利要求43至63中任一项所述的终端设备,其特征在于,所述当前驻留的网络信息包括以下中的至少一项:当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
- 根据权利要求43至64中任一项所述的终端设备,其特征在于,所述通信模块还用于:在所述第二终端开机,或驻留的网络发生变化,或需要传输中继业务的情况下,接收所述第二终端发送的所述指示信息。
- 一种终端设备,其特征在于,包括:通信模块,用于向第一终端发送指示信息,所述指示信息用于指示所述终端设备当前驻留的网络信息;确定模块,用于根据第一消息的接收时间和/或内容,确定所述第一终端和所述终端设备当前是否驻留在同一网络。
- 根据权利要求66所述的终端设备,其特征在于,所述通信模块具体用于:向所述第一终端发送第二消息,所述第二信息包括所述指示信息。
- 根据权利要求66或67所述的终端设备,其特征在于,所述通信模块还用于:在确定所述第一终端和所述终端设备驻留在同一网络的情况下,中继所述第一终端与所述同一网络之间的数据。
- 根据权利要求68所述的终端设备,其特征在于,所述确定模块具体用于:在所述第一消息的内容指示所述第一终端和所述终端设备当前驻留的网络相同的情况下,确定所述第一终端和所述终端设备当前驻留在同一网络。
- 根据权利要求68所述的终端设备,其特征在于,所述确定模块具体用于:在所述第一消息的内容指示所述第一终端已成功接入所述终端设备当前驻留的网络的情况下,确定所述第一终端和所述终端设备当前驻留在同一网络。
- 根据权利要求66或67所述的终端设备,其特征在于,所述确定模块具体用于:若所述第一消息的内容指示所述第一终端拒绝接入所述终端设备当前驻留的网络,确定所述第一终端和所述终端设备当前驻留在不同网络。
- 根据权利要求71所述的终端设备,其特征在于,所述第一消息还包括拒绝原因和/或所述第一终端当前驻留的网络信息,所述拒绝原因包括所述第一终端和终端设备当前驻留的网络不同。
- 根据权利要求72所述的终端设备,其特征在于,所述终端设备还包括:驻留模块,用于根据所述第一消息包括的所述第一终端当前驻留的网络信息,执行驻留动作,所述驻留动作用于将所述终端设备驻留到所述第一终端当前驻留的网络。
- 根据权利要求73所述的终端设备,其特征在于,所述通信模块还用于:向所述第一终端发送第三消息,所述第三消息用于指示所述终端设备已成功驻留到所述第一终端当前驻留的网络。
- 根据权利要求74所述的终端设备,其特征在于,所述第三消息为发现消息或直接通信消息。
- 根据权利要求73所述的终端设备,其特征在于,所述通信模块还用于:向所述第一终端发送第四消息,所述第四消息用于指示所述终端设备执行所述驻留动作失败。
- 根据权利要求76所述的终端设备,其特征在于,所述第四消息包括失败原因,所述失败原因包括以下中的至少一项:所述第一终端当前驻留的网络的信道质量不满足预设条件,所述第一终端当前驻留的网络不允许所述终端设备接入。
- 根据权利要求76或77所述的终端设备,其特征在于,所述第四消息为发现消息或直接通信消息。
- 根据权利要求67所述的终端设备,其特征在于,所述通信模块还用于:接收到所述第一终端发送的第五消息,所述第五消息用于拒绝所述第二消息。
- 根据权利要求66或67所述的终端设备,其特征在于,所述确定模块还用于:若所述第一消息的接收时间不在预设的时间范围内,确定所述第一终端和所述终端设备当前驻留在不同网络。
- 根据权利要求66至80中任一项所述的终端设备,其特征在于,所述第一消息为发现消息或直接通信消息。
- 根据权利要求66至81中任一项所述的终端设备,其特征在于,所述同一网络为以下中的任意一种:同一波束、小区、基站、核心网、公众陆地移动网络PLMN、跟踪区域TA、寻呼区域。
- 根据权利要求66至82中任一项所述的终端设备,其特征在于,所述当前驻留的网络信息包括以下中的至少一项:当前驻留的网络的标识信息、空间一致性信息和时间一致性信息,所述空间一致性信息指示当前驻留的网络是否与上次驻留的网络相同,所述时间一致性信息指示特定时间内驻留的网络是否发生改变。
- 根据权利要求66至83中任一项所述的终端设备,其特征在于,所述通信模块具体用于:在所述终端设备开机,或驻留的网络发生变化,或需要传输中继业务的情况下,向所述第一终端发送所述指示信息。
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/076348 WO2018161357A1 (zh) | 2017-03-10 | 2017-03-10 | 通信方法和终端设备 |
| CN202210077707.7A CN114374960A (zh) | 2017-03-10 | 2017-03-10 | 通信方法、终端设备和计算机可读介质 |
| US16/491,130 US11109429B2 (en) | 2017-03-10 | 2017-03-10 | Communication method and terminal device |
| CN201780088211.7A CN110463230B (zh) | 2017-03-10 | 2017-03-10 | 通信方法、终端设备和计算机可读介质 |
| EP17899484.4A EP3588992B1 (en) | 2017-03-10 | 2017-03-10 | Communication method and terminal device |
| PH12019502027A PH12019502027A1 (en) | 2017-03-10 | 2019-09-06 | Communication method and terminal device |
| US17/395,325 US20210368564A1 (en) | 2017-03-10 | 2021-08-05 | Communication Method and Terminal Device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/076348 WO2018161357A1 (zh) | 2017-03-10 | 2017-03-10 | 通信方法和终端设备 |
Related Child Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/491,130 A-371-Of-International US11109429B2 (en) | 2017-03-10 | 2017-03-10 | Communication method and terminal device |
| US17/395,325 Continuation US20210368564A1 (en) | 2017-03-10 | 2021-08-05 | Communication Method and Terminal Device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018161357A1 true WO2018161357A1 (zh) | 2018-09-13 |
Family
ID=63449056
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/076348 Ceased WO2018161357A1 (zh) | 2017-03-10 | 2017-03-10 | 通信方法和终端设备 |
Country Status (5)
| Country | Link |
|---|---|
| US (2) | US11109429B2 (zh) |
| EP (1) | EP3588992B1 (zh) |
| CN (2) | CN110463230B (zh) |
| PH (1) | PH12019502027A1 (zh) |
| WO (1) | WO2018161357A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112788673A (zh) * | 2019-11-07 | 2021-05-11 | 华为技术有限公司 | 一种通信方法、装置及设备 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114557043A (zh) * | 2019-10-22 | 2022-05-27 | Oppo广东移动通信有限公司 | 无线通信方法和终端设备 |
| CN114258011B (zh) * | 2020-09-21 | 2023-06-16 | 维沃移动通信有限公司 | 信息发送方法、信息接收方法、装置及终端 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103298122A (zh) * | 2012-02-23 | 2013-09-11 | 财团法人资讯工业策进会 | 用于一无线网络通信系统的基地台、核心服务器及上行传输方法 |
| CN104349283A (zh) * | 2013-08-07 | 2015-02-11 | 王方淇 | 一种信息处理方法、终端及信息处理系统 |
| US20150296482A1 (en) * | 2014-04-10 | 2015-10-15 | Samsung Electronics Co., Ltd | Method and system for transmitting paging messages to machine type communication (mtc) devices in wireless communication |
Family Cites Families (32)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7096030B2 (en) * | 2002-06-28 | 2006-08-22 | Nokia Corporation | System and method for initiating location-dependent applications on mobile devices |
| US8681734B2 (en) * | 2009-07-13 | 2014-03-25 | Lg Electronics Inc. | Method for transmitting a ranging signal in a wireless communication system |
| US9100832B2 (en) * | 2009-10-30 | 2015-08-04 | Airhop Communications, Inc. | Method and apparatus for self organized network |
| US8792890B2 (en) * | 2009-11-04 | 2014-07-29 | Blackberry Limited | Methods and apparatus to monitor a channel to determine neighbor cell information |
| EP2387279A1 (en) * | 2010-05-11 | 2011-11-16 | Panasonic Corporation | Cell (re)selection in a heterogeneous mobile communication system |
| US8838159B2 (en) * | 2010-06-28 | 2014-09-16 | Lg Electronics Inc. | Method and apparatus for transmitting reference signal in multi-node system |
| CN102448142B (zh) * | 2010-09-30 | 2015-06-03 | 中兴通讯股份有限公司 | 控制终端选择网络的方法和装置 |
| JP2012178727A (ja) * | 2011-02-25 | 2012-09-13 | Sharp Corp | 受信装置、送信装置、受信方法、送信方法、プログラムおよび無線通信システム |
| EP2767119B1 (en) * | 2011-10-14 | 2017-08-09 | Telefonaktiebolaget LM Ericsson (publ) | A user equipment and a radio network node, and methods therein for device-to-device communication |
| GB2498395B (en) * | 2012-01-16 | 2014-10-08 | Broadcom Corp | A method and apparatus for modifying one or more cell reselection parameters |
| WO2014019222A1 (zh) * | 2012-08-03 | 2014-02-06 | 华为技术有限公司 | 小区变更的方法、装置和终端 |
| US8897768B2 (en) * | 2012-11-28 | 2014-11-25 | Industrial Technology Research Institute | Method for selecting and establishing a D2D communication path in MTC capillary networks |
| JP2014110450A (ja) * | 2012-11-30 | 2014-06-12 | Sony Corp | 情報処理装置、通信システム、情報処理方法およびプログラム |
| US20140171062A1 (en) * | 2012-12-19 | 2014-06-19 | Telefonaktiebolaget L M Ericsson (Publ) | Wireless Devices, Network Node and Methods for Handling Relay Assistance in a Wireless Communications Network |
| US9998902B2 (en) * | 2013-01-02 | 2018-06-12 | Kyocera Corporation | Mobile communication system, user terminal, base station, and processor transmitting a discovery-use signal |
| EP2947955B1 (en) * | 2013-02-08 | 2024-06-19 | Huawei Technologies Co., Ltd. | Device-to-device communication method, terminal, and product |
| WO2014129465A1 (ja) * | 2013-02-19 | 2014-08-28 | 京セラ株式会社 | 通信制御方法、ユーザ端末及び基地局 |
| US9699132B2 (en) * | 2013-05-30 | 2017-07-04 | Tencent Technology (Shenzhen) Company Limited | Method, apparatus, and system for exchanging electronic business card |
| US9853875B1 (en) * | 2013-06-25 | 2017-12-26 | Google Inc. | Methods, systems, and media for detecting the presence of a digital media device on a network |
| JP6371391B2 (ja) * | 2013-07-30 | 2018-08-08 | ソニー株式会社 | リピータ機能の有効化要求の方法およびユーザ機器 |
| CN104581613B (zh) * | 2013-10-29 | 2019-07-30 | 索尼公司 | 增强用户装置之间的邻近服务发现的方法及设备 |
| WO2015095583A1 (en) * | 2013-12-20 | 2015-06-25 | Kyocera Corporation | Handover of device-to-device (d2d) user equipment (ue) devices using d2d subframes with cell identifiers |
| CN105940687B (zh) * | 2014-01-30 | 2020-02-28 | Lg电子株式会社 | 在无线通信系统中由终端执行的d2d操作方法及使用该方法的终端 |
| US10013675B2 (en) * | 2014-04-17 | 2018-07-03 | Xiaomi Inc. | Method and device for reminding user |
| WO2016008657A1 (en) * | 2014-07-15 | 2016-01-21 | Sony Corporation | Communications device, communications apparatus operating as a relay node, infrastructure equipment and methods |
| EP3202226A4 (en) * | 2014-10-03 | 2018-05-09 | Telefonaktiebolaget LM Ericsson (publ) | A communication device, a relay device, a network node and methods therein for enabling a relay in a radio communications network |
| WO2016163823A1 (ko) * | 2015-04-08 | 2016-10-13 | 엘지전자 주식회사 | 무선 통신 시스템에서 단말에 의해 수행되는 중계 단말 선택 방법 및 상기 방법을 이용하는 단말 |
| KR20180003546A (ko) * | 2015-04-08 | 2018-01-09 | 인터디지탈 패튼 홀딩스, 인크 | 디바이스 대 디바이스간(d2d) 통신을 위한 모바일 릴레이 구현 |
| US10440629B2 (en) * | 2015-04-08 | 2019-10-08 | Lg Electronics Inc. | Synchronization reference terminal selection method performed by terminal in wireless communication system, and terminal using same method |
| US9655039B2 (en) * | 2015-06-26 | 2017-05-16 | Qualcomm Incorporated | Dynamic cell reselection to improve device-to-device communications |
| US10516986B2 (en) * | 2015-08-12 | 2019-12-24 | Lg Electronics Inc. | Method for discovering relay UE via D2D link at UE in wireless communication system and apparatus therefor |
| CN106454746B (zh) * | 2015-08-13 | 2020-06-26 | 华为技术有限公司 | 设备到设备通信方法、装置和系统 |
-
2017
- 2017-03-10 WO PCT/CN2017/076348 patent/WO2018161357A1/zh not_active Ceased
- 2017-03-10 EP EP17899484.4A patent/EP3588992B1/en active Active
- 2017-03-10 CN CN201780088211.7A patent/CN110463230B/zh active Active
- 2017-03-10 CN CN202210077707.7A patent/CN114374960A/zh active Pending
- 2017-03-10 US US16/491,130 patent/US11109429B2/en active Active
-
2019
- 2019-09-06 PH PH12019502027A patent/PH12019502027A1/en unknown
-
2021
- 2021-08-05 US US17/395,325 patent/US20210368564A1/en not_active Abandoned
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103298122A (zh) * | 2012-02-23 | 2013-09-11 | 财团法人资讯工业策进会 | 用于一无线网络通信系统的基地台、核心服务器及上行传输方法 |
| CN104349283A (zh) * | 2013-08-07 | 2015-02-11 | 王方淇 | 一种信息处理方法、终端及信息处理系统 |
| US20150296482A1 (en) * | 2014-04-10 | 2015-10-15 | Samsung Electronics Co., Ltd | Method and system for transmitting paging messages to machine type communication (mtc) devices in wireless communication |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3588992A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112788673A (zh) * | 2019-11-07 | 2021-05-11 | 华为技术有限公司 | 一种通信方法、装置及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3588992B1 (en) | 2024-11-27 |
| PH12019502027A1 (en) | 2020-06-15 |
| US11109429B2 (en) | 2021-08-31 |
| EP3588992A4 (en) | 2020-02-19 |
| CN110463230A (zh) | 2019-11-15 |
| US20200015299A1 (en) | 2020-01-09 |
| US20210368564A1 (en) | 2021-11-25 |
| EP3588992A1 (en) | 2020-01-01 |
| CN114374960A (zh) | 2022-04-19 |
| CN110463230B (zh) | 2024-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020204501A1 (en) | Method for supporting access to closed network, ue, base station and readable storage medium | |
| WO2018030819A1 (en) | Method and apparatus for supporting movement of user equipment in wireless communications | |
| WO2020251302A1 (en) | Method and system for handling of closed access group related procedure | |
| WO2017171454A1 (en) | Methods for determining paging occasions in edrx cycle and monitoring paging occasions based on cel | |
| WO2018030866A1 (ko) | 저전력 rrc 운용 방법 및 장치 | |
| WO2015096160A1 (zh) | 一种保持业务连续性的方法及设备 | |
| WO2013019035A2 (en) | Apparatus and method for supporting handover | |
| WO2017123002A1 (en) | Method and equipment for determining iot service, and method and equipment for controlling iot service behavior | |
| WO2015016654A1 (en) | Method for maintaining service continuity in heterogeneous communications system | |
| EP3756414A1 (en) | Method and system for handling service request procedure in communication network | |
| WO2018066799A1 (ko) | 무선 통신 시스템에서 세션 및 서비스 연속성 모드 선택 방법 및 이를 위한 장치 | |
| WO2019050349A1 (ko) | 무선 통신 시스템에서 데이터를 송수신하는 전자 장치 및 이를 위한 방법 | |
| EP3443805A1 (en) | Light connection control method and apparatus | |
| WO2015096064A1 (zh) | 一种广播消息的方法及基站、用户设备 | |
| WO2021066515A1 (en) | Master node, secondary node and user equipment in mobile communication network and communication methods therebetween | |
| WO2019177397A1 (en) | Method and apparatus for establishing radio bearer | |
| WO2021133092A1 (en) | Method and apparatus to manage nssaa procedure in wireless communication network | |
| WO2017196161A1 (en) | Light connection control method and apparatus | |
| WO2013073836A1 (en) | Method and device of supporting group mobility | |
| WO2012165794A2 (ko) | 이기종 네트워크 기반 데이터 동시 전송 서비스 시스템 및 그 방법 | |
| WO2020091449A1 (en) | Session setup method, session management functional entity, base station, and storage medium | |
| CN104662966A (zh) | 业务接入的控制方法及设备 | |
| WO2014117334A1 (zh) | 一种实现无线资源控制协议功能的方法、宏基站及微小区节点 | |
| WO2013172638A1 (en) | Method and apparatus for processing state information in communication system | |
| WO2018161357A1 (zh) | 通信方法和终端设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17899484 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2017899484 Country of ref document: EP Effective date: 20190925 |