WO2020259525A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2020259525A1
WO2020259525A1 PCT/CN2020/097876 CN2020097876W WO2020259525A1 WO 2020259525 A1 WO2020259525 A1 WO 2020259525A1 CN 2020097876 W CN2020097876 W CN 2020097876W WO 2020259525 A1 WO2020259525 A1 WO 2020259525A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
terminal device
terminal devices
devices
information
Prior art date
Application number
PCT/CN2020/097876
Other languages
French (fr)
Chinese (zh)
Inventor
徐蓓
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020259525A1 publication Critical patent/WO2020259525A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations
    • H04B7/15507Relay station based processing for cell extension or control of coverage area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the Internet of Things is an important part of the new generation of information technology and an important development stage in the "informatization" era.
  • the Internet of Things is the Internet of things connected, which has two meanings: First, the core and foundation of the Internet of Things is still the Internet, which is an extension and expansion network based on the Internet; second, its user-side extension and It extends to any item and item, for information exchange and communication, that is, the interaction between objects.
  • the Internet of Things is widely used in the integration of networks through communication perception technologies such as intelligent perception, recognition technology and pervasive computing. Therefore, it is called the third wave of the development of the world's information industry after computers and the Internet.
  • the IoT platform determines P target terminal devices that support short-range communication and determines M relay devices from N terminal devices, and sends the first message to M relay devices so that M relay devices
  • the business information of the first service can be sent to P target terminal devices through near field communication.
  • the IoT platform can send the first service information through unicast.
  • the service information of the service effectively ensures that all N terminal devices can effectively receive the service information of the first service.
  • the services supported by the M relay devices are fully considered when determining the M relay devices, so that the determined M relay devices are all relay devices supporting the first service. , To avoid the phenomenon that the P target terminal devices may not receive the service information of the first service because the relay device does not support the first service and discards the service information of the first service.
  • the IoT platform determines N terminal devices, including: the IoT platform receives a third message from the application server.
  • the third message includes the identity of the first group and the service information of the first service.
  • the service information includes the service identifier of the first service; the IoT platform obtains N terminal devices belonging to the first group.
  • the instruction information is also used to instruct to process the service information of the first service. Since the relay device is a device in the P target terminal devices, the instruction information may also instruct the relay device to perform local processing on the service information of the first service.
  • the relay device determines the broadcast time and the number of times of broadcasting the service information of the first service according to the location information and moving speed of the P target terminal devices, including: the relay device according to the location of each target terminal device in the P target terminal devices Information, determine the third terminal device farthest from the relay device, and determine the broadcast time and broadcast times of the service information of the first service according to the location information and moving speed of the third terminal device.
  • the third message also includes the target terminal type.
  • an embodiment of the present application provides a communication method, including: an application server determines a third message, the third message includes the identity of the first group and the service information of the first service; wherein the service information of the first service includes The service identifier of the first service; the application server sends the third message to the IoT platform.
  • an embodiment of the present application provides a device, which may be a relay device or a semiconductor chip provided in the relay device.
  • the device has the function of realizing various possible designs of the second aspect. This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
  • the number of messages is 100*100 (ie Q*X); if the IoT platform uses multicast to send messages, the number of messages is 200 (ie Q+X) (Among them, 100 messages are required to construct a multicast group for 100 vehicular terminals, and 100 messages are required for multicast); if the IoT platform is unicast to the RSU first, and then sent by the RSU to the vehicular terminal via PC5, the number of messages is 2 *100 (ie P*X); if the IoT platform multicasts to the RSU first, and then the RSU sends it to the vehicle terminal via PC5, the number of messages is 102 (ie P+X) (2 messages are required to construct a multicast group , Multicasting requires 100 messages), so it can be seen that when the IoT platform first multicasts to the RSU, and then the RSU sends it to the vehicle terminal through the PC5, it can effectively save the number of messages and save transmission resources.
  • the embodiments of the present application also provide a chip, which includes a processor, which is used to implement the functions involved in any one or more of the above embodiments, such as acquiring or processing the information involved in the above methods or news.
  • the chip further includes a memory, and the memory is used for necessary program instructions and data executed by the processor.
  • the chip can be composed of a chip, or it can include a chip and other discrete devices.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • serial link DRAM SLDRAM
  • direct rambus RAM direct rambus RAM

Abstract

The present application relates to the technical field of communications. Disclosed are a communication method and apparatus. The method comprises: an IoT platform determining N terminal devices for a first service to be processed, and determining, from the N terminal devices, P target terminal devices that support near field communication; and the IoT platform determining M relay devices that support the first service, sending a first message to the M relay devices, and sending a second message to terminal devices, other than the P target terminal devices, from among the N terminal devices. By using the method, the IoT platform sends the first message to the M relay devices, such that the M relay devices can broadcast service information of the first service by means of near field communication. With regard to the terminal devices, other than the P target terminal devices, from among the N terminal devices, the IoT platform can send the service information of the first service by means of unicast, thereby effectively ensuring that the N terminal devices can all effectively receive the service information of the first service.

Description

一种通信方法及装置Communication method and device
本申请要求于2019年06月28日提交中国专利局、申请号为201910580529.8、申请名称为“一种通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 28, 2019, the application number is 201910580529.8, and the application name is "a communication method and device", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种通信方法及装置。This application relates to the field of communication technology, and in particular to a communication method and device.
背景技术Background technique
物联网(internet of things,IoT)是新一代信息技术的重要组成部分,也是"信息化"时代的重要发展阶段。顾名思义,物联网就是物物相连的互联网,这有两层意思:其一,物联网的核心和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络;其二,其用户端延伸和扩展到了任何物品与物品之间,进行信息交换和通信,也就是物物相息。物联网通过智能感知、识别技术与普适计算等通信感知技术,广泛应用于网络的融合中,也因此被称为继计算机、互联网之后世界信息产业发展的第三次浪潮。The Internet of Things (IoT) is an important part of the new generation of information technology and an important development stage in the "informatization" era. As the name implies, the Internet of Things is the Internet of things connected, which has two meanings: First, the core and foundation of the Internet of Things is still the Internet, which is an extension and expansion network based on the Internet; second, its user-side extension and It extends to any item and item, for information exchange and communication, that is, the interaction between objects. The Internet of Things is widely used in the integration of networks through communication perception technologies such as intelligent perception, recognition technology and pervasive computing. Therefore, it is called the third wave of the development of the world's information industry after computers and the Internet.
车联网是物联网在智能交通系统(intelligent transport system,ITS)领域的典型应用,具体来说,车联网是以车内网、车际网和车载移动互联网为基础,按照约定的通信协议和数据交互标准,在车与外界(vehicle to X,V2X)进行无线通信和信息交换的大系统网络,其中X为车、移动设备、行人、网络等。车联网是能够实现智能化交通管理、智能动态信息服务和车辆智能化控制的一体化网络。The Internet of Vehicles is a typical application of the Internet of Things in the field of intelligent transportation systems (ITS). Specifically, the Internet of Vehicles is based on the intranet, the inter-vehicle network and the in-vehicle mobile Internet, according to the agreed communication protocol and data. Interaction standard, a large-scale system network for wireless communication and information exchange between the vehicle and the outside world (V2X), where X is the vehicle, mobile equipment, pedestrian, network, etc. The Internet of Vehicles is an integrated network that can realize intelligent traffic management, intelligent dynamic information services and intelligent vehicle control.
在智能交通系统领域中,V2X通信可以应用于多种可能的场景,比如信号灯推送业务场景,在该场景中,IoT平台需要将信号灯信息推送给指定位置的一组车辆;又比如道路拥堵推送业务场景,在该场景中,IoT平台需要将道路拥堵信息发送给指定位置的一组路边指示牌和车辆。在上述所示例的两种场景中,均涉及到将业务信息发送给一组终端设备(其中包括车辆),然而,如何实现将业务信息有效地发送给一组终端设备,目前仍需进一步的研究。In the field of intelligent transportation systems, V2X communication can be applied to a variety of possible scenarios, such as the signal push business scenario, in which the IoT platform needs to push the signal light information to a group of vehicles at a specified location; another example is the road congestion push business Scenario, in this scenario, the IoT platform needs to send road congestion information to a set of roadside signs and vehicles at a specified location. In the two scenarios illustrated above, both involve sending service information to a group of terminal devices (including vehicles). However, how to effectively send service information to a group of terminal devices requires further research. .
发明内容Summary of the invention
有鉴于此,本申请提供了一种通信方法及装置,用以实现将业务信息有效地发送给一组终端设备。In view of this, this application provides a communication method and device for effectively sending service information to a group of terminal devices.
第一方面,本申请实施例提供一种通信方法,包括:In the first aspect, an embodiment of the present application provides a communication method, including:
IoT平台确定待处理第一业务的N个终端设备,并从N个终端设备中确定出支持近距离通信的P个目标终端设备,N个终端设备支持第一业务;IoT平台确定支持第一业务的M个中继设备,M个中继设备中每一中继设备的近距离通信覆盖P个目标终端设备中的至少一个目标终端设备;IoT平台向M个中继设备发送第一消息,第一消 息包括指示信息和第一业务的业务信息,指示信息用于指示通过近距离通信广播第一业务的业务信息;以及,IoT平台向N个终端设备中除P个目标终端设备以外的终端设备发送第二消息,第二消息包括第一业务的业务信息;其中,N、M、P均为整数。The IoT platform determines the N terminal devices to be processed for the first service, and determines from the N terminal devices P target terminal devices that support short-range communication, and the N terminal devices support the first service; the IoT platform determines to support the first service M relay devices in the M relay devices, the short-range communication of each relay device in the M relay devices covers at least one target terminal device in the P target terminal devices; the IoT platform sends the first message to the M relay devices, A message includes indication information and service information of the first service, and the indication information is used to indicate that the service information of the first service is broadcast through short-range communication; and, the IoT platform sends out terminal equipment other than P target terminal equipment among the N terminal equipment Send a second message, the second message includes the service information of the first service; where N, M, and P are all integers.
采用上述方法,IoT平台从N个终端设备中确定出支持近距离通信的P个目标终端设备以及确定M个中继设备,通过向M个中继设备发送第一消息,使得M个中继设备可以通过近距离通信将第一业务的业务信息发送给P个目标终端设备,针对于N个终端设备中除P个目标终端设备以外的终端设备,IoT平台可以通过单播的方式来发送第一业务的业务信息,有效保证N个终端设备均能有效接收到第一业务的业务信息。进一步地,本申请实施例中由于在确定M个中继设备时,充分考虑了M个中继设备支持的业务,从而使得确定出的M个中继设备均为支持第一业务的中继设备,避免由于中继设备不支持第一业务而丢弃第一业务的业务信息导致P个目标终端设备可能出现接收不到第一业务的业务信息的现象。Using the above method, the IoT platform determines P target terminal devices that support short-range communication and determines M relay devices from N terminal devices, and sends the first message to M relay devices so that M relay devices The business information of the first service can be sent to P target terminal devices through near field communication. For terminal devices other than the P target terminal devices among the N terminal devices, the IoT platform can send the first service information through unicast. The service information of the service effectively ensures that all N terminal devices can effectively receive the service information of the first service. Further, in the embodiment of the present application, the services supported by the M relay devices are fully considered when determining the M relay devices, so that the determined M relay devices are all relay devices supporting the first service. , To avoid the phenomenon that the P target terminal devices may not receive the service information of the first service because the relay device does not support the first service and discards the service information of the first service.
在一种可能的设计中,IoT平台确定N个终端设备,包括:IoT平台从应用服务器接收第三消息,第三消息包括第一区域的信息、第一业务的业务信息和目标终端类型,第一业务的业务信息包括第一业务的业务标识;IoT平台根据第一区域的信息,获取位于第一区域内的多个终端设备;IoT平台获取多个终端设备支持的业务列表和多个终端设备的类型,并根据多个终端设备支持的业务列表和多个终端设备的类型,从多个终端设备中确定出N个终端设备,N个终端设备支持的业务列表包括第一业务的标识,N个终端设备中每一终端设备的类型与目标类型相匹配。In a possible design, the IoT platform determines N terminal devices, including: the IoT platform receives a third message from the application server, the third message includes the information of the first area, the service information of the first service, and the target terminal type, The service information of a service includes the service identifier of the first service; the IoT platform obtains multiple terminal devices located in the first area according to the information in the first area; the IoT platform obtains a list of services supported by multiple terminal devices and multiple terminal devices According to the service list supported by multiple terminal devices and the types of multiple terminal devices, N terminal devices are determined from the multiple terminal devices. The service list supported by the N terminal devices includes the identification of the first service, N The type of each terminal device in the two terminal devices matches the target type.
也就是说,IoT平台可以根据第一区域的信息、第一业务的业务信息和目标终端类型确定N个终端设备,即IoT平台可以根据应用服务器发送的动态群组消息确定N个终端设备。That is, the IoT platform can determine N terminal devices according to the information of the first area, the business information of the first service, and the target terminal type, that is, the IoT platform can determine N terminal devices according to the dynamic group message sent by the application server.
在一种可能的设计中,IoT平台确定N个终端设备,包括:IoT平台从应用服务器接收第三消息,第三消息包括第一群组的标识和第一业务的业务信息,第一业务的业务信息包括第一业务的业务标识;IoT平台获取属于第一群组的N个终端设备。In a possible design, the IoT platform determines N terminal devices, including: the IoT platform receives a third message from the application server. The third message includes the identity of the first group and the service information of the first service. The service information includes the service identifier of the first service; the IoT platform obtains N terminal devices belonging to the first group.
也就是说,IoT平台可以根据应用服务器发送的静态群组消息确定N个终端设备。In other words, the IoT platform can determine N terminal devices according to the static group message sent by the application server.
在一种可能的设计中,IoT平台从N个终端设备中确定出支持近距离通信的P个目标终端设备,包括:IoT平台获取N个终端设备的通信能力信息,N个终端设备中包括第一终端设备,第一终端设备的通信能力信息用于指示第一终端设备是否支持近距离通信,或者,指示第一终端设备的支持近距离通信的公共陆地移动网络PLMN列表;IoT平台根据N个终端设备的通信能力信息,从N个终端设备确定出P个目标终端设备;目标终端设备的通信能力信息指示目标终端设备支持近距离通信,或者,目标终端设备的支持近距离通信的PLMN列表包括目标终端设备接入的PLMN。In a possible design, the IoT platform determines P target terminal devices that support short-range communication from N terminal devices, including: the IoT platform obtains the communication capability information of the N terminal devices, and the N terminal devices include the first A terminal device. The communication capability information of the first terminal device is used to indicate whether the first terminal device supports short-range communication, or to indicate the public land mobile network PLMN list of the first terminal device that supports short-range communication; the IoT platform is based on N The communication capability information of the terminal device determines P target terminal devices from N terminal devices; the communication capability information of the target terminal device indicates that the target terminal device supports short-range communication, or the PLMN list of the target terminal device that supports near-field communication includes The PLMN that the target terminal device accesses.
在一种可能的设计中,IoT平台确定M个中继设备,包括:IoT平台获取P个目标终端设备的移动标识,目标终端设备的移动标识用于指示目标终端设备处于移动状态或处于静止状态;IoT平台若确定P个目标终端设备中包括M个处于静止状态的目标终端设备,则将M个处于静止状态的目标终端设备确定为M个中继设备。In a possible design, the IoT platform determines M relay devices, including: the IoT platform obtains the mobile identities of the P target terminal devices, and the mobile identity of the target terminal device is used to indicate that the target terminal device is in a mobile state or in a stationary state ; If the IoT platform determines that the P target terminal devices include M target terminal devices in a stationary state, it will determine the M target terminal devices in a stationary state as M relay devices.
采用上述方式,IoT平台直接从P个目标终端设备中确定中继设备,从而能够有效节省处理资源,提高处理效率。In the above manner, the IoT platform directly determines the relay device from the P target terminal devices, thereby effectively saving processing resources and improving processing efficiency.
在一种可能的设计中,指示信息还用于指示对第一业务的业务信息进行处理。由于中继设备为P个目标终端设备中的设备,因此,指示信息还可以指示中继设备对第一业务的业务信息进行本地处理。In a possible design, the instruction information is also used to instruct to process the service information of the first service. Since the relay device is a device in the P target terminal devices, the instruction information may also instruct the relay device to perform local processing on the service information of the first service.
在一种可能的设计中,该方法还包括:IoT平台根据第一区域的信息、至少一个终端设备的通信能力信息、至少一个终端设备支持的业务列表和至少一个终端设备的移动标识,从至少一个终端设备中确定出M个中继设备;至少一个终端设备为P个目标终端设备以外的终端设备;其中,至少一个终端设备包括第二终端设备,第二终端设备的移动标识用于指示第二终端设备处于移动状态或处于静止状态;第二终端设备的通信能力信息用于指示第二终端设备是否支持近距离通信,或者,指示第二终端设备的支持近距离通信的PLMN列表;若第二终端设备支持近距离通信,则第二终端设备的通信能力信息包括第二终端设备的近距离通信覆盖范围;M个中继设备为处于静止状态的终端设备,M个中继设备支持的业务列表包括第一业务的标识。In a possible design, the method further includes: the IoT platform, according to the information of the first area, the communication capability information of the at least one terminal device, the service list supported by the at least one terminal device, and the mobile identity of the at least one terminal device, from at least M relay devices are determined in one terminal device; at least one terminal device is a terminal device other than the P target terminal devices; wherein, at least one terminal device includes a second terminal device, and the mobile identifier of the second terminal device is used to indicate the first terminal device. 2. The terminal device is in a mobile state or in a stationary state; the communication capability information of the second terminal device is used to indicate whether the second terminal device supports short-range communication, or indicates the PLMN list of the second terminal device that supports short-range communication; If the second terminal device supports short-range communication, the communication capability information of the second terminal device includes the short-range communication coverage of the second terminal device; M relay devices are terminal devices in a stationary state, and M relay devices support services The list includes the identification of the first service.
在一种可能的设计中,IoT平台从至少一个终端设备中确定出M个中继设备之前,还包括:IoT平台确定P个目标终端设备中不包括处于静止状态的终端设备。In a possible design, before the IoT platform determines M relay devices from at least one terminal device, it further includes: the IoT platform determines that the P target terminal devices do not include terminal devices in a stationary state.
在一种可能的设计中,M个中继设备的近距离通信完全覆盖P个目标终端设备中处于移动状态的目标终端设备。In a possible design, the short-range communication of the M relay devices completely covers the target terminal device in the mobile state among the P target terminal devices.
在一种可能的设计中,若M个中继设备的近距离通信未完全覆盖处于移动状态的目标终端设备,则第一消息中还包括处于移动状态的目标终端设备中至少一个目标终端设备的位置信息和移动速度。In a possible design, if the short-range communication of the M relay devices does not completely cover the target terminal device in the mobile state, the first message also includes the information of at least one of the target terminal devices in the mobile state. Location information and moving speed.
采用该种方式,通过将处于移动状态的目标终端设备中至少一个目标终端设备的位置信息和移动速度发送给中继设备,使得中继设备能够基于至少一个目标终端设备的位置信息和移动速度确定广播次数和广播时间,以保证处于移动状态的目标终端设备均能接收到第一业务的业务信息。In this way, by sending the location information and moving speed of at least one target terminal device in the moving state to the relay device, the relay device can determine based on the location information and moving speed of the at least one target terminal device Broadcasting times and broadcasting time to ensure that all target terminal devices in a mobile state can receive the service information of the first service.
在一种可能的设计中,第一消息为多播消息或单播消息;和/或,第二消息为单播消息。In a possible design, the first message is a multicast message or a unicast message; and/or, the second message is a unicast message.
第二方面,本申请实施例提供一种通信方法,包括:In the second aspect, an embodiment of the present application provides a communication method, including:
中继设备接收IoT平台发送的第一消息,第一消息包括指示信息和第一业务的业务信息,指示信息用于指示中继设备通过近距离通信广播第一业务的业务信息;第一消息还包括P个目标终端设备中至少一个目标终端设备的位置信息和移动速度;中继设备根据P个目标终端设备中至少一个终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数;中继设备根据广播时间和广播次数,广播第一业务的业务信息。The relay device receives the first message sent by the IoT platform. The first message includes indication information and service information of the first service. The indication information is used to instruct the relay device to broadcast the service information of the first service through short-range communication; the first message also Including the location information and moving speed of at least one of the P target terminal devices; the relay device determines the broadcast of the service information of the first service according to the location information and moving speed of at least one of the P target terminal devices Time and broadcast times; the relay device broadcasts the service information of the first service according to the broadcast time and broadcast times.
在一种可能的设计中,第一消息包括P个目标终端设备中每一目标终端设备的位置信息和移动速度;In a possible design, the first message includes location information and moving speed of each target terminal device in the P target terminal devices;
中继设备根据P个目标终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数,包括:中继设备根据P个目标终端设备中每一目标终端设备的位置信息,确定距离中继设备最远的第三终端设备,并根据第三终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数。The relay device determines the broadcast time and the number of times of broadcasting the service information of the first service according to the location information and moving speed of the P target terminal devices, including: the relay device according to the location of each target terminal device in the P target terminal devices Information, determine the third terminal device farthest from the relay device, and determine the broadcast time and broadcast times of the service information of the first service according to the location information and moving speed of the third terminal device.
在一种可能的设计中,第一消息包括P个目标终端设备中的第三终端设备的位置 信息和移动速度;第三终端设备为P个目标终端设备中距离中继设备最远的目标终端设备;In a possible design, the first message includes the location information and moving speed of the third terminal device among the P target terminal devices; the third terminal device is the target terminal furthest from the relay device among the P target terminal devices equipment;
中继设备根据P个目标终端设备中至少一个终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数,包括:中继设备根据第三终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数。The relay device determines the broadcast time and the number of broadcasts for broadcasting the service information of the first service according to the location information and moving speed of at least one terminal device among the P target terminal devices, including: the relay device according to the location information of the third terminal device and The moving speed determines the broadcast time and broadcast times of the service information of the first service.
第三方面,本申请实施例提供一种通信方法,包括:应用服务器确定第三消息,第三消息包括第一区域的信息和第一业务的业务信息;其中,第一业务的业务信息包括第一业务的业务标识;应用服务器向IoT平台发送第三消息。In a third aspect, an embodiment of the present application provides a communication method, including: an application server determines a third message, the third message includes the information of the first area and the service information of the first service; wherein the service information of the first service includes the first The service identifier of a service; the application server sends a third message to the IoT platform.
在一种可能的设计中,第三消息还包括目标终端类型。In a possible design, the third message also includes the target terminal type.
第四方面,本申请实施例提供一种通信方法,包括:应用服务器确定第三消息,第三消息包括第一群组的标识和第一业务的业务信息;其中,第一业务的业务信息包括第一业务的业务标识;应用服务器向IoT平台发送第三消息。In a fourth aspect, an embodiment of the present application provides a communication method, including: an application server determines a third message, the third message includes the identity of the first group and the service information of the first service; wherein the service information of the first service includes The service identifier of the first service; the application server sends the third message to the IoT platform.
第五方面,本申请实施例提供一种装置,该装置可以是IoT平台,或者也可以是设置在IoT平台中的半导体芯片。该装置具有实现上述第一方面的各种可能的设计的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元或模块。In a fifth aspect, an embodiment of the present application provides a device, which may be an IoT platform or a semiconductor chip set in the IoT platform. The device has the function of realizing various possible designs of the first aspect. This function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
第六方面,本申请实施例提供一种装置,该装置可以是中继设备,或者也可以是设置在中继设备中的半导体芯片。该装置具有实现上述第二方面的各种可能的设计的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元或模块。In a sixth aspect, an embodiment of the present application provides a device, which may be a relay device or a semiconductor chip provided in the relay device. The device has the function of realizing various possible designs of the second aspect. This function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
第七方面,本申请实施例提供一种装置,该装置可以是应用服务器,或者也可以是设置在应用服务器中的半导体芯片。该装置具有实现上述第三方面或第四方面的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元或模块。In a seventh aspect, an embodiment of the present application provides a device, which may be an application server, or may also be a semiconductor chip set in the application server. The device has the function of realizing the third aspect or the fourth aspect. This function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
第八方面,本申请实施例提供一种通信系统,该通信系统包括上述第五方面所述的IoT平台和第六方面所述的中继设备,进一步地,还可以包括第七方面所述的应用服务器。In an eighth aspect, an embodiment of the present application provides a communication system, which includes the IoT platform described in the fifth aspect and the relay device described in the sixth aspect, and may further include the IoT platform described in the seventh aspect. application server.
第九方面,本申请实施例一种装置,包括:处理器和存储器;处理器用于执行存储在存储器上的指令,当指令被执行时,使得该装置执行如上述第一方面至第四方面的任一种可能的设计中的方法。In a ninth aspect, an apparatus of an embodiment of the present application includes: a processor and a memory; the processor is used to execute instructions stored on the memory, and when the instructions are executed, the apparatus executes the above-mentioned first to fourth aspects. Any possible design method.
第十方面,本申请实施例还提供一种计算机可读存储介质,包括指令,当指令被执行时,实现上述各方面或各方面的任一种可能的设计中的方法。In a tenth aspect, an embodiment of the present application further provides a computer-readable storage medium, including instructions, which when executed, implement the foregoing aspects or any of the possible design methods of the aspects.
第十一方面,本申请实施例还提供一种计算机程序产品,包括计算机程序或指令,当计算机程序或指令被执行时,实现上述各方面或各方面的任一种可能的设计中的方法。In an eleventh aspect, embodiments of the present application also provide a computer program product, including a computer program or instruction, which when executed, implements the above-mentioned aspects or any of the possible design methods in each aspect.
附图说明Description of the drawings
图1为V2X的一些场景的示意图;Figure 1 is a schematic diagram of some scenes of V2X;
图2为本申请实施例提供的一种系统架构示意图;Figure 2 is a schematic diagram of a system architecture provided by an embodiment of the application;
图3为本申请实施例提供的终端设备1向IoT平台上报数据示意图;FIG. 3 is a schematic diagram of the terminal device 1 reporting data to the IoT platform according to an embodiment of the application;
图4为本申请实施例提供的通过多播的方式向群组成员发消息的流程示例;FIG. 4 is an example of a process of sending messages to group members in a multicast manner according to an embodiment of the application;
图5为本申请实施例提供的一种通信方法所对应的流程示意图;FIG. 5 is a schematic flowchart corresponding to a communication method provided by an embodiment of this application;
图6a为本申请实施例提供的群组创建示意图;Fig. 6a is a schematic diagram of group creation provided by an embodiment of the application;
图6b为本申请实施例提供的一种通信方法的实现示意图;FIG. 6b is a schematic diagram of the implementation of a communication method provided by an embodiment of this application;
图6c为本申请实施例提供的根据P个目标终端设备的位置信息确定出的第一区域示意图;FIG. 6c is a schematic diagram of the first area determined according to the location information of P target terminal devices according to an embodiment of the application;
图7为本申请实施例中所涉及的装置的可能的示例性框图;FIG. 7 is a possible exemplary block diagram of a device involved in an embodiment of this application;
图8为本申请实施例提供的IoT平台的结构示意图;Fig. 8 is a schematic structural diagram of an IoT platform provided by an embodiment of the application;
图9为本申请实施例提供的中继设备的结构示意图。FIG. 9 is a schematic structural diagram of a relay device provided by an embodiment of the application.
具体实施方式Detailed ways
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如:宽带码分多址移动通信系统(wideband code division multiple access,WCDMA),演进的全球陆地无线接入网络(evolved universal terrestrial radio access network,E-UTRAN)系统,下一代无线接入网络(next generation radio access network,NG-RAN)系统,长期演进(long term evolution,LTE)系统,全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统,未来的第五代(5th Generation,5G)系统,如新一代无线接入技术(new radio access technology,NR),及未来的通信系统,如6G系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: wideband code division multiple access (WCDMA) mobile communication system, evolved universal terrestrial radio access network (evolved universal terrestrial radio access network) , E-UTRAN) system, next generation radio access network (NG-RAN) system, long term evolution (LTE) system, worldwide interconnection for microwave access (worldwide interoperability for microwave access, WiMAX) ) Communication system, the future 5th Generation (5G) system, such as the new generation of radio access technology (NR), and the future communication system, such as the 6G system.
本申请实施例描述的业务场景(或应用场景)是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The business scenarios (or application scenarios) described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those of ordinary skill in the art will know that With the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
另外,在本申请实施例中,“示例性地”一词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或实现方案不应被解释为比其它实施例或实现方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In addition, in the embodiments of the present application, the term "exemplarily" is used to represent an example, illustration, or illustration. Any embodiment or implementation solution described as an "example" in this application should not be construed as being more preferable or advantageous than other embodiments or implementation solutions. Rather, the term example is used to present the concept in a concrete way.
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in the embodiments of the present application will be explained to facilitate the understanding of those skilled in the art.
(1)终端设备,包括向用户提供语音和/或数据连通性的设备,例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终端设备可以经无线接入网(radio access network,RAN)与核心网进行通信,与RAN交换语音和/或数据。该终端设备可以包括车辆(vehicle),车载模块(vehicle module)、用户设备(user equipment,UE)、无线终端设备、移动终端设备、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point,AP)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(user terminal)、用户代理(user agent)、或用户装备(user device)等。例如,可以包括移动电话(或称为“蜂窝”电话),具有移动终端设备的计算机,便携式、袖珍式、手持式、计算机内置的或者车载的移动 装置,智能穿戴式设备等。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、等设备。还包括受限设备,例如功耗较低的设备,或存储能力有限的设备,或计算能力有限的设备等。例如包括条码、射频识别(radio frequency identification,RFID)、传感器、全球定位系统(global positioning system,GPS)、激光扫描器等信息传感设备。(1) Terminal devices include devices that provide users with voice and/or data connectivity. For example, they may include handheld devices with wireless connection functions or processing devices connected to wireless modems. The terminal device can communicate with the core network via a radio access network (RAN), and exchange voice and/or data with the RAN. The terminal equipment may include a vehicle (vehicle), a vehicle module (vehicle module), user equipment (user equipment, UE), wireless terminal equipment, mobile terminal equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile station), mobile station (mobile), remote station (remote station), access point (AP), remote terminal equipment (remote terminal), access terminal equipment (access terminal), user terminal equipment (user terminal), user agent (user agent), or user equipment (user device), etc. For example, it may include mobile phones (or "cellular" phones), computers with mobile terminal equipment, portable, pocket-sized, handheld, computer-built or vehicle-mounted mobile devices, smart wearable devices, and so on. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (personal digital assistants, etc.) PDA), and other equipment. It also includes restricted devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities. Examples include barcodes, radio frequency identification (RFID), sensors, global positioning system (GPS), laser scanners and other information sensing equipment.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能头盔、智能首饰等。As an example and not a limitation, in the embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices. It is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones. Use, such as various smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
本申请实施例的终端设备还可以是作为一个或多个部件或者单元而内置于车辆的车载模块、车载模组、车载部件、车载芯片或者车载单元,车辆通过内置的所述车载模块、车载模组、车载部件、车载芯片或者车载单元可以实施本申请实施例的方法。The terminal device of the embodiment of the present application may also be an on-board module, on-board module, on-board component, on-board chip, or on-board unit that is built into a vehicle as one or more components or units. A group, a vehicle-mounted component, a vehicle-mounted chip, or a vehicle-mounted unit may implement the method of the embodiments of the present application.
(2)V2X,具体又包括车与车(vehicle-to-vehicle,V2V)、车与路侧基础设施(vehicle-to-infrastructure,V2I)、车与行人(vehicle-to-pedestrian,V2P)的直接通信,以及车与网络(vehicle-to-network,V2N)的通信交互等几种应用需求。如图1所示。V2V指的是车辆间的通信;V2P指的是车辆与人(包括行人、骑自行车的人、司机、或乘客)的通信;V2I指的是车辆与路侧单元(road side unit,RSU)的通信,另外还有一种V2N可以包括在V2I中,V2N指的是车辆与基站/网络的通信。(2) V2X, specifically including vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), vehicle-to-pedestrian (V2P) Direct communication, and vehicle-to-network (V2N) communication interaction and other application requirements. As shown in Figure 1. V2V refers to the communication between vehicles; V2P refers to the communication between vehicles and people (including pedestrians, cyclists, drivers, or passengers); V2I refers to the communication between the vehicle and the roadside unit (RSU) Communication, there is another type of V2N that can be included in V2I. V2N refers to the communication between the vehicle and the base station/network.
其中,RSU可以是支持V2X应用的固定基础设施实体,可以与支持V2X应用的其他实体交换消息。RSU包括两种类型:终端类型的RSU,由于布在路边,该终端类型的RSU处于非移动状态,不需要考虑移动性;基站类型的RSU,可以给与之通信的车辆提供定时同步及资源调度。本申请实施例中所涉及的RSU主要是指终端类型的RSU。Among them, the RSU can be a fixed infrastructure entity that supports V2X applications, and can exchange messages with other entities that support V2X applications. RSU includes two types: terminal type RSU, because it is located on the roadside, the terminal type RSU is in a non-mobile state, and there is no need to consider mobility; base station type RSU can provide timing synchronization and resources for the vehicles communicating with it Scheduling. The RSU involved in the embodiment of the present application mainly refers to a terminal type RSU.
(3)本申请实施例中的术语“系统”和“网络”可被互换使用。“多个”是指两个或两个以上,鉴于此,本申请实施例中也可以将“多个”理解为“至少两个”。“至少一个”,可理解为一个或多个,例如理解为一个、两个或更多个。例如,包括至少一个,是指包括一个、两个或更多个,而且不限制包括的是哪几个。例如,包括A、B和C中的至少一个,那么包括的可以是A、B、C,A和B,A和C,B和C,或A和B和C。同理,对于“至少一种”等描述的理解,也是类似的。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。(3) The terms "system" and "network" in the embodiments of this application can be used interchangeably. "Multiple" refers to two or more. In view of this, "multiple" may also be understood as "at least two" in the embodiments of the present application. "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and it does not limit which ones are included. For example, if at least one of A, B, and C is included, then A, B, C, A and B, A and C, B and C, or A and B and C are included. In the same way, the understanding of "at least one" and other descriptions is similar. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. In addition, the character "/", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词用于对多个 对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如第一时域资源和第二时域资源,只是为了区分不同的时域资源,并不是限制这两个时域资源的优先级或重要程度等。Unless otherwise stated, ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects, and are not used to limit the order, timing, priority, or importance of multiple objects. For example, the first time domain resource and the second time domain resource are only used to distinguish different time domain resources, and not to limit the priority or importance of the two time domain resources.
本申请实施例可以适用于多种可能的系统,比如智能交通系统,下文将以智能交通系统作为举例进行详细说明。The embodiments of the present application can be applied to a variety of possible systems, such as an intelligent transportation system. The intelligent transportation system will be used as an example for detailed description below.
图2为本申请实施例提供的一种系统架构示意图,如图2所示,该系统架构中包括应用服务器、IoT平台以及一个或多个终端设备(比如图2中所示意出的终端设备1、终端设备2、终端设备3、终端设备4、终端设备5)。Figure 2 is a schematic diagram of a system architecture provided by an embodiment of the application. As shown in Figure 2, the system architecture includes an application server, an IoT platform, and one or more terminal devices (such as the terminal device 1 shown in Figure 2). , Terminal equipment 2, terminal equipment 3, terminal equipment 4, terminal equipment 5).
其中,(1)应用服务器:可以为车联网应用服务器(V2X application server,V2X AS),用于为终端设备(比如车载终端)提供各种业务服务。(2)IoT平台:用于提供物联网服务,IoT平台可以支持终端设备向其上报终端设备的数据(比如终端设备的位置信息),还可以向终端设备发送业务信息、控制命令等。在一个示例中,IoT平台可以为云平台,或者云服务器,又或者网络侧服务器;在又一个示例中,IoT平台也可以为部署在边缘侧的边缘网关或者边缘节点。(3)一个或多个终端设备:可以包括多种类型的终端设备,比如行人手持的终端设备、安装在车辆内或放置在车辆内的终端设备(即车载终端)、RSU等。Among them, (1) Application server: It can be a vehicle networking application server (V2X application server, V2X AS), which is used to provide various business services for terminal devices (such as vehicle terminals). (2) IoT platform: used to provide Internet of Things services. The IoT platform can support terminal devices to report terminal device data (such as terminal device location information) to it, and can also send business information and control commands to terminal devices. In one example, the IoT platform may be a cloud platform, or a cloud server, or a network-side server; in another example, the IoT platform may also be an edge gateway or edge node deployed on the edge side. (3) One or more terminal devices: it can include multiple types of terminal devices, such as terminal devices held by pedestrians, terminal devices installed or placed in vehicles (ie, vehicle-mounted terminals), RSUs, etc.
示例性地,以终端设备1为例,图3为终端设备1向IoT平台上报终端设备1的数据的一种可能的实现方式示意图。如图3所示包括:Illustratively, taking the terminal device 1 as an example, FIG. 3 is a schematic diagram of a possible implementation manner in which the terminal device 1 reports the data of the terminal device 1 to the IoT platform. As shown in Figure 3:
步骤301,终端设备1从终端设备1的归属公共陆地移动网络(public land mobile network,PLMN)中的控制功能(control function,CF)网元中获取终端设备1的第一信息。In step 301, the terminal device 1 obtains the first information of the terminal device 1 from a control function (CF) network element in the home public land mobile network (PLMN) of the terminal device 1.
此处,运营商可以预先配置终端设备1的配置信息并存储在CF网元中,终端设备1的配置信息可以包括终端设备1的标识、终端设备1的移动标识、终端设备1的类型、终端设备1的通信能力信息、终端设备1支持的业务列表中的一项或多项,具体不做限定。示例性地,终端设备1的第一信息可以包括终端设备1的配置信息中的部分信息,比如终端设备1的第一信息可以包括终端设备1的标识、终端设备1的移动标识、终端设备1的类型、终端设备1的通信能力信息。在其它可能的实施例中,终端设备1的第一信息也可以为终端设备1的配置信息。Here, the operator can pre-configure the configuration information of the terminal device 1 and store it in the CF network element. The configuration information of the terminal device 1 can include the identity of the terminal device 1, the mobile identity of the terminal device 1, the type of the terminal device 1, and the terminal device 1. The communication capability information of the device 1 and one or more items in the list of services supported by the terminal device 1 are not specifically limited. Exemplarily, the first information of the terminal device 1 may include part of the information in the configuration information of the terminal device 1. For example, the first information of the terminal device 1 may include the identity of the terminal device 1, the mobile identity of the terminal device 1, and the terminal device 1. The type of terminal device 1 communication capability information. In other possible embodiments, the first information of the terminal device 1 may also be the configuration information of the terminal device 1.
下面对终端设备1的配置信息中所包括的内容进行解释说明:(1)终端设备1的标识为用于标识终端设备1的信息,具体不做限定。(2)终端设备1的移动标识用于指示终端设备处于移动状态或处于静止状态,比如若终端设备1的移动标识为移动,则说明终端设备1处于移动状态;若终端设备1的移动标识为静止,则说明终端设备1处于静止状态。又比如终端设备1的移动标识可以为1个比特位,若比特位的取值为“1”时,说明终端设备1处于移动状态,若比特位的取值为“0”时,说明终端设备1处于静止状态。(3)终端设备1的类型可以包括车载终端、行人手持的终端设备和RSU,还可以包括其它可能的类型,具体不做限定。(4)终端设备1的通信能力信息:若终端设备1为RSU,则终端1的通信能力信息用于指示终端设备1是否支持近距离通信,进一步地,若终端设备1支持近距离通信,则终端设备1的通信能力信 息可以包括终端设备1的近距离通信的覆盖范围;若终端设备1为车载终端或行人手持的终端设备,则终端1的通信能力信息用于指示终端设备1的支持近距离通信的PLMN列表,比如终端设备1的支持近距离通信的PLMN列表包括PLMN1、PLMN2和PLMN3,若终端设备1当前接入的PLMN为PLMN1,则终端设备1在当前接入的PLMN中支持近距离通信;若终端设备当前接入的PLMN为PLMN4,则终端设备1在当前接入的PLMN中不支持近距离通信。(5)终端设备1支持的业务列表可以包括终端设备1支持的一个或多个业务的标识。The content included in the configuration information of the terminal device 1 will be explained as follows: (1) The identifier of the terminal device 1 is information used to identify the terminal device 1, which is not specifically limited. (2) The mobile identity of the terminal device 1 is used to indicate that the terminal device is in a mobile state or in a stationary state. For example, if the mobile identity of the terminal device 1 is mobile, it means that the terminal device 1 is in a mobile state; if the mobile identity of the terminal device 1 is Static, it means that the terminal device 1 is in a static state. For another example, the mobile identification of terminal device 1 can be 1 bit. If the value of the bit is "1", it means that the terminal device 1 is in the mobile state, and if the value of the bit is "0", it means that the terminal is 1 is at a standstill. (3) The type of the terminal device 1 may include a vehicle-mounted terminal, a terminal device held by a pedestrian, and an RSU, and may also include other possible types, which are not specifically limited. (4) Communication capability information of the terminal device 1: If the terminal device 1 is an RSU, the communication capability information of the terminal 1 is used to indicate whether the terminal device 1 supports short-range communication, and further, if the terminal device 1 supports short-range communication, then The communication capability information of the terminal device 1 may include the coverage area of the short-range communication of the terminal device 1. If the terminal device 1 is a vehicle-mounted terminal or a terminal device held by a pedestrian, the communication capability information of the terminal 1 is used to indicate that the terminal device 1 supports proximity. The list of PLMNs for distance communication. For example, the list of PLMNs supporting short distance communication of terminal device 1 includes PLMN1, PLMN2, and PLMN3. If the PLMN currently accessed by terminal device 1 is PLMN1, terminal device 1 supports proximity in the currently connected PLMN. Distance communication: If the PLMN currently accessed by the terminal device is PLMN4, the terminal device 1 does not support short-range communication in the currently accessed PLMN. (5) The list of services supported by the terminal device 1 may include the identification of one or more services supported by the terminal device 1.
步骤302,终端设备1到IoT平台注册,并上报终端设备1的第二信息。Step 302: The terminal device 1 registers with the IoT platform, and reports the second information of the terminal device 1.
此处,终端设备1的第二信息可以包括终端设备1的第一信息中的部分信息或全部信息,具体不做限定。比如,终端设备1的第二信息可以包括终端设备1的标识、终端设备1的移动标识、终端设备1的类型、终端设备1的通信能力信息;进一步地,还可以包括终端设备1的位置信息、终端设备1接入的PLMN。Here, the second information of the terminal device 1 may include part or all of the information in the first information of the terminal device 1, which is not specifically limited. For example, the second information of the terminal device 1 may include the identification of the terminal device 1, the mobile identification of the terminal device 1, the type of the terminal device 1, and the communication capability information of the terminal device 1; further, it may also include the location information of the terminal device 1. , PLMN accessed by terminal device 1.
需要说明的是,若终端设备1的移动标识为移动,则终端设备1可以按照设定周期向IoT平台上报终端设备1的位置信息;或者,终端设备1也可以在确定终端设备1的位置信息发生变化后,向IoT平台上报终端设备1变化后的位置信息;从而使得IoT平台中所记录的终端设备1的位置信息能够及时更新,以保证IoT平台中所记录的终端设备1的位置信息的准确性。It should be noted that if the mobile identity of the terminal device 1 is mobile, the terminal device 1 can report the location information of the terminal device 1 to the IoT platform according to the set period; or the terminal device 1 can also determine the location information of the terminal device 1 After a change occurs, report the changed location information of the terminal device 1 to the IoT platform; thereby enabling the location information of the terminal device 1 recorded in the IoT platform to be updated in time to ensure that the location information of the terminal device 1 recorded in the IoT platform is accurate accuracy.
示例性地,在图2所示意的系统架构中,应用服务器可以向IoT平台下发群组消息(群组消息中包括业务信息),进而由IoT平台将业务信息发送给一组终端设备。Exemplarily, in the system architecture shown in FIG. 2, the application server can deliver a group message (the group message includes business information) to the IoT platform, and the IoT platform then sends the business information to a group of terminal devices.
在智能交通系统中,通过向终端设备(比如车载终端)发送业务信息,能够使得终端设备获得实时路况、道路信息、行人信息等一系列交通信息,提高驾驶安全性,减少拥堵,提高交通效率等。具体实施中,可能会有多种业务信息,在一个示例中,业务信息可以包括:道路安全相关的信息(比如广播车速,位置,车型等);应急车辆优先信号控制服务信息(比如救护车、消防车、道路危险状况报警等);信号灯信息;道路拥堵信息;交通事故信息(比如前方发生车祸、前方追尾报警)。In an intelligent transportation system, by sending business information to terminal devices (such as vehicle-mounted terminals), the terminal devices can obtain a series of traffic information such as real-time road conditions, road information, pedestrian information, etc., to improve driving safety, reduce congestion, and improve traffic efficiency, etc. . In specific implementations, there may be a variety of business information. In one example, the business information may include: road safety-related information (such as broadcast speed, location, vehicle type, etc.); emergency vehicle priority signal control service information (such as ambulances, Fire trucks, road hazard alarms, etc.); signal light information; road congestion information; traffic accident information (such as a car accident ahead, a rear-end collision alarm).
举个例子,终端设备3、终端设备4和终端设备5均为车载终端,IoT平台从应用服务器接收到某一业务(比如业务1)的业务信息,并需要将业务信息发送给终端设备3、终端设备4和终端设备5。For example, the terminal device 3, the terminal device 4, and the terminal device 5 are all vehicle-mounted terminals. The IoT platform receives the business information of a certain service (such as business 1) from the application server and needs to send the business information to the terminal device 3. Terminal equipment 4 and terminal equipment 5.
在一种可能的实现方式中,IoT平台可以通过单播的方式将业务信息发送给终端设备3、终端设备4和终端设备5,即IoT平台分别向终端设备3、终端设备4和终端设备5发送单播消息,单播消息中包括业务信息。采用这种方式,当需要将业务信息发送给数目较多的终端设备时,该方法的效率太低,影响用户体验;且,由于IoT平台需要分别向多个终端设备发送消息,从而使得IoT平台的负担较重,传输资源的消耗较大。In a possible implementation, the IoT platform can send service information to the terminal device 3, the terminal device 4, and the terminal device 5 through unicast, that is, the IoT platform sends the service information to the terminal device 3, the terminal device 4, and the terminal device 5 respectively. Send a unicast message. The unicast message includes service information. In this way, when the business information needs to be sent to a large number of terminal devices, the efficiency of this method is too low, which affects user experience; and, because the IoT platform needs to send messages to multiple terminal devices separately, the IoT platform The burden is heavier and the consumption of transmission resources is greater.
在又一种可能的实现方式中,IoT平台可以通过多播的方式将业务信息发送给终端设备3、终端设备4和终端设备5,比如IP组播(IP multicasting)或改进的多媒体广播多播服务(evolved multimedia broadcast multicast service,eMBMS)。以IP组播为例,IP组播是对标准IP网络层协议的扩展。它通过使用特定的IP组播地址,按照最大投递的原则,将IP数据包传输到一个组播群组(multicast group)的主机集合。 它的基本方法是:当某一个设备向一组设备发送数据时,该设备不必向该组设备中的每一个设备都发送该数据,而只需将该数据发送到一个特定的组播地址,则所有加入该组播组的设备均可以收到该数据。图4为通过多播的方式向群组成员发消息的流程示例,由如图4可以看出,在进行多播之前,必须通过单播的方式发送创建多播群组请求(可以包括多播相关的用户服务描述(user service description)信息,比如多播地址,加入多播组等)以及接收终端设备返回的响应,以保证终端能够接收到多播消息。采用这种方式,由于车载终端在指定区域的时间不是很长,先单播再多播,交互消息太多,如果是多次广播业务,可能时间来不及完成所有的流程,从而无法有效地将业务信息发送给终端设备。In another possible implementation, the IoT platform can send service information to terminal equipment 3, terminal equipment 4, and terminal equipment 5 through multicast, such as IP multicasting or improved multimedia broadcast multicast Service (evolved multimedia broadcast multicast service, eMBMS). Take IP multicast as an example. IP multicast is an extension of the standard IP network layer protocol. It uses a specific IP multicast address to transmit IP data packets to a set of hosts in a multicast group in accordance with the principle of maximum delivery. Its basic method is: when a certain device sends data to a group of devices, the device does not need to send the data to every device in the group of devices, but only needs to send the data to a specific multicast address. Then all the devices that join the multicast group can receive the data. Figure 4 is an example of the process of sending messages to group members through multicast. It can be seen from Figure 4 that before multicasting, the request to create a multicast group must be sent through unicast (may include multicast Related user service description (user service description) information, such as multicast address, joining a multicast group, etc.) and the response returned by the receiving terminal device to ensure that the terminal can receive the multicast message. In this way, because the vehicle-mounted terminal does not spend a long time in the designated area, it is unicast and then multicast, and there are too many interactive messages. If it is a multiple broadcast service, it may not be time to complete all the processes, and it is impossible to effectively transfer the service. The information is sent to the terminal device.
基于此,本申请实施例提供一种通信方法,用于实现将业务信息有效地发送给一组终端设备。Based on this, an embodiment of the present application provides a communication method for effectively sending service information to a group of terminal devices.
图5为本申请实施例提供的一种通信方法所对应的流程示意图,如图5所示,包括:FIG. 5 is a schematic diagram of a process corresponding to a communication method provided by an embodiment of the application, as shown in FIG. 5, including:
步骤501,IoT平台确定待处理第一业务的N个终端设备。Step 501: The IoT platform determines N terminal devices to be processed for the first service.
此处,IoT平台确定待处理第一业务的N个终端设备的具体实现方式可能有多种。Here, there may be multiple specific implementation ways for the IoT platform to determine the N terminal devices to be processed for the first service.
在一种可能的实现方式中,IoT平台可以从应用服务器接收第三消息,第三消息包括第一区域的信息和第一业务的业务信息,第一业务的业务信息包括第一业务的业务标识;此种情形下,第三消息可以理解为动态群组消息。进一步地,IoT平台可以根据终端设备的位置信息(其中,终端设备的位置信息可以为上述步骤302中由终端设备上报给IoT平台的),获取第一区域内的多个终端设备,并获取多个终端设备支持的业务列表,根据多个终端设备支持的业务列表从多个终端设备中确定出N个终端设备,N个终端设备支持的业务列表包括第一业务的标识,即N个终端设备支持第一业务。In a possible implementation, the IoT platform may receive a third message from the application server. The third message includes the information of the first area and the service information of the first service. The service information of the first service includes the service identifier of the first service. ; In this case, the third message can be understood as a dynamic group message. Further, the IoT platform can obtain multiple terminal devices in the first area according to the location information of the terminal device (wherein, the location information of the terminal device may be reported to the IoT platform by the terminal device in step 302), and obtain multiple terminal devices in the first area. A list of services supported by a terminal device, N terminal devices are determined from a plurality of terminal devices according to the list of services supported by multiple terminal devices, and the list of services supported by N terminal devices includes the identification of the first service, that is, N terminal devices Support the first business.
示例性地,第三消息还可以包括目标终端类型,比如,目标终端类型可以包括车载终端和RSU。上述N个终端设备中每一终端设备的类型与目标终端类型相匹配(即每一终端设备的类型属于目标终端类型)。Exemplarily, the third message may further include the target terminal type. For example, the target terminal type may include a vehicle-mounted terminal and an RSU. The type of each terminal device in the above N terminal devices matches the target terminal type (that is, the type of each terminal device belongs to the target terminal type).
举个例子,第三消息包括第一区域的信息、第一业务的业务信息、目标终端类型(比如车载终端)。第一区域内包括10个终端设备,分别为终端设备1至终端设备10,IoT平台可以获取终端设备1至终端设备10的类型和支持的业务列表,进而根据终端设备1至终端设备10的类型和支持的业务列表,确定出N(N=8)个终端设备(比如终端设备1至终端设备8),其中,终端设备1至终端设备8的类型均为车载终端,终端设备1至终端设备8支持的业务列表均包括第一业务的标识。而终端设备9和终端设备10的类型均为车载终端,但终端设备9和终端设备10支持的业务列表不包括第一业务的标识,即终端设备9和终端设备10不支持第一业务,进而也无需向终端设备9和终端设备10发送第一业务的业务信息。For example, the third message includes the information of the first area, the service information of the first service, and the target terminal type (such as a vehicle-mounted terminal). There are 10 terminal devices in the first area, namely terminal device 1 to terminal device 10. The IoT platform can obtain the type of terminal device 1 to terminal device 10 and the list of supported services, and then according to the type of terminal device 1 to terminal device 10 And the list of supported services, determine N (N=8) terminal devices (such as terminal device 1 to terminal device 8), of which the types of terminal device 1 to terminal device 8 are all vehicle-mounted terminals, and terminal device 1 to terminal device 8 The list of supported services includes the identification of the first service. The types of terminal device 9 and terminal device 10 are both vehicle-mounted terminals, but the service list supported by terminal device 9 and terminal device 10 does not include the identity of the first service, that is, terminal device 9 and terminal device 10 do not support the first service, and then There is also no need to send the service information of the first service to the terminal device 9 and the terminal device 10.
示例性地,IoT平台可以获取终端设备1至终端设备10的类型和支持的业务列表的方式可以有多种。比如,以终端设备1为例,若终端设备1通过注册请求将终端设备1的类型和支持的业务列表上报给IoT平台,则IoT平台可以直接获取到终端设备1的类型和支持的业务列表;若终端设备1未将终端设备1的类型和支持的业务列表 通过注册请求上报给IoT平台,则IoT平台可以到终端设备1的归属PLMN中的CF网元获取终端设备1的类型和支持的业务列表。Exemplarily, the IoT platform can obtain the types of terminal devices 1 to 10 and the supported service list in various ways. For example, taking terminal device 1 as an example, if terminal device 1 reports the type of terminal device 1 and the list of supported services to the IoT platform through a registration request, the IoT platform can directly obtain the type of terminal device 1 and the list of supported services; If terminal device 1 does not report the type of terminal device 1 and the list of supported services to the IoT platform through a registration request, the IoT platform can go to the CF network element in the home PLMN of terminal device 1 to obtain the type of terminal device 1 and supported services List.
需要说明的是,仍以终端设备1为例,若终端设备1通过注册请求将终端设备1的类型上报给IoT平台,则IoT平台可以直接获取到终端设备1的类型,以及IoT平台可以到终端设备1的归属PLMN中的CF网元获取终端设备1支持的业务列表。It should be noted that, still taking terminal device 1 as an example, if terminal device 1 reports the type of terminal device 1 to the IoT platform through a registration request, the IoT platform can directly obtain the type of terminal device 1, and the IoT platform can access the terminal The CF network element in the home PLMN of the device 1 obtains the list of services supported by the terminal device 1.
在又一种可能的实现方式中,IoT平台从应用服务器接收第三消息,第三消息包括第一群组的标识和第一业务的业务信息,第一业务的业务信息包括第一业务的业务标识,此种情形下,第三消息可以理解为静态群组消息。其中,第一群组可以为IoT平台和应用服务器预先创建的,示例性地,图6a为IoT平台和应用服务器第一群组的流程示意图,参见图6a所示,包括:应用服务器向IoT平台发送第一群组的创建请求,所述第一群组的创建请求包括多个终端设备(比如终端设备1至终端设备10)的标识;IoT平台接收第一创建请求,并根据第一创建请求创建第一群组,以及向应用服务器发送创建响应,创建响应包括第一群组的标识。In another possible implementation manner, the IoT platform receives a third message from the application server, the third message includes the identity of the first group and the service information of the first service, and the service information of the first service includes the service of the first service. In this case, the third message can be understood as a static group message. Among them, the first group may be pre-created by the IoT platform and the application server. Illustratively, Figure 6a is a schematic diagram of the flow of the first group of the IoT platform and the application server. See Figure 6a, including: the application server to the IoT platform Send a creation request of the first group, the creation request of the first group includes the identities of multiple terminal devices (such as terminal device 1 to terminal device 10); the IoT platform receives the first creation request, and according to the first creation request Create the first group, and send a creation response to the application server, where the creation response includes the identifier of the first group.
IoT平台接收到第三消息后,根据第一群组的标识,获取属于第一群组的多个终端设备(即终端设备1至终端设备10);IoT平台获取多个终端设备支持的业务列表,并根据多个终端设备支持的业务列表从多个终端设备中确定出N(N=8)个终端设备(比如终端设备1至终端设备8),终端设备1至终端设备8支持的业务列表包括第一业务的标识,而终端设备9和终端设备10支持的业务列表不包括第一业务的标识,即终端设备9和终端设备10不支持第一业务,进而也无需向终端设备9和终端设备10发送第一业务的业务信息。After the IoT platform receives the third message, it obtains multiple terminal devices (ie, terminal device 1 to terminal device 10) belonging to the first group according to the identity of the first group; the IoT platform obtains a list of services supported by multiple terminal devices , And determine N (N=8) terminal devices (such as terminal device 1 to terminal device 8) from multiple terminal devices according to the service list supported by multiple terminal devices, and the list of services supported by terminal device 1 to terminal device 8 Including the identification of the first service, and the service list supported by the terminal device 9 and the terminal device 10 does not include the identification of the first service, that is, the terminal device 9 and the terminal device 10 do not support the first service, and there is no need to provide the terminal device 9 and the terminal device 9 The device 10 sends service information of the first service.
根据前文的描述可知,步骤501中确定出的N个终端设备可以全部为车载终端,或者,也可以包括车载终端和RSU。According to the foregoing description, the N terminal devices determined in step 501 may all be vehicle-mounted terminals, or may also include vehicle-mounted terminals and RSUs.
步骤502,IoT平台从N个终端设备中确定出支持近距离通信的P个目标终端设备。In step 502, the IoT platform determines P target terminal devices that support short-range communication from the N terminal devices.
本申请实施例中,IoT平台从N个终端设备中确定出支持近距离通信的P个目标终端设备的具体实现方式可以有多种,比如,IoT平台获取N个终端设备的通信能力信息,根据N个终端设备的通信能力信息,从N个终端设备确定出P个目标终端设备。其中,IoT平台获取N个终端设备的通信能力信息的方式可以有多种,以终端设备1为例,若终端设备1通过注册请求将终端设备1的通信能力信息上报给IoT平台,则IoT平台可以直接获取到终端设备1的通信能力信息;若终端设备1未将终端设备1的通信能力信息通过注册请求上报给IoT平台,则IoT平台可以到终端设备1的归属PLMN中的CF网元获取终端设备1的通信能力信息。In the embodiment of this application, the IoT platform determines from N terminal devices P target terminal devices that support short-range communication in specific implementation manners. For example, the IoT platform obtains the communication capability information of N terminal devices according to For the communication capability information of N terminal devices, P target terminal devices are determined from the N terminal devices. Among them, the IoT platform can obtain the communication capability information of N terminal devices in many ways. Taking terminal device 1 as an example, if terminal device 1 reports the communication capability information of terminal device 1 to the IoT platform through a registration request, the IoT platform The communication capability information of the terminal device 1 can be directly obtained; if the terminal device 1 does not report the communication capability information of the terminal device 1 to the IoT platform through a registration request, the IoT platform can obtain it from the CF network element in the home PLMN of the terminal device 1 Communication capability information of the terminal device 1.
示例性地,N个终端设备中包括第一终端设备,若第一终端设备为RSU,则第一终端设备的通信能力信息用于指示第一终端设备是否支持近距离通信,此种情形下,IoT平台可以根据第一终端设备的通信能力信息确定第一终端设备是否支持近距离通信,若支持,则第一终端设备即为目标终端设备;若第一终端设备为车载终端,则第一终端设备的通信能力信息用于指示第一终端设备的支持近距离通信的PLMN列表,此种情形下,IoT平台可以获取第一终端设备接入的PLMN(比如第一终端设备接入的PLMN可以是由第一终端设备通过注册请求上报给IoT平台的),若第一终端设备 的支持近距离通信的PLMN列表包括第一终端设备接入的PLMN,则可以确定第一终端设备为目标终端设备。Exemplarily, the N terminal devices include the first terminal device. If the first terminal device is an RSU, the communication capability information of the first terminal device is used to indicate whether the first terminal device supports short-range communication. In this case, The IoT platform can determine whether the first terminal device supports short-range communication according to the communication capability information of the first terminal device. If it does, the first terminal device is the target terminal device; if the first terminal device is a vehicle-mounted terminal, the first terminal The communication capability information of the device is used to indicate the PLMN list of the first terminal device that supports short-range communication. In this case, the IoT platform can obtain the PLMN accessed by the first terminal device (for example, the PLMN accessed by the first terminal device may be Reported by the first terminal device to the IoT platform via a registration request), if the PLMN list of the first terminal device that supports short-range communication includes the PLMN accessed by the first terminal device, it can be determined that the first terminal device is the target terminal device.
沿用上述示例,N个终端设备包括终端设备1至终端设备8,比如确定出的P个目标终端设备可以包括终端设备1至终端设备7,终端设备8不支持近距离通信。Following the above example, the N terminal devices include terminal device 1 to terminal device 8. For example, the determined P target terminal devices may include terminal device 1 to terminal device 7, and terminal device 8 does not support short-range communication.
需要说明的是,若IoT平台是根据静态群组消息确定出的N个终端设备,则IoT平台确定出P个目标终端设备后,可以根据P个目标终端设备的位置信息确定出覆盖P个目标终端设备的第一区域的信息。比如,参见图6c所示,为根据P个目标终端设备的位置信息确定出的第一区域示意图。图6c仅为一种简单示例,具体实施中确定出的第一区域的形状可能有多种,具体不做限定。It should be noted that if the IoT platform determines N terminal devices based on static group messages, after the IoT platform determines P target terminal devices, it can determine to cover P targets based on the location information of the P target terminal devices Information about the first area of the terminal device. For example, referring to FIG. 6c, it is a schematic diagram of the first area determined according to the location information of P target terminal devices. Fig. 6c is only a simple example, and the shape of the first region determined in the specific implementation may have various shapes, which are not specifically limited.
本申请实施例中,近距离通信可以包括多种,比如专用短程通信(dedicated short range communications,DSRC)、近距离通信5(proximity communication five,PC5)等,具体不做限定。In the embodiments of the present application, short-range communication may include multiple types, such as dedicated short-range communications (DSRC), proximity communication 5 (proximity communication five, PC5), etc., which are not specifically limited.
在一个示例中,IoT平台可以获取P个目标终端设备的移动标识,若P个目标终端设备中处于移动状态的目标终端设备的个数大于或等于第一阈值,则可以执行步骤503,否则,可以通过现有技术中多播的方式向N个终端设备发送第一业务的业务信息。其中,第一阈值可以由本领域技术人员根据实际需要和经验来设置,比如第一阈值可以为1。In an example, the IoT platform can obtain the mobile identities of P target terminal devices. If the number of target terminal devices in the moving state among the P target terminal devices is greater than or equal to the first threshold, step 503 can be performed, otherwise, The service information of the first service can be sent to N terminal devices in a multicast manner in the prior art. The first threshold may be set by those skilled in the art according to actual needs and experience, for example, the first threshold may be 1.
步骤503,IoT平台确定M个中继设备。Step 503: The IoT platform determines M relay devices.
此处,中继设备是指用于将接收到的IoT平台发送的业务信息发送给目标终端设备的设备,示例性地,中继设备可以为RSU、静止的车辆等。Here, the relay device refers to a device used to send the received business information sent by the IoT platform to the target terminal device. Illustratively, the relay device may be an RSU, a stationary vehicle, or the like.
本申请实施例中,IoT平台确定M个中继设备的具体实现方式可以有多种。比如,IoT平台可以确定出近距离通信覆盖范围与第一区域存在交集的至少一个中继设备,并将该至少一个中继设备作为M个中继设备;或者,IoT平台也可以确定出近距离通信覆盖至少一个目标终端设备的至少一个中继设备,并将该至少一个中继设备作为M个中继设备。In the embodiments of the present application, there may be multiple specific implementation ways for the IoT platform to determine M relay devices. For example, the IoT platform can determine at least one relay device whose short-range communication coverage and the first area overlap, and use the at least one relay device as M relay devices; or, the IoT platform can also determine the short distance Communication covers at least one relay device of at least one target terminal device, and uses the at least one relay device as M relay devices.
本申请实施例中所涉及的中继设备的近距离通信覆盖至少一个目标终端设备,可以理解为,至少一个目标终端设备位于中继设备的近距离通信覆盖范围内。比如,中继设备的近距离通信覆盖目标终端设备a和目标终端设备b,可以理解为,目标终端设备a和目标终端设备b位于中继设备的近距离通信覆盖范围内。The short-range communication of the relay device involved in the embodiment of the present application covers at least one target terminal device, and it can be understood that at least one target terminal device is located within the short-range communication coverage of the relay device. For example, if the short-range communication of the relay device covers the target terminal device a and the target terminal device b, it can be understood that the target terminal device a and the target terminal device b are located within the short-range communication coverage of the relay device.
下面描述两种可能的具体实现方式。Two possible specific implementations are described below.
在一种可能的实现方式中,IoT平台可以尝试从P个目标终端设备中选择中继设备。示例性地,IoT平台可以获取P个目标终端设备的移动标识,并判断P个目标终端设备是否包括处于静止状态的目标终端设备,若P个目标终端设备包括处于静止状态的目标终端设备,则可以将处于静止状态的目标终端设备确定为中继设备。比如,若终端设备1至终端设备7中包括2个处于静止状态的终端设备,则IoT平台可以将这2个处于静止状态的终端设备作为中继设备(称为中继设备1和中继设备2)。此种情形下,从一方面来说,由于中继设备位于第一区域内,因此,中继设备的近距离通信覆盖范围与第一区域存在交集;从另一方面来说,由于中继设备本身即为目标终端设备,因此,中继设备的近距离通信覆盖至少一个目标终端设备。In a possible implementation manner, the IoT platform may try to select a relay device from P target terminal devices. Exemplarily, the IoT platform can obtain the mobile identities of P target terminal devices, and determine whether the P target terminal devices include the target terminal device in a stationary state, and if the P target terminal devices include the target terminal device in a stationary state, then The target terminal device in a static state can be determined as a relay device. For example, if terminal device 1 to terminal device 7 include two terminal devices in a static state, the IoT platform can use these two terminal devices in a static state as relay devices (referred to as relay device 1 and relay device). 2). In this situation, on the one hand, because the relay device is located in the first area, the short-range communication coverage of the relay device overlaps with the first area; on the other hand, because the relay device It is the target terminal device itself, therefore, the short-range communication of the relay device covers at least one target terminal device.
针对于此种情形,在一个示例中,IoT平台从P个目标终端设备中选择中继设备后,还可以再选择其它可能的中继设备,比如,IoT平台又选择了中继设备3,则此时,IoT平台确定的中继设备包括中继设备1、中继设备2和中继设备3;示例性地,IoT平台选择其它可能的中继设备的实现方式可以有多种,比如可以参见下文中IoT平台若确定P个目标终端设备中不包括处于静止状态的终端设备时选择中继设备的方式。在一个示例中,IoT平台从P个目标终端设备中选择中继设备后,也可以不再选择其它可能的中继设备,则此时,IoT平台确定的中继设备包括中继设备1和中继设备2。In view of this situation, in an example, after the IoT platform selects a relay device from P target terminal devices, it can also select other possible relay devices. For example, if the IoT platform selects relay device 3 again, then At this time, the relay device determined by the IoT platform includes the relay device 1, the relay device 2, and the relay device 3. Illustratively, the IoT platform can select other possible relay devices in many ways, for example, see In the following, if the IoT platform determines that the P target terminal devices do not include terminal devices in a stationary state, it selects the relay device method. In an example, after the IoT platform selects the relay device from the P target terminal devices, it may not select other possible relay devices. At this time, the relay device determined by the IoT platform includes the relay device 1 and the middle device. Following equipment 2.
IoT平台若确定P个目标终端设备中不包括处于静止状态的终端设备(即终端设备1至终端设备7均处于移动状态),则可以在P个目标终端设备以外的终端设备中选择中继设备,比如可以根据第一区域的信息、至少一个终端设备的通信能力信息、至少一个终端设备支持的业务列表和至少一个终端设备的移动标识,从至少一个终端设备中确定出M个中继设备。比如,IoT平台获取与P个目标终端设备之间的距离小于或等于预设距离的至少一个终端设备(比如终端设备11至终端设备13),预设距离可以由本领域技术人员根据实际需要和经验进行设置。以终端设备11为例,终端设备11与P个目标终端设备之间的距离小于或等于预设距离,可以理解为,终端设备11与P个目标终端设备中某一目标终端设备之间的距离小于或等于预设距离。进一步地,IoT平台可以获取至少一个终端设备的通信能力信息和支持的业务列表,并根据至少一个终端设备的通信能力信息和支持的业务列表,从至少一个终端设备中确定M个中继设备,比如选择出的中继设备为终端设备11和终端设备12,为便于描述,将终端设备11称为中继设备1,将终端设备12称为中继设备2。中继设备1和中继设备2均支持第一业务,中继设备1和中继设备2均处于静止状态,且中继设备1的近距离通信覆盖范围与第一区域存在交集(或者,中继设备1的近距离通信覆盖至少一个目标终端设备),中继设备2的近距离通信覆盖范围与第一区域存在交集(或者,中继设备2的近距离通信覆盖至少一个目标终端设备);而由于终端设备13不支持第一业务,若IoT平台将第一业务的业务信息发送给终端设备13,终端设备13会将第一业务的业务信息丢弃,因此,IoT平台可以不将其作为向目标终端设备转发第一业务的业务信息的中继设备。If the IoT platform determines that P target terminal devices do not include terminal devices in a stationary state (that is, terminal devices 1 to 7 are in a mobile state), it can select relay devices from terminal devices other than the P target terminal devices For example, according to the information of the first area, the communication capability information of the at least one terminal device, the service list supported by the at least one terminal device, and the mobile identity of the at least one terminal device, M relay devices can be determined from the at least one terminal device. For example, the IoT platform acquires at least one terminal device (such as terminal device 11 to terminal device 13) whose distance from P target terminal devices is less than or equal to a preset distance. The preset distance can be determined by those skilled in the art according to actual needs and experience. Make settings. Taking the terminal device 11 as an example, the distance between the terminal device 11 and the P target terminal devices is less than or equal to the preset distance, which can be understood as the distance between the terminal device 11 and one of the P target terminal devices Less than or equal to the preset distance. Further, the IoT platform may obtain the communication capability information and supported service list of at least one terminal device, and determine M relay devices from the at least one terminal device according to the communication capability information and supported service list of the at least one terminal device, For example, the selected relay devices are the terminal device 11 and the terminal device 12. For ease of description, the terminal device 11 is referred to as the relay device 1, and the terminal device 12 is referred to as the relay device 2. Both relay device 1 and relay device 2 support the first service, relay device 1 and relay device 2 are both in a static state, and the short-range communication coverage of relay device 1 overlaps with the first area (or, medium). After the near-field communication of the device 1 covers at least one target terminal device), the near-field communication coverage of the relay device 2 overlaps with the first area (or, the near-field communication of the relay device 2 covers at least one target terminal device); Since the terminal device 13 does not support the first service, if the IoT platform sends the service information of the first service to the terminal device 13, the terminal device 13 will discard the service information of the first service. Therefore, the IoT platform may not use it as a destination. A relay device for the target terminal device to forward the service information of the first service.
需要说明的是,本申请实施例中,在确定中继设备时,也可以限定仅将某一类型或某些类型的终端设备确定为中继设备,也就是说,在确定中继设备时,可以考虑终端设备的类型。It should be noted that in the embodiment of the present application, when determining the relay device, it may also be restricted to only determine a certain type or certain types of terminal devices as the relay device, that is, when determining the relay device, Consider the type of terminal equipment.
举个例子,IoT平台仅将处于静止状态的车载终端和RSU确定为中继设备,为便于描述将车载终端和RSU统称为第一类型,若某一终端设备的类型为第一类型,则可以理解为该终端设备的类型为车载终端,或者,该终端设备的类型为RSU。在一个示例中,当从P个目标终端设备中确定中继设备时,IoT平台可以获取P个目标终端设备的移动标识和类型,并判断P个目标终端设备是否包括处于静止状态且类型为第一类型的目标终端设备,若P个目标终端设备包括处于静止状态且类型为第一类型的目标终端设备,则可以将处于静止状态且类型为第一类型的目标终端设备确定为中继设备。在又一个示例中,当从P个目标终端设备以外的终端设备确定中继设备时,可以根据第一区域的信息、至少一个终端设备的通信能力信息、至少一个终端设备支持的 业务列表、至少一个终端设备的移动标识和至少一个终端设备的类型,从至少一个终端设备中确定出M个中继设备。For example, the IoT platform only determines the vehicle-mounted terminal and RSU in a stationary state as relay devices. For ease of description, the vehicle-mounted terminal and RSU are collectively referred to as the first type. If the type of a certain terminal device is the first type, it can be It is understood that the type of the terminal device is a vehicle-mounted terminal, or the type of the terminal device is an RSU. In one example, when the relay device is determined from the P target terminal devices, the IoT platform can obtain the mobile identification and type of the P target terminal devices, and determine whether the P target terminal devices include those in a stationary state and whose type is the first For a type of target terminal device, if the P target terminal devices include target terminal devices that are in a static state and are of the first type, the target terminal devices that are in a static state and are of the first type may be determined as the relay device. In another example, when the relay device is determined from terminal devices other than the P target terminal devices, it may be based on the information of the first area, the communication capability information of at least one terminal device, the list of services supported by at least one terminal device, and at least The mobile identity of one terminal device and the type of at least one terminal device determine M relay devices from the at least one terminal device.
再举个例子,IoT平台仅将RSU确定为中继设备。在一个示例中,当从P个目标终端设备中确定中继设备时,IoT平台可以获取P个目标终端设备的移动标识和类型,并判断P个目标终端设备是否包括处于静止状态且类型为RSU的目标终端设备,若包括,则可以将处于静止状态且类型为RSU的目标终端设备确定为中继设备。可以理解地,若RSU通常处于静止状态,不需要考虑其移动性时,则在确定中继设备时,也可以不再考虑移动标识;比如,当从P个目标终端设备中确定中继设备时,IoT平台可以获取P个目标终端设备的类型,并判断P个目标终端设备是否包括类型为RSU的目标终端设备(即是否包括RSU),若包括,则可以将P个目标终端设备中包括的RSU确定为中继设备。For another example, the IoT platform only determines the RSU as a relay device. In an example, when the relay device is determined from P target terminal devices, the IoT platform can obtain the mobile identities and types of the P target terminal devices, and determine whether the P target terminal devices are in a stationary state and the type is RSU If the target terminal device is included, the target terminal device in the static state and the type of RSU can be determined as the relay device. Understandably, if the RSU is usually in a static state and does not need to consider its mobility, the mobile identity may not be considered when determining the relay device; for example, when the relay device is determined from P target terminal devices , The IoT platform can obtain the types of P target terminal devices, and determine whether the P target terminal devices include target terminal devices of type RSU (that is, whether they include RSU). If it includes, it can include the P target terminal devices. The RSU is determined to be a relay device.
在又一种可能的实现方式中,IoT平台也可以直接在P个目标终端设备以外的终端设备中选择中继设备,比如IoT平台可以直接根据所述第一区域的信息、至少一个终端设备的通信能力信息、至少一个终端设备支持的业务列表和至少一个终端设备的移动标识,从至少一个终端设备中确定出M个中继设备。In another possible implementation manner, the IoT platform can also directly select a relay device among terminal devices other than the P target terminal devices. For example, the IoT platform can directly select the relay device according to the information of the first area and the information of at least one terminal device. The communication capability information, the service list supported by the at least one terminal device, and the mobile identity of the at least one terminal device, determine M relay devices from the at least one terminal device.
步骤504,IoT平台向M个中继设备发送第一消息,第一消息包括指示信息和第一业务的业务信息,指示信息用于指示通过近距离通信广播第一业务的业务信息。Step 504: The IoT platform sends a first message to M relay devices, where the first message includes indication information and service information of the first service, and the indication information is used to indicate that the service information of the first service is broadcast through short-range communication.
此处,第一消息可以为单播消息,或者第一消息也可以为多播消息。Here, the first message may be a unicast message, or the first message may also be a multicast message.
示例性地,若M个中继设备为IoT平台从P个目标终端设备中选择出的中继设备,则第一消息也可以为多播消息,进一步地,指示信息还可以用于指示中继设备处理第一业务的业务信息。此种情形下,由于中继设备为P个目标终端设备中的设备,因此,指示信息可以指示中继设备对第一业务的业务信息进行本地处理,以及指示中继设备通过近距离通信广播第一业务的业务信息。Exemplarily, if the M relay devices are relay devices selected by the IoT platform from P target terminal devices, the first message may also be a multicast message, and further, the indication information may also be used to indicate relay The device processes the business information of the first business. In this case, since the relay device is a device among the P target terminal devices, the instruction information can instruct the relay device to perform local processing on the service information of the first service, and instruct the relay device to broadcast the first service information through short-range communication. Business information of a business.
若M个中继设备为IoT平台从P个目标终端设备以外的设备中选择出的中继设备,则第一消息也可以为多播消息。If the M relay devices are relay devices selected by the IoT platform from devices other than P target terminal devices, the first message may also be a multicast message.
若M个中继设备包括IoT平台从P个目标终端设备中选择出的中继设备,还包括IoT平台从P个目标终端设备以外的设备中选择出的中继设备,则第一消息可以单播消息。示例性地,当第一消息为发送给从P个目标终端设备中选择出的中继设备的消息时,第一消息中的指示信息还可以用于指示中继设备处理第一业务的业务信息;当第一消息为发送给从P个目标终端设备以外的设备中选择出的中继设备的消息时,第一消息中的指示信息可以无需指示中继设备处理第一业务的业务信息。If the M relay devices include the relay device selected by the IoT platform from P target terminal devices, and also include the relay device selected by the IoT platform from devices other than the P target terminal devices, the first message can be single Broadcast news. Exemplarily, when the first message is a message sent to a relay device selected from P target terminal devices, the indication information in the first message may also be used to instruct the relay device to process the service information of the first service ; When the first message is a message sent to a relay device selected from devices other than P target terminal devices, the indication information in the first message may not need to instruct the relay device to process the service information of the first service.
步骤505,中继设备接收IoT平台发送的第一消息,第一消息包括指示信息和第一业务的业务信息;以及中继设备根据指示信息,通过近距离通信广播第一业务的业务信息。Step 505: The relay device receives a first message sent by the IoT platform, where the first message includes indication information and service information of the first service; and the relay device broadcasts the service information of the first service through short-range communication according to the indication information.
示例性地,若指示信息还可以用于指示中继设备处理第一业务的业务信息,则中继设备还可以对第一业务的业务信息进行处理。Exemplarily, if the indication information can also be used to instruct the relay device to process the service information of the first service, the relay device can also process the service information of the first service.
本申请实施例中,若M个中继设备包括IoT平台从P个目标终端设备中选择出的中继设备(比如中继设备1),则中继设备1接收到第一消息后,还可能会接收到其它中继设备(比如中继设备2)广播的第一业务的业务信息,此种情形下,中继设备1 可以丢弃中继设备2广播的第一业务的业务信息,或者说,不再处理中继设备2广播的第一业务的业务信息。比如,第一业务的业务信息可以承载于某一字段中,当中继设备1接收到该字段并进行处理后,若再次接收到该字段,则可以丢弃该字段。In the embodiment of the present application, if the M relay devices include the relay device selected by the IoT platform from the P target terminal devices (such as the relay device 1), after the relay device 1 receives the first message, it may be It will receive the service information of the first service broadcast by other relay devices (such as relay device 2). In this case, relay device 1 can discard the service information of the first service broadcast by relay device 2, or in other words, The service information of the first service broadcast by the relay device 2 is no longer processed. For example, the service information of the first service may be carried in a certain field. After the relay device 1 receives and processes the field, if the field is received again, the field may be discarded.
需要说明的是,若M个中继设备的近距离通信完全覆盖P个目标终端设备中处于移动状态的目标终端设备,则能够有效保证处于移动状态的目标终端设备均接收到第一业务的业务信息,若M个中继设备的近距离通信未完全覆盖处于移动状态的目标终端设备,此种情形下,第一消息中还可以包括处于移动状态的目标终端设备中至少一个目标终端设备的位置信息和移动速度,从而便于中继设备根据至少一个目标终端设备的位置信息和移动速度,确定广播时间和广播次数,以保证处于移动状态的目标终端设备均能接收到第一业务的业务信息。It should be noted that if the short-range communication of the M relay devices completely covers the target terminal devices in the mobile state among the P target terminal devices, it can effectively ensure that the target terminal devices in the mobile state all receive the services of the first service. Information, if the short-range communication of the M relay devices does not completely cover the target terminal device in the mobile state, in this case, the first message may also include the location of at least one target terminal device in the target terminal device in the mobile state Information and moving speed, so that the relay device can determine the broadcast time and the number of broadcasts according to the location information and moving speed of at least one target terminal device to ensure that all target terminal devices in a moving state can receive the service information of the first service.
下面以P个目标终端设备包括处于移动状态的Q个目标终端设备为例进行描述。In the following, description is made by taking as an example that P target terminal devices include Q target terminal devices in a moving state.
在一个示例(称为示例1)中,第一消息中可以包括Q个目标终端设备中每一目标终端设备的位置信息和移动速度。相应地,以中继设备1为例,中继设备1接收到Q个目标终端设备的位置信息后,可以根据Q个目标终端设备的位置信息确定出距离中继设备1最远的第三终端设备(比如终端设备1)(示例性地,确定出的终端设备1可以为距离中继设备1最远,且朝向中继设备1移动的终端设备),进而根据终端设备1的位置信息和移动速度,确定广播时间和广播次数。举个例子,终端设备1的移动速度是40km/h,中继设备1和终端设备1之间的距离为200m,中继设备1的近距离通信的距离为50m,终端设备1移动到中继设备1的近距离通信覆盖范围内需要13.5s(150m/40km/h=13.5s),终端设备1移动到中继设备1的近距离通信覆盖范围内后,再移动到中继设备1附近需要4.5s(50m/40km/h=4.5s),因此中继设备1可以确定广播次数为三次,第一次广播的广播时间为接收到第一消息时,第二次广播的时间为第一次广播之后的13.5s时,第三次广播为第二次广播之后的4.5s时,从而有效保证终端设备1能够接收到第一业务的业务信息。In an example (referred to as example 1), the first message may include the location information and the moving speed of each of the Q target terminal devices. Correspondingly, taking the relay device 1 as an example, after the relay device 1 receives the location information of the Q target terminal devices, it can determine the third terminal furthest from the relay device 1 according to the location information of the Q target terminal devices Device (such as terminal device 1) (exemplarily, the determined terminal device 1 may be the terminal device that is the farthest from the relay device 1 and moves toward the relay device 1), and then according to the location information and movement of the terminal device 1 Speed, determine the broadcast time and broadcast times. For example, the moving speed of the terminal device 1 is 40km/h, the distance between the relay device 1 and the terminal device 1 is 200m, the short-range communication distance of the relay device 1 is 50m, and the terminal device 1 moves to the relay It takes 13.5s (150m/40km/h=13.5s) to be within the NFC coverage of device 1. After terminal device 1 moves to the NFC coverage of relay device 1, it needs to move to the vicinity of relay device 1. 4.5s (50m/40km/h=4.5s), so the relay device 1 can determine that the number of broadcasts is three, the broadcast time of the first broadcast is when the first message is received, and the time of the second broadcast is the first At 13.5s after the broadcast, the third broadcast is at 4.5s after the second broadcast, thereby effectively ensuring that the terminal device 1 can receive the service information of the first service.
在又一个示例(称为示例2)中,若第一消息为单播消息,则以中继设备1为例,IoT平台可以根据Q个目标终端设备的位置信息和中继设备1的位置信息,确定距离中继设备1最远的第三终端设备(比如终端设备1)(示例性地,确定出的终端设备1可以为距离中继设备1最远,且朝向中继设备1移动的终端设备),并将终端设备1的位置信息和移动速度通过第一消息发送给中继设备1;相应地,中继设备1接收到第一消息后,可以根据终端设备1的位置信息和移动速度,确定广播时间和广播次数。In another example (referred to as example 2), if the first message is a unicast message, take relay device 1 as an example, and the IoT platform can use the location information of Q target terminal devices and the location information of relay device 1 , Determine the third terminal device (such as terminal device 1) furthest from the relay device 1 (exemplarily, the determined terminal device 1 may be the terminal that is the farthest from the relay device 1 and moves toward the relay device 1 Device), and send the location information and moving speed of the terminal device 1 to the relay device 1 through the first message; accordingly, after the relay device 1 receives the first message, it can be based on the location information and moving speed of the terminal device 1 , Determine the broadcast time and broadcast times.
需要说明的是,上述示例1和示例2的区别在于:上述示例1中,IoT平台将Q个目标终端设备的位置信息均发送给中继设备1,由中继设备1来确定距离最远的目标终端设备,进而根据距离最远的目标终端设备的位置信息和移动速度来确定广播时间和广播次数;采用这种方式,能够有效节省IoT平台的计算资源。在示例2中,IoT平台根据中继设备1的位置信息和Q个目标终端设备的位置信息,确定出距离中继设备1最远的第三终端设备,进而将第三终端设备的位置信息和移动速度发送给中继设备1,相应地,中继设备1可以直接根据第三终端设备的位置信息和移动速度确定广播时间和广播次数;采用这种方式,由于IoT平台只需将第三终端设备的位置信息和移动速度发送给中继设备1,从而能够有效节省传输资源。除此区别之外的其它内容, 可以相互参照。It should be noted that the difference between Example 1 and Example 2 above is: In Example 1, the IoT platform sends the location information of Q target terminal devices to relay device 1, and relay device 1 determines the farthest distance The target terminal device determines the broadcast time and the number of broadcasts according to the location information and moving speed of the target terminal device at the farthest distance; in this way, the computing resources of the IoT platform can be effectively saved. In Example 2, the IoT platform determines the third terminal device farthest from the relay device 1 based on the location information of the relay device 1 and the location information of the Q target terminal devices, and then combines the location information of the third terminal device with The moving speed is sent to the relay device 1. Correspondingly, the relay device 1 can directly determine the broadcast time and the number of broadcasts based on the location information and moving speed of the third terminal device; in this way, because the IoT platform only needs to transfer the third terminal The location information and moving speed of the device are sent to the relay device 1, thereby effectively saving transmission resources. Other content besides this difference can be cross-referenced.
步骤506,IoT平台向N个终端设备中除P个目标终端设备以外的终端设备发送第二消息,第二消息包括第一业务的业务信息。Step 506: The IoT platform sends a second message to terminal devices other than the P target terminal devices among the N terminal devices, where the second message includes service information of the first service.
此处,第二消息可以为单播消息,也就是说,针对于不支持近距离通信的终端设备,IoT平台可以通过单播消息将第一业务的业务信息发送给该终端设备,从而保证该终端设备也能接收到第一业务的业务信息。Here, the second message may be a unicast message, that is, for a terminal device that does not support short-range communication, the IoT platform may send the service information of the first service to the terminal device through a unicast message, thereby ensuring the The terminal device can also receive the service information of the first service.
需要说明的是,图5中的步骤编号仅是为便于描述而进行的编号,并不构成对各个步骤的先后执行顺序的限制;上述各个步骤中没有时序依赖关系的步骤之间没有严格的执行顺序,可根据实际情况调整。图5中的各个步骤也并非执行流程中的必要步骤,具体实施中可以根据实际需要进行删减,当N=P时,可以不执行步骤506。It should be noted that the step numbers in Figure 5 are only numbers for ease of description, and do not constitute a restriction on the sequence of execution of each step; there is no strict execution between the steps without a timing dependency among the above steps The sequence can be adjusted according to the actual situation. The steps in FIG. 5 are not necessary steps in the execution process, and can be deleted according to actual needs in specific implementation. When N=P, step 506 may not be executed.
采用上述方法,IoT平台从N个终端设备中确定出支持近距离通信的P个目标终端设备以及确定M个中继设备,通过向M个中继设备发送第一消息,使得M个中继设备可以通过近距离通信将第一业务的业务信息发送给P个目标终端设备,针对于N个终端设备中除P个目标终端设备以外的终端设备,IoT平台可以通过单播的方式来发送第一业务的业务信息,有效保证N个终端设备均能有效接收到第一业务的业务信息。参见图6b所示,为本申请实施例提供的一种通信方法的实现示意图,图6b中是以N个终端设备包括终端设备1至终端设备8,P个目标终端设备包括终端设备1至终端设备7,中继设备包括中继设备1和中继设备2为例进行示意的,IoT平台向中继设备1和中继设备2发送单播或多播消息(包括第一业务的业务信息),进而由中继设备1和中继设备2将第一业务的业务信息发送给终端设备1至终端设备7,而由于终端设备8不支持近距离通信,则IoT平台向终端设备8发送单播消息。Using the above method, the IoT platform determines P target terminal devices that support short-range communication and determines M relay devices from N terminal devices, and sends the first message to M relay devices so that M relay devices The business information of the first service can be sent to P target terminal devices through near field communication. For terminal devices other than the P target terminal devices among the N terminal devices, the IoT platform can send the first service information through unicast. The service information of the service effectively ensures that all N terminal devices can effectively receive the service information of the first service. Refer to Figure 6b, which is a schematic diagram of the implementation of a communication method provided by an embodiment of this application. In Figure 6b, N terminal devices include terminal device 1 to terminal device 8, and P target terminal devices include terminal device 1 to terminal device. Device 7. The relay device includes relay device 1 and relay device 2 as an example. The IoT platform sends unicast or multicast messages (including service information of the first service) to relay device 1 and relay device 2. , And then relay device 1 and relay device 2 send the business information of the first service to terminal device 1 to terminal device 7. Since terminal device 8 does not support short-range communication, IoT platform sends unicast to terminal device 8. news.
如此,相比于IoT平台通过多播的方式向一组终端设备发送业务信息来说,本申请实施例中,一方面,IoT平台不需要实时维护动态群组的成员信息,从而能够提升性能且资源消耗比较少;另一方面,终端设备不需要支持多播能力,依然可以接收业务信息,从而能够有效降低终端设备的成本;此外,未来面向5G-Xcast,支持近距离通信的车载终端不需要升级,只需要中继设备(RSU)升级5G-Xcast的能力即可。进一步地,本申请实施例中由于在确定M个中继设备时,充分考虑了M个中继设备支持的业务,从而使得确定出的M个中继设备均为支持第一业务的中继设备,避免由于中继设备不支持第一业务而丢弃第一业务的业务信息导致P个目标终端设备可能出现接收不到第一业务的业务信息的现象。In this way, compared to the IoT platform sending business information to a group of terminal devices in a multicast manner, in the embodiments of the present application, on the one hand, the IoT platform does not need to maintain dynamic group member information in real time, thereby improving performance and Resource consumption is relatively small; on the other hand, terminal equipment does not need to support multicast capabilities, but can still receive business information, which can effectively reduce the cost of terminal equipment; in addition, in the future, for 5G-Xcast, vehicle terminals that support short-range communication do not need To upgrade, only the ability of the relay device (RSU) to upgrade to 5G-Xcast is required. Further, in the embodiment of the present application, the services supported by the M relay devices are fully considered when determining the M relay devices, so that the determined M relay devices are all relay devices supporting the first service. , To avoid the phenomenon that the P target terminal devices may not receive the service information of the first service because the relay device does not support the first service and discards the service information of the first service.
示例性地,下面结合一个具体示例对单播、多播和本申请实施例的方案进行比较。比如一个RSU近距离通信的覆盖范围为200米(覆盖范围可以理解为一个圆形区域,该圆形区域的半径为200米),可以覆盖最多50辆车;在城市十字路口,RSU数量为2(P),车载终端为100(Q),IoT平台发100条消息(X)。若IoT平台均采用单播的方式来发送消息,则消息数量为100*100(即Q*X);若IoT平台采用多播的方式来发送消息,则消息数量为200(即Q+X)(其中,针对100个车载终端构建多播群组需要100条消息,多播需要100条消息);若IoT平台先单播给RSU,再由RSU通过PC5发送给车载终端,则消息数量为2*100(即P*X);若IoT平台先多播给RSU,再由RSU通过PC5发送给车载终端,则消息数量为102(即P+X)(其中构建多播 群组需要2条消息,多播需要100条消息),从而可以看出,当IoT平台先多播给RSU,再由RSU通过PC5发送给车载终端时,能够有效节省消息数量,节省传输资源。Exemplarily, the following compares unicast, multicast, and the solutions of the embodiments of the present application with a specific example. For example, the coverage area of an RSU short-range communication is 200 meters (the coverage area can be understood as a circular area with a radius of 200 meters), which can cover up to 50 vehicles; at an urban crossroad, the number of RSUs is 2 (P), the vehicle terminal is 100 (Q), and the IoT platform sends 100 messages (X). If the IoT platform uses unicast to send messages, the number of messages is 100*100 (ie Q*X); if the IoT platform uses multicast to send messages, the number of messages is 200 (ie Q+X) (Among them, 100 messages are required to construct a multicast group for 100 vehicular terminals, and 100 messages are required for multicast); if the IoT platform is unicast to the RSU first, and then sent by the RSU to the vehicular terminal via PC5, the number of messages is 2 *100 (ie P*X); if the IoT platform multicasts to the RSU first, and then the RSU sends it to the vehicle terminal via PC5, the number of messages is 102 (ie P+X) (2 messages are required to construct a multicast group , Multicasting requires 100 messages), so it can be seen that when the IoT platform first multicasts to the RSU, and then the RSU sends it to the vehicle terminal through the PC5, it can effectively save the number of messages and save transmission resources.
上述主要IoT平台、中继设备和终端设备之间交互的角度对本申请提供的方案进行了介绍。可以理解的是,为了实现上述功能,各网元包括了执行各个功能相应的硬件结构和/或软件模块(或单元)。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The above-mentioned main IoT platform, relay device and terminal device interact from the perspective of the solution provided in this application. It can be understood that, in order to realize the above-mentioned functions, each network element includes a hardware structure and/or software module (or unit) corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
在采用集成的单元(模块)的情况下,图7示出了本申请实施例中所涉及的装置的可能的示例性框图,该装置700可以以软件的形式存在。装置700可以包括:处理单元702和通信单元703。处理单元702用于对装置700的动作进行控制管理。通信单元703用于支持装置700与其他设备的通信。可选地,通信单元703也称为收发单元,可以包括接收单元和/或发送单元,分别用于执行接收和发送操作。装置700还可以包括存储单元701,用于存储装置700的程序代码和/或数据。In the case of an integrated unit (module), FIG. 7 shows a possible exemplary block diagram of a device involved in an embodiment of the present application, and the device 700 may exist in the form of software. The apparatus 700 may include: a processing unit 702 and a communication unit 703. The processing unit 702 is used to control and manage the actions of the device 700. The communication unit 703 is used to support communication between the apparatus 700 and other devices. Optionally, the communication unit 703 is also called a transceiving unit, and may include a receiving unit and/or a sending unit, which are used to perform receiving and sending operations, respectively. The device 700 may further include a storage unit 701 for storing program codes and/or data of the device 700.
其中,处理单元702可以是处理器或控制器,其可以实现或执行结合本申请的实施例公开内容所描述的各种示例性的逻辑方框,模块和电路。通信单元703可以是通信接口、收发器或收发电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口。存储单元701可以是存储器。The processing unit 702 may be a processor or a controller, which may implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of the embodiments of the present application. The communication unit 703 may be a communication interface, a transceiver, or a transceiver circuit, etc., where the communication interface is a general term. In a specific implementation, the communication interface may include multiple interfaces. The storage unit 701 may be a memory.
该装置700可以为上述任一实施例中的IoT平台、或者还可以为设置在IoT平台中的半导体芯片。处理单元702可以支持装置700执行上文中各方法示例中IoT平台的动作。或者,处理单元702主要执行方法示例中的IoT平台内部动作,通信单元703可以支持装置700与其他设备之间的通信。The device 700 may be the IoT platform in any of the above embodiments, or may also be a semiconductor chip provided in the IoT platform. The processing unit 702 may support the device 700 to execute the actions of the IoT platform in the above method examples. Alternatively, the processing unit 702 mainly executes the internal actions of the IoT platform in the method example, and the communication unit 703 may support communication between the apparatus 700 and other devices.
具体地,在一个实施例中,处理单元702用于:确定待处理第一业务的N个终端设备,并从N个终端设备中确定出支持近距离通信的P个目标终端设备,N个终端设备支持第一业务;以及,确定支持第一业务的M个中继设备,M个中继设备中每一中继设备的近距离通信覆盖范围与第一区域存在交集,第一区域至少覆盖P个目标终端设备;Specifically, in an embodiment, the processing unit 702 is configured to: determine N terminal devices to be processed for the first service, and determine P target terminal devices that support short-range communication from the N terminal devices, and N terminals The device supports the first service; and, determining M relay devices that support the first service, the NFC coverage of each relay device in the M relay devices overlaps the first area, and the first area covers at least P Target terminal equipment;
通信单元703用于:向M个中继设备发送第一消息,第一消息包括指示信息和第一业务的业务信息,指示信息用于指示通过近距离通信广播第一业务的业务信息;以及,向N个终端设备中除P个目标终端设备以外的终端设备发送第二消息,第二消息包括第一业务的业务信息;其中,N、M、P均为整数。The communication unit 703 is configured to: send a first message to M relay devices, the first message including indication information and service information of the first service, and the indication information is used to indicate to broadcast the service information of the first service through short-range communication; and, Send a second message to terminal devices other than P target terminal devices among N terminal devices, where the second message includes service information of the first service; where N, M, and P are all integers.
在一种可能的设计中,通信单元703还用于:从应用服务器接收第三消息,第三消息包括第一区域的信息、第一业务的业务信息和目标终端类型,第一业务的业务信息包括第一业务的业务标识;In a possible design, the communication unit 703 is further configured to: receive a third message from the application server, the third message including the information of the first area, the service information of the first service and the target terminal type, the service information of the first service Including the business identification of the first business;
处理单元702具体用于:根据第一区域的信息,获取位于第一区域内的多个终端设备,以及获取多个终端设备支持的业务列表和多个终端设备的类型,并根据多个终端设备支持的业务列表和多个终端设备的类型,从多个终端设备中确定出N个终端 设备,N个终端设备支持的业务列表包括第一业务的标识,N个终端设备中每一终端设备的类型与所述目标类型相匹配。The processing unit 702 is specifically configured to: obtain multiple terminal devices located in the first area according to the information in the first area, and obtain a list of services supported by the multiple terminal devices and the types of multiple terminal devices, and according to the multiple terminal devices The list of supported services and the types of multiple terminal devices. N terminal devices are determined from the multiple terminal devices. The list of services supported by the N terminal devices includes the identification of the first service, and the number of each terminal device in the N terminal devices. The type matches the target type.
在一种可能的设计中,通信单元703还用于:从应用服务器接收第三消息,第三消息包括第一群组的标识和第一业务的业务信息,第一业务的业务信息包括第一业务的业务标识;In a possible design, the communication unit 703 is further configured to: receive a third message from the application server, the third message includes the identity of the first group and the service information of the first service, and the service information of the first service includes the first service. Business identity of the business;
处理单元702具体用于:获取属于第一群组的N个终端设备。The processing unit 702 is specifically configured to obtain N terminal devices belonging to the first group.
在一种可能的设计中,处理单元702具体用于:获取N个终端设备的通信能力信息,N个终端设备中包括第一终端设备,第一终端设备的通信能力信息用于指示第一终端设备是否支持近距离通信,或者,指示第一终端设备的支持近距离通信的公共陆地移动网络PLMN列表;以及,根据N个终端设备的通信能力信息,从N个终端设备确定出P个目标终端设备;目标终端设备的通信能力信息指示目标终端设备支持近距离通信,或者,目标终端设备的支持近距离通信的PLMN列表包括目标终端设备接入的PLMN。In a possible design, the processing unit 702 is specifically configured to: obtain communication capability information of N terminal devices, the N terminal devices include a first terminal device, and the communication capability information of the first terminal device is used to indicate the first terminal Whether the device supports short-range communication, or indicates the public land mobile network PLMN list supporting the short-range communication of the first terminal device; and, according to the communication capability information of the N terminal devices, determine P target terminals from the N terminal devices Device; the communication capability information of the target terminal device indicates that the target terminal device supports near field communication, or the list of PLMNs that support near field communication of the target terminal device includes the PLMN that the target terminal device accesses.
在一种可能的设计中,处理单元702具体用于:获取P个目标终端设备的移动标识,目标终端设备的移动标识用于指示目标终端设备处于移动状态或处于静止状态;若确定P个目标终端设备中包括M个处于静止状态的目标终端设备,则将M个处于静止状态的目标终端设备确定为M个中继设备。In a possible design, the processing unit 702 is specifically configured to: obtain the mobile identities of P target terminal devices, and the mobile identities of the target terminal devices are used to indicate that the target terminal device is in a moving state or in a stationary state; The terminal equipment includes M target terminal devices in a stationary state, and the M target terminal devices in a stationary state are determined as M relay devices.
在一种可能的设计中,指示信息还用于指示对第一业务的业务信息进行处理。In a possible design, the instruction information is also used to instruct to process the service information of the first service.
在一种可能的设计中,处理单元702具体用于:根据第一区域的信息、至少一个终端设备的通信能力信息、至少一个终端设备支持的业务列表和至少一个终端设备的移动标识,从至少一个终端设备中确定出M个中继设备;至少一个终端设备为P个目标终端设备以外的终端设备;其中,至少一个终端设备包括第二终端设备,第二终端设备的移动标识用于指示第二终端设备处于移动状态或处于静止状态;第二终端设备的通信能力信息用于指示第二终端设备是否支持近距离通信,或者,指示第二终端设备的支持近距离通信的PLMN列表;若第二终端设备支持近距离通信,则第二终端设备的通信能力信息包括第二终端设备的近距离通信覆盖范围;M个中继设备为处于静止状态的终端设备,M个中继设备支持的业务列表包括第一业务的标识。In a possible design, the processing unit 702 is specifically configured to: according to the information of the first area, the communication capability information of at least one terminal device, the service list supported by the at least one terminal device, and the mobile identity of the at least one terminal device, the M relay devices are determined in one terminal device; at least one terminal device is a terminal device other than the P target terminal devices; wherein, at least one terminal device includes a second terminal device, and the mobile identifier of the second terminal device is used to indicate the first terminal device. 2. The terminal device is in a mobile state or in a stationary state; the communication capability information of the second terminal device is used to indicate whether the second terminal device supports short-range communication, or indicates the PLMN list of the second terminal device that supports short-range communication; If the second terminal device supports short-range communication, the communication capability information of the second terminal device includes the short-range communication coverage of the second terminal device; M relay devices are terminal devices in a stationary state, and M relay devices support services The list includes the identification of the first service.
在一种可能的设计中,处理单元702具体用于:从至少一个终端设备中确定出M个中继设备之前,确定P个目标终端设备中不包括处于静止状态的终端设备。In a possible design, the processing unit 702 is specifically configured to: before determining M relay devices from at least one terminal device, determine that the P target terminal devices do not include terminal devices in a stationary state.
在一种可能的设计中,M个中继设备的近距离通信完全覆盖P个目标终端设备中处于移动状态的目标终端设备。In a possible design, the short-range communication of the M relay devices completely covers the target terminal device in the mobile state among the P target terminal devices.
在一种可能的设计中,若M个中继设备的近距离通信未完全覆盖处于移动状态的目标终端设备,则第一消息中还包括处于移动状态的目标终端设备中至少一个目标终端设备的位置信息和移动速度。In a possible design, if the short-range communication of the M relay devices does not completely cover the target terminal device in the mobile state, the first message also includes the information of at least one of the target terminal devices in the mobile state. Location information and moving speed.
在一种可能的设计中,第一消息为多播消息或单播消息;和/或,第二消息为单播消息。In a possible design, the first message is a multicast message or a unicast message; and/or, the second message is a unicast message.
采用本申请实施例中提供的IoT平台,可以从N个终端设备中确定出支持近距离通信的P个目标终端设备以及确定M个中继设备,通过向M个中继设备发送第一消息,使得M个中继设备可以通过近距离通信将第一业务的业务信息发送给P个目标 终端设备,针对于N个终端设备中除P个目标终端设备以外的终端设备,IoT平台可以通过单播的方式来发送第一业务的业务信息,有效保证N个终端设备均能有效接收到第一业务的业务信息。进一步地,本申请实施例中由于在确定M个中继设备时,充分考虑了M个中继设备支持的业务,从而使得确定出的M个中继设备均为支持第一业务的中继设备,避免由于中继设备不支持第一业务而丢弃第一业务的业务信息导致P个目标终端设备可能出现接收不到第一业务的业务信息的现象。Using the IoT platform provided in the embodiments of the present application, P target terminal devices that support short-range communication and M relay devices can be determined from N terminal devices, and by sending the first message to M relay devices, This enables M relay devices to send the business information of the first service to P target terminal devices through short-range communication. For terminal devices other than P target terminal devices among N terminal devices, the IoT platform can use unicast The service information of the first service is sent in a way to effectively ensure that all N terminal devices can effectively receive the service information of the first service. Further, in the embodiment of the present application, the services supported by the M relay devices are fully considered when determining the M relay devices, so that the determined M relay devices are all relay devices supporting the first service. , To avoid the phenomenon that the P target terminal devices may not receive the service information of the first service because the relay device does not support the first service and discards the service information of the first service.
该装置700也可以为上述任一实施例中的中继设备、或者还可以为设置在中继设备中的半导体芯片或功能模块。例如当中继设备为车辆时,装置700可能是集成在车辆中的如下任一装置,如车载盒子(Telematics BOX,T-Box),域控制器(Domian Controller,DC),多域控制器(Multi-Domian Controller,MDC),车载单元(On board Unit,OBU)等。处理单元702可以支持装置700执行上文中各方法示例中中继设备的动作。或者,处理单元702主要执行方法示例中的中继设备内部动作,通信单元703可以支持装置700与其他设备之间的通信。The apparatus 700 may also be the relay device in any of the foregoing embodiments, or may also be a semiconductor chip or functional module provided in the relay device. For example, when the relay device is a vehicle, the device 700 may be any of the following devices integrated in the vehicle, such as a telematics box (Telematics BOX, T-Box), a domain controller (DC), and a multi-domain controller (Multi -Domian Controller, MDC), Onboard Unit (OBU), etc. The processing unit 702 may support the apparatus 700 to perform the actions of the relay device in the foregoing method examples. Alternatively, the processing unit 702 mainly executes the internal actions of the relay device in the method example, and the communication unit 703 can support communication between the apparatus 700 and other devices.
具体地,在一个实施例中,通信单元703用于:接收IoT平台发送的第一消息,第一消息包括指示信息和第一业务的业务信息,指示信息用于指示中继设备通过近距离通信广播第一业务的业务信息;第一消息还包括P个目标终端设备中至少一个目标终端设备的位置信息和移动速度;Specifically, in one embodiment, the communication unit 703 is configured to: receive a first message sent by the IoT platform, the first message includes indication information and service information of the first service, and the indication information is used to instruct the relay device to communicate through short-range communication. Broadcasting the service information of the first service; the first message also includes the location information and moving speed of at least one target terminal device among the P target terminal devices;
处理单元702用于:根据P个目标终端设备中至少一个终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数;The processing unit 702 is configured to: determine the broadcasting time and the number of broadcasting times of broadcasting the service information of the first service according to the position information and the moving speed of at least one terminal device among the P target terminal devices;
通信单元703还用于:根据广播时间和广播次数,广播第一业务的业务信息。The communication unit 703 is further configured to: broadcast service information of the first service according to the broadcast time and the number of broadcasts.
在一种可能的设计中,第一消息包括P个目标终端设备中每一目标终端设备的位置信息和移动速度;处理单元702用于:根据P个目标终端设备中每一目标终端设备的位置信息,确定距离中继设备最远的第三终端设备,并根据第三终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数。In a possible design, the first message includes the location information and moving speed of each target terminal device in the P target terminal devices; the processing unit 702 is configured to: according to the location of each target terminal device in the P target terminal devices Information, determine the third terminal device farthest from the relay device, and determine the broadcast time and broadcast times of the service information of the first service according to the location information and moving speed of the third terminal device.
在一种可能的设计中,第一消息包括P个目标终端设备中的第三终端设备的位置信息和移动速度,第三终端设备为P个目标终端设备中距离中继设备最远的目标终端设备;处理单元702用于:根据第三终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数。In a possible design, the first message includes the location information and moving speed of the third terminal device among the P target terminal devices, and the third terminal device is the target terminal furthest from the relay device among the P target terminal devices. The processing unit 702 is configured to: according to the location information and moving speed of the third terminal device, determine the broadcasting time and broadcasting times of broadcasting the service information of the first service.
采用本申请实施例中提供的中继设备,能够基于处于移动状态的目标终端设备中至少一个目标终端设备的位置信息和移动速度确定广播次数和广播时间,并根据广播次数和广播时间进行广播,以保证处于移动状态的目标终端设备均能接收到第一业务的业务信息。With the relay device provided in the embodiment of the present application, the number of broadcasts and the broadcast time can be determined based on the location information and moving speed of at least one of the target terminal devices in the moving state, and the broadcast can be performed according to the number of broadcasts and the broadcast time, To ensure that all target terminal devices in a mobile state can receive the service information of the first service.
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。在本申请的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation. The functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时, 可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including a number of instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
基于以上实施例,本申请实施例还提供一种IoT平台,所述IoT平台应用于如图1所示的系统,用于执行上述实施例中IoT平台的功能。参阅图8所示,IoT平台800可以包括:通信接口801、处理器802和存储器803。Based on the above embodiments, the embodiments of the present application also provide an IoT platform, which is applied to the system shown in FIG. 1 and is used to perform the functions of the IoT platform in the above embodiments. Referring to FIG. 8, the IoT platform 800 may include: a communication interface 801, a processor 802, and a memory 803.
其中,所述处理器802可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合等等。所述处理器802还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。所述处理器802在实现上述功能时,可以通过硬件实现,当然也可以通过硬件执行相应的软件实现。The processor 802 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP, and so on. The processor 802 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. When the processor 802 realizes the above functions, it can be realized by hardware, and of course, it can also be realized by hardware executing corresponding software.
所述通信接口801和所述处理器802之间相互连接。可选的,所述通信接口801和所述处理器802通过总线804相互连接;所述总线804可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication interface 801 and the processor 802 are connected to each other. Optionally, the communication interface 801 and the processor 802 are connected to each other through a bus 804; the bus 804 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure (Extended Industry Standard). Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in FIG. 8 to represent, but it does not mean that there is only one bus or one type of bus.
所述存储器803,与所述处理器802耦合,用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。所述处理器802执行所述存储器803所存放的应用程序,实现上述实施例中IoT平台的操作。The memory 803 is coupled with the processor 802, and is used for storing programs and the like. Specifically, the program may include program code, and the program code includes computer operation instructions. The processor 802 executes the application program stored in the memory 803 to implement the operation of the IoT platform in the foregoing embodiment.
具体的,所述IoT平台800在实现上述实施例中IoT平台的操作时,可以包括:Specifically, when the IoT platform 800 implements the operation of the IoT platform in the foregoing embodiment, it may include:
所述通信接口801,用于收发数据,以及与系统中的其他设备或装置进行通信交互;The communication interface 801 is used to send and receive data, and to communicate and interact with other equipment or devices in the system;
所述处理器802,用于执行所述存储器803中存储的程序,当所述程序被执行时,确定待处理第一业务的N个终端设备,并从N个终端设备中确定出支持近距离通信的P个目标终端设备,N个终端设备支持第一业务;以及,确定支持第一业务的M个中继设备,M个中继设备中每一中继设备的近距离通信覆盖范围与第一区域存在交集,第一区域至少覆盖P个目标终端设备;以及,控制所述通信接口801向M个中继设备发送第一消息,第一消息包括指示信息和第一业务的业务信息,指示信息用于指示通过近距离通信广播第一业务的业务信息;以及,向N个终端设备中除P个目标终端设备以外的终端设备发送第二消息,第二消息包括第一业务的业务信息。示例性地,所 述处理器802和所述通信接口801还可以执行上述方法实施例中IoT平台所执行的其它可能的操作,此处不再赘述。The processor 802 is configured to execute a program stored in the memory 803, and when the program is executed, determine N terminal devices to be processed for the first service, and determine from the N terminal devices that support short distance P target terminal devices for communication, N terminal devices support the first service; and M relay devices that support the first service are determined, and the NFC coverage of each relay device in the M relay devices is relative to the first service. There is an intersection in an area, and the first area covers at least P target terminal devices; and controlling the communication interface 801 to send a first message to M relay devices. The first message includes indication information and service information of the first service, indicating The information is used to indicate that the service information of the first service is broadcast through short-range communication; and, a second message is sent to terminal devices other than the P target terminal devices among the N terminal devices, and the second message includes the service information of the first service. Exemplarily, the processor 802 and the communication interface 801 may also perform other possible operations performed by the IoT platform in the foregoing method embodiment, and details are not described herein again.
基于以上实施例,本申请实施例还提供一种中继装置,该中继装置用于实现如上实施例中中继设备的方法或功能,该中继装置可以是如上实施例中的中继设备,也可以是集成在如上实施例中所述的中继设备中的装置或芯片。参阅图9所示,中继装置900可以包括:通信接口901、处理器902和存储器903。例如当中继设备为车辆时,中继装置可能是集成在车辆中的T-Box,或DC,或MDC,或OBU。Based on the above embodiments, an embodiment of the present application also provides a relay device, which is used to implement the method or function of the relay device in the above embodiment, and the relay device may be the relay device in the above embodiment It can also be a device or chip integrated in the relay device described in the above embodiment. Referring to FIG. 9, the relay device 900 may include: a communication interface 901, a processor 902, and a memory 903. For example, when the relay device is a vehicle, the relay device may be a T-Box, or DC, or MDC, or OBU integrated in the vehicle.
其中,所述处理器902可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合等等。所述处理器902还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。所述处理器902在实现上述功能时,可以通过硬件实现,当然也可以通过硬件执行相应的软件实现。The processor 902 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP, or the like. The processor 902 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. When the processor 902 realizes the above functions, it can be realized by hardware, and of course, it can also be realized by hardware executing corresponding software.
所述通信接口901和所述处理器902之间相互连接。可选的,所述通信接口901和所述处理器902通过总线904相互连接;所述总线904可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication interface 901 and the processor 902 are connected to each other. Optionally, the communication interface 901 and the processor 902 are connected to each other through a bus 904; the bus 904 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure (Extended Industry Standard). Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
所述存储器903,与所述处理器902耦合,用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。所述处理器902执行所述存储器903所存放的应用程序,实现上述实施例中中继设备的操作。The memory 903 is coupled with the processor 902, and is used for storing programs and the like. Specifically, the program may include program code, and the program code includes computer operation instructions. The processor 902 executes the application program stored in the memory 903 to implement the operation of the relay device in the foregoing embodiment.
具体的,所述中继装置900在实现上述实施例中中继设备的操作时,可以包括:Specifically, when the relay device 900 implements the operation of the relay device in the foregoing embodiment, it may include:
所述通信接口901,用于收发数据,以及与系统中的其他设备或装置进行通信交互;The communication interface 901 is used to send and receive data, and to communicate and interact with other equipment or devices in the system;
所述处理器902,用于执行所述存储器903中存储的程序,当所述程序被执行时,控制所述通信接口901接收IoT平台发送的第一消息,第一消息包括指示信息和第一业务的业务信息,指示信息用于指示中继设备通过近距离通信广播第一业务的业务信息;第一消息还包括P个目标终端设备中至少一个目标终端设备的位置信息和移动速度;以及,根据P个目标终端设备中至少一个终端设备的位置信息和移动速度,确定广播第一业务的业务信息的广播时间和广播次数;以及,根据广播时间和广播次数,控制所述通信接口901广播第一业务的业务信息。示例性地,所述处理器902和所述通信接口901还可以执行上述方法实施例中中继设备所执行的其它可能的操作,此处不再赘述。The processor 902 is configured to execute a program stored in the memory 903, and when the program is executed, it controls the communication interface 901 to receive a first message sent by the IoT platform. The first message includes instruction information and a first message. The service information of the service, the indication information is used to instruct the relay device to broadcast the service information of the first service through short-range communication; the first message also includes the location information and moving speed of at least one of the P target terminal devices; and, According to the location information and moving speed of at least one terminal device among the P target terminal devices, determine the broadcast time and broadcast times for broadcasting the service information of the first service; and, according to the broadcast time and broadcast times, control the communication interface 901 to broadcast the first Business information of a business. Exemplarily, the processor 902 and the communication interface 901 may also perform other possible operations performed by the relay device in the foregoing method embodiment, and details are not described herein again.
基于以上实施例,本申请实施例还提供了一种计算机存储介质,该存储介质中存 储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。Based on the above embodiments, the embodiments of the present application also provide a computer storage medium, the storage medium stores a software program, and when the software program is read and executed by one or more processors, any one or more of the above The method provided by the embodiment. The computer storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
基于以上实施例,本申请实施例还提供了一种芯片,该芯片包括处理器,用于实现上述任意一个或多个实施例所涉及的功能,例如获取或处理上述方法中所涉及的信息或者消息。可选地,所述芯片还包括存储器,所述存储器,用于处理器所执行必要的程序指令和数据。该芯片,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, the embodiments of the present application also provide a chip, which includes a processor, which is used to implement the functions involved in any one or more of the above embodiments, such as acquiring or processing the information involved in the above methods or news. Optionally, the chip further includes a memory, and the memory is used for necessary program instructions and data executed by the processor. The chip can be composed of a chip, or it can include a chip and other discrete devices.
在实现过程中,本实施例提供的方法中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the implementation process, each step in the method provided in this embodiment can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
可以理解,本申请实施例中的存储器或存储单元可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory or storage unit in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,DVD;还可以是半导体介质,例如,固态硬盘(solid state disk,SSD)。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on the computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted through the computer-readable storage medium. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server integrating one or more available media. The usable medium may be a magnetic medium, such as a floppy disk, a hard disk, and a magnetic tape; it may also be an optical medium, such as a DVD; it may also be a semiconductor medium, such as a solid state disk (SSD).
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个 数字信号处理器核,或任何其它类似的配置来实现。The various illustrative logic units and circuits described in the embodiments of this application can be implemented by general-purpose processors, digital signal processors, application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, Discrete gates or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions. The general-purpose processor may be a microprocessor, and optionally, the general-purpose processor may also be any traditional processor, controller, microcontroller, or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration achieve.
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于终端设备中。可选地,处理器和存储媒介也可以设置于终端设备中的不同的部件中。The steps of the method or algorithm described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. The software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or any other storage medium in the field. Exemplarily, the storage medium may be connected to the processor, so that the processor can read information from the storage medium, and can store and write information to the storage medium. Optionally, the storage medium may also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a terminal device. Optionally, the processor and the storage medium may also be arranged in different components in the terminal device.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
尽管结合具体特征对本申请实施例进行了描述,显而易见的,在不脱离本申请实施例的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请实施例的示例性说明,且视为已覆盖本申请实施例范围内的任意和所有修改、变化、组合或等同物。Although the embodiments of the present application have been described in combination with specific features, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the embodiments of the present application. Correspondingly, this specification and drawings are merely exemplary descriptions of the embodiments of the present application defined by the appended claims, and are deemed to cover any and all modifications, changes, combinations or equivalents within the scope of the embodiments of the present application.

Claims (21)

  1. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method includes:
    物联网IoT平台确定待处理第一业务的N个终端设备,并从所述N个终端设备中确定出支持近距离通信的P个目标终端设备,所述N个终端设备支持所述第一业务;The IoT platform determines N terminal devices to be processed for the first service, and determines from the N terminal devices P target terminal devices that support short-range communication, and the N terminal devices support the first service ;
    所述IoT平台确定支持所述第一业务的M个中继设备,所述M个中继设备中每一中继设备的近距离通信覆盖所述P个目标终端设备中的至少一个目标终端设备;The IoT platform determines M relay devices supporting the first service, and the short-range communication of each relay device in the M relay devices covers at least one target terminal device among the P target terminal devices ;
    所述IoT平台向所述M个中继设备发送第一消息,所述第一消息包括指示信息和第一业务的业务信息,所述指示信息用于指示通过近距离通信广播所述第一业务的业务信息;以及,所述IoT平台向所述N个终端设备中除所述P个目标终端设备以外的终端设备发送第二消息,所述第二消息包括所述第一业务的业务信息;The IoT platform sends a first message to the M relay devices, where the first message includes indication information and service information of the first service, and the indication information is used to instruct to broadcast the first service through short-range communication And, the IoT platform sends a second message to terminal devices other than the P target terminal devices among the N terminal devices, where the second message includes the business information of the first service;
    其中,N、M、P均为整数。Among them, N, M, and P are all integers.
  2. 根据权利要求1所述的方法,其特征在于,所述IoT平台确定所述N个终端设备,包括:The method of claim 1, wherein the IoT platform determining the N terminal devices comprises:
    所述IoT平台从应用服务器接收第三消息,所述第三消息包括所述第一区域的信息、第一业务的业务信息和目标终端类型,所述第一业务的业务信息包括所述第一业务的业务标识;The IoT platform receives a third message from an application server, where the third message includes the information of the first area, the service information of the first service and the target terminal type, and the service information of the first service includes the first Business identity of the business;
    所述IoT平台根据所述第一区域的信息,获取位于所述第一区域内的多个终端设备;The IoT platform obtains multiple terminal devices located in the first area according to the information of the first area;
    所述IoT平台获取所述多个终端设备支持的业务列表和所述多个终端设备的类型,并根据所述多个终端设备支持的业务列表和所述多个终端设备的类型,从所述多个终端设备中确定出所述N个终端设备,所述N个终端设备支持的业务列表包括所述第一业务的标识,所述N个终端设备中每一终端设备的类型与所述目标类型相匹配。The IoT platform obtains the service list supported by the multiple terminal devices and the types of the multiple terminal devices, and according to the service list supported by the multiple terminal devices and the types of the multiple terminal devices, from the The N terminal devices are determined from a plurality of terminal devices, the service list supported by the N terminal devices includes the identifier of the first service, the type of each terminal device in the N terminal devices and the target Match the type.
  3. 根据权利要求1所述的方法,其特征在于,所述IoT平台确定所述N个终端设备,包括:The method of claim 1, wherein the IoT platform determining the N terminal devices comprises:
    所述IoT平台从应用服务器接收第三消息,所述第三消息包括第一群组的标识和第一业务的业务信息,所述第一业务的业务信息包括所述第一业务的业务标识;The IoT platform receives a third message from an application server, where the third message includes the identifier of the first group and the service information of the first service, and the service information of the first service includes the service identifier of the first service;
    所述IoT平台获取属于所述第一群组的所述N个终端设备。The IoT platform obtains the N terminal devices belonging to the first group.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述IoT平台从所述N个终端设备中确定出支持近距离通信的P个目标终端设备,包括:The method according to any one of claims 1 to 3, wherein the IoT platform determines from the N terminal devices P target terminal devices that support short-range communication, comprising:
    所述IoT平台获取所述N个终端设备的通信能力信息,所述N个终端设备中包括第一终端设备,则所述第一终端设备的通信能力信息用于指示所述第一终端设备是否支持近距离通信,或者,指示所述第一终端设备的支持近距离通信的公共陆地移动网络PLMN列表;The IoT platform obtains the communication capability information of the N terminal devices, and the N terminal devices include the first terminal device, and the communication capability information of the first terminal device is used to indicate whether the first terminal device Supporting short-distance communication, or indicating the public land mobile network PLMN list of the first terminal device that supports short-distance communication;
    所述IoT平台根据所述N个终端设备的通信能力信息,从所述N个终端设备确定出所述P个目标终端设备;所述目标终端设备的通信能力信息指示所述目标终端设备支持近距离通信,或者,所述目标终端设备的支持近距离通信的PLMN列表包括所述目标终端设备接入的PLMN。The IoT platform determines the P target terminal devices from the N terminal devices according to the communication capability information of the N terminal devices; the communication capability information of the target terminal device indicates that the target terminal device supports proximity Distance communication, or, the list of PLMNs supporting short-distance communication of the target terminal device includes the PLMN accessed by the target terminal device.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述IoT平台确定所述M个中继设备,包括:The method according to any one of claims 1 to 4, wherein the IoT platform determining the M relay devices includes:
    所述IoT平台获取所述P个目标终端设备的移动标识,所述目标终端设备的移动标识用 于指示所述目标终端设备处于移动状态或处于静止状态;The IoT platform obtains the mobile identities of the P target terminal devices, and the mobile identities of the target terminal devices are used to indicate that the target terminal device is in a mobile state or in a stationary state;
    所述IoT平台若确定所述P个目标终端设备中包括M个处于静止状态的目标终端设备,则将所述M个处于静止状态的目标终端设备确定为所述M个中继设备。If the IoT platform determines that the P target terminal devices include M target terminal devices in a stationary state, then the M target terminal devices in a stationary state are determined as the M relay devices.
  6. 根据权利要求5所述的方法,其特征在于,所述指示信息还用于指示对所述第一业务的业务信息进行处理。The method according to claim 5, wherein the instruction information is further used to instruct to process the service information of the first service.
  7. 根据权利要求1至4所述的方法,其特征在于,所述方法还包括:The method according to claims 1 to 4, wherein the method further comprises:
    所述IoT平台根据所述第一区域的信息、至少一个终端设备的通信能力信息、所述至少一个终端设备支持的业务列表和所述至少一个终端设备的移动标识,从所述至少一个终端设备中确定出所述M个中继设备;所述至少一个终端设备为所述P个目标终端设备以外的终端设备;According to the information of the first area, the communication capability information of at least one terminal device, the list of services supported by the at least one terminal device, and the mobile identity of the at least one terminal device, the IoT platform obtains information from the at least one terminal device. The M relay devices are determined in, the at least one terminal device is a terminal device other than the P target terminal devices;
    其中,所述至少一个终端设备包括第二终端设备,所述第二终端设备的移动标识用于指示所述第二终端设备处于移动状态或处于静止状态;所述第二终端设备的通信能力信息用于指示所述第二终端设备是否支持近距离通信,或者,指示所述第二终端设备的支持近距离通信的PLMN列表;若所述第二终端设备支持所述近距离通信,则所述第二终端设备的通信能力信息包括所述第二终端设备的近距离通信覆盖范围;Wherein, the at least one terminal device includes a second terminal device, and the mobile identifier of the second terminal device is used to indicate that the second terminal device is in a mobile state or in a stationary state; the communication capability information of the second terminal device It is used to indicate whether the second terminal device supports near field communication, or indicates the PLMN list of the second terminal device that supports near field communication; if the second terminal device supports the near field communication, the The communication capability information of the second terminal device includes the NFC coverage area of the second terminal device;
    所述M个中继设备为处于静止状态的终端设备,所述M个中继设备支持的业务列表包括所述第一业务的标识。The M relay devices are terminal devices in a static state, and the service list supported by the M relay devices includes the identifier of the first service.
  8. 根据权利要求7所述的方法,其特征在于,所述IoT平台从所述至少一个终端设备中确定出所述M个中继设备之前,还包括:The method according to claim 7, wherein before the IoT platform determines the M relay devices from the at least one terminal device, the method further comprises:
    所述IoT平台确定所述P个目标终端设备中不包括处于静止状态的终端设备。The IoT platform determines that no terminal device in a stationary state is included in the P target terminal devices.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于:The method according to any one of claims 1 to 8, characterized in that:
    所述M个中继设备的近距离通信完全覆盖所述P个目标终端设备中处于移动状态的目标终端设备。The short-range communication of the M relay devices completely covers the target terminal devices in the moving state among the P target terminal devices.
  10. 根据权利要求9所述的方法,其特征在于,若所述M个中继设备的近距离通信未完全覆盖所述处于移动状态的目标终端设备,则所述第一消息中还包括所述处于移动状态的目标终端设备中至少一个目标终端设备的位置信息和移动速度。The method according to claim 9, wherein if the short-range communication of the M relay devices does not completely cover the target terminal device in a moving state, the first message further includes the Location information and moving speed of at least one of the target terminal devices in the moving state.
  11. 根据权利要求1至10中任一项所述的方法,其特征在于:The method according to any one of claims 1 to 10, characterized in that:
    所述第一消息为多播消息或单播消息;和/或,The first message is a multicast message or a unicast message; and/or,
    所述第二消息为单播消息。The second message is a unicast message.
  12. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method includes:
    中继设备接收IoT平台发送的第一消息,所述第一消息包括指示信息和所述第一业务的业务信息,所述指示信息用于指示通过近距离通信广播所述第一业务的业务信息;所述第一消息还包括所述P个目标终端设备中至少一个目标终端设备的位置信息和移动速度;The relay device receives a first message sent by the IoT platform, where the first message includes indication information and service information of the first service, and the indication information is used to instruct to broadcast the service information of the first service through short-range communication The first message also includes location information and moving speed of at least one target terminal device in the P target terminal devices;
    所述中继设备根据所述P个目标终端设备中至少一个终端设备的位置信息和移动速度,确定广播所述第一业务的业务信息的广播时间和广播次数;The relay device determines the broadcast time and the number of broadcasts for broadcasting the service information of the first service according to the location information and the moving speed of at least one terminal device among the P target terminal devices;
    所述中继设备根据所述广播时间和所述广播次数,广播所述第一业务的业务信息。The relay device broadcasts the service information of the first service according to the broadcast time and the number of broadcasts.
  13. 根据权利要求12所述的方法,其特征在于,所述第一消息包括所述P个目标终端设备中每一目标终端设备的位置信息和移动速度;The method according to claim 12, wherein the first message includes location information and moving speed of each target terminal device in the P target terminal devices;
    所述中继设备根据所述P个目标终端设备的位置信息和移动速度,确定广播所述第一 业务的业务信息的广播时间和广播次数,包括:The relay device determining the broadcast time and the number of broadcasts for broadcasting the service information of the first service according to the location information and moving speed of the P target terminal devices includes:
    所述中继设备根据所述P个目标终端设备中每一目标终端设备的位置信息,确定距离所述中继设备最远的第三终端设备,并根据所述第三终端设备的位置信息和移动速度,确定广播所述第一业务的业务信息的广播时间和广播次数。The relay device determines the third terminal device furthest from the relay device according to the location information of each of the P target terminal devices, and according to the location information of the third terminal device and The moving speed determines the broadcasting time and broadcasting times of broadcasting the service information of the first service.
  14. 根据权利要求13所述的方法,其特征在于,所述第一消息包括所述P个目标终端设备中的第三终端设备的位置信息和移动速度;所述第三终端设备为所述P个目标终端设备中距离所述中继设备最远的目标终端设备;The method according to claim 13, wherein the first message includes position information and moving speed of a third terminal device among the P target terminal devices; the third terminal device is the P target terminal devices. The target terminal device that is the farthest from the relay device among target terminal devices;
    所述中继设备根据所述P个目标终端设备中至少一个终端设备的位置信息和移动速度,确定广播所述第一业务的业务信息的广播时间和广播次数,包括:The relay device determines the broadcast time and the number of broadcasts for broadcasting the service information of the first service according to the location information and the moving speed of at least one terminal device among the P target terminal devices, including:
    所述中继设备根据所述第三终端设备的位置信息和移动速度,确定广播所述第一业务的业务信息的广播时间和广播次数。The relay device determines the broadcast time and the number of broadcasts for broadcasting the service information of the first service according to the location information and the moving speed of the third terminal device.
  15. 一种装置,其特征在于,所述装置包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的指令,当所述指令被运行时,使得所述装置执行如权利要求1至11中任一项所述的方法。A device, characterized in that the device includes a processor, a memory, and instructions stored on the memory and executable on the processor, and when the instructions are executed, the device executes The method of any one of claims 1 to 11.
  16. 一种装置,其特征在于,所述装置包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的指令,当所述指令被运行时,使得所述装置执行如权利要求12至14中任一项所述的方法。A device, characterized in that the device includes a processor, a memory, and instructions stored on the memory and executable on the processor, and when the instructions are executed, the device executes The method of any one of claims 12 to 14.
  17. 一种IoT平台,其特征在于,包括如权利要求15所述的装置。An IoT platform, characterized by comprising the device according to claim 15.
  18. 一种中继设备,其特征在于,包括如权利要求16所述的装置。A relay device, characterized by comprising the device according to claim 16.
  19. 一种通信系统,其特征在于,包括如权利要求17所述的IoT平台、一个或多个如权利要求18所述的中继设备。A communication system, characterized by comprising the IoT platform according to claim 17 and one or more relay devices according to claim 18.
  20. 一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至14任一项所述的方法。A computer-readable storage medium, characterized by comprising instructions, which when run on a computer, causes the computer to execute the method according to any one of claims 1 to 14.
  21. 一种计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行权利要求1至14任一项所述的方法。A computer program product, characterized in that, when it runs on a computer, it causes the computer to execute the method according to any one of claims 1 to 14.
PCT/CN2020/097876 2019-06-28 2020-06-24 Communication method and apparatus WO2020259525A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910580529.8A CN112153558B (en) 2019-06-28 2019-06-28 Communication method and device
CN201910580529.8 2019-06-28

Publications (1)

Publication Number Publication Date
WO2020259525A1 true WO2020259525A1 (en) 2020-12-30

Family

ID=73891251

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/097876 WO2020259525A1 (en) 2019-06-28 2020-06-24 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN112153558B (en)
WO (1) WO2020259525A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379562A (en) * 2022-10-25 2022-11-22 杭州华橙软件技术有限公司 Method and device for determining network supply position, storage medium and electronic device
CN116390194A (en) * 2023-06-01 2023-07-04 上海星思半导体有限责任公司 Access policy selection method, state information sending method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193376B (en) * 2021-10-15 2023-12-29 华为技术有限公司 Communication method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327558A (en) * 2012-03-23 2013-09-25 北京新岸线移动多媒体技术有限公司 Vehicular communication method and communication node
CN105282257A (en) * 2015-11-05 2016-01-27 东莞酷派软件技术有限公司 Data transmission method and data transmission device for vehicle communication, terminal and road side unit
CN106559443A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 The system of selection of car networking V2X service transmission path and device
CN109474897A (en) * 2019-01-10 2019-03-15 厦门大学 Car networking security message single-hop cooperation broadcasting method based on hidden Markov model
WO2019064986A1 (en) * 2017-09-29 2019-04-04 ソニー株式会社 Communication device and communication method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379469B (en) * 2012-04-13 2016-08-03 华为技术有限公司 The closely register method of information, querying method and subscriber equipment
US10477460B2 (en) * 2014-09-19 2019-11-12 Samsung Electronics Co., Ltd. Communication method and apparatus in wireless communication system supporting D2D communication
ES2794566T3 (en) * 2015-08-07 2020-11-18 Samsung Electronics Co Ltd Terminal and its communication procedure
US10257677B2 (en) * 2015-10-16 2019-04-09 Qualcomm Incorporated System and method for device-to-device communication with evolved machine type communication
CN106251660A (en) * 2016-07-09 2016-12-21 南通大学 Traffic safety message fusion method in a kind of car networking
CN108809897A (en) * 2017-04-28 2018-11-13 中兴通讯股份有限公司 A kind of relaying is found and relay transfer method, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327558A (en) * 2012-03-23 2013-09-25 北京新岸线移动多媒体技术有限公司 Vehicular communication method and communication node
CN106559443A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 The system of selection of car networking V2X service transmission path and device
CN105282257A (en) * 2015-11-05 2016-01-27 东莞酷派软件技术有限公司 Data transmission method and data transmission device for vehicle communication, terminal and road side unit
WO2019064986A1 (en) * 2017-09-29 2019-04-04 ソニー株式会社 Communication device and communication method
CN109474897A (en) * 2019-01-10 2019-03-15 厦门大学 Car networking security message single-hop cooperation broadcasting method based on hidden Markov model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP: ""3rd Generation Partnership Project; Technical Specification Group Radio Access Network; V2X Services based on LTE sidelink; User Equipment (UE) radio transmission and reception (Release 14)"", 3GPP TR 36.786 V0.1.1 (2016-11), 17 November 2016 (2016-11-17), DOI: 20200826121203A *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379562A (en) * 2022-10-25 2022-11-22 杭州华橙软件技术有限公司 Method and device for determining network supply position, storage medium and electronic device
CN115379562B (en) * 2022-10-25 2023-02-28 杭州华橙软件技术有限公司 Method and device for determining network supply position, storage medium and electronic device
CN116390194A (en) * 2023-06-01 2023-07-04 上海星思半导体有限责任公司 Access policy selection method, state information sending method and device
CN116390194B (en) * 2023-06-01 2023-10-27 上海星思半导体有限责任公司 Access policy selection method, state information sending method and device

