CN113810857B - Beacon message processing method and system - Google Patents
Beacon message processing method and system Download PDFInfo
- Publication number
- CN113810857B CN113810857B CN202010544418.4A CN202010544418A CN113810857B CN 113810857 B CN113810857 B CN 113810857B CN 202010544418 A CN202010544418 A CN 202010544418A CN 113810857 B CN113810857 B CN 113810857B
- Authority
- CN
- China
- Prior art keywords
- beacon
- mobile device
- data
- message
- party service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例公开了一种系统,包括:移动设备接收来自信标设备的信标消息,所述信标消息包括所述目标信标标识;基于所述信标消息,获取信标数据;向所述服务器发送所述目标信标标识和所述信标数据;所述服务器若确定所述信标数据满足预设条件,则基于所述目标信标标识,调用对应的第三方服务。本申请可以在服务器上进行预设条件的配置,由于判断是否满足预设条件的行为不是移动设备侧来执行的,移动设备的APP并不需要感知预设条件需要进行怎样的修改,当预设条件需要修改时,只需要服务器进行相应的修改即可,大大降低了整个过程的耗时。
An embodiment of the present application discloses a system, which includes: a mobile device receives a beacon message from a beacon device, where the beacon message includes the target beacon identification; based on the beacon message, obtains beacon data; The server sends the target beacon identification and the beacon data; if the server determines that the beacon data meets the preset conditions, it calls the corresponding third-party service based on the target beacon identification. This application can configure the preset conditions on the server. Since the behavior of determining whether the preset conditions are met is not performed on the mobile device side, the APP of the mobile device does not need to sense how the preset conditions need to be modified. When the preset conditions are When the conditions need to be modified, the server only needs to make corresponding modifications, which greatly reduces the time-consuming of the entire process.
Description
技术领域Technical field
本申请涉及计算机领域,尤其涉及一种信标消息处理方法以及系统。The present application relates to the field of computers, and in particular, to a beacon message processing method and system.
背景技术Background technique
信标设备是一种周期性向邻近区域广播信标消息的设备,它所发送的信标消息被可以 被智能手机或其他支持蓝牙的移动设备所获取。信标设备一般采用电池供电,部署在室内, 用于向周围的移动设备广播信标消息。广播的范围由信标设备的硬件能力决定,一般在100 米以内。安装有读取信标消息能力的的移动设备,会根据所接收到的信标消息,采取相应 的动作,为移动设备所有者提供对应的服务。A beacon device is a device that periodically broadcasts beacon messages to nearby areas. The beacon messages it sends can be acquired by smartphones or other mobile devices that support Bluetooth. Beacon devices are generally battery-powered and deployed indoors to broadcast beacon messages to surrounding mobile devices. The broadcast range is determined by the hardware capabilities of the beacon device, and is generally within 100 meters. A mobile device installed with the ability to read beacon messages will take corresponding actions based on the beacon messages received to provide corresponding services to the owner of the mobile device.
在一种场景中,移动设备获取到周边的信标广播的信标消息时,可以上报它所扫描到 的信标标识到云服务器,云服务其可以返回对应的消息附件,移动设备可以根据消息附件 以及预定义的程序逻辑,决定下一步的行为,例如触发消息附件对应的呈现,或者调用第三方服务。然而,移动设备需要在接收到消息附件之后,再进行第三方服务的调用,会造 成一定业务时延。In one scenario, when a mobile device obtains a beacon message broadcast by a surrounding beacon, it can report the beacon identification it scanned to the cloud server. The cloud service can return the corresponding message attachment, and the mobile device can according to the message Attachments and predefined program logic determine the next step, such as triggering the rendering of message attachments or calling third-party services. However, the mobile device needs to receive the message attachment before calling the third-party service, which will cause a certain business delay.
发明内容Contents of the invention
第一方面,本申请提供了一种系统,所述系统包括:In a first aspect, this application provides a system, which includes:
移动设备,被配置为接收来自信标设备的信标消息,所述信标消息包括目标信标标识。The mobile device is configured to receive a beacon message from the beacon device, where the beacon message includes a target beacon identification.
本实施例中,移动设备可以周期性的执行扫描,以发现来自邻近于移动设备位置处的 信标设备的信标消息,该信标消息包括目标信标标识。如本文所用,“邻近”指的是移动 设备在物理上足够靠近信标设备以接收信标设备发送的射频(radio frequency,RF)信号。 例如,移动设备上的无线收发器可发起短程扫描以发现RF信号,诸如BLE RF信号、近场通信RF信号以及超声波信号。In this embodiment, the mobile device may periodically perform scanning to discover beacon messages from beacon devices adjacent to the location of the mobile device, where the beacon messages include a target beacon identification. As used herein, "proximity" refers to a mobile device being physically close enough to a beacon device to receive a radio frequency (RF) signal transmitted by the beacon device. For example, a wireless transceiver on a mobile device may initiate a short-range scan to discover RF signals, such as BLE RF signals, near field communication RF signals, and ultrasonic signals.
基于所述信标消息,获取信标数据,其中所述信标数据包括如下的至少一种:所述移 动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时间;Based on the beacon message, beacon data is obtained, wherein the beacon data includes at least one of the following: the distance between the mobile device and the beacon device, and the mobile device receiving the beacon the time of the message;
具体的,移动设备可基于接收到的信标消息的信号强度值,来获取移动设备与所述信 标设备之间的距离信息,其中,所述距离信息可以包括如下的至少一种:所述移动设备与 所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距离值的变化信息。移动设备与所述信标设备之间的距离值的变化信息可以包括移动设备与所述信标设备之间 的距离值的变化信息距离的变化趋势,例如由远到近、由近到远等等。Specifically, the mobile device may obtain the distance information between the mobile device and the beacon device based on the signal strength value of the received beacon message, where the distance information may include at least one of the following: The distance value between the mobile device and the beacon device, and the change information of the distance value between the mobile device and the beacon device. The change information of the distance value between the mobile device and the beacon device may include the change information of the distance value between the mobile device and the beacon device. The change trend of the distance, for example, from far to near, from near to far, etc. wait.
具体的,所述时间信息可以包括如下的至少一种:所述移动设备接收到所述信标消息 的时间、所述移动设备在所述信标设备的信号覆盖区域内的时间。其中,时间信息可以包 括App使用者扫描到信标设备的时间、App使用者在信标设备周围的逗留时间等等。Specifically, the time information may include at least one of the following: the time when the mobile device receives the beacon message, and the time when the mobile device is within the signal coverage area of the beacon device. The time information may include the time the App user scanned the beacon device, the time the App user stayed around the beacon device, etc.
向所述服务器发送所述目标信标标识和所述信标数据;以及,Send the target beacon identification and the beacon data to the server; and,
所述服务器,被配置为若确定所述信标数据满足预设条件,则基于所述目标信标标识, 调用对应的第三方服务。The server is configured to call the corresponding third-party service based on the target beacon identification if it is determined that the beacon data satisfies the preset condition.
当移动设备上的应用程序扫描到附近的信标设备时,可以向服务器(信标云服务平台) 发送获取信标消息附件的请求,该请求中可以携带目标信标标识和信标数据。服务器可以 在信标数据满足预设条件的情况下,基于所述目标信标标识,调用对应的第三方服务。When the application on the mobile device scans a nearby beacon device, it can send a request to the server (beacon cloud service platform) to obtain the beacon message attachment. The request can carry the target beacon identification and beacon data. The server can call the corresponding third-party service based on the target beacon identification when the beacon data meets the preset conditions.
在一种实现中,移动设备可以基于移动设备的系统服务来接收来自信标设备的信标消 息,此时,第三方服务,可以是指第三方应用(application,APP)提供的服务。比如,移动设备中可以支持一个或多个应用,其中部分应用可能是由第三方(非移动设备的生产方)提 供的应用。第三方应用可以不预装在终端中,而需要移动设备从网络侧下载。移动设备运 行这些应用时,可以与该应用对应的第三方服务器通信,该第三方服务器可以提供第三方服务。以移动设备的生产方是华为,微信的提供方的腾讯为例,移动设备中安装微信后,当移动设备运行微信时,可以与微信对应的服务器(即第三方服务器)通信。In one implementation, the mobile device can receive the beacon message from the beacon device based on the system service of the mobile device. At this time, the third-party service may refer to the service provided by a third-party application (application, APP). For example, a mobile device may support one or more applications, some of which may be applications provided by third parties (non-mobile device manufacturers). Third-party applications do not need to be pre-installed in the terminal, but need to be downloaded from the network side by the mobile device. When mobile devices run these applications, they can communicate with the third-party server corresponding to the application, and the third-party server can provide third-party services. Taking Huawei as the manufacturer of mobile devices and Tencent as the provider of WeChat as an example, after WeChat is installed on the mobile device, when the mobile device runs WeChat, it can communicate with the server corresponding to WeChat (that is, a third-party server).
需要说明的是,在一些实现中,基于移动设备的生产方和某些应用的开发者之间签订 了协议,该类应用可以预装在终端中,在这种情况下,调用该类应用提供的服务仍可以理 解为服务器在调用第三方服务。It should be noted that in some implementations, an agreement is signed between mobile device producers and developers of certain applications. Such applications can be pre-installed in the terminal. In this case, calling the application provided by such applications The service can still be understood as the server calling a third-party service.
在一种实现中,服务器侧与信标数据处理相关的服务可以为某一厂家提供的,此时非 该厂家提供的服务,都可以理解为第三方服务。In one implementation, services related to beacon data processing on the server side can be provided by a certain manufacturer. At this time, services not provided by the manufacturer can be understood as third-party services.
在一种实现中,移动设备可以基于第二应用来接收来自信标设备的信标消息,所述第 三方服务为第一应用提供的服务,所述第一应用和所述第二应用不同,即接收到信标消息 的应用和提供第三方服务的应用为不同的应用。In one implementation, the mobile device can receive a beacon message from a beacon device based on a second application, the third-party service is a service provided by a first application, and the first application and the second application are different, That is, the application that receives the beacon message and the application that provides third-party services are different applications.
本申请实施例中,在触发调用第三方服务的过程中,在服务器上增加了触发的预设条 件,包括但不限于所述移动设备与所述信标设备之间的距离,或和所述移动设备接收所述 信标消息的时间等满足预设条件。移动设备的应用程序扫描到特定信标消息时,会将相关的信标数据发送至服务器,服务器可以基于信标数据进行规则判断,如果满足预设条件才 调用第三方服务。这样的好处是,由服务器而非移动设备进行是否触发第三方服务的调用 的判断动作,可以减少移动设备的处理步骤,且可以在服务器上进行预设条件的配置和修 改,由于判断是否满足预设条件的行为不是移动设备侧来执行的,APP并不需要感知预设 条件需要进行怎样的修改,当预设条件需要修改时,只需要服务器进行相应的修改即可, 大大降低了整个过程的耗时。当应用APP开发者需要修改上述预设条件需要修改时,不需 要修改App的业务逻辑,也就不需要重新在应用市场上发布App,不需要让用户升级App,直接在服务器侧修改预设条件即可,大大降低了整个过程的耗时。In the embodiment of the present application, in the process of triggering the call of third-party services, preset conditions for triggering are added to the server, including but not limited to the distance between the mobile device and the beacon device, or the distance between the mobile device and the beacon device, or the distance between the mobile device and the beacon device. The time at which the mobile device receives the beacon message satisfies preset conditions. When the mobile device application scans a specific beacon message, it will send the relevant beacon data to the server. The server can make rule judgments based on the beacon data and only call third-party services if the preset conditions are met. The advantage of this is that the server rather than the mobile device performs the judgment action of whether to trigger the call of the third-party service, which can reduce the processing steps of the mobile device, and the preset conditions can be configured and modified on the server. Since it is judged whether the preset conditions are met, The behavior of setting conditions is not performed by the mobile device side. The APP does not need to sense how the preset conditions need to be modified. When the preset conditions need to be modified, the server only needs to make corresponding modifications, which greatly reduces the time required for the entire process. time consuming. When the application developer needs to modify the above preset conditions, there is no need to modify the business logic of the App, and there is no need to re-publish the App on the application market, and there is no need to let users upgrade the App. The preset conditions can be modified directly on the server side. That’s it, greatly reducing the time-consuming process of the entire process.
在一种可选的实现中,所述第三方服务为第一应用提供的服务,所述移动设备,被配 置为基于第二应用来接收来自信标设备的信标消息;或,所述第三方服务为第一应用提供 的服务,所述移动设备,被配置为基于自身的服务进程来接收来自信标设备的信标消息。In an optional implementation, the third-party service is a service provided by a first application, and the mobile device is configured to receive a beacon message from a beacon device based on the second application; or, the third application The third-party service is a service provided by the first application. The mobile device is configured to receive beacon messages from the beacon device based on its own service process.
在一种可选的实现中,所述服务器,被配置为基于预先配置的映射关系,确定所述目 标信标标识对应的第三方服务;其中,所述映射关系包括多个信标标识以及每个信标标识 对应的第三方服务。In an optional implementation, the server is configured to determine the third-party service corresponding to the target beacon identification based on a preconfigured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and each A beacon identifies the corresponding third-party service.
本申请实施例中,所述服务器可以基于预先配置的映射关系,确定所述目标信标标识 对应的第三方服务;其中,所述映射关系包括多个信标标识以及每个信标标识对应的第三 方服务。其中,映射关系可以为应用程序开发者预先在服务器上配置的。In this embodiment of the present application, the server may determine the third-party service corresponding to the target beacon identification based on a pre-configured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and a corresponding number corresponding to each beacon identification. Third Party Services. Among them, the mapping relationship can be pre-configured on the server by the application developer.
在一种可选的实现中,所述信标数据包括指示所述移动设备与所述信标设备之间的距 离的信息,所述预设条件至少包括如下的一种:In an optional implementation, the beacon data includes information indicating the distance between the mobile device and the beacon device, and the preset condition includes at least one of the following:
所述移动设备与所述信标设备之间的距离值在预设范围内;The distance value between the mobile device and the beacon device is within a preset range;
所述移动设备与所述信标设备之间的距离值由大变小;和,The distance value between the mobile device and the beacon device changes from large to small; and,
所述移动设备与所述信标设备之间的距离值由小变大。The distance value between the mobile device and the beacon device changes from small to large.
在一种可选的实现中,所述信标数据包括指示所述移动设备接收所述信标消息的时间 的信息;In an optional implementation, the beacon data includes information indicating the time at which the mobile device receives the beacon message;
所述预设条件至少包括如下的一种:The preset conditions include at least one of the following:
所述移动设备接收到所述信标消息的时间在预设范围内;和,The time when the mobile device receives the beacon message is within a preset range; and,
所述移动设备在所述信标设备的信号覆盖区域内的时间在预设范围内。The time the mobile device is within the signal coverage area of the beacon device is within a preset range.
在一种可选的实现中,所述服务器,被配置为向所述第三方服务所在的地址发送目标 消息,例如,第三方服务可以是邮箱地址,该邮箱地址与第三方服务有关,第三方服务可 以基于接收到的目标消息提供相应的第三方服务,所述目标消息为基于所述目标信标标识和/或信标数据生成的,该目标消息与要调用的第三方服务有关,具体的,目标消息为调用 第三方服务所需要的数据。In an optional implementation, the server is configured to send the target message to the address where the third-party service is located. For example, the third-party service can be an email address, and the email address is related to the third-party service. The service may provide corresponding third-party services based on the received target message, which is generated based on the target beacon identification and/or beacon data, and the target message is related to the third-party service to be called, specifically , the target message is the data required to call the third-party service.
在一种可选的实现中,所述服务器,被配置为调用所述第三方服务对应的RESTful应 用编程接口API。In an optional implementation, the server is configured to call the RESTful application programming interface API corresponding to the third-party service.
在一种实现中,映射关系中的第三方服务可以为应用编程接口API,则,所述服务器 可以调用所述第三方服务对应的应用编程接口API。例如,该API可以为RESTful API,服务器可以使用开发者预先配置好的RESTful地址,调用第三方服务。该第三方服务可以部署于开发者另行部署的服务器,也可以为部署的serverless函数。例如,在一种实现中,服务器侧的信标数据处理服务是某一厂家提供的,且该信标数据处理服务位于A服务器,该A服务器上同时部署了实现另一个服务器的serverless函数,在这种情况下,服务器侧调用该serverless函数对应服务也可以理解为调用第三方服务。In one implementation, the third-party service in the mapping relationship may be an application programming interface API, then the server may call the application programming interface API corresponding to the third-party service. For example, the API can be a RESTful API, and the server can use the RESTful address pre-configured by the developer to call third-party services. The third-party service can be deployed on a server deployed separately by the developer, or it can be a deployed serverless function. For example, in one implementation, the beacon data processing service on the server side is provided by a certain manufacturer, and the beacon data processing service is located on server A. Server A is also deployed with a serverless function that implements another server. In this case, calling the service corresponding to the serverless function on the server side can also be understood as calling a third-party service.
在一种可选的实现中,所述服务器,被配置为向所述第三方服务所在的地址发起基于 远程过程调用协议RPC的调用。In an optional implementation, the server is configured to initiate a call based on the remote procedure call protocol RPC to the address where the third-party service is located.
在一种可选的实现中,所述服务器,被配置为基于所述目标信标标识,确定对应的第 三方服务;基于所述信标数据,调用所述第三方服务。In an optional implementation, the server is configured to determine the corresponding third-party service based on the target beacon identification; and call the third-party service based on the beacon data.
在一种实现中,服务器可以将这些信标数据作为输入参数,传递至第三方服务。在一 种实现中,服务器可以对信标数据进行处理(例如数学上的统计或者其他处理),并将处理结果作为输入参数,传递至第三方服务,等等。In one implementation, the server can pass these beacon data as input parameters to the third-party service. In one implementation, the server can process the beacon data (such as mathematical statistics or other processing), and pass the processing results as input parameters to third-party services, etc.
在一种可选的实现中,所述服务器,被配置为接收来自所述第三方服务的回复数据; 向所述移动设备发送所述回复数据;相应的,所述移动设备,被配置为触发所述回复数据 相对应的呈现。In an optional implementation, the server is configured to receive reply data from the third-party service; send the reply data to the mobile device; correspondingly, the mobile device is configured to trigger The reply data is presented accordingly.
在一种可选的实现中,所述移动设备,被配置为接收来自所述第三方服务的回复数据; 触发所述回复数据相对应的呈现。In an optional implementation, the mobile device is configured to receive reply data from the third-party service; and trigger presentation corresponding to the reply data.
本申请实施例中,若所述服务器确定所述信标数据满足预设条件,则基于所述目标信 标标识,调用对应的第三方服务。可选的,第三方服务可以向服务器发送回复数据,所述 服务器,可以接收来自所述第三方服务的回复数据,并向所述移动设备发送所述回复数据;相应的,所述移动设备可以触发所述回复数据相对应的呈现。In this embodiment of the present application, if the server determines that the beacon data meets the preset conditions, it calls the corresponding third-party service based on the target beacon identification. Optionally, the third-party service can send reply data to the server, and the server can receive the reply data from the third-party service and send the reply data to the mobile device; accordingly, the mobile device can Trigger the corresponding presentation of the reply data.
可选的,第三方服务可以直接向所述移动设备发送所述回复数据;相应的,所述移动 设备可以触发所述回复数据相对应的呈现。数据的呈现方式可以不局限于使数据显示在移 动设备的屏幕上。在一些具体实施中,呈现消息数据可包括提供一个或多个通知。消息数据的呈现可包括力反馈(例如,振动指示)、音频输出(例如,嘟嘟响、音乐等)、视觉输出(例 如,闪光),或它们的组合。在一些具体实施中,消息数据可包括任何内容,包括但不限于 文本、图形、数字图像、音频、视频和动画。消息数据可以音频输出的形式呈现在移动设备上,以与不具有显示能力的移动设备协作。在一些具体实施中,呈现消息数据可包括检索对应于消息数据中所包括的一个或多个值的内容;以及使该内容显示在屏幕上。Optionally, the third-party service can directly send the reply data to the mobile device; accordingly, the mobile device can trigger the corresponding presentation of the reply data. The presentation of data may not be limited to having the data displayed on the screen of a mobile device. In some implementations, presenting message data may include providing one or more notifications. The presentation of message data may include force feedback (e.g., vibration indication), audio output (e.g., beeps, music, etc.), visual output (e.g., flash), or a combination thereof. In some implementations, message data may include any content, including but not limited to text, graphics, digital images, audio, video, and animation. Message data can be presented on the mobile device in the form of audio output to collaborate with mobile devices that do not have display capabilities. In some implementations, presenting the message data may include retrieving content corresponding to one or more values included in the message data; and causing the content to be displayed on the screen.
在一种可选的实现中,所述服务器,被配置为接收条件修改信息,所述条件修改信息 指示将所述预设条件修改为新的条件;基于所述条件修改信息修改所述预设条件。In an optional implementation, the server is configured to receive condition modification information indicating that the preset condition is modified to a new condition; the preset condition is modified based on the condition modification information. condition.
第二方面,本申请提供了一种系统,所述系统包括:移动设备,被配置为接收来自信 标设备的目标信标标识;向服务器发送所述目标信标标识;以及,所述服务器,被配置为基于所述目标信标标识,调用对应的第三方服务。In a second aspect, the present application provides a system, which includes: a mobile device configured to receive a target beacon identification from a beacon device; sending the target beacon identification to a server; and, the server, Configured to call the corresponding third-party service based on the target beacon identification.
在一种可选的实现中,所述服务器,被配置为基于预先配置的映射关系,确定所述目 标信标标识对应的第三方服务;其中,所述映射关系包括多个信标标识以及每个信标标识 对应的第三方服务。In an optional implementation, the server is configured to determine the third-party service corresponding to the target beacon identification based on a preconfigured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and each A beacon identifies the corresponding third-party service.
在一种可选的实现中,所述第三方服务为第一应用提供的服务,所述移动设备,被配 置为基于第二应用来接收来自信标设备的目标信标标识;或,In an optional implementation, the third-party service is a service provided by the first application, and the mobile device is configured to receive the target beacon identification from the beacon device based on the second application; or,
所述第三方服务为第一应用提供的服务,所述移动设备,被配置为基于自身的服务进 程来接收来自信标设备的目标信标标识。The third-party service is a service provided by the first application, and the mobile device is configured to receive the target beacon identification from the beacon device based on its own service process.
在一种可选的实现中,所述服务器,被配置为向所述第三方服务所在的地址发送目标 消息,所述目标消息为基于所述信标标识生成的。In an optional implementation, the server is configured to send a target message to the address where the third-party service is located, where the target message is generated based on the beacon identification.
在一种可选的实现中,所述服务器,被配置为调用所述第三方服务对应的应用编程接 口API。In an optional implementation, the server is configured to call an application programming interface API corresponding to the third-party service.
在一种可选的实现中,所述服务器,被配置为向所述第三方服务所在的地址发起基于 远程过程调用协议RPC的调用。In an optional implementation, the server is configured to initiate a call based on the remote procedure call protocol RPC to the address where the third-party service is located.
在一种可选的实现中,所述移动设备,被配置为接收来自信标设备的信标消息,所述 信标消息包括所述目标信标标识;基于所述信标消息,获取信标数据,其中所述信标数据 包括如下的至少一种:In an optional implementation, the mobile device is configured to receive a beacon message from a beacon device, where the beacon message includes the target beacon identification; based on the beacon message, obtain the beacon Data, wherein the beacon data includes at least one of the following:
所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时 间、或所述移动设备的身份标识;The distance between the mobile device and the beacon device, the time when the mobile device receives the beacon message, or the identity of the mobile device;
向所述服务器发送所述目标信标标识和所述信标数据;Send the target beacon identification and the beacon data to the server;
相应的,所述服务器,被配置为基于所述目标信标标识和所述信标数据,调用对应的 第三方服务。Correspondingly, the server is configured to call the corresponding third-party service based on the target beacon identification and the beacon data.
在一种可选的实现中,所述服务器,被配置为基于所述目标信标标识,确定对应的第 三方服务;基于所述信标数据,调用所述第三方服务。In an optional implementation, the server is configured to determine the corresponding third-party service based on the target beacon identification; and call the third-party service based on the beacon data.
在一种可选的实现中,所述服务器,被配置为接收来自所述第三方服务的回复数据; 向所述移动设备发送所述回复数据;相应的,所述移动设备,被配置为触发所述回复数据 相对应的呈现。In an optional implementation, the server is configured to receive reply data from the third-party service; send the reply data to the mobile device; correspondingly, the mobile device is configured to trigger The reply data is presented accordingly.
在一种可选的实现中,所述移动设备,被配置为接收来自所述第三方服务的回复数据; 触发所述回复数据相对应的呈现。In an optional implementation, the mobile device is configured to receive reply data from the third-party service; and trigger presentation corresponding to the reply data.
在一种可选的实现中,所述方法还包括接收条件修改信息,所述条件修改信息指示将 所述预设条件修改为新的条件;基于所述条件修改信息修改所述预设条件。In an optional implementation, the method further includes receiving condition modification information, the condition modification information indicating modifying the preset condition to a new condition; modifying the preset condition based on the condition modification information.
第三方面,本申请提供了一种信标消息处理方法,所述方法应用于服务器,所述方法 包括:In the third aspect, this application provides a beacon message processing method, the method is applied to the server, and the method includes:
接收到来自移动设备的目标信标标识;以及,receiving a target beacon identification from a mobile device; and,
基于所述目标信标标识,调用对应的第三方服务。Based on the target beacon identification, the corresponding third-party service is called.
在一种可选的实现中,所述服务器,所述方法还包括:In an optional implementation, the server and the method further include:
基于预先配置的映射关系,确定所述目标信标标识对应的第三方服务;其中,所述映 射关系包括多个信标标识以及每个信标标识对应的第三方服务。Based on the preconfigured mapping relationship, the third-party service corresponding to the target beacon identification is determined; wherein the mapping relationship includes multiple beacon identifications and the third-party service corresponding to each beacon identification.
在一种可选的实现中,所述预设条件至少包括如下的一种:In an optional implementation, the preset conditions include at least one of the following:
所述移动设备与所述信标设备之间的距离值在预设范围内;The distance value between the mobile device and the beacon device is within a preset range;
所述移动设备与所述信标设备之间的距离值由大变小;和,The distance value between the mobile device and the beacon device changes from large to small; and,
所述移动设备与所述信标设备之间的距离值由小变大;The distance value between the mobile device and the beacon device changes from small to large;
在一种可选的实现中,所述预设条件至少包括如下的一种:In an optional implementation, the preset conditions include at least one of the following:
所述移动设备接收到所述信标消息的时间在预设范围内;和The time at which the mobile device receives the beacon message is within a preset range; and
所述移动设备在所述信标设备的信号覆盖区域内的时间在预设范围内。The time the mobile device is within the signal coverage area of the beacon device is within a preset range.
在一种可选的实现中,所述调用对应的第三方服务,包括:In an optional implementation, the corresponding third-party service call includes:
向所述第三方服务所在的地址发送目标消息,所述目标消息为基于所述信标标识生成 的。Send a target message to the address where the third-party service is located, where the target message is generated based on the beacon identification.
在一种可选的实现中,所述调用对应的第三方服务,包括:In an optional implementation, the corresponding third-party service call includes:
调用所述第三方服务对应的应用编程接口API。Call the application programming interface API corresponding to the third-party service.
在一种可选的实现中,所述调用对应的第三方服务,包括:In an optional implementation, the corresponding third-party service call includes:
向所述第三方服务所在的地址发起基于远程过程调用协议RPC的调用。Initiate a call based on the remote procedure call protocol RPC to the address where the third-party service is located.
在一种可选的实现中,所述方法还包括:In an optional implementation, the method further includes:
接收来自所述移动设备的信标数据,其中所述信标数据包括如下的至少一种:Receive beacon data from the mobile device, wherein the beacon data includes at least one of the following:
所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时 间、或所述移动设备的身份标识;The distance between the mobile device and the beacon device, the time when the mobile device receives the beacon message, or the identity of the mobile device;
基于所述目标信标标识和所述信标数据,调用对应的第三方服务。Based on the target beacon identification and the beacon data, the corresponding third-party service is called.
在一种可选的实现中,所述基于所述目标信标标识,调用对应的第三方服务,包括:In an optional implementation, calling the corresponding third-party service based on the target beacon identification includes:
基于所述目标信标标识,确定对应的第三方服务;基于所述信标数据,调用所述第三 方服务。Based on the target beacon identification, the corresponding third-party service is determined; based on the beacon data, the third-party service is called.
在一种可选的实现中,所述方法还包括:In an optional implementation, the method further includes:
接收来自所述第三方服务的回复数据;receive response data from said third-party services;
向所述移动设备发送所述回复数据,以便所述移动设备触发所述回复数据相对应的呈 现。The reply data is sent to the mobile device so that the mobile device triggers presentation corresponding to the reply data.
在一种可选的实现中,所述方法还包括:接收条件修改信息,所述条件修改信息指示 将所述预设条件修改为新的条件;基于所述条件修改信息修改所述预设条件。In an optional implementation, the method further includes: receiving condition modification information indicating that the preset condition is modified to a new condition; modifying the preset condition based on the condition modification information .
第四方面,本申请提供了一种信标消息处理方法,所述方法包括:In a fourth aspect, this application provides a beacon message processing method, which method includes:
接收来自移动设备的目标信标标识和信标数据,其中所述信标数据包括如下的至少一 种:所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时间、 或所述移动设备的身份标识;以及,Receive a target beacon identification and beacon data from a mobile device, wherein the beacon data includes at least one of the following: the distance between the mobile device and the beacon device, and the mobile device receiving the signal mark the time of the message, or the identity of the mobile device; and,
若确定所述信标数据满足预设条件,则基于所述目标信标标识,调用对应的第三方服 务。If it is determined that the beacon data meets the preset conditions, the corresponding third-party service is called based on the target beacon identification.
在一种可选的实现中,所述距离信息包括如下的至少一种:In an optional implementation, the distance information includes at least one of the following:
所述移动设备与所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距 离值的变化信息。The distance value between the mobile device and the beacon device, and the change information of the distance value between the mobile device and the beacon device.
在一种可选的实现中,所述时间信息包括如下的至少一种:In an optional implementation, the time information includes at least one of the following:
所述移动设备接收到所述信标消息的时间、所述移动设备在所述信标设备的信号覆盖 区域内的时间。The time when the mobile device receives the beacon message and the time when the mobile device is within the signal coverage area of the beacon device.
在一种可选的实现中,所述方法还包括:In an optional implementation, the method further includes:
基于预先配置的映射关系,确定所述目标信标标识对应的第三方服务;其中,所述映 射关系包括多个信标标识以及每个信标标识对应的第三方服务。Based on the preconfigured mapping relationship, the third-party service corresponding to the target beacon identification is determined; wherein the mapping relationship includes multiple beacon identifications and the third-party service corresponding to each beacon identification.
在一种可选的实现中,所述基于所述目标信标标识,调用对应的第三方服务,包括:In an optional implementation, calling the corresponding third-party service based on the target beacon identification includes:
基于所述目标信标标识,确定对应的第三方服务;基于所述信标数据,调用所述第三 方服务。Based on the target beacon identification, the corresponding third-party service is determined; based on the beacon data, the third-party service is called.
在一种可选的实现中,所述方法还包括:In an optional implementation, the method further includes:
接收来自所述第三方服务的回复数据;receive response data from said third-party services;
向所述移动设备发送所述回复数据,以便所述移动设备触发所述回复数据相对应的呈 现。The reply data is sent to the mobile device so that the mobile device triggers presentation corresponding to the reply data.
在一种可选的实现中,所述方法还包括:接收条件修改信息,所述条件修改信息指示 将所述预设条件修改为新的条件;基于所述条件修改信息修改所述预设条件。In an optional implementation, the method further includes: receiving condition modification information indicating that the preset condition is modified to a new condition; modifying the preset condition based on the condition modification information .
第五方面,本申请提供了一种信标消息处理装置,信标消息处理装置包括:In the fifth aspect, this application provides a beacon message processing device. The beacon message processing device includes:
接收模块,用于接收到来自移动设备的目标信标标识。The receiving module is used to receive the target beacon identification from the mobile device.
调用模块,用于基于所述目标信标标识,调用对应的第三方服务。The calling module is used to call the corresponding third-party service based on the target beacon identification.
在一种可选的实现中,所述装置还包括:In an optional implementation, the device further includes:
确定模块,用于基于预先配置的映射关系,确定所述目标信标标识对应的第三方服务; 其中,所述映射关系包括多个信标标识以及每个信标标识对应的第三方服务。A determining module, configured to determine a third-party service corresponding to the target beacon identification based on a preconfigured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and a third-party service corresponding to each beacon identification.
在一种可选的实现中,所述预设条件至少包括如下的一种:In an optional implementation, the preset conditions include at least one of the following:
所述移动设备与所述信标设备之间的距离值在预设范围内;The distance value between the mobile device and the beacon device is within a preset range;
所述移动设备与所述信标设备之间的距离值由大变小The distance value between the mobile device and the beacon device changes from large to small
所述移动设备与所述信标设备之间的距离值由小变大;The distance value between the mobile device and the beacon device changes from small to large;
所述移动设备接收到所述信标消息的时间在预设范围内;和The time at which the mobile device receives the beacon message is within a preset range; and
所述移动设备在所述信标设备的信号覆盖区域内的时间在预设范围内。The time the mobile device is within the signal coverage area of the beacon device is within a preset range.
在一种可选的实现中,所述调用模块,用于向所述第三方服务所在的地址发送目标消 息,所述目标消息为基于所述信标标识生成的。In an optional implementation, the calling module is configured to send a target message to the address where the third-party service is located, where the target message is generated based on the beacon identification.
在一种可选的实现中,所述调用模块,用于调用所述第三方服务对应的应用编程接口API。In an optional implementation, the calling module is used to call an application programming interface API corresponding to the third-party service.
在一种可选的实现中,所述调用模块,用于向所述第三方服务所在的地址发起基于远程过程调用协议RPC的调用。In an optional implementation, the calling module is configured to initiate a call based on the remote procedure call protocol RPC to the address where the third-party service is located.
在一种可选的实现中,所述接收模块,用于接收来自所述移动设备的信标数据,其中 所述信标数据包括如下的至少一种:In an optional implementation, the receiving module is configured to receive beacon data from the mobile device, where the beacon data includes at least one of the following:
所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时 间、或所述移动设备的身份标识;The distance between the mobile device and the beacon device, the time when the mobile device receives the beacon message, or the identity of the mobile device;
基于所述目标信标标识和所述信标数据,调用对应的第三方服务。Based on the target beacon identification and the beacon data, the corresponding third-party service is called.
在一种可选的实现中,所述调用模块,用于基于所述目标信标标识,确定对应的第三 方服务;基于所述信标数据,调用所述第三方服务。In an optional implementation, the calling module is configured to determine the corresponding third-party service based on the target beacon identification; and call the third-party service based on the beacon data.
在一种可选的实现中,所述接收模块,用于接收来自所述第三方服务的回复数据;In an optional implementation, the receiving module is configured to receive reply data from the third-party service;
发送模块,用于向所述移动设备发送所述回复数据,以便所述移动设备触发所述回复 数据相对应的呈现。A sending module, configured to send the reply data to the mobile device, so that the mobile device triggers the corresponding presentation of the reply data.
第六方面,本申请提供了一种信标消息处理装置,信标消息处理装置包括:In a sixth aspect, this application provides a beacon message processing device. The beacon message processing device includes:
接收模块,用于接收来自移动设备的目标信标标识和信标数据,其中所述信标数据包 括如下的至少一种:所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述 信标消息的时间、或所述移动设备的身份标识;以及,A receiving module, configured to receive a target beacon identification and beacon data from a mobile device, where the beacon data includes at least one of the following: the distance between the mobile device and the beacon device, and the mobile device. The time when the device receives the beacon message, or the identity of the mobile device; and,
调用模块,用于若确定所述信标数据满足预设条件,则基于所述目标信标标识,调用 对应的第三方服务。A calling module, configured to call the corresponding third-party service based on the target beacon identification if it is determined that the beacon data meets the preset conditions.
在一种可选的实现中,所述距离信息包括如下的至少一种:In an optional implementation, the distance information includes at least one of the following:
所述移动设备与所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距 离值的变化信息。The distance value between the mobile device and the beacon device, and the change information of the distance value between the mobile device and the beacon device.
在一种可选的实现中,所述时间信息包括如下的至少一种:In an optional implementation, the time information includes at least one of the following:
所述移动设备接收到所述信标消息的时间、所述移动设备在所述信标设备的信号覆盖 区域内的时间。The time when the mobile device receives the beacon message and the time when the mobile device is within the signal coverage area of the beacon device.
在一种可选的实现中,所述装置还包括:In an optional implementation, the device further includes:
确定模块,基于预先配置的映射关系,确定所述目标信标标识对应的第三方服务;其 中,所述映射关系包括多个信标标识以及每个信标标识对应的第三方服务。The determination module determines the third-party service corresponding to the target beacon identification based on the pre-configured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and the third-party service corresponding to each beacon identification.
在一种可选的实现中,所述预设条件至少包括如下的一种:In an optional implementation, the preset conditions include at least one of the following:
所述移动设备与所述信标设备之间的距离值在预设范围内;The distance value between the mobile device and the beacon device is within a preset range;
所述移动设备与所述信标设备之间的距离值由大变小The distance value between the mobile device and the beacon device changes from large to small
所述移动设备与所述信标设备之间的距离值由小变大;The distance value between the mobile device and the beacon device changes from small to large;
所述移动设备接收到所述信标消息的时间在预设范围内;和The time at which the mobile device receives the beacon message is within a preset range; and
所述移动设备在所述信标设备的信号覆盖区域内的时间在预设范围内。The time the mobile device is within the signal coverage area of the beacon device is within a preset range.
在一种可选的实现中,所述调用模块,用于基于所述目标信标标识,确定对应的第三 方服务;基于所述信标数据,调用所述第三方服务。In an optional implementation, the calling module is configured to determine the corresponding third-party service based on the target beacon identification; and call the third-party service based on the beacon data.
在一种可选的实现中,所述接收模块,用于接收来自所述第三方服务的回复数据;In an optional implementation, the receiving module is configured to receive reply data from the third-party service;
发送模块,用于向所述移动设备发送所述回复数据,以便所述移动设备触发所述回复 数据相对应的呈现。A sending module, configured to send the reply data to the mobile device, so that the mobile device triggers the corresponding presentation of the reply data.
在一种可选的实现中,所述接收模块,还用于:接收条件修改信息,所述条件修改信 息指示将所述预设条件修改为新的条件;所述装置还包括:In an optional implementation, the receiving module is also configured to: receive condition modification information, the condition modification information indicating that the preset condition is modified to a new condition; the device also includes:
状态修改模块,用于基于所述条件修改信息修改所述预设条件。A status modification module, configured to modify the preset condition based on the condition modification information.
第七方面,本申请提供了一种信标消息处理装置,可以包括处理器、存储器和通信接 口,处理器和存储器耦合,通信接口用于执行上述第三方面或第四方面的各个可能实现方 式中与接收和发送动作相关的步骤,存储器存储有程序指令,当存储器存储的程序指令被处理器执行时用于对所述通信接口接收到的数据进行处理,以第三方面或第四方面的各个 可能实现方式中与处理相关的步骤。对于处理器执行第三方面或第四方面的各个可能实现 方式中执行的步骤,具体均可以参阅第三方面或第四方面,此处不再赘述。In the seventh aspect, the present application provides a beacon message processing device, which may include a processor, a memory and a communication interface. The processor and the memory are coupled, and the communication interface is used to perform each possible implementation of the third aspect or the fourth aspect. In the steps related to the receiving and sending actions, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, they are used to process the data received by the communication interface, in the third aspect or the fourth aspect. Processing-related steps in each possible implementation. For the steps performed by the processor in each possible implementation manner of the third aspect or the fourth aspect, please refer to the third aspect or the fourth aspect for details, and will not be described again here.
第八方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质中存储 有计算机程序,当其在计算机上运行时,使得计算机执行上述第三方面或第四方面任一所 述的方法。In an eighth aspect, the present application provides a computer-readable storage medium that stores a computer program that, when run on a computer, causes the computer to execute any one of the above-mentioned third or fourth aspects. the method described.
第九方面,本申请提供了一种电路系统,所述电路系统包括处理电路,所述处理电路 配置为执行上述第三方面或第四方面任一所述的方法。In a ninth aspect, the present application provides a circuit system, which circuit system includes a processing circuit configured to perform the method described in any one of the above third or fourth aspects.
第十方面,本申请提供了一种计算机程序,当其在计算机上运行时,使得计算机执行 上述第三方面或第四方面任一所述的方法。In a tenth aspect, the present application provides a computer program that, when run on a computer, causes the computer to execute the method described in any one of the above-mentioned third or fourth aspects.
第十一方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持服务器 或门限值获取装置实现上述方面中所涉及的功能,例如,发送或处理上述方法中所涉及的 数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存服务器或通信设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In an eleventh aspect, the present application provides a chip system. The chip system includes a processor and is used to support a server or a threshold value acquisition device to implement the functions involved in the above aspects, for example, sending or processing the functions involved in the above methods. data and/or information. In a possible design, the chip system further includes a memory, and the memory is used to store necessary program instructions and data for the server or communication device. The chip system may be composed of chips, or may include chips and other discrete devices.
附图说明Description of the drawings
图1为示例性应用场景的平面图;Figure 1 is a plan view of an exemplary application scenario;
图2为示例性应用场景的平面图;Figure 2 is a plan view of an exemplary application scenario;
图3为本申请实施例提供的信标信息处理方法的流程示意;Figure 3 is a flowchart of the beacon information processing method provided by the embodiment of the present application;
图4为本申请实施例提供的信标信息处理方法的流程示意;Figure 4 is a flowchart of the beacon information processing method provided by the embodiment of the present application;
图5为本申请实施例提供的信标信息处理方法的流程示意;Figure 5 is a schematic flowchart of the beacon information processing method provided by the embodiment of the present application;
图6为本申请实施例提供的配置界面的示意;Figure 6 is a schematic diagram of the configuration interface provided by the embodiment of the present application;
图7为本申请实施例提供的信标信息处理方法的流程示意;Figure 7 is a flowchart of the beacon information processing method provided by the embodiment of the present application;
图8为本申请实施例提供的信标信息处理方法的流程示意;Figure 8 is a schematic flowchart of the beacon information processing method provided by the embodiment of the present application;
图9为本申请实施例提供的信标信息处理方法的流程示意;Figure 9 is a flowchart of the beacon information processing method provided by the embodiment of the present application;
图10为本申请实施例提供的信标信息处理方法的流程示意;Figure 10 is a schematic flowchart of the beacon information processing method provided by the embodiment of the present application;
图11为本申请实施例提供的信标信息处理装置的示意;Figure 11 is a schematic diagram of a beacon information processing device provided by an embodiment of the present application;
图12为本申请实施例提供的移动设备的示意;Figure 12 is a schematic diagram of a mobile device provided by an embodiment of the present application;
图13为本申请实施例提供的移动设备的软件架构示意;Figure 13 is a schematic diagram of the software architecture of a mobile device provided by an embodiment of the present application;
图14为本申请实施例提供的服务器的示意。Figure 14 is a schematic diagram of a server provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图,对本申请的实施例进行描述,显然,所描述的实施例仅仅是本申请一 部分的实施例,而不是全部的实施例。本领域普通技术人员可知,随着技术的发展和新场 景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments of the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Persons of ordinary skill in the art will know that with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似 的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下 可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。 此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包 含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步 骤或模块。在本申请中出现的对步骤进行的命名或者编号,并不意味着必须按照命名或者 编号所指示的时间/逻辑先后顺序执行方法流程中的步骤,已经命名或者编号的流程步骤可 以根据要实现的技术目的变更执行次序,只要能达到相同或者相类似的技术效果即可。The terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules and need not be limited to those explicitly listed. Those steps or modules may instead include other steps or modules not expressly listed or inherent to the processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can be implemented according to the purpose to be achieved. The order of execution can be changed for technical purposes, as long as the same or similar technical effect can be achieved.
另外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。本申请中的术语“和/或”或字符“/”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,或A/B,可以表示:单独存在A,同时存在A和B,单独存在B这 三种情况。In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more. The term "and/or" or the character "/" in this application is just an association relationship describing associated objects, indicating that there can be three relationships, for example, A and/or B, or A/B, which can represent: A alone exists, A and B exist simultaneously, and B exists alone.
首先描述一下本申请的应用场景示意。First, let’s describe the application scenarios of this application.
图1为示例性应用场景100的平面图。在示出的实施例中,应用场景100包括包括信标设备(beacon device)110a。信标设备110a可使用短程通信链路向移动设备(102a和102b) 广播信标消息,例如信标消息可以是基于Eddystone的信标通信格式,该标准主要用来帮 助开发者使用Beacons硬件并提供基于位置的智能手机通信传输。在移动设备(102a和 102b)上运行的应用程序(或者部署于移动设备(102a和102b)中的服务)可基于信标消息在移动设备(102a和102b)上向用户进行相应的呈现,例如进行消息的显示等等。其中,应用场景100可以包括零售店、博物馆、运动场、饭店等适用于任何配置有信标的环境中。Figure 1 is a plan view of an exemplary application scenario 100. In the illustrated embodiment, the application scenario 100 includes a beacon device 110a. The beacon device 110a can use a short-range communication link to broadcast a beacon message to the mobile devices (102a and 102b). For example, the beacon message can be a beacon communication format based on Eddystone. This standard is mainly used to help developers use Beacons hardware and provide Location-based communication transmission for smartphones. Applications running on mobile devices (102a and 102b) (or services deployed in mobile devices (102a and 102b)) may perform corresponding presentations to users on mobile devices (102a and 102b) based on beacon messages, e.g. Display messages, etc. The application scenario 100 may include retail stores, museums, sports venues, restaurants, etc. and is applicable to any environment where beacons are configured.
信标设备110a和移动设备(102a和102b)可使用短程无线电技术诸如BluetoothTM或近场通信(near field communication,NFC)技术来广播和/或接收信标消息。在一些具体 实施中,信标设备110a可使用特定类型的BluetoothTM,称之为BluetoothTM低功耗(bluetooth low energy,BLE)。信标设备110a的无线通信范围可在10米到30米之间。其他范围也是可能的。当移动设备(102a和102b)在信标设备110a的无线通信范围内的情况下,该移动设备可接收对应的信标消息。Beacon device 110a and mobile devices (102a and 102b) may broadcast and/or receive beacon messages using short-range radio technology such as Bluetooth™ or near field communication (NFC) technology. In some implementations, beacon device 110a may use a specific type of Bluetooth ™ , called Bluetooth low energy (BLE). The wireless communication range of the beacon device 110a may be between 10 meters and 30 meters. Other ranges are also possible. When mobile devices (102a and 102b) are within wireless communication range of beacon device 110a, the mobile devices may receive corresponding beacon messages.
移动设备(102a和102b)的各种实施例包括智能电话、平板电脑、笔记本电脑或可穿 戴计算机。在一些具体实施中,移动设备(102a和102b)可包括可对环境100进行扫描以发现来自环境100中诸如信标设备之类的其他设备的信标消息的无线接收器或收发器。例如,移动设备(102a和102b)可包括扫描信标消息的BLE接收器。移动设备(102a和102b)可利用无线网络的基站与服务器通信,其中无线网络诸如基于长期演进(LTE)或码分多址(CDMA)(例如CDMA2000和宽带CDMA(WCDMA))的无线网络。其他类型的无线网络也 是可能的。Various embodiments of mobile devices (102a and 102b) include smartphones, tablets, laptops, or wearable computers. In some implementations, mobile devices (102a and 102b) may include wireless receivers or transceivers that may scan environment 100 for beacon messages from other devices in environment 100, such as beacon devices. For example, mobile devices (102a and 102b) may include a BLE receiver that scans for beacon messages. Mobile devices (102a and 102b) may communicate with the server utilizing base stations of wireless networks, such as those based on Long Term Evolution (LTE) or Code Division Multiple Access (CDMA) (eg, CDMA2000 and Wideband CDMA (WCDMA)). Other types of wireless networks are also possible.
图2示出了用于处理信标消息的系统的一个示意。移动设备(202a和202b)例如可经 由一个或多个无线网络进行通信。例如,无线网络(如蜂窝网络)的基站203可通过利用网 关205与广域网(WAN)206(诸如互联网)通信。同样,接入点(AP)204(诸如基于IEEE802.11 系列的无线接入点)可提供对广域网206的通信接入。移动设备(202a和202b)可例如经由基站203、接入点204或它们的组合与一个或多个服务器(207、208)通信。服务器(207、 208)可包括被配置为与诸如设备移动设备(202a和202b)之类的设备进行通信的网络接 口。服务器(207、208)可包括被配置为使用协议诸如传输控制协议(transmissioncontrol protocol,TCP)或用户数据报协议(user datagram protocol,UDP)经由网络接口与诸如设 备移动设备(202a和202b)之类的设备进行通信的处理器电子器件。Figure 2 shows an illustration of a system for processing beacon messages. Mobile devices (202a and 202b) may communicate via one or more wireless networks, for example. For example, a base station 203 of a wireless network (such as a cellular network) may communicate with a wide area network (WAN) 206 (such as the Internet) by utilizing a gateway 205. Likewise, an access point (AP) 204, such as a wireless access point based on the IEEE 802.11 family, may provide communication access to the wide area network 206. Mobile devices (202a and 202b) may communicate with one or more servers (207, 208), such as via base station 203, access point 204, or a combination thereof. Servers (207, 208) may include network interfaces configured to communicate with devices such as device mobile devices (202a and 202b). Servers (207, 208) may include devices configured to communicate with devices such as mobile devices (202a and 202b) via network interfaces using protocols such as transmission control protocol (TCP) or user datagram protocol (UDP). Processor electronics that communicate with a device.
移动设备(202a和202b)还可经由短程通信链路接收来自信标设备(201a、201b和201c)的信标消息。在一些具体实施中,短程通信链路可基于蓝牙无线技术。在一些具体 实施中,短程通信链路可基于NFC无线技术。在一些具体实施中,移动设备(202a和202b) 可被配置为持续扫描以发现信标消息。在一些具体实施中,移动设备(202a和202b)可被 配置为基于调用信标扫描应用程序接口(application programming interface,API)的应用 程序来扫描以发现信标消息。Mobile devices (202a and 202b) may also receive beacon messages from beacon devices (201a, 201b and 201c) via short-range communication links. In some implementations, the short-range communication link may be based on Bluetooth wireless technology. In some implementations, the short-range communication link may be based on NFC wireless technology. In some implementations, mobile devices (202a and 202b) may be configured to continuously scan for beacon messages. In some implementations, mobile devices (202a and 202b) may be configured to scan for beacon messages based on applications that invoke a beacon scanning application programming interface (API).
在一些具体实施中,基于经由短程通信链路接收到来自信标设备(201a、201b和201c) 的信标消息,移动设备(202a和202b)可经由与提供蜂窝数据服务的基站203相关联的长 距离通信链路建立与一个或多个服务器(207、208)的通信。In some implementations, based on receiving beacon messages from beacon devices (201a, 201b, and 201c) via short-range communication links, mobile devices (202a and 202b) may communicate via long-range communication with base station 203 that provides cellular data services. A distance communication link establishes communication with one or more servers (207, 208).
更细节的,信标设备110a可被配置(本地地或经由网络远程地)为发送信标消息,在一 些具体实施中,信标消息可以包括信标标识。在云侧的服务器208中,应用程序开发者可 以预先配置好信标标识和信标附件的映射关系,移动设备上相应的应用程序在扫描获取到 信标消息之后,可以将信标标识发送至服务器208,服务器208可以基于预先配置好的信 标标识和信标附件的映射关系,确定该信标标识对应的信标附件,并将信标附件发送至移 动设备(102a和102b)上相应的应用程序,应用程序可以触发信标附件对应的呈现。In more detail, beacon device 110a may be configured (locally or remotely via a network) to send a beacon message, which in some implementations may include a beacon identification. In the server 208 on the cloud side, the application developer can pre-configure the mapping relationship between the beacon identification and the beacon attachment. After the corresponding application on the mobile device scans and obtains the beacon message, it can send the beacon identification to the server. 208. The server 208 can determine the beacon attachment corresponding to the beacon identification based on the preconfigured mapping relationship between the beacon identification and the beacon attachment, and send the beacon attachment to the corresponding application on the mobile device (102a and 102b). , the application can trigger the rendering of the corresponding beacon attachment.
需要说明的是,应用程序可以配置有信标附件和对应的消息数据的映射,在获取到信 标附件之后,应用程序可以在移动设备上触发消息数据对应的呈现。It should be noted that the application can be configured with a mapping between the beacon attachment and the corresponding message data. After obtaining the beacon attachment, the application can trigger the corresponding presentation of the message data on the mobile device.
需要说明的是,上述消息数据的呈现方式可以不局限于使数据显示在移动设备的屏幕 上。在一些具体实施中,呈现消息数据可包括提供一个或多个通知。消息数据的呈现可包 括力反馈(例如,振动指示)、音频输出(例如,嘟嘟响、音乐等)、视觉输出(例如,闪光), 或它们的组合。在一些具体实施中,消息数据可包括任何内容,包括但不限于文本、图形、数字图像、音频、视频和动画。消息数据可以音频输出的形式呈现在移动设备上,以与不具有显示能力的移动设备协作。在一些具体实施中,呈现消息数据可包括检索对应于消息数据中所包括的一个或多个值的内容;以及使该内容显示在屏幕上。It should be noted that the presentation method of the above message data may not be limited to displaying the data on the screen of the mobile device. In some implementations, presenting message data may include providing one or more notifications. The presentation of message data may include force feedback (e.g., vibration indication), audio output (e.g., beeps, music, etc.), visual output (e.g., flash), or a combination thereof. In some implementations, message data may include any content, including but not limited to text, graphics, digital images, audio, video, and animation. Message data can be presented on the mobile device in the form of audio output to collaborate with mobile devices that do not have display capabilities. In some implementations, presenting the message data may include retrieving content corresponding to one or more values included in the message data; and causing the content to be displayed on the screen.
信标设备(201a、201b和201c)可包括用于广播信标消息的电路诸如处理器、存储器、 发射器,以及用于对信标设备(201a、201b和201c)进行编程的接口,该接口可为USB 接口或双向无线接口诸如基于LTE或IEEE 802.11的网络接口。在一些具体实施中,可对 信标设备(201a、201b和201c)进行编程以周期性地更新信标消息内的数据。信标设备 (201a、201b和201c)可在一天中的不同时刻传输不同的操作码,例如不同的消息值。Beacon devices (201a, 201b, and 201c) may include circuitry such as a processor, memory, and a transmitter for broadcasting beacon messages, and an interface for programming the beacon devices (201a, 201b, and 201c). It may be a USB interface or a two-way wireless interface such as a network interface based on LTE or IEEE 802.11. In some implementations, beacon devices (201a, 201b, and 201c) may be programmed to periodically update data within beacon messages. The beacon devices (201a, 201b, and 201c) may transmit different opcodes, such as different message values, at different times of the day.
在现有的一些场景中,移动设备在接收到消息附件之后,需要进一步调用第三方服务 (第三方服务可部署于服务器208或者服务器207上),目的可以是为了基于调用第三方 服务来获取消息数据呈现所依赖的必要数据,或者可以是为了使第三方服务可以获取到移 动设备的相关信息,进而实现相应的业务。In some existing scenarios, after receiving the message attachment, the mobile device needs to further call a third-party service (the third-party service can be deployed on the server 208 or the server 207). The purpose may be to obtain the message based on calling the third-party service. Necessary data on which data presentation depends, or so that third-party services can obtain relevant information of the mobile device and then implement corresponding services.
下面以商店营销场景为例,解释移动设备、信标设备和服务器之间可以如何交互,其他场景下,这三个设备的交互过程也是类似的,区别主要体现在交互内容上。例如:应用程序配置了一条营销信息“首次注册会员卡的客户可获得满100减50的优惠券,老客户 签到可以获得100减30的优惠券”。该营销信息可以在移动设备处于某些设置在场所(例 如商店)时,触发显示在移动设备上,这些场所可以部署有周期性发送某一信标标识(承 载于信标信息)的信标设备,服务器侧可以配置有该信标标识对应的信标附件,该信标附 件可以触发移动设备进行上述营销信息的显示,则,移动设备移动到这些信标设备所在的 范围内时,可以接收到包括上述信标标识的信标信息,并将该信标标识转发至服务器侧,服务器可以将该信标标识对应的信标附件下发至移动设备,移动设备上对应的应用程序获 取到到信标附件后,需要查询一下当前的应用程序的使用者是否已经注册了会员卡。如果 应用程序的使用者没有注册了会员卡,则进行提示“首次注册会员卡的客户可获得满100 减50的优惠券”。如果应用程序的使用者已经注册了会员卡,则进行提示“老客户签到可 以获得100减30优惠券。在这种情况下,移动设备上对应的应用程序获取到信标附件后, 需要先缓存起来,再发起另外的网络请求,向第三方服务查询额外的信息(如用户是否已 经注册会员),最后决定应该进行什么样的动作(如弹窗提示新客优惠信息还是老会员优 惠信息)。The following takes the store marketing scenario as an example to explain how mobile devices, beacon devices, and servers can interact. In other scenarios, the interaction process of these three devices is similar, and the difference is mainly reflected in the interactive content. For example: The application is configured with a marketing message "Customers who register for a membership card for the first time can get a coupon of 50 off 100 yuan, and old customers can get a coupon of 30 off 100 yuan by signing in." The marketing information can be triggered to be displayed on the mobile device when the mobile device is in certain places (such as stores). These places can be deployed with beacon devices that periodically send a certain beacon identification (carrying beacon information). , the server side can be configured with a beacon attachment corresponding to the beacon identification. The beacon attachment can trigger the mobile device to display the above marketing information. Then, when the mobile device moves within the range of these beacon devices, it can receive Include the beacon information of the above-mentioned beacon identification, and forward the beacon identification to the server side. The server can deliver the beacon attachment corresponding to the beacon identification to the mobile device, and the corresponding application on the mobile device obtains the information. After marking the attachment, you need to check whether the current application user has registered a membership card. If the user of the application has not registered a membership card, it will prompt "Customers who register for a membership card for the first time can receive a coupon of 50% off for purchases over 100 yuan". If the user of the application has registered a membership card, it will prompt "Old customers can get 100 off 30 coupons by signing in. In this case, after the corresponding application on the mobile device obtains the beacon attachment, it needs to cache it first Get up, initiate another network request, query the third-party service for additional information (such as whether the user has registered as a member), and finally decide what action should be taken (such as a pop-up window prompting new customer discount information or old member discount information).
上述过程存在的缺点是,判断是否进行第三方服务调用的动作是在移动设备侧做的, 当预设条件需要修改时,移动设备侧的App的业务逻辑需要进行相应的修改,大大增加了 整个过程的耗时。更进一步的,服务器208提供的信标附件是静态的(只根据信标标识返回一个字符串),不能跟后续的应用程序已有业务(例如查询会员状态)进行联动。这造 成移动设备可能需要多次跟不同的第三方服务进行交互,业务时延较大,移动设备上对应 的应用程序的用户的体验收到影响。且如果业务逻辑需要进行修改,例如修改为对老客户提示“首次注册会员卡的客户可获得满100减50的优惠券,老客户签到可以获得100减 30的优惠券”吸引老客户引导同行的人员(新客户)注册会员,则需要修改移动设备上对 应的应用程序的业务逻辑,重新在应用市场上发布应用程序,并让用户升级应用程序。整 个过程耗时较长,难以快速达到营销目标。且,移动设备上对应的应用程序与服务器208 通信时进行了一次身份校验,后续移动设备上对应的应用程序与三方云服务的通信需要再次进行身份校验过程,多次身份校验过程增加了网络攻击的攻击面,降低了安全性。The disadvantage of the above process is that the action of determining whether to call a third-party service is done on the mobile device side. When the preset conditions need to be modified, the business logic of the App on the mobile device side needs to be modified accordingly, which greatly increases the overall complexity. The time consuming process. Furthermore, the beacon attachment provided by the server 208 is static (only returns a string based on the beacon identification) and cannot be linked with subsequent existing services of the application (such as querying member status). As a result, the mobile device may need to interact with different third-party services multiple times, resulting in large business delays and affecting the user experience of the corresponding applications on the mobile device. And if the business logic needs to be modified, for example, it can be modified to prompt old customers that "Customers who register for a membership card for the first time can get a coupon of 50 off 100, and old customers can get a coupon of 30 off 100 when they sign in." To attract old customers to guide their peers. When a person (new customer) registers as a member, he needs to modify the business logic of the corresponding application on the mobile device, re-publish the application on the application market, and allow users to upgrade the application. The whole process takes a long time and it is difficult to achieve marketing goals quickly. Moreover, the corresponding application on the mobile device performs an identity verification once when communicating with the server 208. Subsequent communication between the corresponding application on the mobile device and the third-party cloud service requires another identity verification process. Multiple identity verification processes increase. This increases the attack surface of network attacks and reduces security.
为了解决上述问题,本申请实施例提供了一种系统,参照图3,图3为本申请实施例提供的一种系统及其执行步骤的流程示意,如图3中示出的那样,本申请实施例提供的系统包括:In order to solve the above problems, an embodiment of the present application provides a system. Refer to Figure 3. Figure 3 is a flow diagram of a system and its execution steps provided by an embodiment of the present application. As shown in Figure 3, the present application The system provided by the embodiment includes:
移动设备,被配置为接收来自信标设备的信标消息,所述信标消息包括所述目标信标 标识;A mobile device configured to receive a beacon message from a beacon device, the beacon message including the target beacon identification;
其中,移动设备,被配置为接收来自信标设备的目标信标标识301。Wherein, the mobile device is configured to receive the target beacon identification 301 from the beacon device.
在一些具体实施中,移动设备周期性的执行扫描,以发现来自邻近于移动设备位置处 的信标设备的信标消息,该信标消息包括目标信标标识。如本文所用,“邻近”指的是移 动设备在物理上足够靠近信标设备以接收信标设备发送的射频(radio frequency,RF)信 号。例如,移动设备上的无线收发器可发起短程扫描以发现RF信号,诸如BLE RF信号、近场通信(near field communication,NFC)RF信号以及超声波信号。In some implementations, the mobile device periodically performs scanning to discover beacon messages from beacon devices adjacent to the location of the mobile device, the beacon messages including target beacon identifications. As used herein, "proximity" refers to a mobile device being physically close enough to a beacon device to receive radio frequency (RF) signals transmitted by the beacon device. For example, a wireless transceiver on a mobile device may initiate a short-range scan to discover RF signals, such as BLE RF signals, near field communication (NFC) RF signals, and ultrasonic signals.
在一些具体实施中,移动设备在接收到来自信标设备的信标消息之后,可以基于所述 信标消息,获取信标数据,其中所述信标数据包括如下的至少一种:所述移动设备与所述 信标设备之间的距离、和所述移动设备接收所述信标消息的时间、或所述移动设备的身份标识。In some specific implementations, after receiving a beacon message from a beacon device, the mobile device can obtain beacon data based on the beacon message, where the beacon data includes at least one of the following: the mobile device The distance to the beacon device, the time when the mobile device receives the beacon message, or the identity of the mobile device.
具体的,移动设备可基于接收到的信标消息的信号强度值,来获取移动设备与所述信 标设备之间的距离信息,其中,所述距离信息可以包括如下的至少一种:所述移动设备与 所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距离值的变化信息。Specifically, the mobile device may obtain the distance information between the mobile device and the beacon device based on the signal strength value of the received beacon message, where the distance information may include at least one of the following: The distance value between the mobile device and the beacon device, and the change information of the distance value between the mobile device and the beacon device.
在一些具体实施中,移动设备可基于信标消息的接收信号强度指示值(receivedsignal strength indication,RSSI),并且对RSSI值执行平均值以计算平均RSSI值。在一些具体实 施中,RSSI可在数学上定义为约为接收信号的功率与参考接收功率(例如,1mW)的比,其 中RSSI数值越高(或越少负值),信号越强。在一些具体实施中,RSSI值可以dBm来表示。 基于预先确定的用于发送信标消息的传输功率,距离估计可基于RSSI值来计算。确定距 离估计可包括使用信道质量信息诸如源于所接收信标消息的误码率(BER)或误包率(PER)。In some implementations, the mobile device may calculate an average RSSI value based on a received signal strength indication (RSSI) value of the beacon message and average the RSSI values. In some implementations, RSSI may be mathematically defined as approximately the ratio of the power of the received signal to a reference received power (e.g., 1 mW), where the higher the RSSI value (or the less negative the value), the stronger the signal. In some implementations, the RSSI value can be expressed in dBm. Based on the predetermined transmission power used to send the beacon message, the distance estimate may be calculated based on the RSSI value. Determining the range estimate may include using channel quality information such as bit error rate (BER) or packet error rate (PER) derived from received beacon messages.
移动设备与所述信标设备之间的距离值的变化信息可以包括移动设备与所述信标设 备之间的距离值的变化信息距离的变化趋势,例如由远到近、由近到远等等。The change information of the distance value between the mobile device and the beacon device may include the change information of the distance value between the mobile device and the beacon device. The change trend of the distance, for example, from far to near, from near to far, etc. wait.
本申请实施例中,所述时间信息可以包括如下的至少一种:所述移动设备接收到所述 信标消息的时间、所述移动设备在所述信标设备的信号覆盖区域内的时间。其中,时间信 息可以包括App使用者扫描到信标设备的时间、App使用者在信标设备周围的逗留时间等 等。In this embodiment of the present application, the time information may include at least one of the following: the time when the mobile device receives the beacon message, and the time when the mobile device is within the signal coverage area of the beacon device. The time information may include the time the App user scanned the beacon device, the time the App user stayed around the beacon device, etc.
例如,信标消息可以是基于Eddystone的信标通信格式,该标准主要用来帮助开发者 使用Beacons硬件并提供基于位置的智能手机通信传输。在一种实现中,信标消息可以包 括信标标识符和活动参数。信标标识符可包括文本串诸如“com.company.retailstore_no_3954”或十六进制值诸如“0x0e33de54”。其他类型的标识符 也是可能的。在一些具体实施中,活动参数可包括动作值或字符串。在一些具体实施中, 活动参数可包括消息值或消息字符串。其他类型的活动参数也是可能的。For example, the beacon message can be a beacon communication format based on Eddystone, which is a standard mainly used to help developers use Beacons hardware and provide location-based smartphone communication transmission. In one implementation, the beacon message may include a beacon identifier and activity parameters. The beacon identifier may include a text string such as "com.company.retailstore_no_3954" or a hexadecimal value such as "0x0e33de54". Other types of identifiers are also possible. In some implementations, activity parameters may include action values or strings. In some implementations, activity parameters may include message values or message strings. Other types of activity parameters are also possible.
信标消息可以包括信标通用唯一标识符(universally unique identifier,UUID)。在一定 区域内,可包括具有相同信标标识符的多个信标设备。然而,此类信标针对信标UUID可 具有不同值。因此,UUID可用以区分共享相同信标标识符的信标设备。在一些具体实施 中,信标标识符包括信标UUID。在一些具体实施中,UUID为128位值。The beacon message may include a beacon universally unique identifier (UUID). Within a certain area, multiple beacon devices with the same beacon identifier may be included. However, such beacons may have different values for the beacon UUID. Therefore, a UUID can be used to distinguish beacon devices that share the same beacon identifier. In some implementations, the beacon identifier includes a beacon UUID. In some implementations, the UUID is a 128-bit value.
本申请实施例中的目标信标标识可以包括上述实施例中的信标标识符。The target beacon identifier in the embodiment of this application may include the beacon identifier in the above embodiment.
信标消息还可以包括应用程序标识符和用户消息。应用程序标识符可识别运行在用于 在移动设备接收之后处理信标消息的该移动设备上的应用程序。例如,运行在移动设备上 的操作系统可使用应用程序标识符来向对应于应用程序标识符的应用程序转发信标消息。在一些具体实施中,如果移动设备上尚未安装应用程序,则可在移动设备上启动浏览器并 将用户导向(例如,使用统一资源定位符(uniform resource locator,URL)至用户可下载并 安装对应于应用程序标识符的应用程序的网站。在一些具体实施中,可在无需用户干预的情况下以对用户透明的方式(例如,作为后台进程)自动下载应用程序。在一些具体实施中, 如果安装了应用程序但未在移动设备上运行,则可由运行在移动设备上的操作系统自动启 动应用程序以接收信标消息。Beacon messages can also include application identifiers and user messages. The application identifier may identify an application running on the mobile device that is used to process the beacon message after the mobile device receives it. For example, an operating system running on a mobile device may use the application identifier to forward a beacon message to an application corresponding to the application identifier. In some implementations, if the application is not yet installed on the mobile device, a browser may be launched on the mobile device and the user may be directed (e.g., using a uniform resource locator (URL)) to a location where the user may download and install the corresponding application. The website of the application based on the application identifier. In some implementations, the application may be automatically downloaded without user intervention in a manner transparent to the user (e.g., as a background process). In some implementations, if When an application is installed but not running on a mobile device, the application can be automatically launched by the operating system running on the mobile device to receive beacon messages.
移动设备可以向服务器发送所述目标信标标识302。The mobile device may send the target beacon identification 302 to the server.
本申请实施例,移动设备在接收来自信标设备的目标信标标识之后,可以向服务器发 送所述目标信标标识。其中,移动设备上的应用程序或者底层的服务在接收来自信标设备 的目标信标标识之后,可以向服务器发送所述目标信标标识。In this embodiment of the present application, after receiving the target beacon identification from the beacon device, the mobile device may send the target beacon identification to the server. Wherein, after receiving the target beacon identification from the beacon device, the application program or the underlying service on the mobile device may send the target beacon identification to the server.
具体的,当移动设备上的应用程序扫描到附近的信标设备时,可以向服务器(信标云 服务平台)发送获取信标消息附件的请求,该请求中可以携带目标信标标识302。服务器可以基于所述目标信标标识,调用对应的第三方服务303。Specifically, when the application on the mobile device scans a nearby beacon device, it can send a request to obtain the beacon message attachment to the server (beacon cloud service platform), and the request can carry the target beacon identification 302. The server can call the corresponding third-party service 303 based on the target beacon identification.
本申请实施例中,服务是实现特定功能或提供特定内容的可执行程序。例如,服务可 以是使用超文本标记语言(HyperText Markup Language,HTML),层叠样式表(cascading style sheets,CSS),或java脚本(JavaScript,JS)等编程语言开发的可通过web浏览器访问的网 页,或者通过JS等开发的不需要安装即可使用的小程序,Web应用或者其它类型的应用 程序。服务提供的功能或内容与服务的类型有关。In the embodiment of this application, a service is an executable program that implements specific functions or provides specific content. For example, a service may be a web page developed using a programming language such as HyperText Markup Language (HTML), cascading style sheets (CSS), or Java script (JavaScript, JS) that can be accessed through a web browser. , or small programs, web applications or other types of applications developed through JS that do not require installation and can be used. The functions or content provided by the service are related to the type of service.
本申请实施例涉及的第三方服务,可以是指用于提供第三方应用(application,APP)的 服务。比如,移动设备中可以支持一个或多个应用,其中部分应用可能是移动设备从网络 侧下载的、由第三方(非移动设备的生产方)提供的应用。移动设备运行这些应用时,可以与该应用对应的第三方服务器通信,该第三方服务器可以提供第三方服务。以移动设备的 生产方是华为,微信的提供方的腾讯为例,移动设备中安装微信后,当移动设备运行微信 时,可以与微信对应的服务器(即第三方服务器)通信。The third-party services involved in the embodiments of this application may refer to services used to provide third-party applications (applications, APPs). For example, a mobile device may support one or more applications, some of which may be applications downloaded by the mobile device from the network and provided by a third party (non-mobile device manufacturer). When a mobile device runs these applications, it can communicate with the third-party server corresponding to the application, and the third-party server can provide third-party services. Taking Huawei as the manufacturer of mobile devices and Tencent as the provider of WeChat as an example, after WeChat is installed on the mobile device, when the mobile device runs WeChat, it can communicate with the server corresponding to WeChat (that is, a third-party server).
本申请实施例中,所述服务器可以基于预先配置的映射关系,确定所述目标信标标识 对应的第三方服务;其中,所述映射关系包括多个信标标识以及每个信标标识对应的第三 方服务。其中,映射关系可以为应用程序开发者预先在服务器上配置的。映射关系可以包括多个信标标识以及每个信标标识对应的第三方服务,在一种实现中,映射关系中的第三 方服务可以为第三方服务所在的地址,则服务器可以向所述第三方服务所在的地址发送目 标消息,所述目标消息为基于所述信标标识生成的。在一种实现中,映射关系中的第三方 服务可以为应用编程接口API,则,所述服务器可以调用所述第三方服务对应的应用编程接口API。例如,该API可以为RESTful API,服务器可以使用开发者预先配置好的RESTful 地址,调用第三方服务。该三方服务可以部署于开发者另行部署的服务器,也可以为部署 的serverless函数。在一种实现中,映射关系中的第三方服务可以为第三方服务所在的地址, 则所述服务器可以向所述第三方服务所在的地址发起基于远程过程调用协议RPC的调用。In this embodiment of the present application, the server may determine the third-party service corresponding to the target beacon identification based on a pre-configured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and a corresponding number corresponding to each beacon identification. Third Party Services. Among them, the mapping relationship can be pre-configured on the server by the application developer. The mapping relationship may include multiple beacon identifiers and third-party services corresponding to each beacon identifier. In one implementation, the third-party service in the mapping relationship may be the address where the third-party service is located, and the server may send a request to the third-party service. The address where the third-party service is located sends a target message, and the target message is generated based on the beacon identification. In one implementation, the third-party service in the mapping relationship may be an application programming interface API, then the server may call the application programming interface API corresponding to the third-party service. For example, the API can be a RESTful API, and the server can use the RESTful address preconfigured by the developer to call third-party services. The third-party service can be deployed on a server deployed separately by the developer, or it can be a deployed serverless function. In one implementation, the third-party service in the mapping relationship may be the address where the third-party service is located, and the server may initiate a call based on the remote procedure call protocol RPC to the address where the third-party service is located.
在一种实施例中,所述移动设备,被配置为接收来自信标设备的信标消息,所述信标 消息包括所述目标信标标识;基于所述信标消息,获取信标数据,其中所述信标数据包括 如下的至少一种:所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时间、或所述移动设备的身份标识,并向所述服务器发送所述目标信标标识和所 述信标数据;相应的,所述服务器,被配置为基于所述目标信标标识和所述信标数据,调用对应的第三方服务。具体的,所述服务器,被配置为基于所述目标信标标识,确定对应 的第三方服务,并基于所述信标数据,调用所述第三方服务。In one embodiment, the mobile device is configured to receive a beacon message from a beacon device, where the beacon message includes the target beacon identification; and obtain beacon data based on the beacon message, The beacon data includes at least one of the following: the distance between the mobile device and the beacon device, the time when the mobile device receives the beacon message, or the identity of the mobile device. , and sends the target beacon identification and the beacon data to the server; accordingly, the server is configured to call the corresponding third-party service based on the target beacon identification and the beacon data. . Specifically, the server is configured to determine the corresponding third-party service based on the target beacon identification, and call the third-party service based on the beacon data.
本申请实施例中,服务器可以基于目标信标标识,确定该调用什么第三方服务,例如 可以基于目标信标标识,确定该调用哪一个RESTful地址,或者发送信息的目的地址等等。 此时,服务器可以基于信标数据,调用所述第三方服务。In the embodiment of this application, the server can determine which third-party service to call based on the target beacon identification. For example, it can determine which RESTful address to call based on the target beacon identification, or the destination address to send information, etc. At this time, the server can call the third-party service based on the beacon data.
在一种实现中,服务器可以将这些信标数据作为输入参数,传递至第三方服务。在一 种实现中,服务器可以对信标数据进行处理(例如数学上的统计或者其他处理),并将处理结果作为输入参数,传递至第三方服务,等等。In one implementation, the server can pass these beacon data as input parameters to the third-party service. In one implementation, the server can process the beacon data (such as mathematical statistics or other processing), and pass the processing results as input parameters to third-party services, etc.
在一种实施例中,服务器还会判断此次请求是否符合开发者所配置的触发条件,如果 满足触发条件,则调用第三方服务。即,所述服务器若确定所述信标数据满足预设条件, 则基于所述目标信标标识,调用对应的第三方服务。本申请实施例中,当服务器接收到移动设备发送的请求后,可以触发规则,生成一个Applet规则实例,这个规则实例可以包含多个状态,使用业界常用的状态机模型。当状态机到达结束状态时,可以向开发者预先配置好的第三方服务的地址发起调用,具体方式包括且不限于发送消息、发起RPC调用等。In one embodiment, the server also determines whether the request meets the trigger conditions configured by the developer. If the trigger conditions are met, the third-party service is called. That is, if the server determines that the beacon data satisfies the preset condition, it calls the corresponding third-party service based on the target beacon identification. In the embodiment of this application, when the server receives the request sent by the mobile device, it can trigger the rule and generate an Applet rule instance. This rule instance can contain multiple states and use a state machine model commonly used in the industry. When the state machine reaches the end state, it can initiate a call to the address of the third-party service pre-configured by the developer. The specific methods include but are not limited to sending messages, initiating RPC calls, etc.
具体的,所述信标数据可以包括如下的至少一种:所述移动设备与所述信标设备之间 的距离,或和所述移动设备接收所述信标消息的时间。所述距离信息包括如下的至少一种: 所述移动设备与所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距离值的变化信息。所述时间信息包括如下的至少一种:所述移动设备接收到所述信标消息的时 间、所述移动设备在所述信标设备的信号覆盖区域内的时间。Specifically, the beacon data may include at least one of the following: the distance between the mobile device and the beacon device, or the time when the mobile device receives the beacon message. The distance information includes at least one of the following: a distance value between the mobile device and the beacon device, and change information of the distance value between the mobile device and the beacon device. The time information includes at least one of the following: the time when the mobile device receives the beacon message, and the time when the mobile device is within the signal coverage area of the beacon device.
则,触发规则可以为如下的一种或多种的组合:所述移动设备与所述信标设备之间的 距离值满足预设条件,所述移动设备与所述信标设备之间的距离值的变化信息满足预设条 件,所述移动设备接收到所述信标消息的时间满足预设条件,所述移动设备在所述信标设备的信号覆盖区域内的时间满足预设条件。Then, the triggering rule may be one or a combination of the following: the distance value between the mobile device and the beacon device satisfies the preset condition, the distance between the mobile device and the beacon device The value change information satisfies the preset condition, the time when the mobile device receives the beacon message satisfies the preset condition, and the time when the mobile device is within the signal coverage area of the beacon device satisfies the preset condition.
本申请实施例中,在触发调用第三方服务的过程中,在服务器上增加了触发的预设条 件,包括但不限于所述移动设备与所述信标设备之间的距离,或和所述移动设备接收所述 信标消息的时间等满足预设条件。移动设备的应用程序扫描到特定信标消息时,会将相关的信标数据发送至服务器,服务器可以基于信标数据进行规则判断,如果满足预设条件才 调用第三方服务。这样的好处是,可以在服务器上进行预设条件的配置和修改,具体的, 所述服务器可以接收条件修改信息,所述条件修改信息指示将所述预设条件修改为新的条 件;基于所述条件修改信息修改所述预设条件。由于判断是否满足预设条件的行为不是移动设备侧来执行的,APP并不需要感知预设条件需要进行怎样的修改,当预设条件需要修 改时,只需要服务器进行相应的修改即可,大大降低了整个过程的耗时。当应用APP开发者需要修改上述预设条件需要修改时,不需要修改App的业务逻辑,也就不需要重新在应用市场上发布App,不需要让用户升级App,直接在服务器侧修改预设条件即可,大大降 低了整个过程的耗时。In the embodiment of the present application, in the process of triggering the call of third-party services, preset conditions for triggering are added to the server, including but not limited to the distance between the mobile device and the beacon device, or the distance between the mobile device and the beacon device, or the distance between the mobile device and the beacon device. The time at which the mobile device receives the beacon message satisfies preset conditions. When the mobile device application scans a specific beacon message, it will send the relevant beacon data to the server. The server can make rule judgments based on the beacon data and only call third-party services if the preset conditions are met. The advantage of this is that the preset conditions can be configured and modified on the server. Specifically, the server can receive condition modification information indicating that the preset conditions are modified to new conditions; based on the The condition modification information modifies the preset condition. Since the behavior of determining whether the preset conditions are met is not performed by the mobile device, the APP does not need to sense how the preset conditions need to be modified. When the preset conditions need to be modified, the server only needs to make corresponding modifications, which greatly Reduces the time consumption of the entire process. When the application developer needs to modify the above preset conditions, there is no need to modify the business logic of the App, and there is no need to re-publish the App on the application market, and there is no need to let users upgrade the App. The preset conditions can be modified directly on the server side. That’s it, greatly reducing the time-consuming process of the entire process.
接下来给出一种预配置的映射关系的示意:Next, a diagram of the preconfigured mapping relationship is given:
其中,信标标识对应于信标附件、触发目标和触发条件。其中触发目标包括但不限于 三方云服务的RESTful地址(还可以是RPC,Remote Procedure Call,远程过程调用等其他 方式),触发条件包括且不限于应用程序使用者扫描到信标设备的时间、应用程序使用者 在信标设备周围的逗留时间、应用程序使用者与信标设备的距离、距离的变化趋势等等。Among them, the beacon identification corresponds to the beacon attachment, trigger target and trigger condition. The trigger target includes but is not limited to the RESTful address of the third-party cloud service (it can also be RPC, Remote Procedure Call, remote procedure call and other methods), and the trigger condition includes but is not limited to the time when the application user scans the beacon device, the application The time the application user stays around the beacon device, the distance between the application user and the beacon device, the changing trend of the distance, etc.
参照图4,图4位本申请实施例提供的一种信标数据处理的流程示意,如图4中示出的那样,信标设备401发送信标消息到移动设备402,移动设备将携带目标信标标识的请 求发送至服务器403(云平台)处,服务器可以基于映射关系,确定出目标信标标识对应 的信标附件以及在信标数据满足预设条件时,确定目标信标标识对应的第三方服务,并将 信标附件返回至移动设备402,以及调用相应的第三方服务404。Referring to Figure 4, Figure 4 is a schematic flow diagram of a beacon data processing provided by an embodiment of the present application. As shown in Figure 4, the beacon device 401 sends a beacon message to the mobile device 402, and the mobile device will carry the target The request for the beacon identification is sent to the server 403 (cloud platform). The server can determine the beacon attachment corresponding to the target beacon identification based on the mapping relationship and determine the beacon attachment corresponding to the target beacon identification when the beacon data meets the preset conditions. The third-party service returns the beacon attachment to the mobile device 402 and calls the corresponding third-party service 404.
本申请实施例中,若所述服务器确定所述信标数据满足预设条件,则基于所述目标信 标标识,调用对应的第三方服务。可选的,第三方服务可以向服务器发送回复数据,所述 服务器,可以接收来自所述第三方服务的回复数据,并向所述移动设备发送所述回复数据;相应的,所述移动设备可以触发所述回复数据相对应的呈现。In this embodiment of the present application, if the server determines that the beacon data meets the preset conditions, it calls the corresponding third-party service based on the target beacon identification. Optionally, the third-party service can send reply data to the server, and the server can receive the reply data from the third-party service and send the reply data to the mobile device; accordingly, the mobile device can Trigger the corresponding presentation of the reply data.
可选的,第三方服务可以直接向所述移动设备发送所述回复数据;相应的,所述移动 设备可以触发所述回复数据相对应的呈现。数据的呈现方式可以不局限于使数据显示在移 动设备的屏幕上。在一些具体实施中,呈现消息数据可包括提供一个或多个通知。消息数据的呈现可包括力反馈(例如,振动指示)、音频输出(例如,嘟嘟响、音乐等)、视觉输出(例 如,闪光),或它们的组合。在一些具体实施中,消息数据可包括任何内容,包括但不限于 文本、图形、数字图像、音频、视频和动画。消息数据可以音频输出的形式呈现在移动设备上,以与不具有显示能力的移动设备协作。在一些具体实施中,呈现消息数据可包括检索对应于消息数据中所包括的一个或多个值的内容;以及使该内容显示在屏幕上。Optionally, the third-party service can directly send the reply data to the mobile device; accordingly, the mobile device can trigger the corresponding presentation of the reply data. The presentation of data may not be limited to having the data displayed on the screen of a mobile device. In some implementations, presenting message data may include providing one or more notifications. The presentation of message data may include force feedback (e.g., vibration indication), audio output (e.g., beeps, music, etc.), visual output (e.g., flash), or a combination thereof. In some implementations, message data may include any content, including but not limited to text, graphics, digital images, audio, video, and animation. Message data can be presented on the mobile device in the form of audio output to collaborate with mobile devices that do not have display capabilities. In some implementations, presenting the message data may include retrieving content corresponding to one or more values included in the message data; and causing the content to be displayed on the screen.
参照图5,图5为本申请实施例提供的一种系统示意,如图5中示出的那样,服务器可以包括规则/触发器配置引擎501、信标附件推送引擎502、第三方服务触发引擎503、 规则/触发器应用引擎504以及存储器505;其中,应用开发者(例如图5中示出的应用开 发者1或应用开发者2)可以基于规则/触发器配置引擎501配置规则/触发器配置,以使得规则/触发器配置存储至存储器505中,其中,规则/触发器配置可以为上述目标信标标识 与第三方服务之间的映射关系,以及触发第三方服务需要满足的预设条件。应用(例如图 5中示出的应用1和应用2)可以将信标消息发送至服务器,规则/触发器应用引擎504可 以基于存储器505中的规则/触发器配置,确定信标消息中目标信标标识对应的信标附件, 以及确定信标消息携带的信标数据是否满足预设条件,以及基于信标附件推送引擎502, 将信标附件返回至相应的应用(例如图5中示出的应用1或应用2),以及规则/触发器应 用引擎504在确定信标消息携带的信标数据是否满足预设条件时,第三方服务触发引擎503 触发调用对应的第三方服务。Referring to Figure 5, Figure 5 is a system diagram provided by an embodiment of the present application. As shown in Figure 5, the server can include a rule/trigger configuration engine 501, a beacon attachment push engine 502, and a third-party service trigger engine. 503. Rule/trigger application engine 504 and memory 505; wherein, application developers (such as application developer 1 or application developer 2 shown in Figure 5) can configure rules/triggers based on the rule/trigger configuration engine 501 Configuration, so that the rule/trigger configuration is stored in the memory 505, where the rule/trigger configuration can be the mapping relationship between the above-mentioned target beacon identifier and the third-party service, and the preset conditions that need to be met to trigger the third-party service. . Applications (such as Application 1 and Application 2 shown in Figure 5) can send beacon messages to the server, and the rule/trigger application engine 504 can determine the target information in the beacon message based on the rule/trigger configuration in the memory 505. The beacon attachment corresponding to the beacon identification, and determining whether the beacon data carried by the beacon message meets the preset conditions, and based on the beacon attachment push engine 502, returns the beacon attachment to the corresponding application (such as shown in Figure 5 Application 1 or Application 2), and when the rule/trigger application engine 504 determines whether the beacon data carried in the beacon message meets the preset conditions, the third-party service trigger engine 503 triggers the call to the corresponding third-party service.
更细节的,本申请实施例中,服务器可以提供一个给应用程序开发者配置规则的平台, 该规则包含若干状态,以及状态之间的跳转关系、跳转条件。例如,信标云平台提供了若 干的规则模板,同时允许开发者自定义规则逻辑。信标云平台使用数据库等技术存储消息规则。可选的,信标云平台可以提供RESTful接口(而不是Web界面),供开发者配置信标ID、信标附件消息、规则触发条件、规则触发行为等。In more detail, in this embodiment of the application, the server can provide a platform for application developers to configure rules. The rules include several states, as well as jump relationships and jump conditions between states. For example, the Beacon Cloud Platform provides several rule templates and allows developers to customize rule logic. The Beacon Cloud Platform uses database and other technologies to store message rules. Optionally, the beacon cloud platform can provide a RESTful interface (instead of a Web interface) for developers to configure beacon IDs, beacon attachment messages, rule triggering conditions, rule triggering behaviors, etc.
参照图6,图6为本申请实施例提供的一种规则/触发器配置的管理员接口示意,如图 6中示出的那样,管理员接口的一些实施例可以是基于web的图形用户界面或图形用户界 面(graphical user interface,简GUI),GUI被设计为与管理员(例如应用开发者等)交互,以实现规则/触发器的配置。在一些实施例中,GUI可以由计算设备上的浏览器应用呈现给 管理员。具体的,规则/触发器配置的界面可以包括触发规则的配置界面601,例如,图6中示出的,可以再规则/触发器配置的界面上进行“规则名称”以及“规则条件”的配置,其中“规则条件”可以包括例如“特定时间内”和“扫描到信标”的配置,“特定时间内” 对应的输入框内可以输入与时间相关的触发条件,例如接收到信标消息的时间为周末上午 等等,“扫描到信标”对应的输入框内可以输入对应的信标标识。此外,规则/触发器配置 的界面可以包括触发内容的配置界面602,例如,可以在图6中示出的“满足后执行”对 应的输入框内可以输入当上述规则(“特定时间内”和“扫描到信标”相对应的规则)满 足时,触发调用的第三方服务,第三方服务可以为第三方服务所在的地址、应用编程接口 API等等。Referring to Figure 6, Figure 6 is a schematic diagram of an administrator interface for rule/trigger configuration provided by an embodiment of the present application. As shown in Figure 6, some embodiments of the administrator interface may be a web-based graphical user interface. Or graphical user interface (GUI), the GUI is designed to interact with administrators (such as application developers, etc.) to implement rule/trigger configuration. In some embodiments, the GUI may be presented to the administrator by a browser application on the computing device. Specifically, the rule/trigger configuration interface may include a trigger rule configuration interface 601. For example, as shown in Figure 6, the "rule name" and "rule conditions" can be configured on the rule/trigger configuration interface. , where "rule conditions" can include configurations such as "within a specific time" and "scanning for beacons". In the input box corresponding to "within a specific time", time-related trigger conditions can be entered, such as when a beacon message is received. The time is weekend morning, etc. The corresponding beacon ID can be entered in the input box corresponding to "Scan for beacon". In addition, the interface for rule/trigger configuration may include a configuration interface 602 for triggering content. For example, you may enter in the input box corresponding to "Execute after satisfaction" shown in Figure 6 when the above-mentioned rules ("within a specific time" and When the rules corresponding to "scanning for beacons") are met, the third-party service that is called is triggered. The third-party service can be the address of the third-party service, application programming interface API, etc.
需要指出的是,图6中GUI的控件设置以及排布仅为一种示意,并不构成对本申请的 限定。It should be pointed out that the control settings and arrangement of the GUI in Figure 6 are only for illustration and do not constitute a limitation on the present application.
图7示出了比图3更多的细节,具体的,移动设备当接近信标设备701时,其上的应用程序(或底层的服务)可以扫描到信标信号,并获取携带有目标信标标识702的信标消息,并生成对应的信标数据,将携带有目标信标标识和信标数据的信标消息转发至服务器703,若若确定所述信标数据满足预设条件,则基于所述目标信标标识,调用对应的第三 方服务704,并可以接收到第三方服务返回的回复数据705,以及将回复数据705发送至 移动设备706,或者,移动设备可以直接接收到第三方服务返回的回复数据707,之后, 移动设备可以基于回复数据707进行相应的呈现708。Figure 7 shows more details than Figure 3. Specifically, when a mobile device approaches the beacon device 701, the application program (or underlying service) on it can scan the beacon signal and obtain the target information carrying it. The beacon message carrying the target beacon identification 702 is generated, and the corresponding beacon data is generated, and the beacon message carrying the target beacon identification and beacon data is forwarded to the server 703. If it is determined that the beacon data meets the preset conditions, based on The target beacon identifier calls the corresponding third-party service 704, and can receive the reply data 705 returned by the third-party service, and send the reply data 705 to the mobile device 706, or the mobile device can directly receive the third-party service After returning the reply data 707, the mobile device can perform corresponding presentation 708 based on the reply data 707.
具体的,本申请实施例找那个,移动设备,被配置为接收来自信标设备的信标消息, 所述信标消息包括所述目标信标标识;基于所述信标消息,获取信标数据,其中所述信标 数据包括如下的至少一种:所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时间、或所述移动设备的身份标识;向所述服务器发送所述目标信标标 识和所述信标数据;以及,所述服务器,被配置为若确定所述信标数据满足预设条件,则基于所述目标信标标识,调用对应的第三方服务。Specifically, the embodiment of this application finds that the mobile device is configured to receive a beacon message from a beacon device, where the beacon message includes the target beacon identification; based on the beacon message, the beacon data is obtained , wherein the beacon data includes at least one of the following: the distance between the mobile device and the beacon device, the time when the mobile device receives the beacon message, or the identity of the mobile device identification; sending the target beacon identification and the beacon data to the server; and, the server is configured to, if it is determined that the beacon data satisfies a preset condition, based on the target beacon identification, Call the corresponding third-party service.
在一种可选的实现中,所述距离信息包括如下的至少一种:In an optional implementation, the distance information includes at least one of the following:
所述移动设备与所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距 离值的变化信息。The distance value between the mobile device and the beacon device, and the change information of the distance value between the mobile device and the beacon device.
在一种可选的实现中,所述时间信息包括如下的至少一种:In an optional implementation, the time information includes at least one of the following:
所述移动设备接收到所述信标消息的时间、所述移动设备在所述信标设备的信号覆盖区域内的时间。The time when the mobile device receives the beacon message and the time when the mobile device is within the signal coverage area of the beacon device.
在一种可选的实现中,所述服务器,被配置为基于预先配置的映射关系,确定所述目 标信标标识对应的第三方服务;其中,所述映射关系包括多个信标标识以及每个信标标识 对应的第三方服务。In an optional implementation, the server is configured to determine the third-party service corresponding to the target beacon identification based on a preconfigured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and each A beacon identifies the corresponding third-party service.
在一种可选的实现中,所述服务器,被配置为基于所述目标信标标识,确定对应的第 三方服务;基于所述信标数据,调用所述第三方服务。In an optional implementation, the server is configured to determine the corresponding third-party service based on the target beacon identification; and call the third-party service based on the beacon data.
在一种可选的实现中,所述服务器,被配置为接收来自所述第三方服务的回复数据; 向所述移动设备发送所述回复数据;相应的,所述移动设备,被配置为触发所述回复数据 相对应的呈现。In an optional implementation, the server is configured to receive reply data from the third-party service; send the reply data to the mobile device; correspondingly, the mobile device is configured to trigger The reply data is presented accordingly.
在一种可选的实现中,所述移动设备,被配置为接收来自所述第三方服务的回复数据; 触发所述回复数据相对应的呈现。In an optional implementation, the mobile device is configured to receive reply data from the third-party service; and trigger presentation corresponding to the reply data.
本申请实施例提供了一种系统,所述系统包括:移动设备,被配置为接收来自信标设 备的目标信标标识;向服务器发送所述目标信标标识;以及,所述服务器,被配置为基于所述目标信标标识,调用对应的第三方服务。由服务器侧执行第三方服务的调用,而不是在移动设备需要在接收到消息附件之后,由移动设备进行第三方服务的调用,降低了业务 时延。Embodiments of the present application provide a system, which includes: a mobile device configured to receive a target beacon identification from a beacon device; sending the target beacon identification to a server; and the server is configured to In order to call the corresponding third-party service based on the target beacon identification. The server side performs the call to the third-party service instead of the mobile device needing to call the third-party service after receiving the message attachment, which reduces business latency.
接下来以两个具体的场景作为示意,对本申请实施例提供的信标消息处理方法进行描 述,以购物商场的场景为例,收银台有多个通道,在每个通道部署一个信标设备,消费者 在收银通道排队的时候获取到营销信息,例如“使用华为钱包付款享9折优惠”,同时信标设备后台服务器统计收银台的人数,如果收银通道排队人数太多,则通知管理员,协调更多的收银员,开放更多收银通道,减少消费者排队时间。Next, two specific scenarios are used as illustrations to describe the beacon message processing method provided by the embodiment of the present application. Taking the scene of a shopping mall as an example, the checkout counter has multiple channels, and a beacon device is deployed in each channel. When consumers queue up at the checkout channel, they receive marketing information, such as "Use Huawei Wallet to pay and enjoy a 10% discount." At the same time, the background server of the beacon device counts the number of people at the checkout counter. If there are too many people queuing up at the checkout channel, the administrator is notified. Coordinate more cashiers, open more cashier channels, and reduce consumers' queuing time.
开发者在服务器(信标云平台)上部署规则:应用程序使用者扫描到信标信号(即移 动设备上报信标消息)时(代表有客户进入收银通道),计数加一。应用程序使用者由近到远离开信标设备的范围时(代表客户离开收银通道),计数减一。如果计数超过200, 则调用一个RESTful地址,实现向商场管理员发送通知的功能。The developer deploys rules on the server (beacon cloud platform): when the application user scans the beacon signal (that is, the mobile device reports the beacon message) (meaning that a customer enters the checkout channel), the count is increased by one. When the application user leaves the range of the beacon device from near to far (representing the customer leaving the checkout lane), the count is decremented by one. If the count exceeds 200, a RESTful address is called to implement the function of sending notifications to the mall administrator.
信标云平台的可选实现方案为:提供一个Web界面供开发者配置信标的相应功能。开 发者登录该Web界面。信标云平台提供一个配置界面,供开发者填写信标标识、信标消息附件、触发第三方服务调用的规则逻辑。在规则逻辑界面中,信标云平台可以提供若干预定义好的条件,例如“扫描到信标的人数”,开发者选定条件后,可以设定目标为“200”, 设定消息动作为“发送邮件”,并输入邮箱地址。The optional implementation solution of the beacon cloud platform is to provide a web interface for developers to configure the corresponding functions of the beacon. Developers log in to the web interface. The beacon cloud platform provides a configuration interface for developers to fill in beacon identification, beacon message attachments, and rule logic that triggers third-party service calls. In the rule logic interface, the beacon cloud platform can provide some predefined conditions, such as "the number of people who scanned the beacon". After the developer selects the conditions, he can set the target as "200" and the message action as " Send Email" and enter your email address.
信标云平台通过数据库记录开发者输入的内容。信标云平台给开发者提供SDK用于 开发应用程序。消费者使用应用程序时,信标SDK自动周期性的扫描附近的信标设备,扫描到特定信标时,信标SDK向信标云平台发送消息。信标云平台接收到请求消息时, 从数据库查询该信标标识对应的消息附件,并构造响应数据包发送给手机应用程序。与此同时,信标云平台从数据库中查询该信标对应的消息规则,更新信标附近人数计数,并判 断该计数是否超过开发者预设的阈值,则向指定邮箱地址发送邮件。The Beacon Cloud Platform records the content input by developers through the database. The Beacon Cloud Platform provides developers with an SDK for developing applications. When consumers use the application, the beacon SDK automatically and periodically scans nearby beacon devices. When a specific beacon is scanned, the beacon SDK sends a message to the beacon cloud platform. When the beacon cloud platform receives the request message, it queries the message attachment corresponding to the beacon identifier from the database, and constructs a response data packet and sends it to the mobile application. At the same time, the beacon cloud platform queries the message rules corresponding to the beacon from the database, updates the count of people near the beacon, and determines whether the count exceeds the threshold preset by the developer, then sends an email to the specified email address.
在另一种场景中,Beacon扫描功能可以由App以外的三方程序来实现(例如底层服务 提供的常驻进程)。从而使得手机使用者不需要安装目标App,目标App的开发者将其代码逻辑部署为Beacon云平台的Applet,即可实现特定功能。In another scenario, the Beacon scanning function can be implemented by a third-party program other than the App (such as a resident process provided by the underlying service). As a result, mobile phone users do not need to install the target App. The developer of the target App deploys its code logic as an Applet on the Beacon cloud platform to implement specific functions.
具体的,当扫描到附近的Beacon时,可以向Beacon云平台上报对应消息,说明该手机遇到了某个Beacon。App开发者在Beacon云平台上配置他们所拥有的Beacon对应的规 则逻辑。具体配置方法可以使用上述实施例中提供的方案。执行过程可以如图8所示,例 如某品牌家具卖场中部署Beacon,但是消费者手机上没有安装该品牌的App。扫描周边的Beacon,并且发送给Beacon云平台进行解析,云平台查询被扫描到的Beacon对应的消息 规则,将Beacon扫描事件分发给该品牌的后端服务器。该品牌的后端服务器可以进行人 流统计、用户购物行为分析等处理。Specifically, when a nearby Beacon is scanned, a corresponding message can be reported to the Beacon cloud platform, indicating that the mobile phone has encountered a certain Beacon. App developers configure the rule logic corresponding to the Beacon they own on the Beacon cloud platform. The specific configuration method may use the solutions provided in the above embodiments. The execution process can be shown in Figure 8. For example, Beacon is deployed in a certain brand of furniture store, but the brand's App is not installed on the consumer's mobile phone. Scan surrounding Beacons and send them to the Beacon cloud platform for analysis. The cloud platform queries the message rules corresponding to the scanned Beacons and distributes the Beacon scanning events to the back-end server of the brand. The brand's back-end server can perform processing such as people flow statistics and user shopping behavior analysis.
参照图9,图9为本申请实施例提供的一种信标消息处理方法的流程示意,如图9中示出的那样,所述方法应用于服务器,本申请实施例提供的信标消息处理方法包括:Referring to Figure 9, Figure 9 is a flow diagram of a beacon message processing method provided by an embodiment of the present application. As shown in Figure 9, the method is applied to a server. The beacon message processing method provided by an embodiment of the present application Methods include:
901、接收到来自移动设备的目标信标标识。901. Receive the target beacon identification from the mobile device.
902、基于所述目标信标标识,调用对应的第三方服务。902. Based on the target beacon identification, call the corresponding third-party service.
在一种可选的实现中,可以基于预先配置的映射关系,确定所述目标信标标识对应的 第三方服务;其中,所述映射关系包括多个信标标识以及每个信标标识对应的第三方服务。In an optional implementation, the third-party service corresponding to the target beacon identification can be determined based on a preconfigured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and a corresponding service corresponding to each beacon identification. Third Party Services.
在一种可选的实现中,可以向所述第三方服务所在的地址发送目标消息,所述目标消 息为基于所述信标标识生成的。In an optional implementation, a target message may be sent to the address where the third-party service is located, and the target message is generated based on the beacon identification.
在一种可选的实现中,可以调用所述第三方服务对应的应用编程接口API。In an optional implementation, the application programming interface API corresponding to the third-party service can be called.
在一种可选的实现中,可以向所述第三方服务所在的地址发起基于远程过程调用协议 RPC的调用。In an optional implementation, a call based on the remote procedure call protocol RPC can be initiated to the address where the third-party service is located.
在一种可选的实现中,可以接收来自所述移动设备的信标数据,其中所述信标数据包 括如下的至少一种:所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述 信标消息的时间、或所述移动设备的身份标识;基于所述目标信标标识和所述信标数据,调用对应的第三方服务。In an optional implementation, beacon data from the mobile device may be received, wherein the beacon data includes at least one of the following: a distance between the mobile device and the beacon device, and The time when the mobile device receives the beacon message, or the identity of the mobile device; based on the target beacon identity and the beacon data, call the corresponding third-party service.
在一种可选的实现中,可以基于所述目标信标标识,确定对应的第三方服务;基于所 述信标数据,调用所述第三方服务。In an optional implementation, the corresponding third-party service can be determined based on the target beacon identification; and the third-party service can be called based on the beacon data.
在一种可选的实现中,可以接收来自所述第三方服务的回复数据;向所述移动设备发 送所述回复数据,以便所述移动设备触发所述回复数据相对应的呈现。In an optional implementation, reply data from the third-party service may be received; and the reply data may be sent to the mobile device so that the mobile device triggers the corresponding presentation of the reply data.
步骤901以及步骤902的相关描述可以参照上述实施例中图3至图8相关的描述,这里不再赘述。The relevant descriptions of step 901 and step 902 may refer to the descriptions related to FIGS. 3 to 8 in the above embodiments, and will not be described again here.
参照图10,图10为本申请实施例提供的一种信标消息处理方法的流程示意,如图10 中示出的那样,所述方法应用于服务器,本申请实施例提供的信标消息处理方法包括:Referring to Figure 10, Figure 10 is a flow diagram of a beacon message processing method provided by an embodiment of the present application. As shown in Figure 10, the method is applied to a server. The beacon message processing method provided by an embodiment of the present application Methods include:
1001、接收来自移动设备的目标信标标识和信标数据,其中所述信标数据包括如下的 至少一种:所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息 的时间、或所述移动设备的身份标识。1001. Receive a target beacon identification and beacon data from a mobile device, where the beacon data includes at least one of the following: the distance between the mobile device and the beacon device, and the distance received by the mobile device. The time of the beacon message or the identity of the mobile device.
1002、在所述信标数据满足预设条件的情况下,基于所述目标信标标识,调用对应的 第三方服务。1002. When the beacon data meets the preset conditions, call the corresponding third-party service based on the target beacon identification.
在一种可选的实现中,所述距离信息包括如下的至少一种:In an optional implementation, the distance information includes at least one of the following:
所述移动设备与所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距 离值的变化信息。The distance value between the mobile device and the beacon device, and the change information of the distance value between the mobile device and the beacon device.
在一种可选的实现中,所述时间信息包括如下的至少一种:In an optional implementation, the time information includes at least one of the following:
所述移动设备接收到所述信标消息的时间、所述移动设备在所述信标设备的信号覆盖 区域内的时间。The time when the mobile device receives the beacon message and the time when the mobile device is within the signal coverage area of the beacon device.
在一种可选的实现中,可以基于预先配置的映射关系,确定所述目标信标标识对应的 第三方服务;其中,所述映射关系包括多个信标标识以及每个信标标识对应的第三方服务。In an optional implementation, the third-party service corresponding to the target beacon identification can be determined based on a preconfigured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and a corresponding service corresponding to each beacon identification. Third Party Services.
在一种可选的实现中,可以基于所述目标信标标识,确定对应的第三方服务;基于所 述信标数据,调用所述第三方服务。In an optional implementation, the corresponding third-party service can be determined based on the target beacon identification; and the third-party service can be called based on the beacon data.
在一种可选的实现中,可以接收来自所述第三方服务的回复数据;In an optional implementation, reply data from the third-party service may be received;
向所述移动设备发送所述回复数据,以便所述移动设备触发所述回复数据相对应的呈 现。The reply data is sent to the mobile device so that the mobile device triggers presentation corresponding to the reply data.
在一种可选的实现中,还可以接收条件修改信息,所述条件修改信息指示将所述预设 条件修改为新的条件;基于所述条件修改信息修改所述预设条件。In an optional implementation, condition modification information may also be received, and the condition modification information indicates that the preset condition is modified to a new condition; and the preset condition is modified based on the condition modification information.
步骤1001以及步骤1002的相关描述可以参照上述实施例中图3至图8以及相关的描 述,这里不再赘述。For relevant descriptions of step 1001 and step 1002, please refer to Figures 3 to 8 and related descriptions in the above embodiment, and will not be described again here.
参照图11,图11为本申请实施例提供的一种信标消息处理装置的示意,如图11中示 出的那样,本申请实施例提供的信标消息处理装置1100包括:Referring to Figure 11, Figure 11 is a schematic diagram of a beacon message processing device provided by an embodiment of the present application. As shown in Figure 11, a beacon message processing device 1100 provided by an embodiment of the present application includes:
接收模块1101,用于接收到来自移动设备的目标信标标识。The receiving module 1101 is used to receive the target beacon identification from the mobile device.
调用模块1102,用于基于所述目标信标标识,调用对应的第三方服务。The calling module 1102 is used to call the corresponding third-party service based on the target beacon identification.
在一种可选的实现中,所述装置还包括:In an optional implementation, the device further includes:
确定模块1103,用于基于预先配置的映射关系,确定所述目标信标标识对应的第三方 服务;其中,所述映射关系包括多个信标标识以及每个信标标识对应的第三方服务。The determination module 1103 is configured to determine the third-party service corresponding to the target beacon identification based on a preconfigured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and the third-party service corresponding to each beacon identification.
在一种可选的实现中,所述调用模块1102,用于向所述第三方服务所在的地址发送目 标消息,所述目标消息为基于所述信标标识生成的。In an optional implementation, the calling module 1102 is configured to send a target message to the address where the third-party service is located, where the target message is generated based on the beacon identification.
在一种可选的实现中,所述调用模块1102,用于调用所述第三方服务对应的应用编程 接口API。In an optional implementation, the calling module 1102 is used to call the application programming interface API corresponding to the third-party service.
在一种可选的实现中,所述调用模块1102,用于向所述第三方服务所在的地址发起基 于远程过程调用协议RPC的调用。In an optional implementation, the calling module 1102 is configured to initiate a call based on the remote procedure call protocol RPC to the address where the third-party service is located.
在一种可选的实现中,所述接收模块1101,用于接收来自所述移动设备的信标数据, 其中所述信标数据包括如下的至少一种:In an optional implementation, the receiving module 1101 is configured to receive beacon data from the mobile device, where the beacon data includes at least one of the following:
所述移动设备与所述信标设备之间的距离、和所述移动设备接收所述信标消息的时 间、或所述移动设备的身份标识;The distance between the mobile device and the beacon device, the time when the mobile device receives the beacon message, or the identity of the mobile device;
基于所述目标信标标识和所述信标数据,调用对应的第三方服务。Based on the target beacon identification and the beacon data, the corresponding third-party service is called.
在一种可选的实现中,所述调用模块1102,用于基于所述目标信标标识,确定对应的 第三方服务;基于所述信标数据,调用所述第三方服务。In an optional implementation, the calling module 1102 is configured to determine the corresponding third-party service based on the target beacon identification; and call the third-party service based on the beacon data.
在一种可选的实现中,所述接收模块1101,用于接收来自所述第三方服务的回复数据;In an optional implementation, the receiving module 1101 is configured to receive reply data from the third-party service;
发送模块,用于向所述移动设备发送所述回复数据,以便所述移动设备触发所述回复 数据相对应的呈现。A sending module, configured to send the reply data to the mobile device, so that the mobile device triggers the corresponding presentation of the reply data.
本申请实施例提供的信标消息处理装置还可以包括:The beacon message processing device provided by the embodiment of the present application may also include:
接收模块1101,用于接收来自移动设备的目标信标标识和信标数据,其中所述信标数 据包括如下的至少一种:所述移动设备与所述信标设备之间的距离、和所述移动设备接收 所述信标消息的时间、或所述移动设备的身份标识;以及,Receiving module 1101, configured to receive a target beacon identification and beacon data from a mobile device, where the beacon data includes at least one of the following: the distance between the mobile device and the beacon device, and the The time when the mobile device receives the beacon message, or the identity of the mobile device; and,
调用模块1102,用于若确定所述信标数据满足预设条件,则基于所述目标信标标识, 调用对应的第三方服务。The calling module 1102 is configured to call the corresponding third-party service based on the target beacon identification if it is determined that the beacon data meets the preset conditions.
在一种可选的实现中,所述距离信息包括如下的至少一种:In an optional implementation, the distance information includes at least one of the following:
所述移动设备与所述信标设备之间的距离值、所述移动设备与所述信标设备之间的距 离值的变化信息。The distance value between the mobile device and the beacon device, and the change information of the distance value between the mobile device and the beacon device.
在一种可选的实现中,所述时间信息包括如下的至少一种:In an optional implementation, the time information includes at least one of the following:
所述移动设备接收到所述信标消息的时间、所述移动设备在所述信标设备的信号覆盖 区域内的时间。The time when the mobile device receives the beacon message and the time when the mobile device is within the signal coverage area of the beacon device.
在一种可选的实现中,所述装置还包括:In an optional implementation, the device further includes:
确定模块,基于预先配置的映射关系,确定所述目标信标标识对应的第三方服务;其 中,所述映射关系包括多个信标标识以及每个信标标识对应的第三方服务。The determination module determines the third-party service corresponding to the target beacon identification based on the pre-configured mapping relationship; wherein the mapping relationship includes multiple beacon identifications and the third-party service corresponding to each beacon identification.
在一种可选的实现中,所述调用模块1102,用于基于所述目标信标标识,确定对应的 第三方服务;基于所述信标数据,调用所述第三方服务。In an optional implementation, the calling module 1102 is configured to determine the corresponding third-party service based on the target beacon identification; and call the third-party service based on the beacon data.
在一种可选的实现中,所述接收模块1101,用于接收来自所述第三方服务的回复数据;In an optional implementation, the receiving module 1101 is configured to receive reply data from the third-party service;
发送模块,用于向所述移动设备发送所述回复数据,以便所述移动设备触发所述回复 数据相对应的呈现。A sending module, configured to send the reply data to the mobile device, so that the mobile device triggers the corresponding presentation of the reply data.
在一种可选的实现中,所述接收模块1101,用于接收条件修改信息,所述条件修改信 息指示将所述预设条件修改为新的条件;基于所述条件修改信息修改所述预设条件。In an optional implementation, the receiving module 1101 is configured to receive condition modification information indicating that the preset condition is modified to a new condition; and the preset condition is modified based on the condition modification information. Set conditions.
本申请对提及的移动设备的类型不做具体限定,移动设备可以为手机、平板电脑、个 人数字助理(personal digital assistant,PDA)、可穿戴设备、膝上型计算机(laptop)等便携式 移动设备。便携式移动设备的示例性实施例包括但不限于搭载iOS、android、microsoft或者其他操作系统的便携式移动设备。上述便携式移动设备也可以是其他便携式移动设备, 诸如具有触敏表面(例如触控面板)的膝上型计算机(laptop)等。还应当理解的是,在本申请 其他一些实施例中,移动设备也可以不是便携式移动设备,而是具有触敏表面(例如触控面 板)的台式计算机。This application does not specifically limit the type of mobile device mentioned. The mobile device can be a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer (laptop) and other portable mobile devices. . Exemplary embodiments of portable mobile devices include, but are not limited to, portable mobile devices running iOS, Android, Microsoft, or other operating systems. The above-mentioned portable mobile device may also be other portable mobile devices, such as a laptop computer (laptop) with a touch-sensitive surface (such as a touch panel). It should also be understood that in some other embodiments of the present application, the mobile device may not be a portable mobile device, but a desktop computer with a touch-sensitive surface (such as a touch panel).
参见图12,图12示出了本申请实施例提供的电子设备100的结构示意图。Referring to Figure 12, Figure 12 shows a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142, 天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受 话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示 器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM) 卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气 压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器 180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨 传导传感器180M等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本 申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部 件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU), 图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理 器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令 的控制。The controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110 中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或 数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了 重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110. If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated accesses are avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接 口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户 标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus, USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or Universal serial bus (USB) interface, etc.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构, 或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of this application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
图13是本申请实施例的电子设备100的软件结构框图。Figure 13 is a software structure block diagram of the electronic device 100 according to the embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件 接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应 用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has clear roles and division of labor. The layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime (Android runtime) and system libraries, and kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图13所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN, 蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 13, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图13所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 13, the application framework layer can include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏, 锁定屏幕,截取屏幕等。在本申请实施例中,窗口管理器可以获取电子设备100提供的两 个显示屏的大小,并统一管理两个显示屏显示的内容。A window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc. In this embodiment of the present application, the window manager can obtain the sizes of the two display screens provided by the electronic device 100, and uniformly manage the content displayed on the two display screens.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以 包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make this data accessible to applications. Said data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于 构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示 界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, etc. View systems can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断 等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, call status management (including connected, hung up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消 息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,移动设备振动,指示灯闪烁等。The notification manager allows applications to display notification information in the status bar, which can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text information is prompted in the status bar, a prompt sound is emitted, the mobile device vibrates, and the indicator light flashes, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心 库。The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架 层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程 管理,安全和异常的管理,以及垃圾回收等功能。The application layer and application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。System libraries can include multiple functional modules. For example: surface manager (surface manager), media libraries (Media Libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的 融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可 以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, composition, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D Graphics Engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动, 传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
图14示出了一种服务器1400的结构示意图。该服务器14可以实现上文中涉及的服务器的功能。该服务器1400可以包括存储器1401、处理器1402和收发器1403。其中, 存储器1401、处理器1402和收发器1403通过总线连接。存储器1401用于存储计算机指 令,当该计算机指令被处理器1402执行时,处理器1402可以执行图9以及图10所示的 实施例中的执行步骤。其中,处理器1402还可以执行存储器1401中存储的指令,触发收 发器1403执行与其他设备建立通信连接的操作。Figure 14 shows a schematic structural diagram of a server 1400. The server 14 can implement the functions of the server mentioned above. The server 1400 may include a memory 1401, a processor 1402, and a transceiver 1403. Among them, the memory 1401, the processor 1402 and the transceiver 1403 are connected through a bus. The memory 1401 is used to store computer instructions. When the computer instructions are executed by the processor 1402, the processor 1402 can perform the execution steps in the embodiments shown in Figures 9 and 10. The processor 1402 can also execute instructions stored in the memory 1401 to trigger the transceiver 1403 to perform an operation of establishing a communication connection with other devices.
收发器1403可以用于收发其它设备发送的数据。比如收发器1403可以包括接收器和 发送器。其中,接收器可以用于执行图9所示的实施例中的901、图10所示的实施例中的1001,和/或用于支持本文所描述的技术的其它过程。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。The transceiver 1403 can be used to send and receive data sent by other devices. For example, transceiver 1403 may include a receiver and a transmitter. The receiver may be used to perform 901 in the embodiment shown in FIG. 9, 1001 in the embodiment shown in FIG. 10, and/or other processes to support the technology described herein. All relevant content of each step involved in the above method embodiments can be quoted from the functional description of the corresponding functional module, and will not be described again here.
在本申请实施例对应的软件架构中,服务器也可以理解为提供信标数据以及相关处理 功能云平台,该云平台具有供开发者配置信标标识对应的消息附件、触发的第三方服务以 及对应的触发规则的功能,其中,配置方式可以是通过Web界面,也可以是通过RESTful 编程接口等等。该云平台具有接收移动设备发送的信标标识以及信标数据的功能,云平台 会基于接收到的信标数据判断云平台上“触发第三方服务的规则”是否满足,如果满足则 调用这个三方服务。具体的,可以参照上述实施例中图3至图10与服务器中相关的执行 步骤,上述云平台可以部署在服务器或者服务器集群中,这里并不限定。In the software architecture corresponding to the embodiments of this application, the server can also be understood as a cloud platform that provides beacon data and related processing functions. The cloud platform has message attachments, triggered third-party services and corresponding corresponding beacon identifiers for developers to configure. The function of triggering rules, in which the configuration method can be through the Web interface, or through the RESTful programming interface, etc. The cloud platform has the function of receiving beacon identification and beacon data sent by mobile devices. The cloud platform will determine whether the "rules for triggering third-party services" on the cloud platform are satisfied based on the received beacon data. If so, it will call the third party Serve. Specifically, reference can be made to the execution steps related to the server in Figures 3 to 10 in the above embodiments. The above cloud platform can be deployed in a server or a server cluster, which is not limited here.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装 置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described systems, devices and units can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通 过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分, 仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨 论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合 或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的 部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络 单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各 个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既 可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可 以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者 说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现 出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备 (可以是个人计算机,服务器,或者其他网络设备等)执行本申请实施例所述方法的全部或部分步骤。而前述的存储介质包括: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 the present application is essentially or 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 several instructions to cause a computer device (which may be a personal computer, a server, or other network device, etc.) to execute all or part of the steps of the method described in the embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述 实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述 各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still make the foregoing technical solutions. The technical solutions described in each embodiment may be modified, or some of the technical features may be equivalently replaced; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions in each embodiment of the present application.
Claims (26)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010544418.4A CN113810857B (en) | 2020-06-15 | 2020-06-15 | Beacon message processing method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010544418.4A CN113810857B (en) | 2020-06-15 | 2020-06-15 | Beacon message processing method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113810857A CN113810857A (en) | 2021-12-17 |
| CN113810857B true CN113810857B (en) | 2023-10-24 |
Family
ID=78944334
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010544418.4A Active CN113810857B (en) | 2020-06-15 | 2020-06-15 | Beacon message processing method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113810857B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114500634A (en) * | 2022-02-28 | 2022-05-13 | 拉扎斯网络科技(上海)有限公司 | Information interaction method, device, equipment, storage medium and computer program product |
Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103686613A (en) * | 2013-12-31 | 2014-03-26 | 何海英 | System and method for intelligent information pushing based on wireless beacons |
| CN104157019A (en) * | 2014-07-21 | 2014-11-19 | 惠州Tcl移动通信有限公司 | Indoor-positioning-technology-based check-in method and system |
| CN104918265A (en) * | 2015-05-11 | 2015-09-16 | 上海网罗电子科技有限公司 | Indoor beacon management dispensing system and method |
| CN104918216A (en) * | 2015-05-11 | 2015-09-16 | 上海网罗电子科技有限公司 | Advertisement pushing system based on position service and method |
| CN105392150A (en) * | 2014-08-29 | 2016-03-09 | 三星电子株式会社 | beacon managing method, terminal equipment, server and storage medium |
| CN105450417A (en) * | 2014-09-01 | 2016-03-30 | 阿里巴巴集团控股有限公司 | User behavior verification method and apparatus in mobile context |
| CN105745948A (en) * | 2014-03-31 | 2016-07-06 | 株式会社Ntt都科摩 | Communication system, communication terminal, communication method, and program |
| CN106231539A (en) * | 2016-07-29 | 2016-12-14 | 北京交通大学 | Travelling merchants' regional location service system based on low-power consumption Bluetooth beacon |
| CN107305672A (en) * | 2016-04-18 | 2017-10-31 | Sk普兰尼特有限公司 | Advertisement providing system, with beacon provide advertisement method and use its equipment |
| US9807726B1 (en) * | 2016-11-23 | 2017-10-31 | Yokogawa Electric Corporation | Use of low energy bluetooth beacons to locate field equipment and personnel |
| CN108475313A (en) * | 2016-12-27 | 2018-08-31 | 华为技术有限公司 | Proximity sensing method, beacon device and mobile terminal |
| CN109564672A (en) * | 2016-08-10 | 2019-04-02 | 三菱电机大楼技术服务株式会社 | Building beacon system |
| CN110784503A (en) * | 2019-08-23 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Elevator service providing method and device based on indoor positioning and electronic equipment |
| CN111030990A (en) * | 2019-11-05 | 2020-04-17 | 华为技术有限公司 | A method for establishing a communication connection and a client and a server |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8757477B2 (en) * | 2011-08-26 | 2014-06-24 | Qualcomm Incorporated | Identifier generation for visual beacon |
| KR102281019B1 (en) * | 2014-09-18 | 2021-07-26 | 삼성전자주식회사 | Electronic device and method for processing data in electronic device |
| US10296950B2 (en) * | 2014-09-30 | 2019-05-21 | Apple Inc. | Beacon triggered processes |
| US9608999B2 (en) * | 2014-12-02 | 2017-03-28 | Accenture Global Services Limited | Smart beacon data security |
| US11227311B2 (en) * | 2016-10-05 | 2022-01-18 | Abl Ip Holding, Llc | Local data acquisition for retail displays with wireless beacons |
| US20180145834A1 (en) * | 2016-11-18 | 2018-05-24 | Arun Dharankar | Providing a Security Process for Wireless Devices |
| US20180167867A1 (en) * | 2016-12-08 | 2018-06-14 | Virtuosys Limited | Wireless Communication Units and Wireless Communication System and Methods to Support Beacon Technology |
| EP3590205B1 (en) * | 2017-03-02 | 2020-07-22 | Signify Holding B.V. | Associating content with one or more light beacons based on a geographical indicator |
-
2020
- 2020-06-15 CN CN202010544418.4A patent/CN113810857B/en active Active
Patent Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103686613A (en) * | 2013-12-31 | 2014-03-26 | 何海英 | System and method for intelligent information pushing based on wireless beacons |
| CN105745948A (en) * | 2014-03-31 | 2016-07-06 | 株式会社Ntt都科摩 | Communication system, communication terminal, communication method, and program |
| CN104157019A (en) * | 2014-07-21 | 2014-11-19 | 惠州Tcl移动通信有限公司 | Indoor-positioning-technology-based check-in method and system |
| CN105392150A (en) * | 2014-08-29 | 2016-03-09 | 三星电子株式会社 | beacon managing method, terminal equipment, server and storage medium |
| CN105450417A (en) * | 2014-09-01 | 2016-03-30 | 阿里巴巴集团控股有限公司 | User behavior verification method and apparatus in mobile context |
| CN104918216A (en) * | 2015-05-11 | 2015-09-16 | 上海网罗电子科技有限公司 | Advertisement pushing system based on position service and method |
| CN104918265A (en) * | 2015-05-11 | 2015-09-16 | 上海网罗电子科技有限公司 | Indoor beacon management dispensing system and method |
| CN107305672A (en) * | 2016-04-18 | 2017-10-31 | Sk普兰尼特有限公司 | Advertisement providing system, with beacon provide advertisement method and use its equipment |
| CN106231539A (en) * | 2016-07-29 | 2016-12-14 | 北京交通大学 | Travelling merchants' regional location service system based on low-power consumption Bluetooth beacon |
| CN109564672A (en) * | 2016-08-10 | 2019-04-02 | 三菱电机大楼技术服务株式会社 | Building beacon system |
| US9807726B1 (en) * | 2016-11-23 | 2017-10-31 | Yokogawa Electric Corporation | Use of low energy bluetooth beacons to locate field equipment and personnel |
| CN108475313A (en) * | 2016-12-27 | 2018-08-31 | 华为技术有限公司 | Proximity sensing method, beacon device and mobile terminal |
| CN110784503A (en) * | 2019-08-23 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Elevator service providing method and device based on indoor positioning and electronic equipment |
| CN111030990A (en) * | 2019-11-05 | 2020-04-17 | 华为技术有限公司 | A method for establishing a communication connection and a client and a server |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113810857A (en) | 2021-12-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| AU2022211850B2 (en) | Application function implementation method and electronic device | |
| JP5805691B2 (en) | Apparatus and method for widget intercommunication in a wireless communication environment | |
| CN111512286B (en) | Program arranging method and electronic equipment | |
| CN104965848B (en) | A kind of front end resource loading method and device | |
| US20110238498A1 (en) | Service stage for subscription management | |
| CN110035004B (en) | User name card sharing method, friend adding method and related device | |
| CN108702602A (en) | Image sharing method, electronic device and system | |
| WO2016127795A1 (en) | Service processing method, server, and terminal | |
| WO2018223558A1 (en) | Data processing method and electronic device | |
| CN112420217B (en) | Message pushing method, device, equipment and storage medium | |
| WO2019140657A1 (en) | Method and device for network connection and terminal | |
| CN109522131A (en) | Resource allocation method, device and equipment | |
| US9198009B2 (en) | System and method for providing end to end interactive mobile applications using SMS | |
| CN109102153A (en) | A kind of identity management method and device | |
| CN113810857B (en) | Beacon message processing method and system | |
| CN113032167B (en) | Page communication method, device and equipment | |
| JP2022141683A (en) | Application function implementation method and electronic device | |
| WO2022228063A1 (en) | Advertisement obtaining method and related device thereof | |
| CN117119077A (en) | Communication method and electronic equipment | |
| CN117650829A (en) | Communication system, method and terminal equipment | |
| CN116051184A (en) | Multimedia playback system, method, device and storage medium | |
| CN113068252B (en) | Positioning method, device, terminal and storage medium | |
| KR20200026398A (en) | Enhancement method of information sharing service and apparatus therefor | |
| CN108965466A (en) | Information pushing method and related equipment | |
| CN116939610A (en) | Access control method, system and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |