Method, device, equipment and medium for verifying the working status of Bluetooth beacon
Through the verification data uploaded by the mobile terminal, the server can automatically identify the working status of the Bluetooth beacon, solving the problems of high verification cost of Bluetooth beacon status and insufficient data analysis in the existing technology, and achieving more accurate and economical verification results .
Patent Information
- Application Number
- CN202310009991.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-04
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2043-01-04
AI Technical Summary
In the prior art, the status verification cost of Bluetooth beacons is high and data analysis is insufficient, so it is impossible to fully verify the working status of Bluetooth beacons, resulting in the inability to effectively determine whether the beacons work normally or are counterfeit.
The mobile terminal receives service information and hardware information in the Bluetooth signal, generates verification data and uploads it to the server. The server identifies the working status of the Bluetooth beacon based on these data, avoiding manual inspection and LAN construction, and realizing automated status verification .
It reduces the cost of Bluetooth beacon working status verification, collects a large amount of data, and achieves more comprehensive and accurate verification of various Bluetooth beacon working statuses, avoiding beacon failures and counterfeiting.
Smart Images

Figure CN116074742B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automated testing, and in particular to a method, device, electronic device and computer-readable storage medium for verifying the working status of a Bluetooth beacon. Background Art
[0002] Bluetooth beacons can help mobile terminals locate themselves, and indoor navigation technology is gradually maturing.
[0003] In the related art, the status verification of Bluetooth beacons deployed in the station is mainly carried out in two ways: building a local area network among multiple Bluetooth beacons in the station and transmitting them through the Internet to report the working status of each Bluetooth beacon in real time; and manually conducting regular inspections at the station to verify the working status of each Bluetooth beacon.
[0004] In some application scenarios, building a local area network and performing manual scheduled inspections will incur high costs, and insufficient data analysis will make it impossible to fully verify the working status of Bluetooth beacons. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present application provides a method, device, electronic device and computer-readable storage medium for verifying the working status of a Bluetooth beacon, which can solve the above problems.
[0006] According to a first aspect of an embodiment of the present application, a method for verifying the working status of a Bluetooth beacon is provided, which is applied to a server, and the method includes:
[0007] 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, the Bluetooth signal includes service 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 information and / or the service information in the corresponding Bluetooth beacon;
[0008] The working status of the corresponding Bluetooth beacon is identified according to the verification data.
[0009] According to a second aspect of an embodiment of the present application, a method for sending a Bluetooth signal is provided, which is applied to a Bluetooth beacon deployed at a station, and the method includes:
[0010] Generate a corresponding Bluetooth signal according to preset service information and hardware information of the Bluetooth beacon in the current state, wherein the service information is used for the mobile terminal receiving the service to implement the corresponding service function;
[0011] The Bluetooth signal is sent to a mobile terminal, so that the mobile terminal generates verification data according to the Bluetooth signal and uploads it to a server, so that the server verifies the working status of the 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.
[0012] According to a third aspect of an embodiment of the present application, a method for receiving a Bluetooth signal is provided, which is applied to a mobile terminal, and the method includes:
[0013] Receiving a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein the Bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to implement corresponding service functions, and the hardware information is the hardware information of the Bluetooth beacon;
[0014] Verification data is generated according to the Bluetooth signal, and the verification data is uploaded to a 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.
[0015] According to a fourth aspect of an embodiment of the present application, a device for verifying the working status of a Bluetooth beacon is provided, which is applied to a server, and the device includes:
[0016] A data receiving unit, configured to receive 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, the Bluetooth signal includes service 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 information and / or the service information in the corresponding Bluetooth beacon;
[0017] The abnormality identification unit is used to identify the working state of the corresponding Bluetooth beacon according to the verification data.
[0018] According to a fifth aspect of an embodiment of the present application, a device for sending a Bluetooth signal is provided, which is applied to a Bluetooth beacon deployed at a station, and the device includes:
[0019] A signal generating unit, configured to generate a corresponding Bluetooth signal according to preset service information and hardware information of the Bluetooth beacon in a current state, wherein the service information is used for a mobile terminal receiving the service to implement a corresponding service function;
[0020] A signal sending unit, used to send the Bluetooth signal to a mobile terminal, so that the mobile terminal: generates verification data according to the Bluetooth signal and uploads it to a server, so that the server verifies the working status of the 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.
[0021] According to a sixth aspect of an embodiment of the present application, a device for receiving a Bluetooth signal is provided, which is applied to a mobile terminal, and the device includes:
[0022] A signal receiving unit, used to receive a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein the Bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to implement corresponding service functions, and the hardware information is the hardware information of the Bluetooth beacon;
[0023] A data generation unit is used to generate verification data according to the Bluetooth signal and upload the verification data to a 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.
[0024] According to a seventh aspect of the embodiments of the present application, there is provided an electronic device, including: a processor and a memory;
[0025] The memory is used to store computer programs;
[0026] The processor is used to execute the methods described in the first, second and third aspects by calling the computer program.
[0027] According to an eighth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first, second and third aspects is implemented.
[0028] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0029] 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 based on 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 information, and on the other hand, it can generate verification data and upload it to the server to verify the working status of the Bluetooth beacon. It does not need to collect data on site manually, nor will it be restricted by the signal status of the site where the Bluetooth beacon is deployed, which saves the cost of realizing the verification of the working status of the Bluetooth beacon, and can collect a large amount of verification data from a large number of users to perform a more comprehensive and accurate verification of the various working states of the Bluetooth beacon.
[0030] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings, which are incorporated in the specification and constitute a part of this application, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
[0032] 5 Figure 1 This is a verification of the working status of a Bluetooth beacon shown in an exemplary embodiment of the present application
[0033] Schematic diagram of the system architecture.
[0034] Figure 2 It is a flow chart of a method for verifying the working status of a Bluetooth beacon according to an exemplary embodiment of the present application.
[0035] Figure 3 0 is a schematic diagram of a planned navigation route according to an exemplary embodiment of the present application. Figure 4 It is a schematic diagram of an actual route taken by a user according to an exemplary embodiment of the present application.
[0036] Figure 5 It is a flowchart of a method for sending a Bluetooth signal according to an exemplary embodiment of the present application.
[0037] Figure 6 FIG5 is a flow chart of a method for receiving a Bluetooth signal according to an exemplary embodiment of the present application.
[0038] Figure 7 It is a flow chart of a method for verifying the working status of a Bluetooth beacon according to an exemplary embodiment of the present application.
[0039] Figure 8It is a structural diagram of an electronic device including a device for verifying the working status of a Bluetooth beacon, a device for sending a Bluetooth signal, and a device for receiving a Bluetooth signal according to an exemplary embodiment of the present application.
[0040] Fig. 9 It is a block diagram of a device for verifying the working status of a Bluetooth beacon according to an exemplary embodiment of the present application.
[0041] Fig.10 It is a block diagram of a device for sending a Bluetooth signal according to an exemplary embodiment of the present application.
[0042] Fig.11 It is a block diagram of a device for receiving a Bluetooth signal according to an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0044] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0045] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0046] Figure 1 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. Figure 1 As shown, the system for verifying the working status of a Bluetooth beacon of the present application may include a server 11 , a mobile terminal 12 , and a Bluetooth beacon 13 .
[0047] The server 11 can be an independent host or a host cluster, or a virtual server hosted by the independent host or host cluster. The server 11 can process the verification data uploaded by the mobile terminal 12, and thereby determine the working status of the corresponding Bluetooth beacon. The server 11 can inform the management personnel of the abnormal working status of any Bluetooth beacon through an alarm or the like, and the management personnel can then make targeted treatment for the abnormal working status, for example, a correction signal can be sent through the server 11, the specific location of the abnormal Bluetooth beacon can be determined through the server 11, and maintenance personnel can be arranged to conduct on-site maintenance, and then the abnormal status can be removed from the server 11 after the maintenance is completed.
[0048] The mobile terminal 12 can be a mobile phone, a tablet device, a laptop or a PDA (Personal Digital Assistants), a wearable device (such as smart glasses, VR glasses, etc.), and this application does not limit this. The mobile terminal 12 needs to be able to establish a connection with the Bluetooth beacon 13, receive Bluetooth signals, 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 business function of the Bluetooth beacon, that is, while an ordinary user uses the mobile terminal 12 to implement the business function of the Bluetooth beacon, the verification data can be sent to the server 11 to help verify the Bluetooth beacon. In this way, in the verification system of the working status of the Bluetooth beacon of this application, it is not necessary to build an additional local area network between the Bluetooth beacons, and it is also not necessary to arrange special maintenance personnel for inspection. Only in the normal process of realizing the business of ordinary users, the mobile terminal 12 is used to complete the upload of verification data without the user's perception.
[0049] The Bluetooth beacon 13 can be any device that is deployed and fixed in the station and can continuously broadcast Bluetooth signals to the surroundings. The mobile terminal 12 that receives the Bluetooth signal can implement business functions through the business information in the Bluetooth signal. For example, map positioning indoors or underground 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 being able to emit Bluetooth signals containing business information, each Bluetooth beacon can also have different hardware information, such as power, frequency, signal strength, location information, Universally Unique Identifier (UUID), physical address (Media Access Control Address, MAC address), etc.
[0050] As indoor navigation technology matures, different manufacturers may install Bluetooth beacons for their respective business lines in the same station. However, due to the similarity of Bluetooth broadcast data formats and the basically identical fields used, the installed Bluetooth beacons are easily interfered with by other Bluetooth beacon broadcasts or even simulated by competing products, causing ordinary users' mobile terminals to be unable to realize business needs based on Bluetooth signals.
[0051] 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 failure of the Bluetooth beacon of its own business line, or to avoid the Bluetooth beacon being counterfeited or interfered with, which will hinder the implementation of business functions.
[0052] Figure 2 is a schematic flow chart of a method for verifying the working status of a Bluetooth beacon according to an embodiment of the present application, which is applied to Figure 1 In the server 11 of the embodiment, the method includes:
[0053] S201: Receive verification data generated and uploaded by the mobile terminal 12 according to a Bluetooth signal, wherein the Bluetooth signal is received by the mobile terminal 12 from a Bluetooth beacon 13 deployed in a station, and the Bluetooth signal includes business information and hardware information, the business information is used for the mobile terminal to implement corresponding business functions, the hardware information is the hardware information of the Bluetooth beacon 13, and the verification data is used to carry the hardware information and / or the business information in the corresponding Bluetooth beacon 13.
[0054] 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 of the present application, in addition to the business information used for business needs, also includes hardware information. Through the hardware information, it can be determined whether the corresponding Bluetooth beacon has been counterfeited. Through the business information and hardware information, it can be determined whether the corresponding Bluetooth beacon itself has any faults.
[0055] In one embodiment, the service information may include basic parameters of Bluetooth, major and minor.
[0056] In one embodiment, the hardware information may include the UUID, MAC address, location information, signal strength, power, broadcast frequency, etc. of the Bluetooth beacon.
[0057] Furthermore, the Bluetooth beacons in the same station may all be set to the same UUID to facilitate verification.
[0058] Before deploying the Bluetooth beacon at the site, the server needs to record the correspondence between the Bluetooth beacon and its corresponding business information and hardware information, so that during subsequent verification, it can determine whether the Bluetooth beacon has any abnormalities based on the correspondence.
[0059] When an ordinary user passes by a Bluetooth beacon deployed in a station with a mobile terminal, the mobile terminal can receive the broadcast Bluetooth signal through Bluetooth scanning, implement business functions through the business information in the Bluetooth signal, and, if necessary, generate verification data for the business information and / or hardware information in the Bluetooth signal, and report it to the server through the mobile terminal's own network connection, so that the server can obtain the business data and hardware status of the corresponding Bluetooth beacon based on the verification data.
[0060] S202: Identify the working status of the corresponding Bluetooth beacon 13 according to the verification data.
[0061] 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, or it can periodically analyze all the verification data received within this time period to more accurately identify the working status of the corresponding Bluetooth beacon.
[0062] In addition to the normal state, the working state of the Bluetooth beacon can also include:
[0063] The hardware abnormal state is caused by personal reasons, such as insufficient power, low signal strength, etc.; the Bluetooth beacon 5 may be counterfeited or damaged by humans, such as being unable to be recognized or verified; the Bluetooth beacon's hardware is in good working condition, but the implemented business functions are inconsistent with the preset business information, resulting in an abnormal state, such as a deviation between the positioning and the actual position, and the navigation route is inconsistent with the actual route.
[0064] Some of the above abnormal states can be judged based on the hardware information in the Bluetooth signal, some can be judged based on the business information in the Bluetooth signal, and some can be judged based on both business information and hardware information. Therefore, in order to judge different working states, the mobile terminal can generate different verification data according to the Bluetooth signal.
[0065] In one embodiment, the server has determined that a certain Bluetooth beacon is suspected of being abnormal in some aspect.
[0066] state, then the mobile terminal that subsequently receives the Bluetooth signal broadcast by the Bluetooth beacon can generate corresponding verification data for verification only for or at least for the abnormal state in this aspect.
[0067] Through the above embodiments, the present application avoids building a local area network between Bluetooth beacons and avoids manual inspection to determine the working status of Bluetooth beacons. By accepting the verification data uploaded by the mobile terminal while realizing its business functions, the working status of the Bluetooth beacon corresponding to the Bluetooth signal received by the mobile terminal is verified. That is, there is no need to specifically collect the data of the Bluetooth beacon. Only when the mobile terminal uses the business function, the verification data is collected and the verification is completed. The above embodiments of the present application can obtain a large amount of verification data of Bluetooth beacons, and the implementation cost is low, and the working status of Bluetooth beacons can be determined more conveniently and accurately.
[0068] The following describes in detail the working status of identifying a Bluetooth beacon through some embodiments.
[0069] Since the server needs to determine the service information and / or hardware information of the Bluetooth signal based on the verification data and then identify its working status, the server can read the data information in the Bluetooth signal in a normal state through the verification data.
[0070] In one embodiment, if the server cannot successfully read any data information in the Bluetooth signal from the verification data, it is determined 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 read all the data information in the Bluetooth signal through the verification data, but that the server cannot successfully read any data information required by the server through the verification data, and the data information required by the server can 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 verify whether the business information configuration of a certain Bluetooth beacon is normal, it only needs to read the business information of the Bluetooth beacon, and if the business information of the Bluetooth beacon cannot be read, it can be determined that the Bluetooth beacon is abnormal. It should also be noted that the inability 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 data information, that is, the corresponding Bluetooth beacon may 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 or protocol of the data information 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 a Bluetooth signal containing the hardware information of the MAC address, the mobile terminal cannot generate the corresponding verification data, causing the server reading to fail. This indicates that the Bluetooth beacon is abnormal. For another example, the server needs to read the MAC address of the Bluetooth beacon, but because the format does not match the protocol, the server cannot obtain the MAC address from the verification data uploaded by the mobile terminal, which still indicates that the Bluetooth beacon is abnormal.
[0071] Specifically, the server verifies the MAC address of the Bluetooth beacon, which will be described in detail below.
[0072] In one 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 identification of the working state of the corresponding Bluetooth beacon according to the verification data includes: 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 beacon has an abnormality. When the Bluetooth beacon is deployed in the station, the server pre-records the corresponding relationship between each Bluetooth beacon and its MAC address, and then records the corresponding relationship between each station and the MAC address of the Bluetooth beacon deployed in 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 has an abnormality. The reason for this abnormality may be that someone has counterfeited the Bluetooth beacon in this application, so that the Bluetooth beacon can also send a broadcast Bluetooth signal containing hardware information, or someone has transferred the Bluetooth beacon in this application deployed in other stations to this station.
[0073] In the application scenario of achieving indoor positioning and then navigation through Bluetooth beacons, route changes often occur due to road blockages, temporary diversions, etc. The navigation route given by the server that is unaware of this situation is bound to be inconsistent with the actual route.
[0074] In one embodiment, the business information is used to guide the mobile terminal to the destination along the planned navigation route, the verification data is used to determine the corresponding Bluetooth beacon, and the identifying the working status of the corresponding Bluetooth beacon based on the verification data includes: obtaining multiple verification data uploaded by the mobile terminal, determining the pre-deployment locations of the corresponding multiple Bluetooth beacons based on the multiple verification data, and determining the actual route of the mobile terminal based on the pre-deployment locations; when the actual route is inconsistent with the planned navigation route, it is determined that there is an abnormality in the route.
[0075] See also Figure 3 and Figure 4 , Figure 3 is a schematic diagram of a planned navigation route shown in an exemplary embodiment. Figure 4 FIG. 1 is a schematic diagram of an actual route traveled by a user shown in an exemplary embodiment.
[0076] See also Figure 3 In actual application, the mobile terminal can determine the current location based on the service information of the received Bluetooth beacon A, and send the destination information to the navigation server. The navigation server plans a navigation route based on the current location and destination information, and guides the mobile terminal to the destination according to the planned navigation route. Figure 3 As shown, Figure 3 The forward route in is the navigation route. In this navigation route, it is expected that the Bluetooth signals of Bluetooth beacon A, Bluetooth beacon B, and Bluetooth beacon C will be received in sequence, and the corresponding verification data will be generated and uploaded 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, Figure 3 In the embodiment, the server actually determines the sequence of Bluetooth beacons based on the received multiple verification data as follows: Bluetooth beacon A, Bluetooth beacon D, Bluetooth beacon C. The actual route determined based on the sequence of Bluetooth beacons should be Figure 4 As shown, it means that there may be an obstacle at the corresponding position of Bluetooth beacon B, causing the user to not follow the navigation route but to temporarily change the route.
[0077] Since the planned navigation route may encounter temporary diversion, road blockage, or road occupation, the user holding the mobile terminal may also actively choose other paths to the destination, resulting in the actual route passing through Bluetooth beacons different from the planned navigation route during the process of moving forward. Therefore, in this embodiment, the server determines the deployment locations of the corresponding multiple Bluetooth beacons by obtaining multiple verification data uploaded by the mobile terminal, and determines the actual route of the mobile terminal according to the sequence of these deployment locations and the uploaded verification data, and then if the actual route is inconsistent with the navigation route planned by the server, it is determined that there is an abnormality in the route.
[0078] The route abnormality may be caused by the on-site conditions, which force the user to change the route, or it may be caused by the user's own choice. Therefore, it can be determined whether it is caused by changes in on-site conditions by verifying the navigation route of other mobile terminals, or by arranging personnel to conduct on-site inspections. After the server has identified the specific cause of the route abnormality, it can make different responses based on the specific cause. For example, a diversion caused by the user's own preferences or choices will not be corrected; a diversion that has to be made due to on-site conditions can be marked, and the route navigation rules in the server can be corrected to make the diversion.
[0079] In one embodiment, in the above-mentioned embodiment of determining whether there is an abnormality in the route, the verification data can be used to determine the hardware information in the Bluetooth signal, and the hardware information includes the MAC address of the Bluetooth beacon. The method for determining the actual route can also be: obtaining multiple verification data uploaded by the mobile terminal, determining the corresponding MAC addresses of multiple Bluetooth beacons based on the multiple verification data, and determining the actual route of the mobile terminal based on the multiple MAC addresses.
[0080] Since most of the Bluetooth beacons deployed in the stations cannot be connected to an external power source and are usually powered by batteries, the method for verifying the working status of the Bluetooth beacon of the present application can also verify the Bluetooth beacon based on the remaining power.
[0081] In one 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 identifying the working state of the corresponding Bluetooth beacon according to the verification data includes: when the remaining power value is less than a preset threshold, determining that the corresponding Bluetooth beacon has insufficient power. 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 once within a preset time period.
[0082] Through the above embodiment, the present application can conveniently and accurately verify the remaining power of the connected Bluetooth beacon, so that the management personnel can understand the power usage of the Bluetooth beacon and replace the battery of the Bluetooth beacon with insufficient power in time.
[0083] In one embodiment, the identification of the working state of the corresponding Bluetooth beacon according to the verification data includes: when the verification data corresponding to any Bluetooth beacon is not received for more than a preset time, it is determined that any Bluetooth beacon is abnormal. That is, when the verification data uploaded by any mobile terminal to a Bluetooth beacon is not received for a long time, it is determined that the Bluetooth beacon may be abnormal and lose the ability to send Bluetooth signals. For different Bluetooth beacons at different stations and different locations, due to the different probabilities of mobile terminals passing through different Bluetooth beacons, some Bluetooth beacons are used more frequently, and some Bluetooth beacons may take longer to pass through a mobile terminal and upload verification data to the server due to remote locations. Therefore, the server can set different preset time lengths for each Bluetooth beacon to make the determination result more accurate.
[0084] In actual application, in addition to facing the abnormal working conditions mentioned in the above embodiments, the Bluetooth beacons deployed in the stations may also be interfered with due to the influence of the environment or Bluetooth beacons of other manufacturers.
[0085] In one embodiment, when the verification data is used to determine the service information in the corresponding Bluetooth beacon, the identification of the working state of the corresponding Bluetooth beacon according to the verification data includes: when the service information determined according to the verification data does not match the preset service information of the corresponding Bluetooth beacon, determining that the service configuration of the Bluetooth beacon is abnormal. In the case where 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.
[0086] Specifically, the process in which the server sends a correction signal to remotely correct an abnormal Bluetooth beacon can be described as follows.
[0087] In one embodiment, when it is determined that any Bluetooth beacon has an abnormality, a correction signal is sent to a mobile terminal that is still connected to any Bluetooth beacon, so that the mobile terminal forwards the correction signal to any Bluetooth beacon to instruct any Bluetooth beacon to adjust the abnormality based on the correction signal. When any Bluetooth beacon has a partial abnormality, such as an abnormality in the service configuration or route, or the server wishes to perform more checks on the Bluetooth beacon to verify its abnormality based on the abnormality judgment, the server can send a correction signal to the mobile terminal connected to the abnormal Bluetooth beacon, and forward the correction signal with the help of the connection between the mobile terminal and the Bluetooth beacon to adjust the Bluetooth beacon. It should be noted that some abnormalities of the Bluetooth beacon cannot be adjusted through remote correction, and can only be adjusted by maintenance personnel going to the site for investigation, repair, and replacement, such as low battery of the Bluetooth beacon.
[0088] This application uses the mobile terminal of an ordinary user to enable the mobile terminal to help upload verification data during the normal implementation of business functions, so that the server can easily and low-cost collect a large amount of data for verification of the Bluetooth beacon, thereby being able to remotely and automatically identify various abnormal working conditions of the Bluetooth beacon.
[0089] Corresponding to the method for verifying the working status of the Bluetooth beacon on the server side, the present 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, which is applied to mobile terminals. These two methods will be described in detail below.
[0090] Figure 5 A schematic flow chart of a method for sending a Bluetooth signal is shown as an exemplary embodiment, which is applied to Figure 1 The Bluetooth beacon 13 in the embodiment, the method comprises:
[0091] S501: Generate a corresponding Bluetooth signal according to preset service information and hardware information of the Bluetooth beacon in a current state, wherein the service information is used for a mobile terminal receiving the service to implement a corresponding service function.
[0092] The hardware information may include UUID, MAC address, remaining power value, etc., which corresponds to the verification method of the working status of the above-mentioned Bluetooth beacon. In order to enable the server to obtain necessary business information and / or hardware information from the verification data uploaded by the mobile terminal, the Bluetooth signal sent by the Bluetooth beacon of this application must also include business information and hardware information.
[0093] 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 verifies the working status of the 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.
[0094] The Bluetooth beacon can periodically broadcast the Bluetooth signal according to the pre-set signal strength and broadcast frequency, so that the mobile terminal within a certain range can receive the Bluetooth signal; the Bluetooth beacon can also establish a Bluetooth connection with the mobile terminal after the mobile terminal enters a certain range and send the Bluetooth signal directly to the mobile terminal. The present application does not impose any restrictions on this.
[0095] Figure 6 A schematic flow chart of a method for receiving a Bluetooth signal shown in an exemplary embodiment, which is applied to Figure 1 In the mobile terminal 12 of the embodiment, the method includes:
[0096] S601: Receive a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein the Bluetooth signal includes business information and hardware information, the business information is used for the mobile terminal to implement corresponding business functions, and the hardware information is the hardware information of the Bluetooth beacon.
[0097] The mobile terminal 12 in the present application should have the ability to receive Bluetooth signals broadcast by Bluetooth beacons in the station, and be able to implement corresponding business functions based on the Bluetooth signals generated by the received Bluetooth beacons within a certain range.
[0098] S602: 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.
[0099] While the mobile terminal 12 implements the service function according to the Bluetooth signal, the mobile terminal can generate verification data according to the Bluetooth signal and upload it to the server. The mobile terminal can generate verification data and upload it with the help of the application, port, web page, etc. that implements the service function, and can do so with the user knowing and agreeing to assist in the verification, or without affecting the user's use and without being perceived by the user. This application does not impose any restrictions on this.
[0100] In one embodiment, the mobile terminal 12 can also generate verification data based on the verification requirements sent by the server and upload the business information and / or hardware information corresponding to the requirements, so that the server can obtain the data information of any required Bluetooth beacon more quickly and accurately.
[0101] Because Bluetooth beacons from multiple manufacturers may be deployed in the site, and the data formats of Bluetooth signals are similar, and the fields used are basically the same, in order to prevent the mobile terminal from receiving Bluetooth signals from Bluetooth beacons deployed by other manufacturers, resulting in the inability to implement business functions normally, the Bluetooth signal can be verified after the mobile terminal receives the Bluetooth signal, as follows.
[0102] In one embodiment, the hardware information includes the universal unique identification code UUID of the Bluetooth beacon, and the generating verification data according to the Bluetooth signal includes: when the UUID is a preset UUID, generating verification data according to the Bluetooth signal; when the UUID is not the preset UUID, the mobile terminal ignores the Bluetooth signal.
[0103] In order to identify Bluetooth beacons through UUID, when deploying Bluetooth beacons, these Bluetooth beacons need to be set to preset UUIDs. In this way, after receiving the Bluetooth signal, the mobile terminal can identify the Bluetooth beacon that sends the signal through the UUID in the Bluetooth signal. When the UUID is the preset UUID, the business information in the Bluetooth signal is read normally to realize the business function, and verification data is generated according to the Bluetooth signal and uploaded to the server. When the UUID is not the preset UUID, the mobile terminal ignores the Bluetooth signal. Furthermore, the mobile terminal can also identify the Bluetooth beacon that sends the signal to avoid receiving the Bluetooth signal of the Bluetooth beacon again.
[0104] Figure 7 FIG. 1 is a flow chart showing a method of checking the working status of a Bluetooth beacon according to an embodiment. Figure 7 As shown, the verification may include:
[0105] S701: The mobile terminal receives a Bluetooth signal.
[0106] S702: The mobile terminal obtains a UUID from the Bluetooth signal, and determines whether the UUID matches a preset UUID.
[0107] If it does not match the preset UUID, it means that the Bluetooth beacon that sends the Bluetooth signal is not a pre-deployed Bluetooth beacon, and the signal is ignored or blocked;
[0108] If it matches the preset UUID, it means that the Bluetooth beacon that sends the Bluetooth signal is a pre-deployed Bluetooth beacon, and then S703 is executed.
[0109] S703: Implement business functions, generate verification data and upload it.
[0110] The mobile terminal implements corresponding business functions according to the business information in the Bluetooth signal, and can generate corresponding verification data based on the Bluetooth signal according to verification requirements, and upload the verification data to the server through the mobile terminal's own network for verification by the server.
[0111] S704: The server receives verification data.
[0112] S705: Whether the server can obtain the MAC address, service information, and remaining power value.
[0113] 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, and perform verification based on the obtained data information.
[0114] If the server cannot successfully obtain any data information, the Bluetooth beacon is abnormal;
[0115] If the server can successfully obtain any data information, S706 is executed.
[0116] S706: Based on the data information, verify the working status of the Bluetooth beacon, which may specifically include:
[0117] S706A: The obtained MAC address is used to determine whether the beacon location is correct.
[0118] If the beacon position is determined to be wrong, the beacon is abnormal; if the beacon position is determined to be correct, S707A verification can be further performed.
[0119] S707A: The server may also obtain multiple MAC addresses based on the obtained multiple verification data, and use the multiple MAC addresses to generate the actual route of the mobile terminal.
[0120] S708A: The actual route generated in S707A is used to determine whether the navigation route given by the server is abnormal.
[0121] In addition to the determination based on the MAC address, the following can also be included:
[0122] S706B: The acquired remaining power value is used to determine the power status of the beacon.
[0123] If the remaining power value is less than the preset threshold, the Bluetooth beacon is low on power and personnel need to be arranged to replace the battery on site.
[0124] S706C: The acquired service information is used to compare the initial data of the beacon to determine whether there is any service configuration abnormality of the Bluetooth beacon.
[0125] 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.
[0126] The present application includes hardware information in the Bluetooth signal, and the mobile terminal of an ordinary user uploads the verification data through the network of the mobile terminal when realizing the business function, so that the server can obtain the verification data in large quantities and conveniently at low cost to automatically verify the working status of the Bluetooth beacon, which can save the verification and maintenance costs of the Bluetooth beacon, and make the verification judgment more accurate under the verification of a large amount of verification data.
[0127] Corresponding to the method embodiment of the present application, the present application also provides embodiments of a corresponding device for verifying the working status of a Bluetooth beacon, a device for sending a Bluetooth signal, and a device for receiving a Bluetooth signal.
[0128] Figure 8 is a schematic structural diagram of a device provided by an exemplary embodiment. Figure 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 may also include hardware required for other services. One or more embodiments of the present application can be implemented based on software, such as the processor 810 reading the corresponding computer program from the non-volatile memory 840 into the memory 830 and then running 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, the execution subject of the processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0129] See also Fig. 9 , Fig. 91 is a block diagram of a device for verifying the working state of a Bluetooth beacon in an embodiment of the present application. The device for verifying the working state of a Bluetooth beacon can be applied to Figure 8 In the electronic device shown, the technical solution of the present application is implemented. Wherein, the device for verifying the working status of the Bluetooth beacon is applied to the server, and includes:
[0130] The data receiving unit 910 is used to receive 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, and the Bluetooth signal includes service 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 information and / or the service information in the corresponding Bluetooth beacon;
[0131] The abnormality identification unit 920 is used to identify the working status of the corresponding Bluetooth beacon according to the verification data.
[0132] Optionally, the identifying the working status of the corresponding Bluetooth beacon according to the verification data includes:
[0133] If any data information in the Bluetooth signal cannot be successfully read from the verification data, it is determined that an abnormality occurs in the corresponding Bluetooth beacon.
[0134] Optionally, when the verification data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes a hardware address MAC address of the Bluetooth beacon, and identifying the working status of the corresponding Bluetooth beacon according to the verification data includes:
[0135] When the MAC address included 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 an abnormality occurs in the corresponding Bluetooth beacon.
[0136] 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 identifying the working state of the corresponding Bluetooth beacon according to the verification data includes:
[0137] Acquire multiple verification data uploaded by the mobile terminal, determine the pre-deployment locations of multiple corresponding Bluetooth beacons according to the multiple verification data, and determine the actual route of movement of the mobile terminal according to the pre-deployment locations;
[0138] When the actual route is inconsistent with the planned navigation route, it is determined that there is an abnormality in the route.
[0139] Optionally, the verification data is used to determine the hardware information in the corresponding Bluetooth beacon.
[0140] In the case where the hardware information includes the remaining power value of the Bluetooth beacon, the working state of the Bluetooth beacon corresponding to the identification 5 according to the verification data includes:
[0141] When the remaining power value is less than a preset threshold, it is determined that the corresponding Bluetooth beacon has insufficient power.
[0142] Optionally, the identifying the working status of the corresponding Bluetooth beacon according to the verification data includes:
[0143] When verification data corresponding to any Bluetooth beacon is not received for more than a preset time period, it is determined that an abnormality occurs in any Bluetooth beacon.
[0144] Optionally, when the verification data is used to determine the service information in the corresponding Bluetooth beacon, the identifying the working state of the corresponding Bluetooth beacon according to the verification data includes:
[0145] When 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 an abnormality occurs in the Bluetooth beacon service configuration.
[0146] 5Optional, also includes:
[0147] When it is determined that any Bluetooth beacon has an abnormality, a correction signal is sent to a mobile terminal that is still connected to the any Bluetooth beacon, so that the mobile terminal forwards the correction signal to the any Bluetooth beacon to instruct the any Bluetooth beacon to adjust the abnormality based on the correction signal.
[0148] See also Fig.10 , Fig.10 0 is a block diagram of a Bluetooth signal sending device in an embodiment of the present application. Figure 8 In the electronic device shown, the technical solution of the present application is implemented. Wherein, the Bluetooth signal sending device is applied to the Bluetooth beacon deployed at the station, including:
[0149] The signal generating unit 1010 is used to generate a signal according to the preset service information and the current state of the Bluetooth beacon.
[0150] The hardware information below generates a corresponding Bluetooth signal, wherein the service information is used for the mobile terminal receiving the service to implement the corresponding service function;
[0151] The signal sending unit 1020 is used 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 verifies the working status of the 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.
[0152] See also Fig.11 , Fig.11 is a block diagram of a Bluetooth signal receiving device in an embodiment of the present application. The Bluetooth signal receiving device can be applied to Figure 8 The electronic device shown in the figure is used to implement the technical solution of the present application. Wherein, the Bluetooth signal receiving device is applied to a mobile terminal, comprising:
[0153] The signal receiving unit 1110 is used to receive a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein the Bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to implement corresponding service functions, and the hardware information is the hardware information of the Bluetooth beacon;
[0154] The data generation unit 1120 is used 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.
[0155] Optionally, the hardware information includes a universal unique identifier UUID of the Bluetooth beacon, and the generating verification data according to the Bluetooth signal includes:
[0156] In the case where the UUID is a preset UUID, generating verification data according to the Bluetooth signal;
[0157] When the UUID is not the preset UUID, the mobile terminal ignores the Bluetooth signal.
[0158] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0159] For the device embodiments, since they basically correspond to the method embodiments, it is sufficient to refer to the partial description of the method embodiments for the relevant points. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0160] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements to method flows). However, with the development of technology, many improvements to method flows today can be regarded as direct improvements to hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. Those skilled in the art should also be aware that it is only necessary to perform a little logic programming on the method flow using the above-mentioned hardware description languages and program it into an integrated circuit to easily obtain a hardware circuit that implements the logical method flow.
[0161] The controller can be implemented in any appropriate manner. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps to achieve the same function. Therefore, such a controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules for implementing the method and structures within the hardware component.
[0162] The systems, devices, modules or units described in the above embodiments may be 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 computer technology in the future, the computer that implements the functions of the above embodiments may 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, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0163] Although one or more embodiments of the present application provide method operation steps as described in the embodiments or flow charts, more or less operation steps may be included based on conventional or non-creative means. The order of steps listed in the embodiments is only one way of executing the order of many steps, and does not represent the only execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiments or the drawings (for example, a parallel processor or a multi-threaded processing environment, or even a distributed data processing environment). The term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, product or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, product or equipment. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or equipment including the elements. For example, if the first, second and other words are used to represent the name, they do not represent any specific order.
[0164] For the convenience of description, the above devices are described in terms of functions and are divided into various modules. Of course, when implementing one or more of the present applications, the functions of each module can be implemented in the same or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units, etc. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0165] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatus (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0166] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0167] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0168] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0169] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0170] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage, graphene storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0171] Those skilled in the art will appreciate that one or more embodiments of the present application may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0172] One or more embodiments of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present application may also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0173] Each embodiment in the present application is described in a progressive manner, and the same and similar parts between the embodiments 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 the relevant parts can be referred to the partial description of the method embodiment. In the description of the present application, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of contradiction, a person skilled in the art can combine and combine the different embodiments or examples described in the present application and the features of the different embodiments or examples.
[0174] The above 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, one or more embodiments of the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims.
Claims
1. A method for verifying the working status of a Bluetooth beacon, characterized in that: Applied to a server, the method comprises: 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, the Bluetooth signal includes service 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 information and / or the service information in the corresponding Bluetooth beacon; Identify the working status of the corresponding Bluetooth beacon according to the verification data; 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 identifying the working state of the corresponding Bluetooth beacon according to the verification data includes: Acquire multiple verification data uploaded by the mobile terminal, determine the pre-deployment locations of multiple corresponding Bluetooth beacons according to the multiple verification data, and determine the actual route of movement of the mobile terminal according to the pre-deployment locations; When the actual route is inconsistent with the planned navigation route, it is determined that there is an abnormality in the route.
2. The method according to claim 1, characterized in that The step of 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 an abnormality occurs in the corresponding Bluetooth beacon.
3. The method according to claim 1, characterized in that In the case where the verification data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes a hardware address MAC address of the Bluetooth beacon, and the identifying the working state of the corresponding Bluetooth beacon according to the verification data includes: When the MAC address included 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 an abnormality occurs in the corresponding Bluetooth beacon.
4. The method according to claim 1, characterized in that In the case where the verification data is used to determine the hardware information in the corresponding Bluetooth beacon, the hardware information includes a remaining power value of the Bluetooth beacon, and the identifying the working state of the corresponding Bluetooth beacon according to the verification data includes: When the remaining power value is less than a preset threshold, it is determined that the corresponding Bluetooth beacon has insufficient power.
5. The method according to claim 1, characterized in that The step of identifying the working state of the corresponding Bluetooth beacon according to the verification data includes: When verification data corresponding to any Bluetooth beacon is not received for more than a preset time period, it is determined that an abnormality occurs in any Bluetooth beacon.
6. The method according to claim 1, characterized in that In a case where the verification data is used to determine the service information in the corresponding Bluetooth beacon, the identifying the working state of the corresponding Bluetooth beacon according to the verification data includes: When 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 an abnormality occurs in the Bluetooth beacon service configuration.
7. The method according to claim 1, characterized in that Also includes: When it is determined that any Bluetooth beacon has an abnormality, a correction signal is sent to a mobile terminal that is still connected to the any Bluetooth beacon, so that the mobile terminal forwards the correction signal to the any Bluetooth beacon to instruct the any Bluetooth beacon to adjust the abnormality based on the correction signal.
8. A method for sending a Bluetooth signal, characterized in that: Applied to a Bluetooth beacon deployed at a site, the method comprises: Generate a corresponding Bluetooth signal according to the preset service information and the hardware information of the Bluetooth beacon in the current state, wherein the service information is used for the mobile terminal receiving the service to implement the corresponding service function and guide the mobile terminal to the destination according to the planned navigation route; Sending the Bluetooth signal to a mobile terminal, so that the mobile terminal: generates verification data according to the Bluetooth signal and uploads it to a server, so that the server verifies the working state of the 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, and determine the corresponding Bluetooth beacon; The server is also used to: obtain multiple verification data uploaded by the mobile terminal, determine the pre-deployment locations of the corresponding multiple Bluetooth beacons based on the multiple verification data, and determine the actual route of the mobile terminal based on the pre-deployment locations; when the actual route is inconsistent with the planned navigation route, determine that there is an abnormality in the route.
9. A method for receiving a Bluetooth signal, characterized in that: Applied to a mobile terminal, the method comprises: receiving a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein the Bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to implement corresponding service functions and guide the mobile terminal to the destination according to the planned navigation route, and the hardware information is the hardware information of the Bluetooth beacon; Generate verification data according to the Bluetooth signal, and upload the verification data to a 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; The server is also used to: obtain multiple verification data uploaded by the mobile terminal, determine the pre-deployment locations of the corresponding multiple Bluetooth beacons based on the multiple verification data, and determine the actual route of the mobile terminal based on the pre-deployment locations; when the actual route is inconsistent with the planned navigation route, determine that there is an abnormality in the route.
10. The method according to claim 9, characterized in that The hardware information includes a universal unique identifier UUID of the Bluetooth beacon, and the generating verification data according to the Bluetooth signal includes: In the case where the UUID is a preset UUID, generating verification data according to the Bluetooth signal; When the UUID is not the preset UUID, the mobile terminal ignores the Bluetooth signal.
11. A device for verifying the working status of a Bluetooth beacon, characterized in that: Applied to a server, the device comprises: A data receiving unit, configured to receive 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, the Bluetooth signal includes service 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 information and / or the service information in the corresponding Bluetooth beacon; an abnormality identification unit, used to identify the working state of the corresponding Bluetooth beacon according to the verification data; 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 identifying the working state of the corresponding Bluetooth beacon according to the verification data includes: Acquire multiple verification data uploaded by the mobile terminal, determine the pre-deployment locations of multiple corresponding Bluetooth beacons according to the multiple verification data, and determine the actual route of movement of the mobile terminal according to the pre-deployment locations; When the actual route is inconsistent with the planned navigation route, it is determined that there is an abnormality in the route.
12. A device for sending a Bluetooth signal, characterized in that: Applicable to a Bluetooth beacon deployed at a station, the device comprising: A signal generating unit, configured to generate a corresponding Bluetooth signal according to preset service information and hardware information of the Bluetooth beacon in a current state, wherein the service information is used for a mobile terminal receiving the service to implement a corresponding service function and guide the mobile terminal to go to a destination according to a planned navigation route; A signal sending unit, configured to send the Bluetooth signal to a mobile terminal, so that the mobile terminal: generates verification data according to the Bluetooth signal and uploads it to a server, so that the server verifies the working state of the 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, and determine the corresponding Bluetooth beacon; The server is also used to: obtain multiple verification data uploaded by the mobile terminal, determine the pre-deployment locations of the corresponding multiple Bluetooth beacons based on the multiple verification data, and determine the actual route of the mobile terminal based on the pre-deployment locations; when the actual route is inconsistent with the planned navigation route, determine that there is an abnormality in the route.
13. A Bluetooth signal receiving device, characterized in that: Applied to a mobile terminal, the device comprises: A signal receiving unit, used to receive a Bluetooth signal sent by a Bluetooth beacon deployed at a station; wherein the Bluetooth signal includes service information and hardware information, the service information is used for the mobile terminal to implement corresponding service functions and guide the mobile terminal to the destination according to the planned navigation route, and the hardware information is the hardware information of the Bluetooth beacon; a data generating unit, configured to generate verification data according to the Bluetooth signal, and upload the verification data to a 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 carry the hardware information and / or the service information in the corresponding Bluetooth beacon; The server is also used to: obtain multiple verification data uploaded by the mobile terminal, determine the pre-deployment locations of the corresponding multiple Bluetooth beacons based on the multiple verification data, and determine the actual route of the mobile terminal based on the pre-deployment locations; when the actual route is inconsistent with the planned navigation route, determine that there is an abnormality in the route.
14. An electronic device, characterized in that: include: Processor, memory; The memory is used to store computer programs; The processor is configured to execute the method according to any one of claims 1 to 10 by calling the computer program.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 1 to 10 is implemented.