Also Published As

Publication number Publication date
CN112153558A (en) 2020-12-29
CN112153558B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
EP3552071B1 (en) System and method for routing and reorganization of a vehicle platoon in a smart city
Abboud et al. Interworking of DSRC and cellular network technologies for V2X communications: A survey
US11228869B2 (en) Roadway communication system with multicast
WO2020259525A1 (en) Communication method and apparatus
WO2018171712A1 (en) Method for establishing and updating vehicle group, apparatus and device thereof, and storage medium
WO2021017723A1 (en) Cooperative vehicle-infrastructure method and device
Filippi et al. Ready to roll: Why 802.11 p beats LTE and 5G for V2x
US11375344B2 (en) Vehicle to everything object exchange system
Napolitano et al. Implementation of a MEC-based vulnerable road user warning system
WO2017190279A1 (en) Certificate notification method and device
US11810407B2 (en) Selecting V2X communications interface
JP2021507424A (en) Target vehicle selection and message delivery in the vehicle system
WO2019104857A1 (en) Message multicast and message broadcast method and device
US20200327806A1 (en) Connected vehicle platform assisted v2x communications
WO2019223639A1 (en) Wireless communication method and device
CN109243191A (en) Information-pushing method and device
TW202135545A (en) Proximity determination to a geo-fence
EP3912326A1 (en) Vehicle-to-vehicle and vehicle-to-network communication
US11170640B2 (en) Method and apparatus for bridging and optimizing V2X networks
TW202143751A (en) Application layer safety message with geo-fence information
Gaur et al. VANET System for Vehicular Security Applications
WO2018068320A1 (en) Communication method and device, and communication system
US20230027290A1 (en) V2x communication method and apparatus
JP2024514861A (en) COMMUNICATION METHODS AND APPARATUS AND RELATED DEVICES
US11368826B2 (en) Method and apparatus for bridging and optimizing V2X networks in vehicles

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: 20832326

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: 20832326

Country of ref document: EP

Kind code of ref document: A1