[go: up one dir, main page]

CN116074742A - Method, device, equipment and medium for checking working state of Bluetooth beacon - Google Patents

Method, device, equipment and medium for checking working state of Bluetooth beacon Download PDF

Info

Publication number
CN116074742A
CN116074742A CN202310009991.9A CN202310009991A CN116074742A CN 116074742 A CN116074742 A CN 116074742A CN 202310009991 A CN202310009991 A CN 202310009991A CN 116074742 A CN116074742 A CN 116074742A
Authority
CN
China
Prior art keywords
bluetooth
bluetooth beacon
verification data
mobile terminal
information
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.)
Granted
Application number
CN202310009991.9A
Other languages
Chinese (zh)
Other versions
CN116074742B (en
Inventor
吕俊杰
何行强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Zhejiang Zeekr Intelligent Technology Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202310009991.9A priority Critical patent/CN116074742B/en
Publication of CN116074742A publication Critical patent/CN116074742A/en
Priority to PCT/CN2023/135821 priority patent/WO2024146312A1/en
Application granted granted Critical
Publication of CN116074742B publication Critical patent/CN116074742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种蓝牙信标的工作状态的校验方法、装置、设备及介质。所述方法应用于服务器,包括:接收由移动终端根据蓝牙信号生成并上传的校验数据,其中,所述蓝牙信号由所述移动终端从部署于场站中的蓝牙信标处接收到,所述蓝牙信号中包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息;根据所述校验数据识别对应的蓝牙信标的工作状态。

Figure 202310009991

The present application provides a method, device, equipment and medium for verifying the working state of a Bluetooth beacon. The method is applied to a server, including: receiving verification data generated and uploaded by a mobile terminal according to a bluetooth signal, wherein the bluetooth signal is received by the mobile terminal from a bluetooth beacon deployed in a station, so The Bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to realize corresponding service functions, the hardware information is the hardware information of the Bluetooth beacon, and the verification data is used to bear the corresponding The hardware information and/or the service information in the bluetooth beacon; identify the working state of the corresponding bluetooth beacon according to the verification data.

Figure 202310009991

Description

蓝牙信标的工作状态的校验方法、装置、设备及介质Method, device, equipment and medium for verifying working state of bluetooth beacon

技术领域technical field

本申请涉及自动化测试领域,特别涉及蓝牙信标的工作状态的校验方法、装置、电子设备及计算机可读存储介质。The present application relates to the field of automated testing, in particular to a method, device, electronic device and computer-readable storage medium for verifying the working state of a Bluetooth beacon.

背景技术Background technique

蓝牙信标可以帮助移动终端进行定位,室内导航技术也逐渐成熟。Bluetooth beacons can help mobile terminals to locate, and indoor navigation technology has gradually matured.

相关技术中,对部署于场站中的蓝牙信标的状态校验主要通过两种方式进行:在通场站的多个蓝牙信标之间搭建局域网,并通过互联网进行传输,实时上报各蓝牙信标的自身工作状态;以及,通过人工定时去场站巡检,校验各蓝牙信标的工作状态。In related technologies, the state verification of the Bluetooth beacons deployed in the station is mainly carried out in two ways: build a local area network between multiple Bluetooth beacons in the station, and transmit them through the Internet, and report each Bluetooth signal in real time. The working status of the target itself; and, through manual inspections at the station at regular intervals, the working status of each Bluetooth beacon is verified.

而在部分应用场景中,搭建局域网络和人工定时巡检,都会带来较高成本,且对数据分析不足,不能全面校验蓝牙信标的各项工作状态。In some application scenarios, building a local area network and manually timing inspections will bring high costs, and the data analysis is insufficient to fully verify the working status of the Bluetooth beacon.

发明内容Contents of the invention

为克服相关技术中存在的问题,本申请提供了蓝牙信标的工作状态的校验方法、装置、电子设备及计算机可读存储介质,能够解决上述问题。In order to overcome the problems existing in related technologies, the present application provides a verification method, device, electronic equipment and computer-readable storage medium for the working status of Bluetooth beacons, which can solve the above problems.

根据本申请实施例的第一方面,提供一种蓝牙信标的工作状态的校验方法,应用于服务器,所述方法包括:According to the first aspect of the embodiments of the present application, a method for verifying the working state of a Bluetooth beacon is provided, which is applied to a server, and the method includes:

接收由移动终端根据蓝牙信号生成并上传的校验数据,其中,所述蓝牙信号由所述移动终端从部署于场站中的蓝牙信标处接收到,所述蓝牙信号中包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息;Receive the verification data generated and uploaded by the mobile terminal according to the Bluetooth signal, wherein the Bluetooth signal is received by the mobile terminal from the Bluetooth beacon deployed in the station, and the Bluetooth signal includes business information and hardware information, the service information is used for the mobile terminal to implement corresponding service functions, the hardware information is the hardware information of the Bluetooth beacon, and the verification data is used to carry the hardware in the corresponding Bluetooth beacon information and/or said business information;

根据所述校验数据识别对应的蓝牙信标的工作状态。Identify the working state of the corresponding Bluetooth beacon according to the verification data.

根据本申请实施例的第二方面,提供一蓝牙信号的发送方法,应用于部署于场站的蓝牙信标,所述方法包括:According to the second aspect of the embodiment of the present application, a method for sending a Bluetooth signal is provided, which is applied to a Bluetooth beacon deployed at a site, and the method includes:

根据预设的业务信息和所述蓝牙信标当前状态下的硬件信息生成对应的蓝牙信号,其中,所述业务信息用于供接收到的移动终端实现相应的业务功能;Generate corresponding Bluetooth signals according to preset service information and hardware information in the current state of the Bluetooth beacon, wherein the service information is used for the received mobile terminal to implement corresponding service functions;

向移动终端发送所述蓝牙信号,以由所述移动终端:根据所述蓝牙信号生成校验数据并上传至服务器,以使得所述服务器基于所述校验数据对所述蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。Send the bluetooth signal to the mobile terminal, so that the mobile terminal: generates verification data according to the bluetooth signal and uploads it to the server, so that the server checks the working status of the bluetooth beacon based on the verification data Verification, wherein the verification data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon.

根据本申请实施例的第三方面,提供一种蓝牙信号的接收方法,应用于移动终端,所述方法包括:According to a third aspect of the embodiments of the present application, a method for receiving a Bluetooth signal is provided, which is applied to a mobile terminal, and the method includes:

接收部署于场站的蓝牙信标发出的蓝牙信号;其中,所述蓝牙信号包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息;Receive the bluetooth signal sent by the bluetooth beacon deployed at the station; wherein, the bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to realize the corresponding service function, and the hardware information is the Describe the hardware information of the Bluetooth beacon;

根据所述蓝牙信号生成校验数据,并将该校验数据上传至服务器,以使得所述服务器基于所述校验数据对相应蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。Generate verification data according to the Bluetooth signal, and upload the verification data to the server, so that the server verifies the working status of the corresponding Bluetooth beacon based on the verification data, wherein the verification data uses The hardware information and/or the service information carried in the corresponding Bluetooth beacon.

根据本申请实施例的第四方面,提供一种蓝牙信标的工作状态的校验装置,应用于服务器,所述装置包括:According to the fourth aspect of the embodiments of the present application, a device for verifying the working state of a Bluetooth beacon is provided, which is applied to a server, and the device includes:

数据接收单元,用于接收由移动终端根据蓝牙信号生成并上传的校验数据,其中,所述蓝牙信号由所述移动终端从部署于场站中的蓝牙信标处接收到,所述蓝牙信号中包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息;The data receiving unit is used to receive the verification data generated and uploaded by the mobile terminal according to the bluetooth signal, wherein the bluetooth signal is received by the mobile terminal from the bluetooth beacon deployed in the station, and the bluetooth signal Including business information and hardware information, the business information is used for the mobile terminal to realize the corresponding business function, the hardware information is the hardware information of the Bluetooth beacon, and the verification data is used to carry the corresponding Bluetooth signal The hardware information and/or the business information in the bid;

异常识别单元,用于根据所述校验数据识别对应的蓝牙信标的工作状态。The abnormal identification unit is configured to identify the working state of the corresponding Bluetooth beacon according to the verification data.

根据本申请实施例的第五方面,提供一种蓝牙信号的发送装置,应用于部署于场站的蓝牙信标,所述装置包括:According to the fifth aspect of the embodiments of the present application, there is provided a Bluetooth signal sending device, which is applied to a Bluetooth beacon deployed at a site, and the device includes:

信号生成单元,用于根据预设的业务信息和所述蓝牙信标当前状态下的硬件信息生成对应的蓝牙信号,其中,所述业务信息用于供接收到的移动终端实现相应的业务功能;A signal generating unit, configured to generate a corresponding Bluetooth signal according to preset service information and hardware information in the current state of the Bluetooth beacon, wherein the service information is used for the received mobile terminal to realize a corresponding service function;

信号发送单元,用于向移动终端发送所述蓝牙信号,以由所述移动终端:根据所述蓝牙信号生成校验数据并上传至服务器,以使得所述服务器基于所述校验数据对所述蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。A signal sending unit, configured to send the bluetooth signal to the mobile terminal, so that the mobile terminal: generates verification data according to the bluetooth signal and uploads it to the server, so that the server makes the verification data based on the verification data The working state of the Bluetooth beacon is verified, wherein the verification data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon.

根据本申请实施例的第六方面,提供一种蓝牙信号的接收装置,应用于移动终端,所述装置包括:According to a sixth aspect of the embodiments of the present application, there is provided a device for receiving a Bluetooth signal, which is applied to a mobile terminal, and the device includes:

信号接收单元,用于接收部署于场站的蓝牙信标发出的蓝牙信号;其中,所述蓝牙信号包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息;The signal receiving unit is configured to receive a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein, the Bluetooth signal includes service information and hardware information, and the service information is used for the mobile terminal to realize corresponding service functions, The hardware information is the hardware information of the Bluetooth beacon;

数据生成单元,用于根据所述蓝牙信号生成校验数据,并将该校验数据上传至服务器,以使得所述服务器基于所述校验数据对相应蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。A data generation unit, configured to generate verification data according to the Bluetooth signal, and upload the verification data to the server, so that the server verifies the working status of the corresponding Bluetooth beacon based on the verification data, wherein, The verification data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon.

根据本申请实施例的第七方面,提供一种电子设备,包括:处理器、存储器;According to a seventh aspect of the embodiments of the present application, an electronic device is provided, including: a processor and a memory;

所述存储器,用于存储计算机程序;The memory is used to store computer programs;

所述处理器,用于通过调用所述计算机程序,执行如第一、二、三方面所述的方法。The processor is configured to execute the methods described in the first, second, and third aspects by invoking the computer program.

根据本申请实施例的第八方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一、二、三方面所述的方法。According to an eighth aspect of the embodiments of the present application, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the methods described in the first, second, and third aspects are implemented.

本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:

本申请中的服务器可以接收来自移动终端上传的校验数据,并根据该校验数据对对应的蓝牙信标的工作状态做出判定。蓝牙信标发送的蓝牙信号中包括业务信息和硬件信息,移动终端在接收到蓝牙信号后,一方面可以基于业务5信息实现对应的业务功能,另一方面可以顺便生成校验数据上传至服务器,以对蓝牙信标的工作状态进行校验,不需要靠人工去现场收集数据,也不会被部署蓝牙信标的场站的信号状态所限制,节省了实现蓝牙信标工作状态的校验的成本,并且可以收集到大量用户的大量校验数据,以对蓝牙信标的各项工作状态进行更全面且更准确的校验。The server in this application can receive the verification data uploaded from the mobile terminal, and make a judgment on the working status of the corresponding Bluetooth beacon according to the verification data. The Bluetooth signal sent by the Bluetooth beacon includes business information and hardware information. After receiving the Bluetooth signal, the mobile terminal can realize the corresponding business function based on the business 5 information on the one hand, and on the other hand can generate verification data and upload it to the server. In order to verify the working status of the Bluetooth beacon, it is not necessary to manually collect data on site, and it will not be limited by the signal status of the station where the Bluetooth beacon is deployed, which saves the cost of verifying the working status of the Bluetooth beacon. And a large amount of verification data of a large number of users can be collected to conduct a more comprehensive and accurate verification of the various working states of the Bluetooth beacon.

0应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.

附图说明Description of drawings

此处的附图被并入说明书中并构成本申请的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

5图1是本申请根据一示例性实施例示出的一种蓝牙信标的工作状态的校验5. Figure 1 is a verification of the working status of a Bluetooth beacon shown in this application according to an exemplary embodiment

系统的架构示意图。A schematic diagram of the system architecture.

图2是本申请根据一示例性实施例示出的一种蓝牙信标的工作状态的校验方法的流程图。Fig. 2 is a flowchart of a method for checking the working status of a Bluetooth beacon according to an exemplary embodiment of the present application.

图3是本申请根据一示例性实施例示出的一种规划的导航路线的示意图。0图4是本申请根据一示例性实施例示出的一种用户前进的实际路线的示意图。Fig. 3 is a schematic diagram of a planned navigation route according to an exemplary embodiment of the present application. 4 is a schematic diagram of a user's actual route according to an exemplary embodiment of the present application.

图5是本申请根据一示例性实施例示出的一种蓝牙信号的发送方法的流程图。Fig. 5 is a flowchart of a method for sending a Bluetooth signal according to an exemplary embodiment of the present application.

图6是本申请根据一示例性实施例示出的一种蓝牙信号的接收方法的流程5图。Fig. 6 is a flowchart of a method for receiving a Bluetooth signal according to an exemplary embodiment of the present application.

图7是本申请根据一示例性实施例示出的一种蓝牙信标的工作状态的校验方法的流程图。Fig. 7 is a flow chart of a method for verifying the working state of a Bluetooth beacon according to an exemplary embodiment of the present application.

图8是本申请根据一示例性实施例示出的一种蓝牙信标的工作状态的校验装置、蓝牙信号的发送装置和蓝牙信号的接收装置所在电子设备的结构示意图。Fig. 8 is a schematic structural diagram of an electronic device in which a device for verifying the working state of a Bluetooth beacon, a device for sending a Bluetooth signal, and a device for receiving a Bluetooth signal are located according to an exemplary embodiment of the present application.

图9是本申请根据一示例性实施例示出的蓝牙信标的工作状态的校验装置的框图。Fig. 9 is a block diagram of a device for verifying the working state of a Bluetooth beacon according to an exemplary embodiment of the present application.

图10是本申请根据一示例性实施例示出的蓝牙信号的发送装置的框图。Fig. 10 is a block diagram of a device for sending Bluetooth signals according to an exemplary embodiment of the present application.

图11是本申请根据一示例性实施例示出的蓝牙信号的接收装置的框图。Fig. 11 is a block diagram of a device for receiving Bluetooth signals according to an exemplary embodiment of the present application.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present application, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."

图1是根据本申请的实施例示出的一种蓝牙信标的工作状态的校验系统的网络架构图。如图1所示,本申请的蓝牙信标的工作状态的校验系统可以包括服务器11、移动终端12、蓝牙信标13。Fig. 1 is a network architecture diagram of a system for verifying the working status of a Bluetooth beacon according to an embodiment of the present application. As shown in FIG. 1 , the system for verifying the working status of the Bluetooth beacon of the present application may include a server 11 , a mobile terminal 12 , and a Bluetooth beacon 13 .

服务器11可以是以独立主机或主机集群,也可以为上述独立主机或主机集群所承载的虚拟服务器。服务器11可以将由移动终端12上传的校验数据进行处理,并由此判定对应的蓝牙信标的工作状态。服务器11可以通过告警等方式向管理人员告知任一蓝牙信标出现的异常工作状态,并再由管理人员对此异常工作状态做出针对性处理,例如可以是通过服务器11发送修正信号,可以通过服务器11确定异常蓝牙信标的具体位置,并安排维修人员去实地进行检修,进而在检修完成后将该异常状态从服务器11中移除。The server 11 may be an independent host or a host cluster, or a virtual server carried by the aforementioned independent host or host cluster. The server 11 can process the verification data uploaded by the mobile terminal 12, and thus determine the working status of the corresponding Bluetooth beacon. The server 11 can inform the management personnel of the abnormal working state of any bluetooth beacon by means of an alarm, etc., and then the management personnel can make targeted processing for this abnormal working state, for example, it can send a correction signal through the server 11, and can pass The server 11 determines the specific location of the abnormal Bluetooth beacon, and arranges maintenance personnel to go to the field for inspection, and then removes the abnormal status from the server 11 after the inspection is completed.

移动终端12可以是手机、平板设备、笔记本电脑或掌上电脑(PDAs,PersonalDigital Assistants)、可穿戴设备(如智能眼镜、VR眼镜等),本申请并不对此进行限制。移动终端12需能够与蓝牙信标13建立连接,接收蓝牙信号,并通过互联网将生成的校验数据上传至服务器11以由服务器11对该蓝牙信标进行校验。在整个校验系统中,移动终端可以为任一需要使用该蓝牙信标的业务功能的设备,即可以通过普通用户在利用移动终端12实现蓝牙信标的业务功能的同时,向服务器11发送校验数据以帮助针对蓝牙信标的校验,借此,在本申请的蓝牙信标的工作状态的校验系统中,可以不额外搭建蓝牙信标之间的局域网,也可以不安排专门的维修人员进行巡检,仅在普通用户的正常实现业务的过程中,在用户无感知的情况下利用移动终端12完成校验数据的上传。The mobile terminal 12 may be a mobile phone, a tablet device, a notebook computer or a personal digital assistant (PDAs, Personal Digital Assistants), a wearable device (such as smart glasses, VR glasses, etc.), and this application is not limited thereto. The mobile terminal 12 needs to be able to establish a connection with the Bluetooth beacon 13, receive the Bluetooth signal, and upload the generated verification data to the server 11 through the Internet so that the server 11 can verify the Bluetooth beacon. In the entire verification system, the mobile terminal can be any device that needs to use the service function of the Bluetooth beacon, that is, the ordinary user can send verification data to the server 11 while using the mobile terminal 12 to realize the service function of the Bluetooth beacon In order to help the verification of the Bluetooth beacons, in the verification system of the working status of the Bluetooth beacons of the present application, it is not necessary to additionally build a local area network between the Bluetooth beacons, and it is not necessary to arrange special maintenance personnel to conduct inspections , only in the process of ordinary users' normal business implementation, the uploading of verification data is completed by using the mobile terminal 12 without the user's awareness.

蓝牙信标13可以是部署并固定于场站中的任一能够向周围进行连续性广播发出蓝牙信号的设备。接收到该蓝牙信号的移动终端12,可以通过该蓝牙信号中的业务信息实现业务功能。例如进行室内或地下的地图定位,明确移动终端12的当前所在地点;例如进一步通过定位实现室内导航。需说明的是,一个场站中可以设置多个蓝牙信标,蓝牙信标除了能发出包含业务信息的蓝牙信号外,各蓝牙信标也可以具有不同的硬件信息,例如电量、频率、信号强度、位置信息、通用唯一识别码(Universally Unique Identifier,简称UUID)、物理地址(Media Access Control Address,简称MAC地址)等。The bluetooth beacon 13 can be any device deployed and fixed in the station that can continuously broadcast bluetooth signals to the surroundings. The mobile terminal 12 that receives the bluetooth signal can implement service functions through the service information in the bluetooth signal. For example, indoor or underground map positioning is performed to clarify the current location of the mobile terminal 12; for example, indoor navigation is further implemented through positioning. It should be noted that multiple Bluetooth beacons can be set in a station. In addition to sending out Bluetooth signals containing business information, each Bluetooth beacon can also have different hardware information, such as power, frequency, and signal strength. , location information, Universally Unique Identifier (UUID for short), physical address (Media Access Control Address, MAC address for short), etc.

由于室内导航技术的逐渐成熟,可能在同一场站中也会存在不同厂商铺设的用于各自业务线的蓝牙信标,但由于蓝牙广播数据格式相似,使用的字段基本相同,导致已铺设的蓝牙信标容易被其他蓝牙信标广播所干扰,甚至被竞品模拟,导致普通用户的移动终端无法正常实现基于蓝牙信号的业务需求。Due to the gradual maturity of indoor navigation technology, there may be Bluetooth beacons laid by different manufacturers for their respective business lines in the same site, but because the Bluetooth broadcast data format is similar, the fields used are basically the same, resulting in the laid Bluetooth Beacons are easily interfered by other Bluetooth beacon broadcasts, or even simulated by competing products, resulting in the failure of ordinary users' mobile terminals to normally fulfill business requirements based on Bluetooth signals.

因此,需要一种能够高效快速地判断对应的蓝牙信标工作状态是否正常的校验方法,以避免自身业务线的蓝牙信标出现故障,或者避免蓝牙信标被仿冒或干扰,导致业务功能的实现受阻。Therefore, there is a need for a verification method that can efficiently and quickly determine whether the corresponding Bluetooth beacon is working normally, so as to avoid the failure of the Bluetooth beacon of its own business line, or to prevent the Bluetooth beacon from being counterfeited or interfered, resulting in the failure of business functions. implementation blocked.

图2是根据本申请的实施例示出的一种蓝牙信标的工作状态的校验方法的示意流程图,应用于图1实施例中的服务器11,所述方法包括:Fig. 2 is a schematic flowchart of a method for verifying the working state of a Bluetooth beacon according to an embodiment of the present application, which is applied to the server 11 in the embodiment of Fig. 1, and the method includes:

S201:接收由移动终端12根据蓝牙信号生成并上传的校验数据,其中,所述蓝牙信号由所述移动终端12从部署于场站中的蓝牙信标13处接收到,所述蓝牙信号中包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标13的硬件信息,所述校验数据用于承载对应的蓝牙信标13中的所述硬件信息和/或所述业务信息。S201: Receive the verification data generated and uploaded by the mobile terminal 12 according to the bluetooth signal, wherein the bluetooth signal is received by the mobile terminal 12 from the bluetooth beacon 13 deployed in the station, and the bluetooth signal is Including service information and hardware information, the service information is used for the mobile terminal to realize corresponding service functions, the hardware information is the hardware information of the Bluetooth beacon 13, and the verification data is used to carry the corresponding Bluetooth The hardware information and/or the service information in the beacon 13.

为保证能通过蓝牙信号对蓝牙信标的工作状态做出判定,本申请的蓝牙信标广播的蓝牙信号中,除了用于业务需求的业务信息外,还包括硬件信息,通过该硬件信息,可以判断对应的蓝牙信标是否遭到仿冒,通过业务信息和硬件信息,可以判断对应的蓝牙信标自身有无出现故障。In order to ensure that the working status of the Bluetooth beacon can be determined through the Bluetooth signal, the Bluetooth signal broadcast by the Bluetooth beacon in this application includes not only the business information used for business needs, but also hardware information. Through this hardware information, it can be judged Whether the corresponding Bluetooth beacon is counterfeited or not, through business information and hardware information, it can be judged whether the corresponding Bluetooth beacon itself is faulty or not.

在一实施例中,上述业务信息可以包括蓝牙的基本参数major、minor。In an embodiment, the above service information may include basic parameters major and minor of Bluetooth.

在一实施例中,上述硬件信息可以包括该蓝牙信标的UUID、MAC地址、位置信息、信号强度、电量、广播频率等。In an embodiment, the above hardware information may include the UUID, MAC address, location information, signal strength, battery power, broadcast frequency, etc. of the Bluetooth beacon.

进一步地,可以将同一场站中的蓝牙信标都设置为同一UUID,以方便进行校验。Furthermore, all the Bluetooth beacons in the same site can be set to the same UUID to facilitate verification.

在将蓝牙信标部署于场站前,服务器需记录蓝牙信标与该蓝牙信标相应的业务信息、硬件信息的对应关系,以使得在后续进行校验时,可以根据该对应关系来判定蓝牙信标是否出现异常。Before deploying the Bluetooth beacon at the station, the server needs to record the corresponding relationship between the Bluetooth beacon and the corresponding business information and hardware information of the Bluetooth beacon, so that in the subsequent verification, the Bluetooth can be determined according to the corresponding relationship. Whether the beacon is abnormal.

当普通用户持移动终端经过部署于场站中的蓝牙信标时,移动终端可以5通过蓝牙扫码接收到广播的蓝牙信号,通过该蓝牙信号中的业务信息实现业务功能,并在有需求的情况下,将该蓝牙信号中的业务信息和/或硬件信息生成校验数据,并通过移动终端自身的网络连接上报至服务器,使服务器能够基于该校验数据获取对应的蓝牙信标的业务数据和硬件情况。When an ordinary user passes a Bluetooth beacon deployed in a station with a mobile terminal, the mobile terminal can receive the broadcasted Bluetooth signal by scanning the Bluetooth code, and realize the service function through the service information in the Bluetooth signal. In this case, the business information and/or hardware information in the Bluetooth signal generates verification data, and reports to the server through the network connection of the mobile terminal itself, so that the server can obtain the business data and the corresponding Bluetooth beacon based on the verification data. hardware condition.

S202:根据所述校验数据识别对应的蓝牙信标13的工作状态。S202: Identify the working state of the corresponding Bluetooth beacon 13 according to the verification data.

0服务器在接收到校验数据后,可以实时对校验数据进行分析,以识别对应的蓝牙信标的工作状态,也可以周期性地对这一时间周期内接收到的所有校验数据统一进行分析,以更准确地识别对应的蓝牙信标的工作状态。0 After receiving the verification data, the server can analyze the verification data in real time to identify the working status of the corresponding Bluetooth beacon, and can also periodically analyze all the verification data received within this time period , to more accurately identify the working status of the corresponding Bluetooth beacon.

蓝牙信标的工作状态除了正常状态之外,还可以包含:因该蓝牙信标自In addition to the normal state, the working status of the Bluetooth beacon can also include:

身原因导致的硬件异常状态,例如电量不足、信号强度偏低等;该蓝牙信标5可能被仿冒、被人工破坏等导致的硬件异常状态,例如无法被识别、无法进行校验等;该蓝牙信标的硬件工作状态良好,但实现的业务功能与预设的业务信息不相符导致的异常状态,例如定位与实际位置出现偏差、导航路线与实际路线不符等。The hardware abnormal state caused by physical reasons, such as insufficient power, low signal strength, etc.; the hardware abnormal state caused by the Bluetooth beacon 5 may be counterfeited, artificially destroyed, etc., such as cannot be recognized, cannot be verified, etc.; the Bluetooth The hardware of the beacon is in good working condition, but the realized business function does not match the preset business information, resulting in an abnormal state, such as a deviation between the positioning and the actual position, and the navigation route does not match the actual route.

上述异常状态,有些仅需基于蓝牙信号中的硬件信息即可做出判定,有0些仅需基于蓝牙信号中的业务信息即可做出判定,还有一些需要同时基于业务信息与硬件信息才能正确做出判定。因而,为判断不同的工作状态,移动终端可以根据蓝牙信号生成不同的校验数据。Some of the above abnormal states can be judged only based on the hardware information in the Bluetooth signal, some can be judged only based on the service information in the Bluetooth signal, and some need to be based on both service information and hardware information Make the right decision. Therefore, in order to judge different working states, the mobile terminal can generate different verification data according to the Bluetooth signal.

在一实施例中,服务器已判定某一蓝牙信标疑似存在某一方面的异常状In one embodiment, the server has determined that a certain bluetooth beacon is suspected to have a certain aspect of abnormality

态,则可以令后续接收到该蓝牙信标广播的蓝牙信号的移动终端,仅针对或5至少针对该方面的异常状态来生成对应的校验数据以进行验证。state, then the mobile terminal that subsequently receives the Bluetooth signal broadcast by the Bluetooth beacon can generate corresponding verification data for verification only or at least for the abnormal state in this aspect.

本申请通过上述实施例,避免了在蓝牙信标间搭建局域网,避免了由人工进行巡检来确定蓝牙信标的工作状态,通过接受移动终端在实现其业务功能的同时,上传的用于进行校验的校验数据,来对该移动终端接受到的蓝牙信号对应的蓝牙信标的工作状态进行校验,也即不用专门去对蓝牙信标的数据进行采集,仅在移动终端使用业务功能的过程中,顺带完成了校验数据地收集,进而完成校验。本申请的上述实施例能够大量的获取蓝牙信标的校验数据,且实现成本较低,能够更方便、更准确地对蓝牙信标的工作状态进行判定。Through the above-mentioned embodiments, the present application avoids building a local area network between Bluetooth beacons, avoids manual inspections to determine the working status of Bluetooth beacons, and accepts mobile terminals to realize their business functions while uploading them for calibration. The verified verification data is used to verify the working status of the Bluetooth beacon corresponding to the Bluetooth signal received by the mobile terminal, that is, it is not necessary to specifically collect the data of the Bluetooth beacon, only in the process of using the service function of the mobile terminal , By the way, the collection of verification data is completed, and then the verification is completed. The above-mentioned embodiments of the present application can acquire a large amount of verification data of Bluetooth beacons, and the implementation cost is low, and can more conveniently and accurately determine the working status of Bluetooth beacons.

下面通过一些实施例,具体的对识别蓝牙信标的工作状态进行说明。The working state of identifying the Bluetooth beacon will be specifically described below through some embodiments.

由于服务器需基于校验数据来确定蓝牙信号的业务信息和/或硬件信息,并进而对其工作状态进行识别,因而服务器能够通过校验数据读取正常状态的蓝牙信号中的数据信息。Since the server needs to determine the business information and/or hardware information of the Bluetooth signal based on the verification data, and then identify its working state, the server can read the data information in the normal state of the Bluetooth signal through the verification data.

在一实施例中,服务器若无法从所述校验数据中成功读取到所述蓝牙信号中的任一数据信息,则判定对应的蓝牙信标发生异常。需注意的是,前述无法成功读取任一数据信息,并非是指服务器需要通过校验数据能够将蓝牙信号中的所有数据信息全部读取,而是指服务器无法通过校验数据成功读取到任一服务器需要的数据信息,而该服务器需要的数据信息,可以是蓝牙信号中的所有数据信息,也可以仅为蓝牙信号中的部分数据信息。例如服务器需要校验某一蓝牙信标的业务信息配置是否正常,则仅需读取该蓝牙信标的业务信息即可,而在无法读取到该蓝牙信标的业务信息的情况下,可以判定该蓝牙信标发生异常。同样需要说明的是,所述无法从所述校验数据中成功读取到所述蓝牙信号中的任一数据信息,可以是移动终端上传的校验数据中本就不包含所述任一数据信息,即可能是对应的蓝牙信标不具备发送该数据信息的功能,也可以是移动终端上传的校验数据中包含该数据信息,但服务器无法读取该数据信息,即该数据信息的格式或者协议等不符合预设条件。例如,服务器需要读取蓝牙信标的MAC地址,而因为该蓝牙信标不能发送包含MAC地址的硬件信息的蓝牙信号,导致移动终端无法生成对应的校验数据,使得服务器读取失败,则说明该蓝牙信标异常,又例如,服务器需要读取蓝牙信标的MAC地址,而因格式不符协议不符等原因导致服务器无法从移动终端上传的校验数据中获取该MAC地址,则依然说明该蓝牙信标异常。In an embodiment, if the server cannot successfully read any data information in the Bluetooth signal from the verification data, it determines that the corresponding Bluetooth beacon is abnormal. It should be noted that the aforementioned inability to successfully read any data information does not mean that the server needs to pass the verification data to be able to read all the data information in the Bluetooth signal, but that the server cannot successfully read the data through the verification data. The data information required by any server, and the data information required by the server may be all the data information in the bluetooth signal, or only part of the data information in the bluetooth signal. For example, if the server needs to check whether the service information configuration of a certain Bluetooth beacon is normal, it only needs to read the service information of the Bluetooth beacon. If the service information of the Bluetooth beacon cannot be read, it can determine whether the Bluetooth An exception occurred with the beacon. It should also be noted that the failure to successfully read any data information in the Bluetooth signal from the verification data may be that the verification data uploaded by the mobile terminal does not contain any of the data. Information, that is, it may be that the corresponding Bluetooth beacon does not have the function of sending the data information, or the verification data uploaded by the mobile terminal contains the data information, but the server cannot read the data information, that is, the format of the data information Or the agreement, etc. does not meet the preset conditions. For example, the server needs to read the MAC address of the Bluetooth beacon, but because the Bluetooth beacon cannot send the Bluetooth signal containing the hardware information of the MAC address, the mobile terminal cannot generate the corresponding verification data, and the server fails to read, indicating that the The bluetooth beacon is abnormal. For example, the server needs to read the MAC address of the bluetooth beacon, but the server cannot obtain the MAC address from the verification data uploaded by the mobile terminal due to reasons such as inconsistent formats and protocols. This still means that the bluetooth beacon abnormal.

具体地,服务器基于蓝牙信标的MAC地址的校验,下文将详细进行描述。Specifically, the verification by the server based on the MAC address of the Bluetooth beacon will be described in detail below.

在一实施例中,在所述校验数据用于确定对应的蓝牙信标中的所述硬件信息的情况下,所述硬件信息包括所述蓝牙信标的硬件地址MAC地址,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:在所述校验数据中包含的MAC地址与预先记录的部署于相应场站中的蓝牙信标的MAC地址不一致的情况下,判定对应的蓝牙信标发生异常。在将蓝牙信标部署于场站中时,服务器预先记录了每个蓝牙信标与其MAC地址的对应关系,进而记录了每一场站与部署于该场站汇总的蓝牙信标的MAC地址的对应关系,因而若从某一校验数据中获取到的MAC地址与预先记录的该场站中任一蓝牙信标的MAC地址都不一致,则该校验数据对应的蓝牙信标发生异常。出现这一异常的原因,可能是有人仿冒了本申请中的蓝牙信标,使得该蓝牙信标也能发送包含硬件信息的广播蓝牙信号,也有可能是有人将部署于其他场站中的本申请中的蓝牙信标转移到了该场站中。In an embodiment, when the verification data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes the hardware address MAC address of the Bluetooth beacon, and the The verification data identifies the working status of the corresponding Bluetooth beacon, including: when the MAC address contained in the verification data is inconsistent with the pre-recorded MAC address of the Bluetooth beacon deployed in the corresponding station, it is determined that the corresponding Bluetooth An exception occurred with the beacon. When deploying Bluetooth beacons in the station, the server pre-records the correspondence between each Bluetooth beacon and its MAC address, and then records the correspondence between each station and the MAC addresses of the Bluetooth beacons deployed at the station Therefore, if the MAC address obtained from a certain verification data is inconsistent with the pre-recorded MAC address of any Bluetooth beacon in the station, the Bluetooth beacon corresponding to the verification data will be abnormal. The reason for this abnormality may be that someone counterfeited the Bluetooth beacon in this application, so that the Bluetooth beacon can also send broadcast Bluetooth signals containing hardware information, or it may be that someone deployed this application in other stations The Bluetooth beacon in the station was transferred to the station.

在通过蓝牙信标实现室内定位,进而实现导航的这一应用场景中,经常会出现由于道路封堵、临时改道等情况导致的路线变化,而无法得知这一情况的服务器给出的导航路线必然不符合实际的行进路线。In the application scenario of indoor positioning and navigation through Bluetooth beacons, route changes often occur due to road blockages, temporary diversions, etc., and it is impossible to know the navigation route given by the server. Certainly not in line with the actual route of travel.

在一实施例中,所述业务信息用于引导所述移动终端按照规划的导航路线前往目的地,所述校验数据用于确定对应的蓝牙信标,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:获取所述移动终端上传的多个校验数据,根据所述多个校验数据确定对应的多个蓝牙信标的预部署地点,并根据所述预部署地点确定所述移动终端移动的实际路线;在所述实际路线与所述规划的导航路线不一致的情况下,判定路线存在异常。In one embodiment, the service information is used to guide the mobile terminal to the destination according to the planned navigation route, the verification data is used to determine the corresponding Bluetooth beacon, and the identification of the corresponding Bluetooth beacon according to the verification data The working status of the bluetooth beacons, including: obtaining a plurality of verification data uploaded by the mobile terminal, determining the pre-deployment locations of the corresponding plurality of bluetooth beacons according to the plurality of verification data, and determining the pre-deployment locations according to the pre-deployment locations The actual route that the mobile terminal moves; if the actual route is inconsistent with the planned navigation route, it is determined that the route is abnormal.

参见图3和图4,图3是一示例性实施例示出的规划的导航路线的示意图,图4是一示例性实施例示出的用户行进的实际路线的示意图。Referring to FIG. 3 and FIG. 4 , FIG. 3 is a schematic diagram of a planned navigation route shown in an exemplary embodiment, and FIG. 4 is a schematic diagram of an actual route traveled by a user shown in an exemplary embodiment.

参见图3,在实际应用过程中,移动终端可基于接收到的蓝牙信标A的业务信息确定出当前定位,并向导航服务器发送目的地信息,由导航服务器基于当前定位和目的地信息,规划出导航路线,并引导所述移动终端按照规划的导航路线前往目的地,如图3所示,图3中的前进路线即为导航路线,在这一导航路线中,预计会先后接收到蓝牙信标A、蓝牙信标B、蓝牙信标C的蓝牙信号,并生成相对应的校验数据上传至服务器。然而,若服务器根据实际收到的多个校验数据确定出的蓝牙信标的部署地点与导航路线中的蓝牙信标的部署地点不一致,例如在图3实施例中,服务器实际根据接收到的多个校验数据确定出的蓝牙信标的先后顺序为:蓝牙信标A、蓝牙信标D、蓝牙信标C,则根据该蓝牙信标的先后顺序确定出的实际路线应当为图4所示,则意味着在蓝牙信标B的对应位置可能存在障碍,使得用户没有按照导航路线前进,而发生了临时改道。Referring to Fig. 3, in the actual application process, the mobile terminal can determine the current location based on the received business information of the Bluetooth beacon A, and send the destination information to the navigation server, and the navigation server will plan based on the current location and destination information. out of the navigation route, and guide the mobile terminal to the destination according to the planned navigation route, as shown in Figure 3, the forward route in Figure 3 is the navigation route, in this navigation route, it is expected to receive Bluetooth signals successively Bluetooth signals of beacon A, Bluetooth beacon B, and Bluetooth beacon C, and generate corresponding verification data to upload to the server. However, if the deployment location of the Bluetooth beacon determined by the server based on the multiple verification data actually received is inconsistent with the deployment location of the Bluetooth beacon in the navigation route, for example, in the embodiment in FIG. The sequence of the Bluetooth beacons determined by the verification data is: Bluetooth beacon A, Bluetooth beacon D, and Bluetooth beacon C, then the actual route determined according to the sequence of the Bluetooth beacons should be as shown in Figure 4, which means This means that there may be obstacles at the corresponding position of the Bluetooth beacon B, so that the user does not follow the navigation route, and a temporary diversion occurs.

由于规划的导航路线中途可能遇到临时改道或道路封堵或道路占用等情况,持有该移动终端的用户也有可能主动选择了其他的路径通往该目的地,导致实际路线势必会在前进过程中,经过不同于规划的导航路线的蓝牙信标。因此,在本实施例中,服务器通过获取的移动终端上传的多个校验数据,确定对应的多个蓝牙信标的部署地点,并根据这些部署地点与上传的校验数据的先后顺序,确定出移动终端行进的实际路线,进而若该实际路线与服务器规划的导航路线不一致,则判定路线存在异常。Since the planned navigation route may encounter temporary diversions or road blockages or road occupations, the user holding the mobile terminal may also actively choose other routes to the destination, resulting in the actual route. , passing a Bluetooth beacon that differs from the planned navigation route. Therefore, in this embodiment, the server determines the deployment locations of the corresponding multiple Bluetooth beacons through the obtained plurality of verification data uploaded by the mobile terminal, and determines the deployment location according to the sequence of these deployment locations and the uploaded verification data. The actual route traveled by the mobile terminal, and if the actual route is inconsistent with the navigation route planned by the server, it is determined that the route is abnormal.

该路线异常可能是由现场情况导致用户不得不改道,也有可能是用户自身选择导致的,因此可以通过对后续其他移动终端的有关该导航路线的校验,来判断是否是现场情况变化导致的,或者通过安排人员去现场勘查。服务器在明确路线异常的具体原因之后,可以在根据该具体原因做出不同的应对。例如,由用户自身的偏好或者选择导致的改道,则不做修正处理;由现场情况导致的不得不进行的改道,则可以进行标记,并修正服务器中路线导航的规则,以进行改道。The route abnormality may be caused by the on-site situation causing the user to change the route, or it may be caused by the user's own choice. Therefore, it can be judged whether it is caused by the change in the on-site situation by checking the navigation route of other mobile terminals in the follow-up. Or by arranging personnel to go to the site for investigation. After clarifying the specific reason for the abnormal route, the server may make different responses according to the specific reason. For example, the rerouting caused by the user's own preference or choice will not be corrected; the unavoidable rerouting caused by the on-site situation can be marked, and the rules of the route navigation in the server can be revised to make the rerouting.

在一实施例中,上述判定路线存在异常的实施例中,所述校验数据可以用于确定蓝牙信号中的硬件信息,该硬件信息包括蓝牙信标的MAC地址,则确定实际路线的方法还可以为:获取所述移动终端上传的多个校验数据,根据多个校验数据确定对应的多个蓝牙信标的MAC地址,由该多个MAC地址,确定移动终端行进的实际路线。In one embodiment, in the above-mentioned embodiment where the route is determined to be abnormal, the verification data can be used to determine the hardware information in the Bluetooth signal, the hardware information includes the MAC address of the Bluetooth beacon, and the method for determining the actual route can also be The method is to: obtain multiple verification data uploaded by the mobile terminal, determine the MAC addresses of the corresponding multiple Bluetooth beacons according to the multiple verification data, and determine the actual route of the mobile terminal based on the multiple MAC addresses.

由于部署于场站中的蓝牙信标大多数无法外接电源,通常采用电池供电的形式,本申请的蓝牙信标的工作状态的校验方法也可以基于剩余电量对蓝牙信标进行校验。Since most of the Bluetooth beacons deployed in the station cannot be connected to an external power supply, they are usually powered by batteries. The method for verifying the working status of the Bluetooth beacons in this application can also verify the Bluetooth beacons based on the remaining power.

在一实施例中,在所述校验数据用于确定对应的蓝牙信标中的所述硬件信息的情况下,所述硬件信息包括蓝牙信标的剩余电量值,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:在所述剩余电量值小于预设阈值的情况下,判定所述对应的蓝牙信标电量不足。针对剩余电量的校验可以是服务器针对每一个接收到的校验数据进行的校验,也可以是在预设时间周期内服务器仅对同一蓝牙信标的校验数据中的剩余电量进行一次校验。In an embodiment, when the verification data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes the remaining power value of the Bluetooth beacon, and the verification data according to the Identifying the working state of the corresponding Bluetooth beacon includes: determining that the corresponding Bluetooth beacon has insufficient power when the remaining power value is less than a preset threshold. The verification of the remaining power can be performed by the server for each received verification data, or the server can only perform a verification of the remaining power in the verification data of the same Bluetooth beacon within a preset time period .

本申请通过上一实施例,能够方便且准确地实现对连接的蓝牙信标的剩余电量做出校验,以方便管理人员掌握蓝牙信标的用电情况,及时对电量不足的蓝牙信标的电池进行更换。Through the previous embodiment, the present application can conveniently and accurately check the remaining power of the connected Bluetooth beacon, so that the management personnel can grasp the power consumption of the Bluetooth beacon and replace the battery of the Bluetooth beacon with insufficient power in time. .

在一实施例中,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:在超过预设时长未接收到任一蓝牙信标对应的校验数据的情况下,判定所述任一蓝牙信标发生异常。即长时间都未接收到任一移动终端上传某一蓝牙信标的校验数据时,判定可能是该蓝牙信标发生异常,失去了发出蓝牙信号的能力,而针对不同场站、不同位置的不同蓝牙信标,因移动终端经过不同蓝牙信标的概率不同,部分蓝牙信标使用频率较高使用次数较多,而某些蓝牙信标因位置偏僻等原因,可能需要更长的时间才会经过一个移动终端,才能向服务器上传一次校验数据,因而服务器可以针对各蓝牙信标分别设置不同的预设时长,使得判定结果更加准确。In an embodiment, the identification of the working state of the corresponding Bluetooth beacon according to the verification data includes: in the case that no verification data corresponding to any Bluetooth beacon is received beyond a preset time period, determining the An exception occurred with any of the Bluetooth beacons. That is, when no verification data of a Bluetooth beacon uploaded by any mobile terminal is received for a long time, it is determined that the Bluetooth beacon may be abnormal and lose the ability to send out Bluetooth signals. Bluetooth beacons, because mobile terminals have different probabilities of passing through different Bluetooth beacons, some Bluetooth beacons are used more frequently, and some Bluetooth beacons may take longer to pass through due to remote location and other reasons. The mobile terminal can upload the verification data to the server once, so the server can set different preset time lengths for each Bluetooth beacon, making the judgment result more accurate.

实际应用过程中,部署于场站中的蓝牙信标,除了面临上述实施例中提及的异常工作状态外,也有可能因环境或其他厂商蓝牙信标等的影响,导致蓝牙信标的信号被干扰。In the actual application process, the Bluetooth beacon deployed in the station, in addition to facing the abnormal working state mentioned in the above embodiment, may also be affected by the environment or Bluetooth beacons of other manufacturers, which may cause the signal of the Bluetooth beacon to be interfered. .

在一实施例中,在所述校验数据用于确定对应的蓝牙信标中的所述业务信息的情况下,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:在根据所述校验数据确定的业务信息不匹配于所述对应的蓝牙信标的预设的业务信息的情况下,判定所述蓝牙信标业务配置发生异常。在因各种原因导致的蓝牙信标广播的蓝牙信号被干扰的情况下,为确保移动终端接收到的蓝牙信号中的业务信息能实现预设的业务功能,服务器可针对该业务信息进行校验,并在判定蓝牙信标存在异常的情况下,可以选择由服务器发出修正信号以进行远程修正,或者安排维修人员去现场进行校验并维修。In an embodiment, when the verification data is used to determine the service information in the corresponding Bluetooth beacon, identifying the working status of the corresponding Bluetooth beacon according to the verification data includes: If the service information determined according to the verification data does not match the preset service information of the corresponding Bluetooth beacon, it is determined that the service configuration of the Bluetooth beacon is abnormal. In the case that the Bluetooth signal broadcast by the Bluetooth beacon is interfered due to various reasons, in order to ensure that the service information in the Bluetooth signal received by the mobile terminal can realize the preset service function, the server can verify the service information , and when it is determined that the Bluetooth beacon is abnormal, the server can choose to send a correction signal for remote correction, or arrange maintenance personnel to go to the site for verification and maintenance.

具体地,服务器发出修正信号以对异常蓝牙信标进行远程修正的过程可以如下所述。Specifically, the process in which the server sends a correction signal to remotely correct the abnormal Bluetooth beacon can be described as follows.

在一实施例中,在判定任一蓝牙信标出现异常的情况下,向仍连接于所述任一蓝牙信标的移动终端发出修正信号,使该移动终端将所述修正信号转发至所述任一蓝牙信标,以指示所述任一蓝牙信标基于所述修正信号对所述异常进行调整。在任一蓝牙信标出现部分异常,例如业务配置发生异常、路线异常,或是服务器基于异常判断,希望对该蓝牙信标进行更多校验以验证其异常时,服务器可以向连接于该异常蓝牙信标的移动终端发出修正信号,并借助该移动终端与蓝牙信标之间的连接,转发修正信号,以实现对该蓝牙信标的调整。需注意的是,蓝牙信标的部分异常是无法通过远程修正完成调整,仅能通过维修人员去现场进行勘查、维修、更换,例如蓝牙信标电量不足。In one embodiment, when it is determined that any Bluetooth beacon is abnormal, a correction signal is sent to the mobile terminal still connected to the Bluetooth beacon, so that the mobile terminal forwards the correction signal to the any Bluetooth beacon. A Bluetooth beacon to instruct any of the Bluetooth beacons to adjust for the anomaly based on the correction signal. When any bluetooth beacon has some abnormalities, such as business configuration exceptions, route exceptions, or the server hopes to perform more checks on the bluetooth beacon to verify its abnormality based on abnormal judgments, the server can connect to the abnormal bluetooth The mobile terminal of the beacon sends out a correction signal, and forwards the correction signal by means of the connection between the mobile terminal and the Bluetooth beacon, so as to realize the adjustment of the Bluetooth beacon. It should be noted that some abnormalities of Bluetooth beacons cannot be adjusted through remote correction, and only maintenance personnel can go to the site to conduct surveys, repairs, and replacements. For example, the battery of Bluetooth beacons is insufficient.

本申请通过借助普通用户的移动终端,使该移动终端在正常实现业务功能的过程中,顺带帮忙上传校验数据,以使服务器能方便、低成本地收集到大量的数据以用作对蓝牙信标的校验,从而能够远程自动化识别蓝牙信标的多种异常工作状态。This application uses the mobile terminal of an ordinary user to enable the mobile terminal to help upload the verification data during the normal process of realizing business functions, so that the server can collect a large amount of data conveniently and at low cost for use as a bluetooth beacon. Verification, so that it can remotely and automatically identify various abnormal working states of Bluetooth beacons.

与服务器端的蓝牙信标的工作状态的校验方法对应的,本申请还提出了一种蓝牙信号的发送方法,应用于部署于场站中的蓝牙信标,还提出了一种蓝牙信号的接收方法,应用于移动终端,这两种方法在下文会详细描述。Corresponding to the verification method of the working status of the Bluetooth beacon on the server side, this application also proposes a method for sending Bluetooth signals, which is applied to Bluetooth beacons deployed in stations, and also proposes a method for receiving Bluetooth signals , applied to the mobile terminal, these two methods will be described in detail below.

图5为一示例性实施例示出的蓝牙信号的发送方法的示意流程图,应用于图1实施例中的蓝牙信标13,所述方法包括:FIG. 5 is a schematic flowchart of a method for sending a Bluetooth signal shown in an exemplary embodiment, which is applied to the Bluetooth beacon 13 in the embodiment of FIG. 1 , and the method includes:

S501:根据预设的业务信息和所述蓝牙信标当前状态下的硬件信息生成对应的蓝牙信号,其中,所述业务信息用于供接收到的移动终端实现相应的业务功能。S501: Generate a corresponding Bluetooth signal according to preset service information and hardware information in a current state of the Bluetooth beacon, wherein the service information is used for the received mobile terminal to implement a corresponding service function.

所述硬件信息可以包括UUID、MAC地址、剩余电量值等,与上述蓝牙信标的工作状态的校验方法相对应,为使得服务器能够从由移动终端上传的校验数据中获取必要的业务信息和/或硬件信息,本申请的蓝牙信标发送的蓝牙信号中,也必须包含业务信息和硬件信息。The hardware information may include UUID, MAC address, remaining power value, etc., corresponding to the verification method of the working state of the Bluetooth beacon above, in order to enable the server to obtain necessary business information and information from the verification data uploaded by the mobile terminal. /or hardware information, the Bluetooth signal sent by the Bluetooth beacon of this application must also contain business information and hardware information.

S502:向移动终端发送所述蓝牙信号,以由所述移动终端:根据所述蓝牙信号生成校验数据并上传至服务器,以使得所述服务器基于所述校验数据对所述蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。S502: Send the Bluetooth signal to the mobile terminal, so that the mobile terminal: generates verification data according to the Bluetooth signal and uploads it to the server, so that the server can check the work of the Bluetooth beacon based on the verification data The status is verified, wherein the verification data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon.

蓝牙信标可以根据预先设置的信号强度和广播频率,周期性地向外广播蓝牙信号,以使进入一定范围内的移动终端能够接收到该蓝牙信号;蓝牙信标也可以是在移动终端进入一定范围内后,与该移动终端建立蓝牙连接,直接向该移动终端发送所述蓝牙信号,本申请对此并不做出限制。Bluetooth beacons can periodically broadcast Bluetooth signals according to the preset signal strength and broadcast frequency, so that mobile terminals within a certain range can receive the Bluetooth signals; Bluetooth beacons can also be used when mobile terminals enter a certain range. After within the range, a Bluetooth connection is established with the mobile terminal, and the Bluetooth signal is directly sent to the mobile terminal, which is not limited in this application.

图6为一示例性实施例示出的蓝牙信号的接收方法的示意流程图,应用于图1实施例中的移动终端12,所述方法包括:FIG. 6 is a schematic flowchart of a method for receiving Bluetooth signals shown in an exemplary embodiment, which is applied to the mobile terminal 12 in the embodiment of FIG. 1 , and the method includes:

S601:接收部署于场站的蓝牙信标发出的蓝牙信号;其中,所述蓝牙信号包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息。S601: Receive a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein, the Bluetooth signal includes service information and hardware information, and the service information is used for the mobile terminal to realize corresponding service functions, and the hardware information is the hardware information of the Bluetooth beacon.

本申请中的移动终端12应当具备能够接收场站中的蓝牙信标广播的蓝牙信号的能力,并能够基于接收到的一定范围内的蓝牙信标产生的蓝牙信号,实现对应的业务功能。The mobile terminal 12 in this application should be able to receive the Bluetooth signal broadcast by the Bluetooth beacon in the station, and be able to realize the corresponding service function based on the received Bluetooth signal generated by the Bluetooth beacon within a certain range.

S602:根据所述蓝牙信号生成校验数据,并将该校验数据上传至服务器,以使得所述服务器基于所述校验数据对相应蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。S602: Generate verification data according to the Bluetooth signal, and upload the verification data to the server, so that the server can verify the working status of the corresponding Bluetooth beacon based on the verification data, wherein the verification The data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon.

在移动终端12根据蓝牙信号实现业务功能的同时,移动终端可以根据所述蓝牙信号生成校验数据并上传至服务器。移动终端可以借助实现该业务功能的应用、端口、网页等来生成校验数据并上传,可以在用户知晓并同意协助校验的情况下进行,也可以在不影响用户使用的情况下,不被用户感知的情况下进行,本申请对此并不做出限制。While the mobile terminal 12 implements service functions according to the Bluetooth signal, the mobile terminal can generate verification data according to the Bluetooth signal and upload it to the server. Mobile terminals can generate and upload verification data with the help of applications, ports, web pages, etc. that realize this service function. It is performed under the condition of user perception, which is not limited in this application.

在一实施例中,移动终端12还可以基于服务器下发的校验需求,将与该需求对应的业务信息或/和硬件信息生成校验数据并上传,以使服务器能够更快速更精确地获取任一所需要的蓝牙信标的数据信息。In an embodiment, the mobile terminal 12 can also generate and upload verification data corresponding to the service information or/and hardware information based on the verification requirements issued by the server, so that the server can obtain the verification data more quickly and accurately. Any desired Bluetooth beacon data information.

因场站中可能部署了多家厂商的蓝牙信标,而蓝牙信号之间的数据格式相似,使用的字段基本相同,为避免移动终端接收到其他厂商部署的蓝牙信标的蓝牙信号,导致业务功能无法正常实现,可以在移动终端接收到蓝牙信号后,对该蓝牙信号进行校验,具体如下。Because the Bluetooth beacons of multiple manufacturers may be deployed in the station, and the data format of the Bluetooth signals is similar, the fields used are basically the same. In order to prevent the mobile terminal from receiving the Bluetooth signals of the Bluetooth beacons deployed by other manufacturers, the If it cannot be realized normally, the Bluetooth signal can be verified after the mobile terminal receives the Bluetooth signal, as follows.

在一实施例中,所述硬件信息包括所述蓝牙信标的通用唯一识别码UUID,所述根据所述蓝牙信号生成校验数据,包括:在所述UUID为预设UUID的情况下,根据所述蓝牙信号生成校验数据;在所述UUID不为所述预设UUID的情况下,所述移动终端将所述蓝牙信号忽略。In an embodiment, the hardware information includes the UUID of the Bluetooth beacon, and the generating the verification data according to the Bluetooth signal includes: when the UUID is a preset UUID, according to the UUID The Bluetooth signal generates verification data; in the case that the UUID is not the preset UUID, the mobile terminal ignores the Bluetooth signal.

为能通过UUID来对蓝牙信标进行识别,实现部署蓝牙信标时,需将这些蓝牙信标都设置为预设的UUID,这样移动终端在接收到蓝牙信号后,即可通过蓝牙信号中的UUID来对发出信号的蓝牙信标进行识别,在UUID为预设UUID的情况下,正常读取蓝牙信号中的业务信息以实现业务功能,并根据蓝牙信号生成校验数据,并上传至服务器,在UUID不为预设UUID的情况下,使移动终端对该蓝牙信号忽略,进一步,还可以令该移动终端对发出该信号的蓝牙信标进行标识,以避免再次接收到该蓝牙信标的蓝牙信号。In order to identify Bluetooth beacons by UUID, when deploying Bluetooth beacons, these Bluetooth beacons need to be set to the preset UUID, so that the mobile terminal can pass the UUID in the Bluetooth signal after receiving the Bluetooth signal. UUID is used to identify the Bluetooth beacon that sends out the signal. When the UUID is the preset UUID, the business information in the Bluetooth signal is normally read to realize the business function, and the verification data is generated according to the Bluetooth signal and uploaded to the server. In the case that the UUID is not the preset UUID, the mobile terminal is made to ignore the Bluetooth signal, and further, the mobile terminal can also be made to identify the Bluetooth beacon that sent the signal, so as to avoid receiving the Bluetooth signal of the Bluetooth beacon again .

图7为一实施例示出的一次蓝牙信标的工作状态的校验的流程图。如图7所示,该校验可以包括:Fig. 7 is a flowchart of a verification of the working state of a Bluetooth beacon according to an embodiment. As shown in Figure 7, the verification may include:

S701:移动终端接收蓝牙信号。S701: The mobile terminal receives a Bluetooth signal.

S702:移动终端从蓝牙信号中获取UUID,并判断该UUID是否符合预设的UUID。S702: The mobile terminal obtains the UUID from the Bluetooth signal, and judges whether the UUID conforms to a preset UUID.

若不符合预设UUID,则说明发出该蓝牙信号的蓝牙信标并非预部署的蓝牙信标,则将该信号忽略或屏蔽;If it does not match the preset UUID, it means that the Bluetooth beacon that sends out the Bluetooth signal is not a pre-deployed Bluetooth beacon, and the signal is ignored or blocked;

若符合预设UUID,则说明发出该蓝牙信号的蓝牙信标为预部署的蓝牙信标,则执行S703。If it matches the preset UUID, it means that the Bluetooth beacon sending out the Bluetooth signal is a pre-deployed Bluetooth beacon, and then execute S703.

S703:实现业务功能,生成校验数据并上传。S703: Implement business functions, generate verification data and upload it.

移动终端根据该蓝牙信号中的业务信息实现相应的业务功能,并可以根据校验需求,基于该蓝牙信号生成对应的校验数据,并将该校验数据通过移动终端自身的网络上传至服务器,以由服务器进行校验。The mobile terminal implements corresponding service functions according to the service information in the Bluetooth signal, and can generate corresponding verification data based on the Bluetooth signal according to the verification requirements, and upload the verification data to the server through the mobile terminal's own network, to be verified by the server.

S704:服务器接收校验数据。S704: The server receives the verification data.

S705:服务器能否获取MAC地址、业务信息、剩余电量值。S705: Whether the server can obtain the MAC address, service information, and remaining power value.

事实上,除了实施例中示出的MAC地址、业务信息、剩余电量值之外,服务器可以根据自身的校验需求,从移动终端上传的校验数据中获取相对应的业务信息和/或硬件信息,并基于获取的这些数据信息来进行校验。In fact, in addition to the MAC address, service information, and remaining power value shown in the embodiment, the server can obtain corresponding service information and/or hardware information from the verification data uploaded by the mobile terminal according to its own verification requirements. information, and verify it based on the acquired data information.

若服务器无法成功获取任一数据信息,则蓝牙信标异常;If the server cannot successfully obtain any data information, the Bluetooth beacon is abnormal;

若服务器能够成功获取任一数据信息,则执行S706。If the server can successfully acquire any data information, execute S706.

S706:基于各数据信息,对蓝牙信标的工作状态进行校验,其中,具体可以包括:S706: Based on each data information, verify the working status of the Bluetooth beacon, which may specifically include:

S706A:获取的MAC地址用于判定信标位置是否正确。S706A: The obtained MAC address is used to determine whether the position of the beacon is correct.

若判定信标位置错误,则信标异常;若判定信标位置正确,则可进一步进行S707A的校验。If it is determined that the position of the beacon is wrong, the beacon is abnormal; if it is determined that the position of the beacon is correct, the verification of S707A can be further performed.

S707A:服务器还可以根据获取的多个校验数据,获取多个MAC地址,利用该多个MAC地址生成移动终端行进的实际路线。S707A: The server may also acquire multiple MAC addresses according to the multiple acquired verification data, and use the multiple MAC addresses to generate an actual route traveled by the mobile terminal.

S708A:在S707A中生成的实际路线用于判定服务器给出的导航路线是否异常。S708A: The actual route generated in S707A is used to determine whether the navigation route given by the server is abnormal.

除了基于MAC地址进行的判定,另一方面,还可以包括:In addition to the judgment based on the MAC address, on the other hand, it can also include:

S706B:获取的剩余电量值用于判定信标的电量状态。S706B: The obtained remaining power value is used to determine the power state of the beacon.

若剩余电量值小于预设阈值,则该蓝牙信标电量不足,需要安排人员去现场对电池进行更换。If the remaining power value is less than the preset threshold, the Bluetooth beacon has insufficient power, and it is necessary to arrange personnel to replace the battery on site.

S706C:获取的业务信息用于比对信标的初始数据,以判定该蓝牙信标是否存在业务配置异常。S706C: The acquired service information is used to compare the initial data of the beacon to determine whether the Bluetooth beacon has abnormal service configuration.

若存在业务配置异常,则可以安排人员去现场进行检修,也可以由服务器远程发送修正信号来对蓝牙信标进行调整。If there is an abnormality in the business configuration, personnel can be arranged to go to the site for maintenance, or the server can remotely send a correction signal to adjust the Bluetooth beacon.

本申请通过在蓝牙信号中包括硬件信息,并由普通用户的移动终端在实现业务功能时借助移动终端的网络将校验数据上传,以使得服务器能够低成本、大量、便捷地获取校验数据以对蓝牙信标的工作状态进行自动化校验,能够节约对蓝牙信标的校验维护成本,并在大量校验数据的验证下,使得校验判断更加准确。In this application, the hardware information is included in the bluetooth signal, and the mobile terminal of an ordinary user uploads the verification data with the help of the network of the mobile terminal when realizing the service function, so that the server can obtain the verification data at low cost, in large quantities, and conveniently. Automatic verification of the working status of the Bluetooth beacon can save the cost of verification and maintenance of the Bluetooth beacon, and make the verification judgment more accurate under the verification of a large amount of verification data.

与本申请的方法项实施例对应,本申请还提供了相应的蓝牙信标的工作状态的校验装置、蓝牙信号的发送装置、蓝牙信号的接收装置的实施例。Corresponding to the method item embodiments of the present application, the present application also provides embodiments of corresponding Bluetooth beacon working state checking devices, Bluetooth signal sending devices, and Bluetooth signal receiving devices.

图8是一示例性实施例提供的一种设备的示意结构图。请参考图8,在硬件层面,该设备包括处理器810、网络接口820、内存830以及非易失性存储器840,当然还可能包括其他业务所需要的硬件。本申请一个或多个实施例可以基于软件方式来实现,比如由处理器810从非易失性存储器840中读取对应的计算机程序到内存830中然后运行。当然,除了软件实现方式之外,本申请一个或多个实施例并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。Fig. 8 is a schematic structural diagram of a device provided by an exemplary embodiment. Please refer to FIG. 8 , at the hardware level, the device includes a processor 810 , a network interface 820 , a memory 830 and a non-volatile memory 840 , and of course may also include hardware required by other services. One or more embodiments of the present application may be implemented based on software, for example, the processor 810 reads a corresponding computer program from the non-volatile memory 840 into the memory 830 and executes it. Of course, in addition to the software implementation, one or more embodiments of the present application do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the processing flow is not limited to each logic A unit, which can also be a hardware or logic device.

请参见图9,图9是本申请一实施例中蓝牙信标的工作状态的校验装置的框图。该蓝牙信标的工作状态的校验装置可以应用于如图8所示的电子设备中,以实现本申请的技术方案。其中,所述蓝牙信标的工作状态的校验装置应用于服务器,包括:Please refer to FIG. 9 . FIG. 9 is a block diagram of a device for verifying the working status of a Bluetooth beacon in an embodiment of the present application. The device for verifying the working state of the Bluetooth beacon can be applied to the electronic device shown in FIG. 8 to realize the technical solution of the present application. Wherein, the verification device of the working state of the Bluetooth beacon is applied to the server, including:

数据接收单元910,用于接收由移动终端根据蓝牙信号生成并上传的校验数据,其中,所述蓝牙信号由所述移动终端从部署于场站中的蓝牙信标处接收到,所述蓝牙信号中包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息;The data receiving unit 910 is configured to receive the verification data generated and uploaded by the mobile terminal according to the Bluetooth signal, wherein the Bluetooth signal is received by the mobile terminal from a Bluetooth beacon deployed in the station, and the Bluetooth The signal includes service information and hardware information, the service information is used for the mobile terminal to realize corresponding service functions, the hardware information is the hardware information of the Bluetooth beacon, and the verification data is used to carry the corresponding Bluetooth The hardware information and/or the service information in the beacon;

异常识别单元920,用于根据所述校验数据识别对应的蓝牙信标的工作状态。The abnormal identification unit 920 is configured to identify the working status of the corresponding Bluetooth beacon according to the verification data.

可选的,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:Optionally, the identifying the working state of the corresponding Bluetooth beacon according to the verification data includes:

若无法从所述校验数据中成功读取所述蓝牙信号中的任一数据信息,则判定对应的蓝牙信标发生异常。If any data information in the Bluetooth signal cannot be successfully read from the verification data, it is determined that the corresponding Bluetooth beacon is abnormal.

可选的,在所述校验数据用于确定对应的蓝牙信标中的所述硬件信息的情况下,所述硬件信息包括所述蓝牙信标的硬件地址MAC地址,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:Optionally, when the verification data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes the hardware address MAC address of the Bluetooth beacon, and the The data identifies the working status of the corresponding Bluetooth beacon, including:

在所述校验数据中包含的MAC地址与预先记录的部署于相应场站中的蓝牙信标的MAC地址不一致的情况下,判定对应的蓝牙信标发生异常。If the MAC address contained in the verification data is inconsistent with the pre-recorded MAC address of the Bluetooth beacon deployed in the corresponding station, it is determined that the corresponding Bluetooth beacon is abnormal.

可选的,所述业务信息用于引导所述移动终端按照规划的导航路线前往目的地,所述校验数据用于确定对应的蓝牙信标,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:Optionally, the service information is used to guide the mobile terminal to the destination according to the planned navigation route, the verification data is used to determine the corresponding Bluetooth beacon, and the corresponding Bluetooth beacon is identified according to the verification data. The working status of the beacon, including:

获取所述移动终端上传的多个校验数据,根据所述多个校验数据确定对应的多个蓝牙信标的预部署地点,并根据所述预部署地点确定所述移动终端移动的实际路线;Obtain a plurality of verification data uploaded by the mobile terminal, determine the pre-deployment locations of the corresponding plurality of Bluetooth beacons according to the plurality of verification data, and determine the actual moving route of the mobile terminal according to the pre-deployment locations;

在所述实际路线与所述规划的导航路线不一致的情况下,判定路线存在异常。If the actual route is inconsistent with the planned navigation route, it is determined that the route is abnormal.

可选的,在所述校验数据用于确定对应的蓝牙信标中的所述硬件信息的情Optionally, when the verification data is used to determine the hardware information in the corresponding Bluetooth beacon

况下,所述硬件信息包括蓝牙信标的剩余电量值,所述根据所述校验数据识别5对应的蓝牙信标的工作状态,包括:In some cases, the hardware information includes the remaining power value of the Bluetooth beacon, and the identification of the working status of the corresponding Bluetooth beacon according to the verification data includes:

在所述剩余电量值小于预设阈值的情况下,判定所述对应的蓝牙信标电量不足。If the remaining power value is less than a preset threshold, it is determined that the corresponding Bluetooth beacon has insufficient power.

可选的,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:Optionally, the identifying the working state of the corresponding Bluetooth beacon according to the verification data includes:

在超过预设时长未接收到任一蓝牙信标对应的校验数据的情况下,判定所0述任一蓝牙信标发生异常。If the verification data corresponding to any bluetooth beacon is not received beyond the preset time period, it is determined that any bluetooth beacon is abnormal.

可选的,在所述校验数据用于确定对应的蓝牙信标中的所述业务信息的情况下,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:Optionally, in the case where the verification data is used to determine the service information in the corresponding Bluetooth beacon, identifying the working status of the corresponding Bluetooth beacon according to the verification data includes:

在根据所述校验数据确定的业务信息不匹配于所述对应的蓝牙信标的预设的业务信息的情况下,判定所述蓝牙信标业务配置发生异常。If the service information determined according to the verification data does not match the preset service information of the corresponding Bluetooth beacon, it is determined that the service configuration of the Bluetooth beacon is abnormal.

5可选的,还包括:5 optional, also include:

在判定任一蓝牙信标出现异常的情况下,向仍连接于所述任一蓝牙信标的移动终端发出修正信号,使该移动终端将所述修正信号转发至所述任一蓝牙信标,以指示所述任一蓝牙信标基于所述修正信号对所述异常进行调整。When it is determined that any bluetooth beacon is abnormal, send a correction signal to the mobile terminal still connected to the bluetooth beacon, so that the mobile terminal forwards the correction signal to any bluetooth beacon, so as to Instructing said any Bluetooth beacon to adjust for said anomaly based on said correction signal.

请参见图10,图10是本申请一实施例中蓝牙信号的发送装置的框图。0该蓝牙信号的发送装置可以应用于如图8所示的电子设备中,以实现本申请的技术方案。其中,所述蓝牙信号的发送装置应用于部署于场站的蓝牙信标,包括:Please refer to FIG. 10 , which is a block diagram of a Bluetooth signal sending device in an embodiment of the present application. 0 The bluetooth signal sending device can be applied to the electronic device as shown in FIG. 8, so as to realize the technical solution of the present application. Wherein, the sending device of the bluetooth signal is applied to the bluetooth beacon deployed in the station, including:

信号生成单元1010,用于根据预设的业务信息和所述蓝牙信标当前状态A signal generating unit 1010, configured to use preset service information and the current state of the Bluetooth beacon

下的硬件信息生成对应的蓝牙信号,其中,所述业务信息用于供接收到的移5动终端实现相应的业务功能;The following hardware information generates a corresponding Bluetooth signal, wherein the service information is used for the received mobile terminal to realize corresponding service functions;

信号发送单元1020,用于向移动终端发送所述蓝牙信号,以由所述移动终端:根据所述蓝牙信号生成校验数据并上传至服务器,以使得所述服务器基于所述校验数据对所述蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。The signal sending unit 1020 is configured to send the bluetooth signal to the mobile terminal, so that the mobile terminal: generates verification data according to the bluetooth signal and uploads it to the server, so that the server performs a check on the verification data based on the verification data Check the working status of the Bluetooth beacon, wherein the check data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon.

请参见图11,图11是本申请一实施例中蓝牙信号的接收装置的框图。该蓝牙信号的接收装置可以应用于如图8所示的电子设备中,以实现本申请的技术方案。其中,所述蓝牙信号的接收装置应用于移动终端,包括:Please refer to FIG. 11 , which is a block diagram of a device for receiving Bluetooth signals in an embodiment of the present application. The device for receiving a Bluetooth signal can be applied to an electronic device as shown in FIG. 8 to realize the technical solution of the present application. Wherein, the receiving device of the Bluetooth signal is applied to a mobile terminal, including:

信号接收单元1110,用于接收部署于场站的蓝牙信标发出的蓝牙信号;其中,所述蓝牙信号包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息;The signal receiving unit 1110 is configured to receive a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein, the Bluetooth signal includes service information and hardware information, and the service information is used for the mobile terminal to realize corresponding service functions , the hardware information is the hardware information of the Bluetooth beacon;

数据生成单元1120,用于根据所述蓝牙信号生成校验数据,并将该校验数据上传至服务器,以使得所述服务器基于所述校验数据对相应蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。The data generation unit 1120 is configured to generate verification data according to the Bluetooth signal, and upload the verification data to the server, so that the server verifies the working status of the corresponding Bluetooth beacon based on the verification data, wherein , the verification data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon.

可选的,所述硬件信息包括所述蓝牙信标的通用唯一识别码UUID,所述根据所述蓝牙信号生成校验数据,包括:Optionally, the hardware information includes the UUID of the Bluetooth beacon, and the generation of verification data according to the Bluetooth signal includes:

在所述UUID为预设UUID的情况下,根据所述蓝牙信号生成校验数据;In the case where the UUID is a preset UUID, generating verification data according to the Bluetooth signal;

在所述UUID不为所述预设UUID的情况下,所述移动终端将所述蓝牙信号忽略。If the UUID is not the preset UUID, the mobile terminal ignores the Bluetooth signal.

上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For the implementation process of the functions and effects of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method for details, and will not be repeated here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关指出参见方法实施例的部分说明即可。以上所描述的装置实施例只是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for relevant points, please refer to the part of the description of the method embodiment. The device embodiments described above are only illustrative, and 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 a place, or can also be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this application. It can be understood and implemented by those skilled in the art without creative effort.

在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, and switches) or improvements in software (improvement in method flow). However, with the development of technology, the improvement of many current method flows can be regarded as the direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules. It should also be clear to those skilled in the art that only a little logical programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit for realizing the logic method flow.

控制器可以按任何适当的方式实现,本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any appropriate manner, and those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, dedicated Integrated circuits, programmable logic controllers, and embedded microcontrollers to achieve the same function. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as structures within the hardware component. Or even, means for realizing various functions can be regarded as a structure within both a software module realizing a method and a hardware component.

上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为服务器系统。当然,本申请不排除随着未来计算机技术的发展,实现上述实施例功能的计算机例如可以为个人计算机、膝上型计算机、车载人机交互设备、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units described in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a server system. Of course, the present application does not exclude that with the development of future computer technology, the computer that realizes the functions of the above embodiments can be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular phone, a camera phone, a smart phone, a personal digital assistant , media players, navigation devices, email devices, game consoles, tablet computers, wearable devices, or any combination of these devices.

虽然本申请一个或多个实施例提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的手段可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的装置或终端产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行(例如并行处理器或者多线程处理的环境,甚至为分布式数据处理环境)。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、产品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、产品或者设备所固有的要素。在没有更多限制的情况下,并不排除在包括所述要素的过程、方法、产品或者设备中还存在另外的相同或等同要素。例如若使用到第一,第二等词语用来表示名称,而并不表示任何特定的顺序。Although one or more embodiments of the present application provide the operation steps of the method described in the embodiment or the flowchart, more or fewer operation steps may be included based on conventional or non-inventive means. The sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence. When an actual device or terminal product is executed, the methods shown in the embodiments or drawings can be executed sequentially or in parallel (such as a parallel processor or multi-thread processing environment, or even a distributed data processing environment). The term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, product, or apparatus comprising a set of elements includes not only those elements, but also other elements not expressly listed elements, or also elements inherent in such a process, method, product, or apparatus. Without further limitations, it is not excluded that there are additional identical or equivalent elements in a process, method, product or device comprising said elements. For example, if the words first, second, etc. are used, they are used to indicate names and do not indicate any specific order.

为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本申请一个或多个时可以把各模块的功能在同一个或多个软件和/或硬件中实现,也可以将实现同一功能的模块由多个子模块或子单元的组合实现等。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。For the convenience of description, when describing the above devices, functions are divided into various modules and described separately. Of course, when implementing one or more of the present application, the functions of each module can be realized in the same or more software and/or hardware, and the modules that realize the same function can also be realized by a combination of multiple submodules or subunits, etc. . The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

本申请是参照根据本申请实施例的方法、装置(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储、石墨烯存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage, graphene storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by computing devices. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.

本领域技术人员应明白,本申请一个或多个实施例可提供为方法、系统或计算机程序产品。因此,本申请一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that one or more embodiments of the present application may be provided as a method, system or computer program product. Accordingly, one or more embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present application may employ a computer program embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The form of the product.

本申请一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本本申请一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of the present application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.

本申请中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。在本申请的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本申请中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本申请中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。Each embodiment in the present application is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to part of the description of the method embodiment. In the description of this application, reference to the terms "one embodiment," "some embodiments," "example," "specific examples," or "some examples" means that specific features described in connection with that embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this application, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in the present application without conflicting with each other.

以上所述仅为本申请一个或多个实施例的实施例而已,并不用于限制本申请一个或多个实施例。对于本领域技术人员来说,本申请一个或多个实施例可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在权利要求范围之内。The foregoing description is only an example of one or more embodiments of the present application, and is not intended to limit one or more embodiments of the present application. For those skilled in the art, various modifications and changes can be made to one or more embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of the claims.

Claims (16)

1.一种蓝牙信标的工作状态的校验方法,其特征在于,应用于服务器,所述方法包括:1. A method for checking the working state of a bluetooth beacon, characterized in that it is applied to a server, and the method includes: 接收由移动终端根据蓝牙信号生成并上传的校验数据,其中,所述蓝牙信号由所述移动终端从部署于场站中的蓝牙信标处接收到,所述蓝牙信号中包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息;Receive the verification data generated and uploaded by the mobile terminal according to the Bluetooth signal, wherein the Bluetooth signal is received by the mobile terminal from the Bluetooth beacon deployed in the station, and the Bluetooth signal includes business information and hardware information, the service information is used for the mobile terminal to implement corresponding service functions, the hardware information is the hardware information of the Bluetooth beacon, and the verification data is used to carry the hardware in the corresponding Bluetooth beacon information and/or said business information; 根据所述校验数据识别对应的蓝牙信标的工作状态。Identify the working state of the corresponding Bluetooth beacon according to the verification data. 2.根据权利要求1所述的方法,其特征在于,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:2. The method according to claim 1, wherein the identifying the working state of the corresponding Bluetooth beacon according to the verification data comprises: 若无法从所述校验数据中成功读取所述蓝牙信号中的任一数据信息,则判定对应的蓝牙信标发生异常。If any data information in the Bluetooth signal cannot be successfully read from the verification data, it is determined that the corresponding Bluetooth beacon is abnormal. 3.根据权利要求1所述的方法,其特征在于,在所述校验数据用于确定对应的蓝牙信标中的所述硬件信息的情况下,所述硬件信息包括所述蓝牙信标的硬件地址MAC地址,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:3. The method according to claim 1, wherein, in the case where the verification data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes the hardware information of the Bluetooth beacon Address MAC address, the identification of the working state of the corresponding Bluetooth beacon according to the verification data, including: 在所述校验数据中包含的MAC地址与预先记录的部署于相应场站中的蓝牙信标的MAC地址不一致的情况下,判定对应的蓝牙信标发生异常。If the MAC address contained in the verification data is inconsistent with the pre-recorded MAC address of the Bluetooth beacon deployed in the corresponding station, it is determined that the corresponding Bluetooth beacon is abnormal. 4.根据权利要求1所述的方法,其特征在于,所述业务信息用于引导所述移动终端按照规划的导航路线前往目的地,所述校验数据用于确定对应的蓝牙信标,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:4. The method according to claim 1, wherein the service information is used to guide the mobile terminal to the destination according to the planned navigation route, and the verification data is used to determine the corresponding Bluetooth beacon, so Identifying the working state of the corresponding bluetooth beacon according to the verification data includes: 获取所述移动终端上传的多个校验数据,根据所述多个校验数据确定对应的多个蓝牙信标的预部署地点,并根据所述预部署地点确定所述移动终端移动的实际路线;Obtain a plurality of verification data uploaded by the mobile terminal, determine the pre-deployment locations of the corresponding plurality of Bluetooth beacons according to the plurality of verification data, and determine the actual moving route of the mobile terminal according to the pre-deployment locations; 在所述实际路线与所述规划的导航路线不一致的情况下,判定路线存在异常。If the actual route is inconsistent with the planned navigation route, it is determined that the route is abnormal. 5.根据权利要求1所述的方法,其特征在于,在所述校验数据用于确定对应的蓝牙信标中的所述硬件信息的情况下,所述硬件信息包括蓝牙信标的剩余电量值,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:5. The method according to claim 1, wherein when the check data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes the remaining power value of the Bluetooth beacon , identifying the working state of the corresponding Bluetooth beacon according to the verification data, including: 在所述剩余电量值小于预设阈值的情况下,判定所述对应的蓝牙信标电量不足。If the remaining power value is less than a preset threshold, it is determined that the corresponding Bluetooth beacon has insufficient power. 6.根据权利要求1所述的方法,其特征在于,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:6. The method according to claim 1, wherein the identifying the working state of the corresponding Bluetooth beacon according to the verification data comprises: 在超过预设时长未接收到任一蓝牙信标对应的校验数据的情况下,判定所述任一蓝牙信标发生异常。If the verification data corresponding to any bluetooth beacon is not received beyond the preset time period, it is determined that any bluetooth beacon is abnormal. 7.根据权利要求1所述的方法,其特征在于,在所述校验数据用于确定对应的蓝牙信标中的所述业务信息的情况下,所述根据所述校验数据识别对应的蓝牙信标的工作状态,包括:7. The method according to claim 1, characterized in that, when the verification data is used to determine the service information in the corresponding Bluetooth beacon, the identification of the corresponding Bluetooth beacon according to the verification data The working status of the Bluetooth beacon, including: 在根据所述校验数据确定的业务信息不匹配于所述对应的蓝牙信标的预设的业务信息的情况下,判定所述蓝牙信标业务配置发生异常。If the service information determined according to the verification data does not match the preset service information of the corresponding Bluetooth beacon, it is determined that the service configuration of the Bluetooth beacon is abnormal. 8.根据权利要求1所述的方法,其特征在于,还包括:8. The method of claim 1, further comprising: 在判定任一蓝牙信标出现异常的情况下,向仍连接于所述任一蓝牙信标的移动终端发出修正信号,使该移动终端将所述修正信号转发至所述任一蓝牙信标,以指示所述任一蓝牙信标基于所述修正信号对所述异常进行调整。When it is determined that any bluetooth beacon is abnormal, send a correction signal to the mobile terminal still connected to the bluetooth beacon, so that the mobile terminal forwards the correction signal to any bluetooth beacon, so as to Instructing said any Bluetooth beacon to adjust for said anomaly based on said correction signal. 9.一种蓝牙信号的发送方法,其特征在于,应用于部署于场站的蓝牙信标,所述方法包括:9. A method for sending bluetooth signals, characterized in that it is applied to bluetooth beacons deployed at stations, the method comprising: 根据预设的业务信息和所述蓝牙信标当前状态下的硬件信息生成对应的蓝牙信号,其中,所述业务信息用于供接收到的移动终端实现相应的业务功能;Generate corresponding Bluetooth signals according to preset service information and hardware information in the current state of the Bluetooth beacon, wherein the service information is used for the received mobile terminal to implement corresponding service functions; 向移动终端发送所述蓝牙信号,以由所述移动终端:根据所述蓝牙信号生成校验数据并上传至服务器,以使得所述服务器基于所述校验数据对所述蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。Send the bluetooth signal to the mobile terminal, so that the mobile terminal: generates verification data according to the bluetooth signal and uploads it to the server, so that the server checks the working status of the bluetooth beacon based on the verification data Verification, wherein the verification data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon. 10.一种蓝牙信号的接收方法,其特征在于,应用于移动终端,所述方法包括:10. A method for receiving a bluetooth signal, characterized in that it is applied to a mobile terminal, and the method comprises: 接收部署于场站的蓝牙信标发出的蓝牙信号;其中,所述蓝牙信号包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息;Receive the bluetooth signal sent by the bluetooth beacon deployed at the station; wherein, the bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to realize the corresponding service function, and the hardware information is the Describe the hardware information of the Bluetooth beacon; 根据所述蓝牙信号生成校验数据,并将该校验数据上传至服务器,以使得所述服务器基于所述校验数据对相应蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。Generate verification data according to the Bluetooth signal, and upload the verification data to the server, so that the server verifies the working status of the corresponding Bluetooth beacon based on the verification data, wherein the verification data uses The hardware information and/or the service information carried in the corresponding Bluetooth beacon. 11.根据权利要求10所述的方法,其特征在于,所述硬件信息包括所述蓝牙信标的通用唯一识别码UUID,所述根据所述蓝牙信号生成校验数据,包括:11. The method according to claim 10, wherein the hardware information includes the UUID of the Bluetooth beacon, and the generation of verification data according to the Bluetooth signal includes: 在所述UUID为预设UUID的情况下,根据所述蓝牙信号生成校验数据;In the case where the UUID is a preset UUID, generating verification data according to the Bluetooth signal; 在所述UUID不为所述预设UUID的情况下,所述移动终端将所述蓝牙信号忽略。If the UUID is not the preset UUID, the mobile terminal ignores the Bluetooth signal. 12.一种蓝牙信标的工作状态的校验装置,其特征在于,应用于服务器,所述装置包括:12. A verification device for the working state of a Bluetooth beacon, characterized in that it is applied to a server, and the device includes: 数据接收单元,用于接收由移动终端根据蓝牙信号生成并上传的校验数据,其中,所述蓝牙信号由所述移动终端从部署于场站中的蓝牙信标处接收到,所述蓝牙信号中包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息;The data receiving unit is used to receive the verification data generated and uploaded by the mobile terminal according to the bluetooth signal, wherein the bluetooth signal is received by the mobile terminal from the bluetooth beacon deployed in the station, and the bluetooth signal Including business information and hardware information, the business information is used for the mobile terminal to realize the corresponding business function, the hardware information is the hardware information of the Bluetooth beacon, and the verification data is used to carry the corresponding Bluetooth signal The hardware information and/or the business information in the bid; 异常识别单元,用于根据所述校验数据识别对应的蓝牙信标的工作状态。The abnormal identification unit is configured to identify the working state of the corresponding Bluetooth beacon according to the verification data. 13.一种蓝牙信号的发送装置,其特征在于,应用于部署于场站的蓝牙信标,所述装置包括:13. A device for sending a Bluetooth signal, characterized in that it is applied to a Bluetooth beacon deployed at a station, and the device includes: 信号生成单元,用于根据预设的业务信息和所述蓝牙信标当前状态下的硬件信息生成对应的蓝牙信号,其中,所述业务信息用于供接收到的移动终端实现相应的业务功能;A signal generating unit, configured to generate a corresponding Bluetooth signal according to preset service information and hardware information in the current state of the Bluetooth beacon, wherein the service information is used for the received mobile terminal to realize a corresponding service function; 信号发送单元,用于向移动终端发送所述蓝牙信号,以由所述移动终端:5根据所述蓝牙信号生成校验数据并上传至服务器,以使得所述服务器基于所述校验数据对所述蓝牙信标的工作状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。A signal sending unit, configured to send the Bluetooth signal to the mobile terminal, so that the mobile terminal: 5 generates verification data according to the Bluetooth signal and uploads it to the server, so that the server can perform a check on the verification data based on the verification data. Check the working status of the Bluetooth beacon, wherein the check data is used to carry the hardware information and/or the service information in the corresponding Bluetooth beacon. 14.一种蓝牙信号的接收装置,其特征在于,应用于移动终端,所述装置包括:14. A receiving device for a bluetooth signal, characterized in that it is applied to a mobile terminal, and the device comprises: 0信号接收单元,用于接收部署于场站的蓝牙信标发出的蓝牙信号;其中,0 signal receiving unit, used to receive the bluetooth signal sent by the bluetooth beacon deployed in the field station; wherein, 所述蓝牙信号包括业务信息和硬件信息,所述业务信息用于供所述移动终端实现相应的业务功能,所述硬件信息为所述蓝牙信标的硬件信息;The Bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to realize corresponding service functions, and the hardware information is the hardware information of the Bluetooth beacon; 数据生成单元,用于根据所述蓝牙信号生成校验数据,并将该校验数据上传至服务器,以使得所述服务器基于所述校验数据对相应蓝牙信标的工作5状态进行校验,其中,所述校验数据用于承载对应的蓝牙信标中的所述硬件信息和/或所述业务信息。A data generating unit, configured to generate verification data according to the Bluetooth signal, and upload the verification data to the server, so that the server verifies the working state of the corresponding Bluetooth beacon based on the verification data, wherein , the verification data is used to bear the hardware information and/or the service information in the corresponding Bluetooth beacon. 15.一种电子设备,其特征在于,包括:处理器、存储器;15. An electronic device, comprising: a processor and a memory; 所述存储器,用于存储计算机程序;The memory is used to store computer programs; 所述处理器,用于通过调用所述计算机程序,执行如权利要求1-11中任0一项所述的方法。The processor is configured to execute the method according to any one of claims 1-11 by invoking the computer program. 16.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,16. A computer-readable storage medium on which a computer program is stored, characterized in that, 该程序被处理器执行时实现权利要求1-11任一项所述的方法。When the program is executed by the processor, the method described in any one of claims 1-11 is implemented.
CN202310009991.9A 2023-01-04 2023-01-04 Method, device, equipment and medium for checking working state of Bluetooth beacon Active CN116074742B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310009991.9A CN116074742B (en) 2023-01-04 2023-01-04 Method, device, equipment and medium for checking working state of Bluetooth beacon
PCT/CN2023/135821 WO2024146312A1 (en) 2023-01-04 2023-12-01 Method and apparatus for checking operating state of bluetooth beacon, and device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310009991.9A CN116074742B (en) 2023-01-04 2023-01-04 Method, device, equipment and medium for checking working state of Bluetooth beacon

Publications (2)

Publication Number Publication Date
CN116074742A true CN116074742A (en) 2023-05-05
CN116074742B CN116074742B (en) 2024-12-27

Family

ID=86171003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310009991.9A Active CN116074742B (en) 2023-01-04 2023-01-04 Method, device, equipment and medium for checking working state of Bluetooth beacon

Country Status (2)

Country Link
CN (1) CN116074742B (en)
WO (1) WO2024146312A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117812573A (en) * 2024-02-29 2024-04-02 南方电网调峰调频发电有限公司 Tunnel portal object identity recognition method based on Bluetooth information and radio frequency information
WO2024146312A1 (en) * 2023-01-04 2024-07-11 浙江极氪智能科技有限公司 Method and apparatus for checking operating state of bluetooth beacon, and device and medium
CN118363802A (en) * 2024-06-19 2024-07-19 深圳市德众恒工业有限公司 Method and system for checking working state of wireless Bluetooth keyboard

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160074295A (en) * 2014-12-18 2016-06-28 주식회사 커넥티드에잇 Apparatus to manage becaon devices
CN107196921A (en) * 2017-04-28 2017-09-22 成都新橙北斗智联有限公司 A kind of cruising inspection system and method based on Bluetooth beacon equipment
CN109462887A (en) * 2018-12-19 2019-03-12 京信通信系统(中国)有限公司 Localization method, device, computer storage medium and equipment based on bluetooth
CN111757253A (en) * 2020-06-11 2020-10-09 杭州智行星科技有限公司 Electronic fence equipment detection system and method, electronic fence system, management system
CN115052337A (en) * 2022-05-26 2022-09-13 西安云犀信息科技有限公司 Novel intelligent head-mounted terminal inspection system based on AI-Beacon
CN115171235A (en) * 2022-06-28 2022-10-11 广州土圭垚信息科技有限公司 Comprehensive inspection method and inspection system for Bluetooth beacon

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017067565A (en) * 2015-09-29 2017-04-06 株式会社Nttドコモ Terminal device and positioning program
CN116074742B (en) * 2023-01-04 2024-12-27 浙江极氪智能科技有限公司 Method, device, equipment and medium for checking working state of Bluetooth beacon

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160074295A (en) * 2014-12-18 2016-06-28 주식회사 커넥티드에잇 Apparatus to manage becaon devices
CN107196921A (en) * 2017-04-28 2017-09-22 成都新橙北斗智联有限公司 A kind of cruising inspection system and method based on Bluetooth beacon equipment
CN109462887A (en) * 2018-12-19 2019-03-12 京信通信系统(中国)有限公司 Localization method, device, computer storage medium and equipment based on bluetooth
CN111757253A (en) * 2020-06-11 2020-10-09 杭州智行星科技有限公司 Electronic fence equipment detection system and method, electronic fence system, management system
CN115052337A (en) * 2022-05-26 2022-09-13 西安云犀信息科技有限公司 Novel intelligent head-mounted terminal inspection system based on AI-Beacon
CN115171235A (en) * 2022-06-28 2022-10-11 广州土圭垚信息科技有限公司 Comprehensive inspection method and inspection system for Bluetooth beacon

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024146312A1 (en) * 2023-01-04 2024-07-11 浙江极氪智能科技有限公司 Method and apparatus for checking operating state of bluetooth beacon, and device and medium
CN117812573A (en) * 2024-02-29 2024-04-02 南方电网调峰调频发电有限公司 Tunnel portal object identity recognition method based on Bluetooth information and radio frequency information
CN117812573B (en) * 2024-02-29 2024-05-24 南方电网调峰调频发电有限公司 Tunnel portal object identity recognition method based on Bluetooth information and radio frequency information
CN118363802A (en) * 2024-06-19 2024-07-19 深圳市德众恒工业有限公司 Method and system for checking working state of wireless Bluetooth keyboard

Also Published As

Publication number Publication date
WO2024146312A1 (en) 2024-07-11
CN116074742B (en) 2024-12-27

Similar Documents

Publication Publication Date Title
CN116074742A (en) Method, device, equipment and medium for checking working state of Bluetooth beacon
CN1882181B (en) Construction equipment discovery method and system on a network
CN106155260B (en) System and management method of server and computer readable storage medium
US10887783B2 (en) Wireless network site survey systems and methods
CN110557293B (en) Alarm information processing method and device and terminal equipment
CN104702468A (en) Transmission path determining method, device and system
EP3179321A1 (en) System and method for testing configuration and operation of i/o devices
CN105376716A (en) Position acquisition method and device
WO2023103598A1 (en) Base station activation method and apparatus, electronic device, and computer-readable storage medium
CN103278731B (en) A kind of method for diagnosing faults based on secondary loop information and system
CN105323748A (en) Testing error uploading method and device
CN111885151A (en) Intelligent equipment communication method based on zigbee protocol and main intelligent equipment
CN107517474B (en) Network analysis optimization method and device
JP2021114701A (en) Server, management device, apparatus management system, apparatus management method, and program
CN108898201A (en) Information association system and method for solar assembly
JP2025503543A (en) SYSTEM, METHOD, AND COMPUTER PROGRAM PRODUCT FOR FAULT DETECTION OF LOCATION-A
CN104392101A (en) Data sharing method and data sharing device
CN104936285A (en) Wifi positioning method and apparatus
CN118175021B (en) Hydropower equipment positioning method, device, equipment and storage medium based on Internet of things
CN110967709A (en) A Supplier Inspection System Based on Improved Indoor GPS Positioning
CN119247021A (en) Cable fault location system and method based on cable laying map
US20230410638A1 (en) Central Fire Alarm System
CN111132308B (en) Mobile terminal positioning method and device
CN115002739A (en) Disaster reporting method, device, medium and electronic equipment based on block chain
CN117793779A (en) Self-checking method and system for parking lot positioning equipment

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