WO2022127665A1 - Communication method and communication apparatus - Google Patents
Communication method and communication apparatus Download PDFInfo
- Publication number
- WO2022127665A1 WO2022127665A1 PCT/CN2021/136401 CN2021136401W WO2022127665A1 WO 2022127665 A1 WO2022127665 A1 WO 2022127665A1 CN 2021136401 W CN2021136401 W CN 2021136401W WO 2022127665 A1 WO2022127665 A1 WO 2022127665A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- relay
- terminal
- communication
- remote terminal
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/90—Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/22—Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
Definitions
- the present application relates to the field of electronic equipment, and more particularly, to a communication method and a communication device.
- a communication protocol defines a link that can communicate directly between a plurality of end devices, and this link can be referred to as a sidelink (SL).
- Communication application scenarios between multiple terminal devices may be diverse.
- the present application provides a communication method and a communication device, with the purpose of providing a communication mode between multiple terminal devices, the communication mode can be combined with various types of communication scenarios, and the functions that can be realized by the terminal device can be increased.
- a communication method including:
- the remote terminal sends a relay request message to establish a side link communication connection with the relay terminal, where the side link communication connection is used to transmit data packets corresponding to the target communication service;
- the remote terminal interacts with the network device through the relay terminal, including:
- the remote terminal sends a first data packet corresponding to the target communication service to the relay terminal through the side link communication connection, so that the first data packet is forwarded by the relay terminal to the relay terminal.
- the network equipment and/or,
- the remote terminal is connected through the side link communication, and receives a second data packet corresponding to the target communication service from the relay terminal, where the second data packet comes from the network device.
- the remote terminal by associating the type of the communication service with the data packet, the remote terminal can receive or send the data packet of the specific communication service through the relay terminal, so as to realize the function corresponding to the specific communication service.
- the target communication service includes at least one of the following: high-definition voice call service, high-definition video call service, network voice call service, network video call service, two-dimensional code Business, payment business, help business, call charge recharge business, short message business, application notification business.
- various types of communication services are obtained by dividing the service types in a detailed and diverse manner, so that data packets can be associated with specific and specific services, which is beneficial to increase the use of remote terminals in various application scenarios. functions that can be achieved.
- the communication method before the remote terminal sends the relay requirement message, the communication method further includes:
- the remote terminal determines that the remote terminal is currently in a scenario of no network communication.
- the remote terminal when the remote terminal is in a scenario without network communication, the remote terminal should not be able to achieve effective communication, and thus cannot provide users with a variety of application functions.
- the remote terminal can request the relay service from the relay terminal, part of the communication service data of the remote terminal can obtain the permission of the relay terminal, so that the user of the remote terminal can still use part of the remote terminal in the scenario of no network communication. Function. This is beneficial to improve the user experience of the remote terminal in the scenario of no network communication.
- the remote terminal determines that the remote terminal is currently in a network-free communication scenario, including:
- the remote terminal judges that the remote terminal is currently in a no-network communication scenario according to at least one of the following: the state of the user identification module SIM card interface of the remote terminal, the usage of the communication package of the remote terminal, the remote terminal The communication status with the network device, the status of the mobile data function of the remote terminal, the status of the wireless local area network WLAN function of the remote terminal, and the status of the Bluetooth function of the remote terminal.
- the normal communication function of the remote terminal may be limited for various reasons.
- the relay requirement message includes a first service identifier, and the first service identifier corresponds to the target communication service.
- the relay terminal can know the specific type of the relay service that the remote terminal needs to provide through the relay demand message, which is beneficial for the remote terminal to obtain information from the relay terminal. Obtain relay services for specific communication services.
- the first service identifier is used to uniquely identify the target communication service.
- the relay terminal can accurately know the specific type of the relay service that the remote terminal needs to provide. Since the types of communication services may be relatively numerous, the data volume of the first service identifier may be relatively large.
- the first service identifier is used to indicate the priority of the target communication service.
- the relay terminal can judge whether to provide a relay service for the remote terminal according to the service priority. Since the types of communication services may be relatively numerous, identifying the communication services by priority is beneficial to reduce the data amount of the first service identification.
- the relay requirement message includes multiple service identifiers; before the remote terminal interacts with the network device through the relay terminal, the communication method further include:
- the remote terminal receives a service identification confirmation message from the relay terminal, where the service identification confirmation message includes the first part of the service identification among the plurality of service identifications, and the service identification confirmation message is used to indicate the first part of the service
- the communication service corresponding to the identifier is permitted by the relay terminal, and the first part of the service identifier includes the first service identifier.
- the remote terminal since the relay terminal can choose to provide the relay service for the remote terminal or not to provide the relay service, after the relay terminal feeds back the first part of the service identifier, the remote terminal can know the relay terminal that the relay terminal can provide. The specific type of service.
- the relay requirement message includes a terminal identifier of the remote terminal.
- the first data packet includes a second service identifier, and the second service identifier corresponds to the target communication service.
- the relay terminal can know that the first data packet is related to the target communication service, and know the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
- the second data packet includes a third service identifier, and the third service identifier corresponds to the target communication service.
- the relay terminal since the second data packet carries the identifier of the target communication service, the relay terminal knows that the second data packet is related to the target communication service, and knows the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
- the remote terminal sends a relay requirement message, including:
- the remote terminal sends the relay requirement message according to a first period, and the first period is less than 40ms.
- the remote terminal sends the relay demand message according to a relatively fast frequency, which is beneficial to receive feedback from the relay terminal as soon as possible and improve the user experience of the remote terminal.
- the remote terminal sends a relay requirement message, including:
- the remote terminal sends the relay request message on the licensed frequency band in a frequency division duplex manner; or,
- the remote terminal sends the relay request message on an unlicensed frequency band.
- sending the relay demand message on the licensed frequency band or sending the relay demand message on the unlicensed frequency band according to the frequency division duplexing method is beneficial to shorten the sending period of the relay demand message, and is further beneficial to receive the relay demand message as soon as possible.
- the feedback to the relay terminal improves the user experience of the remote terminal.
- the communication method further includes:
- the remote terminal displays a target user interface, and the target user interface includes at least one of the following: a switch control without network communication, a switch control of the remote terminal, and a communication parameter of the remote terminal.
- the user can perform gesture operations through the user interface of the remote terminal to implement personalized functions.
- the communication parameters of the remote terminal include at least one of the following: power consumption mode, single duration limit, default open period, service whitelist, service blacklist, Relay terminal whitelist and relay terminal blacklist.
- the user can realize personalized functions by adjusting various communication parameters of the remote terminal.
- the relay requirement message includes a service identifier corresponding to the two-dimensional code service
- the first data packet is used to request information of the two-dimensional code
- the The second data packet includes the information of the two-dimensional code
- the remote terminal displays a first user interface related to the loading of the two-dimensional code, and the remote terminal is currently in a no-network communication scenario;
- the communication method further includes:
- the pattern of the two-dimensional code is displayed on the first user interface.
- the two-dimensional code is generally updated multiple times in a relatively short period of time, which makes the two-dimensional code business relatively high urgency.
- the remote terminal cannot quickly obtain the two-dimensional code from the network device, the two-dimensional code can be quickly obtained through the relay terminal, thereby completing the business or function related to the two-dimensional code.
- the relay demand message includes a service identifier corresponding to a payment service
- the first data packet is used to request recharge information of the bus card
- the second The data packet includes the recharge information of the bus card
- the communication method further includes:
- the remote terminal displays a second user interface related to the recharging of the bus card, and the remote terminal is currently in a scenario without network communication;
- the communication method further includes:
- First indication information is displayed on the second user interface, and the first indication information indicates that the recharging of the bus card is completed.
- the remote terminal can complete the recharge of the bus card through short-distance communication technology, but when the remote terminal cannot quickly obtain the recharge information of the bus card from the network device, the convenience of the bus card recharge process will be compromised.
- the remote terminal can quickly obtain the recharge information of the bus card through the relay terminal, thereby realizing the recharge function of the bus card.
- the relay requirement message includes a service identifier corresponding to the short message service
- the first data packet is used to request a verification code
- the second data packet includes For the verification code, before the remote terminal sends the relay requirement message, the communication method further includes:
- the remote terminal displays a third user interface related to obtaining the verification code, and the remote terminal is currently in a scenario of no network communication;
- the communication method further includes:
- the verification code is displayed on the third user interface.
- the validity period of the verification code is relatively short, which makes the short message service or the verification code service relatively urgent.
- the relay terminal can quickly obtain the verification code, thereby completing the business or function related to the verification code.
- the relay requirement message includes a service identifier corresponding to the payment service
- the first data packet is used to request information related to telephone charge recharge
- the first data packet includes the information related to the telephone charge recharge
- the communication method further includes:
- the remote terminal displays a fourth user interface related to phone bill recharge, and the remote terminal is currently in a scenario without network communication;
- the communication method further includes:
- Second indication information is displayed on the fourth user interface, and the second indication information indicates that the phone bill recharge is completed.
- the remote terminal cannot communicate with the network device normally due to insufficient call credit balance. Once the call credit is recharged, the remote terminal can communicate with the network device normally. The remote terminal can complete the call charge recharge process through the relay terminal, and then restore the normal communication function.
- the relay requirement message includes a service identifier corresponding to a payment service
- the first data packet is used to request information related to parking fees
- the first data packet is used to request information related to parking fees.
- the second data packet includes the parking fee-related information, and before the remote terminal sends the relay demand message, the communication method further includes:
- the remote terminal displays a fifth user interface related to parking fee payment, and the remote terminal is currently in a scenario without network communication;
- the communication method further includes:
- Third indication information is displayed on the fifth user interface, and the third indication information indicates that the payment of the parking fee is completed.
- the relay demand message includes a service identifier corresponding to a distress service
- the first data packet includes an uploaded voice packet of a distress call
- the second data packet The packet includes the downlink voice packet of the distress call
- the communication method further includes:
- the remote terminal displays a sixth user interface related to the distress call, and the remote terminal is currently in a scenario without network communication;
- the communication method further includes:
- Fourth indication information is displayed on the sixth user interface, and the fourth indication information indicates that the remote terminal has connected the emergency call.
- the remote terminal cannot directly exchange the voice packet of the distress call with the network device, the voice packet of the distress call can be exchanged with the network device through the relay terminal, thereby helping to improve the success rate of the distress call.
- a communication method comprising:
- the relay terminal receives the relay demand message from the remote terminal;
- the relay terminal forwards messages between the remote terminal and the network device, including:
- the relay terminal is connected through the side link communication, receives a first data packet corresponding to the target communication service from a remote terminal, and forwards the first data packet to the network device; and/or,
- the relay terminal receives a second data packet corresponding to the target communication service from the network device, and forwards the second data packet to the remote terminal through the side link communication connection.
- the relay terminal can forward the data packet of the specific communication service for the remote terminal, so that the remote terminal can realize the function corresponding to the specific communication service.
- the target communication service includes at least one of the following: a high-definition voice call service, a high-definition video call service, an Internet voice call service, an Internet video call service, and a two-dimensional code Business, payment business, help business, call charge recharge business, short message business, application notification business.
- various types of communication services are obtained by dividing the service types in a detailed and diverse manner, so that data packets can be associated with specific and specific services, which is beneficial to increase the use of remote terminals in various application scenarios. functions that can be achieved.
- the relay requirement message includes at least one of the following:
- the no network communication identification is used to indicate that the remote terminal is currently in a no network communication state
- a first service identifier where the first service identifier corresponds to the target communication service.
- the remote terminal when the remote terminal is in a scenario without network communication, the remote terminal should not be able to achieve effective communication, and thus cannot provide users with a variety of application functions.
- the relay request message can carry the no-network communication identifier, it is beneficial for the relay terminal to preferentially provide relay services for the remote terminal without network communication, and it is beneficial for the communication service data of the remote terminal to obtain the permission of the relay terminal.
- the user of the terminal can still use some functions of the remote terminal in the scenario of no network communication. This is beneficial to improve the user experience of the remote terminal in the scenario of no network communication.
- the relay terminal since the relay demand message carries the identifier of the target communication service, the relay terminal can know the specific type of the relay service that the remote terminal needs to provide through the relay demand message, which is beneficial for the relay terminal to provide the remote terminal.
- the terminal provides relay services for specific communication services.
- the first service identifier is used to uniquely identify the target communication service.
- the relay terminal can accurately know the specific type of the relay service that the remote terminal needs to provide. Since the types of communication services may be relatively numerous, the data volume of the first service identifier may be relatively large.
- the first service identifier is used to indicate the priority of the target communication service.
- the relay terminal can judge whether to provide a relay service for the remote terminal according to the service priority. Since the types of communication services may be relatively numerous, identifying the communication services by priority is beneficial to reduce the data amount of the first service identification.
- the relay requirement message includes multiple service identifiers; before the relay terminal forwards the message between the remote terminal and the network device, the Communication methods also include:
- the relay terminal sends a service identifier confirmation message to the remote terminal, where the service identifier confirmation message includes the first part of the service identifiers in the plurality of service identifiers;
- the relay terminal forwards messages between the remote terminal and the network device, including:
- the relay terminal forwards the message corresponding to the first part of the service identifier between the remote terminal and the network device, and discards the message corresponding to the second part of the service identifier, where the second part of the service identifier includes the multiple service identifiers.
- the remaining service identifiers except the first part of the service identifiers in each of the service identifiers, where the first part of the service identifiers include the first service identifier.
- the remote terminal since the relay terminal can choose to provide the relay service for the remote terminal or not to provide the relay service, after the relay terminal feeds back the first part of the service identifier, the remote terminal can know the relay terminal that the relay terminal can provide. The specific type of service.
- the relay terminal establishes a side link communication connection with the remote terminal according to the relay demand message, including:
- the relay terminal establishes a side link communication connection with the remote terminal under the condition that the first service identifier satisfies the first service preset condition, wherein the first service identifier satisfies the first service preset condition Include at least one of the following:
- the priority corresponding to the first service identifier is higher than the first preset service priority
- the target communication service corresponding to the first service identifier belongs to the service whitelist of the relay terminal;
- the target communication service corresponding to the first service identifier does not belong to the service blacklist of the relay terminal.
- the relay terminal may determine whether to provide a relay service for the remote terminal according to the communication parameters set by the user.
- the relay terminal establishes a side link communication connection with the remote terminal according to the relay demand message, including:
- the relay terminal establishes a side link communication connection with the remote terminal when the terminal identifier satisfies the preset condition of the first terminal, wherein the terminal identifier satisfies the preset condition of the first terminal including any one of the following item:
- the terminal identifier is in the remote terminal whitelist of the relay terminal
- the terminal identification is not in the remote terminal blacklist of the relay terminal.
- the relay terminal may determine whether to provide a relay service for the remote terminal according to the communication parameters set by the user.
- the first data packet includes a second service identifier, and the second service identifier corresponds to the target communication service.
- the relay terminal can know that the first data packet is related to the target communication service, and know the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
- the second data packet includes a third service identifier, and the third service identifier corresponds to the target communication service.
- the relay terminal since the second data packet carries the identifier of the target communication service, the relay terminal knows that the second data packet is related to the target communication service, and knows the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
- the communication method before the relay terminal receives the relay demand message from the remote terminal, the communication method further includes:
- the relay terminal monitors the relay demand message according to a second period, and the duration of the second period is greater than 512 ms.
- the relay terminal monitors the relay demand message at a relatively slow frequency, which is beneficial to reduce the power consumption of the relay terminal.
- the relay terminal monitors the relay demand message according to a second period, including:
- the relay terminal drives the side link communication module of the relay terminal according to the second cycle to monitor the relay demand message, wherein, in each second cycle, the relay terminal drives the The duration of the side link communication module is equal to the sum of the sending period of the relay requirement message and the time domain occupied by the relay requirement message.
- the sending period of the relay requirement message is less than 40ms.
- the remote terminal sends the relay demand message according to a relatively fast frequency, which is beneficial to receive feedback from the relay terminal as soon as possible and improve the user experience of the remote terminal.
- the relay terminal includes a first communication module and a second communication module
- the first communication module is used for the relay terminal and the network device interaction between the two communication modules
- the second communication module is used for the interaction between the relay terminal and the remote terminal, in each driving cycle of the first communication module and the second communication module, the first communication module
- the driving period at least partially overlaps the driving period of the second communication module.
- overlapping the driving periods of the plurality of communication modules is beneficial to reduce the driving times of other modules related to the plurality of communication modules, thereby reducing the power consumption of the relay terminal.
- the driving start time of the first communication module is the same as that of the second communication module.
- the driving start time of the communication module is the same time.
- aligning the driving start times of the plurality of communication modules is beneficial to increase the overlapping time amount of the driving periods of the plurality of communication modules.
- the communication method further includes:
- the relay terminal displays a user interface, and the user interface includes at least one of the following: a switch control without network communication, a switch control of the relay terminal, and communication parameters of the relay terminal.
- the user may perform gesture operations through the user interface of the relay terminal to implement personalized functions.
- the communication parameters of the relay terminal include at least one of the following: power consumption mode, single-time duration limit, single-time traffic limit, default open period, service white List, business blacklist, remote terminal whitelist, remote terminal blacklist.
- the user can realize personalized functions by adjusting various communication parameters of the relay terminal.
- the relay requirement message includes a service identifier corresponding to the two-dimensional code service
- the first data packet is used to request information of the two-dimensional code
- the The second data packet includes the information of the two-dimensional code
- the two-dimensional code is generally updated multiple times in a relatively short period of time, which makes the two-dimensional code business relatively high urgency.
- the remote terminal cannot quickly obtain the two-dimensional code from the network device, the two-dimensional code can be quickly obtained through the relay terminal, thereby completing the business or function related to the two-dimensional code.
- the relay demand message includes a service identifier corresponding to the payment service
- the first data packet is used to request recharge information of the bus card
- the second The data package includes recharge information of the bus card
- the remote terminal can complete the recharge of the bus card through short-distance communication technology, but when the remote terminal cannot quickly obtain the recharge information of the bus card from the network device, the convenience of the bus card recharge process will be compromised.
- the remote terminal can quickly obtain the recharge information of the bus card through the relay terminal, thereby realizing the recharge function of the bus card.
- the relay requirement message includes a service identifier corresponding to the short message service
- the first data packet is used to request a verification code
- the second data packet includes the verification code
- the validity period of the verification code is relatively short, which makes the short message service or the verification code service relatively urgent.
- the relay terminal can quickly obtain the verification code, thereby completing the business or function related to the verification code.
- the relay requirement message includes a service identifier corresponding to the payment service
- the first data packet is used to request information related to telephone charge recharge
- the first data packet includes the information related to the phone bill recharge.
- the remote terminal cannot communicate with the network device normally due to insufficient call credit balance. Once the call credit is recharged, the remote terminal can communicate with the network device normally. The remote terminal can complete the call charge recharge process through the relay terminal, and then restore the normal communication function.
- the relay demand message includes a service identifier corresponding to a payment service
- the first data packet is used to request information related to parking fees
- the first data packet is used to request information related to parking fees.
- the second data packet includes the information related to the parking fee.
- the relay requirement message includes a service identifier corresponding to a distress service
- the first data packet includes an uploaded voice packet of a distress call
- the second data packet The package includes the downlink voice package of the distress call.
- the remote terminal cannot directly exchange the voice packet of the distress call with the network device, the voice packet of the distress call can be exchanged with the network device through the relay terminal, thereby helping to improve the success rate of the distress call.
- a communication apparatus comprising: one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs comprising The instructions, when executed by the one or more processors, cause the electronic device to execute the communication method described in any possible implementation manner of the first aspect or the second aspect.
- a non-volatile computer-readable storage medium comprising computer instructions that, when the computer instructions are executed on an electronic device, cause the electronic device to perform any of the first or second aspects above.
- a fifth aspect provides a computer program product containing instructions, when the computer program product is run on an electronic device, the electronic device is made to execute the above-mentioned first aspect or any one of the possible implementations of the second aspect. communication method.
- a communication system including a network device, a remote terminal, and a relay terminal, wherein the remote terminal is configured to execute the communication method described in any possible implementation manner of the above-mentioned first aspect, and the The relay terminal is configured to execute the communication method described in any possible implementation manner of the second aspect.
- Figure 1 is a schematic diagram of the communication between vehicles and everything.
- Figure 2 is a device-to-device schematic.
- FIG. 3 is a schematic structural diagram of a terminal device.
- FIG. 4 is a schematic diagram of a networkless communication scenario provided by an embodiment of the present application.
- FIG. 5 is a schematic flowchart of a communication method provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of a user interface provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a user interface provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of a user interface provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of a relay request message being carried on a physical side link broadcast channel.
- FIG. 10 is a schematic diagram of a relay request message being carried on a physical side link broadcast channel.
- FIG. 11 is a schematic flowchart of a communication method provided by an embodiment of the present application.
- FIG. 12 is a schematic sequence diagram of a relay terminal monitoring a relay demand message.
- FIG. 13 is a schematic time sequence diagram of a relay terminal monitoring a relay demand message.
- FIG. 14 is a schematic time sequence diagram of a relay terminal monitoring a relay demand message.
- FIG. 15 is a schematic time sequence diagram of a relay terminal driving the first communication module and the second communication module.
- FIG. 16 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
- FIG. 17 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
- FIG. 18 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
- At least one means one or more, and “plurality” means two or more.
- And/or which describes the association relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural.
- the character “/” generally indicates that the associated objects are an “or” relationship.
- “At least one of the following” or similar expressions refers to any combination of these items, including any combination of a single item(s) or a plurality of items(s).
- At least one (a) of a, b or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c may be single or multiple.
- words such as “first” and “second” do not limit the number and execution order.
- words such as "301", “402", “503” and the like are only marks made for convenience of description, and do not limit the order of execution steps.
- GSM global system for mobile communications
- CDMA code division multiple access
- WCDMA wideband code division multiple access
- general packet radio service general packet radio service
- GPRS general packet radio service
- long term evolution long term evolution
- LTE long term evolution
- LTE frequency division duplex frequency division duplex
- TDD time division duplex
- UMTS universal mobile telecommunication system
- WiMAX worldwide interoperability for microwave access
- the embodiments of the present application are all applicable.
- the system architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application.
- the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
- the solutions of the embodiments of the present application can be applied to device-to-device communication (Device-to-Device, D2D) and the Internet of Vehicles (that is, vehicle-to-everything (V2X) communication).
- D2D Device-to-device communication
- V2X vehicle-to-everything
- D2D communication may refer to direct communication between multiple terminal devices within a certain distance.
- Mode one can be centralized control.
- D2D resources can be allocated by the network device, and the resources are allocated to the sending end terminal device for use by means of scheduling.
- Mode 2 may be a contention-based distributed resource multiplexing method.
- the sender terminal device can obtain the sending resource from the resource pool in a competitive manner.
- the resource pool is a whole block of resources divided by the network equipment, and the terminal equipment at the sending end can compete for resources in the whole block of resources.
- FIG. 2 shows an architecture diagram of a D2D network system.
- V2X is a key technology for future intelligent transportation systems.
- V2X communications may include vehicle-to-vehicle (V2V) communications, vehicle-to-infrastructure (V2I) communications, vehicle-to-pedestrian (V2P) communications, and vehicle-to-network (V2N) communications ) communication and other communication methods, as shown in Figure 1.
- V2V vehicle-to-vehicle
- V2I vehicle-to-infrastructure
- V2P vehicle-to-pedestrian
- V2N vehicle-to-network
- the vehicle can broadcast information such as its own speed, driving direction, specific location, and whether the emergency brake is applied to surrounding vehicles.
- information such as its own speed, driving direction, specific location, and whether the emergency brake is applied to surrounding vehicles.
- roadside infrastructure such as roadside unit (RSU) can provide vehicles with various service information and data network access, such as parking charges, in-car entertainment, etc. These functions are greatly improved intelligent transportation.
- RSU roadside unit
- service information and data network access such as parking charges, in-car entertainment, etc.
- the terminal device carried by the user can communicate with the vehicle.
- the terminal equipment carried by the user may be, for example, UE (User Equipment, user equipment), MS (Mobile Station, mobile station), mobile terminal (Mobile Terminal), electronic label (V2X license plate, a license plate with V2X communication function) and the like.
- the terminal device carried by the user may be a wearable device, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a car computer, and the like.
- vehicles can communicate with networks such as access network devices, edge clouds, etc.
- the edge cloud can receive the basic data of the vehicle (such as the remaining fuel level, the current driving route, etc.), and then send a prompt message (such as the location of the nearby gas station) to the vehicle through cloud computing.
- both V2X and D2D can support direct-connected communication interface (PC5 interface) communication and cellular communication interface (Uu interface) communication.
- PC5 interface direct-connected communication interface
- Uu interface cellular communication interface
- the PC5 interface can be a reference point between two user equipment (UE), and can be used to complete signaling and data transmission on the control plane and user plane, proximity service discovery, direct communication, and network access relay to terminal equipment Function.
- UE user equipment
- the Uu interface may be an interface between the UE and the access network device.
- the access network device may be a base station in a Universal Mobile Telecommunications System (UMTS terrestrial radio access network, UTRAN), or a base station in a Universal Mobile Telecommunications system (UMTS), or a 4G network Evolved base station (evolutional node B, eNodeB or eNB) in 5G network, base station in 5G network (generation node B, gNodeB or gNB), or base station in subsequent evolution network, without limitation.
- UMTS terrestrial radio access network UTRAN
- UMTS Universal Mobile Telecommunications system
- 4G network Evolved base station evolutional node B, eNodeB or eNB
- 5G network generation node B, gNodeB or gNB
- base station in subsequent evolution network without limitation.
- the PC5 interface may be used for short-range direct communication or direct communication between UEs.
- the UE communicating through the PC5 interface may be located within the network coverage or may not have network coverage.
- the network may be a 4G communication network or a 5G communication network, which is not limited.
- the transmission distance of PC5 interface communication may be, for example, 50 to 300 meters, and the time delay requirement may be, for example, 100 ms (collision 20 ms).
- PC5 interface communication may include at least one of the following: unicast communication, multicast communication, and broadcast communication.
- the unicast communication mode of the PC5 interface may refer to the communication mode in which the server sends service data to a single UE, that is, a transmission mode in which the destination address is a single destination.
- the transmission between the V2X server and the target UE can be carried out through the unicast communication method of the PC5 interface.
- the multicast communication mode of the PC5 interface may refer to a communication mode in which the server sends service data to at least two UEs, that is, a transmission mode in which the destination address is at least two UEs in the network.
- the at least two UEs mentioned here may refer to UEs in one area, and the at least two UEs may be divided into multiple groups, and each group of UEs corresponds to an address.
- the transmission between the V2X server and the UEs in the area including the target UE can be carried out through the multicast communication mode of the PC5 interface.
- the broadcast communication mode of the PC5 interface may refer to the communication mode in which the server sends service data to all UEs.
- FIG. 3 shows a schematic structural diagram of the terminal device 100 .
- the embodiment will be specifically described below by taking the terminal device 100 as an example. It should be understood that the terminal device 100 shown in FIG. 3 is only an example, and the terminal device 100 may have more or less components than those shown in FIG. 3 , two or more components may be combined, or Different component configurations are possible.
- the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
- the terminal device 100 may be, for example, a mobile phone, a power bank, a portable computer, a tablet computer, an electronic reader, a notebook computer, a digital camera, a vehicle-mounted device, a wearable device, an earphone, a vehicle-mounted terminal, and other devices.
- the terminal device 100 may include: a processor 110, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, an antenna 3, Mobile communication module 150, wireless communication module 160, side link communication module 180, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, camera 193, display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
- a processor 110 an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, an antenna 3, Mobile communication module 150, wireless communication module 160, side link communication module 180, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, camera 193, display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface
- the terminal device 100 may include more or less components than those shown in the drawings, or combine some components, or separate some components, or arrange different components.
- the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
- the controller may be the nerve center and command center of the terminal device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 for storing instructions and data.
- the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
- the processor 110 may contain multiple sets of I2C buses. The processor 110 can be respectively coupled to the charger, flash, camera 193, etc. through different I2C bus interfaces.
- the I2S interface can be used for audio communication.
- the processor 110 may contain multiple sets of I2S buses.
- the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
- the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
- the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
- the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
- the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
- MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
- the processor 110 communicates with the camera 193 through the CSI interface, so as to realize the shooting function of the terminal device 100 .
- the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the terminal device 100 .
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, and the like.
- the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
- the USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other terminal devices, such as AR devices.
- the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the terminal device 100 .
- the terminal device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
- the charging management module 140 is used to receive charging input from the charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
- the charging management module 140 may receive wireless charging input through the wireless charging coil of the terminal device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to other terminal devices through the power management module 141 .
- the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
- the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
- the power management module 141 may also be provided in the processor 110 .
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the terminal device 100 can be implemented by antenna 1, antenna 2, antenna 3, mobile communication module 150, wireless communication module 160, side link communication module 180, modem processor and baseband processor.
- Antenna 1, Antenna 2 and Antenna 3 are used to transmit and receive electromagnetic wave signals.
- Each antenna in terminal device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- antenna 1 may be multiplexed as a diversity antenna for side-link communication or wireless local area network; for another example, antenna 2 may be multiplexed as a diversity antenna for side-link communication or cellular communication.
- the antenna may be used in conjunction with a tuning switch.
- the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the terminal device 100 .
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
- the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
- the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
- the modem processor may be a stand-alone device.
- the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the terminal device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
- WLAN wireless local area networks
- BT Bluetooth
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication
- IR infrared technology
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
- the side link communication module 180 may provide a solution for side link communication including 4G side link, 5G side link, etc. applied on the terminal device 100 .
- the side link communication module 180 may be one or more devices integrating at least one communication processing module.
- the side link communication module 180 receives electromagnetic waves via the antenna 3 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the side link communication module 180 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify the signal, and then convert it into an electromagnetic wave for radiation through the antenna 3 .
- the side link communication module 180 may also be referred to as a no-network communication module, an auxiliary communication module, an auxiliary network communication module, a relay communication module, and an end-to-end communication module.
- a no-network communication module an auxiliary communication module
- an auxiliary network communication module an auxiliary network communication module
- a relay communication module an end-to-end communication module.
- end-to-end communication module takes the side link communication module as an example.
- the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, the antenna 2 is coupled to the wireless communication module 160, and the antenna 3 of the terminal device 100 is coupled to the side link communication module 180, so that the terminal device 100 can communicate via wireless Communication technology communicates with networks and other devices.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation (5th generation, 5G), new radio (NR), 6th generation (6G), device-to-device (D2D), vehicle-to-everything (V2X), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
- GSM global system for mobile communications
- GPRS general packet radio service
- CDMA code division multiple access
- WCDMA broadband Code division multiple access
- WCDMA wideband code division multiple access
- time division code division multiple access time-division code division multiple access
- TD-SCDMA time-division code division multiple access
- LTE long term evolution
- 5G fifth generation
- 5G new radio
- 6G device
- the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
- global positioning system global positioning system, GPS
- global navigation satellite system global navigation satellite system, GLONASS
- Beidou navigation satellite system beidou navigation satellite system, BDS
- quasi-zenith satellite system quadsi -zenith satellite system, QZSS
- SBAS satellite based augmentation systems
- Antennas can be multiplexed by multiple communication modules.
- at least two communication modules of the mobile communication module 150, the wireless communication module 160, and the sidelink communication module 180 may be coupled with the same antenna.
- the mobile communication module 150, the wireless communication module 160, and the side-link communication module 180 are all coupled with the antenna 4 (not shown in FIG. 3).
- both the mobile communication module 150 and the side link communication module 180 are coupled with the antenna 5 (not shown in FIG. 3 ), and the wireless communication module 160 is coupled with the antenna 6 (not shown in FIG. 3 ).
- the mobile communication module 150 is coupled to the antenna 7 (not shown in FIG. 3 ), and the wireless communication module 160 and the side link communication module 180 are both coupled to the antenna 8 (not shown in FIG. 3 ).
- the mobile communication module 150, the wireless communication module 160, and the side link communication module 180 may use different wireless communication technologies respectively.
- the mobile communication module 150 may use communication technologies such as 2G, 3G, 4G, LTE, 5G, 6G, etc.
- the wireless communication module 160 may use communication technologies such as BT, GNSS, WLAN, NFC, FM, IR, etc.
- the side link communication module 180 may Use communication technologies such as 4G side links and 5G side links.
- the terminal device may include a baseband chip, and the baseband chip may include a mobile communication modem, a wireless communication modem, and a side link communication module corresponding to the mobile communication module 150 , the wireless communication module 160 , and the side link communication module 180 in one-to-one correspondence. modem.
- the mobile communication modem may include multiple protocol stacks corresponding to 2G, 3G, 4G, LTE, 5G, 6G, so that the mobile communication modem can be used for 2G, 3G, 4G, LTE, 5G, 6G communication.
- the wireless communication modem may include, for example, multiple protocol stacks corresponding to BT, GNSS, WLAN, NFC, FM, IR one-to-one, so that the wireless communication modem can be used for BT, GNSS, WLAN, NFC, FM, IR communication.
- the side link communication modem may include multiple protocol stacks corresponding to the 4G side link and the 5G side link, so that the side link communication modem can be used for 4G side link and 5G side link communication.
- the first part of the mobile communication module 150 , the wireless communication module 160 , and the side link communication module 180 is integrated in the baseband chip 1
- the second part is integrated in the baseband chip 2 .
- the hardware implementation manner of the communication module in this embodiment of the present application may not be limited.
- the terminal device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
- the GPU is a microprocessor for image processing, and connects the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
- Display screen 194 is used to display images, videos, and the like.
- Display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
- LCD liquid crystal display
- OLED organic light-emitting diode
- active-matrix organic light-emitting diode active-matrix organic light-emitting diode
- the terminal device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
- the terminal device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
- the ISP is used to process the data fed back by the camera 193 .
- the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
- ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
- ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be provided in the camera 193 .
- Camera 193 is used to capture still images or video.
- the object is projected through the lens to generate an optical image onto the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
- the terminal device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
- a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, and the like.
- Video codecs are used to compress or decompress digital video.
- the terminal device 100 may support one or more video codecs.
- the terminal device 100 can play or record videos in various encoding formats, for example, moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
- MPEG moving picture experts group
- the NPU is a neural-network (NN) computing processor.
- NN neural-network
- Applications such as intelligent cognition of the terminal device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
- Internal memory 121 may be used to store computer executable program code, which includes instructions.
- the processor 110 executes various functional applications and data processing of the terminal device 100 by executing the instructions stored in the internal memory 121 .
- the internal memory 121 may include a storage program area and a storage data area.
- the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
- the storage data area may store data (such as audio data, phone book, etc.) created during the use of the terminal device 100 and the like.
- the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
- the terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
- the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
- Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
- the terminal device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
- the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
- the terminal device 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.
- the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
- the terminal device 100 may be provided with at least one microphone 170C.
- the terminal device 100 may be provided with two microphones 170C, which may implement a noise reduction function in addition to collecting sound signals.
- the terminal device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
- the earphone jack 170D is used to connect wired earphones.
- the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA
- the SIM card interface 195 is used to connect a SIM card.
- the SIM card can be contacted and separated from the terminal device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
- the terminal device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
- the SIM card interface 195 can also be compatible with different types of SIM cards.
- the SIM card interface 195 is also compatible with external memory cards.
- the terminal device 100 interacts with the network through the SIM card to realize functions such as calls and data communication.
- the terminal device 100 adopts an embedded SIM card (embedded-SIM, eSIM).
- the eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100 .
- FIG. 4 shows a networkless communication scenario provided by an embodiment of the present application.
- the networkless communication scenario may include a network device, at least one terminal device 1 , and at least one terminal device 2 .
- the terminal device 1 can receive the signal of the network device, and the terminal device 1 is a terminal device within the coverage of the network.
- the terminal device 2 cannot receive the signal of the network device, and the terminal device 2 does not belong to the terminal device covered by the network.
- the terminal device 2 can receive the signal of the terminal device 1 , that is, the terminal device 2 can directly interact with the terminal device 1 .
- An embodiment of the present application provides a communication system, where the communication system may include a network device, a relay terminal, and a remote terminal.
- the network device can interact with the relay terminal, and the network device can interact with the remote terminal through the relay terminal.
- the remote terminal can interact with the relay terminal, and the remote terminal can interact with the network device through the relay terminal.
- the relay terminal can interact with both the network device and the remote terminal, and the relay terminal can provide relay services between the remote terminal and the network device.
- the terminal device may act only as a relay terminal or only as a remote terminal. In other examples, the terminal device can act as both a relay terminal and a remote terminal; that is, the terminal device can provide relay services for other terminal devices, and can also be provided by other terminal devices with relay services.
- the communication system provided in this embodiment of the present application may be applied to the networkless communication scenario shown in FIG. 4 .
- the network device may correspond to, for example, the network device shown in FIG. 4
- the relay terminal may, for example, correspond to the terminal device 1 shown in FIG. 4
- the remote terminal may, for example, correspond to the terminal device shown in FIG. 4 . 2.
- the remote terminal is usually unable to directly communicate with the network device, or at least one direct communication method between the remote terminal and the network device is relatively difficult.
- the SIM card interface of the remote terminal is not properly connected with the SIM card.
- the communication quality between the remote terminal and the network device is relatively poor (eg, the detected signal strength from the network device is relatively weak).
- a certain communication service such as a data transmission service
- a certain communication function eg, cellular data function, wireless communication function, etc.
- the remote terminal is turned off or restricted (eg, the remote terminal fails to search for a suitable hotspot device).
- the communication balance of the remote terminal is insufficient.
- the remote terminal may not be able to interact with the network device through the mobile communication module and the wireless communication module.
- the relay terminal can usually communicate directly with the network device.
- the SIM card interface of the relay terminal is correctly connected with the SIM card.
- the communication quality between the relay terminal and the network device is relatively good (for example, it is detected that the signal strength from the network device is relatively strong).
- a certain communication service (such as a data transmission service) of the relay terminal has been activated and can be used.
- the authority of a certain communication service (such as a data transmission service) of the remote terminal has been granted.
- the relay terminal has sufficient communication balance.
- the remote terminal can send a message to the network device through the relay terminal, and the message can be forwarded to the network device via the relay terminal.
- the network device may send a message to the remote terminal through the relay terminal, and the message may be forwarded to the remote terminal via the relay terminal.
- any terminal device shown in FIG. 4 can interact with the network device.
- FIG. 5 is a schematic flowchart of a communication method 500 provided by an embodiment of the present application.
- the remote terminal may send a relay request message.
- the relay terminal may receive the relay demand message from the remote terminal.
- the remote terminal can broadcast the relay request message or send the relay request message to one or more designated relay terminals.
- the remote terminal may send the relay demand message through the side link communication module 180 .
- the side link communication module 180 may be used for communication between the remote terminal and the relay terminal.
- the relay-requirement message may include a relay-requirement identifier, which may indicate a category of the message, for example, may be used to indicate that the remote terminal needs to be provided with relay services. That is, the relay requirement identifier can be used to indicate that the remote terminal needs other terminals to act as relay terminals, wherein the relay terminal can be used to forward the message from the remote terminal to the network device, and/or, and the relay terminal Terminals may be used to forward messages from network devices to remote terminals.
- a relay-requirement identifier may indicate a category of the message, for example, may be used to indicate that the remote terminal needs to be provided with relay services. That is, the relay requirement identifier can be used to indicate that the remote terminal needs other terminals to act as relay terminals, wherein the relay terminal can be used to forward the message from the remote terminal to the network device, and/or, and the relay terminal Terminals may be used to forward messages from network devices to remote terminals.
- the method before the remote terminal broadcasts the relay requirement message, the method further includes:
- the remote terminal determines that a target message is sent to the network device through the relay terminal, and the target message corresponds to the target communication service.
- the remote terminal can determine that there is a communication requirement, and determine that the communication requirement can be achieved through the relay terminal.
- the remote terminal can then broadcast a relay request message to find a suitable relay terminal. Then, the relay terminal forwards the target message of the remote terminal to the network device.
- the target communication service may include, for example, a high-definition voice call service (such as voice over long-term evolution (VOLTE)), a high-definition video call service, an Internet voice call service, an Internet video call service, a two-dimensional code service, payment Business, SOS business, phone bill recharge business, SMS business, application notification business, etc.
- the high-definition voice call service and the high-definition video call service may be, for example, services based on a session initiation protocol (Session Initiation Protocol, SIP).
- SIP Session Initiation Protocol
- the network voice call service and the network video call service may be services based on a user datagram protocol (user data protocol, UDP).
- the target communication service is a high-definition voice call service.
- the target message corresponding to the high-definition voice call service may include, for example, at least one of the following: a voice call request message, a feedback message for a voice call request, a voice call confirmation message, a feedback message for a voice call confirmation, and a voice call data package.
- the target communication service is a high-definition video call service.
- the target message corresponding to the HD voice call service may include, for example, at least one of the following: a video call request message, a feedback message for a video call request, a video call confirmation message, a feedback message for a video call confirmation, and a video call data package.
- the target communication service is a voice VoIP service.
- the target message corresponding to the voice VoIP service may include, for example, at least one of the following: an VoIP paging message, a feedback message for VoIP paging, an VoIP data packet, and the like.
- the target communication service is a video network calling service.
- the target message corresponding to the voice network call service may include, for example, at least one of the following: a network video paging message, a feedback message for network video paging, a network video data packet, and the like.
- the target communication service is a two-dimensional code service.
- the two-dimensional code service may further include, for example, a scan code to log in to an account, a scan code to add a friend service, a two-dimensional code payment service, and the like.
- the target message corresponding to the two-dimensional code service may include, for example, at least one of the following: a message including two-dimensional code information, a message including a two-dimensional code compilation result, and the like.
- the target communication service is a payment service.
- the payment service may further include, for example, a phone bill recharge service, an NFC card recharge service, a two-dimensional code payment service, and the like.
- the target message corresponding to the payment service may include, for example, at least one of the following: a payment confirmation message (such as SEL_REQ), a payment confirmation feedback message (such as SEL_RES), NEG_REQ, a payment channel establishment message (such as NEG_REQ), a payment channel establishment feedback message (such as NEG_RES), transaction process messages (such as TRANS_REQ), transaction process feedback messages (such as TRANS_RES), etc.
- the target communication service is a distress service.
- the target message corresponding to the distress service may include, for example, at least one of the following: a message for calling "110”, a message for calling "120”, a message for calling "119”, and the like.
- the target communication service is a short message service.
- the target message corresponding to the short message service may include, for example, a message requesting a verification code, and a message containing the verification code.
- the target communication service is an application notification service.
- the target message corresponding to the application notification service may include, for example, notification messages of the application (eg, email notification, message notification, etc.).
- the relay requirement message includes a first service identifier corresponding to the target communication service.
- the remote terminal may request the relay terminal to provide the remote terminal with a relay service related to the target communication service through the first service identifier.
- the relay terminal receives the relay demand message, it can determine, according to the first service identifier, that the remote terminal makes a relay request based on the service related to the target communication service, and obtain (such as estimate, read, receive, etc.) Information related to the target communication service, such as the traffic occupied by the target message. Further, the relay terminal can confirm whether to agree to provide the relay service for the remote terminal.
- the first service identifier may, for example, uniquely identify the target communication service.
- the service identifier of the high-definition voice call service may be, for example, 01.
- the service identifier of the high-definition video call service may be, for example, 02.
- the service identifier of the VoIP call service may be 03, for example.
- the service identifier of the network video call service may be, for example, 04.
- the service identifier of the two-dimensional code service may be, for example, 05.
- the service identifier of the payment service may be 06, for example.
- the service identifier of the SOS service may be, for example, 07.
- the service identifier of the phone bill recharging service may be, for example, 08.
- the service identifier of the short message service may be, for example, 09.
- the service identifier of the application notification service may be 10, for example. It should be understood that the embodiment of the present application may not limit the specific value of the first service identifier.
- the relay terminal may determine to provide a relay service for the remote terminal for the target communication service by acquiring the first service identifier. That is, the relay terminal can forward the target message corresponding to the target communication service between the remote terminal and the network device, and the relay terminal can skip or discard messages related to other services, that is, the relay terminal can Messages related to other businesses are not forwarded.
- the relay requirement message includes multiple service identifiers; before the relay terminal forwards the message between the remote terminal and the network device, the method further includes: the relay terminal sends the message to the network device.
- the remote terminal sends a service identifier confirmation message, the service identifier confirmation message includes the first part of the service identifiers in the multiple service identifiers; the relay terminal forwards the message between the remote terminal and the network device, including: the The relay terminal forwards the message corresponding to the first part of the service identifier between the remote terminal and the network device, and discards the message corresponding to the second part of the service identifier, where the second part of the service identifier includes the multiple services The remaining service identifiers in the identifier except the first part of the service identifier, where the first part of the service identifier includes the first service identifier.
- the relay requirement message includes multiple service identifiers; before the remote terminal interacts with the network device through the relay terminal, the method further includes: the remote terminal from the relay terminal The terminal receives a service identifier confirmation message, where the service identifier confirmation message includes the first part of the service identifiers in the plurality of service identifiers, and the service identifier confirmation message is used to indicate that the communication service corresponding to the first part of the service identifier is Following the terminal permission, the first part of the service identifier includes the first service identifier.
- the remote terminal can request the relay terminal to provide relay services for various communication services.
- the relay terminal may provide relay services for some of the multiple communication services.
- the relay terminal may send a message indicating the part of the communication service to the remote terminal.
- the remote terminal can continue to search for a suitable relay terminal for the remaining other communication services.
- the first service identifier may be used, for example, to indicate the priority of the target communication service.
- the priority of the application service may include, for example, a first priority and a second priority, the first priority is higher than the second priority, the first priority corresponds to one or more communication services of the first type, and the second priority corresponds to one or multiple second-class communication services.
- the first service identifier For example, if the first service identifier is 0, it indicates that the target communication service belongs to the first type of communication service, and the priority of the target communication service is the first priority. If the first service identifier is 1, it indicates that the target communication service belongs to the second type of communication service, and the priority of the target communication service is the second priority.
- the priority of the communication service may be reflected in terms of the urgency of the service, the type of data volume, the size of the data volume, and the time delay.
- the order of communication services from urgent to not urgent can be, for example, the order of: SOS service, phone bill recharge service, payment service, QR code service, HD voice call service, VoIP call service, SMS service, and application notification business, high-definition video call business, network video call business, etc.
- the order of communication services from small data volume to large data volume can be, for example, in order: SOS service, QR code service, payment service, phone bill recharge service, application notification service, short message service, and VoIP call service. , high-definition voice call service, network video call service, high-definition video call service, etc.
- distress service may not use data traffic, two-dimensional code service, payment service, call charge recharge service, application notification service, and VoIP call service.
- the network video call service usually needs to use data traffic, etc.
- the order of communication services from the largest delay sensitivity to the smallest delay sensitivity can be, for example, the order of: SOS service, QR code service, payment service, high-definition voice call service, VoIP call service, and high-definition video.
- Call service online video call service, SMS service, application notification service, call charge recharge service, etc.
- the embodiment of the present application provides a possible priority arrangement of communication services, as shown in Table 1.
- the service identifier can use, for example, a data volume of 1 bit.
- the embodiment of the present application provides another possible priority arrangement of communication services, as shown in Table 2.
- the service identifier can use a data volume of 2 bits.
- the priority of communication traffic may be specified by the user. That is, the user can adjust the priority of the communication service.
- the priority of the communication service may be different from the quality of service (quality of service, QoS). In the case of limited traffic, communication services with better quality can be provided in a targeted manner through QoS.
- the priority of the communication service may reflect the service message preferably forwarded by the relay terminal. Different relay terminals may have different preferred communication services.
- different communication services can be applied to different human-computer interaction scenarios, such as rescue scenarios, phone bill recharge scenarios, payment scenarios, and QR code scanning scenarios. That is, specific human-computer interaction scenarios can be associated with specific business types. Therefore, the priority of the communication service can also reflect which kind of human-computer interaction scenario the relay terminal prefers to provide the relay service to.
- the method further includes: the remote terminal determines that the remote terminal is currently in a scenario of no network communication.
- the remote terminal may not be able to use the mobile communication module 150 or the wireless communication module 160 to realize the sending and receiving of target messages.
- the remote terminal can search for the relay terminal through the relay demand message, and establish a side link communication connection with the relay terminal.
- the remote terminal may have a networkless communication function.
- the networkless communication function may refer to that when the remote terminal is in the networkless communication scenario shown in FIG. 4 , the remote terminal has the ability to interact with the relay terminal. To indirectly realize the function of interacting with network devices. It can be known from FIG. 3 that, for example, the remote terminal can implement the networkless communication function through the side link communication module 180 .
- the non-network communication function may also be referred to as a side link communication function, a remote communication function, or the like.
- the remote terminal judging that the remote terminal is currently in a no-network communication scenario includes: the remote terminal judging that the remote terminal is currently in a no-network communication scenario according to at least one of the following: a SIM of the remote terminal The status of the card interface, the usage of the communication package (or the telephone bill) of the remote terminal, the communication status between the remote terminal and the network device, the status of the mobile data function of the remote terminal, the status of the remote terminal The status of the wireless local area network (WLAN) function, the status of the Bluetooth function of the remote terminal.
- WLAN wireless local area network
- an embodiment of the present application provides a relay terminal, and the relay terminal may have a network-free communication function.
- the relay terminal has the function of forwarding messages between the remote terminal and the network device, so as to realize the interaction between the remote terminal and the network device.
- the relay terminal can implement the networkless communication function through the side link communication module 180 .
- the non-network communication function can also be referred to as a side link communication function and a relay communication function.
- the relay requirement message may carry the terminal identifier of the remote terminal, and the relay terminal may report the terminal identifier of the remote terminal to the network device.
- the network device may feed back communication connection information to the relay terminal, the communication connection information may indicate whether a communication connection is established between the remote terminal and the network device, and then the relay terminal may determine whether the remote terminal is currently in a network-free communication scenario.
- the relay requirement message may carry a no-network communication identifier, and the no-network communication identifier may indicate that the remote terminal is currently in a no-network communication scenario.
- the relay terminal can determine that the remote terminal is currently in a no-network communication scenario according to the no-network communication identifier.
- the remote terminal can be implemented, for example, by the side link communication module 180 shown in FIG. 3 .
- the auxiliary communication function of the remote terminal may refer to that, when the remote terminal is in the network communication scenario, the remote terminal has the function of interacting with the relay terminal to indirectly realize the interaction with the network device.
- the auxiliary communication function may also be referred to as a side link communication function, a remote communication function, an auxiliary network function, or the like.
- the relay terminal may, for example, implement an auxiliary communication function through the side link communication module 180 shown in FIG. 3 .
- the auxiliary communication function of the relay terminal may refer to that when other (remote) terminals are in the network communication scenario, the relay terminal has the ability to forward messages between the other terminal and the network device, so as to realize the communication between the other terminal and the network device. interactive function.
- the auxiliary communication function may also be referred to as a side link communication function, a relay communication function, an auxiliary network function, and the like.
- FIG. 6 to FIG. 8 are multiple user interfaces provided by the embodiments of the present application.
- the various user interfaces shown in FIGS. 6-8 may be displayed on the display screen 194 shown in FIG. 3 .
- the user can adjust the communication parameters (eg side link communication parameters) with the terminal device by manipulating the multiple user interfaces shown in FIG. 6 to FIG. 8 .
- the user interface may include a no-network communication function control 610 .
- the user interface shown in FIG. 7 or FIG. 8 can be entered by performing a user gesture (such as a click operation) on the control 610 with no network communication function.
- the user interface may include a switch control 620 without network communication.
- the side link communication module 180 of the remote terminal may be in a state of power-off or off, sleep, idle, etc., for example.
- the switch control 620 without network communication is turned on, with reference to FIG. 3
- the side-link communication module of the remote terminal may be in an ON state (for example, it may also be called an awake state, a connected state, etc.) or a periodic ON state, for example (It can also be called the breathing state, for example).
- the side link communication module 180 of a terminal may be in a network communication scenario. On state or periodically on state. In the case that the switch control 620 without network communication is turned on, with reference to FIG. 3 , the side link communication module 180 of a terminal (such as a remote terminal, a relay terminal) may be turned on or periodically turned on only in a scenario without network communication state.
- the user interface may include a switch control 630 of the remote terminal and a switch control 640 of the relay terminal.
- the terminal device when the switch control 630 of the remote terminal is turned on, the terminal device can play the role of the remote terminal, that is, the terminal device can accept relay services provided by other relay terminals. From the above, it can be known that when the switch control 630 of the remote terminal is turned on, the remote terminal can execute the execution steps on the remote terminal side of the communication method 500 shown in FIG. 5 .
- the terminal device may not play the role of the remote terminal, that is, the terminal device may not accept relay services provided by other relay terminals. It can be known from the above that in the case that the switch control 630 of the remote terminal is turned off, the terminal device may not execute the execution steps on the remote terminal side of the communication method 500 shown in FIG. 5 .
- the terminal device may not play the role of the relay terminal, that is, the terminal device may not provide relay services for other remote terminals.
- the terminal device may not perform the execution steps on the relay terminal side of the communication method 500 shown in FIG. 5 .
- the terminal device when the switch control 640 of the relay terminal is turned on, the terminal device can act as a relay terminal, that is, the terminal device can provide relay services for other remote terminals.
- the relay terminal when the switch control 640 of the relay terminal is turned on, the relay terminal can execute the execution steps on the relay terminal side of the communication method 500 shown in FIG. 5 .
- the switch control 630 of the remote terminal and the switch control 640 of the relay terminal may be independent of each other.
- the terminal device can play the role of the remote terminal in the communication system shown in FIG. 4, but not the role of the relay terminal , that is, the terminal device can accept relay services provided by other relay terminals, but not relay services provided by other remote terminals. That is, the terminal equipment may belong to the remote terminals of other relay terminals, and not belong to the relay terminals of other remote terminals.
- the terminal device can play the role of the relay terminal in the communication system shown in FIG. 4, but not the role of the remote terminal , that is, the terminal device may not accept relay services provided by other relay terminals, but may provide relay services for other remote terminals. That is to say, the terminal device may belong to the relay terminals of other remote terminals, and not belong to the remote terminals of other relay terminals.
- the terminal device can play the role of both the remote terminal and the relay terminal in the communication system shown in FIG. 4 . , that is, the terminal device can not only accept relay services provided by other relay terminals, but also relay services provided by other remote terminals. That is to say, the terminal device may belong to both the relay terminals of other remote terminals and the remote terminals of other relay terminals.
- the terminal device may neither play the role of the remote terminal nor the relay terminal in the communication system shown in FIG. 4 . , that is, the terminal device can neither accept the relay services provided by other relay terminals, nor the relay services provided by other remote terminals. That is to say, the terminal device may neither belong to the relay terminals of other remote terminals, nor belong to the remote terminals of other relay terminals.
- the terminal device may belong to the remote terminals of other relay terminals, but not the relay terminals of other remote terminals; or, the terminal device may belong to the relay terminals of other remote terminals, but not the remote terminals of other relay terminals. terminal.
- the switch control 620 without network communication may be a general switch control for the remote terminal function and the relay terminal function. That is, when the switch control 620 without network communication is turned off, the switch control 630 of the remote terminal and the switch control 640 of the relay terminal may both be turned off. In the case that the switch control 620 for no network communication is turned on, at least one of the switch control 630 of the remote terminal and the switch control 640 of the relay terminal may be in an on state.
- the switch control 630 of the remote terminal is turned on by default.
- the user selects whether to turn on the switch control 630 of the remote terminal and the switch control 640 of the relay terminal by manipulating the user interface.
- the networkless communication switch can be used to turn on or off the side link communication module 180 shown in FIG. 3 , for example.
- the switch control 630 of the remote terminal can be used, for example, to turn on or off a communication function related to the remote terminal.
- the switch control 640 of the relay terminal can be used, for example, to turn on or turn off the communication function related to the relay terminal.
- the switch control 620 without network communication, the switch control 630 of the remote terminal, and the switch control 640 of the relay terminal may be independent of each other. That is, the no-network communication switch can be used to turn on or off a communication function related to a scenario of no-network communication.
- the switch control 630 of the remote terminal may be used to enable or disable the communication function related to the remote terminal in a scenario with or without network communication.
- the switch control 640 of the relay terminal may be used to enable or disable the communication function related to the relay terminal in a scenario with or without network communication.
- the user interface may include a switch control 630 of a remote terminal, a switch control 640 of a relay terminal, and a switch control 620 without network communication.
- the user interface may include one or more of switch controls 630 for remote terminals, switch controls 640 for relay terminals, switch controls 620 without network communication.
- the user interface may further include at least one communication parameter of the remote terminal.
- the at least one communication parameter of the remote terminal may include, for example, at least one of the following: power consumption mode, single time limit, default open period, service whitelist, service blacklist, relay terminal whitelist, and relay terminal blacklist.
- the power consumption mode of the remote terminal may include, for example, a power saving mode and a high performance mode.
- the power saving mode the power consumed for the communication function of the remote terminal per unit time is relatively small, and in the high performance mode, the power consumed for the communication function of the remote terminal per unit time is relatively large.
- Period 1 may be, for example, 40ms, 160ms, 512ms, 1.28s, 2.56s, etc.
- period 2 may be, for example, 2ms, 3ms, 10ms, 20ms, 40ms, 80ms, and so on.
- the remote terminal detects the message from the relay terminal in the frequency band 1; in the high-performance mode, the remote terminal detects the message from the relay terminal in the frequency band 2, and the bandwidth of the frequency band 1 is smaller than that of the frequency band 2. bandwidth.
- band 1 includes the 4G band
- band 2 includes the 4G band and the 2.4Ghz band.
- the remote terminal in the power saving mode, sends messages corresponding to the first type of services (such as high-priority services in Table 1 and Table 2, or services in the service whitelist) to the relay terminal, and does not Messages corresponding to the second type of services (such as the low-priority services in Table 1 and Table 2, or the services in the service blacklist), the services included in the first type of services do not belong to the second type of services, and the second type of services include The service does not belong to the first type of service; in the high-performance mode, the remote terminal sends both the message corresponding to the first type of service and the message corresponding to the second type of service to the relay terminal.
- the first type of services such as high-priority services in Table 1 and Table 2, or services in the service whitelist
- the second type of services such as the low-priority services in Table 1 and Table 2, or the services in the service blacklist
- the single duration limit of the remote terminal may refer to, for example, the single duration of the terminal device acting as the remote terminal.
- the single duration limit may refer to, for example, the single activation duration of the side link communication module 180 shown in FIG. 3 .
- the time limit for a single time can be, for example, 1 hour, 6 hours, 12 hours, 24 hours, and the like.
- the default on-time period of the remote terminal may, for example, indicate the start time and end time of the terminal device acting as the remote terminal.
- the default turn-on period may refer to, for example, the start time and the end time when the side link communication module 180 shown in FIG. 3 is turned on.
- the default opening period may be, for example, 8:00-20:00, 9:00-17:00, and the like.
- the service whitelist of the remote terminal may include, for example, the identifiers of one or more services.
- One or more services in the service whitelist may be referred to as whitelisted services. Setting a service whitelist is beneficial to control the functions of remote terminals in various application scenarios. For example, the remote terminal may only send messages related to the whitelist service, or give feedback only for the messages related to the whitelist service.
- the service blacklist of the remote terminal may include, for example, the identifiers of one or more services.
- One or more services in the service blacklist may be referred to as blacklisted services. Setting a service blacklist is beneficial to control the functions of remote terminals in various application scenarios. For example, the remote terminal may not send or skip messages related to the blacklist service.
- the remote terminal can control the side link communication module 180 shown in FIG. 3 to interact with the relay terminal according to one of the service whitelist of the remote terminal and the service blacklist of the remote terminal.
- the relay terminal whitelist may include, for example, the identifiers of one or more terminal devices that once provided relay services for the terminal device, and the one or more terminal devices may belong to trusted relay terminals or high-interaction performance relays Terminals (the communication quality between the high interactive performance relay terminal and the remote terminal can be relatively good, such as short delay, low packet loss rate, low transmission power, etc.).
- the terminal devices in the whitelist of relay terminals may be referred to as whitelist relay terminals, for example, and other terminal devices outside the whitelist of relay terminals may be referred to as non-whitelist relay terminals (or non-whitelist relay terminals, for example). ordinary relay terminal). Setting the relay terminal whitelist is beneficial to improve the signaling security and signaling interaction performance of the remote terminal.
- the remote terminal may send a message to the whitelisted relay terminal, and give feedback on the message of the whitelisted relay terminal. That is, the remote terminal may not send a message to the non-whitelisted relay terminal, and skip the message of the non-whitelisted relay terminal.
- the relay demand message may carry the identifier of the relay terminal 1, so that the relay terminal 1 can feedback the relay demand message, and other relay terminals except the relay terminal 1 can skip the relay demand news.
- the relay requirement message may carry a terminal whitelist identifier. The terminal whitelist identifier may be used to indicate that the terminal identifier carried in the relay requirement message comes from the terminal whitelist.
- the relay terminal blacklist may include, for example, the identifiers of one or more terminal devices that once provided relay services for the terminal device, and the one or more terminal devices may belong to the untrusted relay terminal or the low interactive performance.
- the relay terminal (the communication quality between the low interaction performance relay terminal and the remote terminal may be relatively poor, such as time extension, high packet loss rate, high transmission power, etc.).
- the terminal devices in the relay terminal blacklist may be referred to as blacklist relay terminals, for example, and other terminal devices outside the relay terminal blacklist may be referred to as non-blacklist relay terminals (or non-blacklist relay terminals, for example). ordinary relay terminal). Setting the relay terminal blacklist is beneficial to improve the signaling security and signaling interaction performance of the remote terminal.
- the remote terminal may not send a message to the blacklisted relay terminal, and skip the message of the blacklisted relay terminal. That is to say, the remote terminal can send a message to the non-blacklisted relay terminal, and give feedback on the message of the non-blacklisted relay terminal.
- the relay requirement message may carry the identifier of the relay terminal 2 and the terminal blacklist identifier, so that the second relay terminal can skip the relay requirement message, and other relay terminals except the relay terminal 2 can Feedback is given to the relay requirement message.
- the terminal blacklist identifier may be used to indicate that the identifier of the relay terminal 2 carried in the relay requirement message is from the terminal blacklist.
- relay terminal whitelist There may be no intersection between the relay terminal whitelist and the relay terminal blacklist, that is, a terminal is usually not in both the relay terminal whitelist and the relay terminal blacklist.
- the remote terminal can control the side link communication module 180 shown in FIG. 3 to interact according to one of the relay terminal whitelist and the relay terminal blacklist.
- the user interface may further include at least one communication parameter of the relay terminal.
- the at least one communication parameter of the relay terminal may include, for example, at least one of the following: power consumption mode, single-time duration limit, single-time traffic limit, default open period, service whitelist, service blacklist, remote terminal whitelist, remote terminal blacklist. list.
- the power consumption mode of the relay terminal may include, for example, a power saving mode and a high performance mode.
- the power saving mode the power consumed by the communication function of the relay terminal per unit time is relatively small
- the high performance mode the power consumed by the communication function of the relay terminal per unit time is relatively small. big.
- the period for the relay terminal to receive the relay demand message is period 3; in the high performance mode, the period for the relay terminal to receive the relay demand message is period 4, and period 3 is greater than period 4.
- Period 3 can be, for example, 40ms, 160ms, 512ms, 1.28s, 2.56s, etc.
- period 4 can be, for example, 10ms, 20ms, 40ms, 80ms, and so on.
- the relay terminal detects messages from remote terminals or network devices in frequency band 1; in high-performance mode, the relay terminal detects messages from remote terminals or network devices in the frequency band of frequency band 2 , the bandwidth of frequency band 1 is smaller than that of frequency band 2.
- band 1 includes the 4G band
- band 2 includes the 4G band and the 2.4Ghz band.
- the relay terminal in the power saving mode, sends a message corresponding to the first type of service (such as the high-priority service in Table 1 and Table 2, or the service in the service whitelist) to the remote terminal or network device, Do not send messages corresponding to the second type of service (such as the low-priority services in Table 1 and Table 2, or the services in the service blacklist), the services included in the first type of service do not belong to the second type of service, and the second type of service The services included in the class of services do not belong to the first class of services; in the high-performance mode, the relay terminal sends both messages corresponding to the first class of services and messages corresponding to the second class of services to the remote terminal or network device.
- the first type of service such as the high-priority service in Table 1 and Table 2, or the service in the service whitelist
- the second type of service such as the low-priority services in Table 1 and Table 2, or the services in the service blacklist
- the services included in the first type of service do not belong to the second type of
- the single duration limit of the relay terminal may refer to, for example, the single duration of the terminal device acting as the relay terminal.
- the single-time duration limit may refer to, for example, the single-on-time duration of the side link communication module 180 shown in FIG. 3 .
- the single turn-on duration can be, for example, 1 hour, 6 hours, 12 hours, 24 hours, and the like.
- the default turn-on period of the relay terminal may, for example, indicate the start time and the end time of the terminal device acting as the relay terminal.
- the default turn-on period may refer to, for example, the start time and the end time of turning on the side link communication module 180 shown in FIG. 3 .
- the default opening period may be, for example, 8:00-20:00, 9:00-17:00, and the like.
- the service whitelist of the relay terminal may include, for example, identifiers of one or more services.
- One or more services in the service whitelist may be referred to as whitelisted services. Setting a service whitelist is beneficial to control the functions of relay terminals in various application scenarios. For example, the relay terminal may only send messages related to the whitelist service, or only provide feedback for the messages related to the whitelist service.
- the service blacklist of the relay terminal may include, for example, identifiers of one or more services.
- One or more services in the service blacklist may be referred to as blacklisted services. Setting the service blacklist is beneficial to control the functions of the relay terminal in various application scenarios. For example, the relay terminal may not send or skip messages related to the blacklist service.
- the relay terminal can control the side link communication module 180 shown in FIG. 3 to interact with the remote terminal or the network device according to one of the service whitelist of the relay terminal and the service blacklist of the relay terminal.
- the remote terminal whitelist may include, for example, the identifiers of one or more terminal devices that have been provided with relay services by the relay terminal, and the one or more terminal devices may belong to trusted remote terminals or high-interaction performance remote terminals (The communication quality between the high interactive performance remote terminal and the relay terminal may be relatively good, such as short delay, low packet loss rate, low transmission power, etc.).
- the terminal devices in the remote terminal whitelist can be called whitelisted remote terminals, for example, and other terminal devices outside the remote terminal whitelist can be called non-whitelisted remote terminals (or ordinary remote terminals), for example. . Setting the remote terminal whitelist is beneficial to improve the signaling security and signaling interaction performance of the relay terminal.
- the relay terminal may forward messages of the whitelisted remote terminal between the whitelisted remote terminal and the network device. That is, the relay terminal can skip messages from non-whitelisted remote terminals.
- the relay requirement message may carry the identifier of the remote terminal, so that the relay terminal can determine whether the remote terminal is in the remote terminal whitelist. If yes, the remote terminal belongs to the whitelisted remote terminal, and the relay terminal can forward the message of the remote terminal between the remote terminal and the network device; if not, the remote terminal belongs to the non-whitelisted remote terminal, and the relay terminal Messages for this remote terminal can be skipped.
- the remote terminal blacklist may include, for example, the identification of one or more terminal devices that have been provided with relay services by the relay terminal, and the one or more terminal devices may belong to untrusted remote terminals or low interactive performance remote terminals (The communication quality between the low interactive performance remote terminal and the relay terminal may be relatively poor, such as time delay, high packet loss rate, high transmission power, etc.).
- the terminal devices in the remote terminal blacklist may be referred to as blacklisted remote terminals, for example, and other terminal devices outside the remote terminal blacklist may be referred to as non-blacklisted remote terminals (or ordinary remote terminals), for example. . Setting the remote terminal blacklist is beneficial to improve the signaling security and signaling interaction performance of the relay terminal.
- the relay terminal can skip blacklisting remote terminal messages. That is, the relay terminal can forward the message of the non-blacklisted remote terminal between the non-blacklisted remote terminal and the network device.
- the relay requirement message may carry the identifier of the remote terminal, so that the relay terminal can determine whether the remote terminal is in the remote terminal blacklist. If yes, the remote terminal belongs to the blacklisted remote terminal, and the relay terminal can skip the message of the remote terminal; if not, the remote terminal belongs to the non-blacklisted remote terminal, and the relay terminal can communicate with the network device between the remote terminal forward the messages of the remote terminal between them.
- the relay terminal can control the side link communication module 180 shown in FIG. 3 to interact according to one of the remote terminal whitelist and the remote terminal blacklist.
- FIG. 9 shows a possible example in which the relay requirement message is carried on a physical sidelink broadcast channel (PSBCH). This example can be applied to D2D scenes, for example.
- PSBCH physical sidelink broadcast channel
- the PSBCH channel message can occupy 6 resource blocks (RBs) in the frequency domain, and 14 symbols (symbols) in the time domain, for a total of 2 time slots, that is, a total of 1 ms.
- the first symbol can be used to carry automatic gain control (AGC).
- the second symbol and the third symbol can be used to carry the primary sidelink synchronization signal (PSSS).
- the fourth to eleventh symbols may be used to carry a sidelink master information block (SL-MIB).
- the fourth symbol and the eleventh symbol may be used to carry a demodulation reference signal (demodulation reference signal, DMRS).
- DMRS demodulation reference signal
- One possible field of the SL-MIB is shown in the code below. "reserved-r14" in SL-MIB can be used to carry relay request messages.
- the twelfth symbol and the thirteenth symbol may be used to carry a secondary sidelink synchronization signal (secondary sidelink synchronization signal, SSSS).
- the secondary side link synchronization signal may include a synchronization sequence identity (sidelink synchronizing sequence identity, SSID), and the value range of the SSID may be 0-335.
- the SSID of the remote terminal may range from 0 to 159; the SSID of the relay terminal may range from 160 to 335, for example.
- the fourteenth symbol is not used for data transmission and can be used for switching between uplink and downlink.
- FIG. 10 shows a possible example in which the relay requirement message is carried on a physical sidelink broadcast channel (PSBCH). This example can be applied to V2X scenarios, for example.
- PSBCH physical sidelink broadcast channel
- the PSBCH channel message can occupy 6 resource blocks (RBs) in the frequency domain, and 14 symbols (symbols) in the time domain, with a total of 2 time slots, that is, a total of 1ms.
- the first symbol can be used to carry automatic gain control (AGC).
- the second symbol and the third symbol can be used to carry the primary sidelink synchronization signal (PSSS).
- the fourth to eleventh symbols may be used to carry a sidelink master information block (SL-MIB).
- the fifth symbol, the seventh symbol, and the tenth symbol may be used to carry a demodulation reference signal (demodulation reference signal, DMRS).
- DMRS demodulation reference signal
- the "reserved-r14" in SL-MIB can be used to carry relay request messages.
- the twelfth symbol and the thirteenth symbol may be used to carry a secondary sidelink synchronization signal (secondary sidelink synchronization signal, SSSS).
- the secondary side link synchronization signal may include a synchronization sequence identity (sidelink synchronizing sequence identity, SSID), and the value range of the SSID may be 0-335.
- the SSID of the remote terminal may range from 0 to 159; the SSID of the relay terminal may range from 160 to 335, for example.
- the fourteenth symbol is not used for data transmission and can be used for switching between uplink and downlink.
- the relay requirement message may have other similar or different sending manners, which may not be limited in this embodiment of the present application.
- the relay requirement message may be carried on a physical sidelink share channel (PSSCH).
- PSSCH physical sidelink share channel
- the relay terminal establishes a side link communication connection with the remote terminal according to the relay demand message, where the side link communication connection is used to transmit data packets corresponding to the target communication service.
- the remote terminal establishes a side link communication connection with the relay terminal.
- the relay terminal establishes a side link communication connection with the remote terminal, which means that the relay terminal can perform data interaction with the remote terminal for the target communication service, and for the target communication service, the remote terminal can perform data interaction with the network device through the relay terminal. .
- the side link communication connection may be different from the wireless communication connection established through communication technologies such as WLAN and BT.
- the communication technology used by the side link communication connection may be different from the communication technology used by the wireless communication connection.
- the hotspot device will not distinguish the specific communication services of the terminal device without considering the firewall, and all data packets of the terminal device can be transmitted through the hotspot device. .
- Both the relay terminal and the remote terminal can adjust the communication services applied to the side link communication connection, that is, the relay terminal can provide relay services for individual communication services, and the remote terminal can request relay services for individual communication services.
- the terminal device before establishing a wireless communication connection, even if the terminal device can search for multiple hotspot devices, the terminal device still needs to select an appropriate hotspot device based on a user's gesture operation. Before establishing the side link communication connection, the remote terminal may not operate based on the user's gesture to select an appropriate relay terminal.
- the reason for this difference may be that the hotspot device usually does not have traffic restrictions, and even the main function of the hotspot device is to provide the terminal device with a low-cost or free data packet transmission channel.
- the establishment of the side link communication connection can be separated from or substantially separated from the permission of the user, and the establishment process of the side link communication connection can be more efficient.
- the relay terminal may only provide relay services for some communication services; to maintain the privacy or security of data packets, the remote terminal may only request relay services for some communication services.
- the relay requirement message includes a first service identifier, and the first service identifier may correspond to the target communication service.
- the first service identifier may be included in the SL-MIB, such as "reserved-r14" in the above code.
- the side link communication connection may be configured to be used only for the service corresponding to the first service identifier.
- the first service identifier corresponds to the two-dimensional code service
- the side link communication connection may only be used for the two-dimensional code service, and messages corresponding to other services of the remote terminal may not be transmitted through the side link communication connection.
- the side-link communication connection may only be used for high-priority services, and messages of the remote terminal corresponding to other priority services may not be transmitted through the side-link communication connection.
- the relay requirement message includes multiple service identifiers
- the multiple service identifiers include a first part of service identifiers and a second part of service identifiers
- the first part of service identifiers include the first service identifier
- the relay The terminal establishes a side link communication connection with the remote terminal according to the relay demand message, including: the relay terminal establishes side link communication with the remote terminal according to the first part of the service identifiers in the multiple service identifiers
- the side link communication connection is used to transmit the message of the first part of the service identifier, and is not used to transmit the message of the second part of the service identifier. That is, the remote terminal may request the relay terminal to provide relay services for multiple services, and the relay terminal may provide relay services for the remote terminal for some of the multiple services according to its own situation.
- the relay requirement message includes a first service identifier
- the relay terminal establishes a side link communication connection with the remote terminal according to the relay requirement message, including: in the first service identifier Under the condition that the preset condition of the first service is satisfied, the relay terminal establishes a side link communication connection with the remote terminal.
- the first service identifier satisfying the first service preset condition includes at least one of the following: the priority corresponding to the first service identifier is higher than the first preset service priority; the first service identifier corresponds to The target communication service belongs to the service whitelist of the relay terminal; the target communication service corresponding to the first service identifier does not belong to the service blacklist of the relay terminal.
- the priority corresponding to the first service identifier is high priority; the first preset service priority is low priority, then the first service identifier
- the first service preset condition can be satisfied.
- the first service identifier indicates the two-dimensional code service as described above; the service whitelist of the relay terminal includes the two-dimensional code service, and the first service identifier can satisfy the preset conditions of the first service.
- the first service identifier indicates the payment service as described above; the service blacklist of the relay terminal does not include the payment service, and the first service identifier may satisfy the preset condition of the first service.
- the relay requirement message includes a terminal identifier of the remote terminal, and the relay terminal establishes a side link communication connection with the remote terminal according to the relay requirement message, including: at the terminal When the identifier satisfies the preset condition of the first terminal, the relay terminal establishes a side link communication connection with the remote terminal.
- the terminal identifier satisfying the preset condition of the first terminal includes any one of the following: the terminal identifier belongs to an identifier of a remote terminal; the terminal identifier is in a remote terminal whitelist of the relay terminal; the The terminal identification is not in the remote terminal blacklist of the relay terminal.
- the relay terminal can establish a side link communication connection with the remote terminal; if the terminal device corresponding to the terminal identifier is a relay terminal rather than a remote terminal terminal, the relay terminal can skip or discard the relay demand information; if the remote terminal corresponding to the terminal identifier is a trusted remote terminal or a high-interaction performance remote terminal, the relay terminal can agree to provide relay services for the remote terminal; if the terminal If the corresponding remote terminal is identified as an untrusted remote terminal or a low interactive performance remote terminal, the relay terminal may refuse to provide relay services for the remote terminal, for example, the relay terminal may skip or discard the relay requirement information.
- the first service identifier may be included in the SSID of the SSSS, or may be included in the SL-MIB, such as "reserved-r14" in the above code.
- the specific value of the identification of the remote terminal belongs to the first identification set (for example, the SSID corresponding to the first identification set is between 0 and 159), and the specific value of the identification of the relay terminal belongs to the second identification set (for example, the second identification The SSID corresponding to the set is between 160 and 335).
- the relay terminal can determine whether the terminal identification belongs to the first identification set or the second identification set. If the terminal identifier belongs to the first identifier set, it means that the terminal device corresponding to the terminal identifier belongs to the remote terminal.
- the relay terminal can establish a side link communication connection with the remote terminal. If the relay terminal receives a message from another relay terminal, the relay terminal can determine to skip or discard the data packet by decoding the identifier of the terminal device, thereby improving the efficiency of the relay terminal in processing messages.
- the owner of the relay terminal is acquainted with the owner of the remote terminal, and the owner of the relay terminal can add the terminal identifier of the remote terminal to the whitelist of the remote terminal by manipulating the user interface shown in FIG. It is understood that the step of "adding the terminal identification to the remote terminal whitelist" may occur before or after 502).
- the remote terminal can send a relay requirement message, and the relay requirement message can include the terminal identifier of the remote terminal, so that the relay terminal can determine to establish a side link communication connection with the remote terminal according to the terminal identifier of the remote terminal.
- the owner of the relay terminal can add untrusted terminal identifiers to the remote terminal blacklist by manipulating the user interface shown in FIG. 8 , where the remote terminal blacklist does not include the terminal identifiers of the remote terminals.
- the remote terminal can send a relay requirement message, and the relay requirement message can include the terminal identifier of the remote terminal, so that the relay terminal can determine to establish a side link communication connection with the remote terminal according to the terminal identifier of the remote terminal.
- the remote terminal sends a first data packet to the relay terminal through the side link communication connection, where the first data packet corresponds to the target communication service.
- the relay terminal receives the first data packet from the remote terminal through the side link communication connection.
- the remote terminal may send the first data packet to the relay terminal for the target communication service, so as to request the relay terminal to forward the first data packet to the network device.
- the relay requirement message includes a first service identifier
- the first data packet is a data packet corresponding to the first service identifier
- the relay terminal forwards the first data packet to the network device.
- the network device receives the first data packet from the relay terminal.
- the relay terminal can send the data packet of the remote terminal to the network device through the uplink.
- the first data packet includes a second service identifier
- the second service identifier corresponds to the target communication service
- the relay terminal forwards the first data packet to the network device, including: When the second service identifier satisfies the preset condition of the second service, the relay terminal forwards the first data packet to the network device.
- the second service identifier satisfying the second service preset condition includes at least one of the following: the priority corresponding to the second service identifier is higher than the second preset service priority; the second service identifier corresponds to The second communication service belongs to the service whitelist of the relay terminal; the second communication service corresponding to the second service identifier does not belong to the service blacklist of the relay terminal.
- the first data packet includes the terminal identifier of the remote terminal, and the relay terminal forwards the first data packet to the network device, including: if the terminal identifier satisfies the preset condition of the second terminal. In this case, the relay terminal forwards the first data packet to the network device.
- the terminal identifier satisfying a preset condition of the second terminal includes any one of the following: the terminal identifier belongs to an identifier of a remote terminal; the terminal identifier is in a remote terminal whitelist of the relay terminal; the The terminal identification is not in the remote terminal blacklist of the relay terminal.
- terminal identifier of the first data packet For the specific implementation of the terminal identifier of the first data packet, reference may be made to the terminal identifier of the relay demand message, and details are not described herein again.
- the network device sends a second data packet of the remote terminal to the terminal device, where the second data packet corresponds to the target communication service.
- the relay terminal receives the second data packet of the remote terminal from the network device.
- the relay terminal can receive the data packets of the remote terminal from the network device through the downlink for the target communication service.
- the second data packet may be, for example, a feedback message, a notification message and the like of the remote terminal.
- the relay requirement message includes a first service identifier
- the second data packet is a data packet corresponding to the first service identifier
- the relay terminal forwards the second data packet to the remote terminal through the side link communication connection.
- the remote terminal receives the second data packet from the relay terminal through the side link communication connection.
- the second data packet includes a third service identifier
- the third service identifier corresponds to the target communication service
- the relay terminal forwards the second data packet to the remote terminal, including: If the third service identifier satisfies the preset condition of the third service, the relay terminal forwards the second data packet to the remote terminal.
- the third service identifier satisfying a preset third service condition includes at least one of the following: the priority corresponding to the third service identifier is higher than the third preset service priority; the third service identifier corresponds to The third communication service belongs to the service whitelist of the relay terminal; the third communication service corresponding to the third service identifier does not belong to the service blacklist of the relay terminal.
- the second data packet includes the terminal identifier of the remote terminal
- the relay terminal forwarding the second data packet to the remote terminal includes: if the terminal identifier satisfies the preset of the third terminal. In the case of the condition, the relay terminal forwards the second data packet to the remote terminal.
- the terminal identifier satisfying the third terminal preset condition includes any one of the following: the terminal identifier belongs to an identifier of a remote terminal; the terminal identifier is in a remote terminal whitelist of the relay terminal; the The terminal identification is not in the remote terminal blacklist of the relay terminal.
- terminal identifier of the second data packet For the specific implementation manner of the terminal identifier of the second data packet, reference may be made to the terminal identifier of the relay demand message, which will not be described in detail here.
- the method further includes: receiving, by the relay terminal, a third data packet sent by the remote terminal, where the third data packet includes a fourth service identifier; when the fourth service identifier does not satisfy the In the case of the second service preset condition, the relay terminal skips or discards the third data packet.
- the method further includes: receiving, by the relay terminal, a fourth data packet sent by the network device, where the fourth data packet includes a fifth service identifier; if the fifth service identifier does not satisfy the In the case of the preset condition of the third service, the relay terminal skips or discards the fourth data packet.
- the method further includes: receiving, by the relay terminal, a fifth data packet sent by the remote terminal, where the fifth data packet includes a target terminal identifier; if the target terminal identifier does not satisfy the third Under the condition that the terminal presets the condition, the relay terminal skips or discards the fifth data packet.
- FIG. 11 is a schematic flowchart of a communication method provided by an embodiment of the present application.
- the remote terminal sends a relay request message.
- the relay terminal receives the relay demand message from the remote terminal.
- the relay terminal determines whether the relay requirement message is legal.
- the relay terminal sends a connection establishment request message to the remote terminal, where the connection establishment request message corresponds to the relay demand message, and the connection establishment request message The message is used to establish a side link communication connection.
- the remote terminal receives the connection establishment request message from the relay terminal.
- the remote terminal sends a connection establishment confirmation message to the relay terminal, where the connection establishment confirmation message corresponds to the connection establishment request message, and the connection establishment confirmation message is used to confirm the validity of the side link communication connection.
- Configuration parameters
- the relay terminal receives the connection establishment confirmation message from the remote terminal.
- the remote terminal When the remote terminal receives multiple connection establishment request messages from multiple relay terminals, the remote terminal can select one relay terminal from the multiple relay terminals, and establish a connection with the preferred relay terminal. Side link communication connection.
- the relay terminal sends a connection establishment complete message to the remote terminal, where the connection establishment complete message corresponds to the connection establishment confirmation message, and the connection establishment complete message is used to indicate that the side link communication connection is established Finish.
- the remote terminal receives the connection establishment complete message from the relay terminal.
- 1102 to 1105 may be specific implementations of 502 in the embodiment shown in FIG. 5 .
- the remote terminal sends a first data packet to the relay terminal through the side link communication connection.
- the relay terminal receives the first data packet from the remote terminal through the side link communication connection.
- the relay terminal forwards the first data packet to the network device.
- the network device receives the first data packet from the relay terminal.
- the network device sends the second data packet of the remote terminal to the terminal device.
- the relay terminal receives the second data packet of the remote terminal from the network device.
- the relay terminal forwards the second data packet to the remote terminal through the side link communication connection.
- the remote terminal receives the second data packet from the relay terminal through the side link communication connection.
- the remote terminal sends a connection disconnection request message to the relay terminal, where the connection disconnection request message is used to disconnect the side link communication connection.
- the relay terminal receives the connection disconnection request message from the remote terminal.
- the relay terminal sends a connection disconnection confirmation message to the remote terminal, where the connection disconnection confirmation message corresponds to a connection disconnection request message, and the connection disconnection confirmation message is used to indicate the side link communication The disconnection is complete.
- the relay terminal receives the disconnection confirmation message from the remote terminal.
- the remote terminal may determine whether the sidelink communication connection is valid by determining whether the sidelink communication connection is out of sync. If out of sync, the remote terminal may attempt to resend the relay demand message to find a suitable relay terminal.
- the relay terminal may determine whether the side link communication connection is valid by determining whether the side link communication connection is out of synchronization. If the synchronization is lost, the relay terminal can start monitoring the relay demand message again to establish a new side link communication connection.
- the relay terminal may periodically drive the side link communication module 180 shown in FIG. Relay Requirement message.
- the period 1 in which the relay terminal monitors the relay demand message is T 1
- the duration of the relay terminal driving the side link communication module eg, (a) of 12
- the duration of the relay terminal driving the side link communication module is t 0
- T 1 >t 0 the period 2 of the relay terminal monitoring the relay demand message
- the duration of the relay terminal driving the side link communication module is t 0 , where T 2 >T 1 >t 0 .
- the period for the relay terminal to monitor the relay demand message (for example, denoted as the second period) may be 512ms, 640ms, 1.28s, 2.56s, 2.56s, and so on.
- the period 3 of the remote terminal sending the relay demand message and the time domain occupied by the relay demand message total t 1 (the relay demand message can occupy part of the time domain in the period 3); the relay The period 4 for the terminal to monitor the relay demand message is T 0 ; the duration for the relay terminal to drive the side link communication module is t 1 ; T 0 >t 1 . Therefore, in one cycle 4, the duration of turning off the side link communication module may be T 0 -t 1 .
- the period 3 for the remote terminal to send the relay demand message and the time domain occupied by the relay demand message total t 2 ; the period 4 for the relay terminal to monitor the relay demand message is T 0 ;
- the duration of the terminal-driven-side link communication module is t 2 , wherein T 0 >t 2 >t 1 . Therefore, in one cycle 4, the duration of turning off the side link communication module may be T 0 -t 2 . And, T 0 -t 1 >T 0 -t 2 .
- the remote terminal can send the relay demand message 1 in the first period 3, wherein the time domain occupied by the relay demand message 1 is before the side link communication module of the relay terminal is turned on. Then, the relay terminal may not listen to the relay demand message 1 in the first period 3 . It is assumed that the remote terminal can send the relay requirement message 2 in the second period 3, wherein the time domain occupied by the relay requirement message 2 is after the side link communication module of the relay terminal is turned on. Then the remote terminal can listen to the relay requirement message 2 in the second period 3 .
- the remote terminal can send the relay request message 3 in the third period 3, wherein the start time of the relay request message 3 is before the side link communication module of the relay terminal is turned on, and the end time of the relay request message 3 After the side link communication module of the relay terminal is turned on. Then, the relay terminal may not monitor the relay demand message 3 in the third period 3 . It is assumed that the remote terminal can send the relay requirement message 4 in the fourth period 3, wherein the time domain occupied by the relay requirement message 4 is after the side link communication module of the relay terminal is turned on.
- the relay demand message 4 can appear in the side link communication of the relay terminal During the period when the module is turned on, the relay terminal can listen to the relay demand message 4 in the fourth period 3 .
- the relay requirement message may be carried on the PSBCH, where the transmission period of the PSBCH may be less than 40ms. That is to say, the sending period of the relay requirement message (for example, denoted as the first period) may be less than 40ms.
- the remote terminal broadcasts the relay demand message through the PSBCH
- the transmission period of the PSBCH may be 2ms
- the time domain resource occupied by the relay demand message is 1ms.
- the duration of the relay terminal driving the side link communication module can be 3ms. If the period during which the relay terminal listens to the relay demand message is 512ms, then in the monitoring period of each relay demand message, the time period for which the side link communication module is turned off may be 509ms.
- the longer the relay terminal listens to the relay demand message the shorter the duration that the relay terminal drives the side link communication module, and the duration that the relay terminal drives the side link communication module is within the monitoring period of the relay demand message. The smaller the occupancy ratio is, it can even be ignored.
- the duration of the relay terminal driving the side link communication module may be greater than the transmission period of the relay demand message, and less than the sum of the transmission period of the relay demand message and the time domain occupied by the relay demand message.
- the duration of the relay terminal driving the side link communication module may be equal to the sending period of the relay demand message.
- Figure 14 shows various possible implementations of a remote terminal sending a relay request message.
- the remote terminal may transmit the relay demand message according to time division duplexing (TDD). That is to say, the uplink data and the downlink data may occupy the same frequency band 1, and the downlink data and the uplink data may respectively occupy the downlink time domain resources and the uplink time domain resources of one transceiver cycle.
- the relay requirement message may occupy uplink time domain resources.
- the period in which the remote terminal sends the relay requirement message may be equal to one transceiving period.
- the duration of the link communication module on the driving side of the relay terminal may be (approximately) equal to the sum of the sending and receiving period and the uplink time domain resources, or, the driving side of the relay terminal
- the duration of the link communication module may be (approximately) equal to the sum of the transceiver cycle and the time domain occupied by the relay demand message.
- a transceiver cycle includes 10 time slots, of which downlink time domain resources occupy 8 time slots, and uplink time domain resources occupy 2 time slots.
- the relay demand message may occupy uplink time domain resources, and the duration of the relay terminal driving the side link communication module may be equal to 12 time slots.
- one transceiver cycle includes 10 time slots, of which downlink time domain resources occupy 8 time slots, and uplink time domain resources occupy 2 time slots.
- the relay requirement message may occupy 1 time slot of the uplink time domain resource, and the duration t 3 for the relay terminal to drive the side link communication module may be equal to 11 time slots.
- the remote terminal may transmit the relay demand message according to frequency division duplexing (FDD).
- FDD frequency division duplexing
- Downlink data can occupy frequency band 2
- uplink data can occupy frequency band 3
- frequency band 2 and frequency band 3 do not overlap each other. That is, downlink data may occupy downlink frequency domain resources, uplink data may occupy uplink frequency domain resources, and downlink data and uplink data may not interfere with each other. Both downlink frequency domain resources and uplink frequency domain resources may belong to licensed frequency bands.
- the relay requirement message can be sent on uplink frequency domain resources. Therefore, the period in which the remote terminal sends the relay request message may not be affected by the downlink data.
- the remote terminal may send a relay request message every 2 time slots on the uplink frequency domain resource, wherein the relay request message may occupy one uplink frequency domain resource.
- time slot, the duration t 4 for the relay terminal to drive the side link communication module may be equal to 3 time slots.
- the remote terminal may send a relay demand message on unlicensed frequency domain resources.
- uplink data and downlink data may occupy frequency band 4, and side link data may occupy frequency band 5.
- uplink data and downlink data may occupy different frequency bands. That is to say, uplink and downlink data may occupy uplink and downlink frequency domain resources, side link data may occupy sidelink frequency domain resources, and side link data and uplink and downlink data may not interfere with each other. Therefore, the period in which the remote terminal sends the relay request message may not be affected by the uplink data and the downlink data.
- the remote terminal may send a relay request message every 2 time slots on the unlicensed frequency band, wherein the relay request message may occupy 1 time slot of the unlicensed frequency band , then the duration t5 of the relay terminal driving the side link communication module may be equal to 3 time slots.
- the unlicensed frequency band may be, for example, the 700 MHz unlicensed frequency band, such as the 2.38-2.42 GHz frequency band; the unlicensed frequency band may be, for example, the 5.905-5.925 GHz frequency band.
- the frequency of the unlicensed band is relatively low, which can help improve the penetration of the signal.
- the relay terminal may include multiple communication modules.
- the relay terminal may also include other modules associated with the plurality of communication modules.
- the relay terminal may include multiple communication modules and driving modules for the multiple communication modules (eg, the processor 110 shown in FIG. 3 ).
- the driving module may input electrical signals (or referred to as powering on the plurality of communication modules) to the plurality of communication modules, so that the plurality of communication modules may send and receive messages.
- the driving module in the relay terminal is correspondingly in a working state (such as a wake-up state, a non-sleep state, etc.).
- the driving period of the communication module 1 is the driving period 1
- the driving period of the communication module 2 is the driving period 2
- the duration that the communication module 1 is driven in the driving cycle 1 is duration 1
- the duration that the communication module 2 is driven in the driving cycle 2 is duration 2
- the duration 1 may be equal to the duration 2.
- the relay terminal drives the communication module 1 and the communication module 2 respectively within two non-intersecting time periods
- the module 3 associated with both the communication module 1 and the communication module 2 needs to be driven twice. If the relay terminal drives the communication module 1 and the communication module 2 in the same time period, then the module 3 associated with the communication module 1 and the communication module 2 only needs to be driven once, and the driving duration of the module 1 can be equal to the duration 1 or duration 2.
- the driving period of the communication module 3 is the driving period 3
- the driving period of the communication module 4 is the driving period 4
- the duration that the communication module 3 is driven in the driving cycle 3 is duration 3
- the duration that the communication module 4 is driven in the driving cycle 4 is duration 4
- the duration 3 is greater than the duration 4 . If the relay terminal drives the communication module 3 and the communication module 4 respectively in two non-intersecting time periods, the module 3 associated with both the communication module 3 and the communication module 4 needs to be driven twice.
- the relay terminal starts to drive the communication module 4 after starting to drive the communication module 3 but before it stops driving the communication module 3, and stops driving the communication module 4 before the relay terminal stops driving the communication module 3, then the communication module 3, the communication module 4 All associated modules 3 only need to be driven once, and the duration for which module 3 is driven can be equal to duration 3 .
- the driving time periods of the multiple communication modules can be aligned, which is beneficial to alleviate the frequent driving of other devices in the relay terminal.
- the relay terminal may include a first communication module and a second communication module, where the first communication module is used for interaction between the relay terminal and the network device, and the second communication module is used for interaction between the relay terminal and the network device.
- the driving start time of the first communication module is aligned with the driving start time of the second communication module, or the driving end time of the first communication module is the same as the driving start time of the second communication module.
- the driving end times of the second communication module are aligned.
- the driving start time of the first communication module may refer to the start time of receiving paging, that is, the time when the paging message is started to be received.
- the driving end time of the first communication module may refer to the end time of receiving paging, that is, the time of stopping receiving paging messages.
- the driving start time of the second communication module may refer to the start time of receiving the relay demand message, that is, the time when the relay demand message starts to be received.
- the driving end time of the second communication module may refer to the end time of receiving the relay demand message, that is, the time of stopping receiving the relay demand message. This is beneficial to reduce the driving times and driving duration of other modules associated with the first communication module and the second communication module.
- the relay terminal may include a first communication module and a second communication module, where the first communication module is used for interaction between the relay terminal and the network device, and the second communication module For the interaction between the relay terminal and the remote terminal, the driving start time of the first communication module is equal to or later than the driving start time of the second communication module, and the driving end time of the first communication module is equal to or later than the driving start time of the second communication module. or earlier than the driving end time of the second communication module.
- the relay terminal may include a first communication module and a second communication module, wherein the driving period of the first communication module (the period from the driving start time to the driving end time may be referred to as driving period) and the driving period of the second communication module at least partially overlap, which is beneficial to reduce the driving times and driving duration of other communication modules.
- FIG. 15 shows specific embodiments of two alignment driving time periods.
- the driving frequency of the second communication module is N times the driving frequency of the first communication module, where N is a positive integer greater than 1. That is to say, the driving period of the first communication module is 1/N times the driving period of the second communication module. Therefore, by the above method, the driving start time of the second communication module can be aligned with a certain driving start time of the first communication module, so that when the first communication module is driven, the second communication module can be in a dormant state, And when the second communication module is driven, the first communication module can be driven simultaneously.
- the first communication module can transition from the periodic monitoring state to the connection state, that is, the first communication module is woken up or driven for a long time.
- the second communication module can continue to maintain the original periodic driving mode. After the first communication module cuts off the communication connection with other devices, the first communication module can transition from the connection state to the periodic monitoring state.
- the relay terminal may drive the first communication module according to a new periodic driving mode.
- the relay terminal may receive the configuration information sent by the network device, and according to the configuration information, determine the first driving start time of the first communication module and the driving period of the first communication module.
- the driving start time of the first communication module may not be aligned with the driving start time of the second communication module, that is, when the second communication module is driven, the first communication module may be in an undriven state . Therefore, the relay terminal can adjust the driving start time of the second communication module.
- the configuration information sent by the network device is used to instruct the relay terminal to start driving the first communication module at the first target moment, and the relay terminal may simultaneously drive the first communication module and the second communication module at the first target moment.
- the driving frequency of the first communication module may be an integer multiple of the driving frequency of the second communication module. This aligns the driving start time of the first communication module with the driving start time of the second communication module, so that the first communication module can be driven while the second communication module is being driven.
- the relay terminal can be switched from the connected state at time a1, and according to the configuration information sent by the network device, it is determined to drive the first communication module at time a2 ; in addition, the relay terminal The second communication module can be driven simultaneously at time a 2 , which is after time a 1 . That is to say, after the relay terminal switches from the connected state, the start time of the relay terminal monitoring the paging message for the first time is also the start time of monitoring the relay demand message.
- the relay terminal may switch from the connected state at time a1, and determine, according to the configuration information sent by the network device, to drive the first communication module for the first time at time a2 ; in addition, the relay terminal may drive the first communication module at time a3
- the first communication module and the second communication module are driven at the same time, wherein time a 2 is after time a 1 , time a 3 is after time a 2 , and there are N pieces of the first communication module between time a 3 and time a 2 drive cycle. That is, starting from time a3 after time a2, the driving start time of the second communication module may be aligned with the driving start time of the first communication module.
- the driving period of the first communication module may be smaller than the driving period of the second communication module. In other examples, the driving period of the first communication module may be equal to the driving period of the second communication module. Then, starting from time a2, the driving start time of the first communication module can always be aligned with the driving start time of the second communication module.
- the relay terminal may adjust the driving start time of the first communication module according to the periodic driving mode of the second communication module.
- the second target time is a certain driving start time when the relay terminal drives the second communication module, and the second target time is after the first communication module is switched from the connected state.
- the relay terminal may adjust the driving start time of the first communication module to the second target time. This aligns the driving start time of the first communication module with the driving start time of the second communication module, so that the first communication module can be driven while the second communication module is being driven.
- the relay terminal may drive the second communication module at time b1 and drive the second communication module again at time b2 ; and, the relay terminal may change from the connected state at time a1 Cut out, time a 1 may be between time b 1 and time b 2 .
- the relay terminal may take time b 2 as the driving start time of the first communication module.
- the relay terminal may also determine the start time of driving the first communication module for the first time after the relay terminal switches from the connected state according to the driving start time of the second communication module and the driving period of the first communication module.
- the relay terminal may drive the second communication module at time b1 and drive the second communication module again at time b2 ; and, the relay terminal may change from the connected state at time a1 Cut out, time a 1 may be between time b 1 and time b 2 , and the time difference between time a 1 and time b 2 is greater than the driving period T 3 of the first communication module.
- a 2 b 2 -k*T 3
- k [(b 2 -a 1 )/T 3 ]
- the user enters the payment interface of the terminal device 1 through a gesture operation, and is loading the payment two-dimensional code, and the payment interface can be regarded as the first user interface related to the loading of the two-dimensional code.
- the terminal device 1 cannot directly communicate with the network device, that is, the terminal device 1 cannot directly obtain the payment two-dimensional code information from the network device.
- the terminal device 1 may belong to the above-mentioned remote terminal.
- the terminal device 1 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side link communication module 180 shown in FIG. 3 to establish a side link communication connection with an appropriate relay terminal.
- the terminal device 1 can send the data packet 1 to the relay terminal through the side link communication connection, and the data packet 1 can be used to request the payment of the two-dimensional code.
- the relay terminal can forward the data packet 1 to the network device, and receive the data packet 2 from the network device.
- the data packet 2 can be a feedback to the data packet 1, for example, the data packet 2 can include the specific content of the payment QR code. That is to say, in the scenario of no network communication, the terminal device 1 can still obtain the payment two-dimensional code in a networked (non-offline) manner.
- the terminal device 1 may display the pattern of the two-dimensional code on the first user interface.
- the user can show the payment QR code to the payment device to complete the payment process.
- data packet 1 and data packet 2 may be, for example, messages corresponding to a two-dimensional code service or a payment service.
- the user makes the terminal device 2 display a second user interface related to the recharging of the bus card through gesture operation, establishes a near field communication connection with the bus card through, for example, near field communication (NFC), and prepares to interact with the cloud server to Complete the recharge of the bus card.
- NFC near field communication
- the terminal device 2 cannot directly communicate with the network device, that is, the terminal device 2 cannot directly obtain the recharge information of the bus card from the network device.
- the terminal device 2 may belong to the above-mentioned remote terminal.
- the terminal device 2 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side link communication module 180 shown in FIG. 3 to establish a side link communication connection with an appropriate relay terminal.
- the terminal device 2 can send the data packet 3 to the relay terminal through the side link communication connection, and the data packet 3 can be used to request the recharge information of the bus card.
- the relay terminal can forward the data packet 3 to the network device, and receive the data packet 4 from the network device, and the data packet 4 can be feedback for the data packet 3, for example, the data packet 4 can include the recharge information of the bus card. That is to say, in the scenario of no network communication, the terminal device 2 can still obtain the recharge information of the bus card in a networked (non-offline) manner, and synchronize with the cloud server.
- the terminal device 2 can complete the recharging process of the bus card according to the recharging information of the bus card, for example, displaying first indication information on the second user interface, the first instruction information indicating that the recharging of the bus card is completed.
- the data packet 3 and the data packet 4 can be, for example, messages corresponding to payment services.
- the user operates a gesture, so that the terminal device 3 displays a third user interface related to obtaining the verification code.
- the terminal device 3 cannot directly communicate with the network device, that is, the terminal device 3 cannot directly obtain the short message message including the verification code from the network device.
- the terminal device 3 may belong to the above-mentioned remote terminal.
- the terminal device 3 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side link communication module 180 shown in FIG. 3 to establish a side link communication connection with an appropriate relay terminal.
- the terminal device 3 can send a data packet 5 to the relay terminal through the side link communication connection, and the data packet 5 can be used to request a verification code.
- the relay terminal can forward the data packet 5 to the network device, and receive the data packet 6 from the network device.
- the data packet 6 can be feedback for the data packet 5, for example, the data packet 6 can be a short message message containing a verification code. Therefore, the terminal device 3 can still acquire the short message message including the verification code in the scenario of no network communication. Thus, the terminal device can continue to complete processes such as decryption, login, and security verification according to the obtained verification code.
- the data packet 5 and the data packet 6 may be, for example, messages corresponding to the short message service.
- the balance of the communication account of the terminal device 4 is insufficient, and the terminal device 4 cannot effectively communicate with the network device.
- the user can make the terminal device 4 display a fourth user interface related to the recharging of the phone bill through a gesture operation, so as to complete the recharging of the communication account of the terminal device 4 .
- the terminal device 4 may belong to the above-mentioned remote terminal.
- the terminal device 4 may send the relay demand message shown in FIG. 5 or FIG. 11 through the side link communication module 180 shown in FIG. 3 to establish a side link communication connection with an appropriate relay terminal.
- the terminal device 4 can send the data packet 7 to the relay terminal through the side link communication connection, and the data packet 7 can be used to request information related to the recharge of the telephone charge.
- the relay terminal can forward the data packet 7 to the network device, and receive the data packet 8 from the network device.
- the data packet 8 can be a feedback for the data packet 7, for example, the data packet 8 can include information related to the recharge of the phone bill. That is to say, in the scenario of no network communication, the terminal device 4 can still recharge the phone bill through the network device.
- the terminal device 4 may display second indication information on the fourth user interface, where the second indication information indicates that the call charge recharge is completed. After the phone bill is recharged, the effective communication between the terminal device 4 and the network device can be resumed.
- the data packets 7 and 8 may be, for example, messages corresponding to the payment service or the application notification service.
- the relay terminal may choose to forward only the data packets related to the phone bill recharge. That is to say, after the charging of the telephone charge is completed, the data packets of the terminal device 4 irrelevant to the charging of the telephone charge can be directly sent by the network device to the terminal device 4 .
- the terminal device 5 is currently located in the underground garage, and the user intends to pay the parking fee through the terminal device 5 .
- the terminal device 5 may display a fifth user interface related to parking fee payment. Due to the weak signal, the terminal device 5 cannot communicate directly with the network device.
- the terminal device 5 may belong to the above-mentioned remote terminal.
- the terminal device 5 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side link communication module 180 shown in FIG. 3 to establish a side link communication connection with an appropriate relay terminal.
- the terminal device 5 can send a data packet 9 to the relay terminal through the side link communication connection, and the data packet 9 can be used to request payment information related to the parking fee.
- the relay terminal may forward the data packet 9 to the network device, and receive the data packet 10 from the network device, the data packet 10 may be a feedback to the data packet 9, for example, the data packet 10 may include payment information related to parking fees. That is to say, in a scenario without network communication, the terminal device 5 can still pay the parking fee through the network device.
- the data packet 9 and the data packet 10 may be, for example, messages corresponding to payment services.
- the terminal device 5 may display third indication information on the fifth user interface, where the third indication information indicates that the payment of the parking fee is completed.
- the relay terminal may choose to forward only data packets related to parking fees. That is to say, after the parking fee is paid, the terminal device 5 can move out of the garage and communicate directly with the network device.
- the terminal device 6 may display a sixth user interface related to the distress call to initiate a distress call. Due to the weak signal, the terminal device 6 cannot communicate directly with the network device.
- the terminal device 6 may belong to the above-mentioned remote terminal.
- the terminal device 6 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side link communication module 180 shown in FIG. 3 to establish a side link communication connection with an appropriate relay terminal.
- the terminal device 6 may send the data packet 11 to the relay terminal through the side link communication connection, and the data packet 11 may include the uploaded voice packet of the distress call, for example, the uploaded voice packet of the emergency call "110".
- the relay terminal can forward the data packet 11 to the network device, and receive the data packet 12 from the network device.
- the data packet 12 can be the feedback for the data packet 11.
- the data packet 12 can include the downlink voice packet of a distress call, such as emergency The downlink voice packet of the phone "110". That is to say, in the scenario of no network communication, the terminal device 6 can still make emergency calls through the network device.
- the terminal device 6 may display fourth indication information on the sixth user interface, where the fourth indication information indicates that the terminal device 6 has connected the emergency call.
- the data packet 11 and the data packet 12 may be, for example, messages corresponding to a distress service or a high-definition voice call service.
- FIG. 16 is a schematic structural diagram of a communication apparatus provided according to an embodiment of the present application.
- the communication device may be a terminal device, or may be a component (for example, a chip or a circuit) that can be used in the terminal device.
- the communication apparatus 1600 may include a transceiver module 1601 .
- the transceiver module 1601 is configured to send a relay demand message to establish a side link communication connection with the relay terminal, where the side link communication connection is used to transmit data packets corresponding to the target communication service.
- the transceiver module 1601 is further configured to interact with the network device through the relay terminal, including: sending a first data packet corresponding to the target communication service to the relay terminal through the side link communication connection, so that the The first data packet is forwarded by the relay terminal to the network device; and/or, second data corresponding to the target communication service is received from the relay terminal through the side link communication connection packet, the second data packet is from the network device.
- the transceiver module 1601 may be implemented by a receiver and/or a transmitter.
- the transceiver module 1601 may be implemented by a receiver and/or a transmitter.
- the communication method shown in FIG. 5 or FIG. 11 which will not be repeated here.
- a communication apparatus may be a terminal device, or may be a component (such as a chip or a circuit, etc.) used for the terminal device.
- the communication device may include a transceiver and a processor, and optionally, a memory.
- the transceiver may be used to implement the corresponding functions and operations corresponding to the above-mentioned receiving module and the transmitting module, and the processor may be used to implement the corresponding functions and operations of the above-mentioned processing module.
- the memory can be used to store execution instructions or application code, and the execution is controlled by the processor to implement the communication method provided by the above embodiments of the present application; and/or, it can also be used to temporarily store some data and instruction information.
- the memory may exist independently of the processor, and in this case, the memory may be connected to the processor through a communication line. In another possible design, the memory may also be integrated with the processor, which is not limited in this embodiment of the present application.
- FIG. 17 is a schematic structural diagram of a communication apparatus provided according to an embodiment of the present application.
- the communication device may be a terminal device, or may be a component (for example, a chip or a circuit) that can be used in the terminal device.
- the communication apparatus 1700 may include a transceiver module 1701 and a processing module 1702 .
- the transceiver module 1701 is configured to receive a relay requirement message from a remote terminal.
- the processing module 1702 is configured to establish a side link communication connection with the remote terminal according to the relay requirement message, where the side link communication connection is used for transmitting data packets corresponding to the target communication service.
- the transceiver module 1701 is further configured to forward a message between the remote terminal and the network device, including: receiving a first data packet corresponding to the target communication service from the remote terminal through the side link communication connection, and sending the message to the remote terminal. forwarding the first data packet to the network device; and/or receiving a second data packet corresponding to the target communication service from the network device, and sending the second data packet through the side link communication connection The data packets are forwarded to the remote terminal.
- the transceiver module 1701 may be implemented by a receiver and/or a transmitter.
- the processing module 1702 may be implemented by a processor.
- the communication method shown in FIG. 5 or FIG. 11 which will not be repeated here.
- a communication apparatus may be a terminal device, or may be a component (such as a chip or a circuit, etc.) used for the terminal device.
- the communication device may include a transceiver and a processor, and optionally, a memory.
- the transceiver may be used to implement the corresponding functions and operations corresponding to the above-mentioned receiving module and the transmitting module, and the processor may be used to implement the corresponding functions and operations of the above-mentioned processing module.
- the memory can be used to store execution instructions or application code, and the execution is controlled by the processor to implement the communication method provided by the above embodiments of the present application; and/or, it can also be used to temporarily store some data and instruction information.
- the memory may exist independently of the processor, and in this case, the memory may be connected to the processor through a communication line. In another possible design, the memory may also be integrated with the processor, which is not limited in this embodiment of the present application.
- FIG. 18 is a communication device provided by an embodiment of the present application.
- the communication apparatus may be a terminal device as shown in FIG. 3 .
- the communication device includes a processor 1801, a memory 1802, a radio frequency circuit, an antenna, and an input and output device.
- the processor 1801 may be used to process communication protocols and communication data, control communication devices, execute software programs, process data of software programs, and the like.
- the memory 1802 is primarily used to store software programs and data.
- the radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal.
- Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves.
- Input and output devices such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of communication devices may not have input and output devices.
- the processor 1801 When data needs to be sent, the processor 1801 performs baseband processing on the data to be sent, and outputs a baseband signal to the radio frequency circuit.
- the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves.
- the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
- the memory may also be referred to as a storage medium or a storage device or the like.
- the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
- the antenna and the radio frequency circuit with a transceiving function can be regarded as the transceiver 1803 of the communication device, and the processor with the processing function can be regarded as a processing unit of the communication device.
- the transceiver 1803 may also be referred to as a transceiver unit, a transceiver, a transceiver, or the like.
- the processing unit may also be referred to as a processor, a processing single board, a processing module, a processing device, and the like.
- the device for implementing the receiving function in the transceiver 1803 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver 1803 may be regarded as a transmitting unit, that is, the transceiver 1803 includes a receiving unit and a transmitting unit.
- the receiving unit may also sometimes be referred to as a receiver, receiver, or receiving circuit, or the like.
- the transmitting unit may also sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, or the like.
- the processor 1801, the memory 1802 and the transceiver 1803 communicate with each other through an internal connection path to transmit control and/or data signals.
- the communication methods disclosed in the above embodiments of the present application may be applied to the processor 1801 or implemented by the processor 1801 .
- the processor 1801 may be an integrated circuit chip with signal processing capability.
- each step of the above-mentioned communication method can be completed by an integrated logic circuit of hardware in the processor 1801 or an instruction in the form of software.
- the processor described in each embodiment of the present application may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a field programmable gate array (field programmable gate array). , FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
- Software modules can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. in the storage medium.
- RAM random access memory
- ROM read-only memory
- the storage medium is located in the memory, and the processor reads the instructions in the memory, and completes the steps of the above communication method in combination with its hardware.
- Embodiments of the present application further provide a chip, where the chip includes a transceiver unit and a processing unit.
- the transceiver unit may be an input/output circuit or a communication interface;
- the processing unit may be the processor 1801 or microprocessor 1801 or integrated circuit integrated on the chip.
- the chip can execute the communication method on the remote terminal side or the relay terminal side in the above communication method embodiments.
- Embodiments of the present application further provide a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, execute the communication method on the remote terminal side or the relay terminal side in the above communication method embodiments.
- the embodiment of the present application further provides a computer program product including an instruction, when the instruction is executed, the communication method on the remote terminal side or the relay terminal side in the above communication method embodiment is executed.
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and 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 in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
- the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
- the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Emergency Management (AREA)
- Environmental & Geological Engineering (AREA)
- Public Health (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本申请要求于2020年12月17日提交中国专利局、申请号为202011497022.5、申请名称为“通信方法及通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011497022.5 and the application title "Communication Method and Communication Device" filed with the China Patent Office on December 17, 2020, the entire contents of which are incorporated into this application by reference.
本申请涉及电子设备领域,并且更具体地,涉及一种通信方法及通信装置。The present application relates to the field of electronic equipment, and more particularly, to a communication method and a communication device.
通信协议定义一种可以在多个终端设备之间直接通信的链路,该链路可以被称为侧行链路(sidelink,SL)。多个终端设备之间的通信应用场景可以是多种多样的。A communication protocol defines a link that can communicate directly between a plurality of end devices, and this link can be referred to as a sidelink (SL). Communication application scenarios between multiple terminal devices may be diverse.
发明内容SUMMARY OF THE INVENTION
本申请提供一种通信方法及通信装置,目的是提供在多个终端设备之间的通信方式,该通信方式可以结合各种类型的通信场景,可以增加终端设备可实现的功能。The present application provides a communication method and a communication device, with the purpose of providing a communication mode between multiple terminal devices, the communication mode can be combined with various types of communication scenarios, and the functions that can be realized by the terminal device can be increased.
第一方面,提供了一种通信方法,包括:In a first aspect, a communication method is provided, including:
远程终端发送中继需求消息,以与中继终端建立侧链路通信连接,所述侧链路通信连接用于传输与目标通信业务对应的数据包;The remote terminal sends a relay request message to establish a side link communication connection with the relay terminal, where the side link communication connection is used to transmit data packets corresponding to the target communication service;
所述远程终端通过所述中继终端与网络设备交互,包括:The remote terminal interacts with the network device through the relay terminal, including:
所述远程终端通过所述侧链路通信连接,向所述中继终端发送与所述目标通信业务对应的第一数据包,以使得所述第一数据包由所述中继终端转发至所述网络设备;和/或,The remote terminal sends a first data packet corresponding to the target communication service to the relay terminal through the side link communication connection, so that the first data packet is forwarded by the relay terminal to the relay terminal. the network equipment; and/or,
所述远程终端通过所述侧链路通信连接,从所述中继终端接收与所述目标通信业务对应的第二数据包,所述第二数据包来自所述网络设备。The remote terminal is connected through the side link communication, and receives a second data packet corresponding to the target communication service from the relay terminal, where the second data packet comes from the network device.
在本申请中,通过将通信业务的类型与数据包关联起来,使得远程终端可以通过中继终端接收或发送特定通信业务的数据包,以实现特定通信业务所对应的功能。In the present application, by associating the type of the communication service with the data packet, the remote terminal can receive or send the data packet of the specific communication service through the relay terminal, so as to realize the function corresponding to the specific communication service.
结合第一方面,在第一方面的某些实现方式中,所述目标通信业务包括以下至少一项:高清语音通话业务、高清视频通话业务、网络语音通话业务、网络视频通话业务、二维码业务、支付业务、求救业务、话费充值业务、短信业务、应用通知业务。With reference to the first aspect, in some implementations of the first aspect, the target communication service includes at least one of the following: high-definition voice call service, high-definition video call service, network voice call service, network video call service, two-dimensional code Business, payment business, help business, call charge recharge business, short message business, application notification business.
在本申请中,通过对业务类型进行细致、多样地划分,得到多种多样的通信业务类型,使得数据包可以与具体、特定的业务相关联,进而有利于增加远程终端在多种应用场景中所能够实现的功能。In the present application, various types of communication services are obtained by dividing the service types in a detailed and diverse manner, so that data packets can be associated with specific and specific services, which is beneficial to increase the use of remote terminals in various application scenarios. functions that can be achieved.
结合第一方面,在第一方面的某些实现方式中,在所述远程终端发送中继需求消息之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, before the remote terminal sends the relay requirement message, the communication method further includes:
所述远程终端判断所述远程终端当前处于无网络通信场景。The remote terminal determines that the remote terminal is currently in a scenario of no network communication.
在本申请中,当远程终端处于无网络通信场景的情况下,远程终端本应无法实现有效 的通信,进而无法为用户提供多种多样的应用功能。但是,由于远程终端可以向中继终端请求中继服务,使得远程终端的一部分通信业务数据可以获得中继终端的许可,进而远程终端的用户可以在无网络通信场景下仍然可以使用远程终端的部分功能。这有利于提升远程终端在无网络通信场景下的用户体验感。In the present application, when the remote terminal is in a scenario without network communication, the remote terminal should not be able to achieve effective communication, and thus cannot provide users with a variety of application functions. However, since the remote terminal can request the relay service from the relay terminal, part of the communication service data of the remote terminal can obtain the permission of the relay terminal, so that the user of the remote terminal can still use part of the remote terminal in the scenario of no network communication. Function. This is beneficial to improve the user experience of the remote terminal in the scenario of no network communication.
结合第一方面,在第一方面的某些实现方式中,所述远程终端判断所述远程终端当前处于无网络通信场景,包括:With reference to the first aspect, in some implementations of the first aspect, the remote terminal determines that the remote terminal is currently in a network-free communication scenario, including:
所述远程终端根据以下至少一项,判断所述远程终端当前处于无网络通信场景:所述远程终端的用户标识模块SIM卡接口的状态,所述远程终端的通信套餐使用情况,所述远程终端与网络设备之间的通信状态,所述远程终端的移动数据功能的状态,所述远程终端的无线局域网WLAN功能的状态,所述远程终端的蓝牙功能的状态。The remote terminal judges that the remote terminal is currently in a no-network communication scenario according to at least one of the following: the state of the user identification module SIM card interface of the remote terminal, the usage of the communication package of the remote terminal, the remote terminal The communication status with the network device, the status of the mobile data function of the remote terminal, the status of the wireless local area network WLAN function of the remote terminal, and the status of the Bluetooth function of the remote terminal.
在本申请中,远程终端的正常通信功能可能因多种原因受到限制。In the present application, the normal communication function of the remote terminal may be limited for various reasons.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括第一业务标识,所述第一业务标识与所述目标通信业务对应。With reference to the first aspect, in some implementations of the first aspect, the relay requirement message includes a first service identifier, and the first service identifier corresponds to the target communication service.
在本申请中,由于中继需求消息携带有目标通信业务的标识,使得中继终端可以通过中继需求消息获知远程终端需要被提供的中继服务的具体类型,进而有利于远程终端从中继终端获得特定通信业务的中继服务。In the present application, because the relay demand message carries the identifier of the target communication service, the relay terminal can know the specific type of the relay service that the remote terminal needs to provide through the relay demand message, which is beneficial for the remote terminal to obtain information from the relay terminal. Obtain relay services for specific communication services.
结合第一方面,在第一方面的某些实现方式中,所述第一业务标识用于唯一标识所述目标通信业务。With reference to the first aspect, in some implementations of the first aspect, the first service identifier is used to uniquely identify the target communication service.
在本申请中,由于第一业务标识可以唯一标识通信业务,使得中继终端可以准确获知远程终端需要被提供的中继服务的具体类型。由于通信业务类型可能相对繁多,第一业务标识的数据量可能相对较大。In this application, since the first service identifier can uniquely identify the communication service, the relay terminal can accurately know the specific type of the relay service that the remote terminal needs to provide. Since the types of communication services may be relatively numerous, the data volume of the first service identifier may be relatively large.
结合第一方面,在第一方面的某些实现方式中,所述第一业务标识用于指示所述目标通信业务的优先级。With reference to the first aspect, in some implementations of the first aspect, the first service identifier is used to indicate the priority of the target communication service.
在本申请中,由于第一业务标识可以标识通信业务的优先级,使得中继终端可以根据业务优先级判断是否为远程终端提供中继服务。由于通信业务类型可能相对繁多,通过优先级标识通信业务,有利于减小第一业务标识的数据量。In the present application, since the first service identifier can identify the priority of the communication service, the relay terminal can judge whether to provide a relay service for the remote terminal according to the service priority. Since the types of communication services may be relatively numerous, identifying the communication services by priority is beneficial to reduce the data amount of the first service identification.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括多个业务标识;在所述远程终端通过所述中继终端与网络设备交互之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the relay requirement message includes multiple service identifiers; before the remote terminal interacts with the network device through the relay terminal, the communication method further include:
所述远程终端从所述中继终端接收业务标识确认消息,所述业务标识确认消息包括所述多个业务标识中的第一部分业务标识,所述业务标识确认消息用于指示所述第一部分业务标识对应的通信业务被所述中继终端许可,所述第一部分业务标识包括所述第一业务标识。The remote terminal receives a service identification confirmation message from the relay terminal, where the service identification confirmation message includes the first part of the service identification among the plurality of service identifications, and the service identification confirmation message is used to indicate the first part of the service The communication service corresponding to the identifier is permitted by the relay terminal, and the first part of the service identifier includes the first service identifier.
在本申请中,由于中继终端可以选择为远程终端提供中继服务或不提供中继服务,因此,当中继终端反馈第一部分业务标识后,远程终端即可获知中继终端能够提供的中继服务的具体类型。In this application, since the relay terminal can choose to provide the relay service for the remote terminal or not to provide the relay service, after the relay terminal feeds back the first part of the service identifier, the remote terminal can know the relay terminal that the relay terminal can provide. The specific type of service.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括所述远程终端的终端标识。With reference to the first aspect, in some implementations of the first aspect, the relay requirement message includes a terminal identifier of the remote terminal.
结合第一方面,在第一方面的某些实现方式中,所述第一数据包包括第二业务标识,所述第二业务标识与所述目标通信业务对应。With reference to the first aspect, in some implementations of the first aspect, the first data packet includes a second service identifier, and the second service identifier corresponds to the target communication service.
在本申请中,由于第一数据包携带有目标通信业务的标识,使得中继终端获知该第一数据包与目标通信业务相关,并获知远程终端需要被提供的中继服务的具体类型,进而有利于远程终端从中继终端获得特定通信业务的中继服务。In the present application, since the first data packet carries the identifier of the target communication service, the relay terminal can know that the first data packet is related to the target communication service, and know the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
结合第一方面,在第一方面的某些实现方式中,所述第二数据包包括第三业务标识,所述第三业务标识与所述目标通信业务对应。With reference to the first aspect, in some implementations of the first aspect, the second data packet includes a third service identifier, and the third service identifier corresponds to the target communication service.
在本申请中,由于第二数据包携带有目标通信业务的标识,使得中继终端获知该第二数据包与目标通信业务相关,并获知远程终端需要被提供的中继服务的具体类型,进而有利于远程终端从中继终端获得特定通信业务的中继服务。In the present application, since the second data packet carries the identifier of the target communication service, the relay terminal knows that the second data packet is related to the target communication service, and knows the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
结合第一方面,在第一方面的某些实现方式中,所述远程终端发送中继需求消息,包括:With reference to the first aspect, in some implementations of the first aspect, the remote terminal sends a relay requirement message, including:
所述远程终端按照第一周期发送所述中继需求消息,所述第一周期小于40ms。The remote terminal sends the relay requirement message according to a first period, and the first period is less than 40ms.
在本申请中,远程终端按照相对较快的频率发送中继需求消息,有利于尽快收到中继终端的反馈,提升远程终端的用户体验感。In the present application, the remote terminal sends the relay demand message according to a relatively fast frequency, which is beneficial to receive feedback from the relay terminal as soon as possible and improve the user experience of the remote terminal.
结合第一方面,在第一方面的某些实现方式中,所述远程终端发送中继需求消息,包括:With reference to the first aspect, in some implementations of the first aspect, the remote terminal sends a relay requirement message, including:
所述远程终端按照频分双工的方式在授权频段上发送所述中继需求消息;或者,The remote terminal sends the relay request message on the licensed frequency band in a frequency division duplex manner; or,
所述远程终端在非授权频段上发送所述中继需求消息。The remote terminal sends the relay request message on an unlicensed frequency band.
在本申请中,按照频分双工的方式在授权频段上发送中继需求消息,或者在非授权频段上发送中继需求消息,有利于缩短中继需求消息的发送周期,进而有利于尽快收到中继终端的反馈,提升远程终端的用户体验感。In the present application, sending the relay demand message on the licensed frequency band or sending the relay demand message on the unlicensed frequency band according to the frequency division duplexing method is beneficial to shorten the sending period of the relay demand message, and is further beneficial to receive the relay demand message as soon as possible. The feedback to the relay terminal improves the user experience of the remote terminal.
结合第一方面,在第一方面的某些实现方式中,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the communication method further includes:
所述远程终端显示目标用户界面,所述目标用户界面包括以下至少一项:无网络通信的开关控件、远程终端的开关控件、远程终端的通信参数。The remote terminal displays a target user interface, and the target user interface includes at least one of the following: a switch control without network communication, a switch control of the remote terminal, and a communication parameter of the remote terminal.
在本申请中,用户可以通过远程终端的用户界面进行手势操作,以实现个性化的功能。In the present application, the user can perform gesture operations through the user interface of the remote terminal to implement personalized functions.
结合第一方面,在第一方面的某些实现方式中,所述远程终端的通信参数包括以下至少一项:耗电模式、单次时长限制、默认开启时段、业务白名单、业务黑名单、中继终端白名单、中继终端黑名单。With reference to the first aspect, in some implementations of the first aspect, the communication parameters of the remote terminal include at least one of the following: power consumption mode, single duration limit, default open period, service whitelist, service blacklist, Relay terminal whitelist and relay terminal blacklist.
在本申请中,用户可以通过调整远程终端的各种通信参数,以实现个性化的功能。In the present application, the user can realize personalized functions by adjusting various communication parameters of the remote terminal.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括与二维码业务对应的业务标识,所述第一数据包用于请求二维码的信息,所述第二数据包包括所述二维码的信息,在所述远程终端发送中继需求消息之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the relay requirement message includes a service identifier corresponding to the two-dimensional code service, the first data packet is used to request information of the two-dimensional code, and the The second data packet includes the information of the two-dimensional code, and before the remote terminal sends the relay request message, the communication method further includes:
所述远程终端显示与二维码加载相关的第一用户界面,所述远程终端当前处于无网络通信场景;The remote terminal displays a first user interface related to the loading of the two-dimensional code, and the remote terminal is currently in a no-network communication scenario;
在所述远程终端通过所述中继终端与网络设备交互之后,所述通信方法还包括:After the remote terminal interacts with the network device through the relay terminal, the communication method further includes:
在所述第一用户界面显示所述二维码的图案。The pattern of the two-dimensional code is displayed on the first user interface.
通常而言,为保证信息安全性,二维码一般在相对较短的时间内更新多次,这使得二维码业务具有相对较高的紧急性。当远程终端无法快速从网络设备获取二维码时,可以通过中继终端快速获取二维码,进而完成与二维码相关的业务或功能。Generally speaking, in order to ensure information security, the two-dimensional code is generally updated multiple times in a relatively short period of time, which makes the two-dimensional code business relatively high urgency. When the remote terminal cannot quickly obtain the two-dimensional code from the network device, the two-dimensional code can be quickly obtained through the relay terminal, thereby completing the business or function related to the two-dimensional code.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括与支付业务对 应的业务标识,所述第一数据包用于请求公交卡的充值信息,所述第二数据包包括所述公交卡的充值信息,在所述远程终端发送中继需求消息之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the relay demand message includes a service identifier corresponding to a payment service, the first data packet is used to request recharge information of the bus card, and the second The data packet includes the recharge information of the bus card, and before the remote terminal sends the relay demand message, the communication method further includes:
所述远程终端显示与公交卡充值相关的第二用户界面,所述远程终端当前处于无网络通信场景;The remote terminal displays a second user interface related to the recharging of the bus card, and the remote terminal is currently in a scenario without network communication;
在所述远程终端通过所述中继终端与网络设备交互之后,所述通信方法还包括:After the remote terminal interacts with the network device through the relay terminal, the communication method further includes:
在所述第二用户界面显示第一指示信息,所述第一指示信息指示公交卡充值完成。First indication information is displayed on the second user interface, and the first indication information indicates that the recharging of the bus card is completed.
通常而言,远程终端可以通过短距离通信技术完成公交卡充值,而当远程终端无法从网络设备快速获取公交卡的充值信息的时候,会有损公交卡充值流程的便捷度。在本申请中,远程终端可以通过中继终端快速获取公交卡的充值信息,进而实现公交卡充值功能。Generally speaking, the remote terminal can complete the recharge of the bus card through short-distance communication technology, but when the remote terminal cannot quickly obtain the recharge information of the bus card from the network device, the convenience of the bus card recharge process will be compromised. In the present application, the remote terminal can quickly obtain the recharge information of the bus card through the relay terminal, thereby realizing the recharge function of the bus card.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括与短信业务对应的业务标识,所述第一数据包用于请求验证码,所述第二数据包包括所述验证码,在所述远程终端发送中继需求消息之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the relay requirement message includes a service identifier corresponding to the short message service, the first data packet is used to request a verification code, and the second data packet includes For the verification code, before the remote terminal sends the relay requirement message, the communication method further includes:
所述远程终端显示与获取验证码相关的第三用户界面,所述远程终端当前处于无网络通信场景;The remote terminal displays a third user interface related to obtaining the verification code, and the remote terminal is currently in a scenario of no network communication;
在所述远程终端通过所述中继终端与网络设备交互之后,所述通信方法还包括:After the remote terminal interacts with the network device through the relay terminal, the communication method further includes:
在所述第三用户界面显示所述验证码。The verification code is displayed on the third user interface.
通常而言,为保证信息安全性,验证码的有效期相对较短,这使得短信业务或验证码业务具有相对较高的紧急性。当远程终端无法快速从网络设备获取验证码时,可以通过中继终端快速获取验证码,进而完成与验证码相关的业务或功能。Generally speaking, in order to ensure information security, the validity period of the verification code is relatively short, which makes the short message service or the verification code service relatively urgent. When the remote terminal cannot quickly obtain the verification code from the network device, the relay terminal can quickly obtain the verification code, thereby completing the business or function related to the verification code.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括与支付业务对应的业务标识,所述第一数据包用于请求与话费充值相关的信息,所述第二数据包包括所述与话费充值相关的信息,在所述远程终端发送中继需求消息之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the relay requirement message includes a service identifier corresponding to the payment service, the first data packet is used to request information related to telephone charge recharge, and the first data packet The second data packet includes the information related to the telephone charge recharge, and before the remote terminal sends the relay demand message, the communication method further includes:
所述远程终端显示与话费充值相关的第四用户界面,所述远程终端当前处于无网络通信场景;The remote terminal displays a fourth user interface related to phone bill recharge, and the remote terminal is currently in a scenario without network communication;
在所述远程终端通过所述中继终端与网络设备交互之后,所述通信方法还包括:After the remote terminal interacts with the network device through the relay terminal, the communication method further includes:
在所述第四用户界面显示第二指示信息,所述第二指示信息指示话费充值完成。Second indication information is displayed on the fourth user interface, and the second indication information indicates that the phone bill recharge is completed.
通常而言,远程终端即使在正常网络场景下,因话费余额不足而无法与网络设备正常通信,一旦话费充值完毕,远程终端即可以与网络设备正常通信。远程终端可以通过中继终端完成话费充值流程,进而恢复正常通信功能。Generally speaking, even in a normal network scenario, the remote terminal cannot communicate with the network device normally due to insufficient call credit balance. Once the call credit is recharged, the remote terminal can communicate with the network device normally. The remote terminal can complete the call charge recharge process through the relay terminal, and then restore the normal communication function.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括与支付业务对应的业务标识,所述第一数据包用于请求与停车费相关的信息,所述第二数据包包括所述与停车费相关的信息,在所述远程终端发送中继需求消息之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the relay requirement message includes a service identifier corresponding to a payment service, the first data packet is used to request information related to parking fees, and the first data packet is used to request information related to parking fees. The second data packet includes the parking fee-related information, and before the remote terminal sends the relay demand message, the communication method further includes:
所述远程终端显示与停车费支付相关的第五用户界面,所述远程终端当前处于无网络通信场景;The remote terminal displays a fifth user interface related to parking fee payment, and the remote terminal is currently in a scenario without network communication;
在所述远程终端通过所述中继终端与网络设备交互之后,所述通信方法还包括:After the remote terminal interacts with the network device through the relay terminal, the communication method further includes:
在所述第五用户界面显示第三指示信息,所述第三指示信息指示停车费支付完成。Third indication information is displayed on the fifth user interface, and the third indication information indicates that the payment of the parking fee is completed.
用户通常可以在地下车库的出口支付停车费用。如果停车费用的总支付时间较长,可能导致车辆在车库出口发生拥挤。当远程终端无法快速从网络设备获取与停车费相关的信息时,可以通过中继终端快速获取与停车费相关的信息,进而完成停车费支付。Users can usually pay for parking at the exit of the underground garage. If the total payment time for parking fees is long, it may result in congestion of vehicles at the garage exit. When the remote terminal cannot quickly acquire the information related to the parking fee from the network device, it can quickly acquire the information related to the parking fee through the relay terminal, and then complete the payment of the parking fee.
结合第一方面,在第一方面的某些实现方式中,所述中继需求消息包括与求救业务对应的业务标识,所述第一数据包包括求救电话的上传语音包,所述第二数据包包括所述求救电话的下传语音包,在所述远程终端发送中继需求消息之前,所述通信方法还包括:With reference to the first aspect, in some implementations of the first aspect, the relay demand message includes a service identifier corresponding to a distress service, the first data packet includes an uploaded voice packet of a distress call, and the second data packet The packet includes the downlink voice packet of the distress call, and before the remote terminal sends the relay demand message, the communication method further includes:
所述远程终端显示与所述求救电话相关的第六用户界面,所述远程终端当前处于无网络通信场景;The remote terminal displays a sixth user interface related to the distress call, and the remote terminal is currently in a scenario without network communication;
在所述远程终端通过所述中继终端与网络设备交互的同时,所述通信方法还包括:While the remote terminal interacts with the network device through the relay terminal, the communication method further includes:
在所述第六用户界面显示第四指示信息,所述第四指示信息指示所述远程终端已接通所述求救电话。Fourth indication information is displayed on the sixth user interface, and the fourth indication information indicates that the remote terminal has connected the emergency call.
用户通常在紧急或危险的状况下才会使用求救电话。如果远程终端的信号相对较差,则可能因求救失败而造成严重后果。当远程终端无法直接与网络设备交互求救电话的语音包时,可以通过中继终端与网络设备交互求救电话的语音包,进而有利于提高求救成功率。Users usually only use SOS calls in emergency or dangerous situations. If the signal of the remote terminal is relatively poor, there may be serious consequences due to the failure to call for help. When the remote terminal cannot directly exchange the voice packet of the distress call with the network device, the voice packet of the distress call can be exchanged with the network device through the relay terminal, thereby helping to improve the success rate of the distress call.
第二方面,提供了一种通信方法,包括:In a second aspect, a communication method is provided, comprising:
中继终端从远程终端接收中继需求消息;The relay terminal receives the relay demand message from the remote terminal;
所述中继终端根据所述中继需求消息,与所述远程终端建立侧链路通信连接,所述侧链路通信连接用于传输与目标通信业务对应的数据包;establishing, by the relay terminal, a side link communication connection with the remote terminal according to the relay demand message, where the side link communication connection is used to transmit data packets corresponding to the target communication service;
所述中继终端在所述远程终端与网络设备之间转发消息,包括:The relay terminal forwards messages between the remote terminal and the network device, including:
所述中继终端通过所述侧链路通信连接,从远程终端接收与所述目标通信业务对应的第一数据包,并将所述第一数据包转发至所述网络设备;和/或,The relay terminal is connected through the side link communication, receives a first data packet corresponding to the target communication service from a remote terminal, and forwards the first data packet to the network device; and/or,
所述中继终端从所述网络设备接收与所述目标通信业务对应的第二数据包,并通过所述侧链路通信连接将所述第二数据包转发至所述远程终端。The relay terminal receives a second data packet corresponding to the target communication service from the network device, and forwards the second data packet to the remote terminal through the side link communication connection.
在本申请中,通过将通信业务的类型与数据包关联起来,使得中继终端可以为远程终端可以转发特定通信业务的数据包,以便于远程终端实现特定通信业务所对应的功能。In this application, by associating the type of the communication service with the data packet, the relay terminal can forward the data packet of the specific communication service for the remote terminal, so that the remote terminal can realize the function corresponding to the specific communication service.
结合第二方面,在第二方面的某些实现方式中,所述目标通信业务包括以下至少一项:高清语音通话业务、高清视频通话业务、网络语音通话业务、网络视频通话业务、二维码业务、支付业务、求救业务、话费充值业务、短信业务、应用通知业务。With reference to the second aspect, in some implementations of the second aspect, the target communication service includes at least one of the following: a high-definition voice call service, a high-definition video call service, an Internet voice call service, an Internet video call service, and a two-dimensional code Business, payment business, help business, call charge recharge business, short message business, application notification business.
在本申请中,通过对业务类型进行细致、多样地划分,得到多种多样的通信业务类型,使得数据包可以与具体、特定的业务相关联,进而有利于增加远程终端在多种应用场景中所能够实现的功能。In the present application, various types of communication services are obtained by dividing the service types in a detailed and diverse manner, so that data packets can be associated with specific and specific services, which is beneficial to increase the use of remote terminals in various application scenarios. functions that can be achieved.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括以下至少一项:With reference to the second aspect, in some implementations of the second aspect, the relay requirement message includes at least one of the following:
所述远程终端的终端标识;the terminal identifier of the remote terminal;
无网络通信标识,所述无网络通信标识用于指示所述远程终端当前处于无网络通信状态;no network communication identification, the no network communication identification is used to indicate that the remote terminal is currently in a no network communication state;
第一业务标识,所述第一业务标识与所述目标通信业务对应。A first service identifier, where the first service identifier corresponds to the target communication service.
在本申请中,当远程终端处于无网络通信场景的情况下,远程终端本应无法实现有效的通信,进而无法为用户提供多种多样的应用功能。但是,由于中继需求消息可以携带无网络通信标识,有利于中继终端优先为无网络通信的远程终端提供中继服务,有利于远程终端的通信业务数据可以获得中继终端的许可,进而远程终端的用户可以在无网络通信场景下仍然可以使用远程终端的部分功能。这有利于提升远程终端在无网络通信场景下的用户体验感。In the present application, when the remote terminal is in a scenario without network communication, the remote terminal should not be able to achieve effective communication, and thus cannot provide users with a variety of application functions. However, since the relay request message can carry the no-network communication identifier, it is beneficial for the relay terminal to preferentially provide relay services for the remote terminal without network communication, and it is beneficial for the communication service data of the remote terminal to obtain the permission of the relay terminal. The user of the terminal can still use some functions of the remote terminal in the scenario of no network communication. This is beneficial to improve the user experience of the remote terminal in the scenario of no network communication.
在本申请中,由于中继需求消息携带有目标通信业务的标识,使得中继终端可以通过中继需求消息获知远程终端需要被提供的中继服务的具体类型,进而有利于中继终端为远程终端提供特定通信业务的中继服务。In the present application, since the relay demand message carries the identifier of the target communication service, the relay terminal can know the specific type of the relay service that the remote terminal needs to provide through the relay demand message, which is beneficial for the relay terminal to provide the remote terminal. The terminal provides relay services for specific communication services.
结合第二方面,在第二方面的某些实现方式中,所述第一业务标识用于唯一标识所述目标通信业务。With reference to the second aspect, in some implementations of the second aspect, the first service identifier is used to uniquely identify the target communication service.
在本申请中,由于第一业务标识可以唯一标识通信业务,使得中继终端可以准确获知远程终端需要被提供的中继服务的具体类型。由于通信业务类型可能相对繁多,第一业务标识的数据量可能相对较大。In this application, since the first service identifier can uniquely identify the communication service, the relay terminal can accurately know the specific type of the relay service that the remote terminal needs to provide. Since the types of communication services may be relatively numerous, the data volume of the first service identifier may be relatively large.
结合第二方面,在第二方面的某些实现方式中,所述第一业务标识用于指示所述目标通信业务的优先级。With reference to the second aspect, in some implementations of the second aspect, the first service identifier is used to indicate the priority of the target communication service.
在本申请中,由于第一业务标识可以标识通信业务的优先级,使得中继终端可以根据业务优先级判断是否为远程终端提供中继服务。由于通信业务类型可能相对繁多,通过优先级标识通信业务,有利于减小第一业务标识的数据量。In the present application, since the first service identifier can identify the priority of the communication service, the relay terminal can judge whether to provide a relay service for the remote terminal according to the service priority. Since the types of communication services may be relatively numerous, identifying the communication services by priority is beneficial to reduce the data amount of the first service identification.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括多个业务标识;在所述中继终端在所述远程终端与网络设备之间转发消息之前,所述通信方法还包括:With reference to the second aspect, in some implementations of the second aspect, the relay requirement message includes multiple service identifiers; before the relay terminal forwards the message between the remote terminal and the network device, the Communication methods also include:
所述中继终端向所述远程终端发送业务标识确认消息,所述业务标识确认消息包括所述多个业务标识中的第一部分业务标识;The relay terminal sends a service identifier confirmation message to the remote terminal, where the service identifier confirmation message includes the first part of the service identifiers in the plurality of service identifiers;
所述中继终端在所述远程终端与网络设备之间转发消息,包括:The relay terminal forwards messages between the remote terminal and the network device, including:
所述中继终端在所述远程终端与网络设备之间转发与所述第一部分业务标识对应的消息,并丢弃与第二部分业务标识对应的消息,所述第二部分业务标识包括所述多个业务标识中除所述第一部分业务标识以外的剩余业务标识,所述第一部分业务标识包括所述第一业务标识。The relay terminal forwards the message corresponding to the first part of the service identifier between the remote terminal and the network device, and discards the message corresponding to the second part of the service identifier, where the second part of the service identifier includes the multiple service identifiers. The remaining service identifiers except the first part of the service identifiers in each of the service identifiers, where the first part of the service identifiers include the first service identifier.
在本申请中,由于中继终端可以选择为远程终端提供中继服务或不提供中继服务,因此,当中继终端反馈第一部分业务标识后,远程终端即可获知中继终端能够提供的中继服务的具体类型。In this application, since the relay terminal can choose to provide the relay service for the remote terminal or not to provide the relay service, after the relay terminal feeds back the first part of the service identifier, the remote terminal can know the relay terminal that the relay terminal can provide. The specific type of service.
结合第二方面,在第二方面的某些实现方式中,所述中继终端根据所述中继需求消息,与所述远程终端建立侧链路通信连接,包括:With reference to the second aspect, in some implementations of the second aspect, the relay terminal establishes a side link communication connection with the remote terminal according to the relay demand message, including:
在所述第一业务标识满足第一业务预设条件的情况下,所述中继终端与所述远程终端建立侧链路通信连接,其中,所述第一业务标识满足第一业务预设条件包括以下至少一项:The relay terminal establishes a side link communication connection with the remote terminal under the condition that the first service identifier satisfies the first service preset condition, wherein the first service identifier satisfies the first service preset condition Include at least one of the following:
所述第一业务标识对应的优先级高于第一预设业务优先级;The priority corresponding to the first service identifier is higher than the first preset service priority;
所述第一业务标识对应的目标通信业务属于所述中继终端的业务白名单;The target communication service corresponding to the first service identifier belongs to the service whitelist of the relay terminal;
所述第一业务标识对应的目标通信业务不属于所述中继终端的业务黑名单。The target communication service corresponding to the first service identifier does not belong to the service blacklist of the relay terminal.
在本申请中,中继终端可以根据用户设定的通信参数,判断是否为远程终端提供中继服务。In the present application, the relay terminal may determine whether to provide a relay service for the remote terminal according to the communication parameters set by the user.
结合第二方面,在第二方面的某些实现方式中,所述中继终端根据所述中继需求消息,与所述远程终端建立侧链路通信连接,包括:With reference to the second aspect, in some implementations of the second aspect, the relay terminal establishes a side link communication connection with the remote terminal according to the relay demand message, including:
在所述终端标识满足第一终端预设条件的情况下,所述中继终端与所述远程终端建立侧链路通信连接,其中,所述终端标识满足第一终端预设条件包括以下任一项:The relay terminal establishes a side link communication connection with the remote terminal when the terminal identifier satisfies the preset condition of the first terminal, wherein the terminal identifier satisfies the preset condition of the first terminal including any one of the following item:
所述终端标识在所述中继终端的远程终端白名单中;The terminal identifier is in the remote terminal whitelist of the relay terminal;
所述终端标识不在所述中继终端的远程终端黑名单中。The terminal identification is not in the remote terminal blacklist of the relay terminal.
在本申请中,中继终端可以根据用户设定的通信参数,判断是否为远程终端提供中继服务。In the present application, the relay terminal may determine whether to provide a relay service for the remote terminal according to the communication parameters set by the user.
结合第二方面,在第二方面的某些实现方式中,所述第一数据包包括第二业务标识,所述第二业务标识与所述目标通信业务对应。With reference to the second aspect, in some implementations of the second aspect, the first data packet includes a second service identifier, and the second service identifier corresponds to the target communication service.
在本申请中,由于第一数据包携带有目标通信业务的标识,使得中继终端获知该第一数据包与目标通信业务相关,并获知远程终端需要被提供的中继服务的具体类型,进而有利于远程终端从中继终端获得特定通信业务的中继服务。In the present application, since the first data packet carries the identifier of the target communication service, the relay terminal can know that the first data packet is related to the target communication service, and know the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
结合第二方面,在第二方面的某些实现方式中,所述第二数据包包括第三业务标识,所述第三业务标识与所述目标通信业务对应。With reference to the second aspect, in some implementations of the second aspect, the second data packet includes a third service identifier, and the third service identifier corresponds to the target communication service.
在本申请中,由于第二数据包携带有目标通信业务的标识,使得中继终端获知该第二数据包与目标通信业务相关,并获知远程终端需要被提供的中继服务的具体类型,进而有利于远程终端从中继终端获得特定通信业务的中继服务。In the present application, since the second data packet carries the identifier of the target communication service, the relay terminal knows that the second data packet is related to the target communication service, and knows the specific type of relay service that the remote terminal needs to be provided, and further A relay service that is beneficial for a remote terminal to obtain a specific communication service from a relay terminal.
结合第二方面,在第二方面的某些实现方式中,在所述中继终端从远程终端接收中继需求消息之前,所述通信方法还包括:With reference to the second aspect, in some implementations of the second aspect, before the relay terminal receives the relay demand message from the remote terminal, the communication method further includes:
所述中继终端按照第二周期监听所述中继需求消息,所述第二周期的时长大于512ms。The relay terminal monitors the relay demand message according to a second period, and the duration of the second period is greater than 512 ms.
在本申请中,中继终端按照相对较慢的频率监听中继需求消息,有利于减少中继终端的功耗。In the present application, the relay terminal monitors the relay demand message at a relatively slow frequency, which is beneficial to reduce the power consumption of the relay terminal.
结合第二方面,在第二方面的某些实现方式中,所述中继终端按照第二周期监听所述中继需求消息,包括:With reference to the second aspect, in some implementations of the second aspect, the relay terminal monitors the relay demand message according to a second period, including:
所述中继终端按照所述第二周期驱动所述中继终端的侧链路通信模块,以监听所述中继需求消息,其中,在每个第二周期内,所述中继终端驱动所述侧链路通信模块的时长等于所述中继需求消息的发送周期与所述中继需求消息所占用的时域之和。The relay terminal drives the side link communication module of the relay terminal according to the second cycle to monitor the relay demand message, wherein, in each second cycle, the relay terminal drives the The duration of the side link communication module is equal to the sum of the sending period of the relay requirement message and the time domain occupied by the relay requirement message.
在本申请中,通过设定每个监听周期内侧链路通信模块的驱动时长,既有利于节省中继终端的功耗,又有利于提高监听中继需求消息的成功率。In the present application, by setting the driving duration of the link communication module inside each listening period, it is not only beneficial to save the power consumption of the relay terminal, but also to improve the success rate of monitoring the relay demand message.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息的发送周期小于40ms。With reference to the second aspect, in some implementations of the second aspect, the sending period of the relay requirement message is less than 40ms.
在本申请中,远程终端按照相对较快的频率发送中继需求消息,有利于尽快收到中继终端的反馈,提升远程终端的用户体验感。In the present application, the remote terminal sends the relay demand message according to a relatively fast frequency, which is beneficial to receive feedback from the relay terminal as soon as possible and improve the user experience of the remote terminal.
结合第二方面,在第二方面的某些实现方式中,所述中继终端包括第一通信模块、第二通信模块,所述第一通信模块用于所述中继终端与所述网络设备之间的交互,所述第二通信模块用于所述中继终端与所述远程终端之间的交互,在第一通信模块、第二通信模块的每个驱动周期内,第一通信模块的驱动时段与第二通信模块的驱动时段至少部分重叠。With reference to the second aspect, in some implementations of the second aspect, the relay terminal includes a first communication module and a second communication module, and the first communication module is used for the relay terminal and the network device interaction between the two communication modules, the second communication module is used for the interaction between the relay terminal and the remote terminal, in each driving cycle of the first communication module and the second communication module, the first communication module The driving period at least partially overlaps the driving period of the second communication module.
在本申请中,将多个通信模块的驱动时段重叠起来,有利于减少与该多个通信模块相关的其他模块的驱动次数,进而有利于减少中继终端的功耗。In the present application, overlapping the driving periods of the plurality of communication modules is beneficial to reduce the driving times of other modules related to the plurality of communication modules, thereby reducing the power consumption of the relay terminal.
结合第二方面,在第二方面的某些实现方式中,在所述中继终端的第一通信模块从连接态切出后,所述第一通信模块的驱动起始时刻与所述第二通信模块的驱动起始时刻为同一时刻。With reference to the second aspect, in some implementations of the second aspect, after the first communication module of the relay terminal is switched from the connected state, the driving start time of the first communication module is the same as that of the second communication module. The driving start time of the communication module is the same time.
在本申请中,将多个通信模块的驱动起始时刻对齐,有利于增大多个通信模块的驱动时段的重叠时间量。In the present application, aligning the driving start times of the plurality of communication modules is beneficial to increase the overlapping time amount of the driving periods of the plurality of communication modules.
结合第二方面,在第二方面的某些实现方式中,所述通信方法还包括:In conjunction with the second aspect, in some implementations of the second aspect, the communication method further includes:
所述中继终端显示用户界面,所述用户界面包括以下至少一项:无网络通信的开关控件、中继终端的开关控件、中继终端的通信参数。The relay terminal displays a user interface, and the user interface includes at least one of the following: a switch control without network communication, a switch control of the relay terminal, and communication parameters of the relay terminal.
在本申请中,用户可以通过中继终端的用户界面进行手势操作,以实现个性化的功能。In the present application, the user may perform gesture operations through the user interface of the relay terminal to implement personalized functions.
结合第二方面,在第二方面的某些实现方式中,所述中继终端的通信参数包括以下至少一项:耗电模式、单次时长限制、单次流量限制、默认开启时段、业务白名单、业务黑名单、远程终端白名单、远程终端黑名单。With reference to the second aspect, in some implementations of the second aspect, the communication parameters of the relay terminal include at least one of the following: power consumption mode, single-time duration limit, single-time traffic limit, default open period, service white List, business blacklist, remote terminal whitelist, remote terminal blacklist.
在本申请中,用户可以通过调整中继终端的各种通信参数,以实现个性化的功能。In the present application, the user can realize personalized functions by adjusting various communication parameters of the relay terminal.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括与二维码业务对应的业务标识,所述第一数据包用于请求二维码的信息,所述第二数据包包括所述二维码的信息。With reference to the second aspect, in some implementations of the second aspect, the relay requirement message includes a service identifier corresponding to the two-dimensional code service, the first data packet is used to request information of the two-dimensional code, and the The second data packet includes the information of the two-dimensional code.
通常而言,为保证信息安全性,二维码一般在相对较短的时间内更新多次,这使得二维码业务具有相对较高的紧急性。当远程终端无法快速从网络设备获取二维码时,可以通过中继终端快速获取二维码,进而完成与二维码相关的业务或功能。Generally speaking, in order to ensure information security, the two-dimensional code is generally updated multiple times in a relatively short period of time, which makes the two-dimensional code business relatively high urgency. When the remote terminal cannot quickly obtain the two-dimensional code from the network device, the two-dimensional code can be quickly obtained through the relay terminal, thereby completing the business or function related to the two-dimensional code.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括与支付业务对应的业务标识,所述第一数据包用于请求公交卡的充值信息,所述第二数据包包括所述公交卡的充值信息。With reference to the second aspect, in some implementations of the second aspect, the relay demand message includes a service identifier corresponding to the payment service, the first data packet is used to request recharge information of the bus card, and the second The data package includes recharge information of the bus card.
通常而言,远程终端可以通过短距离通信技术完成公交卡充值,而当远程终端无法从网络设备快速获取公交卡的充值信息的时候,会有损公交卡充值流程的便捷度。在本申请中,远程终端可以通过中继终端快速获取公交卡的充值信息,进而实现公交卡充值功能。Generally speaking, the remote terminal can complete the recharge of the bus card through short-distance communication technology, but when the remote terminal cannot quickly obtain the recharge information of the bus card from the network device, the convenience of the bus card recharge process will be compromised. In the present application, the remote terminal can quickly obtain the recharge information of the bus card through the relay terminal, thereby realizing the recharge function of the bus card.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括与短信业务对应的业务标识,所述第一数据包用于请求验证码,所述第二数据包包括所述验证码。With reference to the second aspect, in some implementations of the second aspect, the relay requirement message includes a service identifier corresponding to the short message service, the first data packet is used to request a verification code, and the second data packet includes the verification code.
通常而言,为保证信息安全性,验证码的有效期相对较短,这使得短信业务或验证码业务具有相对较高的紧急性。当远程终端无法快速从网络设备获取验证码时,可以通过中继终端快速获取验证码,进而完成与验证码相关的业务或功能。Generally speaking, in order to ensure information security, the validity period of the verification code is relatively short, which makes the short message service or the verification code service relatively urgent. When the remote terminal cannot quickly obtain the verification code from the network device, the relay terminal can quickly obtain the verification code, thereby completing the business or function related to the verification code.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括与支付业务对应的业务标识,所述第一数据包用于请求与话费充值相关的信息,所述第二数据包包括所述与话费充值相关的信息。With reference to the second aspect, in some implementations of the second aspect, the relay requirement message includes a service identifier corresponding to the payment service, the first data packet is used to request information related to telephone charge recharge, and the first data packet The second data package includes the information related to the phone bill recharge.
通常而言,远程终端即使在正常网络场景下,因话费余额不足而无法与网络设备正常通信,一旦话费充值完毕,远程终端即可以与网络设备正常通信。远程终端可以通过中继终端完成话费充值流程,进而恢复正常通信功能。Generally speaking, even in a normal network scenario, the remote terminal cannot communicate with the network device normally due to insufficient call credit balance. Once the call credit is recharged, the remote terminal can communicate with the network device normally. The remote terminal can complete the call charge recharge process through the relay terminal, and then restore the normal communication function.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括与支付业务对应的业务标识,所述第一数据包用于请求与停车费相关的信息,所述第二数据包包括所述与停车费相关的信息。With reference to the second aspect, in some implementations of the second aspect, the relay demand message includes a service identifier corresponding to a payment service, the first data packet is used to request information related to parking fees, and the first data packet is used to request information related to parking fees. The second data packet includes the information related to the parking fee.
用户通常可以在地下车库的出口支付停车费用。如果停车费用的总支付时间较长,可能导致车辆在车库出口发生拥挤。当远程终端无法快速从网络设备获取与停车费相关的信息时,可以通过中继终端快速获取与停车费相关的信息,进而完成停车费支付。Users can usually pay for parking at the exit of the underground garage. If the total payment time for parking fees is long, it may result in congestion of vehicles at the garage exit. When the remote terminal cannot quickly acquire the information related to the parking fee from the network device, it can quickly acquire the information related to the parking fee through the relay terminal, and then complete the payment of the parking fee.
结合第二方面,在第二方面的某些实现方式中,所述中继需求消息包括与求救业务对应的业务标识,所述第一数据包包括求救电话的上传语音包,所述第二数据包包括所述求救电话的下传语音包。With reference to the second aspect, in some implementations of the second aspect, the relay requirement message includes a service identifier corresponding to a distress service, the first data packet includes an uploaded voice packet of a distress call, and the second data packet The package includes the downlink voice package of the distress call.
用户通常在紧急或危险的状况下才会使用求救电话。如果远程终端的信号相对较差,则可能因求救失败而造成严重后果。当远程终端无法直接与网络设备交互求救电话的语音包时,可以通过中继终端与网络设备交互求救电话的语音包,进而有利于提高求救成功率。Users usually only use SOS calls in emergency or dangerous situations. If the signal of the remote terminal is relatively poor, there may be serious consequences due to the failure to call for help. When the remote terminal cannot directly exchange the voice packet of the distress call with the network device, the voice packet of the distress call can be exchanged with the network device through the relay terminal, thereby helping to improve the success rate of the distress call.
第三方面,提供了一种通信装置,包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行上述第一方面或第二方面的任一种可能的实现方式所述的通信方法。In a third aspect, a communication apparatus is provided, comprising: one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs comprising The instructions, when executed by the one or more processors, cause the electronic device to execute the communication method described in any possible implementation manner of the first aspect or the second aspect.
第四方面,提供了一种非易失性计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行上述第一方面或第二方面的任一种可能的实现方式所述的通信方法。In a fourth aspect, a non-volatile computer-readable storage medium is provided, comprising computer instructions that, when the computer instructions are executed on an electronic device, cause the electronic device to perform any of the first or second aspects above. A possible implementation of the described communication method.
第五方面,提供了一种包含指令的计算机程序产品,当该计算机程序产品在电子设备上运行时,使得电子设备执行上述第一方面或第二方面的任一种可能的实现方式所述的通信方法。A fifth aspect provides a computer program product containing instructions, when the computer program product is run on an electronic device, the electronic device is made to execute the above-mentioned first aspect or any one of the possible implementations of the second aspect. communication method.
第六方面,提供了一种通信系统,包括网络设备、远程终端、中继终端,其中,所述远程终端用于执行上述第一方面的任一种可能的实现方式所述的通信方法,所述中继终端用于执行上述第二方面的任一种可能的实现方式所述的通信方法。In a sixth aspect, a communication system is provided, including a network device, a remote terminal, and a relay terminal, wherein the remote terminal is configured to execute the communication method described in any possible implementation manner of the above-mentioned first aspect, and the The relay terminal is configured to execute the communication method described in any possible implementation manner of the second aspect.
图1是车跟万物通信的示意图。Figure 1 is a schematic diagram of the communication between vehicles and everything.
图2是设备到设备的示意图。Figure 2 is a device-to-device schematic.
图3是终端设备的示意性结构图。FIG. 3 is a schematic structural diagram of a terminal device.
图4是本申请实施例提供的一种无网络通信场景的示意图。FIG. 4 is a schematic diagram of a networkless communication scenario provided by an embodiment of the present application.
图5是本申请实施例提供的一种通信方法的示意性流程图。FIG. 5 is a schematic flowchart of a communication method provided by an embodiment of the present application.
图6是本申请实施例提供的一种用户界面的示意图。FIG. 6 is a schematic diagram of a user interface provided by an embodiment of the present application.
图7是本申请实施例提供的一种用户界面的示意图。FIG. 7 is a schematic diagram of a user interface provided by an embodiment of the present application.
图8是本申请实施例提供的一种用户界面的示意图。FIG. 8 is a schematic diagram of a user interface provided by an embodiment of the present application.
图9是中继需求消息承载于一种物理侧链路广播信道的示意图。FIG. 9 is a schematic diagram of a relay request message being carried on a physical side link broadcast channel.
图10是中继需求消息承载于一种物理侧链路广播信道的示意图。FIG. 10 is a schematic diagram of a relay request message being carried on a physical side link broadcast channel.
图11是本申请实施例提供的一种通信方法的示意性流程图。FIG. 11 is a schematic flowchart of a communication method provided by an embodiment of the present application.
图12是一种中继终端监听中继需求消息的时序示意图。FIG. 12 is a schematic sequence diagram of a relay terminal monitoring a relay demand message.
图13是一种中继终端监听中继需求消息的时序示意图。FIG. 13 is a schematic time sequence diagram of a relay terminal monitoring a relay demand message.
图14是一种中继终端监听中继需求消息的时序示意图。FIG. 14 is a schematic time sequence diagram of a relay terminal monitoring a relay demand message.
图15是一种中继终端驱动第一通信模块、第二通信模块的时序示意图。FIG. 15 is a schematic time sequence diagram of a relay terminal driving the first communication module and the second communication module.
图16是本申请实施例提供的一种通信装置的结构性示意图。FIG. 16 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
图17是本申请实施例提供的一种通信装置的结构性示意图。FIG. 17 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
图18是本申请实施例提供的一种通信装置的结构性示意图。FIG. 18 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下中的至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a、b、c、a-b、a-c、b-c、或a-b-c,其中a、b、c可以是单个,也可以是多个。另外,在本申请的实施例中,“第一”、“第二”等字样并不对数目和执行次序进行限定。此外,在本申请实施例中,“301”、“402”、“503”等字样仅为了描述方便作出的标识,并不是对执行步骤的次序进行限定。In this application, "at least one" means one or more, and "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of a single item(s) or a plurality of items(s). For example, at least one (a) of a, b or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c may be single or multiple. In addition, in the embodiments of the present application, words such as "first" and "second" do not limit the number and execution order. In addition, in the embodiments of the present application, words such as "301", "402", "503" and the like are only marks made for convenience of description, and do not limit the order of execution steps.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in this application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通信(global system for mobile communications,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、第五代(5th generation,5G)系统或新无线(new radio,NR)、未来的第六代(6th generation,6G)系统等。此外,本申请实施例的技术方案可以应用于面向未来的通信技术,只要采用新通信技术的通信系统包括终端设备对终端设备的通信(如D2D通信、V2X通信等),都适用本申请实施例提供的技术方案。本申请实施例描述的系统架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: global system for mobile communications (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (general packet radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE Time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, 5th generation (5G) system or new radio (NR), future 6th generation (6G) system, etc. In addition, the technical solutions of the embodiments of the present application can be applied to future-oriented communication technologies. As long as the communication systems adopting new communication technologies include terminal-device-to-terminal-device communication (such as D2D communication, V2X communication, etc.), the embodiments of the present application are all applicable. technical solutions provided. The system architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
本申请实施例的方案可以应用于设备到设备通信(Device-to-Device,D2D)、车联网(即车跟万物通信(vehicle-to-everything,V2X))。The solutions of the embodiments of the present application can be applied to device-to-device communication (Device-to-Device, D2D) and the Internet of Vehicles (that is, vehicle-to-everything (V2X) communication).
D2D通信可以指,在一定距离范围内的多个终端设备之间可以直接通信。D2D设备通信的资源分配主要有两种模式。模式一可以是集中控制式。D2D的资源可以由网络设备进行分配,资源通过调度的方式分配给发送端终端设备使用。模式二可以是基于竞争的分布式资源复用方法。发送端终端设备可以通过竞争的方式从资源池中获得发送资源。资源池是由网络设备分出的一整块资源,发送端终端设备可以在该一整块资源中竞争资源。图2即示出了一种D2D网络系统架构图。D2D communication may refer to direct communication between multiple terminal devices within a certain distance. There are mainly two modes of resource allocation for D2D device communication. Mode one can be centralized control. D2D resources can be allocated by the network device, and the resources are allocated to the sending end terminal device for use by means of scheduling. Mode 2 may be a contention-based distributed resource multiplexing method. The sender terminal device can obtain the sending resource from the resource pool in a competitive manner. The resource pool is a whole block of resources divided by the network equipment, and the terminal equipment at the sending end can compete for resources in the whole block of resources. FIG. 2 shows an architecture diagram of a D2D network system.
V2X是未来智能交通运输系统的关键技术。V2X通信可以包括车辆到车辆(vehicle to vehicle,V2V)通信、车辆到基础设施(vehicle to infrastructure,V2I)通信、车辆到路人(vehicle to pedestrian,V2P)通信以及车辆到网络(vehicle to network,V2N)通信等通信方式,如图1所示。通过V2X通信,可以获得实时路况、道路信息、行人信息等一系列交通信息,进而提高驾驶安全性、减少拥堵、提高交通效率、提供车载娱乐信息等。V2X is a key technology for future intelligent transportation systems. V2X communications may include vehicle-to-vehicle (V2V) communications, vehicle-to-infrastructure (V2I) communications, vehicle-to-pedestrian (V2P) communications, and vehicle-to-network (V2N) communications ) communication and other communication methods, as shown in Figure 1. Through V2X communication, a series of traffic information such as real-time road conditions, road information, and pedestrian information can be obtained, thereby improving driving safety, reducing congestion, improving traffic efficiency, and providing in-vehicle entertainment information.
对于V2V通信,车辆可以将自身的车速、行驶方向、具体位置、是否踩紧急刹车等信息广播给周围车辆。周围车辆的驾驶员通过获取该类信息,可以更好的感知视距外的交通状况,从而对危险状况进行预判和避让。For V2V communication, the vehicle can broadcast information such as its own speed, driving direction, specific location, and whether the emergency brake is applied to surrounding vehicles. By obtaining this kind of information, drivers of surrounding vehicles can better perceive traffic conditions beyond the line of sight, so as to predict and avoid dangerous situations.
对于V2I通信,路边基础设施例如路侧单元(road side unit,RSU)可以为车辆提供各类服务信息和数据网络的接入,例如停车收费、车内娱乐等,这些功能都极大的提高了交通智能化。For V2I communication, roadside infrastructure such as roadside unit (RSU) can provide vehicles with various service information and data network access, such as parking charges, in-car entertainment, etc. These functions are greatly improved intelligent transportation.
对于V2P通信,用户携带的终端设备可以与车辆通信。用户携带的终端设备例如可以是UE(User Equipment,用户设备)、MS(Mobile Station,移动台)、移动终端(Mobile Terminal)、电子标签(V2X车牌,一种具有V2X通信功能的车牌)等。可选的,用户携带的终端设备可以为可穿戴设备、手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等。For V2P communication, the terminal device carried by the user can communicate with the vehicle. The terminal equipment carried by the user may be, for example, UE (User Equipment, user equipment), MS (Mobile Station, mobile station), mobile terminal (Mobile Terminal), electronic label (V2X license plate, a license plate with V2X communication function) and the like. Optionally, the terminal device carried by the user may be a wearable device, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a car computer, and the like.
对于V2N通行,车辆可以与网络如接入网设备、边缘云等进行通信。例如,边缘云可以接收车辆的基本数据(如剩余油量、当前行驶路线等),然后通过云端计算,向车辆发送提示消息(如附近加油站的位置)。For V2N traffic, vehicles can communicate with networks such as access network devices, edge clouds, etc. For example, the edge cloud can receive the basic data of the vehicle (such as the remaining fuel level, the current driving route, etc.), and then send a prompt message (such as the location of the nearby gas station) to the vehicle through cloud computing.
如图2所示,V2X、D2D均可以支持直连通信接口(PC5接口)通信和蜂窝通信接口(Uu接口)通信。As shown in Figure 2, both V2X and D2D can support direct-connected communication interface (PC5 interface) communication and cellular communication interface (Uu interface) communication.
PC5接口可以为两个用户设备(user equipment,UE)之间的参考点,可以用于完成控制面和用户面的信令和数据传输、临近服务发现、直接通信和对终端设备的入网中继功能。The PC5 interface can be a reference point between two user equipment (UE), and can be used to complete signaling and data transmission on the control plane and user plane, proximity service discovery, direct communication, and network access relay to terminal equipment Function.
Uu接口可以为UE与接入网设备之间的接口。其中,该接入网设备可以为通用移动通信系统陆地接入网络(UMTS terrestrial radio access network,UTRAN)中的基站,或环球移动通信系统(universal mobile telecommunications system,UMTS)的基站,或,4G网络中的演进型基站(evolutional node B,eNodeB或eNB),5G网络中的基站(generation node B,gNodeB或gNB),或后续演进网络中的基站,不予限制。The Uu interface may be an interface between the UE and the access network device. The access network device may be a base station in a Universal Mobile Telecommunications System (UMTS terrestrial radio access network, UTRAN), or a base station in a Universal Mobile Telecommunications system (UMTS), or a 4G network Evolved base station (evolutional node B, eNodeB or eNB) in 5G network, base station in 5G network (generation node B, gNodeB or gNB), or base station in subsequent evolution network, without limitation.
在本申请实施例中,PC5接口可以用于UE之间的近距离直接通信或直接通信。通过PC5接口通信的UE可以位于网络覆盖范围内,也可以无网络覆盖,该网络可以是4G通信网络,也可以是5G通信网络,不予限制。PC5接口通信的传输距离例如可以为50~300米,时延要求例如可以为100ms(碰撞20ms)。PC5接口通信可以包括以下至少一种:单播通信方式、组播通信方式、广播通信方式。In this embodiment of the present application, the PC5 interface may be used for short-range direct communication or direct communication between UEs. The UE communicating through the PC5 interface may be located within the network coverage or may not have network coverage. The network may be a 4G communication network or a 5G communication network, which is not limited. The transmission distance of PC5 interface communication may be, for example, 50 to 300 meters, and the time delay requirement may be, for example, 100 ms (collision 20 ms). PC5 interface communication may include at least one of the following: unicast communication, multicast communication, and broadcast communication.
PC5接口的单播通信方式可以指服务器向单个UE发送业务数据的通信方式,即目的地址为单一目标的一种传输方式。V2X服务器和目标UE之间可以通过PC5接口的单播通信方式进行传输。The unicast communication mode of the PC5 interface may refer to the communication mode in which the server sends service data to a single UE, that is, a transmission mode in which the destination address is a single destination. The transmission between the V2X server and the target UE can be carried out through the unicast communication method of the PC5 interface.
PC5接口的组播通信方式可以指服务器向至少两个UE发送业务数据的通信方式,即目的地址为网络中至少两个UE的一种传输方式。这里所说的至少两个UE可以是指在一个区域中的UE,且该至少两个UE可以分为多个组,每一组的UE对应一个地址。V2X 服务器和包括目标UE的区域范围内的UE之间可以通过PC5接口的组播通信方式进行传输。The multicast communication mode of the PC5 interface may refer to a communication mode in which the server sends service data to at least two UEs, that is, a transmission mode in which the destination address is at least two UEs in the network. The at least two UEs mentioned here may refer to UEs in one area, and the at least two UEs may be divided into multiple groups, and each group of UEs corresponds to an address. The transmission between the V2X server and the UEs in the area including the target UE can be carried out through the multicast communication mode of the PC5 interface.
PC5接口的广播通信方式可以指服务器向所有UE发送业务数据的通信方式。The broadcast communication mode of the PC5 interface may refer to the communication mode in which the server sends service data to all UEs.
图3示出了终端设备100的示意性结构图。FIG. 3 shows a schematic structural diagram of the terminal device 100 .
下面以终端设备100为例对实施例进行具体说明。应该理解的是,图3所示终端设备100仅是一个范例,并且终端设备100可以具有比图3中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。终端设备100例如可以是手机、移动电源、便携机、平板电脑、电子阅读器、笔记本电脑、数码相机、车载设备、可穿戴设备、耳机、车载终端等设备。The embodiment will be specifically described below by taking the terminal device 100 as an example. It should be understood that the terminal device 100 shown in FIG. 3 is only an example, and the terminal device 100 may have more or less components than those shown in FIG. 3 , two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits. The terminal device 100 may be, for example, a mobile phone, a power bank, a portable computer, a tablet computer, an electronic reader, a notebook computer, a digital camera, a vehicle-mounted device, a wearable device, an earphone, a vehicle-mounted terminal, and other devices.
终端设备100可以包括:处理器110,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,天线3,移动通信模块150,无线通信模块160,侧链路通信模块180,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。The terminal device 100 may include: a
可以理解的是,本申请实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the terminal device 100 . In other embodiments of the present application, the terminal device 100 may include more or less components than those shown in the drawings, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是终端设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和 一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合充电器,闪光灯,摄像头193等。The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. In some embodiments, the
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现终端设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现终端设备100的显示功能。The MIPI interface can be used to connect the
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect the
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为终端设备100充电,也可以用于终端设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他终端设备,例如AR设备等。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other terminal devices, such as AR devices.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the terminal device 100 . In other embodiments of the present application, the terminal device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过终端设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为其他终端设备供电。The
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外 部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The
终端设备100的无线通信功能可以通过天线1,天线2,天线3,移动通信模块150,无线通信模块160,侧链路通信模块180,调制解调处理器以及基带处理器等实现。The wireless communication function of the terminal device 100 can be implemented by antenna 1, antenna 2, antenna 3,
天线1,天线2和天线3用于发射和接收电磁波信号。终端设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为侧链路通信或无线局域网的分集天线;又如,可以将天线2复用为侧链路通信或蜂窝通信的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1, Antenna 2 and Antenna 3 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 may be multiplexed as a diversity antenna for side-link communication or wireless local area network; for another example, antenna 2 may be multiplexed as a diversity antenna for side-link communication or cellular communication. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在终端设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the
无线通信模块160可以提供应用在终端设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the terminal device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the
侧链路通信模块180可以提供应用在终端设备100上的包括4G侧链路、5G侧链路等侧链路通信的解决方案。侧链路通信模块180可以是集成至少一个通信处理模块的一个或多个器件。侧链路通信模块180经由天线3接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。侧链路通信模块180还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线3转为电磁波辐射出去。在其他场景中,侧链路通信模块180还可以被称为无网络通信模块、辅助通信模块、辅助网络通信模块、中继通信 模块、端对端通信模块。下面以侧链路通信模块为例进行阐述。The side
在一些实施例中,终端设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,终端设备100的天线3和侧链路通信模块180耦合,使得终端设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),第五代(5th generation,5G),新无线(new radio,NR),第六代(6th generation,6G),设备到设备通信(Device-to-Device,D2D),车用无线通信(vehicle-to-everything,V2X),BT,GNSS,WLAN,NFC,FM,和/或IR等技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the terminal device 100 is coupled to the
天线可以被多个通信模块复用。在其他示例中,移动通信模块150、无线通信模块160、侧链路通信模块180中的至少两个通信模块可以与同一个天线耦合。例如,移动通信模块150、无线通信模块160、侧链路通信模块180均与天线4(图3未示出)耦合。又如,移动通信模块150和侧链路通信模块180均与天线5(图3未示出)耦合,无线通信模块160与天线6(图3未示出)耦合。又如,移动通信模块150与天线7(图3未示出)耦合,无线通信模块160和侧链路通信模块180均与天线8(图3未示出)耦合。Antennas can be multiplexed by multiple communication modules. In other examples, at least two communication modules of the
在本申请实施例中,移动通信模块150、无线通信模块160、侧链路通信模块180可以分别使用不同的无线通信技术。例如移动通信模块150可以使用2G、3G、4G、LTE、5G、6G等通信技术,无线通信模块160可以使用BT、GNSS、WLAN、NFC、FM、IR等通信技术,侧链路通信模块180可以使用4G侧链路、5G侧链路等通信技术。In this embodiment of the present application, the
在一个示例中,终端设备可以包括基带芯片,该基带芯片可以包括与移动通信模块150、无线通信模块160、侧链路通信模块180一一对应的移动通信调制解调器、无线通信调制解调器、侧链路通信调制解调器。In one example, the terminal device may include a baseband chip, and the baseband chip may include a mobile communication modem, a wireless communication modem, and a side link communication module corresponding to the
移动通信调制解调器例如可以包括与2G、3G、4G、LTE、5G、6G一一对应的多个协议栈,以使得移动通信调制解调器可以用于2G、3G、4G、LTE、5G、6G通信。For example, the mobile communication modem may include multiple protocol stacks corresponding to 2G, 3G, 4G, LTE, 5G, 6G, so that the mobile communication modem can be used for 2G, 3G, 4G, LTE, 5G, 6G communication.
无线通信调制解调器例如可以包括与BT、GNSS、WLAN、NFC、FM、IR一一对应的多个协议栈,以使得无线通信调制解调器可以用于BT、GNSS、WLAN、NFC、FM、IR通信。The wireless communication modem may include, for example, multiple protocol stacks corresponding to BT, GNSS, WLAN, NFC, FM, IR one-to-one, so that the wireless communication modem can be used for BT, GNSS, WLAN, NFC, FM, IR communication.
侧链路通信调制解调器例如可以包括与4G侧链路、5G侧链路一一对应的多个协议栈,以使得侧链路通信调制解调器可以用于4G侧链路、5G侧链路通信。For example, the side link communication modem may include multiple protocol stacks corresponding to the 4G side link and the 5G side link, so that the side link communication modem can be used for 4G side link and 5G side link communication.
在另一个示例中,移动通信模块150、无线通信模块160、侧链路通信模块180中的第一部分被集成在基带芯片1,第二部分被集成在基带芯片2。In another example, the first part of the
本申请实施例通信模块的硬件实现方式可以不作限定。The hardware implementation manner of the communication module in this embodiment of the present application may not be limited.
终端设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图 像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The terminal device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),迷你发光二极管(mini light-emitting Diode,MiniLED),微型发光二极管(micro light-emitting diode,MicroLED),微型有机发光二极管(micro organic light-emitting diode,Micro-OLED),量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,终端设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), mini light-emitting diode (mini light-emitting diode, MiniLED), micro light-emitting diode (micro light-emitting diode, MicroLED), micro organic light-emitting diode (micro organic light-emitting diode, Micro-OLED), quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the terminal device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
终端设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The terminal device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,终端设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the terminal device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, and the like.
视频编解码器用于对数字视频压缩或解压缩。终端设备100可以支持一种或多种视频编解码器。这样,终端设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record videos in various encoding formats, for example, moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现终端设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information and can continuously learn by itself. Applications such as intelligent cognition of the terminal device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行终端设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如音频数据,电话 本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The
终端设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The terminal device 100 may implement audio functions through an
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。终端设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当终端设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the terminal device 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。终端设备100可以设置至少一个麦克风170C。在另一些实施例中,终端设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,终端设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, which may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动终端平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和终端设备100的接触和分离。终端设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。终端设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,终端设备100采用嵌入式SIM卡(embedded-SIM,eSIM)。eSIM卡可以嵌在终端设备100中,不能和终端设备100分离。The
图4示出了本申请实施例提供的一种无网络通信场景。该无网络通信场景可以包括网络设备、至少一个终端设备1、至少一个终端设备2。其中,终端设备1能接收到网络设备的信号,该终端设备1为网络覆盖范围内的终端设备。终端设备2无法接收到网络设备的信号,该终端设备2不属于网络覆盖范围的终端设备。但该终端设备2可以接收到终端设备1的信号,即终端设备2可以与终端设备1直接交互。FIG. 4 shows a networkless communication scenario provided by an embodiment of the present application. The networkless communication scenario may include a network device, at least one terminal device 1 , and at least one terminal device 2 . The terminal device 1 can receive the signal of the network device, and the terminal device 1 is a terminal device within the coverage of the network. The terminal device 2 cannot receive the signal of the network device, and the terminal device 2 does not belong to the terminal device covered by the network. However, the terminal device 2 can receive the signal of the terminal device 1 , that is, the terminal device 2 can directly interact with the terminal device 1 .
本申请实施例提供一种通信系统,该通信系统可以包括网络设备、中继终端、远程终端。其中,网络设备可以与中继终端交互,并且网络设备可以通过中继终端与远程终端交互。远程终端可以与中继终端交互,并且远程终端可以通过中继终端与网络设备交互。中 继终端既可以与网络设备交互,也可以与远程终端交互,并且中继终端可以在远程终端与网络设备之间提供中继服务。在本申请实施例中,中继终端与远程终端之间的交互An embodiment of the present application provides a communication system, where the communication system may include a network device, a relay terminal, and a remote terminal. Wherein, the network device can interact with the relay terminal, and the network device can interact with the remote terminal through the relay terminal. The remote terminal can interact with the relay terminal, and the remote terminal can interact with the network device through the relay terminal. The relay terminal can interact with both the network device and the remote terminal, and the relay terminal can provide relay services between the remote terminal and the network device. In this embodiment of the present application, the interaction between the relay terminal and the remote terminal
在一个示例中,终端设备可以仅作为中继终端或仅作为远程终端。在其他示例中,终端设备可以既作为中继终端,也可以作为远程终端;也就是说,终端设备既可以为其他终端设备提供中继服务,也可以被其他终端设备提供中继服务。In one example, the terminal device may act only as a relay terminal or only as a remote terminal. In other examples, the terminal device can act as both a relay terminal and a remote terminal; that is, the terminal device can provide relay services for other terminal devices, and can also be provided by other terminal devices with relay services.
本申请实施例提供的通信系统可以应用于图4所示的无网络通信场景。在无网络通信场景下,网络设备例如可以对应于图4所示的网络设备,中继终端例如可以对应于图4所示的终端设备1,远程终端例如可以对应于图4所示的终端设备2。The communication system provided in this embodiment of the present application may be applied to the networkless communication scenario shown in FIG. 4 . In a scenario without network communication, the network device may correspond to, for example, the network device shown in FIG. 4 , the relay terminal may, for example, correspond to the terminal device 1 shown in FIG. 4 , and the remote terminal may, for example, correspond to the terminal device shown in FIG. 4 . 2.
在无网络通信场景下,远程终端通常无法直接与网络设备通信,或远程终端与网络设备之间的至少一种直接通信方式是相对困难的。例如,远程终端的SIM卡接口没有与SIM卡正确连接。又如,远程终端与网络设备的通信质量相对较差(如检测到来自网络设备的信号强度相对较弱)。又如,远程终端的某一种通信业务(如数据传输业务)尚未与网络供应商签约或尚未被开通。又如,远程终端的某一种通信功能(如蜂窝数据功能、无线通信功能等)被关闭或被限制(例如远程终端未搜索到合适的热点设备)。又如,远程终端的通信余额不足。在一个示例中,结合图3,在无网络通信场景中,远程终端可以无法通过移动通信模块、无线通信模块与网络设备交互。In a scenario without network communication, the remote terminal is usually unable to directly communicate with the network device, or at least one direct communication method between the remote terminal and the network device is relatively difficult. For example, the SIM card interface of the remote terminal is not properly connected with the SIM card. For another example, the communication quality between the remote terminal and the network device is relatively poor (eg, the detected signal strength from the network device is relatively weak). For another example, a certain communication service (such as a data transmission service) of the remote terminal has not yet signed a contract with the network provider or has not been activated. For another example, a certain communication function (eg, cellular data function, wireless communication function, etc.) of the remote terminal is turned off or restricted (eg, the remote terminal fails to search for a suitable hotspot device). For another example, the communication balance of the remote terminal is insufficient. In one example, referring to FIG. 3 , in a scenario without network communication, the remote terminal may not be able to interact with the network device through the mobile communication module and the wireless communication module.
在无网络通信场景下,中继终端通常可以与网络设备直接通信。例如,中继终端的SIM卡接口与SIM卡正确连接。又如,中继终端与网络设备的通信质量相对较好(如检测到来自网络设备的信号强度相对较强)。又如,中继终端的某一种通信业务(如数据传输业务)已被开通且可以使用。又如,远程终端的某一种通信业务(如数据传输业务)的权限已经被授予。又如,中继终端具有足够的通信余额。In the scenario of no network communication, the relay terminal can usually communicate directly with the network device. For example, the SIM card interface of the relay terminal is correctly connected with the SIM card. For another example, the communication quality between the relay terminal and the network device is relatively good (for example, it is detected that the signal strength from the network device is relatively strong). For another example, a certain communication service (such as a data transmission service) of the relay terminal has been activated and can be used. For another example, the authority of a certain communication service (such as a data transmission service) of the remote terminal has been granted. For another example, the relay terminal has sufficient communication balance.
在无网络通信场景下,远程终端可以通过中继终端向网络设备发送消息,该消息可以经由中继终端转发至网络设备。网络设备可以通过中继终端向远程终端发送消息,该消息可以经由中继终端转发至远程终端。In the scenario of no network communication, the remote terminal can send a message to the network device through the relay terminal, and the message can be forwarded to the network device via the relay terminal. The network device may send a message to the remote terminal through the relay terminal, and the message may be forwarded to the remote terminal via the relay terminal.
由此,在无网络通信场景下,图4所示的任一终端设备均可以与网络设备交互。Therefore, in the scenario of no network communication, any terminal device shown in FIG. 4 can interact with the network device.
图5是本申请实施例提供的一种通信方法500的示意性流程图。FIG. 5 is a schematic flowchart of a
501,远程终端可以发送中继需求消息。501. The remote terminal may send a relay request message.
相应地,中继终端可以从远程终端接收所述中继需求消息。Accordingly, the relay terminal may receive the relay demand message from the remote terminal.
也就是说,在远程终端需要中继终端为该远程终端提供中继服务时,远程终端可以广播中继需求消息或向指定的一个或多个中继终端发送中继需求消息。在一个示例中,结合图3,远程终端可以通过侧链路通信模块180发送中继需求消息。侧链路通信模块180可以用于远程终端与中继终端之间的通信。That is, when the remote terminal needs the relay terminal to provide the relay service for the remote terminal, the remote terminal can broadcast the relay request message or send the relay request message to one or more designated relay terminals. In one example, in conjunction with FIG. 3 , the remote terminal may send the relay demand message through the side
中继需求消息可以包括中继需求标识,该中继需求标识可以表示消息的类别,例如可以用于指示远程终端需要被提供中继服务。也就是说,该中继需求标识可以用于指示远程终端需要其他终端充当中继终端,其中,该中继终端可以用于向网络设备转发来自远程终端的消息,和/或,并且该中继终端可以用于向远程终端转发来自网络设备的消息。The relay-requirement message may include a relay-requirement identifier, which may indicate a category of the message, for example, may be used to indicate that the remote terminal needs to be provided with relay services. That is, the relay requirement identifier can be used to indicate that the remote terminal needs other terminals to act as relay terminals, wherein the relay terminal can be used to forward the message from the remote terminal to the network device, and/or, and the relay terminal Terminals may be used to forward messages from network devices to remote terminals.
可选的,在所述远程终端广播中继需求消息之前,所述方法还包括:Optionally, before the remote terminal broadcasts the relay requirement message, the method further includes:
所述远程终端确定目标消息通过中继终端发送至网络设备,所述目标消息与目标通信业务对应。The remote terminal determines that a target message is sent to the network device through the relay terminal, and the target message corresponds to the target communication service.
也就是说,远程终端可以确定有通信需求,并确定该通信需求可以通过中继终端实现。之后远程终端可以广播中继需求消息,以寻求合适的中继终端。然后,中继终端将远程终端的目标消息转发至网络设备。That is, the remote terminal can determine that there is a communication requirement, and determine that the communication requirement can be achieved through the relay terminal. The remote terminal can then broadcast a relay request message to find a suitable relay terminal. Then, the relay terminal forwards the target message of the remote terminal to the network device.
目标通信业务例如可以包括:高清语音通话业务(例如长期演进语音承载(voice over long-term evolution,VOLTE))、高清视频通话业务、网络语音通话业务、网络视频通话业务、二维码业务、支付业务、求救业务、话费充值业务、短信业务、应用通知业务等。其中,高清语音通话业务、高清视频通话业务例如可以是基于会话初始协议(Session Initiation Protocol,SIP)的业务。网络语音通话业务、网络视频通话业务例如可以是基于用户数据报协议(user data protocol,UDP)的业务。The target communication service may include, for example, a high-definition voice call service (such as voice over long-term evolution (VOLTE)), a high-definition video call service, an Internet voice call service, an Internet video call service, a two-dimensional code service, payment Business, SOS business, phone bill recharge business, SMS business, application notification business, etc. The high-definition voice call service and the high-definition video call service may be, for example, services based on a session initiation protocol (Session Initiation Protocol, SIP). For example, the network voice call service and the network video call service may be services based on a user datagram protocol (user data protocol, UDP).
在一个示例中,目标通信业务为高清语音通话业务。与高清语音通话业务对应的目标消息例如可以包括以下至少一种:语音通话请求消息、针对语音通话请求的反馈消息、语音通话确认消息、针对语音通话确认的反馈消息、语音通话数据包等。In one example, the target communication service is a high-definition voice call service. The target message corresponding to the high-definition voice call service may include, for example, at least one of the following: a voice call request message, a feedback message for a voice call request, a voice call confirmation message, a feedback message for a voice call confirmation, and a voice call data package.
在一个示例中,目标通信业务为高清视频通话业务。与高清语音通话业务对应的目标消息例如可以包括以下至少一种:视频通话请求消息、针对视频通话请求的反馈消息、视频通话确认消息、针对视频通话确认的反馈消息、视频通话数据包等。In one example, the target communication service is a high-definition video call service. The target message corresponding to the HD voice call service may include, for example, at least one of the following: a video call request message, a feedback message for a video call request, a video call confirmation message, a feedback message for a video call confirmation, and a video call data package.
在一个示例中,目标通信业务为语音网络通话业务。与语音网络通话业务对应的目标消息例如可以包括以下至少一种:网络语音寻呼消息、针对网络语音寻呼的反馈消息、网络语音数据包等。In one example, the target communication service is a voice VoIP service. The target message corresponding to the voice VoIP service may include, for example, at least one of the following: an VoIP paging message, a feedback message for VoIP paging, an VoIP data packet, and the like.
在一个示例中,目标通信业务为视频网络通话业务。与语音网络通话业务对应的目标消息例如可以包括以下至少一种:网络视频寻呼消息、针对网络视频寻呼的反馈消息、网络视频数据包等。In one example, the target communication service is a video network calling service. The target message corresponding to the voice network call service may include, for example, at least one of the following: a network video paging message, a feedback message for network video paging, a network video data packet, and the like.
在一个示例中,目标通信业务为二维码业务。二维码业务可以进一步包括例如扫码登录账户业务、扫码添加好友业务、二维码支付业务等。与二维码业务对应的目标消息例如可以包括以下至少一种:包含二维码信息的消息,包含二维码编译结果的消息等。In one example, the target communication service is a two-dimensional code service. The two-dimensional code service may further include, for example, a scan code to log in to an account, a scan code to add a friend service, a two-dimensional code payment service, and the like. The target message corresponding to the two-dimensional code service may include, for example, at least one of the following: a message including two-dimensional code information, a message including a two-dimensional code compilation result, and the like.
在一个示例中,目标通信业务为支付业务。支付业务可以进一步包括例如话费充值业务、NFC卡充值业务、二维码支付业务等。与支付业务对应的目标消息例如可以包括以下至少一种:支付确认消息(如SEL_REQ)、支付确认反馈消息(如SEL_RES)、NEG_REQ、支付通道建立消息(如NEG_REQ)、支付通道建立反馈消息(如NEG_RES)、交易流程消息(如TRANS_REQ)、交易流程反馈消息(如TRANS_RES)等。In one example, the target communication service is a payment service. The payment service may further include, for example, a phone bill recharge service, an NFC card recharge service, a two-dimensional code payment service, and the like. The target message corresponding to the payment service may include, for example, at least one of the following: a payment confirmation message (such as SEL_REQ), a payment confirmation feedback message (such as SEL_RES), NEG_REQ, a payment channel establishment message (such as NEG_REQ), a payment channel establishment feedback message (such as NEG_RES), transaction process messages (such as TRANS_REQ), transaction process feedback messages (such as TRANS_RES), etc.
在一个示例中,目标通信业务为求救业务。与求救业务对应的目标消息例如可以包括以下至少一种:用于呼叫“110”的消息、用于呼叫“120”的消息、用于呼叫“119”的消息等。In one example, the target communication service is a distress service. The target message corresponding to the distress service may include, for example, at least one of the following: a message for calling "110", a message for calling "120", a message for calling "119", and the like.
在一个示例中,目标通信业务为短信业务。与短信业务对应的目标消息例如可以包括:请求验证码的消息、包含验证码的消息。In one example, the target communication service is a short message service. The target message corresponding to the short message service may include, for example, a message requesting a verification code, and a message containing the verification code.
在一个示例中,目标通信业务为应用通知业务。与应用通知业务对应的目标消息例如可以包括:应用程序的通知消息(如邮件通知、消息通知等)。In one example, the target communication service is an application notification service. The target message corresponding to the application notification service may include, for example, notification messages of the application (eg, email notification, message notification, etc.).
可选的,中继需求消息包括与所述目标通信业务对应的第一业务标识。Optionally, the relay requirement message includes a first service identifier corresponding to the target communication service.
也就是说,远程终端可以通过第一业务标识,请求中继终端为该远程终端提供与所述目标通信业务相关的中继服务。中继终端在接收到中继需求消息的情况下,可以根据第一 业务标识,确定远程终端基于与目标通信业务相关的业务提出中继请求,并且获取(如预估、读取、接收等)与目标通信业务相关的信息,例如目标消息占用的流量。进而,中继终端可以确认是否同意为远程终端提供中继服务。That is, the remote terminal may request the relay terminal to provide the remote terminal with a relay service related to the target communication service through the first service identifier. When the relay terminal receives the relay demand message, it can determine, according to the first service identifier, that the remote terminal makes a relay request based on the service related to the target communication service, and obtain (such as estimate, read, receive, etc.) Information related to the target communication service, such as the traffic occupied by the target message. Further, the relay terminal can confirm whether to agree to provide the relay service for the remote terminal.
在第一个示例中,第一业务标识例如可以唯一标识该目标通信业务。In the first example, the first service identifier may, for example, uniquely identify the target communication service.
高清语音通话业务的业务标识例如可以为01。高清视频通话业务的业务标识例如可以为02。网络语音通话业务的业务标识例如可以为03。网络视频通话业务的业务标识例如可以为04。二维码业务的业务标识例如可以为05。支付业务的业务标识例如可以为06。求救业务的业务标识例如可以为07。话费充值业务的业务标识例如可以为08。短信业务的业务标识例如可以为09。应用通知业务的业务标识例如可以为10。应理解,本申请实施例可以不限定第一业务标识的具体值。The service identifier of the high-definition voice call service may be, for example, 01. The service identifier of the high-definition video call service may be, for example, 02. The service identifier of the VoIP call service may be 03, for example. The service identifier of the network video call service may be, for example, 04. The service identifier of the two-dimensional code service may be, for example, 05. The service identifier of the payment service may be 06, for example. The service identifier of the SOS service may be, for example, 07. The service identifier of the phone bill recharging service may be, for example, 08. The service identifier of the short message service may be, for example, 09. The service identifier of the application notification service may be 10, for example. It should be understood that the embodiment of the present application may not limit the specific value of the first service identifier.
在此示例中,中继终端可以通过获取第一业务标识,确定针对该目标通信业务为远程终端提供中继服务。也就是说,中继终端可以在远程终端与网络设备之间转发与所述目标通信业务对应的目标消息,并且,中继终端可以跳过或丢弃与其他业务有关的消息,即中继终端可以不转发与其他业务有关的消息。In this example, the relay terminal may determine to provide a relay service for the remote terminal for the target communication service by acquiring the first service identifier. That is, the relay terminal can forward the target message corresponding to the target communication service between the remote terminal and the network device, and the relay terminal can skip or discard messages related to other services, that is, the relay terminal can Messages related to other businesses are not forwarded.
可选的,所述中继需求消息包括多个业务标识;在所述中继终端在所述远程终端与网络设备之间转发消息之前,所述方法还包括:所述中继终端向所述远程终端发送业务标识确认消息,所述业务标识确认消息包括所述多个业务标识中的第一部分业务标识;所述中继终端在所述远程终端与网络设备之间转发消息,包括:所述中继终端在所述远程终端与网络设备之间转发与所述第一部分业务标识对应的消息,并丢弃与第二部分业务标识对应的消息,所述第二部分业务标识包括所述多个业务标识中除所述第一部分业务标识以外的剩余业务标识,所述第一部分业务标识包括所述第一业务标识。Optionally, the relay requirement message includes multiple service identifiers; before the relay terminal forwards the message between the remote terminal and the network device, the method further includes: the relay terminal sends the message to the network device. The remote terminal sends a service identifier confirmation message, the service identifier confirmation message includes the first part of the service identifiers in the multiple service identifiers; the relay terminal forwards the message between the remote terminal and the network device, including: the The relay terminal forwards the message corresponding to the first part of the service identifier between the remote terminal and the network device, and discards the message corresponding to the second part of the service identifier, where the second part of the service identifier includes the multiple services The remaining service identifiers in the identifier except the first part of the service identifier, where the first part of the service identifier includes the first service identifier.
相应并可选的,所述中继需求消息包括多个业务标识;在所述远程终端通过所述中继终端与网络设备交互之前,所述方法还包括:所述远程终端从所述中继终端接收业务标识确认消息,所述业务标识确认消息包括所述多个业务标识中的第一部分业务标识,所述业务标识确认消息用于指示所述第一部分业务标识对应的通信业务被所述中继终端许可,所述第一部分业务标识包括所述第一业务标识。Correspondingly and optionally, the relay requirement message includes multiple service identifiers; before the remote terminal interacts with the network device through the relay terminal, the method further includes: the remote terminal from the relay terminal The terminal receives a service identifier confirmation message, where the service identifier confirmation message includes the first part of the service identifiers in the plurality of service identifiers, and the service identifier confirmation message is used to indicate that the communication service corresponding to the first part of the service identifier is Following the terminal permission, the first part of the service identifier includes the first service identifier.
也就是说,远程终端可以请求中继终端针对多种通信业务提供中继服务。中继终端可以针对该多种通信业务中的部分通信业务提供中继服务。中继终端可以将指示该部分通信业务的消息发送至远程终端。远程终端可以针对剩余其他通信业务继续寻找合适的中继终端。That is, the remote terminal can request the relay terminal to provide relay services for various communication services. The relay terminal may provide relay services for some of the multiple communication services. The relay terminal may send a message indicating the part of the communication service to the remote terminal. The remote terminal can continue to search for a suitable relay terminal for the remaining other communication services.
在第二个示例中,第一业务标识例如可以用于指示目标通信业务的优先级。In the second example, the first service identifier may be used, for example, to indicate the priority of the target communication service.
应用业务的优先级例如可以包括第一优先级、第二优先级,第一优先级高于第二优先级,第一优先级对应一个或多个第一类通信业务,第二优先级对应一个或多个第二类通信业务。The priority of the application service may include, for example, a first priority and a second priority, the first priority is higher than the second priority, the first priority corresponds to one or more communication services of the first type, and the second priority corresponds to one or multiple second-class communication services.
例如,第一业务标识为0表示目标通信业务属于第一类通信业务,目标通信业务的优先级为第一优先级。第一业务标识为1表示目标通信业务属于第二类通信业务,目标通信业务的优先级为第二优先级。For example, if the first service identifier is 0, it indicates that the target communication service belongs to the first type of communication service, and the priority of the target communication service is the first priority. If the first service identifier is 1, it indicates that the target communication service belongs to the second type of communication service, and the priority of the target communication service is the second priority.
可选的,从业务的紧迫性、数据量类型、数据量大小、时延等方面可以反映通信业务的优先级。Optionally, the priority of the communication service may be reflected in terms of the urgency of the service, the type of data volume, the size of the data volume, and the time delay.
例如,按照紧迫性,通信业务从紧迫到不紧迫的排序例如可以依次为:求救业务、话费充值业务、支付业务、二维码业务、高清语音通话业务、网络语音通话业务、短信业务、应用通知业务、高清视频通话业务、网络视频通话业务等。For example, according to the urgency, the order of communication services from urgent to not urgent can be, for example, the order of: SOS service, phone bill recharge service, payment service, QR code service, HD voice call service, VoIP call service, SMS service, and application notification business, high-definition video call business, network video call business, etc.
又如,按照数据量,通信业务从数据量小到数据量大的排序例如可以依次为:求救业务、二维码业务、支付业务、话费充值业务、应用通知业务、短信业务、网络语音通话业务、高清语音通话业务、网络视频通话业务、高清视频通话业务等。For another example, according to the data volume, the order of communication services from small data volume to large data volume can be, for example, in order: SOS service, QR code service, payment service, phone bill recharge service, application notification service, short message service, and VoIP call service. , high-definition voice call service, network video call service, high-definition video call service, etc.
又如,按照数据通道类型,求救业务、高清语音通话业务、高清视频通话业务、短信业务例如可以不使用数据流量,二维码业务、支付业务、话费充值业务、应用通知业务、网络语音通话业务、网络视频通话业务通常需要使用数据流量等。For another example, according to the type of data channel, distress service, high-definition voice call service, high-definition video call service, and short message service, for example, may not use data traffic, two-dimensional code service, payment service, call charge recharge service, application notification service, and VoIP call service. , The network video call service usually needs to use data traffic, etc.
又如,按照时延灵敏度,通信业务从时延灵敏度大到时延灵敏度小的排序例如可以依次为:求救业务、二维码业务、支付业务、高清语音通话业务、网络语音通话业务、高清视频通话业务、网络视频通话业务、短信业务、应用通知业务、话费充值业务等。For another example, according to the delay sensitivity, the order of communication services from the largest delay sensitivity to the smallest delay sensitivity can be, for example, the order of: SOS service, QR code service, payment service, high-definition voice call service, VoIP call service, and high-definition video. Call service, online video call service, SMS service, application notification service, call charge recharge service, etc.
本申请实施例提供通信业务的一种可能优先级排布,如表1所示。在表1所示的示例中,业务标识例如可以使用1bit的数据量。The embodiment of the present application provides a possible priority arrangement of communication services, as shown in Table 1. In the example shown in Table 1, the service identifier can use, for example, a data volume of 1 bit.
表1通信业务的优先级Table 1 Priority of communication services
本申请实施例提供通信业务的另一种可能优先级排布,如表2所示。在表2所示的示例中,业务标识可以使用2bit的数据量。The embodiment of the present application provides another possible priority arrangement of communication services, as shown in Table 2. In the example shown in Table 2, the service identifier can use a data volume of 2 bits.
表2通信业务的优先级Table 2 Priority of communication services
在一个示例中,通信业务的优先级可以由用户指定。也就是说,用户可以调整通信业务的优先级。In one example, the priority of communication traffic may be specified by the user. That is, the user can adjust the priority of the communication service.
通过上述实施例可知,通信业务的优先级可以与服务质量(quality of service,QoS)不同。在流量有限的情况下,通过QoS可以针对性地提供质量较好的通信服务。在本申请实施例的某些场景中,通信业务的优先级可以反映中继终端优选转发的业务消息。不同的中继终端可以有不同的优选通信业务。另外,不同的通信业务可以应用于不同的人机交互场景,如求救场景、话费充值场景、支付场景、二维码扫描场景。也就是说,特定的人机交互场景可以与特定的业务类型关联起来。因此,通信业务的优先级也可以反映中继终端优选向何种人机交互场景中的远程终端提供中继服务。It can be known from the above embodiments that the priority of the communication service may be different from the quality of service (quality of service, QoS). In the case of limited traffic, communication services with better quality can be provided in a targeted manner through QoS. In some scenarios of the embodiments of the present application, the priority of the communication service may reflect the service message preferably forwarded by the relay terminal. Different relay terminals may have different preferred communication services. In addition, different communication services can be applied to different human-computer interaction scenarios, such as rescue scenarios, phone bill recharge scenarios, payment scenarios, and QR code scanning scenarios. That is, specific human-computer interaction scenarios can be associated with specific business types. Therefore, the priority of the communication service can also reflect which kind of human-computer interaction scenario the relay terminal prefers to provide the relay service to.
可选的,在所述远程终端发送中继需求消息之前,所述方法还包括:所述远程终端判断所述远程终端当前处于无网络通信场景。Optionally, before the remote terminal sends the relay requirement message, the method further includes: the remote terminal determines that the remote terminal is currently in a scenario of no network communication.
结合上文以及图3、图4,远程终端可能无法使用移动通信模块150或无线通信模块160,以实现目标消息的收发。在此情况下,远程终端可以通过中继需求消息搜索中继终端,并与中继终端建立侧链路通信连接。With reference to the above and FIG. 3 and FIG. 4 , the remote terminal may not be able to use the
本申请实施例提供一种远程终端,远程终端可以具有无网络通信功能,该无网络通信功能可以指,在远程终端处于图4所示的无网络通信场景时,远程终端具有与中继终端交互以间接实现与网络设备交互的功能。结合图3可知,远程终端例如可以通过侧链路通信模块180实现无网络通信功能。在远程终端侧,无网络通信功能又可以被称为侧链路通信功能、远程通信功能等。An embodiment of the present application provides a remote terminal. The remote terminal may have a networkless communication function. The networkless communication function may refer to that when the remote terminal is in the networkless communication scenario shown in FIG. 4 , the remote terminal has the ability to interact with the relay terminal. To indirectly realize the function of interacting with network devices. It can be known from FIG. 3 that, for example, the remote terminal can implement the networkless communication function through the side
可选的,所述远程终端判断所述远程终端当前处于无网络通信场景,包括:所述远程终端根据以下至少一项,判断所述远程终端当前处于无网络通信场景:所述远程终端的SIM卡接口的状态,所述远程终端的通信套餐使用情况(或话费账单情况),所述远程终端与网络设备之间的通信状态,所述远程终端的移动数据功能的状态,所述远程终端的无线局域网(wireless local area network,WLAN)功能的状态,所述远程终端的蓝牙功能的状态。Optionally, the remote terminal judging that the remote terminal is currently in a no-network communication scenario includes: the remote terminal judging that the remote terminal is currently in a no-network communication scenario according to at least one of the following: a SIM of the remote terminal The status of the card interface, the usage of the communication package (or the telephone bill) of the remote terminal, the communication status between the remote terminal and the network device, the status of the mobile data function of the remote terminal, the status of the remote terminal The status of the wireless local area network (WLAN) function, the status of the Bluetooth function of the remote terminal.
类似地,本申请实施例提供一种中继终端,中继终端可以具有无网络通信功能,该无网络通信功能可以指,在其他(远程)终端处于图4所示的无网络通信场景时,中继终端具有在远程终端与网络设备之间转发消息,以实现远程终端与网络设备交互的功能。结合图3可知,中继终端例如可以通过侧链路通信模块180实现无网络通信功能。在中继终端侧,无网络通信功能又可以被称为侧链路通信功能、中继通信功能。Similarly, an embodiment of the present application provides a relay terminal, and the relay terminal may have a network-free communication function. The relay terminal has the function of forwarding messages between the remote terminal and the network device, so as to realize the interaction between the remote terminal and the network device. It can be known from FIG. 3 that, for example, the relay terminal can implement the networkless communication function through the side
例如,中继需求消息可以携带远程终端的终端标识,中继终端可以将远程终端的终端标识上报至网络设备。网络设备可以向中继终端反馈通信连接信息,该通信连接信息可以指示远程终端与网络设备是否建立了通信连接,进而中继终端可以判断远程终端当前是否处于无网络通信场景。For example, the relay requirement message may carry the terminal identifier of the remote terminal, and the relay terminal may report the terminal identifier of the remote terminal to the network device. The network device may feed back communication connection information to the relay terminal, the communication connection information may indicate whether a communication connection is established between the remote terminal and the network device, and then the relay terminal may determine whether the remote terminal is currently in a network-free communication scenario.
又如,中继需求消息可以携带无网络通信标识,无网络通信标识可以指示远程终端当前处于无网络通信场景。由此,中继终端可以根据无网络通信标识,判断远程终端当前处于无网络通信场景。For another example, the relay requirement message may carry a no-network communication identifier, and the no-network communication identifier may indicate that the remote terminal is currently in a no-network communication scenario. In this way, the relay terminal can determine that the remote terminal is currently in a no-network communication scenario according to the no-network communication identifier.
在有网络通信场景(与无网络通信场景相反,在某些情况下可以理解为除无网络通信场景以外的其他场景)下,远程终端例如可以通过图3所示的侧链路通信模块180实现辅助通信功能。远程终端的辅助通信功能可以指,在远程终端处于该有网络通信场景时,远程终端具有与中继终端交互以间接实现与网络设备交互的功能。在远程终端侧,辅助通信功能又可以被称为侧链路通信功能、远程通信功能、辅助网络功能等。In a scenario with network communication (as opposed to a scenario without network communication, in some cases it can be understood as a scenario other than a scenario without network communication), the remote terminal can be implemented, for example, by the side
类似地,在其他(远程)终端处于有网络通信场景下时,中继终端例如可以通过图3所示的侧链路通信模块180实现辅助通信功能。中继终端的辅助通信功能可以指,在其他(远程)终端处于该有网络通信场景时,中继终端具有在该其他终端与网络设备之间转发消息,以实现该其他终端与网络设备之间交互的功能。在中继终端侧,辅助通信功能又可以被称为侧链路通信功能、中继通信功能、辅助网络功能等。Similarly, when other (remote) terminals are in a network communication scenario, the relay terminal may, for example, implement an auxiliary communication function through the side
图6至图8是本申请实施例提供的多个用户界面。图6至图8示出的多个用户界面可 以显示在图3所示的显示屏194上。用户可以通过操控图6至图8示出的多个用户界面,调整与终端设备的通信参数(例如侧链路通信参数)。FIG. 6 to FIG. 8 are multiple user interfaces provided by the embodiments of the present application. The various user interfaces shown in FIGS. 6-8 may be displayed on the display screen 194 shown in FIG. 3 . The user can adjust the communication parameters (eg side link communication parameters) with the terminal device by manipulating the multiple user interfaces shown in FIG. 6 to FIG. 8 .
在图6中,用户界面可以包括无网络通信功能控件610。通过对该无网络通信功能控件610执行用户手势(如点击等操作),可以进入图7或图8所示的用户界面。In FIG. 6 , the user interface may include a no-network
如图7、图8所示,用户界面可以包括无网络通信的开关控件620。As shown in FIGS. 7 and 8 , the user interface may include a
一种可能的情况,在无网络通信的开关控件620被关闭的情况下,结合图3,远程终端的侧链路通信模块180例如可以处于下电或关闭、休眠、空闲等状态。在无网络通信的开关控件620被打开的情况下,结合图3,远程终端的侧链路通信模块例如可以处于开启状态(例如还可以被称为唤醒态、连接态等)或周期性开启状态(例如还可以被称为呼吸态)。In a possible situation, when the
另一种可能的情况,在无网络通信的开关控件620被关闭的情况下,结合图3,终端(如远程终端、中继终端)的侧链路通信模块180可以在有网络通信场景下处于开启状态或周期性开启状态。在无网络通信的开关控件620被开启的情况下,结合图3,终端(如远程终端、中继终端)的侧链路通信模块180可以仅在无网络通信场景下处于开启状态或周期性开启状态。In another possible situation, when the
如图7、图8所示,用户界面可以包括远程终端的开关控件630、中继终端的开关控件640。As shown in FIG. 7 and FIG. 8 , the user interface may include a
如图7所示,在远程终端的开关控件630被打开的情况下,终端设备可以充当远程终端的角色,即终端设备可以接受其他中继终端提供的中继服务。结合上文可知,在远程终端的开关控件630被开启的情况下,远程终端可以执行图5所示的通信方法500的远程终端侧的执行步骤。As shown in FIG. 7 , when the
如图8所示,在远程终端的开关控件630被关闭的情况下,终端设备可以不充当远程终端的角色,即终端设备可以不接受其他中继终端提供的中继服务。结合上文可知,在远程终端的开关控件630被关闭的情况下,终端设备可以不执行图5所示的通信方法500的远程终端侧的执行步骤。As shown in FIG. 8 , when the
如图7所示,在中继终端的开关控件640被关闭的情况下,终端设备可以不充当中继终端的角色,即终端设备可以不为其他远程终端提供的中继服务。结合上文可知,在中继终端的开关控件640被关闭的情况下,终端设备可以不执行图5所示的通信方法500的中继终端侧的执行步骤。As shown in FIG. 7 , when the
如图8所示,在中继终端的开关控件640被打开的情况下,终端设备可以充当中继终端的角色,即终端设备可以为其他远程终端提供的中继服务。结合上文可知,在中继终端的开关控件640被打开的情况下,中继终端可以执行图5所示的通信方法500的中继终端侧的执行步骤。As shown in FIG. 8 , when the
在一些实施例中,远程终端的开关控件630、中继终端的开关控件640可以是相互独立的。In some embodiments, the
在远程终端的开关控件630被打开,且中继终端的开关控件640被关闭的情况下,终端设备可以在图4所示的通信系统中充当远程终端的角色,但不充当中继终端的角色,即终端设备可以接受其他中继终端提供的中继服务,但不为其他远程终端提供的中继服务。也就是说,终端设备可以属于其他中继终端的远程终端,且不属于其他远程终端的中继终 端。When the
在远程终端的开关控件630被关闭,且中继终端的开关控件640被打开的情况下,终端设备可以在图4所示的通信系统中充当中继终端的角色,但不充当远程终端的角色,即终端设备可以不接受其他中继终端提供的中继服务,但可以为其他远程终端提供中继服务。也就是说,终端设备可以属于其他远程终端的中继终端,且不属于其他中继终端的远程终端。When the
在远程终端的开关控件630被打开,且中继终端的开关控件640被打开的情况下,终端设备可以在图4所示的通信系统中既充当远程终端的角色,也充当中继终端的角色,即终端设备既可以接受其他中继终端提供的中继服务,也可以为其他远程终端提供的中继服务。也就是说,终端设备可以既属于其他远程终端的中继终端,也属于其他中继终端的远程终端。Under the condition that the
在远程终端的开关控件630被关闭,且中继终端的开关控件640被关闭的情况下,终端设备可以在图4所示的通信系统中既不充当远程终端的角色,也不充当中继终端的角色,即终端设备可以既不接受其他中继终端提供的中继服务,也不为其他远程终端提供的中继服务。也就是说,终端设备可以既不属于其他远程终端的中继终端,也不属于其他中继终端的远程终端。In the case that the
在另一些实施例中,远程终端的开关控件630、中继终端的开关控件640中最多有一个可以被开启。也就是说,终端设备可以属于其他中继终端的远程终端,但不属于其他远程终端的中继终端;或者,终端设备可以属于其他远程终端的中继终端,但不属于其他中继终端的远程终端。In other embodiments, at most one of the
在一种可能的情况中,无网络通信的开关控件620可以是远程终端功能、中继终端功能的总开关控件。也就是说,在无网络通信的开关控件620处于关闭的情况下,远程终端的开关控件630和中继终端的开关控件640可以均处于关闭状态。在无网络通信的开关控件620被打开的情况下,远程终端的开关控件630和中继终端的开关控件640中的至少一个可以处于开启状态。In a possible situation, the
例如,在无网络通信的开关控件620被打开的情况下,远程终端的开关控件630默认被打开。For example, in the case that the
又如,在无网络通信的开关控件620被打开的情况下,用户通过操控用户界面,选择是否开启远程终端的开关控件630和中继终端的开关控件640。For another example, when the
在此情况中,无网络通信开关例如可以用于开启或关闭图3所示的侧链路通信模块180。远程终端的开关控件630例如可以用于开启或关闭与远程终端相关的通信功能。中继终端的开关控件640例如可以用于开启或关闭与中继终端相关的通信功能。In this case, the networkless communication switch can be used to turn on or off the side
在另一种可能的情况中,无网络通信的开关控件620、远程终端的开关控件630、中继终端的开关控件640可以相互独立。也就是说,无网络通信开关可以用于开启或关闭与无网络通信场景相关的通信功能。远程终端的开关控件630可以用于在有网络通信场景或无网络通信场景中,开启或关闭与远程终端相关的通信功能。中继终端的开关控件640可以用于在有网络通信场景或无网络通信场景中,开启或关闭与中继终端相关的通信功能。In another possible situation, the
在图7至图8所示的示例中,用户界面可以包括远程终端的开关控件630、中继终端的开关控件640、无网络通信的开关控件620。在其他示例中,用户界面可以包括远程终 端的开关控件630、中继终端的开关控件640、无网络通信的开关控件620中的一个或多个。In the examples shown in FIGS. 7 to 8 , the user interface may include a
如图7所示,在远程终端的开关控件630被打开的情况下,用户界面还可以包括远程终端的至少一个通信参数。远程终端的至少一个通信参数例如可以包括以下至少一项:耗电模式、单次时长限制、默认开启时段、业务白名单、业务黑名单、中继终端白名单、中继终端黑名单。As shown in FIG. 7 , when the
在一个示例中,远程终端的耗电模式例如可以包括省电模式、高性能模式。在省电模式下,在单位时间内消耗的用于远程终端的通信功能的电量相对较小,在高性能模式下,在单位时间内消耗的用于远程终端的通信功能的电量相对较大。In one example, the power consumption mode of the remote terminal may include, for example, a power saving mode and a high performance mode. In the power saving mode, the power consumed for the communication function of the remote terminal per unit time is relatively small, and in the high performance mode, the power consumed for the communication function of the remote terminal per unit time is relatively large.
例如,在省电模式下,远程终端发送中继需求消息的周期为周期1;在高性能模式下,远程终端发送中继需求消息的周期为周期2,周期1大于周期2。周期1例如可以为40ms、160ms、512ms、1.28s、2.56s等,周期2例如可以为2ms、3ms、10ms、20ms、40ms、80ms等。For example, in the power saving mode, the period in which the remote terminal sends the relay demand message is period 1; in the high performance mode, the period in which the remote terminal sends the relay demand message is period 2, and period 1 is greater than period 2. Period 1 may be, for example, 40ms, 160ms, 512ms, 1.28s, 2.56s, etc., period 2 may be, for example, 2ms, 3ms, 10ms, 20ms, 40ms, 80ms, and so on.
又如,在省电模式下,远程终端在频段1内检测来自中继终端的消息;在高性能模式下,远程终端在频段2内检测来自中继终端的消息,频段1的带宽小于频段2的带宽。例如,频段1包括4G频段,频段2包括4G频段和2.4Ghz频段。For another example, in the power saving mode, the remote terminal detects the message from the relay terminal in the frequency band 1; in the high-performance mode, the remote terminal detects the message from the relay terminal in the frequency band 2, and the bandwidth of the frequency band 1 is smaller than that of the frequency band 2. bandwidth. For example, band 1 includes the 4G band, and band 2 includes the 4G band and the 2.4Ghz band.
又如,在省电模式下,远程终端向中继终端发送与第一类业务(如表1、表2中的高优先级业务,或业务白名单中的业务)对应的消息,不发送与第二类业务(如表1、表2中的低优先级业务,或业务黑名单中的业务)对应的消息,第一类业务包括的业务不属于第二类业务,且第二类业务包括的业务不属于第一类业务;在高性能模式下,远程终端向中继终端既发送与第一类业务对应的消息,也发送与第二类业务对应的消息。For another example, in the power saving mode, the remote terminal sends messages corresponding to the first type of services (such as high-priority services in Table 1 and Table 2, or services in the service whitelist) to the relay terminal, and does not Messages corresponding to the second type of services (such as the low-priority services in Table 1 and Table 2, or the services in the service blacklist), the services included in the first type of services do not belong to the second type of services, and the second type of services include The service does not belong to the first type of service; in the high-performance mode, the remote terminal sends both the message corresponding to the first type of service and the message corresponding to the second type of service to the relay terminal.
在一个示例中,远程终端的单次时长限制例如可以指终端设备充当远程终端的单次时长。在终端设备属于远程终端且不属于中继终端的情况下,单次时长限制例如可以指图3所示的侧链路通信模块180的单次开启时长。单次时长限制例如可以为1小时、6小时、12小时、24小时等。In one example, the single duration limit of the remote terminal may refer to, for example, the single duration of the terminal device acting as the remote terminal. In the case that the terminal device belongs to the remote terminal and does not belong to the relay terminal, the single duration limit may refer to, for example, the single activation duration of the side
在一个示例中,远程终端的默认开启时段例如可以指示终端设备充当远程终端的起始时刻和截止时刻。在终端设备属于远程终端且不属于中继终端的情况下,默认开启时段例如可以指图3所示的侧链路通信模块180被开启的起始时刻和截止时刻。默认开启时段例如可以为8:00~20:00、9:00~17:00等。In one example, the default on-time period of the remote terminal may, for example, indicate the start time and end time of the terminal device acting as the remote terminal. In the case that the terminal device belongs to the remote terminal and does not belong to the relay terminal, the default turn-on period may refer to, for example, the start time and the end time when the side
在一个示例中,远程终端的业务白名单例如可以包括一个或多个业务的标识。在业务白名单里的一个或多个业务可以被称为白名单业务。设置业务白名单有利于控制远程终端在多种应用场景中的功能。例如,远程终端可以仅发送与白名单业务有关的消息,或仅针对与白名单业务有关的消息进行反馈。In one example, the service whitelist of the remote terminal may include, for example, the identifiers of one or more services. One or more services in the service whitelist may be referred to as whitelisted services. Setting a service whitelist is beneficial to control the functions of remote terminals in various application scenarios. For example, the remote terminal may only send messages related to the whitelist service, or give feedback only for the messages related to the whitelist service.
在一个示例中,远程终端的业务黑名单例如可以包括一个或多个业务的标识。在业务黑名单里的一个或多个业务可以被称为黑名单业务。设置业务黑名单有利于控制远程终端在多种应用场景中的功能。例如,远程终端可以不发送或跳过与黑名单业务有关的消息。In one example, the service blacklist of the remote terminal may include, for example, the identifiers of one or more services. One or more services in the service blacklist may be referred to as blacklisted services. Setting a service blacklist is beneficial to control the functions of remote terminals in various application scenarios. For example, the remote terminal may not send or skip messages related to the blacklist service.
远程终端的业务白名单与远程终端的业务黑名单之间可以没有交集,即一个业务通常不会既在远程终端的业务白名单中,也在远程终端的业务黑名单中。There may be no intersection between the service whitelist of the remote terminal and the service blacklist of the remote terminal, that is, a service is usually not included in both the service whitelist of the remote terminal and the service blacklist of the remote terminal.
远程终端可以依照远程终端的业务白名单、远程终端的业务黑名单中的一个,控制图 3所示的侧链路通信模块180与中继终端交互。The remote terminal can control the side
在一个示例中,中继终端白名单例如可以包括曾经为终端设备提供中继服务的一个或多个终端设备的标识,该一个或多个终端设备可以属于信任中继终端或高交互性能中继终端(高交互性能中继终端与远程终端之间的通信质量可以相对较好,例如时延短、丢包率低、发送功率小等)。下面为便于描述,在中继终端白名单中的终端设备例如可以被称为白名单中继终端,在中继终端白名单以外的其他终端设备例如可以被称为非白名单中继终端(或普通中继终端)。设置中继终端白名单有利于提升远程终端的信令安全性、信令交互性能等。In one example, the relay terminal whitelist may include, for example, the identifiers of one or more terminal devices that once provided relay services for the terminal device, and the one or more terminal devices may belong to trusted relay terminals or high-interaction performance relays Terminals (the communication quality between the high interactive performance relay terminal and the remote terminal can be relatively good, such as short delay, low packet loss rate, low transmission power, etc.). For the convenience of description below, the terminal devices in the whitelist of relay terminals may be referred to as whitelist relay terminals, for example, and other terminal devices outside the whitelist of relay terminals may be referred to as non-whitelist relay terminals (or non-whitelist relay terminals, for example). ordinary relay terminal). Setting the relay terminal whitelist is beneficial to improve the signaling security and signaling interaction performance of the remote terminal.
例如,在远程终端执行501时,远程终端可以向白名单中继终端发送消息,并针对该白名单中继终端的消息进行反馈。也就是说,远程终端可以不向非白名单中继终端发送消息,并跳过该非白名单中继终端的消息。具体地,例如,中继需求消息可以携带中继终端1的标识,使得中继终端1可以针对该中继需求消息进行反馈,除中继终端1以外的其他中继终端可以跳过该中继需求消息。可选的,中继需求消息可以携带终端白名单标识。终端白名单标识可以用于指示中继需求消息中携带的终端标识来自终端白名单。For example, when the remote terminal executes 501, the remote terminal may send a message to the whitelisted relay terminal, and give feedback on the message of the whitelisted relay terminal. That is, the remote terminal may not send a message to the non-whitelisted relay terminal, and skip the message of the non-whitelisted relay terminal. Specifically, for example, the relay demand message may carry the identifier of the relay terminal 1, so that the relay terminal 1 can feedback the relay demand message, and other relay terminals except the relay terminal 1 can skip the relay demand news. Optionally, the relay requirement message may carry a terminal whitelist identifier. The terminal whitelist identifier may be used to indicate that the terminal identifier carried in the relay requirement message comes from the terminal whitelist.
在一个示例中,中继终端黑名单例如可以包括曾经为终端设备提供中继服务的一个或多个终端设备的标识,该一个或多个终端设备可以属于不信任中继终端或低交互性能中继终端(低交互性能中继终端与远程终端之间的通信质量可以相对较差,例如时延长、丢包率高、发送功率大等)。下面为便于描述,在中继终端黑名单中的终端设备例如可以被称为黑名单中继终端,在中继终端黑名单以外的其他终端设备例如可以被称为非黑名单中继终端(或普通中继终端)。设置中继终端黑名单有利于提升远程终端的信令安全性、信令交互性能等。In one example, the relay terminal blacklist may include, for example, the identifiers of one or more terminal devices that once provided relay services for the terminal device, and the one or more terminal devices may belong to the untrusted relay terminal or the low interactive performance. The relay terminal (the communication quality between the low interaction performance relay terminal and the remote terminal may be relatively poor, such as time extension, high packet loss rate, high transmission power, etc.). For the convenience of description below, the terminal devices in the relay terminal blacklist may be referred to as blacklist relay terminals, for example, and other terminal devices outside the relay terminal blacklist may be referred to as non-blacklist relay terminals (or non-blacklist relay terminals, for example). ordinary relay terminal). Setting the relay terminal blacklist is beneficial to improve the signaling security and signaling interaction performance of the remote terminal.
例如,在远程终端执行501时,远程终端可以不向黑名单中继终端发送消息,且跳过黑名单中继终端的消息。也就是说,远程终端可以向非黑名单中继终端发送消息,并针对该非黑名单中继终端的消息进行反馈。具体地,例如,中继需求消息可以携带中继终端2的标识以及终端黑名单标识,使得第二中继终端可以跳过该中继需求消息,除中继终端2以外的其他中继终端可以针对该中继需求消息进行反馈。终端黑名单标识可以用于指示中继需求消息中携带的中继终端2的标识来自终端黑名单。For example, when the remote terminal executes 501, the remote terminal may not send a message to the blacklisted relay terminal, and skip the message of the blacklisted relay terminal. That is to say, the remote terminal can send a message to the non-blacklisted relay terminal, and give feedback on the message of the non-blacklisted relay terminal. Specifically, for example, the relay requirement message may carry the identifier of the relay terminal 2 and the terminal blacklist identifier, so that the second relay terminal can skip the relay requirement message, and other relay terminals except the relay terminal 2 can Feedback is given to the relay requirement message. The terminal blacklist identifier may be used to indicate that the identifier of the relay terminal 2 carried in the relay requirement message is from the terminal blacklist.
中继终端白名单与中继终端黑名单之间可以没有交集,即一个终端通常不会既在中继终端白名单中,也在中继终端黑名单中。There may be no intersection between the relay terminal whitelist and the relay terminal blacklist, that is, a terminal is usually not in both the relay terminal whitelist and the relay terminal blacklist.
远程终端可以依照中继终端白名单、中继终端黑名单中的一个,控制图3所示的侧链路通信模块180进行交互。The remote terminal can control the side
如图8所示,在中继终端的开关控件640被打开的情况下,用户界面还可以包括中继终端的至少一个通信参数。中继终端的至少一个通信参数例如可以包括以下至少一项:耗电模式、单次时长限制、单次流量限制、默认开启时段、业务白名单、业务黑名单、远程终端白名单、远程终端黑名单。As shown in FIG. 8 , when the
在一个示例中,中继终端的耗电模式例如可以包括省电模式、高性能模式。在省电模式下,在单位时间内消耗的用于中继终端的通信功能的电量相对较小,在高性能模式下,在单位时间内消耗的用于中继终端的通信功能的电量相对较大。In one example, the power consumption mode of the relay terminal may include, for example, a power saving mode and a high performance mode. In the power saving mode, the power consumed by the communication function of the relay terminal per unit time is relatively small, and in the high performance mode, the power consumed by the communication function of the relay terminal per unit time is relatively small. big.
例如,在省电模式下,中继终端接收中继需求消息的周期为周期3;在高性能模式下, 中继终端接收中继需求消息的周期为周期4,周期3大于周期4。周期3例如可以为40ms、160ms、512ms、1.28s、2.56s等,周期4例如可以为10ms、20ms、40ms、80ms等。For example, in the power saving mode, the period for the relay terminal to receive the relay demand message is period 3; in the high performance mode, the period for the relay terminal to receive the relay demand message is period 4, and period 3 is greater than period 4. Period 3 can be, for example, 40ms, 160ms, 512ms, 1.28s, 2.56s, etc., period 4 can be, for example, 10ms, 20ms, 40ms, 80ms, and so on.
又如,在省电模式下,中继终端在频段1内检测来自远程终端或网络设备的消息;在高性能模式下,中继终端在频段2的频段内检测来自远程终端或网络设备的消息,频段1的带宽小于频段2的带宽。例如,频段1包括4G频段,频段2包括4G频段和2.4Ghz频段。For another example, in the power saving mode, the relay terminal detects messages from remote terminals or network devices in frequency band 1; in high-performance mode, the relay terminal detects messages from remote terminals or network devices in the frequency band of frequency band 2 , the bandwidth of frequency band 1 is smaller than that of frequency band 2. For example, band 1 includes the 4G band, and band 2 includes the 4G band and the 2.4Ghz band.
又如,在省电模式下,中继终端向远程终端或网络设备发送与第一类业务(如表1、表2中的高优先级业务,或业务白名单中的业务)对应的消息,不发送与第二类业务(如表1、表2中的低优先级业务,或业务黑名单中的业务)对应的消息,第一类业务包括的业务不属于第二类业务,且第二类业务包括的业务不属于第一类业务;在高性能模式下,中继终端向远程终端或网络设备既发送与第一类业务对应的消息,也发送与第二类业务对应的消息。For another example, in the power saving mode, the relay terminal sends a message corresponding to the first type of service (such as the high-priority service in Table 1 and Table 2, or the service in the service whitelist) to the remote terminal or network device, Do not send messages corresponding to the second type of service (such as the low-priority services in Table 1 and Table 2, or the services in the service blacklist), the services included in the first type of service do not belong to the second type of service, and the second type of service The services included in the class of services do not belong to the first class of services; in the high-performance mode, the relay terminal sends both messages corresponding to the first class of services and messages corresponding to the second class of services to the remote terminal or network device.
在一个示例中,中继终端的单次时长限制例如可以指终端设备充当中继终端的单次时长。在终端设备属于中继终端且不属于远程终端的情况下,单次时长限制例如可以指图3所示的侧链路通信模块180的单次开启时长。单次开启时长例如可以为1小时、6小时、12小时、24小时等。In one example, the single duration limit of the relay terminal may refer to, for example, the single duration of the terminal device acting as the relay terminal. In the case where the terminal device belongs to the relay terminal and does not belong to the remote terminal, the single-time duration limit may refer to, for example, the single-on-time duration of the side
在一个示例中,中继终端的默认开启时段例如可以指示终端设备充当中继终端的起始时刻和截止时刻。在终端设备属于中继终端且不属于远程终端的情况下,默认开启时段例如可以指开启图3所示的侧链路通信模块180的起始时刻和截止时刻。默认开启时段例如可以为8:00~20:00、9:00~17:00等。In one example, the default turn-on period of the relay terminal may, for example, indicate the start time and the end time of the terminal device acting as the relay terminal. In the case that the terminal device belongs to the relay terminal and does not belong to the remote terminal, the default turn-on period may refer to, for example, the start time and the end time of turning on the side
在一个示例中,中继终端的业务白名单例如可以包括一个或多个业务的标识。在业务白名单里的一个或多个业务可以被称为白名单业务。设置业务白名单有利于控制中继终端在多种应用场景中的功能。例如,中继终端可以仅发送与白名单业务有关的消息,或仅针对与白名单业务有关的消息进行反馈。In one example, the service whitelist of the relay terminal may include, for example, identifiers of one or more services. One or more services in the service whitelist may be referred to as whitelisted services. Setting a service whitelist is beneficial to control the functions of relay terminals in various application scenarios. For example, the relay terminal may only send messages related to the whitelist service, or only provide feedback for the messages related to the whitelist service.
在一个示例中,中继终端的业务黑名单例如可以包括一个或多个业务的标识。在业务黑名单里的一个或多个业务可以被称为黑名单业务。设置业务黑名单有利于控制中继终端在多种应用场景中的功能。例如,中继终端可以不发送或跳过与黑名单业务有关的消息。In one example, the service blacklist of the relay terminal may include, for example, identifiers of one or more services. One or more services in the service blacklist may be referred to as blacklisted services. Setting the service blacklist is beneficial to control the functions of the relay terminal in various application scenarios. For example, the relay terminal may not send or skip messages related to the blacklist service.
中继终端的业务白名单与中继终端的业务黑名单之间可以没有交集,即一个业务通常不会既在中继终端的业务白名单中,也在中继终端的业务黑名单中。There may be no intersection between the service whitelist of the relay terminal and the service blacklist of the relay terminal, that is, a service is usually not in both the service whitelist of the relay terminal and the service blacklist of the relay terminal.
中继终端可以依照中继终端的业务白名单、中继终端的业务黑名单中的一个,控制图3所示的侧链路通信模块180与远程终端或网络设备进行交互。The relay terminal can control the side
在一个示例中,远程终端白名单例如可以包括曾被中继终端提供中继服务的一个或多个终端设备的标识,该一个或多个终端设备可以属于信任远程终端或高交互性能远程终端(高交互性能远程终端与中继终端之间的通信质量可以相对较好,例如时延短、丢包率低、发送功率小等)。下面为便于描述,在远程终端白名单中的终端设备例如可以被称为白名单远程终端,在远程终端白名单以外的其他终端设备例如可以被称为非白名单远程终端(或普通远程终端)。设置远程终端白名单有利于提升中继终端的信令安全性、信令交互性能等。In one example, the remote terminal whitelist may include, for example, the identifiers of one or more terminal devices that have been provided with relay services by the relay terminal, and the one or more terminal devices may belong to trusted remote terminals or high-interaction performance remote terminals ( The communication quality between the high interactive performance remote terminal and the relay terminal may be relatively good, such as short delay, low packet loss rate, low transmission power, etc.). For the convenience of description below, the terminal devices in the remote terminal whitelist can be called whitelisted remote terminals, for example, and other terminal devices outside the remote terminal whitelist can be called non-whitelisted remote terminals (or ordinary remote terminals), for example. . Setting the remote terminal whitelist is beneficial to improve the signaling security and signaling interaction performance of the relay terminal.
例如,中继终端可以在白名单远程终端与网络设备之间转发该白名单远程终端的消 息。也就是说,中继终端可以跳过非白名单远程终端的消息。具体地,例如,中继需求消息可以携带远程终端的标识,使得中继终端可以判断该远程终端是否在远程终端白名单中。如果是,则该远程终端属于白名单远程终端,中继终端可以在该远程终端与网络设备之间转发该远程终端的消息;如果否,则该远程终端属于非白名单远程终端,中继终端可以跳过该远程终端的消息。For example, the relay terminal may forward messages of the whitelisted remote terminal between the whitelisted remote terminal and the network device. That is, the relay terminal can skip messages from non-whitelisted remote terminals. Specifically, for example, the relay requirement message may carry the identifier of the remote terminal, so that the relay terminal can determine whether the remote terminal is in the remote terminal whitelist. If yes, the remote terminal belongs to the whitelisted remote terminal, and the relay terminal can forward the message of the remote terminal between the remote terminal and the network device; if not, the remote terminal belongs to the non-whitelisted remote terminal, and the relay terminal Messages for this remote terminal can be skipped.
在一个示例中,远程终端黑名单例如可以包括曾被中继终端提供中继服务的一个或多个终端设备的标识,该一个或多个终端设备可以属于不信任远程终端或低交互性能远程终端(低交互性能远程终端与中继终端之间的通信质量可以相对较差,例如时延长、丢包率高、发送功率大等)。下面为便于描述,在远程终端黑名单中的终端设备例如可以被称为黑名单远程终端,在远程终端黑名单以外的其他终端设备例如可以被称为非黑名单远程终端(或普通远程终端)。设置远程终端黑名单有利于提升中继终端的信令安全性、信令交互性能等。In one example, the remote terminal blacklist may include, for example, the identification of one or more terminal devices that have been provided with relay services by the relay terminal, and the one or more terminal devices may belong to untrusted remote terminals or low interactive performance remote terminals (The communication quality between the low interactive performance remote terminal and the relay terminal may be relatively poor, such as time delay, high packet loss rate, high transmission power, etc.). For the convenience of description below, the terminal devices in the remote terminal blacklist may be referred to as blacklisted remote terminals, for example, and other terminal devices outside the remote terminal blacklist may be referred to as non-blacklisted remote terminals (or ordinary remote terminals), for example. . Setting the remote terminal blacklist is beneficial to improve the signaling security and signaling interaction performance of the relay terminal.
例如,中继终端可以跳过黑名单远程终端消息。也就是说,中继终端可以在非黑名单远程终端与网络设备之间转发该非黑名单远程终端的消息。具体地,例如,中继需求消息可以携带远程终端的标识,使得中继终端可以判断该远程终端是否在远程终端黑名单中。如果是,则该远程终端属于黑名单远程终端,中继终端可以跳过该远程终端的消息;如果否,则该远程终端属于非黑名单远程终端,中继终端可以在该远程终端与网络设备之间转发该远程终端的消息。For example, the relay terminal can skip blacklisting remote terminal messages. That is, the relay terminal can forward the message of the non-blacklisted remote terminal between the non-blacklisted remote terminal and the network device. Specifically, for example, the relay requirement message may carry the identifier of the remote terminal, so that the relay terminal can determine whether the remote terminal is in the remote terminal blacklist. If yes, the remote terminal belongs to the blacklisted remote terminal, and the relay terminal can skip the message of the remote terminal; if not, the remote terminal belongs to the non-blacklisted remote terminal, and the relay terminal can communicate with the network device between the remote terminal forward the messages of the remote terminal between them.
远程终端白名单与远程终端黑名单之间可以没有交集,即一个终端通常不会既在远程终端白名单中,也在远程终端黑名单中。There may be no intersection between the remote terminal whitelist and the remote terminal blacklist, that is, a terminal is usually not in both the remote terminal whitelist and the remote terminal blacklist.
中继终端可以依照远程终端白名单、远程终端黑名单中的一个,控制图3所示的侧链路通信模块180进行交互。The relay terminal can control the side
图9示出了中继需求消息承载于物理侧链路广播信道(physical sidelink broadcast channel,PSBCH)的一种可能的示例。该示例例如可以应用D2D场景。FIG. 9 shows a possible example in which the relay requirement message is carried on a physical sidelink broadcast channel (PSBCH). This example can be applied to D2D scenes, for example.
PSBCH信道消息在频域上可以占用6个资源块(resource block,RB),在时域上可以占用14个符号(symbol),共计2个时隙,即共计1ms。第一个符号可以用于承载自动增益控制(automatic gain control,AGC)。第二个符号、第三个符号可以用于承载主侧链路同步信号(primary sidelink synchronization signal,PSSS)。第四符号至第十一符号可以用于承载侧链路主系统信息块(sidelink master information block,SL-MIB)。其中第四符号、第十一符号可以用于承载解调参考信号(demodulation reference signal,DMRS)。SL-MIB的一种可能的字段在下面的代码中示出。SL-MIB中的“reserved-r14”可以用于承载中继需求消息。第十二个符号、第十三个符号可以用于承载辅侧链路同步信号(secondary sidelink synchronization signal,SSSS)。辅侧链路同步信号可以包括同步序列标识(sidelink synchronizing sequence identity,SSID),SSID的取值范围可以在0-335。其中,远程终端的SSID可以介于0~159;中继终端的SSID例如可以介于160~335。第十四个符号不用于发数据,可以用于上行与下行之间的切换。The PSBCH channel message can occupy 6 resource blocks (RBs) in the frequency domain, and 14 symbols (symbols) in the time domain, for a total of 2 time slots, that is, a total of 1 ms. The first symbol can be used to carry automatic gain control (AGC). The second symbol and the third symbol can be used to carry the primary sidelink synchronization signal (PSSS). The fourth to eleventh symbols may be used to carry a sidelink master information block (SL-MIB). The fourth symbol and the eleventh symbol may be used to carry a demodulation reference signal (demodulation reference signal, DMRS). One possible field of the SL-MIB is shown in the code below. "reserved-r14" in SL-MIB can be used to carry relay request messages. The twelfth symbol and the thirteenth symbol may be used to carry a secondary sidelink synchronization signal (secondary sidelink synchronization signal, SSSS). The secondary side link synchronization signal may include a synchronization sequence identity (sidelink synchronizing sequence identity, SSID), and the value range of the SSID may be 0-335. The SSID of the remote terminal may range from 0 to 159; the SSID of the relay terminal may range from 160 to 335, for example. The fourteenth symbol is not used for data transmission and can be used for switching between uplink and downlink.
图10示出了中继需求消息承载于物理侧链路广播信道(physical sidelink broadcast channel,PSBCH)的一种可能的示例。该示例例如可以应用V2X场景。FIG. 10 shows a possible example in which the relay requirement message is carried on a physical sidelink broadcast channel (PSBCH). This example can be applied to V2X scenarios, for example.
PSBCH信道消息在频域上可以占用6个资源块(resource block,RB),在时域上可 以占用14个符号(symbol),共计2个时隙,即共计1ms。第一个符号可以用于承载自动增益控制(automatic gain control,AGC)。第二个符号、第三个符号可以用于承载主侧链路同步信号(primary sidelink synchronization signal,PSSS)。第四符号至第十一符号可以用于承载侧链路主系统信息块(sidelink master information block,SL-MIB)。其中,第五符号、第七符号、第十符号可以用于承载解调参考信号(demodulation reference signal,DMRS)。SL-MIB的一种可能的字段在下面的代码中示出。SL-MIB中的“reserved-r14”可以用于承载中继需求消息。第十二个符号、第十三个符号可以用于承载辅侧链路同步信号(secondary sidelink synchronization signal,SSSS)。辅侧链路同步信号可以包括同步序列标识(sidelink synchronizing sequence identity,SSID),SSID的取值范围可以在0-335。其中,远程终端的SSID可以介于0~159;中继终端的SSID例如可以介于160~335。第十四个符号不用于发数据,可以用于上行与下行之间的切换。The PSBCH channel message can occupy 6 resource blocks (RBs) in the frequency domain, and 14 symbols (symbols) in the time domain, with a total of 2 time slots, that is, a total of 1ms. The first symbol can be used to carry automatic gain control (AGC). The second symbol and the third symbol can be used to carry the primary sidelink synchronization signal (PSSS). The fourth to eleventh symbols may be used to carry a sidelink master information block (SL-MIB). Wherein, the fifth symbol, the seventh symbol, and the tenth symbol may be used to carry a demodulation reference signal (demodulation reference signal, DMRS). One possible field of the SL-MIB is shown in the code below. "reserved-r14" in SL-MIB can be used to carry relay request messages. The twelfth symbol and the thirteenth symbol may be used to carry a secondary sidelink synchronization signal (secondary sidelink synchronization signal, SSSS). The secondary side link synchronization signal may include a synchronization sequence identity (sidelink synchronizing sequence identity, SSID), and the value range of the SSID may be 0-335. The SSID of the remote terminal may range from 0 to 159; the SSID of the relay terminal may range from 160 to 335, for example. The fourteenth symbol is not used for data transmission and can be used for switching between uplink and downlink.
应理解,该中继需求消息可以有其他类似或不同的发送方式,本申请实施例对此可以不作限定。例如,中继需求消息可以承载于物理侧链路共享信道(physical sidelink share channel,PSSCH)。It should be understood that the relay requirement message may have other similar or different sending manners, which may not be limited in this embodiment of the present application. For example, the relay requirement message may be carried on a physical sidelink share channel (PSSCH).
502,所述中继终端根据所述中继需求消息,与所述远程终端建立侧链路通信连接,所述侧链路通信连接用于传输与目标通信业务对应的数据包。502. The relay terminal establishes a side link communication connection with the remote terminal according to the relay demand message, where the side link communication connection is used to transmit data packets corresponding to the target communication service.
相应地,所述远程终端与所述中继终端建立侧链路通信连接。中继终端与远程终端建立侧链路通信连接,意味着中继终端可以与远程终端针对目标通信业务进行数据交互,并且,针对目标通信业务,远程终端可以通过中继终端与网络设备进行数据交互。Correspondingly, the remote terminal establishes a side link communication connection with the relay terminal. The relay terminal establishes a side link communication connection with the remote terminal, which means that the relay terminal can perform data interaction with the remote terminal for the target communication service, and for the target communication service, the remote terminal can perform data interaction with the network device through the relay terminal. .
在需要说明,侧链路通信连接可以不同于通过WLAN、BT等通信技术建立的无线通信连接。第一方面,侧链路通信连接使用的通信技术与无线通信连接使用的通信技术可以不同。第二方面,一旦终端设备与热点设备建立无线通信连接,在不考虑防火墙的情况下,热点设备并不会对终端设备的具体通信业务加以区分,终端设备的全部数据包均可以通过热点设备传输。而中继终端、远程终端均可以调整侧链路通信连接所应用的通信业务,也就是说,中继终端可以针对个别通信业务提供中继服务,远程终端可以针对个别通信业务请求中继服务。第三方面,在一种可能的实现方式中,在建立无线通信连接之前,即使终端设备可以搜索到多个热点设备,终端设备仍需要基于用户的手势操作,以选择合适的热点设备。而在建立侧链路通信连接之前,远程终端可以不基于用户的手势操作,以选择合适的中继终端。It should be noted that the side link communication connection may be different from the wireless communication connection established through communication technologies such as WLAN and BT. In a first aspect, the communication technology used by the side link communication connection may be different from the communication technology used by the wireless communication connection. In the second aspect, once the terminal device establishes a wireless communication connection with the hotspot device, the hotspot device will not distinguish the specific communication services of the terminal device without considering the firewall, and all data packets of the terminal device can be transmitted through the hotspot device. . Both the relay terminal and the remote terminal can adjust the communication services applied to the side link communication connection, that is, the relay terminal can provide relay services for individual communication services, and the remote terminal can request relay services for individual communication services. In a third aspect, in a possible implementation manner, before establishing a wireless communication connection, even if the terminal device can search for multiple hotspot devices, the terminal device still needs to select an appropriate hotspot device based on a user's gesture operation. Before establishing the side link communication connection, the remote terminal may not operate based on the user's gesture to select an appropriate relay terminal.
产生这种区别的原因可能有,热点设备通常不具有流量的限制,甚至,热点设备的主要功能就是给终端设备提供收费较低或免费的数据包传输通道。而侧链路通信连接的建立可以脱离或基本脱离用户的许可,侧链路通信连接的建立过程可以更加高效。为减少大流量数据包的传输,中继终端可以仅针对部分通信业务提供中继服务;为维护数据包的私密性或安全性,远程终端可以仅针对部分通信业务请求中继服务。The reason for this difference may be that the hotspot device usually does not have traffic restrictions, and even the main function of the hotspot device is to provide the terminal device with a low-cost or free data packet transmission channel. The establishment of the side link communication connection can be separated from or substantially separated from the permission of the user, and the establishment process of the side link communication connection can be more efficient. In order to reduce the transmission of large-flow data packets, the relay terminal may only provide relay services for some communication services; to maintain the privacy or security of data packets, the remote terminal may only request relay services for some communication services.
可选的,所述中继需求消息包括第一业务标识,第一业务标识可以与目标通信业务对应。Optionally, the relay requirement message includes a first service identifier, and the first service identifier may correspond to the target communication service.
第一业务标识例如可以包含在SL-MIB内,如上文代码中的“reserved-r14”内。For example, the first service identifier may be included in the SL-MIB, such as "reserved-r14" in the above code.
在一个示例中,通过在中继需求消息中携带第一业务标识,侧链路通信连接可以被配置为仅用于第一业务标识对应的业务。例如第一业务标识对应二维码业务,则侧链路通信连接可以仅用于二维码业务,远程终端的对应其他业务的消息可以不通过该侧链路通信连接传输。又如,第一业务标识对应高优先级业务,则侧链路通信连接可以仅用于高优先级业务,远程终端的对应其他优先级业务的消息可以不通过该侧链路通信连接传输。In one example, by carrying the first service identifier in the relay requirement message, the side link communication connection may be configured to be used only for the service corresponding to the first service identifier. For example, the first service identifier corresponds to the two-dimensional code service, and the side link communication connection may only be used for the two-dimensional code service, and messages corresponding to other services of the remote terminal may not be transmitted through the side link communication connection. For another example, if the first service identifier corresponds to a high-priority service, the side-link communication connection may only be used for high-priority services, and messages of the remote terminal corresponding to other priority services may not be transmitted through the side-link communication connection.
在另一个示例中,中继需求消息包括多个业务标识,多个业务标识包括第一部分业务标识、第二部分业务标识,所述第一部分业务标识包括所述第一业务标识,所述中继终端根据所述中继需求消息,与所述远程终端建立侧链路通信连接,包括:所述中继终端根据多个业务标识中的第一部分业务标识,与所述远程终端建立侧链路通信连接,所述侧链路通信连接用于传输第一部分业务标识的消息,且不用于传输第二部分业务标识的消息。也就是说,远程终端可以针对多个业务,请求中继终端提供中继服务,中继终端可以根据自身情况,针对该多个业务中的部分业务为远程终端提供的中继服务。In another example, the relay requirement message includes multiple service identifiers, the multiple service identifiers include a first part of service identifiers and a second part of service identifiers, the first part of service identifiers include the first service identifier, and the relay The terminal establishes a side link communication connection with the remote terminal according to the relay demand message, including: the relay terminal establishes side link communication with the remote terminal according to the first part of the service identifiers in the multiple service identifiers The side link communication connection is used to transmit the message of the first part of the service identifier, and is not used to transmit the message of the second part of the service identifier. That is, the remote terminal may request the relay terminal to provide relay services for multiple services, and the relay terminal may provide relay services for the remote terminal for some of the multiple services according to its own situation.
可选的,所述中继需求消息包括第一业务标识,所述中继终端根据所述中继需求消息,与所述远程终端建立侧链路通信连接,包括:在所述第一业务标识满足第一业务预设条件的情况下,所述中继终端与所述远程终端建立侧链路通信连接。Optionally, the relay requirement message includes a first service identifier, and the relay terminal establishes a side link communication connection with the remote terminal according to the relay requirement message, including: in the first service identifier Under the condition that the preset condition of the first service is satisfied, the relay terminal establishes a side link communication connection with the remote terminal.
可选的,所述第一业务标识满足第一业务预设条件包括以下至少一项:所述第一业务标识对应的优先级高于第一预设业务优先级;所述第一业务标识对应的目标通信业务属于所述中继终端的业务白名单;所述第一业务标识对应的目标通信业务不属于所述中继终端的业务黑名单。Optionally, the first service identifier satisfying the first service preset condition includes at least one of the following: the priority corresponding to the first service identifier is higher than the first preset service priority; the first service identifier corresponds to The target communication service belongs to the service whitelist of the relay terminal; the target communication service corresponding to the first service identifier does not belong to the service blacklist of the relay terminal.
例如,结合上文中的表1,第一业务标识的具体值为0,则第一业务标识对应的优先级为高优先级;第一预设业务优先级为低优先级,则第一业务标识可以满足第一业务预设条件。For example, in combination with Table 1 above, if the specific value of the first service identifier is 0, then the priority corresponding to the first service identifier is high priority; the first preset service priority is low priority, then the first service identifier The first service preset condition can be satisfied.
又如,第一业务标识指示如上文所述的二维码业务;所述中继终端的业务白名单包括该二维码业务,则第一业务标识可以满足第一业务预设条件。For another example, the first service identifier indicates the two-dimensional code service as described above; the service whitelist of the relay terminal includes the two-dimensional code service, and the first service identifier can satisfy the preset conditions of the first service.
又如,第一业务标识指示如上文所述的支付业务;所述中继终端的业务黑名单不包括该支付业务,则第一业务标识可以满足第一业务预设条件。For another example, the first service identifier indicates the payment service as described above; the service blacklist of the relay terminal does not include the payment service, and the first service identifier may satisfy the preset condition of the first service.
可选的,所述中继需求消息包括所述远程终端的终端标识,所述中继终端根据所述中继需求消息,与所述远程终端建立侧链路通信连接,包括:在所述终端标识满足第一终端预设条件的情况下,所述中继终端与所述远程终端建立侧链路通信连接。Optionally, the relay requirement message includes a terminal identifier of the remote terminal, and the relay terminal establishes a side link communication connection with the remote terminal according to the relay requirement message, including: at the terminal When the identifier satisfies the preset condition of the first terminal, the relay terminal establishes a side link communication connection with the remote terminal.
可选的,所述终端标识满足第一终端预设条件包括以下任一项:所述终端标识属于远程终端的标识;所述终端标识在所述中继终端的远程终端白名单中;所述终端标识不在所 述中继终端的远程终端黑名单中。Optionally, the terminal identifier satisfying the preset condition of the first terminal includes any one of the following: the terminal identifier belongs to an identifier of a remote terminal; the terminal identifier is in a remote terminal whitelist of the relay terminal; the The terminal identification is not in the remote terminal blacklist of the relay terminal.
也就是说,如果终端标识对应的终端设备为远程终端而非中继终端,则中继终端可以与该远程终端建立侧链路通信连接;如果终端标识对应的终端设备为中继终端而非远程终端,则中继终端可以跳过或丢弃中继需求信息;如果终端标识对应的远程终端属于信任远程终端或高交互性能远程终端,则中继终端可以同意为远程终端提供中继服务;如果终端标识对应的远程终端属于不信任远程终端或低交互性能远程终端,则中继终端可以拒绝为远程终端提供中继服务,例如中继终端可以跳过或丢弃中继需求信息。That is to say, if the terminal device corresponding to the terminal identifier is a remote terminal rather than a relay terminal, the relay terminal can establish a side link communication connection with the remote terminal; if the terminal device corresponding to the terminal identifier is a relay terminal rather than a remote terminal terminal, the relay terminal can skip or discard the relay demand information; if the remote terminal corresponding to the terminal identifier is a trusted remote terminal or a high-interaction performance remote terminal, the relay terminal can agree to provide relay services for the remote terminal; if the terminal If the corresponding remote terminal is identified as an untrusted remote terminal or a low interactive performance remote terminal, the relay terminal may refuse to provide relay services for the remote terminal, for example, the relay terminal may skip or discard the relay requirement information.
第一业务标识例如可以包含在SSSS的SSID内,又如可以包含在SL-MIB内,如上文代码中的“reserved-r14”内。For example, the first service identifier may be included in the SSID of the SSSS, or may be included in the SL-MIB, such as "reserved-r14" in the above code.
例如,远程终端的标识的具体值属于第一标识集合(例如,第一标识集合对应的SSID介于0~159),中继终端的标识的具体值属于第二标识集合(例如,第二标识集合对应的SSID介于160~335)。中继终端接收到终端标识后,可以判断该终端标识属于第一标识集合还是第二标识集合。如果终端标识属于第一标识集合,则说明终端标识对应的终端设备属于远程终端。中继终端可以与远程终端建立侧链路通信连接。如果中继终端接收到来自其他中继终端的消息,中继终端可以通过解码出终端设备的标识,即可确定跳过或丢弃该数据包,从而提高中继终端处理消息的效率。For example, the specific value of the identification of the remote terminal belongs to the first identification set (for example, the SSID corresponding to the first identification set is between 0 and 159), and the specific value of the identification of the relay terminal belongs to the second identification set (for example, the second identification The SSID corresponding to the set is between 160 and 335). After receiving the terminal identification, the relay terminal can determine whether the terminal identification belongs to the first identification set or the second identification set. If the terminal identifier belongs to the first identifier set, it means that the terminal device corresponding to the terminal identifier belongs to the remote terminal. The relay terminal can establish a side link communication connection with the remote terminal. If the relay terminal receives a message from another relay terminal, the relay terminal can determine to skip or discard the data packet by decoding the identifier of the terminal device, thereby improving the efficiency of the relay terminal in processing messages.
又如,中继终端的所有者与具有远程终端的所有者相识,中继终端的所有者可以通过操控图8所示的用户界面,将该远程终端的终端标识加入远程终端白名单中(应理解,“将终端标识加入远程终端白名单”的步骤可以发生在502之前或之后)。之后,该远程终端可以发送中继需求消息,该中继需求消息可以包括该远程终端的终端标识,从而中继终端可以根据该远程终端的终端标识,确定与远程终端建立侧链路通信连接。For another example, the owner of the relay terminal is acquainted with the owner of the remote terminal, and the owner of the relay terminal can add the terminal identifier of the remote terminal to the whitelist of the remote terminal by manipulating the user interface shown in FIG. It is understood that the step of "adding the terminal identification to the remote terminal whitelist" may occur before or after 502). Afterwards, the remote terminal can send a relay requirement message, and the relay requirement message can include the terminal identifier of the remote terminal, so that the relay terminal can determine to establish a side link communication connection with the remote terminal according to the terminal identifier of the remote terminal.
又如,中继终端的所有者可以通过操控图8所示的用户界面,将不信任的终端标识加入远程终端黑名单中,其中远程终端黑名单不包括远程终端的终端标识。之后,该远程终端可以发送中继需求消息,该中继需求消息可以包括该远程终端的终端标识,从而中继终端可以根据该远程终端的终端标识,确定与远程终端建立侧链路通信连接。For another example, the owner of the relay terminal can add untrusted terminal identifiers to the remote terminal blacklist by manipulating the user interface shown in FIG. 8 , where the remote terminal blacklist does not include the terminal identifiers of the remote terminals. Afterwards, the remote terminal can send a relay requirement message, and the relay requirement message can include the terminal identifier of the remote terminal, so that the relay terminal can determine to establish a side link communication connection with the remote terminal according to the terminal identifier of the remote terminal.
503,所述远程终端通过所述侧链路通信连接,向所述中继终端发送第一数据包,所述第一数据包与所述目标通信业务对应。503. The remote terminal sends a first data packet to the relay terminal through the side link communication connection, where the first data packet corresponds to the target communication service.
相应地,所述中继终端通过所述侧链路通信连接,从所述远程终端接收第一数据包。Correspondingly, the relay terminal receives the first data packet from the remote terminal through the side link communication connection.
也就是说,远程终端可以针对目标通信业务,向中继终端发送第一数据包,以请求中继终端将第一数据包转发至网络设备。That is, the remote terminal may send the first data packet to the relay terminal for the target communication service, so as to request the relay terminal to forward the first data packet to the network device.
可选的,中继需求消息包括第一业务标识,所述第一数据包为与第一业务标识对应的数据包。Optionally, the relay requirement message includes a first service identifier, and the first data packet is a data packet corresponding to the first service identifier.
504,所述中继终端向网络设备转发所述第一数据包。504. The relay terminal forwards the first data packet to the network device.
相应地,所述网络设备从所述中继终端接收所述第一数据包。Correspondingly, the network device receives the first data packet from the relay terminal.
也就是说,中继终端可以通过上行链路向网络设备发送远程终端的数据包。That is to say, the relay terminal can send the data packet of the remote terminal to the network device through the uplink.
可选的,所述第一数据包包括第二业务标识,第二业务标识与所述目标通信业务对应,所述中继终端向网络设备转发所述第一数据包,包括:在所述第二业务标识满足第二业务预设条件的情况下,所述中继终端向网络设备转发所述第一数据包。Optionally, the first data packet includes a second service identifier, the second service identifier corresponds to the target communication service, and the relay terminal forwards the first data packet to the network device, including: When the second service identifier satisfies the preset condition of the second service, the relay terminal forwards the first data packet to the network device.
可选的,所述第二业务标识满足第二业务预设条件包括以下至少一项:所述第二业务 标识对应的优先级高于第二预设业务优先级;所述第二业务标识对应的第二通信业务属于所述中继终端的业务白名单;所述第二业务标识对应的第二通信业务不属于所述中继终端的业务黑名单。Optionally, the second service identifier satisfying the second service preset condition includes at least one of the following: the priority corresponding to the second service identifier is higher than the second preset service priority; the second service identifier corresponds to The second communication service belongs to the service whitelist of the relay terminal; the second communication service corresponding to the second service identifier does not belong to the service blacklist of the relay terminal.
第二业务标识的具体实施方式可以参照第一业务标识,在此就不再详细赘述。For the specific implementation of the second service identifier, reference may be made to the first service identifier, which will not be described in detail here.
可选的,所述第一数据包包括所述远程终端的终端标识,所述中继终端向网络设备转发所述第一数据包,包括:在所述终端标识满足第二终端预设条件的情况下,所述中继终端向网络设备转发所述第一数据包。Optionally, the first data packet includes the terminal identifier of the remote terminal, and the relay terminal forwards the first data packet to the network device, including: if the terminal identifier satisfies the preset condition of the second terminal. In this case, the relay terminal forwards the first data packet to the network device.
可选的,所述终端标识满足第二终端预设条件包括以下任一项:所述终端标识属于远程终端的标识;所述终端标识在所述中继终端的远程终端白名单中;所述终端标识不在所述中继终端的远程终端黑名单中。Optionally, the terminal identifier satisfying a preset condition of the second terminal includes any one of the following: the terminal identifier belongs to an identifier of a remote terminal; the terminal identifier is in a remote terminal whitelist of the relay terminal; the The terminal identification is not in the remote terminal blacklist of the relay terminal.
第一数据包的终端标识的具体实施方式可以参照中继需求消息的终端标识,在此就不再详细赘述。For the specific implementation of the terminal identifier of the first data packet, reference may be made to the terminal identifier of the relay demand message, and details are not described herein again.
505,所述网络设备向所述终端设备发送所述远程终端的第二数据包,所述第二数据包与所述目标通信业务对应。505. The network device sends a second data packet of the remote terminal to the terminal device, where the second data packet corresponds to the target communication service.
相应地,所述中继终端从所述网络设备接收所述远程终端的第二数据包。Correspondingly, the relay terminal receives the second data packet of the remote terminal from the network device.
也就是说,中继终端可以针对目标通信业务,通过下行链路从网络设备接收远程终端的数据包。That is to say, the relay terminal can receive the data packets of the remote terminal from the network device through the downlink for the target communication service.
第二数据包例如可以是远程终端的反馈消息、通知消息等。The second data packet may be, for example, a feedback message, a notification message and the like of the remote terminal.
可选的,中继需求消息包括第一业务标识,所述第二数据包为与第一业务标识对应的数据包。Optionally, the relay requirement message includes a first service identifier, and the second data packet is a data packet corresponding to the first service identifier.
506,所述中继终端通过所述侧链路通信连接,向所述远程终端转发所述第二数据包。506. The relay terminal forwards the second data packet to the remote terminal through the side link communication connection.
相应地,所述远程终端通过所述侧链路通信连接,从所述中继终端接收所述第二数据包。Correspondingly, the remote terminal receives the second data packet from the relay terminal through the side link communication connection.
可选的,所述第二数据包包括第三业务标识,第三业务标识与所述目标通信业务对应,所述中继终端向所述远程终端转发所述第二数据包,包括:在所述第三业务标识满足第三业务预设条件的情况下,所述中继终端向所述远程终端转发所述第二数据包。Optionally, the second data packet includes a third service identifier, the third service identifier corresponds to the target communication service, and the relay terminal forwards the second data packet to the remote terminal, including: If the third service identifier satisfies the preset condition of the third service, the relay terminal forwards the second data packet to the remote terminal.
可选的,所述第三业务标识满足第三业务预设条件包括以下至少一项:所述第三业务标识对应的优先级高于第三预设业务优先级;所述第三业务标识对应的第三通信业务属于所述中继终端的业务白名单;所述第三业务标识对应的第三通信业务不属于所述中继终端的业务黑名单。Optionally, the third service identifier satisfying a preset third service condition includes at least one of the following: the priority corresponding to the third service identifier is higher than the third preset service priority; the third service identifier corresponds to The third communication service belongs to the service whitelist of the relay terminal; the third communication service corresponding to the third service identifier does not belong to the service blacklist of the relay terminal.
第三业务标识的具体实施方式可以参照第一业务标识,在此就不再详细赘述。For the specific implementation of the third service identifier, reference may be made to the first service identifier, which will not be described in detail here.
可选的,所述第二数据包包括所述远程终端的终端标识,所述中继终端向所述远程终端转发所述第二数据包,包括:在所述终端标识满足第三终端预设条件的情况下,所述中继终端向所述远程终端转发所述第二数据包。Optionally, the second data packet includes the terminal identifier of the remote terminal, and the relay terminal forwarding the second data packet to the remote terminal includes: if the terminal identifier satisfies the preset of the third terminal. In the case of the condition, the relay terminal forwards the second data packet to the remote terminal.
可选的,所述终端标识满足第三终端预设条件包括以下任一项:所述终端标识属于远程终端的标识;所述终端标识在所述中继终端的远程终端白名单中;所述终端标识不在所述中继终端的远程终端黑名单中。Optionally, the terminal identifier satisfying the third terminal preset condition includes any one of the following: the terminal identifier belongs to an identifier of a remote terminal; the terminal identifier is in a remote terminal whitelist of the relay terminal; the The terminal identification is not in the remote terminal blacklist of the relay terminal.
第二数据包的终端标识的具体实施方式可以参照中继需求消息的终端标识,在此就不再详细赘述。For the specific implementation manner of the terminal identifier of the second data packet, reference may be made to the terminal identifier of the relay demand message, which will not be described in detail here.
可选的,所述方法还包括:所述中继终端接收所述远程终端发送的第三数据包,所述第三数据包包括第四业务标识;在所述第四业务标识不满足所述第二业务预设条件的情况下,所述中继终端跳过或丢弃所述第三数据包。Optionally, the method further includes: receiving, by the relay terminal, a third data packet sent by the remote terminal, where the third data packet includes a fourth service identifier; when the fourth service identifier does not satisfy the In the case of the second service preset condition, the relay terminal skips or discards the third data packet.
可选的,所述方法还包括:所述中继终端接收所述网络设备发送的第四数据包,所述第四数据包包括第五业务标识;在所述第五业务标识不满足所述第三业务预设条件的情况下,所述中继终端跳过或丢弃所述第四数据包。Optionally, the method further includes: receiving, by the relay terminal, a fourth data packet sent by the network device, where the fourth data packet includes a fifth service identifier; if the fifth service identifier does not satisfy the In the case of the preset condition of the third service, the relay terminal skips or discards the fourth data packet.
可选的,所述方法还包括:所述中继终端接收所述远程终端发送的第五数据包,所述第五数据包包括目标终端标识;在所述目标终端标识不满足所述第三终端预设条件的情况下,所述中继终端跳过或丢弃所述第五数据包。Optionally, the method further includes: receiving, by the relay terminal, a fifth data packet sent by the remote terminal, where the fifth data packet includes a target terminal identifier; if the target terminal identifier does not satisfy the third Under the condition that the terminal presets the condition, the relay terminal skips or discards the fifth data packet.
应理解,本申请实施例可以不限定503与505的具体执行顺序。It should be understood that the specific execution order of 503 and 505 may not be limited in this embodiment of the present application.
图11是本申请实施例提供的一种通信方法的示意性流程图。FIG. 11 is a schematic flowchart of a communication method provided by an embodiment of the present application.
1101,远程终端发送中继需求消息。1101, the remote terminal sends a relay request message.
相应地,中继终端从远程终端接收所述中继需求消息。Accordingly, the relay terminal receives the relay demand message from the remote terminal.
1101的具体实现方式可以参照图5所示实施例中的501,在此就不再赘述。For the specific implementation of 1101, reference may be made to 501 in the embodiment shown in FIG. 5, and details are not described herein again.
1102,所述中继终端判断所述中继需求消息是否合法。1102. The relay terminal determines whether the relay requirement message is legal.
1103,在所述中继需求消息合法的情况下,所述中继终端向所述远程终端发送连接建立请求消息,所述连接建立请求消息与所述中继需求消息对应,所述连接建立请求消息用于建立侧链路通信连接。1103. In the case that the relay demand message is valid, the relay terminal sends a connection establishment request message to the remote terminal, where the connection establishment request message corresponds to the relay demand message, and the connection establishment request message The message is used to establish a side link communication connection.
相应地,所述远程终端从所述中继终端接收所述连接建立请求消息。Accordingly, the remote terminal receives the connection establishment request message from the relay terminal.
1104,所述远程终端向所述中继终端发送连接建立确认消息,所述连接建立确认消息与所述连接建立请求消息对应,所述连接建立确认消息用于确认所述侧链路通信连接的配置参数。1104. The remote terminal sends a connection establishment confirmation message to the relay terminal, where the connection establishment confirmation message corresponds to the connection establishment request message, and the connection establishment confirmation message is used to confirm the validity of the side link communication connection. Configuration parameters.
相应地,所述中继终端从所述远程终端接收所述连接建立确认消息。Accordingly, the relay terminal receives the connection establishment confirmation message from the remote terminal.
在远程终端接收到分别来自多个中继终端的多个连接建立请求消息的情况下,远程终端可以从该多个中继终端中择优选择一个中继终端,并与该优选的中继终端建立侧链路通信连接。When the remote terminal receives multiple connection establishment request messages from multiple relay terminals, the remote terminal can select one relay terminal from the multiple relay terminals, and establish a connection with the preferred relay terminal. Side link communication connection.
1105,所述中继终端向所述远程终端发送连接建立完成消息,所述连接建立完成消息与所述连接建立确认消息对应,所述连接建立完成消息用于指示所述侧链路通信连接建立完成。1105. The relay terminal sends a connection establishment complete message to the remote terminal, where the connection establishment complete message corresponds to the connection establishment confirmation message, and the connection establishment complete message is used to indicate that the side link communication connection is established Finish.
相应地,所述远程终端从所述中继终端接收所述连接建立完成消息。Accordingly, the remote terminal receives the connection establishment complete message from the relay terminal.
1102至1105可以是图5所示实施例中的502的具体实施方式。1102 to 1105 may be specific implementations of 502 in the embodiment shown in FIG. 5 .
1106,所述远程终端通过所述侧链路通信连接,向所述中继终端发送第一数据包。1106. The remote terminal sends a first data packet to the relay terminal through the side link communication connection.
相应地,所述中继终端通过所述侧链路通信连接,从所述远程终端接收第一数据包。Correspondingly, the relay terminal receives the first data packet from the remote terminal through the side link communication connection.
1107,所述中继终端向网络设备转发所述第一数据包。1107. The relay terminal forwards the first data packet to the network device.
相应地,所述网络设备从所述中继终端接收所述第一数据包。Correspondingly, the network device receives the first data packet from the relay terminal.
1108,所述网络设备向所述终端设备发送所述远程终端的第二数据包。1108. The network device sends the second data packet of the remote terminal to the terminal device.
相应地,所述中继终端从所述网络设备接收所述远程终端的第二数据包。Correspondingly, the relay terminal receives the second data packet of the remote terminal from the network device.
1109,所述中继终端通过所述侧链路通信连接,向所述远程终端转发所述第二数据包。1109. The relay terminal forwards the second data packet to the remote terminal through the side link communication connection.
相应地,所述远程终端通过所述侧链路通信连接,从所述中继终端接收所述第二数据 包。Accordingly, the remote terminal receives the second data packet from the relay terminal through the side link communication connection.
1106至1109的具体实现方式可以参照图5所示实施例中的503至506,在此就不再赘述。For the specific implementation of 1106 to 1109, reference may be made to 503 to 506 in the embodiment shown in FIG. 5, and details are not repeated here.
1110,所述远程终端向所述中继终端发送连接断开请求消息,所述连接断开请求消息用于断开所述侧链路通信连接。1110. The remote terminal sends a connection disconnection request message to the relay terminal, where the connection disconnection request message is used to disconnect the side link communication connection.
相应地,所述中继终端从所述远程终端接收所述连接断开请求消息。Accordingly, the relay terminal receives the connection disconnection request message from the remote terminal.
1111,所述中继终端向所述远程终端发送连接断开确认消息,所述连接断开确认消息与连接断开请求消息对应,所述连接断开确认消息用于指示所述侧链路通信连接断开完成。1111. The relay terminal sends a connection disconnection confirmation message to the remote terminal, where the connection disconnection confirmation message corresponds to a connection disconnection request message, and the connection disconnection confirmation message is used to indicate the side link communication The disconnection is complete.
相应地,所述中继终端从所述远程终端接收所述连接断开确认消息。Accordingly, the relay terminal receives the disconnection confirmation message from the remote terminal.
在其他示例中,远程终端可以通过确定侧链路通信连接是否发生失步,以确定侧链路通信连接是否有效。如果失步,则远程终端可以尝试重新发送中继需求消息,以寻找合适的中继终端。In other examples, the remote terminal may determine whether the sidelink communication connection is valid by determining whether the sidelink communication connection is out of sync. If out of sync, the remote terminal may attempt to resend the relay demand message to find a suitable relay terminal.
类似地,在其他示例中,中继终端可以通过确定侧链路通信连接是否发生失步,以确定侧链路通信连接是否有效。如果失步,则中继终端可以重新开始监听中继需求消息,以建立新的侧链路通信连接。Similarly, in other examples, the relay terminal may determine whether the side link communication connection is valid by determining whether the side link communication connection is out of synchronization. If the synchronization is lost, the relay terminal can start monitoring the relay demand message again to establish a new side link communication connection.
下面介绍几种降低中继终端监听中继需求消息的功耗的实施例。Several embodiments for reducing the power consumption of the relay terminal for monitoring the relay demand message are described below.
示例1Example 1
在中继终端未与远程终端建立侧链路通信连接的情况下,中继终端可以周期性地驱动图3所示的侧链路通信模块180,以监听图5或图11所示实施例中的中继需求消息。When the relay terminal does not establish a side link communication connection with the remote terminal, the relay terminal may periodically drive the side
例如,在图12的(a)中,中继终端监听中继需求消息的周期1为T 1,在该周期1中,中继终端驱动侧链路通信模块的时长(如12的(a)中的阴影部分所示)为t 0,T 1>t 0。在图12的(b)中,中继终端监听中继需求消息的周期2为T 2,中继终端驱动侧链路通信模块的时长为t 0,其中,T 2>T 1>t 0。 For example, in (a) of FIG. 12 , the period 1 in which the relay terminal monitors the relay demand message is T 1 , and in this period 1, the duration of the relay terminal driving the side link communication module (eg, (a) of 12 ) The shaded part in ) is t 0 , and T 1 >t 0 . In (b) of FIG. 12 , the period 2 of the relay terminal monitoring the relay demand message is T 2 , and the duration of the relay terminal driving the side link communication module is t 0 , where T 2 >T 1 >t 0 .
从图12可以看出,在中继终端驱动侧链路通信模块的时长相对固定的情况下,中继终端监听中继需求消息的周期越长,单位时间内中继终端监听中继需求消息的次数越少,单位时间内关闭侧链路通信模块的时长越长,进而越有利于降低中继终端监听中继需求消息的功耗。例如,中继终端监听中继需求消息的周期(例如记为第二周期)可以为512ms、640ms、1.28s、2.56s、2.56s等。As can be seen from Figure 12, when the duration of the relay terminal driving the side link communication module is relatively fixed, the longer the period for the relay terminal to monitor the relay demand message, the longer the relay terminal monitors the relay demand message per unit time. The less the number of times, the longer the duration of turning off the side link communication module per unit time, which is more conducive to reducing the power consumption of the relay terminal for monitoring the relay demand message. For example, the period for the relay terminal to monitor the relay demand message (for example, denoted as the second period) may be 512ms, 640ms, 1.28s, 2.56s, 2.56s, and so on.
在图13的(a)中,远程终端发送中继需求消息的周期3与中继需求消息占用的时域共计为t 1(中继需求消息可以占用周期3内的部分时域);中继终端监听中继需求消息的周期4为T 0;中继终端驱动侧链路通信模块的时长为t 1;T 0>t 1。因此,在一个周期4内,关闭侧链路通信模块的时长可以为T 0-t 1。 In (a) of FIG. 13 , the period 3 of the remote terminal sending the relay demand message and the time domain occupied by the relay demand message total t 1 (the relay demand message can occupy part of the time domain in the period 3); the relay The period 4 for the terminal to monitor the relay demand message is T 0 ; the duration for the relay terminal to drive the side link communication module is t 1 ; T 0 >t 1 . Therefore, in one cycle 4, the duration of turning off the side link communication module may be T 0 -t 1 .
在图13的(b)中,远程终端发送中继需求消息的周期3与中继需求消息占用的时域共计为t 2;中继终端监听中继需求消息的周期4为T 0;中继终端驱动侧链路通信模块的时长为t 2;其中,T 0>t 2>t 1。因此,在一个周期4内,关闭侧链路通信模块的时长可以为T 0-t 2。并且,T 0-t 1>T 0-t 2。 In (b) of FIG. 13 , the period 3 for the remote terminal to send the relay demand message and the time domain occupied by the relay demand message total t 2 ; the period 4 for the relay terminal to monitor the relay demand message is T 0 ; The duration of the terminal-driven-side link communication module is t 2 , wherein T 0 >t 2 >t 1 . Therefore, in one cycle 4, the duration of turning off the side link communication module may be T 0 -t 2 . And, T 0 -t 1 >T 0 -t 2 .
由此可以看出,在可以成功监听中继需求消息的前提下,在中继终端监听中继需求消息的周期4中,中继终端驱动侧链路通信模块的时长越短,越有利于降低中继终端监听中 继需求消息的功耗。因此,加快远程终端发送中继需求消息的频率,有利于缩小中继终端驱动侧链路通信模块的时长,进而有利于降低中继终端的功耗。It can be seen from this that on the premise that the relay demand message can be successfully monitored, in cycle 4 of the relay terminal monitoring the relay demand message, the shorter the duration of the relay terminal driving the side link communication module, the more conducive to reducing the The power consumption of the relay terminal to monitor the relay demand message. Therefore, speeding up the frequency at which the remote terminal sends the relay demand message is beneficial to reducing the time period for the relay terminal to drive the side link communication module, which in turn is beneficial to reducing the power consumption of the relay terminal.
将中继终端驱动侧链路通信模块的时长(近似)设定为周期3与中继需求消息占用的时域之和,有利于提升中继终端监听中继需求消息的成功率,其中周期3可以为远程终端发送中继需求消息的周期。Setting the duration (approximately) of the relay terminal driving side link communication module to the sum of the period 3 and the time domain occupied by the relay demand message is beneficial to improve the success rate of the relay terminal monitoring the relay demand message. The period during which relay demand messages can be sent for remote terminals.
假设远程终端可以在第1个周期3内发送中继需求消息1,其中中继需求消息1所占用的时域在中继终端的侧链路通信模块被开启之前。那么中继终端可以在第1个周期3内未监听到该中继需求消息1。假设远程终端可以在第2个周期3内发送中继需求消息2,其中中继需求消息2所占用的时域在中继终端的侧链路通信模块被开启之后。那么远程终端可以在第2个周期3内监听到该中继需求消息2。It is assumed that the remote terminal can send the relay demand message 1 in the first period 3, wherein the time domain occupied by the relay demand message 1 is before the side link communication module of the relay terminal is turned on. Then, the relay terminal may not listen to the relay demand message 1 in the first period 3 . It is assumed that the remote terminal can send the relay requirement message 2 in the second period 3, wherein the time domain occupied by the relay requirement message 2 is after the side link communication module of the relay terminal is turned on. Then the remote terminal can listen to the relay requirement message 2 in the second period 3 .
假设远程终端可以在第3个周期3内发送中继需求消息3,其中中继需求消息3的起始时刻在中继终端的侧链路通信模块被开启之前,中继需求消息3的截止时刻在中继终端的侧链路通信模块被开启之后。那么中继终端可以在第3个周期3内未监听到该中继需求消息3。假设远程终端可以在第4个周期3内发送中继需求消息4,其中中继需求消息4所占用的时域在中继终端的侧链路通信模块被开启之后。由于中继终端驱动侧链路通信模块的时长等于(或近似等于)周期3与中继需求消息占用的时域之和,因此该中继需求消息4可以出现在中继终端的侧链路通信模块被开启的时段内,因此中继终端可以在第4个周期3内监听到该中继需求消息4。It is assumed that the remote terminal can send the relay request message 3 in the third period 3, wherein the start time of the relay request message 3 is before the side link communication module of the relay terminal is turned on, and the end time of the relay request message 3 After the side link communication module of the relay terminal is turned on. Then, the relay terminal may not monitor the relay demand message 3 in the third period 3 . It is assumed that the remote terminal can send the relay requirement message 4 in the fourth period 3, wherein the time domain occupied by the relay requirement message 4 is after the side link communication module of the relay terminal is turned on. Since the duration of the relay terminal driving the side link communication module is equal to (or approximately equal to) the sum of period 3 and the time domain occupied by the relay demand message, the relay demand message 4 can appear in the side link communication of the relay terminal During the period when the module is turned on, the relay terminal can listen to the relay demand message 4 in the fourth period 3 .
可选的,中继需求消息可以承载在PSBCH上,其中PSBCH的发送周期可以小于40ms。也就是说,中继需求消息的发送周期(例如记为第一周期)可以小于40ms。Optionally, the relay requirement message may be carried on the PSBCH, where the transmission period of the PSBCH may be less than 40ms. That is to say, the sending period of the relay requirement message (for example, denoted as the first period) may be less than 40ms.
例如,远程终端通过PSBCH广播中继需求消息,PSBCH的发送周期可以为2ms,中继需求消息占用的时域资源为1ms。根据远程终端发送中继需求消息的周期与中继需求消息占用的时域之和,在每个中继需求消息的监听周期内,中继终端驱动侧链路通信模块的时长可以为3ms。如果中继终端监听中继需求消息的周期为512ms,则在每个中继需求消息的监听周期内,侧链路通信模块被关闭的时长可以为509ms。For example, the remote terminal broadcasts the relay demand message through the PSBCH, the transmission period of the PSBCH may be 2ms, and the time domain resource occupied by the relay demand message is 1ms. According to the sum of the period when the remote terminal sends the relay demand message and the time domain occupied by the relay demand message, in the listening period of each relay demand message, the duration of the relay terminal driving the side link communication module can be 3ms. If the period during which the relay terminal listens to the relay demand message is 512ms, then in the monitoring period of each relay demand message, the time period for which the side link communication module is turned off may be 509ms.
可以看出,中继终端监听中继需求消息的周期越长,中继终端驱动侧链路通信模块的时长越短,中继终端驱动侧链路通信模块的时长在中继需求消息的监听周期的占用比例越小,甚至可以忽略不计。It can be seen that the longer the relay terminal listens to the relay demand message, the shorter the duration that the relay terminal drives the side link communication module, and the duration that the relay terminal drives the side link communication module is within the monitoring period of the relay demand message. The smaller the occupancy ratio is, it can even be ignored.
可选的,中继终端驱动侧链路通信模块的时长可以大于中继需求消息的发送周期,且小于中继需求消息的发送周期和中继需求消息占用的时域之和。Optionally, the duration of the relay terminal driving the side link communication module may be greater than the transmission period of the relay demand message, and less than the sum of the transmission period of the relay demand message and the time domain occupied by the relay demand message.
可选的,中继终端驱动侧链路通信模块的时长可以等于中继需求消息的发送周期。Optionally, the duration of the relay terminal driving the side link communication module may be equal to the sending period of the relay demand message.
这有利于进一步降低中继终端的监听功耗,但可能会降低中继终端监听中继需求请求的成功率。This is beneficial to further reduce the monitoring power consumption of the relay terminal, but may reduce the success rate of the relay terminal monitoring the relay demand request.
图14示出了远程终端发送中继需求消息的多种可能的实施方式。Figure 14 shows various possible implementations of a remote terminal sending a relay request message.
在14中的(a)所示的示例中,远程终端可以按照时分双工(time division duplexing,TDD)发送中继需求消息。也就是说,上行数据和下行数据可以占用相同的频段1,下行数据、上行数据可以分别占用一个收发周期的下行时域资源和上行时域资源。中继需求消息可以占用上行时域资源。远程终端发送中继需求消息的周期可以等于一个收发周期。In the example shown in (a) of 14, the remote terminal may transmit the relay demand message according to time division duplexing (TDD). That is to say, the uplink data and the downlink data may occupy the same frequency band 1, and the downlink data and the uplink data may respectively occupy the downlink time domain resources and the uplink time domain resources of one transceiver cycle. The relay requirement message may occupy uplink time domain resources. The period in which the remote terminal sends the relay requirement message may be equal to one transceiving period.
在一个示例中,在每个中继需求消息的监听周期中,中继终端驱动侧链路通信模块的 时长可以(近似)等于收发周期与上行时域资源之和,或者,中继终端驱动侧链路通信模块的时长可以(近似)等于收发周期与中继需求消息所占用的时域之和。In an example, in the listening period of each relay demand message, the duration of the link communication module on the driving side of the relay terminal may be (approximately) equal to the sum of the sending and receiving period and the uplink time domain resources, or, the driving side of the relay terminal The duration of the link communication module may be (approximately) equal to the sum of the transceiver cycle and the time domain occupied by the relay demand message.
例如,一个收发周期包括10个时隙,其中下行时域资源占用8个时隙,上行时域资源占用2个时隙。中继需求消息可以占用上行时域资源,则中继终端驱动侧链路通信模块的时长可以等于12个时隙。For example, a transceiver cycle includes 10 time slots, of which downlink time domain resources occupy 8 time slots, and uplink time domain resources occupy 2 time slots. The relay demand message may occupy uplink time domain resources, and the duration of the relay terminal driving the side link communication module may be equal to 12 time slots.
又如,如图14中的(a)所示,一个收发周期包括10个时隙,其中下行时域资源占用8个时隙,上行时域资源占用2个时隙。中继需求消息可以占用上行时域资源的1个时隙,则中继终端驱动侧链路通信模块的时长t 3可以等于11个时隙。 For another example, as shown in (a) of FIG. 14 , one transceiver cycle includes 10 time slots, of which downlink time domain resources occupy 8 time slots, and uplink time domain resources occupy 2 time slots. The relay requirement message may occupy 1 time slot of the uplink time domain resource, and the duration t 3 for the relay terminal to drive the side link communication module may be equal to 11 time slots.
在14中的(b)所示的示例中,远程终端可以按照频分双工(frequency division duplexing,FDD)发送中继需求消息。下行数据可以占用频段2,上行数据可以占用频段3,频段2与频段3互不重叠。也就是说,下行数据可以占用下行频域资源,上行数据可以占用上行频域资源,下行数据和上行数据可以互不干扰。下行频域资源、上行频域资源均可以属于授权频段。中继需求消息可以在上行频域资源上发送。因此远程终端发送中继需求消息的周期可以不受下行数据的影响。In the example shown in (b) of 14, the remote terminal may transmit the relay demand message according to frequency division duplexing (FDD). Downlink data can occupy frequency band 2, and uplink data can occupy frequency band 3, and frequency band 2 and frequency band 3 do not overlap each other. That is, downlink data may occupy downlink frequency domain resources, uplink data may occupy uplink frequency domain resources, and downlink data and uplink data may not interfere with each other. Both downlink frequency domain resources and uplink frequency domain resources may belong to licensed frequency bands. The relay requirement message can be sent on uplink frequency domain resources. Therefore, the period in which the remote terminal sends the relay request message may not be affected by the downlink data.
例如,如图14中的(b)所示,远程终端可以在上行频域资源上,每隔2个时隙发送一次中继需求消息,其中中继需求消息可以占用上行频域资源的1个时隙,则中继终端驱动侧链路通信模块的时长t 4可以等于3个时隙。 For example, as shown in (b) of FIG. 14 , the remote terminal may send a relay request message every 2 time slots on the uplink frequency domain resource, wherein the relay request message may occupy one uplink frequency domain resource. time slot, the duration t 4 for the relay terminal to drive the side link communication module may be equal to 3 time slots.
在14中的(c)所示的示例中,远程终端可以在非授权频域资源上发送中继需求消息。如图14中的(c)所示,上行数据和下行数据可以占用频段4,侧链路数据可以占用频段5。在其他示例中,上行数据和下行数据可以占用不同的频段。也就是说,上下行数据可以占用上下行频域资源,侧链路数据可以占用侧链路频域资源,侧链路数据和上下行数据可以互不干扰。因此远程终端发送中继需求消息的周期可以不受上行数据、下行数据的影响。In the example shown in (c) of 14, the remote terminal may send a relay demand message on unlicensed frequency domain resources. As shown in (c) of FIG. 14 , uplink data and downlink data may occupy frequency band 4, and side link data may occupy frequency band 5. In other examples, uplink data and downlink data may occupy different frequency bands. That is to say, uplink and downlink data may occupy uplink and downlink frequency domain resources, side link data may occupy sidelink frequency domain resources, and side link data and uplink and downlink data may not interfere with each other. Therefore, the period in which the remote terminal sends the relay request message may not be affected by the uplink data and the downlink data.
例如,如图14中的(c)所示,远程终端可以在非授权频段上,每隔2个时隙发送一次中继需求消息,其中中继需求消息可以占用非授权频段的1个时隙,则中继终端驱动侧链路通信模块的时长t 5可以等于3个时隙。 For example, as shown in (c) of FIG. 14 , the remote terminal may send a relay request message every 2 time slots on the unlicensed frequency band, wherein the relay request message may occupy 1 time slot of the unlicensed frequency band , then the duration t5 of the relay terminal driving the side link communication module may be equal to 3 time slots.
需要说明的是,非授权频段例如可以为700MHz非授权频段例如可以为2.38~2.42GHz频段;非授权频段又如可以为5.905~5.925GHz频段。非授权频段的频率相对较低,可以有利于提升信号的穿墙性。It should be noted that the unlicensed frequency band may be, for example, the 700 MHz unlicensed frequency band, such as the 2.38-2.42 GHz frequency band; the unlicensed frequency band may be, for example, the 5.905-5.925 GHz frequency band. The frequency of the unlicensed band is relatively low, which can help improve the penetration of the signal.
示例2Example 2
结合图3可知,中继终端可以包括多个通信模块。中继终端还可以包括与该多个通信模块关联的其他模块。例如,中继终端可以包括多个通信模块以及该多个通信模块的驱动模块(例如图3所示的处理器110)。驱动模块可以向该多个通信模块输入电信号(或被称为对该多个通信模块上电),使得该多个通信模块可以收发消息。当任一通信模块被驱动时,中继终端内的驱动模块相应地处于工作状态(如唤醒状态、非休眠状态等)。It can be known from FIG. 3 that the relay terminal may include multiple communication modules. The relay terminal may also include other modules associated with the plurality of communication modules. For example, the relay terminal may include multiple communication modules and driving modules for the multiple communication modules (eg, the
例如,通信模块1的驱动周期为驱动周期1,通信模块2的驱动周期为驱动周期2。通信模块1在驱动周期1内被驱动的时长为时长1,通信模块2在驱动周期2内被驱动的时长为时长2,时长1可以等于时长2。如果中继终端在互不交叉的2个时段内分别驱动通信模块1、通信模块2,那么与通信模块1、通信模块2均关联的模块3需要被驱动2 次。如果中继终端在同一时段内驱动通信模块1、通信模块2,那么与通信模块1、通信模块2均关联的模块3仅需要被驱动1次,且模块1被驱动的时长可以等于时长1或时长2。For example, the driving period of the communication module 1 is the driving period 1 , and the driving period of the communication module 2 is the driving period 2 . The duration that the communication module 1 is driven in the driving cycle 1 is duration 1, the duration that the communication module 2 is driven in the driving cycle 2 is duration 2, and the duration 1 may be equal to the duration 2. If the relay terminal drives the communication module 1 and the communication module 2 respectively within two non-intersecting time periods, the module 3 associated with both the communication module 1 and the communication module 2 needs to be driven twice. If the relay terminal drives the communication module 1 and the communication module 2 in the same time period, then the module 3 associated with the communication module 1 and the communication module 2 only needs to be driven once, and the driving duration of the module 1 can be equal to the duration 1 or duration 2.
又如,通信模块3的驱动周期为驱动周期3,通信模块4的驱动周期为驱动周期4。通信模块3在驱动周期3内被驱动的时长为时长3,通信模块4在驱动周期4内被驱动的时长为时长4,时长3大于时长4。如果中继终端在互不交叉的两个时段内分别驱动通信模块3、通信模块4,那么与通信模块3、通信模块4均关联的模块3需要被驱动2次。如果中继终端在开始驱动通信模块3之后、停止驱动通信模块3之前开始驱动通信模块4,且在中继终端停止驱动通信模块3之前停止驱动通信模块4,那么与通信模块3、通信模块4均关联的模块3仅需要被驱动1次,且模块3被驱动的时长可以等于时长3。For another example, the driving period of the communication module 3 is the driving period 3 , and the driving period of the communication module 4 is the driving period 4 . The duration that the communication module 3 is driven in the driving cycle 3 is duration 3 , the duration that the communication module 4 is driven in the driving cycle 4 is duration 4 , and the duration 3 is greater than the duration 4 . If the relay terminal drives the communication module 3 and the communication module 4 respectively in two non-intersecting time periods, the module 3 associated with both the communication module 3 and the communication module 4 needs to be driven twice. If the relay terminal starts to drive the communication module 4 after starting to drive the communication module 3 but before it stops driving the communication module 3, and stops driving the communication module 4 before the relay terminal stops driving the communication module 3, then the communication module 3, the communication module 4 All associated modules 3 only need to be driven once, and the duration for which module 3 is driven can be equal to duration 3 .
为进一步降低中继终端的监听功耗,可以将多个通信模块的驱动时间段对齐,有利于缓解中继终端内其他器件的频繁驱动。In order to further reduce the monitoring power consumption of the relay terminal, the driving time periods of the multiple communication modules can be aligned, which is beneficial to alleviate the frequent driving of other devices in the relay terminal.
在一个示例中,中继终端可以包括第一通信模块、第二通信模块,所述第一通信模块用于所述中继终端与所述网络设备之间的交互,所述第二通信模块用于所述中继终端与所述远程终端之间的交互,其中,第一通信模块的驱动起始时刻与第二通信模块的驱动起始时刻对齐,或者,第一通信模块的驱动结束时刻与第二通信模块的驱动结束时刻对齐。其中,第一通信模块的驱动起始时刻可以指接收寻呼的起始时刻,即开始接收寻呼消息的时刻。第一通信模块的驱动结束时刻可以指接收寻呼的结束时刻,即停止接收寻呼消息的时刻。第二通信模块的驱动起始时刻可以指接收中继需求消息的起始时刻,即开始接收中继需求消息的时刻。第二通信模块的驱动结束时刻可以指接收中继需求消息的结束时刻,即停止接收中继需求消息的时刻。这有利于减少与第一通信模块、第二通信模块关联的其他模块的驱动次数和驱动时长。In an example, the relay terminal may include a first communication module and a second communication module, where the first communication module is used for interaction between the relay terminal and the network device, and the second communication module is used for interaction between the relay terminal and the network device. In the interaction between the relay terminal and the remote terminal, the driving start time of the first communication module is aligned with the driving start time of the second communication module, or the driving end time of the first communication module is the same as the driving start time of the second communication module. The driving end times of the second communication module are aligned. The driving start time of the first communication module may refer to the start time of receiving paging, that is, the time when the paging message is started to be received. The driving end time of the first communication module may refer to the end time of receiving paging, that is, the time of stopping receiving paging messages. The driving start time of the second communication module may refer to the start time of receiving the relay demand message, that is, the time when the relay demand message starts to be received. The driving end time of the second communication module may refer to the end time of receiving the relay demand message, that is, the time of stopping receiving the relay demand message. This is beneficial to reduce the driving times and driving duration of other modules associated with the first communication module and the second communication module.
在另一个示例中,中继终端可以包括第一通信模块、第二通信模块,所述第一通信模块用于所述中继终端与所述网络设备之间的交互,所述第二通信模块用于所述中继终端与所述远程终端之间的交互,第一通信模块的驱动起始时刻等于或晚于第二通信模块的驱动起始时刻,且第一通信模块的驱动结束时刻等于或早于第二通信模块的驱动结束时刻。In another example, the relay terminal may include a first communication module and a second communication module, where the first communication module is used for interaction between the relay terminal and the network device, and the second communication module For the interaction between the relay terminal and the remote terminal, the driving start time of the first communication module is equal to or later than the driving start time of the second communication module, and the driving end time of the first communication module is equal to or later than the driving start time of the second communication module. or earlier than the driving end time of the second communication module.
在又一个示例中,中继终端可以包括第一通信模块、第二通信模块,其中,第一通信模块的驱动时段(从驱动起始时刻到驱动结束时刻之间的时间段可以被称为驱动时段)与第二通信模块的驱动时段至少部分重叠,有利于减少其他通信模块的驱动次数和驱动时长。In yet another example, the relay terminal may include a first communication module and a second communication module, wherein the driving period of the first communication module (the period from the driving start time to the driving end time may be referred to as driving period) and the driving period of the second communication module at least partially overlap, which is beneficial to reduce the driving times and driving duration of other communication modules.
图15示出了两种对齐驱动时间段的具体实施例。FIG. 15 shows specific embodiments of two alignment driving time periods.
第二通信模块的驱动频率为第一通信模块的驱动频率的N倍,N为大于1的正整数。也就是说,第一通信模块的驱动周期为第二通信模块的驱动周期的1/N倍。因此,通过上述方式,可以将第二通信模块的驱动起始时刻与第一通信模块的某个驱动起始时刻对齐,从而在第一通信模块被驱动时,第二通信模块可以处于休眠状态,而在第二通信模块被驱动时,第一通信模块可以被同时驱动。The driving frequency of the second communication module is N times the driving frequency of the first communication module, where N is a positive integer greater than 1. That is to say, the driving period of the first communication module is 1/N times the driving period of the second communication module. Therefore, by the above method, the driving start time of the second communication module can be aligned with a certain driving start time of the first communication module, so that when the first communication module is driven, the second communication module can be in a dormant state, And when the second communication module is driven, the first communication module can be driven simultaneously.
如果第一通信模块与其他设备建立了通信连接,则第一通信模块可以从周期性监听状态转变为连接态,即第一通信模块被长时间唤醒或驱动。第二通信模块可以继续保持原有的周期性驱动模式。在第一通信模块与其他设备切断通信连接之后,第一通信模块可以从 连接态转变为周期性监听状态。If the first communication module establishes a communication connection with other devices, the first communication module can transition from the periodic monitoring state to the connection state, that is, the first communication module is woken up or driven for a long time. The second communication module can continue to maintain the original periodic driving mode. After the first communication module cuts off the communication connection with other devices, the first communication module can transition from the connection state to the periodic monitoring state.
在一个示例中,中继终端可以按照新的周期性驱动模式驱动第一通信模块。例如,中继终端可以接收网络设备发送的配置信息,并根据该配置信息,确定第一通信模块的首次驱动起始时刻和第一通信模块的驱动周期。在此情况下,第一通信模块的驱动起始时刻可能与第二通信模块的的驱动起始时刻无法对齐,即在第二通信模块被驱动时,第一通信模块可以处于未被驱动的状态。因此,中继终端可以调整第二通信模块的驱动起始时刻。例如,网络设备发送的配置信息用于指示中继终端在第一目标时刻开始驱动第一通信模块,中继终端可以在第一目标时刻同时驱动第一通信模块、第二通信模块。并且,第一通信模块的驱动频率可以是第二通信模块的驱动频率的整数倍。这使得第一通信模块的驱动起始时刻与第二通信模块的驱动起始时刻对齐,使得在第二通信模块被驱动的同时,第一通信模块可以被驱动。In one example, the relay terminal may drive the first communication module according to a new periodic driving mode. For example, the relay terminal may receive the configuration information sent by the network device, and according to the configuration information, determine the first driving start time of the first communication module and the driving period of the first communication module. In this case, the driving start time of the first communication module may not be aligned with the driving start time of the second communication module, that is, when the second communication module is driven, the first communication module may be in an undriven state . Therefore, the relay terminal can adjust the driving start time of the second communication module. For example, the configuration information sent by the network device is used to instruct the relay terminal to start driving the first communication module at the first target moment, and the relay terminal may simultaneously drive the first communication module and the second communication module at the first target moment. Also, the driving frequency of the first communication module may be an integer multiple of the driving frequency of the second communication module. This aligns the driving start time of the first communication module with the driving start time of the second communication module, so that the first communication module can be driven while the second communication module is being driven.
如图15中的(a)所示,中继终端可以在时刻a 1从连接态切出,并根据网络设备发送的配置信息,确定在时刻a 2驱动第一通信模块;另外,中继终端可以在时刻a 2同时驱动第二通信模块,其中时刻a 2在时刻a 1之后。也就是说,在中继终端从连接态切出后,中继终端首次监听寻呼消息的起始时刻同时还是监听中继需求消息的起始时刻。 As shown in (a) of FIG. 15 , the relay terminal can be switched from the connected state at time a1, and according to the configuration information sent by the network device, it is determined to drive the first communication module at time a2 ; in addition, the relay terminal The second communication module can be driven simultaneously at time a 2 , which is after time a 1 . That is to say, after the relay terminal switches from the connected state, the start time of the relay terminal monitoring the paging message for the first time is also the start time of monitoring the relay demand message.
在其他示例中,中继终端可以在时刻a 1从连接态切出,并根据网络设备发送的配置信息,确定在时刻a 2首次驱动第一通信模块;另外,中继终端可以在时刻a 3同时驱动第一通信模块和第二通信模块,其中,时刻a 2在时刻a 1之后,时刻a 3在时刻a 2之后,时刻a 3与时刻a 2之间间隔有N个第一通信模块的驱动周期。也就是说,从时刻a 2之后的a 3时刻开始,第二通信模块的驱动起始时刻可以与第一通信模块的驱动起始时刻对齐。 In other examples, the relay terminal may switch from the connected state at time a1, and determine, according to the configuration information sent by the network device, to drive the first communication module for the first time at time a2 ; in addition, the relay terminal may drive the first communication module at time a3 The first communication module and the second communication module are driven at the same time, wherein time a 2 is after time a 1 , time a 3 is after time a 2 , and there are N pieces of the first communication module between time a 3 and time a 2 drive cycle. That is, starting from time a3 after time a2, the driving start time of the second communication module may be aligned with the driving start time of the first communication module.
如图15中的(a)所示,第一通信模块的驱动周期可以小于第二通信模块的驱动周期。在其他示例中,第一通信模块的驱动周期可以等于第二通信模块的驱动周期。那么,从时刻a 2开始,第一通信模块的驱动起始时刻可以始终与第二通信模块的驱动起始时刻对齐。 As shown in (a) of FIG. 15 , the driving period of the first communication module may be smaller than the driving period of the second communication module. In other examples, the driving period of the first communication module may be equal to the driving period of the second communication module. Then, starting from time a2, the driving start time of the first communication module can always be aligned with the driving start time of the second communication module.
在另一个示例中,中继终端可以根据第二通信模块的周期性驱动模式,调整第一通信模块的驱动起始时刻。例如,第二目标时刻为中继终端驱动第二通信模块的某个驱动起始时刻,且该第二目标时刻在第一通信模块从连接态切出之后。中继终端可以将第一通信模块的驱动起始时刻调整至第二目标时刻。这使得第一通信模块的驱动起始时刻与第二通信模块的驱动起始时刻对齐,进而使第二通信模块在被驱动的同时,第一通信模块可以被驱动。In another example, the relay terminal may adjust the driving start time of the first communication module according to the periodic driving mode of the second communication module. For example, the second target time is a certain driving start time when the relay terminal drives the second communication module, and the second target time is after the first communication module is switched from the connected state. The relay terminal may adjust the driving start time of the first communication module to the second target time. This aligns the driving start time of the first communication module with the driving start time of the second communication module, so that the first communication module can be driven while the second communication module is being driven.
如图15中的(b)所示,中继终端可以在时刻b 1驱动第二通信模块,且在时刻b 2再次驱动第二通信模块;并且,中继终端可以在时刻a 1从连接态切出,时刻a 1可以介于时刻b 1与时刻b 2之间。中继终端可以将时刻b 2作为第一通信模块的驱动起始时刻。 As shown in (b) of FIG. 15 , the relay terminal may drive the second communication module at time b1 and drive the second communication module again at time b2 ; and, the relay terminal may change from the connected state at time a1 Cut out, time a 1 may be between time b 1 and time b 2 . The relay terminal may take time b 2 as the driving start time of the first communication module.
中继终端还可以根据第二通信模块的驱动起始时刻以及第一通信模块的驱动周期,确定中继终端从连接态切出后第一次驱动第一通信模块的驱动起始时刻。The relay terminal may also determine the start time of driving the first communication module for the first time after the relay terminal switches from the connected state according to the driving start time of the second communication module and the driving period of the first communication module.
如图15中的(b)所示,中继终端可以在时刻b 1驱动第二通信模块,且在时刻b 2再次驱动第二通信模块;并且,中继终端可以在时刻a 1从连接态切出,时刻a 1可以介于时刻b 1与时刻b 2之间,且时刻a 1与时刻b 2之间的时间差大于第一通信模块的驱动周期T 3。中继终端可以根据时刻b 2以及第一通信模块的驱动周期T 3,计算距离a 1最近的第一通信模块的驱动起始时刻a 2,a 2=b 2-k*T 3,k=[(b 2-a 1)/T 3],[…]为取整运算。 As shown in (b) of FIG. 15 , the relay terminal may drive the second communication module at time b1 and drive the second communication module again at time b2 ; and, the relay terminal may change from the connected state at time a1 Cut out, time a 1 may be between time b 1 and time b 2 , and the time difference between time a 1 and time b 2 is greater than the driving period T 3 of the first communication module. The relay terminal can calculate the driving start time a 2 of the first communication module closest to a 1 according to the time b 2 and the driving period T 3 of the first communication module, a 2 =b 2 -k*T 3 , k= [(b 2 -a 1 )/T 3 ], […] is a rounding operation.
下面结合多种可能的应用场景,阐述上面技术方案的具体应用。本申请实施例提供的技术方案有利于在多种通信场景中为用户提供新的通信功能,进而有利于为用户提供便利。The specific application of the above technical solution is described below in combination with a variety of possible application scenarios. The technical solutions provided by the embodiments of the present application are beneficial to provide users with new communication functions in various communication scenarios, and thus are beneficial to provide convenience to users.
场景一scene one
用户通过手势操作进入终端设备1的支付界面,并正在加载支付二维码,该支付界面可以被视为与二维码加载相关的第一用户界面。然而当前终端设备1无法与网络设备直接通信,即终端设备1无法直接从网络设备获取支付二维码的信息。终端设备1可以属于上述远程终端。终端设备1可以通过图3所示的侧链路通信模块180,发送图5或图11所示的中继需求消息,以与合适的中继终端建立侧链路通信连接。终端设备1可以通过侧链路通信连接向中继终端发送数据包1,数据包1可以用于请求支付二维码。中继终端可以将数据包1转发至网络设备,并从网络设备接收数据包2,数据包2可以是针对数据包1的反馈,例如数据包2可以包括支付二维码的具体内容。也就是说,终端设备1在无网络通信场景下,仍然可以通过联网(非脱机)的方式获取支付二维码。终端设备1可以在第一用户界面上显示二维码的图案。用户可以将支付二维码出示给收款设备,以完成支付流程。结合图5所示的实施例可知,数据包1、数据包2例如可以均为与二维码业务或支付业务对应的消息。The user enters the payment interface of the terminal device 1 through a gesture operation, and is loading the payment two-dimensional code, and the payment interface can be regarded as the first user interface related to the loading of the two-dimensional code. However, currently the terminal device 1 cannot directly communicate with the network device, that is, the terminal device 1 cannot directly obtain the payment two-dimensional code information from the network device. The terminal device 1 may belong to the above-mentioned remote terminal. The terminal device 1 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side
场景二scene two
用户通过手势操作,使得终端设备2显示与公交卡充值相关的第二用户界面,通过例如近场通信(near field communication,NFC)与公交卡建立近场通信连接,并准备与云端服务器交互,以完成对公交卡的充值。然而当前终端设备2无法与网络设备直接通信,即终端设备2无法直接从网络设备获取公交卡的充值信息。终端设备2可以属于上述远程终端。终端设备2可以通过图3所示的侧链路通信模块180,发送图5或图11所示的中继需求消息,以与合适的中继终端建立侧链路通信连接。终端设备2可以通过侧链路通信连接向中继终端发送数据包3,数据包3可以用于请求公交卡的充值信息。中继终端可以将数据包3转发至网络设备,并从网络设备接收数据包4,数据包4可以是针对数据包3的反馈,例如数据包4可以包括公交卡的充值信息。也就是说,终端设备2在无网络通信场景下,仍然可以通过联网(非脱机)的方式获取公交卡的充值信息,并与云端服务器同步。由此,终端设备2可以根据公交卡的充值信息,完成对公交卡的充值流程,例如在第二用户界面显示第一指示信息,所述第一指示信息指示公交卡充值完成。结合图5所示的实施例可知,数据包3、数据包4例如可以均为与支付业务对应的消息。The user makes the terminal device 2 display a second user interface related to the recharging of the bus card through gesture operation, establishes a near field communication connection with the bus card through, for example, near field communication (NFC), and prepares to interact with the cloud server to Complete the recharge of the bus card. However, currently the terminal device 2 cannot directly communicate with the network device, that is, the terminal device 2 cannot directly obtain the recharge information of the bus card from the network device. The terminal device 2 may belong to the above-mentioned remote terminal. The terminal device 2 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side
场景三scene three
用户通过手势操作,使得终端设备3显示与获取验证码相关的第三用户界面。然而当前终端设备3无法与网络设备直接通信,即终端设备3无法直接从网络设备获取包含验证码的短信消息。终端设备3可以属于上述远程终端。终端设备3可以通过图3所示的侧链路通信模块180,发送图5或图11所示的中继需求消息,以与合适的中继终端建立侧链路通信连接。终端设备3可以通过侧链路通信连接向中继终端发送数据包5,数据包5可以用于请求验证码。中继终端可以将数据包5转发至网络设备,并从网络设备接收数据包6,数据包6可以是针对数据包5的反馈,例如数据包6可以为包含验证码的短信消息。由此,终端设备3在无网络通信场景下,仍然可以获取包含验证码的短信消息。由此,终 端设备可以根据获取到的验证码,继续完成例如解密、登录、安全验证等流程。结合图5所示的实施例可知,数据包5、数据包6例如可以均为与短信业务对应的消息。The user operates a gesture, so that the terminal device 3 displays a third user interface related to obtaining the verification code. However, currently the terminal device 3 cannot directly communicate with the network device, that is, the terminal device 3 cannot directly obtain the short message message including the verification code from the network device. The terminal device 3 may belong to the above-mentioned remote terminal. The terminal device 3 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side
场景四scene four
终端设备4的通信账户余额不足,终端设备4无法与网络设备进行有效通信。用户可以通过手势操作,使得终端设备4显示与话费充值相关的第四用户界面,以完成对终端设备4的通信账户的充值。终端设备4可以属于上述远程终端。终端设备4可以通过图3所示的侧链路通信模块180,发送图5或图11所示的中继需求消息,以与合适的中继终端建立侧链路通信连接。终端设备4可以通过侧链路通信连接向中继终端发送数据包7,数据包7可以用于请求与话费充值相关的信息。中继终端可以将数据包7转发至网络设备,并从网络设备接收数据包8,数据包8可以是针对数据包7的反馈,例如数据包8可以包括与话费充值相关的信息。也就是说,终端设备4在无网络通信场景下,仍然可以通过网络设备进行话费充值。终端设备4可以在第四用户界面显示第二指示信息,所述第二指示信息指示话费充值完成。在话费充值完毕后,终端设备4与网络设备之间的有效通信可以被恢复。结合图5所示的实施例可知,数据包7、数据包8例如可以均为与支付业务或应用通知业务对应的消息。可选的,中继终端可以选择仅转发与话费充值相关的数据包。也就是说,在话费充值完毕后,终端设备4的与话费充值无关的数据包可以由网络设备直接发送至终端设备4。The balance of the communication account of the terminal device 4 is insufficient, and the terminal device 4 cannot effectively communicate with the network device. The user can make the terminal device 4 display a fourth user interface related to the recharging of the phone bill through a gesture operation, so as to complete the recharging of the communication account of the terminal device 4 . The terminal device 4 may belong to the above-mentioned remote terminal. The terminal device 4 may send the relay demand message shown in FIG. 5 or FIG. 11 through the side
场景五scene five
终端设备5当前位于地下车库内,用户准备通过终端设备5支付停车费。终端设备5可以显示与停车费支付相关的第五用户界面。由于信号较弱,终端设备5无法与网络设备直接通信。终端设备5可以属于上述远程终端。终端设备5可以通过图3所示的侧链路通信模块180,发送图5或图11所示的中继需求消息,以与合适的中继终端建立侧链路通信连接。终端设备5可以通过侧链路通信连接向中继终端发送数据包9,数据包9可以用于请求与停车费相关的支付信息。中继终端可以将数据包9转发至网络设备,并从网络设备接收数据包10,数据包10可以是针对数据包9的反馈,例如数据包10可以包括与停车费相关的支付信息。也就是说,终端设备5在无网络通信场景下,仍然可以通过网络设备支付停车费。结合图5所示的实施例可知,数据包9、数据包10例如可以均为与支付业务对应的消息。终端设备5可以在第五用户界面显示第三指示信息,所述第三指示信息指示停车费支付完成。可选的,中继终端可以选择仅转发与停车费相关的数据包。也就是说,在停车费支付完毕后,终端设备5可以移出车库,并与网络设备直接通信。The terminal device 5 is currently located in the underground garage, and the user intends to pay the parking fee through the terminal device 5 . The terminal device 5 may display a fifth user interface related to parking fee payment. Due to the weak signal, the terminal device 5 cannot communicate directly with the network device. The terminal device 5 may belong to the above-mentioned remote terminal. The terminal device 5 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side
场景六scene six
终端设备6可以显示与所述求救电话相关的第六用户界面,以发起求救。由于信号较弱,终端设备6无法与网络设备直接通信。终端设备6可以属于上述远程终端。终端设备6可以通过图3所示的侧链路通信模块180,发送图5或图11所示的中继需求消息,以与合适的中继终端建立侧链路通信连接。终端设备6可以通过侧链路通信连接向中继终端发送数据包11,数据包11可以包括求救电话的上传语音包,例如紧急电话“110”的上传语音包。中继终端可以将数据包11转发至网络设备,并从网络设备接收数据包12,数据包12可以是针对数据包11的反馈,例如数据包12可以包括求救电话的下传语音包,例如紧急电话“110”的下传语音包。也就是说,终端设备6在无网络通信场景下,仍然可以通过网 络设备拨打紧急电话。终端设备6可以在第六用户界面显示第四指示信息,所述第四指示信息指示所述终端设备6已接通所述求救电话。结合图5所示的实施例可知,数据包11、数据包12例如可以均为与求救业务或高清语音通话业务对应的消息。The terminal device 6 may display a sixth user interface related to the distress call to initiate a distress call. Due to the weak signal, the terminal device 6 cannot communicate directly with the network device. The terminal device 6 may belong to the above-mentioned remote terminal. The terminal device 6 can send the relay demand message shown in FIG. 5 or FIG. 11 through the side
图16是根据本申请实施例提供的通信装置的结构示意图。该通信装置可以为终端设备,也可以为可用于终端设备的部件(例如芯片或者电路)。如图16所示,通信装置1600可以包括收发模块1601。FIG. 16 is a schematic structural diagram of a communication apparatus provided according to an embodiment of the present application. The communication device may be a terminal device, or may be a component (for example, a chip or a circuit) that can be used in the terminal device. As shown in FIG. 16 , the
收发模块1601,用于发送中继需求消息,以与中继终端建立侧链路通信连接,所述侧链路通信连接用于传输与目标通信业务对应的数据包。The transceiver module 1601 is configured to send a relay demand message to establish a side link communication connection with the relay terminal, where the side link communication connection is used to transmit data packets corresponding to the target communication service.
收发模块1601还用于通过所述中继终端与网络设备交互,包括:通过所述侧链路通信连接,向所述中继终端发送与所述目标通信业务对应的第一数据包,以使得所述第一数据包由所述中继终端转发至所述网络设备;和/或,通过所述侧链路通信连接,从所述中继终端接收与所述目标通信业务对应的第二数据包,所述第二数据包来自所述网络设备。The transceiver module 1601 is further configured to interact with the network device through the relay terminal, including: sending a first data packet corresponding to the target communication service to the relay terminal through the side link communication connection, so that the The first data packet is forwarded by the relay terminal to the network device; and/or, second data corresponding to the target communication service is received from the relay terminal through the side link communication connection packet, the second data packet is from the network device.
收发模块1601可以由接收器和/或发射器实现。收发模块1601的具体功能和有益效果可以参见图5或图11所示的通信方法,在此就不再赘述。The transceiver module 1601 may be implemented by a receiver and/or a transmitter. For the specific functions and beneficial effects of the transceiver module 1601, reference may be made to the communication method shown in FIG. 5 or FIG. 11 , which will not be repeated here.
一种可能的实施例中,还提供了一种通信装置,该通信装置可以为终端设备、或者可以为用于终端设备的部件(例如芯片或者电路等)。该通信装置可以包括收发器和处理器,可选的,还可以包括存储器。其中收发器可以用于实现对应于上述接收模块和发送模块的相应功能和操作,处理器可以用于实现上述处理模块的相应功能和操作。存储器可以用于存储执行指令或者应用程序代码,并由处理器来控制执行,实现本申请上述实施例提供的通信方法;和/或,也可以用于暂存一些数据和指令信息等。存储器可以独立于处理器存在,此时,存储器可以通过通信线路与处理器相连接。又一种可能的设计中,存储器也可以和处理器集成在一起,本申请实施例对此不作限定。In a possible embodiment, a communication apparatus is also provided, and the communication apparatus may be a terminal device, or may be a component (such as a chip or a circuit, etc.) used for the terminal device. The communication device may include a transceiver and a processor, and optionally, a memory. The transceiver may be used to implement the corresponding functions and operations corresponding to the above-mentioned receiving module and the transmitting module, and the processor may be used to implement the corresponding functions and operations of the above-mentioned processing module. The memory can be used to store execution instructions or application code, and the execution is controlled by the processor to implement the communication method provided by the above embodiments of the present application; and/or, it can also be used to temporarily store some data and instruction information. The memory may exist independently of the processor, and in this case, the memory may be connected to the processor through a communication line. In another possible design, the memory may also be integrated with the processor, which is not limited in this embodiment of the present application.
图17是根据本申请实施例提供的通信装置的结构示意图。该通信装置可以为终端设备,也可以为可用于终端设备的部件(例如芯片或者电路)。如图17所示,通信装置1700可以包括收发模块1701和处理模块1702。FIG. 17 is a schematic structural diagram of a communication apparatus provided according to an embodiment of the present application. The communication device may be a terminal device, or may be a component (for example, a chip or a circuit) that can be used in the terminal device. As shown in FIG. 17 , the
收发模块1701,用于从远程终端接收中继需求消息。The transceiver module 1701 is configured to receive a relay requirement message from a remote terminal.
处理模块1702,用于根据所述中继需求消息,与所述远程终端建立侧链路通信连接,所述侧链路通信连接用于传输与目标通信业务对应的数据包。The processing module 1702 is configured to establish a side link communication connection with the remote terminal according to the relay requirement message, where the side link communication connection is used for transmitting data packets corresponding to the target communication service.
收发模块1701还用于,在所述远程终端与网络设备之间转发消息,包括:通过所述侧链路通信连接,从远程终端接收与所述目标通信业务对应的第一数据包,并将所述第一数据包转发至所述网络设备;和/或,从所述网络设备接收与所述目标通信业务对应的第二数据包,并通过所述侧链路通信连接将所述第二数据包转发至所述远程终端。The transceiver module 1701 is further configured to forward a message between the remote terminal and the network device, including: receiving a first data packet corresponding to the target communication service from the remote terminal through the side link communication connection, and sending the message to the remote terminal. forwarding the first data packet to the network device; and/or receiving a second data packet corresponding to the target communication service from the network device, and sending the second data packet through the side link communication connection The data packets are forwarded to the remote terminal.
收发模块1701可以由接收器和/或发射器实现。处理模块1702可以由处理器实现。收发模块1701和处理模块1702的具体功能和有益效果可以参见图5或图11所示的通信方法,在此就不再赘述。The transceiver module 1701 may be implemented by a receiver and/or a transmitter. The processing module 1702 may be implemented by a processor. For the specific functions and beneficial effects of the transceiver module 1701 and the processing module 1702, reference may be made to the communication method shown in FIG. 5 or FIG. 11 , which will not be repeated here.
一种可能的实施例中,还提供了一种通信装置,该通信装置可以为终端设备、或者可以为用于终端设备的部件(例如芯片或者电路等)。该通信装置可以包括收发器和处理器,可选的,还可以包括存储器。其中收发器可以用于实现对应于上述接收模块和发送模块的相应功能和操作,处理器可以用于实现上述处理模块的相应功能和操作。存储器可以用于 存储执行指令或者应用程序代码,并由处理器来控制执行,实现本申请上述实施例提供的通信方法;和/或,也可以用于暂存一些数据和指令信息等。存储器可以独立于处理器存在,此时,存储器可以通过通信线路与处理器相连接。又一种可能的设计中,存储器也可以和处理器集成在一起,本申请实施例对此不作限定。In a possible embodiment, a communication apparatus is also provided, and the communication apparatus may be a terminal device, or may be a component (such as a chip or a circuit, etc.) used for the terminal device. The communication device may include a transceiver and a processor, and optionally, a memory. The transceiver may be used to implement the corresponding functions and operations corresponding to the above-mentioned receiving module and the transmitting module, and the processor may be used to implement the corresponding functions and operations of the above-mentioned processing module. The memory can be used to store execution instructions or application code, and the execution is controlled by the processor to implement the communication method provided by the above embodiments of the present application; and/or, it can also be used to temporarily store some data and instruction information. The memory may exist independently of the processor, and in this case, the memory may be connected to the processor through a communication line. In another possible design, the memory may also be integrated with the processor, which is not limited in this embodiment of the present application.
图18是本申请实施例提供的一种通信装置。该通信装置可以是如图3所示的终端设备。通信装置包括处理器1801、存储器1802、射频电路、天线以及输入输出装置。处理器1801可以用于对通信协议以及通信数据进行处理,以及对通信装置进行控制,执行软件程序,处理软件程序的数据等。存储器1802主要用于存储软件程序和数据。射频电路主要用于基带信号与射频信号的转换以及对射频信号的处理。天线主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。需要说明的是,有些种类的通信装置可以不具有输入输出装置。FIG. 18 is a communication device provided by an embodiment of the present application. The communication apparatus may be a terminal device as shown in FIG. 3 . The communication device includes a processor 1801, a memory 1802, a radio frequency circuit, an antenna, and an input and output device. The processor 1801 may be used to process communication protocols and communication data, control communication devices, execute software programs, process data of software programs, and the like. The memory 1802 is primarily used to store software programs and data. The radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal. Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of communication devices may not have input and output devices.
当需要发送数据时,处理器1801对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到通信装置时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。在实际的通信装置产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。When data needs to be sent, the processor 1801 performs baseband processing on the data to be sent, and outputs a baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves. When data is sent to the communication device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data. In an actual communication device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device or the like. The memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
在本申请实施例中,可以将具有收发功能的天线和射频电路视为通信装置的收发器1803,将具有处理功能的处理器视为通信装置的处理单元。收发器1803也可以称为收发单元、收发机、收发装置等。处理单元也可以称为处理器,处理单板,处理模块、处理装置等。可选的,可以将收发器1803中用于实现接收功能的器件视为接收单元,将收发器1803中用于实现发送功能的器件视为发送单元,即收发器1803包括接收单元和发送单元。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。In this embodiment of the present application, the antenna and the radio frequency circuit with a transceiving function can be regarded as the transceiver 1803 of the communication device, and the processor with the processing function can be regarded as a processing unit of the communication device. The transceiver 1803 may also be referred to as a transceiver unit, a transceiver, a transceiver, or the like. The processing unit may also be referred to as a processor, a processing single board, a processing module, a processing device, and the like. Optionally, the device for implementing the receiving function in the transceiver 1803 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver 1803 may be regarded as a transmitting unit, that is, the transceiver 1803 includes a receiving unit and a transmitting unit. The receiving unit may also sometimes be referred to as a receiver, receiver, or receiving circuit, or the like. The transmitting unit may also sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, or the like.
处理器1801、存储器1802和收发器1803之间通过内部连接通路互相通信,传递控制和/或数据信号。The processor 1801, the memory 1802 and the transceiver 1803 communicate with each other through an internal connection path to transmit control and/or data signals.
上述本申请实施例揭示的通信方法可以应用于处理器1801中,或者由处理器1801实现。处理器1801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述通信方法的各步骤可以通过处理器1801中的硬件的集成逻辑电路或者软件形式的指令完成。The communication methods disclosed in the above embodiments of the present application may be applied to the processor 1801 or implemented by the processor 1801 . The processor 1801 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned communication method can be completed by an integrated logic circuit of hardware in the processor 1801 or an instruction in the form of software.
本申请各实施例所述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可 编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述通信方法的步骤。The processor described in each embodiment of the present application may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a field programmable gate array (field programmable gate array). , FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. Software modules can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. in the storage medium. The storage medium is located in the memory, and the processor reads the instructions in the memory, and completes the steps of the above communication method in combination with its hardware.
本申请实施例还提供一种芯片,该芯片包括收发单元和处理单元。其中,收发单元可以是输入输出电路、通信接口;处理单元为该芯片上集成的处理器1801或者微处理器1801或者集成电路。该芯片可以执行上述通信方法实施例中远程终端侧或中继终端侧的通信方法。Embodiments of the present application further provide a chip, where the chip includes a transceiver unit and a processing unit. The transceiver unit may be an input/output circuit or a communication interface; the processing unit may be the processor 1801 or microprocessor 1801 or integrated circuit integrated on the chip. The chip can execute the communication method on the remote terminal side or the relay terminal side in the above communication method embodiments.
本申请实施例还提供一种计算机可读存储介质,其上存储有指令,该指令被执行时执行上述通信方法实施例中远程终端侧或中继终端侧的通信方法。Embodiments of the present application further provide a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, execute the communication method on the remote terminal side or the relay terminal side in the above communication method embodiments.
本申请实施例还提供一种包含指令的计算机程序产品,该指令被执行时执行上述通信方法实施例中远程终端侧或中继终端侧的通信方法。The embodiment of the present application further provides a computer program product including an instruction, when the instruction is executed, the communication method on the remote terminal side or the relay terminal side in the above communication method embodiment is executed.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and 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 in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (48)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011497022.5A CN114650513A (en) | 2020-12-17 | 2020-12-17 | Communication method and communication device |
| CN202011497022.5 | 2020-12-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022127665A1 true WO2022127665A1 (en) | 2022-06-23 |
Family
ID=81990706
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/136401 Ceased WO2022127665A1 (en) | 2020-12-17 | 2021-12-08 | Communication method and communication apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114650513A (en) |
| WO (1) | WO2022127665A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115243207A (en) * | 2022-07-29 | 2022-10-25 | 深圳市欢太数字科技有限公司 | Recharging method, device, electronic device and storage medium based on near field communication |
| CN116261181A (en) * | 2023-05-15 | 2023-06-13 | 华安中云股份有限公司 | Data transmission method, device, equipment and storage medium based on satellite signals |
| CN118450450A (en) * | 2023-12-01 | 2024-08-06 | 荣耀终端有限公司 | Communication method, electronic device and storage medium |
| EP4498733A1 (en) * | 2023-07-26 | 2025-01-29 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for data interaction, electronic device, and storage medium |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119521446A (en) * | 2023-08-23 | 2025-02-25 | 华为技术有限公司 | A communication method, device and communication system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107466068A (en) * | 2016-06-06 | 2017-12-12 | 华硕电脑股份有限公司 | Method and apparatus for resource allocation on a relay channel in a wireless communication system |
| CN108024295A (en) * | 2016-11-03 | 2018-05-11 | 中兴通讯股份有限公司 | Relay transfer method and device, terminal, base station |
| CN110679190A (en) * | 2017-05-11 | 2020-01-10 | Lg电子株式会社 | Method and apparatus for allocating sidelink resources using relay UE in wireless communication system |
| CN112839368A (en) * | 2019-11-22 | 2021-05-25 | 联发科技(新加坡)私人有限公司 | Packet routing method and user equipment |
| CN113453290A (en) * | 2020-03-25 | 2021-09-28 | 维沃移动通信有限公司 | Data forwarding method, source node equipment and target node equipment |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108307472B (en) * | 2016-08-12 | 2023-06-30 | 中兴通讯股份有限公司 | Communication method, device, and communication system of direct-to-device system |
| CN110098858A (en) * | 2018-01-30 | 2019-08-06 | 电信科学技术研究院有限公司 | A kind of relaying operating mode configuration method and terminal |
-
2020
- 2020-12-17 CN CN202011497022.5A patent/CN114650513A/en active Pending
-
2021
- 2021-12-08 WO PCT/CN2021/136401 patent/WO2022127665A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107466068A (en) * | 2016-06-06 | 2017-12-12 | 华硕电脑股份有限公司 | Method and apparatus for resource allocation on a relay channel in a wireless communication system |
| CN108024295A (en) * | 2016-11-03 | 2018-05-11 | 中兴通讯股份有限公司 | Relay transfer method and device, terminal, base station |
| CN110679190A (en) * | 2017-05-11 | 2020-01-10 | Lg电子株式会社 | Method and apparatus for allocating sidelink resources using relay UE in wireless communication system |
| CN112839368A (en) * | 2019-11-22 | 2021-05-25 | 联发科技(新加坡)私人有限公司 | Packet routing method and user equipment |
| CN113453290A (en) * | 2020-03-25 | 2021-09-28 | 维沃移动通信有限公司 | Data forwarding method, source node equipment and target node equipment |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115243207A (en) * | 2022-07-29 | 2022-10-25 | 深圳市欢太数字科技有限公司 | Recharging method, device, electronic device and storage medium based on near field communication |
| CN115243207B (en) * | 2022-07-29 | 2025-06-06 | 深圳市欢太数字科技有限公司 | Recharging method, device, electronic device and storage medium based on near field communication |
| CN116261181A (en) * | 2023-05-15 | 2023-06-13 | 华安中云股份有限公司 | Data transmission method, device, equipment and storage medium based on satellite signals |
| CN116261181B (en) * | 2023-05-15 | 2023-08-01 | 华安中云股份有限公司 | Data transmission method, device, equipment and storage medium based on satellite signals |
| EP4498733A1 (en) * | 2023-07-26 | 2025-01-29 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for data interaction, electronic device, and storage medium |
| CN118450450A (en) * | 2023-12-01 | 2024-08-06 | 荣耀终端有限公司 | Communication method, electronic device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114650513A (en) | 2022-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230164669A1 (en) | Configuration information transmission method, communication device | |
| WO2022127665A1 (en) | Communication method and communication apparatus | |
| US20230156855A1 (en) | Method and apparatus for selecting destination address in sidelink, and storage medium | |
| CN116326067A (en) | Triggering and signaling of inter-UE coordination messages | |
| US12426064B2 (en) | Method for information transmission, communication device and storage medium | |
| US20230353234A1 (en) | Transmission latency compensation method, apparatus, communication device and storage medium | |
| CN114270986B (en) | Bandwidth resource multiplexing method and device, communication equipment and storage medium | |
| US12238737B2 (en) | Transmission block configuration parameter transmission method and apparatus, and communication device and storage medium | |
| US20250212071A1 (en) | Information transmission method and apparatus, communication device and storage medium | |
| WO2021203245A1 (en) | Method and apparatus for instructing to transmit data, communication device, and storage medium | |
| WO2022120854A1 (en) | Information transmission method and apparatus, communication device and storage medium | |
| WO2021174510A1 (en) | Wireless network access method and apparatus, communication device, and storage medium | |
| WO2021159252A1 (en) | Transmission scheduling method and apparatus, communication device, and storage medium | |
| US20230345550A1 (en) | Sidelink control method and apparatus, and user equipment | |
| EP4181578B1 (en) | Information transmission method and apparatus, communication device, and storage medium | |
| WO2023019432A1 (en) | Resource configuration method and apparatus, and storage medium | |
| US20240414514A1 (en) | Data transmission method and apparatus | |
| WO2023098874A1 (en) | Random access method and related device | |
| US20240397573A1 (en) | Downlink transmission configuration and receiving methods and apparatuses, communication device and storage medium | |
| US20240064787A1 (en) | Method for information processing, communication device, and non-transitory computer storage medium | |
| EP4145733A1 (en) | Communication method and apparatus | |
| EP4057551B1 (en) | Downlink control information configuration method and apparatus, and communication device and storage medium | |
| CN115462099B (en) | Information transmission method, device, communication equipment and storage medium | |
| RU2804519C1 (en) | Method and device for selecting destination address during direct connection and information carrier | |
| US20250254548A1 (en) | Wireless transmission method and apparatus, communication device and storage medium |
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: 21905594 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21905594 Country of ref document: EP Kind code of ref document: A1 |