WO2018157479A1 - State detection method and terminal for signal transmission device - Google Patents

State detection method and terminal for signal transmission device Download PDF

Info

Publication number
WO2018157479A1
WO2018157479A1 PCT/CN2017/084878 CN2017084878W WO2018157479A1 WO 2018157479 A1 WO2018157479 A1 WO 2018157479A1 CN 2017084878 W CN2017084878 W CN 2017084878W WO 2018157479 A1 WO2018157479 A1 WO 2018157479A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmitting device
signal transmitting
terminal
signal
location
Prior art date
Application number
PCT/CN2017/084878
Other languages
French (fr)
Chinese (zh)
Inventor
张亚军
陈霄汉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780085719.1A priority Critical patent/CN110249653B/en
Publication of WO2018157479A1 publication Critical patent/WO2018157479A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and a terminal for detecting a state of a signal transmitting device.
  • the signal transmitting device can broadcast the signal to the outside.
  • Mobile devices such as cell phones
  • the mobile device can implement message push, offline payment, etc. according to its own location. For example, if the mobile device detects less than 5 meters from the digital counter, the mobile device can push the latest digital product introduction and offers to the user.
  • the embodiment of the invention provides a state detecting method and a terminal for a signal transmitting device, which are beneficial for intelligently identifying the state of the signal transmitting device.
  • an embodiment of the present invention provides a state detecting method for a signal transmitting device, in which a terminal first receives signal parameters from at least two signal transmitting devices, and then determines a first set of positions according to the signal parameters. And determining, according to the preset location set and the first location set, the target signal transmitting device, where the target signal transmitting device is a signal transmitting device whose location information exists in the preset location set and does not exist in the first location set, Finally, the specific state of the target signal transmitting device is determined according to the signal parameter.
  • the target signal transmitting device that may have a problem can be intelligently identified without manual detection, and at the same time, the specific state of the target signal transmitting device can be determined, which simplifies. Detect personnel's operation.
  • the signal parameter includes a signal strength
  • the terminal determines the first location set according to the signal parameter, where the signal parameter with the highest signal strength is selected from the signal parameter, and then the signal strength is the largest.
  • the position information of the signal transmitting device corresponding to the signal parameter is determined as the position information in the first set of positions.
  • the location information of the terminal is located by using the location information of the signal transmitting device corresponding to the signal parameter with the highest signal strength, and the location of the terminal is represented by the location of the signal transmitting device. More accurate detection of the target signal transmitting device.
  • the terminal may search for the signal parameter of the target signal transmitting device in the acquired signal parameter, and if the signal parameter of the target signal transmitting device is not obtained, the terminal may determine The state of the target signal transmitting device is determined to be a fault state, that is, the target signal transmitting device does not transmit a signal.
  • the target signal transmitting device is The signal parameter is not the signal parameter of the terminal having the strongest intensity in the transmission range of the target signal transmitting device, and it can be determined that the power of the target signal transmitting device is insufficient.
  • the specific state of the target signal transmitting device can be detected, which is convenient for the detecting personnel to perform different processing according to different states.
  • the terminal may also output a state of the target signal transmitting device, and mark the location of the target signal transmitting device in the indoor map.
  • the state of the target signal transmitting device can be outputted, which facilitates the worker to view and mark the position of the target signal transmitting device in the indoor map, which can facilitate the staff to be more convenient. Good positioning of the target signal transmitting device and going to replace or repair the target signal transmitting device.
  • the embodiment of the present invention further provides a state detecting method for a signal transmitting device, where the first terminal receives a signal parameter of at least one signal transmitting device sent by the second terminal, and determines a second terminal. a set of locations, wherein the first set of locations includes at least two location information, and then the first terminal determines a target signal transmitting device according to the preset location sequence set of the at least one signal transmitting device and the first set of locations, the target signal
  • the transmitting device is a signal transmitting device in which the location information exists in the preset position sequence set and does not exist in the first location set, and finally determines the state of the target signal transmitting device according to the signal parameter.
  • the signal parameter includes a signal strength
  • the first terminal determines, according to the signal parameter, a first set of positions of the second terminal during the moving process, where the target signal is selected from the signal parameter.
  • the parameter, the target signal parameter is a signal parameter with the highest signal strength in the signal parameter, and then the position information of the signal transmitting device corresponding to the target signal parameter is determined as the position information in the first position set.
  • the location information of the terminal is located by using the location information of the signal transmitting device corresponding to the signal parameter with the highest signal strength, and the location of the terminal is represented by the location of the signal transmitting device. More accurate detection of the target signal transmitting device.
  • the first terminal determines a state of the target signal transmitting device according to the signal parameter, and specifically, if the signal parameter of the target signal transmitting device does not exist in the signal parameter, determining the target signal The transmitting device is in a fault state.
  • the first terminal determines a state of the target signal transmitting device according to the signal parameter, and specifically, if the signal parameter of the target signal transmitting device exists in the signal parameter, determining the target signal transmission The device is in a low battery state.
  • the specific state of the target signal transmitting device can be detected, which is convenient for the detecting personnel to perform different processing according to different states.
  • the first terminal may further send status and location information of the target signal transmitting device to the second terminal, where the target signal is transmitted.
  • the state of the device is used by the second terminal to output a state of the target signal transmitting device
  • the location information of the target signal transmitting device is used by the second terminal to mark the location of the target signal transmitting device in the indoor map.
  • the status of the target signal transmitting device can be sent to the second terminal, so that the detecting personnel can conveniently view the device, and the location of the target signal transmitting device is marked in the indoor map, which can be conveniently operated. The person better locates the position of the target signal transmitting device and goes to replace or repair the target signal transmitting device.
  • the first terminal may further output a state of the target signal transmitting device, and mark the target signal transmitting device in the indoor map. s position.
  • the status of the target signal transmitting device and the position of the target signal transmitting device can be outputted directly on the first terminal, and the obstacle is detected or detected when being sent to the second terminal.
  • the detecting personnel When the person directly views the first terminal, it is convenient for the detecting personnel to view on the first terminal, and locate and replace the position of the target signal transmitting device or to replace or repair the target signal transmitting device.
  • the embodiment of the present invention further provides a state detecting method for a signal transmitting device, where the second terminal receives a signal parameter of at least one signal transmitting device, and sends the signal parameter to the first terminal, where The signal parameter is used by the first terminal to determine a first location set of the second terminal, where the first location set includes at least two location information, and then receives status and location information of the target signal transmitting device sent by the first terminal, where The target signal transmitting device stores the position information in the preset position sequence set of the at least one signal transmitting device, and does not exist in the signal transmitting device in the first position set, and finally outputs the state of the target signal transmitting device, and according to the The location information of the target signal transmitting device marks the location of the target signal transmitting device in the indoor map.
  • the target signal transmitting device can be found through the interaction between the first terminal and the second terminal, and the target signal transmitting device that may have a problem can be intelligently identified without manual manual detection. At the same time, the type of the problem existing in the target signal transmitting device can be judged, and the operation of the detecting personnel is simplified.
  • a terminal having a function of implementing terminal behavior in a possible implementation manner of the first aspect described above.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • This module can be software and/or hardware. Based on the same inventive concept, the principles and benefits of the terminal can be solved.
  • the implementation of the terminal can be referred to the first Aspects and possible method implementations of the first aspect are not repeated here.
  • a terminal comprising: a memory for storing one or more programs; and a processor for calling a program stored in the memory to implement the solution in the method design of the first aspect above
  • a processor for calling a program stored in the memory to implement the solution in the method design of the first aspect above
  • FIG. 1 is a schematic diagram of a network architecture for state detection of a signal transmitting device according to an embodiment of the present invention
  • FIG. 2a is a schematic diagram of a scenario for status detection of a signal transmitting device according to an embodiment of the present invention
  • FIG. 2b is a schematic diagram of another scenario for state detection of a signal transmitting device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of another network architecture for detecting state of a signal transmitting device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another scenario for state detection of a signal transmitting device according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for detecting a state of a signal transmitting device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of a method for detecting a state of a signal transmitting device according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the state of the signal transmitting device needs to be detected.
  • many signal transmitting devices require the inspector to go to the site to personally detect the state of the signal transmitting device (such as detecting whether the signal transmitting device has failed or whether the signal transmitting device is too low).
  • a Bluetooth Beacon device can only detect people to go to the site to check the status of the signal transmitting device one by one, but with the large-scale commercial use of Bluetooth Beacon devices, more and more large venues deploy hundreds of Bluetooth Beacon devices. If you rely on manpower to patrol, check and maintain Bluetooth Beacon equipment, labor costs and time will undoubtedly continue to increase, which may increase the difficulty of post-maintenance of Bluetooth Beacon equipment.
  • an embodiment of the present invention provides a method and a terminal for detecting a state of a signal transmitting device for intelligently identifying a state of a signal transmitting device.
  • the network architecture of the embodiment of the present invention is first introduced.
  • FIG. 1 is a schematic diagram of a network architecture for state detection of a signal transmitting device provided by the present invention.
  • the network architecture includes a terminal 101, two or more signal transmitting devices 102.
  • FIG. 1 exemplifies a network architecture including a terminal 101 and three signal transmitting devices 102.
  • the terminal 101 can be various types of smart terminals, such as a smart phone, a tablet computer, a wearable device, a computer, a personal digital assistant (English: Personal Digital Assistant, PDA), and a mobile Internet device (English: Mobile Internet Device, abbreviation: MID), etc., which can receive signals;
  • the signal transmitting device 102 can be a Bluetooth Beacon device, a wireless fidelity (WiFi) device, or the like, which can transmit signals, wherein the signal transmitting device 102 can be two A single device, or more than two device clusters, is not limited here.
  • the signal transmitting device 102 is specifically limited to the Bluetooth Beacon device 102, but does not mean that the signal transmitting device 102 cannot
  • the terminal 102 is specifically defined as the mobile phone 102, but the terminal 102 is not limited to other types of terminals. The present invention does not limit this.
  • the user first downloads the indoor map of the Bluetooth Beacon device 102 to be detected by using the mobile phone 101 (the indoor map includes at least two Bluetooth Beacon devices 102). Pre-stored preset set of Bluetooth Beacon devices on the indoor map), then the user can The mobile phone 101 moves in a room corresponding to the indoor map. During the mobile process, the mobile phone 101 receives signal parameters of at least two Bluetooth Beacon devices 102 in the room, and then the mobile phone 101 can compare the user when the user is in the current position.
  • the signal strength of the signal parameters of the two Bluetooth Beacon devices 102 selects the location of the Bluetooth Beacon device 102 with the strongest signal strength to indicate the current location of the user, and the user can continue to move indoors.
  • the mobile phone 101 can repeat the above comparison process. And save the current location of all collected mobile phones as a first set of locations.
  • the wireless signal strength is inversely proportional to the distance
  • the signal strength of the Bluetooth Beacon device 102 is increased, if multiple Bluetooth Beacons are deployed within a certain space range.
  • each Bluetooth Beacon device 102 covers a certain area range, and the mobile phone 101 can use this feature to locate the mobile phone.
  • the Bluetooth Beacon device 102 currently receives the maximum signal strength of the user, and then the Bluetooth Beacon device 102 is located near the user. If the mobile phone 101 pre-stores the deployment location of the Bluetooth Beacon device 102, the user location can also be represented by the location of the Bluetooth Beacon device 102. The closer the user location is to which Bluetooth Beacon device 102, the user location can receive the maximum received signal strength. The location of the Bluetooth Beacon device 102 is indicated.
  • the mobile phone 101 compares the preset location set of the pre-stored Bluetooth Beacon device 102 with the first location set. If the comparison result is in the first location set, a certain Bluetooth beacon device existing in the preset is absent. The Bluetooth Beacon location in the preset location set, then the missing Bluetooth Beacon device 102 may be a problematic Bluetooth Beacon device.
  • the handset 101 looks to see if the signal parameters of the missing Bluetooth Beacon device 102 were received during the determination of the first set of locations. If the mobile phone 101 does not receive the signal parameter of the missing Bluetooth Beacon device 102, the mobile phone 101 may determine that the current state of the missing Bluetooth Beacon device is a non-broadcast signal, that is, a signal transmission failure state; if the mobile phone 101 receives The signal parameter of the missing Bluetooth Beacon device 102, but the signal parameter of the missing Bluetooth Beacon device 102 is not the device with the highest signal strength when the user is in the position of the missing Bluetooth Beacon device 102, so the mobile phone 101 can The current state of the missing Bluetooth Beacon device is determined to be a low battery state or a voltage unstable state.
  • the first location set may match the location information of the preset Bluetooth Beacon device.
  • three Bluetooth Beacon devices are deployed in the room, namely, No. 1 device, No. 2 device, and No. 3 device.
  • the location information of the three Bluetooth Beacon devices is pre-stored on the mobile phone 201 by the mobile phone 201.
  • the mobile phone 201 determines the user location by receiving the signal strengths of the above three Bluetooth Beacon devices.
  • the signal strength of the No. 1 device received at time t1 is -65 dbm
  • the signal strength of the No. 2 device is -90 dbm
  • the signal strength of the No. 3 device is -75 dbm
  • the mobile phone 201 can determine the time t1.
  • the mobile phone 201 receives the Bluetooth Beacon device with the highest signal strength as the No. 1 device, it can further determine that the location where the mobile phone 201 is located at the moment is the location where the No. 1 device is located; the mobile phone 101 continues to move, and receives the information at 204 and t2.
  • the signal strength of the No. 1 device is -75dbm
  • the mobile phone 201 can determine that the mobile phone 201 receives the Bluetooth Beacon with the highest signal strength at time t2. If the device is the No. 2 device, it can be further determined that the location of the mobile phone 201 at the moment is the location of the No. 2 device; the mobile phone 201 at 204, the signal strength of the No. 1 device received at time t3 is -85dbm, No. 2 The signal strength of the device is -90dbm, and the signal strength of the device No.3 is -55dbm.
  • the mobile phone 201 can judge that the Bluetooth Beacon device with the highest signal strength received by the mobile phone 201 at time t2 is the No. 3 device, and then the device can enter Step 101 determines the position of the phone number for the location at the moment in which the device 3 is located.
  • the first location set obtained by the mobile phone 201 can be 1, 2, and 3, which is consistent with the location information of the preset Bluetooth Beacon device, and the mobile phone 201 can determine that the three Bluetooth Beacon devices are in a normal working state.
  • the first location set may not match the location information of the preset Bluetooth Beacon device.
  • three Bluetooth Beacon devices are deployed indoors, namely, No. 1 device, No. 2 device, and No. 3 device.
  • the signal strength of the No. 1 device received at time t1 is -65 dbm
  • the signal strength of the No. 2 device is -90 dbm
  • the signal strength of the No. 3 device is -75 dbm
  • the mobile phone 301 can determine the time t1.
  • the mobile phone 301 receives the Bluetooth Beacon device with the highest signal strength as the No. 1 device, it can further determine that the location of the mobile phone 301 is the location where the No. 1 device is located at time t1; the mobile phone 101 continues to move, and receives the received message at time t2 in 303.
  • the signal strength of the No. 1 device is -75dbm
  • the mobile phone 301 can determine that the mobile phone 301 receives the Bluetooth Beacon device with the highest signal strength at time t2. For the No. 3 device, it can be further judged that the location of the mobile phone 101 at the moment is the location of the No. 3 device; the mobile phone 101 is in the 304, and the signal strength of the No. 1 device received at time t3 is -85dbm, the No. 2 device The signal strength is -90dbm, and the signal strength of the No. 3 device is -55dbm. The mobile phone 101 can determine that the Bluetooth Beacon device that receives the highest signal strength at the time t2 is also the No. 3 device, and can enter one. Steps determine that the location of the mobile phone 301 at the moment is the location of the device No. 3.
  • the first location set obtained by the mobile phone 301 is 1, 3, and 3, because the location information of the preset Bluetooth Beacon device, the device location of the device No. 1 and the device location of the device No. 2 have continuity, the user is in the When receiving signal parameters, it is impossible to skip device No. 2. If each Bluetooth Beacon device works normally, the user's positioning position should be 1, 2, 3, but now the user's positioning position is 1, 3, 3, by comparing Beacon. The position coordinates and the terminal positioning position can determine that there may be a problem with the No. 2 device.
  • the mobile phone 301 can also determine that the current state of the device No. 2 is a low battery state or a voltage unstable state. Then, the mobile phone 301 can also mark the location of the No. 2 device in combination with the indoor map, and the detecting personnel can clearly know the location of the problematic Bluetooth Beacon device and can directly replace it, without relying on human resources and then Bluetooth.
  • the Beacon equipment can be inspected one by one to find out which Bluetooth Beacon equipment is damaged, which saves the time and manpower of the inspectors.
  • FIG. 3 is a schematic diagram of another network architecture for detecting state of a signal transmitting device provided by the present invention.
  • the network architecture includes a terminal 0301, a server 0302, and two or more signal transmitting devices 0303.
  • the terminal 0301 can be various types of smart terminals, such as a smart phone, a tablet computer, a wearable device, a computer, a personal digital assistant (English: Personal Digital Assistant, PDA), and a mobile Internet device (English: A terminal that can receive a signal, such as a mobile Internet device (MID); the server 0302 can be a database server or a positioning server, or a terminal such as a smartphone, a tablet, or a wearable device having a server function, and the server 0302 can be used. And storing the preset position and the indoor map of the signal transmitting device 0303, wherein the server 0302 may be a separate server or a server cluster, which is not limited herein; the signal transmitting device 0303 may be a Bluetooth Beacon device. A device that can send a signal, such as a WiFi device, where the signal transmitting device 0303 can be two separate devices, or can be a cluster of two or more devices, and is not limited herein.
  • the letter The number transmitting device 0303 is specifically limited to the Bluetooth Beacon device 0303 in the following description, but does not mean that the signal transmitting device 0303 cannot be other types of signal transmitting devices;
  • the terminal 0301 is specifically limited to the mobile phone 0301 in the following description, but It is not indicated that the terminal 0301 cannot be other types of terminals, and the present invention does not impose any limitation.
  • the mobile phone 0301 receives the signal parameters of at least two Bluetooth Beacon devices 0303, and then moves the signal parameters through a wireless network (eg, WiFi, Bluetooth, mobile).
  • a wireless network eg, WiFi, Bluetooth, mobile
  • the server 0302 analyzes the signal parameters, and feeds back the result of the analysis (including the location and status of the problematic Bluetooth Beacon device) to the mobile phone 0301, so that the tester can Feedback to deal with the problematic Bluetooth Beacon device.
  • the server may be interconnected with the mobile phone through the wireless network, and in step 401, the server may pre-store the indoor map of the building and the location database of the Bluetooth Beacon device deployed in the indoor map.
  • the mobile phone downloads the corresponding indoor map from the server and saves the mobile phone, and moves in the building corresponding to the indoor map or indoors.
  • at least two Bluetooth Beacon devices are moved to the mobile phone.
  • Sending a signal parameter in step 404, the mobile phone receives signal parameters of the at least two Bluetooth Beacon devices and sends the signal parameters to the server through the wireless network.
  • step 405 the server saves the signal parameters reported by the user.
  • step 406 the server compares the received signal parameters, and selects the Bluetooth Beacon that receives the signal strength at the time of receiving the signal parameter according to the maximum signal strength localization algorithm.
  • the location of the device indicates the location of the mobile phone, and the coordinates of the mobile phone location at each moment are saved as a first set of locations.
  • step 407 if the server finds that there is a Bluetooth Beacon location in the preset location set of the preset Bluetooth Beacon device in the first location set, the missing Bluetooth Beacon device may be in question. Bluetooth Beacon device. Further, the server may further find whether the signal parameter of the Bluetooth Beacon device that has the problem is received in the process of determining the first location set.
  • the server may also determine that the current state of the problematic Bluetooth Beacon device is a non-broadcast signal, that is, a signal transmission failure state; if the server receives The signal parameter of the problematic Bluetooth Beacon device, the server can determine that the current state of the problematic Bluetooth Beacon device is a low battery state or a voltage unstable state.
  • the server may also return the location information of the problematic Bluetooth Beacon device on the indoor map to the mobile phone, and output the specific status of the problematic Bluetooth Beacon device, so that the inspection personnel can view and go to the maintenance.
  • the server may directly display the location information and the specific status of the problematic Bluetooth Beacon device on the indoor map on the server.
  • the Bluetooth Beacon may be directly known. The location information and specific status of the device on the indoor map.
  • FIG. 5 is a schematic flowchart of a method for detecting a state of a signal transmitting device provided on the basis of the network architecture diagram shown in FIG. 1 according to an embodiment of the present invention.
  • the detection method of the signal transmitting device shown in FIG. 5 includes the following steps:
  • the terminal receives signal parameters of at least two signal transmitting devices.
  • the terminal may download an indoor map corresponding to the indoor location of the at least two signal transmitting devices from a server or a cloud or the like in advance, where the indoor map is The preset position information of the at least two signal transmitting devices is marked.
  • the signal transmitting device can broadcast its own signal parameter to the terminal in the signal range.
  • the signal parameter has a certain difference in signal parameters of each signal transmitting device due to limitation of range and distance, and the terminal can receive the at least two signals by receiving the signal.
  • the signal parameters of the transmitting device are used to detect the state of the signal transmitting device.
  • the terminal receives signal parameters of the at least two signal transmitting devices, which may be received for one cycle.
  • the terminal may not accurately determine the signal transmission at the edge of the period.
  • the state of the device the terminal can detect the signal transmitting device at the edge of the cycle in combination with the next cycle.
  • the signal parameters of the at least two signal transmitting devices may include a signal strength, an identifier of the signal transmitting device, and location information of the signal transmitting device, and the like, which is not limited herein.
  • the terminal determines a first location set according to the signal parameter.
  • the first set of locations includes at least two location information.
  • the signal parameter includes a signal strength
  • the specific implementation manner of the terminal determining the first location set according to the signal parameter may be: the terminal selects a target signal parameter from the received signal parameters of the at least two signal transmitting devices, where the target signal parameter is a signal parameter having the highest signal strength among the signal parameters of the at least two signal transmitting devices; the terminal determining the position information of the signal transmitting device corresponding to the target signal parameter as the position information in the first set of positions. That is to say, the terminal can select the location information of the signal transmitting device with the highest signal strength among the at least two signal transmitting devices to represent the location information of the terminal. That is to say, at least two pieces of position information in the first set of positions may actually be position information of the signal transmitting device having the highest signal strength.
  • the first location set may be the No. 1 device location.
  • the location of the device No. 3, or the location of the first location may also be the location of the device No. 1, the location of the device No. 2, or the location of the first location may be the location of the device No. 1, the location of the device No. 2, the number 3
  • the location of the device, etc. may be other situations that include the location of two of the devices, and are not described here.
  • the terminal may not be able to combine the preset location set of the signal transmitting device to the location information. Performing further analysis, therefore, when the terminal only determines one location information in the current period, the location information can be regarded as invalid location information, but if the terminal is combined with the next cycle to a location of the current time When the information is analyzed, one location information of this time can be regarded as valid location information.
  • the terminal determines the target signal transmitting device according to the preset location set and the first location set.
  • the preset location may be a set of location information of the at least two devices on the indoor map.
  • the target signal transmitting device is a signal transmitting device in which the location information exists in the preset location set and does not exist in the first location set.
  • the terminal can transmit the device according to the pre-stored signal according to the coherence of the terminal when receiving the signal parameter broadcast by the signal transmitting device.
  • the location information determines that the preset location set is the No. 1 device location, the No. 2 device location, and the No. 3 device location, due to the 2
  • the number device does not exist in the first location set, but exists in the preset location set, indicating that the number 2 is the target signal transmitting device.
  • the preset location set is the device location No. 1 due to the consistency of the terminal according to the signal parameters broadcast by the signal transmitting device.
  • the location of the device No. 2 and the location of the device No. 3 may also be that the preset location is set to the device location No. 1 and the device location of the second device. Therefore, the terminal may not accurately determine the target transmitting device during the current period. The terminal can determine the target signal transmitting device in conjunction with the next cycle.
  • the terminal determines the device location 4 and the device device 5 in the first location set, then the terminal combines the two cycles to determine The location of the device No. 3 is the target signal transmitting device.
  • the terminal when the terminal determines the target signal transmitting device according to the preset location set and the first location set, if the determining is performed in the current period, the terminal may determine the preset in combination with the first location set. Whether the signal transmitting device corresponding to the position other than the end position in the location set is the target transmitting device. If the terminal wants to further determine whether the signal transmitting device corresponding to the endpoint position in the preset location set is the target transmitting device, further determination may be made in conjunction with the next cycle.
  • the terminal may not need to use its own positioning module to accurately locate the terminal. Since the signal transmitting device is deployed indoors in most cases, and the terminal is in some rooms (such as an underground parking lot, etc.), the result of the positioning may have a large error, and the target is determined according to the preset position set and the first position set. The way the signal transmitting device can avoid the problem of large errors in positioning.
  • the terminal may also use its own positioning module to determine the preset position.
  • the terminal may use one of a Global Positioning System (GPS) mode, a base station positioning mode, or a WiFi positioning mode, or combine multiple positioning methods to determine the current location of the terminal itself, and then follow the indoor map. And determining a positional relationship between a position of the at least two signal transmitting devices and the current position, and determining a location of the signal transmitting device closest to the terminal as a preset position of the terminal.
  • the terminal may determine a plurality of preset positions during the movement, and use the plurality of preset positions as the preset position set of the terminal.
  • the terminal can receive the signal parameters of the at least two signal transmitting devices, and then compare the signal strengths of the signal parameters of the at least two signal transmitting devices when the terminal is in the current preset position, and select the signal with the strongest signal strength.
  • the location of the transmitting device is the first location. If the determined first location is different from the preset location, the terminal may determine that the signal transmitting device corresponding to the preset location is the target signal transmitting device.
  • the terminal can obtain the current location of the terminal and the location of the No. 1 device by GPS positioning, and the location of the No. 1 device can be used to indicate the current location of the terminal.
  • the terminal is here.
  • the signal strength of the No. 1 device should be the strongest.
  • the terminal compares the signal strength of the signal transmitting device received here, and if it is determined that the signal transmitting device with the strongest signal strength is the No. 2 device, it means that the theoretical situation and the actual situation do not match, the No. 1
  • the device may have a problem, and the terminal can determine that the device No. 1 is the target signal transmitting device.
  • the terminal uses its own positioning module to determine the preset position, and further determines the target signal transmitting device, and may perform signal transmitting devices corresponding to any preset position in the preset position set. Do A determination is made to determine whether the signal transmitting device corresponding to any of the preset positions is the target transmitting device.
  • the terminal determines a state of the target signal transmitting device according to the signal parameter.
  • the state of the target signal transmitting device may be determined by polling the data buffer of all received signal parameters.
  • the state of the target signal transmitting device may be a fault state, a power shortage state, or other states, which is not limited herein.
  • the state of the target signal transmitting device may also be displayed on the terminal display screen, and the location of the target signal transmitting device is marked on the indoor map. In order to facilitate inspection personnel to view and go to maintenance.
  • the terminal first receives signal parameters of at least two signal transmitting devices, and then determines a first set of positions according to the signal parameters, and determines a target signal transmitting device according to the first set of positions and the preset set of positions.
  • the state of the target signal transmitting device can be manually detected without manual detection.
  • the target signal transmitting device that may have a problem can be intelligently identified, and the target signal transmitting device can be determined at the same time. The specific state simplifies the operation of the inspector.
  • FIG. 6 is a schematic flowchart diagram of another method for detecting a state of a signal transmitting device according to an embodiment of the present invention.
  • the detection method of the signal transmitting device shown in FIG. 6 includes the following steps:
  • the terminal receives signal parameters of at least two signal transmitting devices.
  • the terminal selects a target signal parameter from the signal parameters.
  • the signal parameter includes a signal strength
  • the target signal parameter is a signal parameter with the highest signal strength among the signal parameters.
  • the signal strength is inversely proportional to the distance. In theory, if the terminal is close to a signal transmitting device, the signal strength of the signal transmitting device is increased. If multiple signal transmitting devices are deployed within a certain spatial range, and each signal transmitting device covers a certain area range, we can use this feature to represent the terminal position.
  • the terminal can compare the signal strength of the signal transmitting device received at the current time, and select the signal parameter with the largest signal strength as the target signal parameter.
  • the terminal determines location information of the signal transmitting device corresponding to the target signal parameter as the location information in the first location set.
  • the first location set may include at least two location information, where the location information may be a terminal location, and is used to indicate a location of the terminal at a certain moment, where the terminal location may use the signal.
  • the position of the transmitting device is used for representation, and the target signal transmitting device can be more conveniently detected.
  • the signal strength of the signal transmitting device received by the terminal at the current time is the highest, and then the signal transmitting device is in the vicinity of the signal transmitting device. Since the terminal pre-stores the preset position of each signal transmitting device, the terminal The position of the signal transmitting device corresponding to the target signal parameter can be used to indicate the terminal position.
  • the terminal 301 can determine the maximum signal strength of the No. 1 device, and further determine the location information of the No. 1 device as the first location set. Location information.
  • the terminal determines the target signal transmitting device according to the preset location set and the first location set.
  • the target signal transmitting device is a signal transmitting device in which the location information exists in the preset location set and does not exist in the first location set.
  • the terminal determines that the target signal transmitting device is in a fault state.
  • the terminal may further determine a specific state of the target signal transmitting device.
  • the terminal may search for a signal parameter of the target signal transmitting device in the signal parameter in the buffer. If the signal parameter broadcast by the target signal transmitting device is not found in the cache, it indicates that the signal transmitting device does not work completely, that is, the signal transmitting device is in a fault state and needs to be directly replaced.
  • step S605 and the step S606 are parallel steps, and the step S605 is executed, and the step S606 is not performed, and the step S606 is performed, and the step S605 may not be performed. Therefore, if the terminal finds that the signal parameter of the target signal transmitting device does not exist in the signal parameter, the step S606 is skipped, and the step S607 is performed.
  • the terminal determines that the target signal transmitting device is in a low battery state.
  • the terminal finds a signal parameter of the target signal transmitting device in the cache, but the target signal transmitting device does not exist in the first location set, that is, the signal of the target signal transmitting device
  • the intensity is not the signal transmitting device with the highest signal intensity at this moment, indicating that the target signal transmitting device may be unstable due to the battery voltage, that is, the state of the target signal transmitting device is a state of insufficient power.
  • the terminal outputs a state of the target signal transmitting device, and marks a location of the target signal transmitting device in the indoor map.
  • the terminal when determining the state of the target signal transmitting device, can immediately display on the screen of the terminal, and mark the location of the target signal transmitting device in the indoor map, so as to facilitate the detection personnel to perform immediately View and go to the location of the target signal transmitting equipment for repair or replacement.
  • the detecting personnel may not have time to process the target signal transmitting device at the current moment, and the terminal may determine the state of the target signal transmitting device and the position of the target signal transmitting device after determining the state of the target signal transmitting device. Save it.
  • the terminal displays the state of the target signal transmitting device and the position of the target signal transmitting device on the indoor map on the screen, thereby saving the work of the terminal. It is also convenient for the inspection personnel to check at any time.
  • the terminal first receives signal parameters of at least two signal transmitting devices, and then selects a target signal parameter with the highest signal strength from the signal parameter, and determines a location of the signal transmitting device corresponding to the target signal parameter. a position in the first location set, and then determining according to the first location set and the preset location set.
  • the target signal transmitting device and the specific state of the target signal transmitting device can use the position of the signal transmitting device with the highest signal strength to indicate the position of the terminal, and then combine the position of the signal transmitting device pre-stored by the terminal for comparison, thereby intelligently identifying A target signal transmitting device that may have a problem, and at the same time, can determine the specific state of the target signal transmitting device, without manual manual detection, which simplifies the operation of the detecting personnel.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal described in this embodiment includes: a receiving module 701, a first determining module 702, a second determining module 703, a third determining module 704, and an output module 705.
  • the receiving module 701 is configured to receive signal parameters of at least two signal transmitting devices.
  • the first determining module 702 is configured to determine, according to the signal parameter, a first set of locations, where the first set of locations includes at least two location information.
  • the signal parameter includes a signal strength
  • the first determining module 702 can include: a selecting unit 7021, configured to select a target signal parameter from the signal parameter.
  • the target signal parameter is a signal parameter with the highest signal strength among the signal parameters.
  • the determining unit 7022 is configured to determine location information of the signal transmitting device corresponding to the target signal parameter as location information in the first location set.
  • the second determining module 703 is configured to determine the target signal transmitting device according to the preset location set and the first location set.
  • the target signal transmitting device is a signal transmitting device in which the location information exists in the preset location set and does not exist in the first location set;
  • the third determining module 704 is configured to determine a state of the target signal transmitting device according to the signal parameter.
  • the third determining module 704 is specifically configured to: if the signal parameter of the target signal transmitting device does not exist in the signal parameter, determine that the target signal transmitting device is in a fault state.
  • the third determining module 704 is specifically configured to: if the signal parameter of the target signal transmitting device exists in the signal parameter, determine that the target signal transmitting device is in a low battery state.
  • the output module 705 is configured to output a state of the target signal transmitting device, and mark the location of the target signal transmitting device in the indoor map.
  • the terminal may implement the corresponding steps performed by the terminal in the state detecting method of the signal transmitting device in the foregoing embodiment of FIG. 5 and FIG. 6 by using the foregoing module.
  • the embodiments of the present invention are device embodiments corresponding to the method embodiments, and the description of the method embodiments is also applicable to the embodiments of the present invention.
  • the signal position of the signal transmitting device can be used to determine the first set of positions, and then combined with the position of the pre-stored signal transmitting device for intelligently identifying the target signal transmitting device that may have a problem, and at the same time
  • the specific state of the target signal transmitting device can be judged without manual manual detection, which simplifies the operation of the detecting personnel.
  • FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal described in this embodiment includes: a user interface 801, a display screen 802, a processor 803, a communication interface 804, and a memory 805.
  • the user interface 801, the display screen 802, the processor 803, the communication interface 804, and the memory 805 may be connected by a bus or may be connected in other manners.
  • the processor 803 can be a central processing unit (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of a CPU and an NP.
  • the processor 803 can also be a core for implementing communication identification binding in a multi-core CPU or a multi-core NP.
  • the processor 803 described above may be a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (abbreviated as PLD), or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA), general array logic (English: generic array Logic, abbreviation: GAL) or any combination thereof.
  • the communication interface 804 can be used for transceiving information or signaling interactions, as well as for receiving and transmitting signals.
  • the communication interface 804 can communicate with the network and the signal transmitting device via wireless communication and receive data of the signal transmitting device.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Wireless Fidelity (WiFi), GSM (Global System of Mobile communication), GPRS (General Packet Radio Service). Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service, Short message service) and so on.
  • the user interface 801 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal.
  • the user interface 801 described above may include a touch panel and other input devices.
  • a touch panel also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel).
  • the corresponding connecting device is driven according to a preset program.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller;
  • the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user interface 801 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display 802 can be used to display information entered by the user or information provided to the user as well as various menus for the terminal.
  • the display screen 802 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel in the user interface 801 can cover the display screen 902. When the touch panel detects a touch operation on or near the touch panel, the touch panel transmits to the processor to determine the type of the touch event, and then the processor according to the touch event. The type provides a corresponding visual output on display 902.
  • the touch panel and the display screen 902 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel can be integrated with the display screen 902 to implement the terminal. Input and output functions.
  • the memory 805 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a storage program required by at least one function (such as a text storage function, a location storage function, etc.); the storage data area may be stored according to The data created by the terminal (such as image data, text data), etc., and may include a network communication module, a user interface module, an application storage program, and the like.
  • the network communication module can be used to store a network communication program, and the communication interface 804 can implement the function of external or internal communication by calling a network communication program of the network communication module.
  • the user interface module can be used to store a human-computer interaction program that implements user-to-terminal touch, pressing, and the like.
  • the user interface 801 can implement a user signal input function by calling a human-computer interaction program of the user interface module.
  • the memory may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the above memory 805 is also used to store program instructions.
  • the processor 803 can call the program instructions stored in the memory 805 to implement the state detecting method of the signal transmitting device as shown in the embodiment of the present invention.
  • the processor 803 calls the program instructions stored in the memory 805 to perform the following steps:
  • a target signal transmitting device Determining, according to the preset location set and the first location set, a target signal transmitting device, where the target signal transmitting device is a signal transmitting device that exists in the preset location set and does not exist in the first location set;
  • a state of the target signal transmitting device is determined based on the signal parameter.
  • the method performed by the processor in the embodiment of the present invention is described from the perspective of a processor. It can be understood that the processor in the embodiment of the present invention needs to cooperate with other hardware structures to perform the above method.
  • the interaction between the terminal and other devices or servers, such as receiving signal parameters of at least two signal transmitting devices, is controlled by the processor 803 to receive the related data, and the determining the first location set and determining the target signal transmission.
  • the steps such as the state can be implemented by the processor 803 controlling the stored program in the memory 805.
  • the specific implementation process is not described and limited in detail in the embodiments of the present invention.
  • the signal parameter includes a signal strength
  • the processor 803 is specifically configured to select a target signal parameter from the signal parameter, where the target signal parameter is a signal parameter with a maximum signal strength among the signal parameters, and The location information of the signal transmitting device corresponding to the target signal parameter is determined as the location information in the first location set.
  • the processor 803 is specifically configured to determine that the target signal transmitting device is in a fault state if the signal parameter of the target signal transmitting device does not exist in the signal parameter.
  • the processor 803 is specifically configured to determine that the target signal transmitting device is in a low battery state if a signal parameter of the target signal transmitting device exists in the signal parameter.
  • the processor 803 is further configured to invoke the display screen 802 to output a status of the target signal transmitting device, and mark the location of the target signal transmitting device in the indoor map.
  • the signal position of the signal transmitting device can be used to determine the first set of positions, and then combined with the position of the pre-stored signal transmitting device for intelligently identifying the target signal transmitting device that may have a problem, and at the same time
  • the specific state of the target signal transmitting device can be judged without manual manual detection, which simplifies the operation of the detecting personnel.

Abstract

Disclosed are a detection method and terminal for a signal transmission device. The method comprises: a terminal first receiving signal parameters from at least two signal transmission devices; then determining a first position set according to the signal parameters; determining a target signal transmission device according to a pre-set position set and the first position set, wherein the target signal transmission device is a signal transmission device, and position information of same is present in the pre-set position set, but is not present in the first position set; and finally, determining, according to the signal parameters, the specific state of the target signal transmission device. The present application can intelligently identify the state of a signal transmission device.

Description

一种信号发射设备的状态检测方法及终端State detection method and terminal of signal transmitting device 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种信号发射设备的状态检测方法及终端。The present invention relates to the field of communications technologies, and in particular, to a method and a terminal for detecting a state of a signal transmitting device.
背景技术Background technique
随着通信技术的不断发展,成本低、部署方便的用于室内定位的信号发射设备(例如蓝牙信标(Beacon)设备、无线保真(WiFi)设备等)得到了大规模的使用。信号发射设备可向外广播信号。移动设备(如手机等)根据接收到的信号强度就可确定自身的位置。移动设备根据自身的位置就可实现消息推送,线下支付等。例如,若移动设备检测到距离数码专柜不到5米,这时移动设备可向用户推送最新的数码产品介绍和优惠信息。With the continuous development of communication technology, low-cost, easy-to-use signal transmission equipment for indoor positioning (such as Bluetooth beacon (Beacon) equipment, wireless fidelity (WiFi) equipment, etc.) has been used on a large scale. The signal transmitting device can broadcast the signal to the outside. Mobile devices (such as cell phones) can determine their location based on the received signal strength. The mobile device can implement message push, offline payment, etc. according to its own location. For example, if the mobile device detects less than 5 meters from the digital counter, the mobile device can push the latest digital product introduction and offers to the user.
通常在一家百货公司或超市等室内建筑里,往往需要布属多个信号发射设备,才可以将发射的信号覆盖整个室内区域。在实际应用中,当信号发射设备的状态出现异常(如信号发射设备故障、信号发射设备电量过低)时,会导致信号发射设备的使用出现问题。因此,需要及时地更换状态异常的信号发射设备。然而在实践中发现,需要维护人员亲自巡检,识别信号发射设备的状态是否出现异常,由于在室内区域布属了大量的信号发射设备,这往往需要耗费大量的人力。Usually in an indoor building such as a department store or a supermarket, it is often necessary to provide multiple signal transmitting devices to cover the entire indoor area. In practical applications, when the state of the signal transmitting device is abnormal (such as a signal transmitting device failure or a signal transmitting device is too low), there is a problem in the use of the signal transmitting device. Therefore, it is necessary to replace the signal transmitting device of the abnormal state in time. However, in practice, it is found that the maintenance personnel need to personally inspect and identify whether the state of the signal transmitting device is abnormal. Since a large number of signal transmitting devices are disposed in the indoor area, this often requires a large amount of manpower.
因此,如何智能地识别出信号发射设备的状态成为了一个研究的热点问题。Therefore, how to intelligently identify the state of the signal transmitting device has become a hot issue of research.
申请内容Application content
本发明实施例提供了一种信号发射设备的状态检测方法及终端,有利于智能地识别出信号发射设备的状态。The embodiment of the invention provides a state detecting method and a terminal for a signal transmitting device, which are beneficial for intelligently identifying the state of the signal transmitting device.
第一方面,本发明实施例提供了一种信号发射设备的状态检测方法,该方法中,终端首先接收来自至少两个信号发射设备的信号参数,然后根据该信号参数确定出第一位置集合,并根据预设位置集合和该第一位置集合确定目标信号发射设备,其中该目标信号发射设备是其位置信息存在于预设位置集合中,且不存在于第一位置集合中的信号发射设备,最后再根据该信号参数确定该目标信号发射设备的具体状态。In a first aspect, an embodiment of the present invention provides a state detecting method for a signal transmitting device, in which a terminal first receives signal parameters from at least two signal transmitting devices, and then determines a first set of positions according to the signal parameters. And determining, according to the preset location set and the first location set, the target signal transmitting device, where the target signal transmitting device is a signal transmitting device whose location information exists in the preset location set and does not exist in the first location set, Finally, the specific state of the target signal transmitting device is determined according to the signal parameter.
可见,通过实施第一方面所提供的方法,可以无需人工进行手动检测,就可智能的识别出可能存在问题的目标信号发射设备,并且同时可以判断出该目标信号发射设备的具体状态,简化了检测人员的操作。It can be seen that by implementing the method provided by the first aspect, the target signal transmitting device that may have a problem can be intelligently identified without manual detection, and at the same time, the specific state of the target signal transmitting device can be determined, which simplifies. Detect personnel's operation.
作为一种可选的实施方式,该信号参数包括信号强度,该终端根据信号参数确定第一位置集合,具体可以是从信号参数中选取信号强度最大的信号参数,然后将该信号强度中最大的信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。As an optional implementation manner, the signal parameter includes a signal strength, and the terminal determines the first location set according to the signal parameter, where the signal parameter with the highest signal strength is selected from the signal parameter, and then the signal strength is the largest. The position information of the signal transmitting device corresponding to the signal parameter is determined as the position information in the first set of positions.
可见,通过实施上述可选的实施方式,通过利用信号强度最大的信号参数所对应的信号发射设备的位置信息来定位该终端的位置信息,并且利用信号发射设备的位置来表示终端的位置,可以更精准的检测出目标信号发射设备。It can be seen that, by implementing the above optional implementation manner, the location information of the terminal is located by using the location information of the signal transmitting device corresponding to the signal parameter with the highest signal strength, and the location of the terminal is represented by the location of the signal transmitting device. More accurate detection of the target signal transmitting device.
作为一种可选的实施方式,该终端可以在获取到的信号参数中查找是否有获取到该目标信号发射设备的信号参数,如果没有获取到该目标信号发射设备的信号参数,就可以确 定该目标信号发射设备的状态为故障状态,即该目标信号发射设备不发射信号。As an optional implementation manner, the terminal may search for the signal parameter of the target signal transmitting device in the acquired signal parameter, and if the signal parameter of the target signal transmitting device is not obtained, the terminal may determine The state of the target signal transmitting device is determined to be a fault state, that is, the target signal transmitting device does not transmit a signal.
作为一种可选的实施方式,该终端如果获取到该目标信号发射设备的信号参数,但由于该目标信号发射设备的信号参数没有在该第一位置集合中,则说明该目标信号发射设备的信号参数不是该终端在该目标信号发射设备的发射范围里强度最大的信号参数,就可以判断出该目标信号发射设备的电量不足。As an optional implementation manner, if the terminal acquires the signal parameter of the target signal transmitting device, but the signal parameter of the target signal transmitting device is not in the first set of locations, the target signal transmitting device is The signal parameter is not the signal parameter of the terminal having the strongest intensity in the transmission range of the target signal transmitting device, and it can be determined that the power of the target signal transmitting device is insufficient.
可见,通过实施上述两种可选的实施方式,可以检测出该目标信号发射设备的具体状态,方便检测人员根据不同的状态作不同的处理。It can be seen that by implementing the above two optional implementation manners, the specific state of the target signal transmitting device can be detected, which is convenient for the detecting personnel to perform different processing according to different states.
作为一种可选的实施方式,该终端根据信号参数确定目标信号发射设备的状态之后,还可以输出该目标信号发射设备的状态,并在室内地图中标记出所述目标信号发射设备的位置。As an optional implementation manner, after determining, by the terminal, the state of the target signal transmitting device according to the signal parameter, the terminal may also output a state of the target signal transmitting device, and mark the location of the target signal transmitting device in the indoor map.
可见,通过实施这种可选的实施方式,可以通过将该目标信号发射设备的状态输出,方便了工作人员进行查看,同时在室内地图中标记出目标信号发射设备的位置,可以方便工作人员更好的对目标信号发射设备的位置进行定位,并前去更换或维修该目标信号发射设备。It can be seen that by implementing the optional implementation manner, the state of the target signal transmitting device can be outputted, which facilitates the worker to view and mark the position of the target signal transmitting device in the indoor map, which can facilitate the staff to be more convenient. Good positioning of the target signal transmitting device and going to replace or repair the target signal transmitting device.
第二方面,本发明实施例还提供了一种信号发射设备的状态检测方法,该方法中,第一终端接收第二终端发送的至少一个信号发射设备的信号参数,确定该第二终端的第一位置集合,其中,该第一位置集合包括至少两个位置信息,然后第一终端根据该至少一个信号发射设备的预设位置顺序集合和该第一位置集合确定目标信号发射设备,该目标信号发射设备为位置信息存在于该预设位置顺序集合中,且不存在于该第一位置集合中的信号发射设备,最后根据该信号参数确定该目标信号发射设备的状态。In a second aspect, the embodiment of the present invention further provides a state detecting method for a signal transmitting device, where the first terminal receives a signal parameter of at least one signal transmitting device sent by the second terminal, and determines a second terminal. a set of locations, wherein the first set of locations includes at least two location information, and then the first terminal determines a target signal transmitting device according to the preset location sequence set of the at least one signal transmitting device and the first set of locations, the target signal The transmitting device is a signal transmitting device in which the location information exists in the preset position sequence set and does not exist in the first location set, and finally determines the state of the target signal transmitting device according to the signal parameter.
可见,通过实施这种可选的实施方式,可以无需人工进行手动检测,就可智能的识别出可能存在问题的目标信号发射设备,并且同时可以判断出该目标信号发射设备存在的问题类型,简化了检测人员的操作。It can be seen that by implementing such an optional implementation manner, it is possible to intelligently identify a target signal transmitting device that may have a problem without manual manual detection, and at the same time, can determine the type of the problem existing in the target signal transmitting device, simplifying The operation of the inspector.
作为一种可选的实施方式,该信号参数包括信号强度,该第一终端根据该信号参数确定该第二终端在移动过程中的第一位置集合,具体可以是从该信号参数中选取目标信号参数,该目标信号参数为信号参数中信号强度最大的信号参数,然后将该目标信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。As an optional implementation manner, the signal parameter includes a signal strength, and the first terminal determines, according to the signal parameter, a first set of positions of the second terminal during the moving process, where the target signal is selected from the signal parameter. The parameter, the target signal parameter is a signal parameter with the highest signal strength in the signal parameter, and then the position information of the signal transmitting device corresponding to the target signal parameter is determined as the position information in the first position set.
可见,通过实施上述可选的实施方式,通过利用信号强度最大的信号参数所对应的信号发射设备的位置信息来定位该终端的位置信息,并且利用信号发射设备的位置来表示终端的位置,可以更精准的检测出目标信号发射设备。It can be seen that, by implementing the above optional implementation manner, the location information of the terminal is located by using the location information of the signal transmitting device corresponding to the signal parameter with the highest signal strength, and the location of the terminal is represented by the location of the signal transmitting device. More accurate detection of the target signal transmitting device.
作为一种可选的实施方式,该第一终端根据该信号参数确定该目标信号发射设备的状态,具体可以是如果该信号参数中不存在该目标信号发射设备的信号参数,则确定该目标信号发射设备为故障状态。As an optional implementation manner, the first terminal determines a state of the target signal transmitting device according to the signal parameter, and specifically, if the signal parameter of the target signal transmitting device does not exist in the signal parameter, determining the target signal The transmitting device is in a fault state.
作为一种可选的实施方式,该第一终端根据该信号参数确定该目标信号发射设备的状态,具体可以是若该信号参数中存在该目标信号发射设备的信号参数,则确定该目标信号发射设备为电量不足状态。As an optional implementation manner, the first terminal determines a state of the target signal transmitting device according to the signal parameter, and specifically, if the signal parameter of the target signal transmitting device exists in the signal parameter, determining the target signal transmission The device is in a low battery state.
可见,通过实施上述两种可选的实施方式,可以检测出该目标信号发射设备的具体状态,方便检测人员根据不同的状态作不同的处理。 It can be seen that by implementing the above two optional implementation manners, the specific state of the target signal transmitting device can be detected, which is convenient for the detecting personnel to perform different processing according to different states.
作为一种可选的实施方式,该第一终端根据该信号参数确定该目标信号发射设备的状态之后,还可以发送该目标信号发射设备的状态和位置信息至该第二终端,该目标信号发射设备的状态用于该第二终端输出该目标信号发射设备的状态,该目标信号发射设备的位置信息用于该第二终端在室内地图中标记出该目标信号发射设备的位置。As an optional implementation manner, after determining, by the first terminal, the state of the target signal transmitting device, the first terminal may further send status and location information of the target signal transmitting device to the second terminal, where the target signal is transmitted. The state of the device is used by the second terminal to output a state of the target signal transmitting device, and the location information of the target signal transmitting device is used by the second terminal to mark the location of the target signal transmitting device in the indoor map.
可见,通过实施上述可选的实施方式,可以通过将该目标信号发射设备的状态发送至第二终端,方便检测人员进行查看,同时在室内地图中标记出目标信号发射设备的位置,可以方便工作人员更好的对目标信号发射设备的位置进行定位,并前去更换或维修该目标信号发射设备。It can be seen that, by implementing the foregoing optional implementation manner, the status of the target signal transmitting device can be sent to the second terminal, so that the detecting personnel can conveniently view the device, and the location of the target signal transmitting device is marked in the indoor map, which can be conveniently operated. The person better locates the position of the target signal transmitting device and goes to replace or repair the target signal transmitting device.
作为一种可选的实施方式,该第一终端根据该信号参数确定该目标信号发射设备的状态之后,还可以输出该目标信号发射设备的状态,并在室内地图中标记出该目标信号发射设备的位置。As an optional implementation manner, after determining, by the first terminal, the state of the target signal transmitting device according to the signal parameter, the first terminal may further output a state of the target signal transmitting device, and mark the target signal transmitting device in the indoor map. s position.
可见,通过实施上述可选的实施方式,可以通过直接在该第一终端上输出该目标信号发射设备的状态和标记出该目标信号发射设备的位置,在发送给第二终端遇到障碍或者检测人员直接查看该第一终端时,方便检测人员在该第一终端上进行查看,并对目标信号发射设备的位置进行定位和前去更换或维修该目标信号发射设备。It can be seen that by implementing the foregoing optional implementation manner, the status of the target signal transmitting device and the position of the target signal transmitting device can be outputted directly on the first terminal, and the obstacle is detected or detected when being sent to the second terminal. When the person directly views the first terminal, it is convenient for the detecting personnel to view on the first terminal, and locate and replace the position of the target signal transmitting device or to replace or repair the target signal transmitting device.
第三方面,本发明实施例还提供了一种信号发射设备的状态检测方法,该方法中,第二终端接收至少一个信号发射设备的信号参数,并将该信号参数发送至第一终端,该信号参数用于该第一终端确定该第二终端的第一位置集合,该第一位置集合包括至少两个位置信息,然后接收该第一终端发送的目标信号发射设备的状态和位置信息,该目标信号发射设备为位置信息存在于该至少一个信号发射设备的预设位置顺序集合中,且不存在于该第一位置集合中的信号发射设备,最后输出目标信号发射设备的状态,并根据该目标信号发射设备的位置信息在室内地图中标记出该目标信号发射设备的位置。In a third aspect, the embodiment of the present invention further provides a state detecting method for a signal transmitting device, where the second terminal receives a signal parameter of at least one signal transmitting device, and sends the signal parameter to the first terminal, where The signal parameter is used by the first terminal to determine a first location set of the second terminal, where the first location set includes at least two location information, and then receives status and location information of the target signal transmitting device sent by the first terminal, where The target signal transmitting device stores the position information in the preset position sequence set of the at least one signal transmitting device, and does not exist in the signal transmitting device in the first position set, and finally outputs the state of the target signal transmitting device, and according to the The location information of the target signal transmitting device marks the location of the target signal transmitting device in the indoor map.
可见,通过实施上述第三方面的实施方式,可以通过第一终端和第二终端的交互找到目标信号发射设备,无需人工进行手动检测,就可智能的识别出可能存在问题的目标信号发射设备,并且同时可以判断出该目标信号发射设备存在的问题类型,简化了检测人员的操作。It can be seen that, by implementing the implementation manner of the foregoing third aspect, the target signal transmitting device can be found through the interaction between the first terminal and the second terminal, and the target signal transmitting device that may have a problem can be intelligently identified without manual manual detection. At the same time, the type of the problem existing in the target signal transmitting device can be judged, and the operation of the detecting personnel is simplified.
第四方面,提供了一种终端,该终端具有实现上述第一方面可能的实现方式中终端行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。该模块可以是软件和/或硬件。基于同一发明构思,由于该终端解决问题的原理以及有益效果可以参见上述第一方面和第一方面的各可能的方法实施方式以及所带来的有益效果,因此该终端的实施可以参见上述第一方面和第一方面的各可能的方法实施方式,重复之处不再赘述。In a fourth aspect, a terminal is provided, the terminal having a function of implementing terminal behavior in a possible implementation manner of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. This module can be software and/or hardware. Based on the same inventive concept, the principles and benefits of the terminal can be solved. For the implementation of the terminal and the beneficial effects of the first aspect and the first aspect, the implementation of the terminal can be referred to the first Aspects and possible method implementations of the first aspect are not repeated here.
第四方面,提供了一种终端,该终端包括:存储器,用于存储一个或多个程序;处理器,用于调用存储在该存储器中的程序以实现上述第一方面的方法设计中的方案,该终端解决问题的实施方式以及有益效果可以参见上述第一方面和第一方面的各可能的方法的实施方式以及有益效果,重复之处不再赘述。In a fourth aspect, a terminal is provided, the terminal comprising: a memory for storing one or more programs; and a processor for calling a program stored in the memory to implement the solution in the method design of the first aspect above For the implementation of the problem and the beneficial effects of the terminal, reference may be made to the implementation manners and the beneficial effects of the first aspect and the possible methods of the first aspect, and the repeated description is not repeated.
附图说明 DRAWINGS
图1是本发明实施例提供的一种用于信号发射设备的状态检测的网络架构示意图;1 is a schematic diagram of a network architecture for state detection of a signal transmitting device according to an embodiment of the present invention;
图2a是本发明实施例提供的一种用于信号发射设备的状态检测的情景示意图;2a is a schematic diagram of a scenario for status detection of a signal transmitting device according to an embodiment of the present invention;
图2b是本发明实施例提供的另一种用于信号发射设备的状态检测的情景示意图;2b is a schematic diagram of another scenario for state detection of a signal transmitting device according to an embodiment of the present invention;
图3是本发明实施例提供的另一种用于信号发射设备的状态检测的网络架构示意图;3 is a schematic diagram of another network architecture for detecting state of a signal transmitting device according to an embodiment of the present invention;
图4是本发明实施例提供的又一种用于信号发射设备的状态检测的情景示意图;FIG. 4 is a schematic diagram of another scenario for state detection of a signal transmitting device according to an embodiment of the present invention; FIG.
图5是本发明实施例提供的一种用于信号发射设备的状态检测方法的流程示意图;FIG. 5 is a schematic flowchart of a method for detecting a state of a signal transmitting device according to an embodiment of the present disclosure;
图6是本发明实施例提供的一种用于信号发射设备的状态检测方法的流程示意图;6 is a schematic flowchart of a method for detecting a state of a signal transmitting device according to an embodiment of the present invention;
图7是本发明实施例提供的一种终端的结构示意图;FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图8是本发明实施例提供的另一种终端的结构示意图。FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例进行说明。The embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
在现有的实际应用中,在安装信号发射设备时,或在后期信号发射设备运行过程中业务配置变更时,或信号发射设备需要维护时,都需要对信号发射设备的状态进行检测。目前,很多信号发射设备都需要检测人员去现场亲自检测信号发射设备的状态(如检测信号发射设备是否发生故障或信号发射设备的电量是否过低)。例如,蓝牙Beacon设备,只能检测人员去现场一个一个检测该信号发射设备的状态,但随着蓝牙Beacon设备的大规模商用,越来越多的大型场馆部署成百上千的蓝牙Beacon设备。如果一味的依靠人力去巡检,排查和维护蓝牙Beacon设备,人力成本和时间无疑会持续增加,可能会给蓝牙Beacon设备的后期维护增加难度。In the existing practical application, when the signal transmitting device is installed, or when the service configuration changes during the operation of the late signal transmitting device, or when the signal transmitting device needs maintenance, the state of the signal transmitting device needs to be detected. At present, many signal transmitting devices require the inspector to go to the site to personally detect the state of the signal transmitting device (such as detecting whether the signal transmitting device has failed or whether the signal transmitting device is too low). For example, a Bluetooth Beacon device can only detect people to go to the site to check the status of the signal transmitting device one by one, but with the large-scale commercial use of Bluetooth Beacon devices, more and more large venues deploy hundreds of Bluetooth Beacon devices. If you rely on manpower to patrol, check and maintain Bluetooth Beacon equipment, labor costs and time will undoubtedly continue to increase, which may increase the difficulty of post-maintenance of Bluetooth Beacon equipment.
为此,本发明实施例提供了一种信号发射设备的状态检测方法及终端,用以智能地识别信号发射设备的状态。为了更好理解本发明实施例提供的信号发射设备的状态检测方法及终端,下面先对本发明实施例的网络构架进行介绍。To this end, an embodiment of the present invention provides a method and a terminal for detecting a state of a signal transmitting device for intelligently identifying a state of a signal transmitting device. In order to better understand the state detecting method and terminal of the signal transmitting device provided by the embodiment of the present invention, the network architecture of the embodiment of the present invention is first introduced.
请参阅图1,是本发明提供的一种用于信号发射设备的状态检测的网络架构示意图。本发明实施例中,所述网络架构中包括终端101、两个或两个以上信号发射设备102。图1以该网络架构包括一个终端101和三个信号发射设备102为例。其中,该终端101可以为各种类型的智能终端,例如可以是智能手机、平板电脑、可穿戴设备、计算机、个人数字助理(英文:Personal Digital Assistant,缩写:PDA)、移动互联网设备(英文:Mobile Internet Device,缩写:MID)等可以接收信号的终端;该信号发射设备102可以是蓝牙Beacon设备,无线保真(WiFi)设备等可以发送信号的设备,其中,该信号发射设备102可以是两个单独的设备,也可以是两个以上的设备集群,在此不做限制。Please refer to FIG. 1 , which is a schematic diagram of a network architecture for state detection of a signal transmitting device provided by the present invention. In the embodiment of the present invention, the network architecture includes a terminal 101, two or more signal transmitting devices 102. FIG. 1 exemplifies a network architecture including a terminal 101 and three signal transmitting devices 102. The terminal 101 can be various types of smart terminals, such as a smart phone, a tablet computer, a wearable device, a computer, a personal digital assistant (English: Personal Digital Assistant, PDA), and a mobile Internet device (English: Mobile Internet Device, abbreviation: MID), etc., which can receive signals; the signal transmitting device 102 can be a Bluetooth Beacon device, a wireless fidelity (WiFi) device, or the like, which can transmit signals, wherein the signal transmitting device 102 can be two A single device, or more than two device clusters, is not limited here.
需要说明的是,为了便于理解和更好的进行描述,本发明实施例所示的图1中,该信号发射设备102具体限定为蓝牙Beacon设备102,但并不表示该信号发射设备102不可以是其他类型的信号发射设备;该终端102具体限定为手机102,但并不表示该终端102不可以是其他类型的终端,本发明对此不作任何限制。It should be noted that, in order to facilitate understanding and better description, in FIG. 1 shown in the embodiment of the present invention, the signal transmitting device 102 is specifically limited to the Bluetooth Beacon device 102, but does not mean that the signal transmitting device 102 cannot The terminal 102 is specifically defined as the mobile phone 102, but the terminal 102 is not limited to other types of terminals. The present invention does not limit this.
在图1所示的用于信号发射设备的状态检测的网络架构示意图中,用户利用手机101首先下载待检测的蓝牙Beacon设备102所在的室内地图(该室内地图里包括至少两个蓝牙Beacon设备102在该室内地图上的预存蓝牙Beacon设备的预设位置集合),然后用户可以手 持手机101在该室内地图所对应的室内进行移动,在移动过程中,该手机101接收到室内的至少两个蓝牙Beacon设备102的信号参数,然后该手机101可以比较用户处于当前位置时该至少两个蓝牙Beacon设备102的信号参数中的信号强度,选取信号强度最强的蓝牙Beacon设备102的位置来表示用户当前的位置,用户可以继续在室内进行移动,该手机101可以重复上述比较的过程,并将所有搜集到的手机当前的位置作为一个第一位置集合来进行保存。In the network architecture diagram for the state detection of the signal transmitting device shown in FIG. 1, the user first downloads the indoor map of the Bluetooth Beacon device 102 to be detected by using the mobile phone 101 (the indoor map includes at least two Bluetooth Beacon devices 102). Pre-stored preset set of Bluetooth Beacon devices on the indoor map), then the user can The mobile phone 101 moves in a room corresponding to the indoor map. During the mobile process, the mobile phone 101 receives signal parameters of at least two Bluetooth Beacon devices 102 in the room, and then the mobile phone 101 can compare the user when the user is in the current position. The signal strength of the signal parameters of the two Bluetooth Beacon devices 102 selects the location of the Bluetooth Beacon device 102 with the strongest signal strength to indicate the current location of the user, and the user can continue to move indoors. The mobile phone 101 can repeat the above comparison process. And save the current location of all collected mobile phones as a first set of locations.
需要说明的是,由于无线信号强度与距离成反比,如果用户靠近一个蓝牙Beacon设备102,那么接收到蓝牙Beacon设备102的信号强度会增大,如果在一定的空间范围内部署了多个蓝牙Beacon设备102时,每个蓝牙Beacon设备102覆盖一定的区域范围,手机101就可以利用这个特性定位手机位置。用户当前时刻接收到哪个蓝牙Beacon设备102的信号强度最大,那么用户就在哪个蓝牙Beacon设备102附近。如果手机101预先存储蓝牙Beacon设备102的部署位置,那么用户位置也就可以用蓝牙Beacon设备102的位置来表示,用户位置越靠近哪个蓝牙Beacon设备102,那么用户位置可以用接收到信号强度最大的蓝牙Beacon设备102的位置来表示。It should be noted that, since the wireless signal strength is inversely proportional to the distance, if the user is close to a Bluetooth Beacon device 102, the signal strength of the Bluetooth Beacon device 102 is increased, if multiple Bluetooth Beacons are deployed within a certain space range. In the case of the device 102, each Bluetooth Beacon device 102 covers a certain area range, and the mobile phone 101 can use this feature to locate the mobile phone. The Bluetooth Beacon device 102 currently receives the maximum signal strength of the user, and then the Bluetooth Beacon device 102 is located near the user. If the mobile phone 101 pre-stores the deployment location of the Bluetooth Beacon device 102, the user location can also be represented by the location of the Bluetooth Beacon device 102. The closer the user location is to which Bluetooth Beacon device 102, the user location can receive the maximum received signal strength. The location of the Bluetooth Beacon device 102 is indicated.
进一步的,该手机101将预存蓝牙Beacon设备102的预设位置集合与该第一位置集合比较,如果比较的结果中,该第一位置集合中缺少某个存在于该预设的蓝牙Beacon设备的预设位置集合中的蓝牙Beacon位置,那么该缺少的蓝牙Beacon设备102可能为存在问题的蓝牙Beacon设备。Further, the mobile phone 101 compares the preset location set of the pre-stored Bluetooth Beacon device 102 with the first location set. If the comparison result is in the first location set, a certain Bluetooth beacon device existing in the preset is absent. The Bluetooth Beacon location in the preset location set, then the missing Bluetooth Beacon device 102 may be a problematic Bluetooth Beacon device.
又进一步的,该手机101查找是否在确定第一位置集合的过程中接收到该缺少的蓝牙Beacon设备102的信号参数。如果该手机101没有接收到该缺少的蓝牙Beacon设备102的信号参数,那么该手机101可以确定该缺少的蓝牙Beacon设备的当前状态是不广播信号,即信号发射故障状态;如果该手机101接收到该缺少的蓝牙Beacon设备102的信号参数,但该缺少的蓝牙Beacon设备102的信号参数又不是用户处于该缺少的蓝牙Beacon设备102的位置时接收到的信号强度最大的设备,因此该手机101可以判断该缺少的蓝牙Beacon设备的当前状态是电量不足状态或者电压不稳状态。Still further, the handset 101 looks to see if the signal parameters of the missing Bluetooth Beacon device 102 were received during the determination of the first set of locations. If the mobile phone 101 does not receive the signal parameter of the missing Bluetooth Beacon device 102, the mobile phone 101 may determine that the current state of the missing Bluetooth Beacon device is a non-broadcast signal, that is, a signal transmission failure state; if the mobile phone 101 receives The signal parameter of the missing Bluetooth Beacon device 102, but the signal parameter of the missing Bluetooth Beacon device 102 is not the device with the highest signal strength when the user is in the position of the missing Bluetooth Beacon device 102, so the mobile phone 101 can The current state of the missing Bluetooth Beacon device is determined to be a low battery state or a voltage unstable state.
需要说明的是,蓝牙Beacon设备处于正常工作状态时,第一位置集合可以与预设的蓝牙Beacon设备的位置信息相吻合。如图2a所示,室内部署了3个蓝牙Beacon设备,分别为1号设备,2号设备和3号设备,上述3个蓝牙Beacon设备的位置信息由手机201预先保存在该手机201上,该手机201通过接收到的上述3个蓝牙Beacon设备信号强度来确定用户位置。It should be noted that when the Bluetooth Beacon device is in a normal working state, the first location set may match the location information of the preset Bluetooth Beacon device. As shown in FIG. 2a, three Bluetooth Beacon devices are deployed in the room, namely, No. 1 device, No. 2 device, and No. 3 device. The location information of the three Bluetooth Beacon devices is pre-stored on the mobile phone 201 by the mobile phone 201. The mobile phone 201 determines the user location by receiving the signal strengths of the above three Bluetooth Beacon devices.
手机201在203中,t1时刻接收到的1号设备的信号强度为-65dbm,2号设备的信号强度为-90dbm,3号设备的信号强度为-75dbm,该手机201可以判断出t1时刻该手机201接收到信号强度最大的蓝牙Beacon设备为1号设备,就可以进一步判断出该手机201此刻所处的位置为1号设备所在的位置;手机101继续移动,在204中,t2时刻接收到的1号设备的信号强度为-75dbm,2号设备的信号强度为-60dbm,3号设备的信号强度为-65dbm,该手机201可以判断出t2时刻该手机201接收到信号强度最大的蓝牙Beacon设备为2号设备,就可以进一步判断出该手机201此刻所处的位置为2号设备所在的位置;手机201在204中,t3时刻接收到的1号设备的信号强度为-85dbm,2号设备的信号强度为-90dbm,3号设备的信号强度为-55dbm,该手机201可以判断出t2时刻该手机201接收到信号强度最大的蓝牙Beacon设备为3号设备,就可以进一步判断出该手机101此刻所处的位置为3号设备所在的位置。 In the mobile phone 201, in 203, the signal strength of the No. 1 device received at time t1 is -65 dbm, the signal strength of the No. 2 device is -90 dbm, and the signal strength of the No. 3 device is -75 dbm, and the mobile phone 201 can determine the time t1. When the mobile phone 201 receives the Bluetooth Beacon device with the highest signal strength as the No. 1 device, it can further determine that the location where the mobile phone 201 is located at the moment is the location where the No. 1 device is located; the mobile phone 101 continues to move, and receives the information at 204 and t2. The signal strength of the No. 1 device is -75dbm, the signal strength of the No. 2 device is -60dbm, and the signal strength of the No. 3 device is -65dbm. The mobile phone 201 can determine that the mobile phone 201 receives the Bluetooth Beacon with the highest signal strength at time t2. If the device is the No. 2 device, it can be further determined that the location of the mobile phone 201 at the moment is the location of the No. 2 device; the mobile phone 201 at 204, the signal strength of the No. 1 device received at time t3 is -85dbm, No. 2 The signal strength of the device is -90dbm, and the signal strength of the device No.3 is -55dbm. The mobile phone 201 can judge that the Bluetooth Beacon device with the highest signal strength received by the mobile phone 201 at time t2 is the No. 3 device, and then the device can enter Step 101 determines the position of the phone number for the location at the moment in which the device 3 is located.
因此,该手机201得到的第一位置集合可以为1,2,3,与预设的蓝牙Beacon设备的位置信息相吻合,该手机201就可以判断出上述3个蓝牙Beacon设备处于正常工作状态。Therefore, the first location set obtained by the mobile phone 201 can be 1, 2, and 3, which is consistent with the location information of the preset Bluetooth Beacon device, and the mobile phone 201 can determine that the three Bluetooth Beacon devices are in a normal working state.
还需要说明的是,当其中某个蓝牙Beacon设备处于可能存在问题的状态时,第一位置集合可能与预设的蓝牙Beacon设备的位置信息不相吻合。如图2b所示,室内部署了3个蓝牙Beacon设备,分别为1号设备,2号设备和3号设备。It should also be noted that when one of the Bluetooth Beacon devices is in a state where there may be a problem, the first location set may not match the location information of the preset Bluetooth Beacon device. As shown in Figure 2b, three Bluetooth Beacon devices are deployed indoors, namely, No. 1 device, No. 2 device, and No. 3 device.
手机301在302中,t1时刻接收到的1号设备的信号强度为-65dbm,2号设备的信号强度为-90dbm,3号设备的信号强度为-75dbm,该手机301可以判断出t1时刻该手机301接收到信号强度最大的蓝牙Beacon设备为1号设备,就可以进一步判断出t1时刻该手机301的位置为1号设备所在的位置;手机101继续移动,在303中,t2时刻接收到的1号设备的信号强度为-75dbm,2号设备的信号强度为-90dbm,3号设备的信号强度为-65dbm,该手机301可以判断出t2时刻该手机301接收到信号强度最大的蓝牙Beacon设备为3号设备,就可以进一步判断出该手机101此刻所处的位置为3号设备所在的位置;手机101在304中,t3时刻接收到的1号设备的信号强度为-85dbm,2号设备的信号强度为-90dbm,3号设备的信号强度为-55dbm,该手机101可以判断出t2时刻该手机101接收到信号强度最大的蓝牙Beacon设备也为3号设备,就可以进一步判断出该手机301此刻所处的位置为3号设备所在的位置。In the mobile phone 301, in 302, the signal strength of the No. 1 device received at time t1 is -65 dbm, the signal strength of the No. 2 device is -90 dbm, and the signal strength of the No. 3 device is -75 dbm, and the mobile phone 301 can determine the time t1. When the mobile phone 301 receives the Bluetooth Beacon device with the highest signal strength as the No. 1 device, it can further determine that the location of the mobile phone 301 is the location where the No. 1 device is located at time t1; the mobile phone 101 continues to move, and receives the received message at time t2 in 303. The signal strength of the No. 1 device is -75dbm, the signal strength of the No. 2 device is -90dbm, and the signal strength of the No. 3 device is -65dbm. The mobile phone 301 can determine that the mobile phone 301 receives the Bluetooth Beacon device with the highest signal strength at time t2. For the No. 3 device, it can be further judged that the location of the mobile phone 101 at the moment is the location of the No. 3 device; the mobile phone 101 is in the 304, and the signal strength of the No. 1 device received at time t3 is -85dbm, the No. 2 device The signal strength is -90dbm, and the signal strength of the No. 3 device is -55dbm. The mobile phone 101 can determine that the Bluetooth Beacon device that receives the highest signal strength at the time t2 is also the No. 3 device, and can enter one. Steps determine that the location of the mobile phone 301 at the moment is the location of the device No. 3.
因此,该手机301得到的第一位置集合为1,3,3,由于预设的蓝牙Beacon设备的位置信息中,1号设备位置,2号设备位置与3号设备位置具有连续性,用户在接收信号参数时,不可能跳过2号设备,如果各个蓝牙Beacon设备正常工作,那么用户的定位位置应该是1,2,3,但现在用户的定位位置为1,3,3,通过比较Beacon位置坐标和终端定位位置就可以确定出该2号设备可能存在问题。Therefore, the first location set obtained by the mobile phone 301 is 1, 3, and 3, because the location information of the preset Bluetooth Beacon device, the device location of the device No. 1 and the device location of the device No. 2 have continuity, the user is in the When receiving signal parameters, it is impossible to skip device No. 2. If each Bluetooth Beacon device works normally, the user's positioning position should be 1, 2, 3, but now the user's positioning position is 1, 3, 3, by comparing Beacon. The position coordinates and the terminal positioning position can determine that there may be a problem with the No. 2 device.
在图2b所示中,由于在303中,t2时刻接收到该2号设备的信号强度,因此该手机301还可以判断出该2号设备的当前状态是电量不足状态或者电压不稳状态。然后该手机301还可以结合室内地图标记出该2号设备所处的位置,检测人员就可以很清楚的得知存在问题的蓝牙Beacon设备所处的位置并直接可以更换,不用依赖人力再对蓝牙Beacon设备逐一巡检才能发现具体是哪个蓝牙Beacon设备损坏,节省了检测人员的时间和人力。In FIG. 2b, since the signal strength of the device No. 2 is received at time t2 in 303, the mobile phone 301 can also determine that the current state of the device No. 2 is a low battery state or a voltage unstable state. Then, the mobile phone 301 can also mark the location of the No. 2 device in combination with the indoor map, and the detecting personnel can clearly know the location of the problematic Bluetooth Beacon device and can directly replace it, without relying on human resources and then Bluetooth. The Beacon equipment can be inspected one by one to find out which Bluetooth Beacon equipment is damaged, which saves the time and manpower of the inspectors.
请参阅图3,是本发明提供的另一种用于信号发射设备的状态检测的网络架构示意图。本发明实施例中,该网络架构中包括终端0301、服务器0302、两个或两个以上信号发射设备0303。其中,该终端0301可以为各种类型的智能终端,例如可以是智能手机、平板电脑、可穿戴设备、计算机、个人数字助理(英文:Personal Digital Assistant,缩写:PDA)、移动互联网设备(英文:Mobile Internet Device,缩写:MID)等可以接收信号的终端;该服务器0302可以是数据库服务器或定位服务器等,也可以是具有服务器功能的智能手机、平板电脑、可穿戴设备等终端,该服务器0302可用于存储信号发射设备0303的预设位置和室内地图并进行分析,其中,该服务器0302可以是单独的服务器,也可以是服务器集群,在此不做限制;该信号发射设备0303可以是蓝牙Beacon设备,WiFi设备等可以发送信号的设备,其中,该信号发射设备0303可以是两个单独的设备,也可以是两个以上的设备集群,在此不做限制。Please refer to FIG. 3 , which is a schematic diagram of another network architecture for detecting state of a signal transmitting device provided by the present invention. In the embodiment of the present invention, the network architecture includes a terminal 0301, a server 0302, and two or more signal transmitting devices 0303. The terminal 0301 can be various types of smart terminals, such as a smart phone, a tablet computer, a wearable device, a computer, a personal digital assistant (English: Personal Digital Assistant, PDA), and a mobile Internet device (English: A terminal that can receive a signal, such as a mobile Internet device (MID); the server 0302 can be a database server or a positioning server, or a terminal such as a smartphone, a tablet, or a wearable device having a server function, and the server 0302 can be used. And storing the preset position and the indoor map of the signal transmitting device 0303, wherein the server 0302 may be a separate server or a server cluster, which is not limited herein; the signal transmitting device 0303 may be a Bluetooth Beacon device. A device that can send a signal, such as a WiFi device, where the signal transmitting device 0303 can be two separate devices, or can be a cluster of two or more devices, and is not limited herein.
需要说明的是,为了便于理解和更好的进行描述,本发明实施例所示的图3中,该信 号发射设备0303在以下叙述时具体限定为蓝牙Beacon设备0303,但并不表示该信号发射设备0303不可以是其他类型的信号发射设备;该终端0301在以下叙述时具体限定为手机0301,但并不表示该终端0301不可以是其他类型的终端,本发明对此不作任何限制。It should be noted that, in order to facilitate understanding and better description, in the embodiment shown in the embodiment of the present invention, the letter The number transmitting device 0303 is specifically limited to the Bluetooth Beacon device 0303 in the following description, but does not mean that the signal transmitting device 0303 cannot be other types of signal transmitting devices; the terminal 0301 is specifically limited to the mobile phone 0301 in the following description, but It is not indicated that the terminal 0301 cannot be other types of terminals, and the present invention does not impose any limitation.
在图3所示的用于信号发射设备的状态检测的网络架构示意图中,手机0301通过接收至少两个蓝牙Beacon设备0303的信号参数,然后将该信号参数通过无线网络(例如WiFi,蓝牙,移动互联网等)上传到该服务器0302,由该服务器0302对该信号参数进行分析,并将分析的结果(包括有问题的蓝牙Beacon设备的位置以及状态)反馈给该手机0301,以便于检测人员可以根据反馈前去处理有问题的蓝牙Beacon设备。In the network architecture diagram for status detection of the signal transmitting device shown in FIG. 3, the mobile phone 0301 receives the signal parameters of at least two Bluetooth Beacon devices 0303, and then moves the signal parameters through a wireless network (eg, WiFi, Bluetooth, mobile). Uploaded to the server 0302, the server 0302 analyzes the signal parameters, and feeds back the result of the analysis (including the location and status of the problematic Bluetooth Beacon device) to the mobile phone 0301, so that the tester can Feedback to deal with the problematic Bluetooth Beacon device.
具体的,请参阅图4,服务器可以通过无线网络与手机进行互连,并且,该服务器在步骤401中,可以预先存储建筑的室内地图和该室内地图内部署的蓝牙Beacon设备的位置数据库,在步骤402中,该手机从该服务器上下载对应的室内地图并保存该手机内,并在该室内地图对应的建筑物内或室内进行移动,在步骤403中,至少两个蓝牙Beacon设备向该手机发送信号参数,在步骤404中,该手机接收该至少两个蓝牙Beacon设备的信号参数并将该信号参数通过无线网络发送给服务器。Specifically, referring to FIG. 4, the server may be interconnected with the mobile phone through the wireless network, and in step 401, the server may pre-store the indoor map of the building and the location database of the Bluetooth Beacon device deployed in the indoor map. In step 402, the mobile phone downloads the corresponding indoor map from the server and saves the mobile phone, and moves in the building corresponding to the indoor map or indoors. In step 403, at least two Bluetooth Beacon devices are moved to the mobile phone. Sending a signal parameter, in step 404, the mobile phone receives signal parameters of the at least two Bluetooth Beacon devices and sends the signal parameters to the server through the wireless network.
在步骤405中,该服务器保存用户上报的信号参数,在步骤406中,该服务器比较接收到的信号参数,根据最大信号强度定位算法选取接收该信号参数的时刻所接收到信号强度最大的蓝牙Beacon设备所在的位置来表示手机位置,并将各个时刻的手机位置坐标作为一个第一位置集合进行保存。In step 405, the server saves the signal parameters reported by the user. In step 406, the server compares the received signal parameters, and selects the Bluetooth Beacon that receives the signal strength at the time of receiving the signal parameter according to the maximum signal strength localization algorithm. The location of the device indicates the location of the mobile phone, and the coordinates of the mobile phone location at each moment are saved as a first set of locations.
在步骤407中,如果该服务器发现在该第一位置集合中缺少某个存在于该预设的蓝牙Beacon设备的预设位置集合中的蓝牙Beacon位置,那么该缺少的蓝牙Beacon设备可能为存在问题的蓝牙Beacon设备。进一步的,该服务器还可以查找是否在确定第一位置集合的过程中接收到该存在问题的蓝牙Beacon设备的信号参数。如果该服务器没有接收到该存在问题的的蓝牙Beacon设备的信号参数,那么该服务器还可以确定该存在问题的蓝牙Beacon设备的当前状态是不广播信号,即信号发射故障状态;如果该服务器接收到该存在问题的蓝牙Beacon设备的信号参数,该服务器可以判断该存在问题的蓝牙Beacon设备的当前状态是电量不足状态或者电压不稳状态。In step 407, if the server finds that there is a Bluetooth Beacon location in the preset location set of the preset Bluetooth Beacon device in the first location set, the missing Bluetooth Beacon device may be in question. Bluetooth Beacon device. Further, the server may further find whether the signal parameter of the Bluetooth Beacon device that has the problem is received in the process of determining the first location set. If the server does not receive the signal parameter of the problematic Bluetooth Beacon device, the server may also determine that the current state of the problematic Bluetooth Beacon device is a non-broadcast signal, that is, a signal transmission failure state; if the server receives The signal parameter of the problematic Bluetooth Beacon device, the server can determine that the current state of the problematic Bluetooth Beacon device is a low battery state or a voltage unstable state.
在步骤408中,该服务器还可以向该手机返回存在问题的蓝牙Beacon设备在室内地图上的位置信息,并输出该存在问题的蓝牙Beacon设备的具体状态,以便于检测人员进行查看和前去维修。或者,该服务器还可以直接在该服务器上显示该存在问题的蓝牙Beacon设备在室内地图上的位置信息和具体状态,当维修人员前去查看该服务器时,便可直接知晓该存在问题的蓝牙Beacon设备在室内地图上的位置信息和具体状态。In step 408, the server may also return the location information of the problematic Bluetooth Beacon device on the indoor map to the mobile phone, and output the specific status of the problematic Bluetooth Beacon device, so that the inspection personnel can view and go to the maintenance. . Alternatively, the server may directly display the location information and the specific status of the problematic Bluetooth Beacon device on the indoor map on the server. When the maintenance personnel go to view the server, the Bluetooth Beacon may be directly known. The location information and specific status of the device on the indoor map.
请参阅图5,是本发明实施例在图1所示的网络架构图的基础上提供的一种信号发射设备的状态检测方法的流程示意图。如图5所示的信号发射设备的检测方法,包括以下几个步骤:FIG. 5 is a schematic flowchart of a method for detecting a state of a signal transmitting device provided on the basis of the network architecture diagram shown in FIG. 1 according to an embodiment of the present invention. The detection method of the signal transmitting device shown in FIG. 5 includes the following steps:
S501、终端接收至少两个信号发射设备的信号参数。S501. The terminal receives signal parameters of at least two signal transmitting devices.
可选的,在接收该至少两个信号发射设备的信号参数之前,该终端可以预先从服务器或者云端等下载该至少两个信号发射设备所在的室内对应的的室内地图,该室内地图上可 以标记有该至少两个信号发射设备的预设位置信息。Optionally, before receiving the signal parameters of the at least two signal transmitting devices, the terminal may download an indoor map corresponding to the indoor location of the at least two signal transmitting devices from a server or a cloud or the like in advance, where the indoor map is The preset position information of the at least two signal transmitting devices is marked.
信号发射设备可以向处于信号范围内的终端广播自身的信号参数,该信号参数由于范围和距离等的限制,各个信号发射设备的信号参数存在一定的差异,该终端可以通过接收该至少两个信号发射设备的信号参数来对信号发射设备的状态进行检测。The signal transmitting device can broadcast its own signal parameter to the terminal in the signal range. The signal parameter has a certain difference in signal parameters of each signal transmitting device due to limitation of range and distance, and the terminal can receive the at least two signals by receiving the signal. The signal parameters of the transmitting device are used to detect the state of the signal transmitting device.
可选的,该终端接收该至少两个信号发射设备的信号参数,可以是针对一个周期来进行接收的。在本次接收的周期内,如果存在3个或3个以上的信号发射设备在广播自身的信号参数,对于处于周期边缘的信号发射设备,该终端可能不能准确判断出该处于周期边缘的信号发射设备的状态,该终端可以结合下一个周期对该处于周期边缘的信号发射设备进行检测。Optionally, the terminal receives signal parameters of the at least two signal transmitting devices, which may be received for one cycle. During the period of this reception, if there are 3 or more signal transmitting devices broadcasting their own signal parameters, for a signal transmitting device at the edge of the period, the terminal may not accurately determine the signal transmission at the edge of the period. The state of the device, the terminal can detect the signal transmitting device at the edge of the cycle in combination with the next cycle.
可选的,该至少两个信号发射设备的信号参数可以包括信号强度,该信号发射设备的标识以及该信号发射设备的位置信息等,在此不作限制。Optionally, the signal parameters of the at least two signal transmitting devices may include a signal strength, an identifier of the signal transmitting device, and location information of the signal transmitting device, and the like, which is not limited herein.
S502、终端根据信号参数确定第一位置集合。S502. The terminal determines a first location set according to the signal parameter.
其中,该第一位置集合包括至少两个位置信息。The first set of locations includes at least two location information.
可选的,信号参数包括信号强度,终端根据信号参数确定第一位置集合的具体实施方式可以为:终端从接收的至少两个信号发射设备的信号参数中选取目标信号参数,该目标信号参数为该至少两个信号发射设备的信号参数中信号强度最大的信号参数;终端将目标信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。也就是说,终端可以选取至少两个信号发射设备中信号强度最大的信号发射设备的位置信息来表示该终端的位置信息。也就是说,第一位置集合中的至少两个位置信息实际上可以是该信号强度最大的信号发射设备的位置信息。Optionally, the signal parameter includes a signal strength, and the specific implementation manner of the terminal determining the first location set according to the signal parameter may be: the terminal selects a target signal parameter from the received signal parameters of the at least two signal transmitting devices, where the target signal parameter is a signal parameter having the highest signal strength among the signal parameters of the at least two signal transmitting devices; the terminal determining the position information of the signal transmitting device corresponding to the target signal parameter as the position information in the first set of positions. That is to say, the terminal can select the location information of the signal transmitting device with the highest signal strength among the at least two signal transmitting devices to represent the location information of the terminal. That is to say, at least two pieces of position information in the first set of positions may actually be position information of the signal transmitting device having the highest signal strength.
例如,如果在本次周期内,存在3个信号发射设备,该3个信号发射设备分别为1号设备,2号设备,3号设备,那么该第一位置集合可能会是1号设备位置,3号设备位置,或者,该第一位置集合中也有可能是1号设备位置,2号设备位置,或者,该第一位置集合中还有可能是1号设备位置,2号设备位置,3号设备位置等情况,当然,还有可能是包含其中两个设备位置的其他情况,在此不在赘述。For example, if there are 3 signal transmitting devices in the current period, the 3 signal transmitting devices are respectively the No. 1 device, the No. 2 device, and the No. 3 device, then the first location set may be the No. 1 device location. The location of the device No. 3, or the location of the first location may also be the location of the device No. 1, the location of the device No. 2, or the location of the first location may be the location of the device No. 1, the location of the device No. 2, the number 3 The location of the device, etc., of course, may be other situations that include the location of two of the devices, and are not described here.
还需要说明的是,如果在本次周期内,该终端只确定出一个位置信息,那么,在紧接着进行S503步骤时,该终端可能无法结合信号发射设备的预设位置集合来对该位置信息进行进一步分析,因此,当该终端在本次周期内只确定出一个位置信息时,该位置信息可以被视为无效的位置信息,但如果该终端在结合下一个周期来对本次的一个位置信息进行分析时,本次的一个位置信息可以被视为有效的位置信息。It should be noted that, if the terminal only determines one location information in the current period, then immediately following the step S503, the terminal may not be able to combine the preset location set of the signal transmitting device to the location information. Performing further analysis, therefore, when the terminal only determines one location information in the current period, the location information can be regarded as invalid location information, but if the terminal is combined with the next cycle to a location of the current time When the information is analyzed, one location information of this time can be regarded as valid location information.
S503、终端根据预设位置集合和第一位置集合确定目标信号发射设备。S503. The terminal determines the target signal transmitting device according to the preset location set and the first location set.
需要说明的是,该预设位置结合可以为该至少两个设备在室内地图上的位置信息的集合。It should be noted that the preset location may be a set of location information of the at least two devices on the indoor map.
其中,该目标信号发射设备为位置信息存在于该预设位置集合中,且不存在于该第一位置集合中的信号发射设备。The target signal transmitting device is a signal transmitting device in which the location information exists in the preset location set and does not exist in the first location set.
举例来说,该第一位置集合中如果存在1号设备位置,3号设备位置,由于终端在接收该信号发射设备广播的信号参数时具有连贯性,该终端便可以根据预存的信号发射设备的位置信息确定预设位置集合为1号设备位置,2号设备位置和3号设备位置,由于该2 号设备不存在于第一位置集合中,但存在于该预设位置集合中,则说明2号为目标信号发射设备。For example, if there is a device position No. 1 and a device position No. 3 in the first set of locations, the terminal can transmit the device according to the pre-stored signal according to the coherence of the terminal when receiving the signal parameter broadcast by the signal transmitting device. The location information determines that the preset location set is the No. 1 device location, the No. 2 device location, and the No. 3 device location, due to the 2 The number device does not exist in the first location set, but exists in the preset location set, indicating that the number 2 is the target signal transmitting device.
又举例来说,该第一位置集合中如果存在1号设备位置,2号设备位置,由于终端根据该信号发射设备广播的信号参数时的连贯性可能确定出预设位置集合为1号设备位置,2号设备位置和3号设备位置,也有可能是该预设位置集合为1号设备位置,2号设备位置,因此该终端在本次周期内,可能无法准确判断出该目标发射设备,该终端可以结合下一个周期来确定该目标信号发射设备。For example, if there is a device position No. 1 and a device position No. 2 in the first location set, it may be determined that the preset location set is the device location No. 1 due to the consistency of the terminal according to the signal parameters broadcast by the signal transmitting device. The location of the device No. 2 and the location of the device No. 3 may also be that the preset location is set to the device location No. 1 and the device location of the second device. Therefore, the terminal may not accurately determine the target transmitting device during the current period. The terminal can determine the target signal transmitting device in conjunction with the next cycle.
具体实现中,如果在本次周期紧接着的下一个周期内,该终端确定出的第一位置集合中为4号设备位置,5号设备位置,那么该终端结合这两个周期,便可以确定出该3号设备位置为该目标信号发射设备。In a specific implementation, if in the next cycle immediately after the current cycle, the terminal determines the device location 4 and the device device 5 in the first location set, then the terminal combines the two cycles to determine The location of the device No. 3 is the target signal transmitting device.
综上所述,该终端在根据该预设位置集合和该第一位置集合确定目标信号发射设备时,如果在本次周期内进行确定,那么该终端可以结合该第一位置集合确定出预设位置集合中除端点位置以外的位置所对应的信号发射设备是否是该目标发射设备。如果该终端想要进一步确定该预设位置集合中的端点位置对应的信号发射设备是否是该目标发射设备,则可以结合下一个周期进行进一步判断。In summary, when the terminal determines the target signal transmitting device according to the preset location set and the first location set, if the determining is performed in the current period, the terminal may determine the preset in combination with the first location set. Whether the signal transmitting device corresponding to the position other than the end position in the location set is the target transmitting device. If the terminal wants to further determine whether the signal transmitting device corresponding to the endpoint position in the preset location set is the target transmitting device, further determination may be made in conjunction with the next cycle.
需要说明的是,该终端可以不需要利用自身的定位模块来对该终端进行准确定位。由于信号发射设备大多数情况下部署在室内,终端在某些室内(例如地下停车场等),定位的结果可能会存在较大误差,而根据该预设位置集合和该第一位置集合确定目标信号发射设备的方式可以避免利用定位存在较大误差的问题。It should be noted that the terminal may not need to use its own positioning module to accurately locate the terminal. Since the signal transmitting device is deployed indoors in most cases, and the terminal is in some rooms (such as an underground parking lot, etc.), the result of the positioning may have a large error, and the target is determined according to the preset position set and the first position set. The way the signal transmitting device can avoid the problem of large errors in positioning.
在一些可行的实施方式中,当信号发射设备位于定位信号较好的室内(例如商场内等)时,该终端也可以利用自身的定位模块来确定出预设位置。具体的,该终端可以利用全球定位系统(Global Positioning System,GPS)方式,基站定位方式或者WiFi定位方式中的一个或者结合多种定位方式来确定出该终端自身所在的当前位置,然后按照室内地图上该至少两个信号发射设备的位置与该当前位置的位置关系,确定离该终端最近的信号发射设备所在的位置为该终端的预设位置。该终端可以在移动过程中确定出多个预设位置,并把该多个预设位置作为该终端的预设位置集合。In some feasible implementation manners, when the signal transmitting device is located in a room with a better positioning signal (for example, in a shopping mall, etc.), the terminal may also use its own positioning module to determine the preset position. Specifically, the terminal may use one of a Global Positioning System (GPS) mode, a base station positioning mode, or a WiFi positioning mode, or combine multiple positioning methods to determine the current location of the terminal itself, and then follow the indoor map. And determining a positional relationship between a position of the at least two signal transmitting devices and the current position, and determining a location of the signal transmitting device closest to the terminal as a preset position of the terminal. The terminal may determine a plurality of preset positions during the movement, and use the plurality of preset positions as the preset position set of the terminal.
同时,该终端可以接收该至少两个信号发射设备的信号参数,然后比较该终端处于当前的预设位置时该至少两个信号发射设备的信号参数中的信号强度,选取信号强度最强的信号发射设备的位置为第一位置,如果确定出的该第一位置和该预设位置不同,则该终端可以确定该预设位置所对应的信号发射设备为目标信号发射设备。At the same time, the terminal can receive the signal parameters of the at least two signal transmitting devices, and then compare the signal strengths of the signal parameters of the at least two signal transmitting devices when the terminal is in the current preset position, and select the signal with the strongest signal strength. The location of the transmitting device is the first location. If the determined first location is different from the preset location, the terminal may determine that the signal transmitting device corresponding to the preset location is the target signal transmitting device.
举例来说,该终端可以通过GPS定位得到该终端的当前位置与1号设备的位置最近,便可以用该1号设备的位置来表示该终端的当前位置,那么理论上来说,该终端在此处接收到的信号参数中,该1号设备的信号强度应该为最强。然后,该终端比较在此处接收到的信号发射设备的信号强度,如果确定出信号强度最强的信号发射设备为2号设备,那么就意味着理论情况和实际情况不相符合,该1号设备可能存在问题,该终端就可以确定该1号设备为目标信号发射设备。For example, the terminal can obtain the current location of the terminal and the location of the No. 1 device by GPS positioning, and the location of the No. 1 device can be used to indicate the current location of the terminal. In theory, the terminal is here. Among the signal parameters received, the signal strength of the No. 1 device should be the strongest. Then, the terminal compares the signal strength of the signal transmitting device received here, and if it is determined that the signal transmitting device with the strongest signal strength is the No. 2 device, it means that the theoretical situation and the actual situation do not match, the No. 1 The device may have a problem, and the terminal can determine that the device No. 1 is the target signal transmitting device.
需要说明的是,该终端利用自身的定位模块来确定出预设位置,并进一步确定出该目标信号发射设备,可以对预设位置集合中的任一预设位置所对应的信号发射设备均可以做 出判断,以确定该任一预设位置所对应的信号发射设备是否是该目标发射设备。It should be noted that the terminal uses its own positioning module to determine the preset position, and further determines the target signal transmitting device, and may perform signal transmitting devices corresponding to any preset position in the preset position set. Do A determination is made to determine whether the signal transmitting device corresponding to any of the preset positions is the target transmitting device.
S504、终端根据信号参数确定目标信号发射设备的状态。S504. The terminal determines a state of the target signal transmitting device according to the signal parameter.
需要说明的是,当该终端确定出该目标信号发射设备之后,可以通过轮询所有接收到的信号参数的数据缓存,对该目标信号发射设备的状态进行判断。It should be noted that, after the terminal determines the target signal transmitting device, the state of the target signal transmitting device may be determined by polling the data buffer of all received signal parameters.
其中,该目标信号发射设备的状态可以是故障状态,也可以是电量不足状态,或者是其他状态,在此不作限制。The state of the target signal transmitting device may be a fault state, a power shortage state, or other states, which is not limited herein.
可选的,在该终端确定出该目标信号发射设备的状态之后,还可以在该终端显示屏上显示该目标信号发射设备的状态,并在室内地图上标记出该目标信号发射设备的位置,以方便检测人员进行查看和前去维护。Optionally, after the terminal determines the state of the target signal transmitting device, the state of the target signal transmitting device may also be displayed on the terminal display screen, and the location of the target signal transmitting device is marked on the indoor map. In order to facilitate inspection personnel to view and go to maintenance.
本发明实施例中,该终端首先接收至少两个信号发射设备的信号参数,然后根据该信号参数确定第一位置集合,并根据该第一位置集合和预设位置集合确定出目标信号发射设备以及该目标信号发射设备的状态,可以无需人工进行手动检测,通过分析各个信号发射设备的信号参数,就可智能的识别出可能存在问题的目标信号发射设备,并且同时可以判断出该目标信号发射设备的具体状态,简化了检测人员的操作。In the embodiment of the present invention, the terminal first receives signal parameters of at least two signal transmitting devices, and then determines a first set of positions according to the signal parameters, and determines a target signal transmitting device according to the first set of positions and the preset set of positions. The state of the target signal transmitting device can be manually detected without manual detection. By analyzing the signal parameters of each signal transmitting device, the target signal transmitting device that may have a problem can be intelligently identified, and the target signal transmitting device can be determined at the same time. The specific state simplifies the operation of the inspector.
请参阅图6,是本发明实施例提供的另一种用于信号发射设备的状态检测方法的流程示意图。如图6所示的信号发射设备的检测方法,包括以下几个步骤:FIG. 6 is a schematic flowchart diagram of another method for detecting a state of a signal transmitting device according to an embodiment of the present invention. The detection method of the signal transmitting device shown in FIG. 6 includes the following steps:
S601、终端接收至少两个信号发射设备的信号参数。S601. The terminal receives signal parameters of at least two signal transmitting devices.
需要说明的是,S601的具体实现方式可以参照图5的实施例中的对应步骤S501,在此不作赘述。It should be noted that the specific implementation manner of the S601 can refer to the corresponding step S501 in the embodiment of FIG. 5, and details are not described herein.
S602、终端从信号参数中选取目标信号参数。S602. The terminal selects a target signal parameter from the signal parameters.
其中,该信号参数包括信号强度,该目标信号参数为信号参数中信号强度最大的信号参数。The signal parameter includes a signal strength, and the target signal parameter is a signal parameter with the highest signal strength among the signal parameters.
需要说明的是,信号强度与距离成反比,理论上如果该终端靠近一个信号发射设备,那么接收到该信号发射设备的信号强度就会增大。如果在一定的空间范围内部署了多个信号发射设备,每个信号发射设备覆盖了一定的区域范围,我们就可以利用这个特性来表示终端位置。It should be noted that the signal strength is inversely proportional to the distance. In theory, if the terminal is close to a signal transmitting device, the signal strength of the signal transmitting device is increased. If multiple signal transmitting devices are deployed within a certain spatial range, and each signal transmitting device covers a certain area range, we can use this feature to represent the terminal position.
具体实现中,该终端可以比较在当前时刻所接收到的信号发射设备的信号强度,选取信号强度最大的信号参数为目标信号参数。In a specific implementation, the terminal can compare the signal strength of the signal transmitting device received at the current time, and select the signal parameter with the largest signal strength as the target signal parameter.
S603、终端将目标信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。S603. The terminal determines location information of the signal transmitting device corresponding to the target signal parameter as the location information in the first location set.
需要说明的是,该第一位置集合中可以包括至少两个位置信息,该位置信息可以是终端位置,用于表示该终端在某一时刻所处的位置,其中,该终端位置可以用该信号发射设备的位置来进行表示,可以更方便的检测出目标信号发射设备。It should be noted that the first location set may include at least two location information, where the location information may be a terminal location, and is used to indicate a location of the terminal at a certain moment, where the terminal location may use the signal. The position of the transmitting device is used for representation, and the target signal transmitting device can be more conveniently detected.
还需要说明的是,该终端在当前时刻接收到哪个信号发射设备的信号强度最大,那么该终端就在哪个信号发射设备附近,由于该终端预先存储了各个信号发射设备的预设位置,那么该目标信号参数对应的信号发射设备的位置就可以用来表示该终端位置。It should also be noted that the signal strength of the signal transmitting device received by the terminal at the current time is the highest, and then the signal transmitting device is in the vicinity of the signal transmitting device. Since the terminal pre-stores the preset position of each signal transmitting device, the terminal The position of the signal transmitting device corresponding to the target signal parameter can be used to indicate the terminal position.
举例来说,如图3所示,在t1时刻,该终端301接收到的1号设备信号强度为-65dbm, 2号设备信号强度为-90dbm,3号设备信号强度为-75dbm,那么该终端便可以确定该1号设备的信号强度最大,并进一步将该1号设备的位置信息确定为第一位置集合中的位置信息。For example, as shown in FIG. 3, at time t1, the signal strength of the device No. 1 received by the terminal 301 is -65 dbm. The signal strength of the No. 2 device is -90dbm, and the signal strength of the No. 3 device is -75dbm, then the terminal can determine the maximum signal strength of the No. 1 device, and further determine the location information of the No. 1 device as the first location set. Location information.
S604、终端根据预设位置集合和第一位置集合确定目标信号发射设备。S604. The terminal determines the target signal transmitting device according to the preset location set and the first location set.
其中,该目标信号发射设备为位置信息存在于该预设位置集合中,且不存在于该第一位置集合中的信号发射设备。The target signal transmitting device is a signal transmitting device in which the location information exists in the preset location set and does not exist in the first location set.
需要说明的是,S604的具体实现方式可以参照图5的实施例中的对应步骤S503,在此不作赘述。It should be noted that the specific implementation manner of S604 can be referred to the corresponding step S503 in the embodiment of FIG. 5, and details are not described herein.
S605、若信号参数中不存在所述目标信号发射设备的信号参数,终端则确定目标信号发射设备为故障状态。S605. If the signal parameter of the target signal transmitting device does not exist in the signal parameter, the terminal determines that the target signal transmitting device is in a fault state.
需要说明的是,该终端在确定出该目标信号发射设备之后,还可以进一步确定该目标信号发射设备的具体状态。It should be noted that, after determining the target signal transmitting device, the terminal may further determine a specific state of the target signal transmitting device.
具体实现中,该终端可以查找缓存中的信号参数中是否有该目标信号发射设备的信号参数。如果缓存中没有找到该目标信号发射设备广播的信号参数,说明该信号发射设备彻底不工作,即该信号发射设备为故障状态,需要直接被更换。In a specific implementation, the terminal may search for a signal parameter of the target signal transmitting device in the signal parameter in the buffer. If the signal parameter broadcast by the target signal transmitting device is not found in the cache, it indicates that the signal transmitting device does not work completely, that is, the signal transmitting device is in a fault state and needs to be directly replaced.
还需要说明的是,该S605步骤和该S606步骤为并列的步骤,执行了该S605步骤,就可以不执行该S606步骤,执行了该S606步骤,就可以不执行该S605步骤。因此,终端如果查找到信号参数中不存在所述目标信号发射设备的信号参数,则跳过S606步骤,执行S607步骤。It should be noted that the step S605 and the step S606 are parallel steps, and the step S605 is executed, and the step S606 is not performed, and the step S606 is performed, and the step S605 may not be performed. Therefore, if the terminal finds that the signal parameter of the target signal transmitting device does not exist in the signal parameter, the step S606 is skipped, and the step S607 is performed.
S606、若信号参数中存在目标信号发射设备的信号参数,终端则确定目标信号发射设备为电量不足状态。S606. If the signal parameter of the target signal transmitting device exists in the signal parameter, the terminal determines that the target signal transmitting device is in a low battery state.
具体实现中,如果该终端在缓存中查找到接收到该目标信号发射设备的信号参数,但由于该目标信号发射设备不存在于第一位置集合中,也就是说,该目标信号发射设备的信号强度在该时刻不是信号强度最大的信号发射设备,说明该目标信号发射设备可能电池电压不稳定导致发射功率变化,即该目标信号发射设备的状态为电量不足的状态。In a specific implementation, if the terminal finds a signal parameter of the target signal transmitting device in the cache, but the target signal transmitting device does not exist in the first location set, that is, the signal of the target signal transmitting device The intensity is not the signal transmitting device with the highest signal intensity at this moment, indicating that the target signal transmitting device may be unstable due to the battery voltage, that is, the state of the target signal transmitting device is a state of insufficient power.
S607、终端输出所述目标信号发射设备的状态,并在室内地图中标记出目标信号发射设备的位置。S607. The terminal outputs a state of the target signal transmitting device, and marks a location of the target signal transmitting device in the indoor map.
具体实现中,该终端可以在确定了该目标信号发射设备的状态时,立即在该终端的屏幕上进行显示,同时在室内地图中标记出该目标信号发射设备的位置,以方便检测人员立刻进行查看,并前去该目标信号发射设备的位置进行维修或者更换处理。In a specific implementation, when determining the state of the target signal transmitting device, the terminal can immediately display on the screen of the terminal, and mark the location of the target signal transmitting device in the indoor map, so as to facilitate the detection personnel to perform immediately View and go to the location of the target signal transmitting equipment for repair or replacement.
或者,检测人员也许当前时刻没有时间对该目标信号发射设备进行处理,那么该终端在确定了该目标信号发射设备的状态之后,可以将该目标信号发射设备的状态以及该目标信号发射设备的位置进行保存。当检测人员想要进行查询该目标信号发射设备的具体情况时,该终端才将该目标信号发射设备的状态以及该目标信号发射设备在室内地图上的位置显示在屏幕上,节省了终端的功耗,同时也方便了检测人员随时进行查看。Alternatively, the detecting personnel may not have time to process the target signal transmitting device at the current moment, and the terminal may determine the state of the target signal transmitting device and the position of the target signal transmitting device after determining the state of the target signal transmitting device. Save it. When the detecting person wants to query the specific situation of the target signal transmitting device, the terminal displays the state of the target signal transmitting device and the position of the target signal transmitting device on the indoor map on the screen, thereby saving the work of the terminal. It is also convenient for the inspection personnel to check at any time.
本发明实施例中,该终端首先接收至少两个信号发射设备的信号参数,然后根据从该信号参数选取出信号强度最大的目标信号参数,并把该目标信号参数对应的信号发射设备所在位置确定为第一位置集合中的位置,然后根据该第一位置集合和预设位置集合确定出 目标信号发射设备以及该目标信号发射设备的具体状态,可以利用信号强度最大的信号发射设备所在的位置来表示终端的位置,再结合终端预存的信号发射设备的位置进行对比,便可智能的识别出可能存在问题的目标信号发射设备,并且同时可以判断出该目标信号发射设备的具体状态,无需人工进行手动检测,简化了检测人员的操作。In the embodiment of the present invention, the terminal first receives signal parameters of at least two signal transmitting devices, and then selects a target signal parameter with the highest signal strength from the signal parameter, and determines a location of the signal transmitting device corresponding to the target signal parameter. a position in the first location set, and then determining according to the first location set and the preset location set The target signal transmitting device and the specific state of the target signal transmitting device can use the position of the signal transmitting device with the highest signal strength to indicate the position of the terminal, and then combine the position of the signal transmitting device pre-stored by the terminal for comparison, thereby intelligently identifying A target signal transmitting device that may have a problem, and at the same time, can determine the specific state of the target signal transmitting device, without manual manual detection, which simplifies the operation of the detecting personnel.
上述详细阐述了本发明实施例的方法,下面为了便于更好地实施本发明实施例的上述方案,相应地,下面还提供用于配合实施上述方案的终端。The foregoing describes the method of the embodiment of the present invention in detail. In order to facilitate the implementation of the foregoing solution of the embodiment of the present invention, a terminal for implementing the foregoing solution is provided below.
请参阅图7,为本发明实施例提供的一种终端的结构示意图。本实施例中所描述的终端,包括:接收模块701,第一确定模块702,第二确定模块703,第三确定模块704,以及输出模块705。FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal described in this embodiment includes: a receiving module 701, a first determining module 702, a second determining module 703, a third determining module 704, and an output module 705.
具体的,接收模块701,用于接收至少两个信号发射设备的信号参数。Specifically, the receiving module 701 is configured to receive signal parameters of at least two signal transmitting devices.
第一确定模块702,用于根据该信号参数确定第一位置集合,该第一位置集合包括至少两个位置信息。The first determining module 702 is configured to determine, according to the signal parameter, a first set of locations, where the first set of locations includes at least two location information.
可选的,该信号参数包括信号强度,该第一确定模块702可以包括:选取单元7021,用于从该信号参数中选取目标信号参数。其中,该目标信号参数为该信号参数中信号强度最大的信号参数。Optionally, the signal parameter includes a signal strength, and the first determining module 702 can include: a selecting unit 7021, configured to select a target signal parameter from the signal parameter. The target signal parameter is a signal parameter with the highest signal strength among the signal parameters.
确定单元7022,用于将该目标信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。The determining unit 7022 is configured to determine location information of the signal transmitting device corresponding to the target signal parameter as location information in the first location set.
第二确定模块703,用于根据预设位置集合和该第一位置集合确定目标信号发射设备。The second determining module 703 is configured to determine the target signal transmitting device according to the preset location set and the first location set.
其中,该目标信号发射设备为位置信息存在于该预设位置集合中,且不存在于该第一位置集合中的信号发射设备;The target signal transmitting device is a signal transmitting device in which the location information exists in the preset location set and does not exist in the first location set;
第三确定模块704,用于根据该信号参数确定该目标信号发射设备的状态。The third determining module 704 is configured to determine a state of the target signal transmitting device according to the signal parameter.
可选的,该第三确定模块704,具体用于若该信号参数中不存在该目标信号发射设备的信号参数,则确定该目标信号发射设备为故障状态。Optionally, the third determining module 704 is specifically configured to: if the signal parameter of the target signal transmitting device does not exist in the signal parameter, determine that the target signal transmitting device is in a fault state.
可选的,该第三确定模块704,具体用于若该信号参数中存在该目标信号发射设备的信号参数,则确定该目标信号发射设备为电量不足状态。Optionally, the third determining module 704 is specifically configured to: if the signal parameter of the target signal transmitting device exists in the signal parameter, determine that the target signal transmitting device is in a low battery state.
输出模块705,用于输出该目标信号发射设备的状态,并在室内地图中标记出该目标信号发射设备的位置。The output module 705 is configured to output a state of the target signal transmitting device, and mark the location of the target signal transmitting device in the indoor map.
可选的,该终端可通过上述模块实现上述图5及图6对应实施例中的信号发射设备的状态检测方法中终端执行的相应步骤。应理解,本发明实施例是对应方法实施例的装置实施例,对方法实施例的描述,也适用于本发明实施例。Optionally, the terminal may implement the corresponding steps performed by the terminal in the state detecting method of the signal transmitting device in the foregoing embodiment of FIG. 5 and FIG. 6 by using the foregoing module. It should be understood that the embodiments of the present invention are device embodiments corresponding to the method embodiments, and the description of the method embodiments is also applicable to the embodiments of the present invention.
本发明实施例中,可以利用信号发射设备的信号参数来确定第一位置集合,再结合预存的信号发射设备的位置进行对比,便可智能的识别出可能存在问题的目标信号发射设备,并且同时可以判断出该目标信号发射设备的具体状态,无需人工进行手动检测,简化了检测人员的操作。In the embodiment of the present invention, the signal position of the signal transmitting device can be used to determine the first set of positions, and then combined with the position of the pre-stored signal transmitting device for intelligently identifying the target signal transmitting device that may have a problem, and at the same time The specific state of the target signal transmitting device can be judged without manual manual detection, which simplifies the operation of the detecting personnel.
请参阅图8,是本发明实施例提供的另一种终端的结构示意图。本实施例中所描述的终端,包括:用户接口801,显示屏802,处理器803,通信接口804,存储器805,上述 用户接口801,显示屏802,处理器803,通信接口804以及存储器805可以通过总线连接,也可以以其他方式连接。FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention. The terminal described in this embodiment includes: a user interface 801, a display screen 802, a processor 803, a communication interface 804, and a memory 805. The user interface 801, the display screen 802, the processor 803, the communication interface 804, and the memory 805 may be connected by a bus or may be connected in other manners.
处理器803可以是中央处理器(英文:central processing unit,缩写:CPU),网络处理器(英文:network processor,缩写:NP)或者CPU和NP的组合。处理器803也可以是多核CPU或多核NP中用于实现通信标识绑定的核。The processor 803 can be a central processing unit (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of a CPU and an NP. The processor 803 can also be a core for implementing communication identification binding in a multi-core CPU or a multi-core NP.
上述处理器803可以是硬件芯片。上述硬件芯片可以是专用集成电路(英文:application-specific integrated circuit,缩写:ASIC),可编程逻辑器件(英文:programmable logic device,缩写:PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,缩写:CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,缩写:FPGA),通用阵列逻辑(英文:generic array logic,缩写:GAL)或其任意组合。The processor 803 described above may be a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (abbreviated as PLD), or a combination thereof. The above PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA), general array logic (English: generic array Logic, abbreviation: GAL) or any combination thereof.
通信接口804可用于收发信息或信令的交互,以及信号的接收和发送,特别地,通信接口804可以通过无线通信与网络和信号发射设备进行通信,并接收信号发射设备的数据。上述无线通信可以使用任一通信标准或协议,包括但不限于无线保真技术(WirelessFidelity,WiFi),GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The communication interface 804 can be used for transceiving information or signaling interactions, as well as for receiving and transmitting signals. In particular, the communication interface 804 can communicate with the network and the signal transmitting device via wireless communication and receive data of the signal transmitting device. The above wireless communication may use any communication standard or protocol, including but not limited to Wireless Fidelity (WiFi), GSM (Global System of Mobile communication), GPRS (General Packet Radio Service). Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service, Short message service) and so on.
用户接口801可用于接收输入的数字或字符信息,以及产生与该终端的用户设置以及功能控制有关的键信号输入。具体地,上述用户接口801可包括触控面板以及其他输入设备。触控面板,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动相应的连接装置。The user interface 801 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal. Specifically, the user interface 801 described above may include a touch panel and other input devices. A touch panel, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel). The corresponding connecting device is driven according to a preset program.
可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器,并能接收处理器发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板。除了触控面板,用户接口801还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. Give the processor and receive commands from the processor and execute them. In addition, touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel, the user interface 801 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示屏802可用于显示由用户输入的信息或提供给用户的信息以及该终端的各种菜单。显示屏802可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置。进一步的,用户接口801中的触控面板可覆盖显示屏902,当触控面板检测到在其上或附近的触摸操作后,传送给处理器以确定触摸事件的类型,随后处理器根据触摸事件的类型在显示屏902上提供相应的视觉输出。虽然在图8中,触控面板与显示屏902是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板与显示屏902集成而实现终端的输入和输出功能。 Display 802 can be used to display information entered by the user or information provided to the user as well as various menus for the terminal. The display screen 802 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch panel in the user interface 801 can cover the display screen 902. When the touch panel detects a touch operation on or near the touch panel, the touch panel transmits to the processor to determine the type of the touch event, and then the processor according to the touch event. The type provides a corresponding visual output on display 902. Although in FIG. 8, the touch panel and the display screen 902 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel can be integrated with the display screen 902 to implement the terminal. Input and output functions.
上述存储器805可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的存储程序(比如文字存储功能、位置存储功能等);存储数据区可存储根据终端的使用所创建的数据(比如图像数据、文字数据)等,并可以包括网络通信模块、用户接口模块,应用存储程序等。其中,该网络通信模块可以用于存储网络通信程序,该通信接口804可以通过调用该网络通信模块的网络通信程序实现对外或对内通信的功能。该用户接口模块可以用于存储实现用户对终端的触控、按压等人机交互程序,该用户接口801可以通过调用该用户接口模块的人机交互程序实现用户信号的输入功能。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 805 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a storage program required by at least one function (such as a text storage function, a location storage function, etc.); the storage data area may be stored according to The data created by the terminal (such as image data, text data), etc., and may include a network communication module, a user interface module, an application storage program, and the like. The network communication module can be used to store a network communication program, and the communication interface 804 can implement the function of external or internal communication by calling a network communication program of the network communication module. The user interface module can be used to store a human-computer interaction program that implements user-to-terminal touch, pressing, and the like. The user interface 801 can implement a user signal input function by calling a human-computer interaction program of the user interface module. Further, the memory may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
上述存储器805还用于存储程序指令。上述处理器803可以调用上述存储器805存储的程序指令,实现如本发明实施例所示的信号发射设备的状态检测方法。The above memory 805 is also used to store program instructions. The processor 803 can call the program instructions stored in the memory 805 to implement the state detecting method of the signal transmitting device as shown in the embodiment of the present invention.
具体的,上述处理器803调用存储在上述存储器805存储的程序指令执行以下步骤:Specifically, the processor 803 calls the program instructions stored in the memory 805 to perform the following steps:
接收至少两个信号发射设备的信号参数;Receiving signal parameters of at least two signal transmitting devices;
根据该信号参数确定第一位置集合,该第一位置集合包括至少两个位置信息;Determining, according to the signal parameter, a first set of locations, where the first set of locations includes at least two location information;
根据预设位置集合和该第一位置集合确定目标信号发射设备,该目标信号发射设备为位置信息存在于该预设位置集合中,且不存在于该第一位置集合中的信号发射设备;Determining, according to the preset location set and the first location set, a target signal transmitting device, where the target signal transmitting device is a signal transmitting device that exists in the preset location set and does not exist in the first location set;
根据该信号参数确定该目标信号发射设备的状态。A state of the target signal transmitting device is determined based on the signal parameter.
本发明实施例中处理器执行的方法均从处理器的角度来描述,可以理解的是,本发明实施例中处理器要执行上述方法需要其他硬件结构的配合。例如,上述终端与其他设备或服务器的交互,如接收至少两个信号发射设备的信号参数,由上述处理器803控制上述通信接口804来接收相关数据,上述确定第一位置集合以及确定目标信号发射状态等步骤,均可以由上述处理器803控制上述存储器805中的存储程序进行实现。本发明实施例对具体的实现过程不作详细描述和限制。The method performed by the processor in the embodiment of the present invention is described from the perspective of a processor. It can be understood that the processor in the embodiment of the present invention needs to cooperate with other hardware structures to perform the above method. For example, the interaction between the terminal and other devices or servers, such as receiving signal parameters of at least two signal transmitting devices, is controlled by the processor 803 to receive the related data, and the determining the first location set and determining the target signal transmission. The steps such as the state can be implemented by the processor 803 controlling the stored program in the memory 805. The specific implementation process is not described and limited in detail in the embodiments of the present invention.
可选的,所述信号参数包括信号强度,上述处理器803,具体用于从所述信号参数中选取目标信号参数,所述目标信号参数为所述信号参数中信号强度最大的信号参数,并将所述目标信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。Optionally, the signal parameter includes a signal strength, and the processor 803 is specifically configured to select a target signal parameter from the signal parameter, where the target signal parameter is a signal parameter with a maximum signal strength among the signal parameters, and The location information of the signal transmitting device corresponding to the target signal parameter is determined as the location information in the first location set.
可选的,上述处理器803,具体用于若所述信号参数中不存在所述目标信号发射设备的信号参数,则确定所述目标信号发射设备为故障状态。Optionally, the processor 803 is specifically configured to determine that the target signal transmitting device is in a fault state if the signal parameter of the target signal transmitting device does not exist in the signal parameter.
可选的,上述处理器803,具体用于若所述信号参数中存在所述目标信号发射设备的信号参数,则确定所述目标信号发射设备为电量不足状态。Optionally, the processor 803 is specifically configured to determine that the target signal transmitting device is in a low battery state if a signal parameter of the target signal transmitting device exists in the signal parameter.
可选的,上述处理器803,还用于调用显示屏802输出所述目标信号发射设备的状态,并在室内地图中标记出所述目标信号发射设备的位置。Optionally, the processor 803 is further configured to invoke the display screen 802 to output a status of the target signal transmitting device, and mark the location of the target signal transmitting device in the indoor map.
本发明实施例中,可以利用信号发射设备的信号参数来确定第一位置集合,再结合预存的信号发射设备的位置进行对比,便可智能的识别出可能存在问题的目标信号发射设备,并且同时可以判断出该目标信号发射设备的具体状态,无需人工进行手动检测,简化了检测人员的操作。 In the embodiment of the present invention, the signal position of the signal transmitting device can be used to determine the first set of positions, and then combined with the position of the pre-stored signal transmitting device for intelligently identifying the target signal transmitting device that may have a problem, and at the same time The specific state of the target signal transmitting device can be judged without manual manual detection, which simplifies the operation of the detecting personnel.

Claims (11)

  1. 一种信号发射设备的状态检测方法,其特征在于,包括:A method for detecting a state of a signal transmitting device, comprising:
    终端接收至少两个信号发射设备的信号参数;Receiving, by the terminal, signal parameters of at least two signal transmitting devices;
    所述终端根据所述信号参数确定第一位置集合,所述第一位置集合包括至少两个位置信息;Determining, by the terminal, a first set of locations according to the signal parameter, where the first set of locations includes at least two location information;
    所述终端根据预设位置集合和所述第一位置集合确定目标信号发射设备,所述目标信号发射设备为位置信息存在于所述预设位置集合中,且不存在于所述第一位置集合中的信号发射设备;Determining, by the terminal, the target signal transmitting device according to the preset location set and the first location set, where the target signal transmitting device exists in the preset location set, and does not exist in the first location set. Signal transmitting device
    所述终端根据所述信号参数确定所述目标信号发射设备的状态。The terminal determines a state of the target signal transmitting device according to the signal parameter.
  2. 如权利要求1所述的方法,其特征在于,所述信号参数包括信号强度,所述终端根据所述信号参数确定第一位置集合,包括:The method of claim 1, wherein the signal parameter comprises a signal strength, and the determining, by the terminal, the first set of locations according to the signal parameter comprises:
    所述终端从所述信号参数中选取目标信号参数,所述目标信号参数为所述信号参数中信号强度最大的信号参数;The terminal selects a target signal parameter from the signal parameters, where the target signal parameter is a signal parameter with the highest signal strength among the signal parameters;
    所述终端将所述目标信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。The terminal determines location information of the signal transmitting device corresponding to the target signal parameter as location information in the first location set.
  3. 如权利要求1或2所述的方法,其特征在于,所述终端根据所述信号参数确定所述目标信号发射设备的状态,包括:The method according to claim 1 or 2, wherein the determining, by the terminal, the state of the target signal transmitting device according to the signal parameter comprises:
    若所述信号参数中不存在所述目标信号发射设备的信号参数,所述终端则确定所述目标信号发射设备为故障状态。If the signal parameter of the target signal transmitting device does not exist in the signal parameter, the terminal determines that the target signal transmitting device is in a fault state.
  4. 如权利要求3所述的方法,其特征在于,所述终端根据所述信号参数确定所述目标信号发射设备的状态,包括:The method according to claim 3, wherein the determining, by the terminal, the state of the target signal transmitting device according to the signal parameter comprises:
    若所述信号参数中存在所述目标信号发射设备的信号参数,所述终端则确定所述目标信号发射设备为电量不足状态。If the signal parameter of the target signal transmitting device exists in the signal parameter, the terminal determines that the target signal transmitting device is in a low battery state.
  5. 如权利要求4所述的方法,其特征在于,所述终端根据所述信号参数确定所述目标信号发射设备的状态之后,所述方法还包括:The method according to claim 4, wherein after the terminal determines the state of the target signal transmitting device according to the signal parameter, the method further includes:
    所述终端输出所述目标信号发射设备的状态,并在室内地图中标记出所述目标信号发射设备的位置。The terminal outputs a state of the target signal transmitting device, and marks a location of the target signal transmitting device in an indoor map.
  6. 一种终端,其特征在于,包括:A terminal, comprising:
    接收模块,用于接收至少两个信号发射设备的信号参数;a receiving module, configured to receive signal parameters of at least two signal transmitting devices;
    第一确定模块,用于根据所述信号参数确定第一位置集合,所述第一位置集合包括至少两个位置信息;a first determining module, configured to determine, according to the signal parameter, a first set of locations, where the first set of locations includes at least two location information;
    第二确定模块,用于根据预设位置集合和所述第一位置集合确定目标信号发射设备, 所述目标信号发射设备为位置信息存在于所述预设位置集合中,且不存在于所述第一位置集合中的信号发射设备;a second determining module, configured to determine a target signal transmitting device according to the preset location set and the first location set, The target signal transmitting device is a signal transmitting device in which location information exists in the preset location set and does not exist in the first location set;
    第三确定模块,用于根据所述信号参数确定所述目标信号发射设备的状态。And a third determining module, configured to determine a state of the target signal transmitting device according to the signal parameter.
  7. 如权利要求6所述的终端,其特征在于,所述信号参数包括信号强度,所述第一确定模块,包括:The terminal according to claim 6, wherein the signal parameter comprises a signal strength, and the first determining module comprises:
    选取单元,用于从所述信号参数中选取目标信号参数,所述目标信号参数为所述信号参数中信号强度最大的信号参数;a selecting unit, configured to select a target signal parameter from the signal parameter, where the target signal parameter is a signal parameter with a maximum signal strength among the signal parameters;
    确定单元,用于将所述目标信号参数对应的信号发射设备的位置信息确定为第一位置集合中的位置信息。And a determining unit, configured to determine location information of the signal transmitting device corresponding to the target signal parameter as location information in the first location set.
  8. 如权利要求6或7所述的终端,其特征在于,所述第三确定模块,具体用于若所述信号参数中不存在所述目标信号发射设备的信号参数,则确定所述目标信号发射设备为故障状态。The terminal according to claim 6 or 7, wherein the third determining module is configured to: if the signal parameter of the target signal transmitting device does not exist in the signal parameter, determine the target signal transmission The device is in a fault condition.
  9. 如权利要求8所述的终端,其特征在于,所述第三确定模块,具体用于若所述信号参数中存在所述目标信号发射设备的信号参数,则确定所述目标信号发射设备为电量不足状态。The terminal according to claim 8, wherein the third determining module is configured to: if the signal parameter of the target signal transmitting device exists in the signal parameter, determine that the target signal transmitting device is powered Insufficient state.
  10. 如权利要求9所述的终端,其特征在于,所述终端还包括:The terminal according to claim 9, wherein the terminal further comprises:
    输出模块,用于输出所述目标信号发射设备的状态,并在室内地图中标记出所述目标信号发射设备的位置。And an output module, configured to output a state of the target signal transmitting device, and mark a location of the target signal transmitting device in an indoor map.
  11. 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:
    存储器,用于存储一个或多个程序;a memory for storing one or more programs;
    处理器,用于调用所述存储器中的程序执行如权利要求1~5任意一项所述的方法。 A processor for invoking a program in the memory to perform the method of any one of claims 1 to 5.
PCT/CN2017/084878 2017-03-01 2017-05-18 State detection method and terminal for signal transmission device WO2018157479A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780085719.1A CN110249653B (en) 2017-03-01 2017-05-18 State detection method of signal transmitting equipment and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710117955 2017-03-01
CN201710117955.9 2017-03-01

Publications (1)

Publication Number Publication Date
WO2018157479A1 true WO2018157479A1 (en) 2018-09-07

Family

ID=63369704

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084878 WO2018157479A1 (en) 2017-03-01 2017-05-18 State detection method and terminal for signal transmission device

Country Status (2)

Country Link
CN (1) CN110249653B (en)
WO (1) WO2018157479A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703827A (en) * 2016-04-22 2016-06-22 成都英鑫光电科技有限公司 Optical connector fault detection method and device and controller
CN205510053U (en) * 2016-04-22 2016-08-24 成都英鑫光电科技有限公司 Optical connector fault detection device and controller
US20160323760A1 (en) * 2013-12-24 2016-11-03 Ranplan Wireless Network Design Ltd An autonomous detecting and positioning method of indoor wireless network faults
CN106358212A (en) * 2016-08-31 2017-01-25 中国联合网络通信集团有限公司 Detection method and device for indoor distribution system

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7900203B2 (en) * 2007-04-24 2011-03-01 Microsoft Corporation Data sharing and synchronization with relay endpoint and sync data element
JP5337879B2 (en) * 2008-09-29 2013-11-06 株式会社東芝 Prior evaluation of multiple network access points
JP5371585B2 (en) * 2009-07-03 2013-12-18 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6252720B2 (en) * 2012-09-21 2017-12-27 株式会社リコー Distribution system, distribution method, and program
JP2014077777A (en) * 2012-09-21 2014-05-01 Ricoh Co Ltd Communication terminal, communication method and program
AU2013202788B2 (en) * 2013-03-14 2015-10-01 Gen-Probe Incorporated Indexing signal detection module
CN103634060A (en) * 2013-11-14 2014-03-12 云南大学 Real-time radio collaborative monitoring, detecting and locating method
WO2015089490A1 (en) * 2013-12-13 2015-06-18 Cable Television Laboratories, Inc. Wireless access point load balancing
US9591497B2 (en) * 2014-05-30 2017-03-07 Apple Inc. Wireless link quality monitoring
CN204031186U (en) * 2014-07-17 2014-12-17 青岛歌尔声学科技有限公司 A kind of Communication Jamming detection system of wireless product
CN104168072B (en) * 2014-08-01 2017-06-30 广州三星通信技术研究有限公司 Signal supervisory instrument, detection mobile terminal receive the method and system of emitting performance
CN104717303B (en) * 2015-03-31 2019-08-30 浙江米多网络科技有限公司 Three module automatic switching signal launching centre of bullet train
US10149163B2 (en) * 2015-06-17 2018-12-04 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses of device identity check in a core network for a wireless network
CN105117947B (en) * 2015-09-07 2019-02-12 丹阳伦图电子技术有限公司 A kind of ESL system based on Wi-Fi technology
CN106454938B (en) * 2016-10-08 2020-04-17 深圳市前海信息通信发展有限公司 Information sharing method, terminal and router

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160323760A1 (en) * 2013-12-24 2016-11-03 Ranplan Wireless Network Design Ltd An autonomous detecting and positioning method of indoor wireless network faults
CN105703827A (en) * 2016-04-22 2016-06-22 成都英鑫光电科技有限公司 Optical connector fault detection method and device and controller
CN205510053U (en) * 2016-04-22 2016-08-24 成都英鑫光电科技有限公司 Optical connector fault detection device and controller
CN106358212A (en) * 2016-08-31 2017-01-25 中国联合网络通信集团有限公司 Detection method and device for indoor distribution system

Also Published As

Publication number Publication date
CN110249653B (en) 2021-07-16
CN110249653A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN107094294B (en) Network connection method and device
CN107430394B (en) Method, server, mobile terminal and device for data interaction with vehicle machine
US20170164157A1 (en) Using smart meters as reliable crowd-sourcing agents
CN109359324B (en) BIM-based digital building examination method and device
CN106936676B (en) Household equipment control method and device
CN108917762B (en) Method and system for positioning electric appliance, storage medium and home system
CN107040610B (en) Method of data synchronization, device, storage medium, terminal and server
CN107005810A (en) A kind of floor location method, the network equipment and mobile terminal
CN106649126B (en) Method and device for testing application program
US9615277B2 (en) Method for determining position based on network and electronic device thereof
CN109818771B (en) Method for configuring minimization of drive tests, method and device for measuring minimization of drive tests
CN110730419A (en) Article positioning method, device and system and electronic equipment
CN112148579A (en) User interface testing method and device
CN111078556B (en) Application testing method and device
JP5632553B1 (en) Display data generating apparatus and program
CN112131093A (en) Chaos test-based test case automatic generation method and device
CN109196480B (en) Method for displaying equipment identification, mobile terminal and terminal equipment
WO2018157479A1 (en) State detection method and terminal for signal transmission device
WO2018098717A1 (en) Method and apparatus for adjusting positioning period
JP2013250213A (en) Communication device, information processing terminal, and communication system
CN108234275B (en) Method and device for releasing communication information
US11743857B2 (en) Method and system of wireless device location service
WO2015110026A1 (en) Information obtaining method, server, terminal, and system
CN107995584B (en) Online state switching method and device
CN112667868B (en) Data detection method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17899042

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17899042

Country of ref document: EP

Kind code of ref document: A1