CN113438598A - Terminal positioning method and device, computer equipment and storage medium - Google Patents

Terminal positioning method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113438598A
CN113438598A CN202110732724.5A CN202110732724A CN113438598A CN 113438598 A CN113438598 A CN 113438598A CN 202110732724 A CN202110732724 A CN 202110732724A CN 113438598 A CN113438598 A CN 113438598A
Authority
CN
China
Prior art keywords
terminal
bluetooth
positioning
information
identification code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110732724.5A
Other languages
Chinese (zh)
Other versions
CN113438598B (en
Inventor
赵程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202110732724.5A priority Critical patent/CN113438598B/en
Publication of CN113438598A publication Critical patent/CN113438598A/en
Application granted granted Critical
Publication of CN113438598B publication Critical patent/CN113438598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The application relates to the field of safety monitoring, and the probability of successfully positioning the first terminal is improved by determining the adjacent second terminal through the Bluetooth information list when the positioning information of the first terminal is not obtained, and determining the position of the first terminal according to the positioning information of the second terminal. A method, an apparatus, a computer device and a storage medium for positioning a terminal are provided, the method comprising: acquiring first service report information corresponding to a first terminal to be positioned; when the first service report information comprises first positioning information, determining the position of the first terminal according to the first positioning information; when the first service report information does not include the first positioning information, acquiring a Bluetooth information list, and determining a second terminal adjacent to the first terminal according to the Bluetooth information list; and acquiring second positioning information corresponding to the second terminal, and determining the position of the first terminal according to the second positioning information. In addition, the application also relates to a block chain technology, and the Bluetooth information list can be stored in the block chain.

Description

Terminal positioning method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of security monitoring, and in particular, to a method and an apparatus for positioning a terminal, a computer device, and a storage medium.
Background
When the service staff goes out to process the service, in order to protect the personal safety of the service staff and perform service examination on the service staff, the service staff needs to perform position positioning. The operator can position through the service application program in the portable terminal; when the service application program in the terminal does not start the positioning right, the terminal cannot be positioned.
Therefore, how to increase the probability of successfully positioning the terminal becomes an urgent problem to be solved.
Disclosure of Invention
When the positioning information of the first terminal is determined not to be acquired, the adjacent second terminal is determined through the Bluetooth information list, the position of the first terminal is determined according to the positioning information of the second terminal, the sharing of the positioning information is realized, and the probability of successfully positioning the first terminal is improved.
In a first aspect, the present application provides a terminal positioning method, where the method includes:
acquiring first service report information corresponding to a first terminal to be positioned;
when the first service report information comprises first positioning information, determining the position of the first terminal according to the first positioning information;
when the first service report information does not comprise the first positioning information, acquiring a Bluetooth information list, and determining a second terminal adjacent to the first terminal according to the Bluetooth information list;
and acquiring second positioning information corresponding to the second terminal, and determining the position of the first terminal according to the second positioning information.
In a second aspect, the present application further provides a terminal positioning apparatus, including:
the information acquisition module is used for acquiring first service report information corresponding to a first terminal to be positioned;
a first positioning module, configured to determine, when the first service report information includes first positioning information, a position of the first terminal according to the first positioning information;
a terminal determining module, configured to obtain a bluetooth information list when the first service report information does not include the first positioning information, and determine, according to the bluetooth information list, a second terminal that is adjacent to the first terminal;
and the second positioning module is used for acquiring second positioning information corresponding to the second terminal and determining the position of the first terminal according to the second positioning information.
In a third aspect, the present application further provides a computer device comprising a memory and a processor;
the memory for storing a computer program;
the processor is configured to execute the computer program and to implement the terminal positioning method as described above when executing the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, causes the processor to implement the terminal positioning method as described above.
The application discloses a terminal positioning method, a terminal positioning device, computer equipment and a storage medium, wherein the position of a first terminal can be determined according to first positioning information when the first service report information comprises the first positioning information by acquiring the first service report information corresponding to the first terminal to be positioned; the method comprises the steps that when the first service report information is determined not to include the first positioning information, a Bluetooth information list is obtained, and a second terminal adjacent to the first terminal can be determined according to a Bluetooth identification code in the Bluetooth information list; by acquiring the second positioning information corresponding to the second terminal, the second positioning information can be used as the position of the first terminal, so that the sharing of the positioning information is realized, and the probability of successfully positioning the first terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a terminal positioning method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of service report information sent by a receiving terminal according to an embodiment of the present application;
fig. 3 is a schematic diagram of a first terminal generating a first bluetooth information list according to an embodiment of the present application;
fig. 4 is a schematic diagram of sending an open request to a first terminal according to an embodiment of the present application;
fig. 5 is a schematic block diagram of a terminal positioning apparatus provided in an embodiment of the present application;
fig. 6 is a schematic block diagram of a structure of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The embodiment of the application provides a terminal positioning method, a terminal positioning device, computer equipment and a storage medium. The terminal positioning method can be applied to a server, when the positioning information of the first terminal is determined not to be acquired, the adjacent second terminal is determined through the Bluetooth information list, the position of the first terminal is determined according to the positioning information of the second terminal, the positioning information sharing is realized, and the probability of successfully positioning the first terminal is improved.
The server may be an independent server or a server cluster.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
As shown in fig. 1, the terminal location method includes steps S10 through S40.
And step S10, acquiring first service report information corresponding to the first terminal to be positioned.
The terminal positioning method provided by the embodiment of the application can be applied to a scene of positioning an out-of-service operator. As the business assessment of the business personnel and the personal safety protection of the business personnel are needed, the business personnel need to be positioned regularly or in real time. For example, the location information of the service person can be obtained by positioning through a terminal carried by the service person. The terminal can be an electronic device such as a smart phone, a tablet computer, a notebook computer, a wearable device and the like, and is used for providing a service staff processing service.
Illustratively, the business operator may perform business operations at a business application on the terminal. It should be noted that the service application is an application or an applet dedicated to processing services. The service application program can send service report information to the server in a timing or real-time mode.
Referring to fig. 2, fig. 2 is a schematic diagram of a service report message sent by a receiving terminal according to an embodiment of the present disclosure. As shown in fig. 2, when there are multiple terminals, the server may determine each terminal in turn as a first terminal to be located; then, first service report information sent by the first terminal is received. The first service report information may include the first positioning information and the first bluetooth identification code, or only include the first bluetooth identification code.
The method comprises the steps that a first Bluetooth identification code corresponding to a first terminal can be obtained by receiving first service report information sent by the first terminal, and when first positioning information exists in the first service report information, the position of the first terminal is determined according to the first positioning information; or when the first service report information does not have the first positioning information, the adjacent second terminal is determined according to the first Bluetooth identification code, and then the position of the first terminal can be determined according to the positioning information of the second terminal.
Illustratively, the first terminal is installed with a business application. It should be noted that, if the service application in the first terminal obtains the positioning right, positioning may be performed to obtain the first positioning information; if the service application program in the first terminal does not obtain the positioning authority, positioning cannot be performed, so that the first service report information does not include the first positioning information.
It can be understood that the positioning right described in the embodiment of the present application mainly refers to a background positioning right. For example, when a business application is running on the current interface, the business application typically turns on the positioning authority so that positioning can be performed. When the service application program runs in the background, if the service application program starts the background positioning authority, the service application program can be positioned in the background; if the background positioning authority is not opened by the service application program, the service application program cannot be positioned in the background.
Illustratively, the first bluetooth identification code is generated by the first terminal according to the user information and/or the terminal information, and is used for identifying different bluetooth devices or different terminals. The user information may include, but is not limited to, a user name, an identification number, a user number, and the like. The terminal information may include an International Mobile Equipment Identity (IMEI), an International Mobile Subscriber Identity (IMSI), a Media Access Control (MAC) address, an Electronic Serial Number (ESN), a SIM Identification Number, and the like corresponding to the first terminal.
For example, the first terminal may perform encryption calculation on the user information and/or the terminal information based on an encryption algorithm such as a high-level encryption algorithm, a digest generation algorithm, or a hash algorithm, and use the obtained character string as the first bluetooth identification code of the first terminal. In addition, the name of the bluetooth device of the first terminal can be modified into the first bluetooth identification code, so that the bluetooth identification code of a certain terminal can be determined subsequently according to the name of the bluetooth device. For example, if the first bluetooth identity of the first terminal is AAA, the bluetooth device name of the first terminal may be modified to AAA. The first Bluetooth identification code corresponding to the first terminal can be obtained by encrypting the user information and/or the terminal information, and the subsequent server can determine the second terminal adjacent to the first terminal through the Bluetooth information list where the first Bluetooth identification code is located.
Step S20, when the first service report information includes first positioning information, determining a location of the first terminal according to the first positioning information.
It should be noted that, after acquiring the first service report information corresponding to the first terminal to be located, the server needs to determine whether the first service report information includes the first positioning information. And if the first service report information comprises the first positioning information, the service application program in the first terminal is indicated to be running on the current interface or the background positioning authority is started. And if the first service report information does not comprise the first positioning information, the service application program in the first terminal runs in the background and the background positioning authority is not started.
Illustratively, when the first service report information includes the first positioning information, the position of the first terminal is determined according to the first positioning information. The activity track of the attendant can thus be determined from a plurality of positions of the first terminal.
When the first service report information is judged to comprise the first positioning information, the position of the first terminal can be accurately determined according to the first positioning information, so that the service assessment of an operator can be accurately and conveniently realized, and the personal safety of the operator can be improved.
Step S30, when the first service report information does not include the first positioning information, obtaining a bluetooth information list, and determining a second terminal adjacent to the first terminal according to the bluetooth information list.
In the embodiment of the application, when it is determined that the first service report information does not include the first positioning information, a bluetooth information list uploaded by each terminal can be acquired; then, a second terminal adjacent to the first terminal is determined according to the bluetooth information list. Wherein, a plurality of bluetooth information lists of the same time period can be acquired.
Illustratively, the bluetooth information list may include a first bluetooth information list transmitted by the first terminal and/or a second bluetooth information list transmitted by the at least one other terminal.
The first Bluetooth information list comprises a first Bluetooth identification code corresponding to the first terminal and a second Bluetooth identification code corresponding to at least one adjacent terminal detected by the first terminal; the second bluetooth information list includes a third bluetooth identification code corresponding to each other terminal and at least one fourth bluetooth identification code detected by each other terminal.
For example, the server may receive a first bluetooth information list transmitted by the first terminal and a second bluetooth information list transmitted by the other terminals.
The process of the first terminal generating the first bluetooth information list is the same as the process of the other terminals generating the second bluetooth information list. In the embodiment of the present application, the generation of the first bluetooth information list will be described in detail as an example.
For example, the first terminal may periodically generate a first bluetooth information list and upload the first bluetooth information list to the server. Of course, the first terminal may also generate the first bluetooth information list when detecting that the background positioning right is not opened by the service application.
Referring to fig. 3, fig. 3 is a schematic diagram of a first terminal generating a first bluetooth information list according to an embodiment of the present disclosure. As shown in fig. 3, the process of generating the first bluetooth information list includes: the first terminal starts the Bluetooth equipment, performs Bluetooth search through the Bluetooth equipment and obtains the name of the Bluetooth equipment in a preset range; based on a preset format type, carrying out format screening on the Bluetooth equipment name to obtain a target Bluetooth equipment name; and generating a first Bluetooth information list according to the name of the target Bluetooth device.
For example, the preset range may be determined according to a maximum communication distance of the bluetooth device, and the specific value is not limited herein.
It should be noted that, because the bluetooth device name corresponding to the bluetooth device in the terminal used by the attendant is generated by the bluetooth identification code, and is different from the bluetooth device name corresponding to the terminal of the general user in format, format screening can be performed on a plurality of bluetooth device names through a preset format type, so that the target bluetooth device name can be obtained. The target Bluetooth device name refers to a Bluetooth device name corresponding to the terminal of the salesman.
To further ensure the privacy and security of the bluetooth information list, the bluetooth information list may be stored in a node of a block chain.
By acquiring the bluetooth information list when it is determined that the first service report information does not include the first positioning information, it is possible to determine a second terminal adjacent to the first terminal according to the bluetooth identification code in the bluetooth information list.
In this embodiment, after the bluetooth information list is obtained, a second terminal adjacent to the first terminal may be determined according to the bluetooth information list. The second terminal adjacent to the first terminal may be determined according to a first bluetooth information list sent by the first terminal or a second bluetooth information list sent by another terminal. Therefore, the second terminal can be determined more flexibly and conveniently, the probability of successfully determining the second terminal can be improved, and the probability of successfully positioning the first terminal is improved.
In some embodiments, determining a second terminal adjacent to the first terminal according to the bluetooth information list may include: and according to each second Bluetooth identification code in the first Bluetooth information list, determining the second terminal from the adjacent terminals corresponding to the second Bluetooth identification codes.
It should be noted that, since the first bluetooth information list includes the second bluetooth identification code corresponding to at least one neighboring terminal detected by the first terminal, the second terminal may be determined from the neighboring terminals corresponding to the second bluetooth identification code according to each second bluetooth identification code in the first bluetooth information list.
Illustratively, each second bluetooth identity corresponds to a neighboring terminal. For example, the neighboring terminals may include a neighboring terminal a, a neighboring terminal B, and a neighboring terminal C, and the like.
Illustratively, like the first terminal, the neighboring terminal is also installed with a service application.
In some embodiments, determining the second terminal from the neighboring terminals corresponding to the second bluetooth identification code according to each second bluetooth identification code in the first bluetooth information list may include: determining whether a service application program corresponding to the adjacent terminal has a positioning authority; and determining the adjacent terminal of the corresponding service application program with the positioning authority as a second terminal.
For example, in the neighboring terminal corresponding to the second bluetooth identity, if the service application corresponding to the neighboring terminal a has the positioning right, the neighboring terminal a may be determined as the second terminal. If the service application program corresponding to the adjacent terminal B also has the positioning right, the adjacent terminal B may also be determined as the second terminal.
It should be noted that the positioning right here may be a background positioning right when the business application runs in the background.
According to each second Bluetooth identification code in the first Bluetooth information list, the adjacent terminal with the positioning authority of the corresponding service application program is determined as the second terminal from the adjacent terminals corresponding to the second Bluetooth identification codes, so that the second terminal is ensured to have the positioning authority, the position of the first terminal can be determined according to the second service report information corresponding to the second terminal, and the sharing of the positioning information is realized.
In still other embodiments, determining a second terminal that is proximate to the first terminal based on the bluetooth information list may include: and determining the second terminal according to the first Bluetooth identification code and the second Bluetooth information list.
It can be understood that, since the second bluetooth information list includes the third bluetooth identification code corresponding to each other terminal and at least one fourth bluetooth identification code detected by each other terminal, if the first terminal is adjacent to the other terminals, the second bluetooth information list detected by the other terminals includes the first bluetooth identification code of the first terminal, and therefore, the second terminal can be determined according to the first bluetooth identification code and the second bluetooth information list.
In some embodiments, determining the second terminal according to the first bluetooth identification code and the second bluetooth information list may include: comparing the first Bluetooth identification code with each fourth Bluetooth identification code in the second Bluetooth information list; and if the fourth Bluetooth identification code in the second Bluetooth information list is consistent with the first Bluetooth identification code, determining the second terminal from other terminals corresponding to the third Bluetooth identification code.
Illustratively, each third bluetooth identity corresponds to one other terminal. For example, other terminals may include other terminal D, other terminal E, and other terminal F, among others.
For example, for the other terminal D, if the fourth bluetooth identification code is consistent with the first bluetooth identification code in the second bluetooth information list corresponding to the other terminal D, the second terminal is determined according to the other terminal D.
For another example, for the other terminal E, if the fourth bluetooth identification code is consistent with the first bluetooth identification code in the second bluetooth information list corresponding to the other terminal E, the second terminal is determined according to the other terminal E.
By comparing the first bluetooth identification code with each fourth bluetooth identification code in the second bluetooth information list, the fourth bluetooth identification code may be consistent with the first bluetooth identification code in the second bluetooth information list, and the second terminal may be determined from other terminals corresponding to the third bluetooth identification code.
Illustratively, like the first terminal, other terminals are also installed with the service application.
For example, determining the second terminal from the other terminals corresponding to the third bluetooth identification code may include: determining whether business application programs corresponding to other terminals have positioning authority or not; and determining other terminals of the corresponding service application program with the positioning authority as second terminals.
For example, for other terminals D and E, if the service application program corresponding to the other terminal D has the positioning right, the other terminal D may be determined as the second terminal; if the service application program corresponding to the other terminal E has the positioning right, the other terminal E may be determined as the second terminal.
By determining whether the service application program corresponding to the other terminal has the positioning authority, the other terminal of which the corresponding service application program has the positioning authority can be determined as the second terminal, and then the position of the first terminal can be determined according to the positioning information of the second terminal, so that the sharing of the positioning information is realized.
Step S40, obtaining second positioning information corresponding to the second terminal, and determining the position of the first terminal according to the second positioning information.
In this embodiment of the application, after determining a second terminal adjacent to the first terminal according to the bluetooth information list, second positioning information corresponding to the second terminal may be obtained, and then the position of the first terminal may be determined according to the second positioning information.
In some embodiments, obtaining the second positioning information corresponding to the second terminal may include: acquiring second service report information corresponding to a second terminal; and extracting second positioning information in the second service report information.
For example, the server may receive second service report information sent by the second terminal in a timed or real-time manner, where the second service report information may include second positioning information corresponding to the second terminal and a bluetooth identification code.
It can be understood that, since the service application corresponding to the second terminal has the positioning right, the service application in the second terminal can implement positioning.
By acquiring the second service report information corresponding to the second terminal and extracting the second positioning information in the second service report information, the position of the first terminal can be determined according to the second positioning information, so that the sharing of the positioning information is realized, and the probability of successfully positioning the first terminal is improved.
In some embodiments, after determining the position of the first terminal according to the second positioning information, the terminal positioning method provided in this embodiment of the present application may further include: and generating an opening request of the positioning authority, and sending the opening request to the first terminal so that the first terminal can open the positioning authority of the service application program according to the opening request.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating an exemplary method for sending an open request to a first terminal according to an embodiment of the present disclosure. As shown in fig. 4, the server may generate an open request of the positioning right and transmit the open request to the first terminal.
It should be noted that, by sending the opening request to the first terminal, the first terminal opens the positioning right of the service application according to the opening request, so that when the first terminal sends the service report information next time, the service report information includes the positioning information of the first terminal. Thereby improving the probability of successfully locating the first terminal.
In the terminal positioning method provided in the foregoing embodiment, by receiving the first service report information sent by the first terminal, the first bluetooth identification code corresponding to the first terminal may be obtained, so that when the first service report information has the first positioning information, the position of the first terminal is determined according to the first positioning information, or when the first service report information does not have the first positioning information, the adjacent second terminal is determined according to the first bluetooth identification code, and further, the position of the first terminal may be determined according to the positioning information of the second terminal; when the first service report information is judged to comprise the first positioning information, the position of the first terminal can be accurately determined according to the first positioning information, so that the service assessment of a salesman can be accurately and conveniently realized, and the personal safety of the salesman can be improved; the adjacent terminal with the positioning authority of the corresponding service application program is determined as the second terminal from the adjacent terminals corresponding to the second Bluetooth identification codes according to each second Bluetooth identification code in the first Bluetooth information list, so that the second terminal is ensured to have the positioning authority, the position of the first terminal can be determined according to second service report information corresponding to the second terminal, and the sharing of the positioning information is realized; by acquiring second service report information corresponding to the second terminal and extracting second positioning information in the second service report information, the position of the first terminal can be determined according to the second positioning information, so that the sharing of the positioning information is realized, and the probability of successfully positioning the first terminal is improved; the starting request is sent to the first terminal, so that the first terminal starts the positioning authority of the service application program according to the starting request, and when the first terminal sends the service report information next time, the service report information comprises the positioning information of the first terminal, and the probability of successfully positioning the first terminal is improved.
Referring to fig. 5, fig. 5 is a schematic block diagram of a terminal positioning apparatus 1000 according to an embodiment of the present application, where the terminal positioning apparatus is configured to execute the terminal positioning method described above. Wherein, the terminal positioning device can be configured in the server.
As shown in fig. 5, the terminal positioning apparatus 1000 includes: an information acquisition module 1001, a first positioning module 1002, a terminal determination module 1003 and a second positioning module 1004.
The information obtaining module 1001 is configured to obtain first service report information corresponding to a first terminal to be located.
A first positioning module 1002, configured to determine, when the first service report information includes first positioning information, a position of the first terminal according to the first positioning information.
A terminal determining module 1003, configured to, when the first service report information does not include the first positioning information, obtain a bluetooth information list, and determine, according to the bluetooth information list, a second terminal that is adjacent to the first terminal.
A second positioning module 1004, configured to obtain second positioning information corresponding to the second terminal, and determine the position of the first terminal according to the second positioning information.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the apparatus and the modules described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The apparatus described above may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 6.
Referring to fig. 6, fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present disclosure.
Referring to fig. 6, the computer device includes a processor and a memory connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment.
The internal memory provides an environment for the execution of a computer program on a non-volatile storage medium, which, when executed by the processor, causes the processor to perform any of the terminal location methods.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
acquiring first service report information corresponding to a first terminal to be positioned; when the first service report information comprises first positioning information, determining the position of the first terminal according to the first positioning information; when the first service report information does not comprise the first positioning information, acquiring a Bluetooth information list, and determining a second terminal adjacent to the first terminal according to the Bluetooth information list; and acquiring second positioning information corresponding to the second terminal, and determining the position of the first terminal according to the second positioning information.
In one embodiment, the processor, in enabling determining a second terminal adjacent to the first terminal according to the bluetooth information list, is configured to enable:
according to each second Bluetooth identification code in the first Bluetooth information list, determining the second terminal from the adjacent terminals corresponding to the second Bluetooth identification codes; or determining the second terminal according to the first Bluetooth identification code and the second Bluetooth information list.
In one embodiment, the proximity terminal is installed with a service application; the processor is configured to, when determining the second terminal from the neighboring terminals corresponding to the second bluetooth identification code according to each second bluetooth identification code in the first bluetooth information list, implement:
determining whether a service application program corresponding to the adjacent terminal has a positioning authority; and determining the adjacent terminal of which the corresponding service application program has the positioning authority as the second terminal.
In one embodiment, the processor, when implementing determining the second terminal according to the first bluetooth identification code and the second bluetooth information list, is configured to implement:
comparing the first bluetooth identification code with each fourth bluetooth identification code in the second bluetooth information list; and if a fourth Bluetooth identification code is consistent with the first Bluetooth identification code in the second Bluetooth information list, determining the second terminal from other terminals corresponding to the third Bluetooth identification code.
In an embodiment, when implementing obtaining the second positioning information corresponding to the second terminal, the processor is configured to implement:
acquiring second service report information corresponding to the second terminal; and extracting second positioning information in the second service report information.
In one embodiment, the first terminal is installed with a service application; the processor, after implementing determining the location of the first terminal according to the second positioning information, is further configured to implement:
and generating an opening request of the positioning authority, and sending the opening request to the first terminal so that the first terminal opens the positioning authority of the service application program according to the opening request.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the processor executes the program instructions to implement any terminal positioning method provided in the embodiment of the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (SD Card), a Flash memory Card (Flash Card), and the like provided on the computer device.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The block chain referred by the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A terminal positioning method is characterized by comprising the following steps:
acquiring first service report information corresponding to a first terminal to be positioned;
when the first service report information comprises first positioning information, determining the position of the first terminal according to the first positioning information;
when the first service report information does not comprise the first positioning information, acquiring a Bluetooth information list, and determining a second terminal adjacent to the first terminal according to the Bluetooth information list;
and acquiring second positioning information corresponding to the second terminal, and determining the position of the first terminal according to the second positioning information.
2. The terminal positioning method according to claim 1, wherein the bluetooth information list comprises a first bluetooth information list sent by the first terminal and/or a second bluetooth information list sent by at least one other terminal;
the first bluetooth information list includes a first bluetooth identification code corresponding to the first terminal and a second bluetooth identification code corresponding to at least one neighboring terminal detected by the first terminal, and the second bluetooth information list includes a third bluetooth identification code corresponding to each of the other terminals and at least one fourth bluetooth identification code detected by each of the other terminals.
3. The method according to claim 2, wherein the determining the second terminal adjacent to the first terminal according to the bluetooth information list comprises:
according to each second Bluetooth identification code in the first Bluetooth information list, determining the second terminal from the adjacent terminals corresponding to the second Bluetooth identification codes; or
And determining the second terminal according to the first Bluetooth identification code and the second Bluetooth information list.
4. A terminal positioning method according to claim 3, characterized in that said neighbouring terminal is installed with a service application; the determining, according to each second bluetooth identification code in the first bluetooth information list, the second terminal from the neighboring terminals corresponding to the second bluetooth identification code includes:
determining whether a service application program corresponding to the adjacent terminal has a positioning authority;
and determining the adjacent terminal of which the corresponding service application program has the positioning authority as the second terminal.
5. The method according to claim 3, wherein the determining the second terminal according to the first bluetooth identification code and the second bluetooth information list comprises:
comparing the first bluetooth identification code with each fourth bluetooth identification code in the second bluetooth information list;
and if a fourth Bluetooth identification code is consistent with the first Bluetooth identification code in the second Bluetooth information list, determining the second terminal from other terminals corresponding to the third Bluetooth identification code.
6. The method according to claim 1, wherein the obtaining second positioning information corresponding to the second terminal comprises:
acquiring second service report information corresponding to the second terminal;
and extracting second positioning information in the second service report information.
7. The terminal positioning method according to any of claims 1-6, characterized in that the first terminal is installed with a service application; after determining the position of the first terminal according to the second positioning information, the method includes:
and generating an opening request of the positioning authority, and sending the opening request to the first terminal so that the first terminal opens the positioning authority of the service application program according to the opening request.
8. A terminal positioning device, comprising:
the information acquisition module is used for acquiring first service report information corresponding to a first terminal to be positioned;
a first positioning module, configured to determine, when the first service report information includes first positioning information, a position of the first terminal according to the first positioning information;
a terminal determining module, configured to obtain a bluetooth information list when the first service report information does not include the first positioning information, and determine, according to the bluetooth information list, a second terminal that is adjacent to the first terminal;
and the second positioning module is used for acquiring second positioning information corresponding to the second terminal and determining the position of the first terminal according to the second positioning information.
9. A computer device, wherein the computer device comprises a memory and a processor;
the memory for storing a computer program;
the processor configured to execute the computer program and to implement the terminal positioning method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the terminal location method according to any one of claims 1 to 7.
CN202110732724.5A 2021-06-29 2021-06-29 Terminal positioning method and device, computer equipment and storage medium Active CN113438598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110732724.5A CN113438598B (en) 2021-06-29 2021-06-29 Terminal positioning method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110732724.5A CN113438598B (en) 2021-06-29 2021-06-29 Terminal positioning method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113438598A true CN113438598A (en) 2021-09-24
CN113438598B CN113438598B (en) 2023-02-03

Family

ID=77757949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110732724.5A Active CN113438598B (en) 2021-06-29 2021-06-29 Terminal positioning method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113438598B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015095191A (en) * 2013-11-13 2015-05-18 株式会社Agoop Information processing system, population flow rate estimating device, program, information processing method, and population flow rate estimating method
KR20160026437A (en) * 2014-09-01 2016-03-09 이승진 Method for managing service for tracing of missing person, system and computer-readable medium recording the method
CN107196921A (en) * 2017-04-28 2017-09-22 成都新橙北斗智联有限公司 A kind of cruising inspection system and method based on Bluetooth beacon equipment
CN107306441A (en) * 2016-04-22 2017-10-31 华为技术有限公司 Send method, device and the WAP of Bluetooth broadcast frame
CN110460983A (en) * 2019-08-06 2019-11-15 RealMe重庆移动通信有限公司 Bluetooth title searching method, device, electronic equipment and storage medium
CN111194079A (en) * 2018-11-15 2020-05-22 朱海威 Method for positioning terminal by using Bluetooth signal
CN111601293A (en) * 2020-05-12 2020-08-28 北京三快在线科技有限公司 Positioning method and device based on Bluetooth beacon equipment
CN112073956A (en) * 2020-09-07 2020-12-11 中国联合网络通信集团有限公司 User information determination method, device, equipment and computer readable storage medium
CN112995907A (en) * 2019-12-17 2021-06-18 天津蠃鱼企业管理咨询合伙企业(有限合伙) Monitoring system, monitoring method, storage medium and electronic equipment
CN112995918A (en) * 2019-12-17 2021-06-18 Oppo广东移动通信有限公司 Positioning method, positioning device, storage medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015095191A (en) * 2013-11-13 2015-05-18 株式会社Agoop Information processing system, population flow rate estimating device, program, information processing method, and population flow rate estimating method
KR20160026437A (en) * 2014-09-01 2016-03-09 이승진 Method for managing service for tracing of missing person, system and computer-readable medium recording the method
CN107306441A (en) * 2016-04-22 2017-10-31 华为技术有限公司 Send method, device and the WAP of Bluetooth broadcast frame
CN107196921A (en) * 2017-04-28 2017-09-22 成都新橙北斗智联有限公司 A kind of cruising inspection system and method based on Bluetooth beacon equipment
CN111194079A (en) * 2018-11-15 2020-05-22 朱海威 Method for positioning terminal by using Bluetooth signal
CN110460983A (en) * 2019-08-06 2019-11-15 RealMe重庆移动通信有限公司 Bluetooth title searching method, device, electronic equipment and storage medium
CN112995907A (en) * 2019-12-17 2021-06-18 天津蠃鱼企业管理咨询合伙企业(有限合伙) Monitoring system, monitoring method, storage medium and electronic equipment
CN112995918A (en) * 2019-12-17 2021-06-18 Oppo广东移动通信有限公司 Positioning method, positioning device, storage medium and electronic equipment
CN111601293A (en) * 2020-05-12 2020-08-28 北京三快在线科技有限公司 Positioning method and device based on Bluetooth beacon equipment
CN112073956A (en) * 2020-09-07 2020-12-11 中国联合网络通信集团有限公司 User information determination method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113438598B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN107483419B (en) Method, device and system for authenticating access terminal by server, server and computer readable storage medium
CN109766696A (en) The setting method and device of software permission, storage medium, electronic device
CN110602455B (en) Video storage system, video processing method, device, equipment and storage medium
EP3289461B1 (en) Wireless communications access security
CN111815842A (en) Health information uplink method and device, storage medium and electronic device
CN105468393B (en) Module release upgrade method and terminal installation
CN111506656A (en) Consensus processing method and device for block chain system, intelligent device and storage medium
CN111882233A (en) Storage risk early warning method, system and device based on block chain and storage medium
CN110224854A (en) Dispositions method, device and the storage medium of block chain node
CN110381075B (en) Block chain-based equipment identity authentication method and device
CN110222535B (en) Processing device, method and storage medium for block chain configuration file
CN111182525A (en) Method and device for storing data
WO2018010480A1 (en) Network locking method for esim card, terminal, and network locking authentication server
CN111291345A (en) Voiceprint data processing method and device, computer equipment and storage medium
CN110928880A (en) Data processing method, device, terminal and medium based on block chain
CN111224782B (en) Data verification method based on digital signature, intelligent device and storage medium
CN110619022B (en) Node detection method, device, equipment and storage medium based on block chain network
CN113438598B (en) Terminal positioning method and device, computer equipment and storage medium
CN111818087A (en) Block chain node access method, device, equipment and readable storage medium
CN109348472B (en) OTA (over the air) upgrading method and system based on single-point pushing
CN115567218A (en) Data processing method and device of security certificate based on block chain and server
CN112732676B (en) Block chain-based data migration method, device, equipment and storage medium
EP3949327B1 (en) Secure transmission
CN114979109A (en) Behavior track detection method and device, computer equipment and storage medium
CN113221151A (en) Data processing method and device based on block chain and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant