CN111787075A - Equipment positioning method and device - Google Patents

Equipment positioning method and device Download PDF

Info

Publication number
CN111787075A
CN111787075A CN202010562072.0A CN202010562072A CN111787075A CN 111787075 A CN111787075 A CN 111787075A CN 202010562072 A CN202010562072 A CN 202010562072A CN 111787075 A CN111787075 A CN 111787075A
Authority
CN
China
Prior art keywords
position information
preset
equipment
subset
location information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010562072.0A
Other languages
Chinese (zh)
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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010562072.0A priority Critical patent/CN111787075A/en
Publication of CN111787075A publication Critical patent/CN111787075A/en
Priority to PCT/CN2021/099600 priority patent/WO2021254261A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The specification discloses a device positioning method and device. The method comprises the following steps: the server receives the identification of at least one associated device sent by the device to be positioned; the equipment to be positioned is as follows: the server side cannot acquire the equipment of the credible position information; the associated equipment is as follows: the device is provided with a preset association behavior with the device to be positioned, wherein the preset association behavior is a behavior generated under the condition that the positions of the devices are close to each other; respectively acquiring the trusted position information of the associated equipment according to the received identification of at least one associated equipment; determining at least one subset meeting preset conditions in the acquired associated device trusted position information set, wherein the preset conditions at least comprise: the difference between any two pieces of credible position information in the subset is smaller than a preset difference requirement, and the number of the credible position information in the subset is larger than a preset number requirement; and determining the reference position of the equipment to be positioned according to the credible position information contained in the at least one subset.

Description

Equipment positioning method and device
Technical Field
The embodiment of the specification relates to the technical field of internet application, in particular to a device positioning method and device.
Background
In an application scenario where terminal devices are distributed in different geographical locations, a management party of the device generally has a need to locate the terminal devices. However, in some cases, the management party may not be able to accurately obtain the geographical location of the terminal device, which makes it difficult to perform subsequent operations.
Taking the amount settlement system as an example, a large number of settlement devices are distributed in different geographical locations, and the settlement devices have the requirement of field maintenance. The manager needs to determine the position of the settlement device before arranging the staff to operate on site. However, some settlement devices do not have a positioning function, or the settlement devices do not have authorization to start position information, so that the server of the manager cannot obtain the position information of the devices, and it is difficult to provide field maintenance service.
Disclosure of Invention
In order to enable a server to obtain location information of a device, the specification discloses a device positioning method and device. The technical scheme is as follows:
a device positioning method is applied to a server side, the server side has the capability of obtaining trusted position information of a device, and the method comprises the following steps:
the server receives the identification of at least one associated device sent by the device to be positioned; the equipment to be positioned is as follows: the server side cannot acquire the equipment of the credible position information; the associated equipment is as follows: the device is provided with a preset association behavior with the device to be positioned, wherein the preset association behavior is a behavior generated under the condition that the positions of the devices are close to each other;
respectively acquiring the trusted position information of the associated equipment according to the received identification of at least one associated equipment;
determining at least one subset meeting preset conditions in the acquired associated device trusted position information set, wherein the preset conditions at least comprise: the difference between any two pieces of credible position information in the subset is smaller than a preset difference requirement, and the number of the credible position information in the subset is larger than a preset number requirement;
and determining the reference position of the equipment to be positioned according to the credible position information contained in the at least one subset.
A device location apparatus configured at a server, the server having a capability of obtaining trusted location information of a device, the apparatus comprising:
the identification receiving unit is used for receiving the identification of at least one associated device sent by the device to be positioned; the equipment to be positioned is as follows: the server side cannot acquire the equipment of the credible position information; the associated equipment is as follows: the device is provided with a preset association behavior with the device to be positioned, wherein the preset association behavior is a behavior generated under the condition that the positions of the devices are close to each other;
the position information acquisition unit is used for respectively acquiring the credible position information of the associated equipment according to the received identification of the at least one associated equipment;
a subset determining unit, configured to determine, in the obtained associated device trusted location information set, at least one subset that meets a preset condition, where the preset condition at least includes: the difference between any two pieces of credible position information in the subset is smaller than a preset difference requirement, and the number of the credible position information in the subset is larger than a preset number requirement;
and the device positioning unit is used for determining the reference position of the device to be positioned according to the credible position information contained in the at least one subset.
By using the technical scheme, the credible position information set can be acquired through the associated equipment with the preset associated behavior with the equipment to be positioned, and the reference position of the equipment to be positioned is determined according to the credible position set subset meeting the preset conditions, so that the server can be positioned to the equipment to be positioned.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of a device positioning method provided in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a method for locating a device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an apparatus positioning device provided in an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for configuring a method according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
In an application scenario where terminal devices are distributed in different geographical locations, a management party of the device generally has a need to locate the terminal devices.
For example, for a shared terminal device, such as a shared bicycle, a shared automobile, etc., in order to facilitate daily maintenance, recycling, releasing, and theft prevention, a manager of the device generally needs to locate the shared terminal device and obtain current location information of the shared terminal device.
Due to the location requirements of the terminal device, the management party of the device usually has the capability of acquiring the location information of the terminal device. For example, the terminal device itself may have a positioning function, and may obtain its own location information by a base station positioning method; the management side of the device can establish connection with the terminal device through the server, and obtains the position information under the condition that the terminal device starts the authorization of the position information.
It is to be noted that, although the management side has the capability of acquiring the location information of the terminal devices, this does not mean that the management side can acquire the location information of all the terminal devices. In some cases, the management party may not be able to acquire the location information of some terminal devices, making it difficult to perform subsequent operations.
For example, the terminal device itself does not have a positioning function, and cannot acquire its own location information; or the terminal equipment does not start the authorization of the position information, so that the server cannot acquire the position information; or the positioning function of the terminal equipment fails, and the self position information is not accurately acquired.
For ease of understanding, and again taking the example of a monetary settlement system, a large number of settlement devices are distributed in different geographical locations, and these settlement devices have a need for field maintenance. The manager needs to determine the position of the settlement device before arranging the staff to operate on site. However, some settlement devices do not have a positioning function, or the settlement devices do not have authorization to start position information, so that the server of the manager cannot obtain the position information of the devices, and it is difficult to provide field maintenance service.
In order to solve the above problem, an embodiment of the present specification discloses an apparatus positioning method. In practical application, from the perspective of a manager, the location information of a part of devices can be directly acquired, the part of devices are used as trusted devices, and the location information of the trusted devices is used as trusted location information. And the part of the equipment which cannot acquire the position information by the management party can be used as the equipment to be positioned.
The device positioning method disclosed in the embodiment of the specification aims to position a device to be positioned. Specifically, the device positioning method determines the trusted device with the position close to the device to be positioned by using the trusted position information which can be acquired by the management party through modes of screening, statistics and the like, and further reduces the current position range of the device to be positioned by using the determined trusted position information of the trusted device.
By the method, when the manager cannot directly acquire the position information of the equipment to be positioned, the manager can determine the current position range of the equipment to be positioned by acquiring the trusted position information of other trusted equipment close to the position of the equipment to be positioned, so that the equipment to be positioned can be conveniently searched.
It is worth mentioning that, in the embodiment of the present specification, the device to be positioned and another trusted device that can acquire the location information may be the same device, or may not be the same device, for example, the device to be positioned may be a shared automobile to be positioned, and the trusted device may be a mobile phone device; the form of the location information is also not limited, and may be location coordinates, such as longitude and latitude coordinates; or address text, such as a street in a community.
Fig. 1 is a schematic flowchart of an apparatus positioning method disclosed in an embodiment of the present disclosure. The method is applied to a server side, an equipment management side obtains the position information of the equipment through the server side, and the server side has the capability of obtaining the credible position information of the equipment.
The method may specifically include:
s101: the server receives the identification of at least one associated device sent by the device to be positioned.
S102: and respectively acquiring the trusted position information of the associated equipment according to the received identification of at least one associated equipment.
S103: and determining at least one subset meeting preset conditions in the acquired associated equipment trusted position information set.
S104: and determining the reference position of the equipment to be positioned according to the credible position information contained in the at least one subset.
In brief, in the above method, the device to be positioned determines the associated device first, and the associated device may be a device whose position is once close to the device to be positioned, or a device whose position is currently close to the device to be positioned. The server side obtains the credible position information of the credible equipment in the associated equipment, and determines the range in which the credible position information is concentrated by utilizing a statistical means according to the obtained credible position information set to be used as the reference position of the equipment to be positioned.
According to the meaning of the associated equipment, the associated equipment determined by the equipment to be positioned is the equipment which is possibly close to the position of the equipment to be positioned. Although any associated device is not necessarily close to the position of the device to be positioned, the distributed positions of the associated devices are counted, and if an area with more associated devices aggregated can be found, it is indicated that the device to be positioned is also located in the area with a high probability, and thus the area can be determined as the position of the device to be positioned.
For ease of understanding, a schematic diagram of a device location method as provided herein is shown in fig. 2.
Where the triangle represents the device to be located and the circle represents the trusted device in the associated device.
The triangle position in the figure represents the actual position of the device to be positioned, but the server cannot directly obtain the position. And the server side determines the positions of the circles in the graph by acquiring the credible position information of the associated equipment.
As shown in the drawing, a range may be determined by a statistical method, that is, a dashed circle in the drawing is obtained, and more associated devices are gathered, which indicates that the device to be positioned is also located in the area with a high probability, and thus the range may be used as a reference position of the device to be positioned.
Obviously, from a practical point of view, the actual position of the device to be positioned is indeed contained in this range.
Specifically, for S101: the server receives the identifier of at least one associated device sent by the device to be positioned, and is explained in detail as follows:
the device to be positioned may be a device for which the server cannot acquire trusted location information.
The associated device may be a device having a preset associated behavior with the device to be located, and the preset associated behavior may be a behavior generated in case of proximity in location between the devices.
The occurrence time of the preset association behavior is not limited in this embodiment. The associated device may be a device that has a preset associated behavior with the device to be positioned within a preset time period, may also be a device that has a preset associated behavior with the device to be positioned at present, and may also be a device that has a preset associated behavior with the device to be positioned.
The association device may specifically include: the device comprises at least one of a device which is in network connection with the device to be positioned, a device which is in interaction history with the device to be positioned, a device which is in binding relation with the device to be positioned, and a device which is sensed by the device to be positioned within a preset sensing range.
Of course, the preset associated behaviors such as network connection, device interaction, device binding and sensing are behaviors that may be generated in the case of proximity in location between devices. The occurrence time of these preset association behaviors is not limited in this embodiment either.
As a specific example, the association device may include: the mobile phone device is characterized by comprising a mobile phone device which shows a payment code to a device to be positioned, a server device which is in network connection with the device to be positioned, a mobile phone device which is perceived by the device to be positioned within a range of 10 meters through a Bluetooth function and also has the Bluetooth function, and a mobile phone device which generates a binding relationship after the device to be positioned is started by scanning the code.
Through the description of the associated equipment, the equipment to be positioned can acquire and store the equipment identifier of the associated equipment through the preset associated behavior so as to be conveniently sent to the server side in the subsequent process.
For example, by establishing a network connection, a device identification may be obtained; through device interaction, a device identification may be obtained.
Since the device to be located can store the device identifier of the associated device, presetting the time when the associated action occurs does not affect the implementation of this embodiment.
And the identification of the associated device may include: an identification of the device itself, and/or an identification of a user on the device.
The identity of the device itself, for example, a device identification code or an IP address or MAC address of the device. The identifier of the user on the device may be, for example, a user identifier of an application login user on the device, or a user identifier of a device login user bound to the device.
In addition, the same identifier of the same associated device may exist in the identifier of the associated device sent by the device to be located.
S102: and respectively acquiring the trusted position information of the associated equipment according to the received identification of at least one associated equipment.
The server side can respectively and immediately acquire the current credible position information of the associated equipment according to the received identification of the at least one associated equipment.
Because the server has the capability of acquiring the trusted position information of the equipment, the server can respectively and immediately acquire the current trusted position information of the associated equipment according to the identification after acquiring the identification of the associated equipment.
For example, after the identification IP address of the associated mobile phone device is obtained, the server establishes network connection with the associated mobile phone device through the IP address, and after the associated mobile phone device starts authorization of the location information, the current longitude and latitude coordinate location stored in the associated mobile phone device and obtained by using the GPS positioning method is obtained as the current trusted location information.
Another example is that after the identification IP address of the server device is obtained, an address text stored when the IP address is registered may be determined according to the IP address, and the address text information is used as the trusted location information of the server device.
In addition, the server may also search, in a pre-stored correspondence set between the device identifier and the trusted location information, the trusted location information corresponding to the identifier of the associated device according to the received identifier of the at least one associated device.
The server side prestores the corresponding relation set of the equipment identification and the credible position information, so the server side has the capability of acquiring the credible position information of the equipment, and can search the corresponding credible position information in the corresponding relation set by using the equipment identification.
An example of a corresponding relationship set between a device identifier and trusted location information is shown in table 1 below, where the device identifier is a login user identifier mobile phone number of a certain payment application, and the trusted location information is a delivery address stored in the payment application by the login user. The user mobile phone number and the corresponding user receiving address of the payment application are stored in the application server.
Device identification Trusted location information
135******** First street first cell number 1 in unknown district of unknown city
184******** First street first cell number 2 of unknown city unknown district
... ...
156******** Number 10 of second street of unknown district of unknown city
TABLE 1 table of correspondence between device identification and trusted location information
The server may search, according to the obtained identifier of the at least one associated device, corresponding trusted location information in the correspondence table in table 1.
It should be noted that, since the server may not necessarily obtain trusted location information of all devices, there may be a case where the server may not obtain trusted location information of some associated devices.
Therefore, the server side obtains the trusted location information of the associated device for the identifier of the at least one associated device, and the obtaining result of each trusted location information is not limited in this embodiment.
Through the step S102, the trusted position information of the associated device as much as possible can be acquired, and because the associated device and the device to be positioned have the preset associated behavior, namely the behavior which may be generated under the condition that the device key positions are close, the trusted position information of the associated device and the specific position of the device to be positioned are relatively close to each other to a certain extent.
By using the credible position information of the associated equipment as much as possible, the subsequent steps can be conveniently executed, and the position range of the equipment to be positioned is further reduced.
S103: and determining at least one subset meeting preset conditions in the acquired associated equipment trusted position information set.
The preset conditions at least include: the difference between any two credible position information in the subset is smaller than a preset difference requirement, and the number of the credible position information in the subset is larger than a preset number requirement.
The difference requirements are also different from each other due to different forms of trusted location information. Therefore, the preset conditions are explained in the form of two forms of position coordinates and address text as examples:
1) in the case where the trusted location information is in the form of location coordinates:
the preset conditions at least include: the distance between any two position coordinates in the subset is smaller than a preset distance threshold, and the number of the credible position information in the subset is larger than a preset number requirement.
The distance between the position coordinates may be an euclidean distance or a cosine distance. The distance is not limited in the present embodiment.
2) In the case where the trusted location information is in the form of address text:
the preset conditions at least include: the text similarity between any address text in the subset and any other address text in the subset is not less than a preset similarity threshold, and the number of the credible position information in the subset is greater than a preset number requirement.
The present embodiment does not limit the method for calculating the text similarity.
The following are two text similarity calculation methods disclosed in this embodiment:
the first method comprises the following steps: respectively converting two groups of address texts to be compared into character sets; and calculating the ratio of the number of the characters in the intersection of the two character sets to the number of the characters in the union set, and determining the text similarity between the two groups of address texts to be compared according to the ratio.
The second method comprises the following steps: and calculating the ratio of the number of repeated characters in the two groups of address texts to be compared to the sum of all the characters, and determining the text similarity between the two groups of address texts to be compared according to the ratio.
For example, for two sets of address text "unknown city unknown region first street first cell number 1" and "unknown city unknown region first street first cell number 3", using the second method, the number of repeated characters is 30, and the total number of characters is 32, so the ratio is 30/32, i.e., 0.9375.
Of course, when determining the text similarity between the two sets of address texts to be compared according to the ratio, the influence of increasing the weight may be considered.
For example, when calculating the text similarity for the first address text and the second address text, the ratio is calculated to be 0.9 by any one of the above methods, and according to the correspondence between the pre-stored address text and the text similarity weight, the text similarity weight of the first address text is 1, and the text similarity weight of the second address text is 0.5.
Therefore, the text similarity corresponding to the first address text and the second address text is 0.9; the text similarity of the second address text to the first address text is 0.45.
The determining factor of the text similarity weight is not limited in this embodiment. For example, if the device to be located sends the same identifiers of multiple identical associated devices in S101, it indicates that the associated devices often appear near the device to be located, and the text similarity weight when the address text corresponding to the identifier of the associated device is compared with other address texts may be appropriately increased.
In addition, since the address text can be converted into the coordinate position according to the geographic position, after the address text is converted into the coordinate position by using the geographic position, the subset meeting the preset condition can be determined by using the preset condition in the case of the coordinate position.
Obviously, the subset determined in S103 and meeting the preset condition removes the trusted location information with a large difference, and the number of the trusted location information with a small difference is enough, so that the range of the device to be positioned can be determined to a large extent.
S104: and determining the reference position of the equipment to be positioned according to the credible position information contained in the at least one subset.
According to the trusted location information included in the subset determined in S103, a range can be determined as a reference location of the device to be located.
The embodiment of the method for determining the range is not limited, and two examples are given as follows:
1) the trusted location information is in the form of a coordinate location
And calculating the central points of all the coordinate positions in one subset, determining the coordinate position with the maximum distance from the central point in the subset, and making a circle by taking the central point as the center of the circle and the distance between the determined coordinate position and the central point as the radius. The range in the circle is the reference position of the device to be positioned.
2) The trusted location information is in the form of address text
And aiming at all address texts in a subset, determining the part which is overlapped most as the reference position of the equipment to be positioned. For example, for all address texts "unknown city unknown region first street first cell No. 1", "unknown city unknown region first street first cell No. 3" and "unknown city unknown region first street first cell No. 5" in the subset, the reference location of the device to be located may be determined as "unknown city unknown region first street first cell".
By the method, when the server side cannot position the equipment to be positioned, the server side can position the equipment to be positioned by acquiring the credible position information of other associated equipment with the position close to that of the equipment to be positioned, screening the credible position information to determine the credible position information meeting the preset conditions, further removing the credible position information with large difference, reducing the range of the equipment to be positioned, and finally determining a range as the reference position of the equipment to be positioned.
In addition, when the positioning method of the device to be positioned is not accurate (for example, positioning is performed by using a mobile network base station), which results in that the obtained device position information is not accurate enough, or the position information stored by the server is not accurate, or when the address input by the user during registration is "a certain area in a certain city" and is not specific to a specific street or cell, the technical scheme provided by the present specification may be used to determine a range as the reference position of the device to be positioned by using the new device positioning method, so that the accuracy of the position information for positioning the device can be improved to a certain extent.
To facilitate further understanding, a specific application example is explained below.
For the face payment device in the market, the manager of the device needs to send maintenance personnel to perform daily field maintenance on the face payment device.
However, due to the limitation of the positioning method of the face payment device, the position information acquired by the server is not accurate enough, and the error range is over 1 kilometer, so that maintenance personnel are difficult to find the face payment device, and the efficiency is low.
In order to solve this problem, with the above method embodiment, the identifier of the associated device of the face payment device may be acquired. The associated device specifically includes:
the face payment device is connected with WIFI equipment of a network, equipment of staff in a market bound by the face payment device, mobile phone equipment of a user who uses the face payment device to pay, and mobile phone equipment which is near the face payment device and has a Bluetooth function.
It should be noted that when the user uses the face payment device, the user can pay without carrying the mobile phone device, and the face payment device can only obtain the user identifier of the user on the payment application corresponding to the face payment device. When the user is located later, the user cannot be directly located, and the device where the payment application of the user is logged in is still located.
The server side stores a receiving address text of the user and an address text of the network device, so that a trusted position information set can be obtained according to the associated device, wherein the trusted position information is in the form of the address text.
And determining a certain street as a reference address of the face payment equipment according to the text similarity. The maintainer can check the market on a certain street one by one, so as to find the face payment equipment for maintenance.
Fig. 3 is a schematic structural diagram of an apparatus positioning device provided in this specification. The equipment positioning device is configured at a server side, and the server side has the capability of acquiring the credible position information of the equipment.
The apparatus may include:
the identification reception unit 201: the method comprises the step of receiving the identification of at least one associated device sent by a device to be positioned.
Position information acquisition unit 202: and the device is used for respectively acquiring the trusted position information of the associated equipment according to the received identifier of the at least one associated equipment.
Subset determining unit 203: and the method is used for determining at least one subset meeting preset conditions in the acquired associated equipment trusted position information set.
The device positioning unit 204: and the device is used for determining the reference position of the device to be positioned according to the credible position information contained in the at least one subset.
In the identifier receiving unit 201, the device to be located is: the server side cannot acquire the equipment of the credible position information; the associated equipment is as follows: the device is provided with a preset correlation behavior with the device to be positioned, wherein the preset correlation behavior is generated under the condition that the positions of the devices are close to each other.
The equipment with the equipment that is pending to be positioned to have and predetermine the associated action includes: the device to be positioned comprises a device which has a network connection relation with the device to be positioned, and/or a device which has an interaction history with the device to be positioned, and/or a device which has a binding relation with the device to be positioned, and/or a device which is sensed by the device to be positioned within a preset sensing range.
The location information obtaining unit 202 may be specifically configured to respectively obtain, in real time, current trusted location information of the associated devices according to the received identifier of the at least one associated device.
Under the condition that the server pre-stores the correspondence set of the device identifier and the trusted location information, the location information obtaining unit 202 may be further configured to respectively search, in the correspondence set of the device identifier and the trusted location information, the trusted location information corresponding to the identifier of the associated device according to the received identifier of the at least one associated device.
In the subset determining unit 203, the preset conditions at least include: the difference between any two credible position information in the subset is smaller than a preset difference requirement, and the number of the credible position information in the subset is larger than a preset number requirement.
In the case where the trusted location information is in the form of location coordinates: the difference between any two pieces of trusted location information is smaller than a preset difference requirement, and the method comprises the following steps: the distance between any two position coordinates is less than a preset distance threshold.
In the case where the trusted location information is in the form of address text: the difference between any two pieces of trusted location information is smaller than a preset difference requirement, and the method comprises the following steps: the text similarity between any address text and any other address text in the subset is not less than a preset similarity threshold.
The text similarity calculation method comprises the following steps: respectively converting two groups of address texts to be compared into character sets; and calculating the ratio of the number of the characters in the intersection of the two character sets to the number of the characters in the union set, and determining the text similarity between the two groups of address texts to be compared according to the ratio.
For a detailed explanation of the embodiments of the device reference is made to the above-described method embodiments.
Embodiments of the present specification also provide a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements a device positioning method when executing the program.
Fig. 4 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present description also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements a device location method.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a detailed description of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, many modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as protection for the embodiments of the present disclosure.

Claims (15)

1. A device positioning method is applied to a server side, the server side has the capability of obtaining trusted position information of a device, and the method comprises the following steps:
the server receives the identification of at least one associated device sent by the device to be positioned; the equipment to be positioned is as follows: the server side cannot acquire the equipment of the credible position information; the associated equipment is as follows: the device is provided with a preset association behavior with the device to be positioned, wherein the preset association behavior is a behavior generated under the condition that the positions of the devices are close to each other;
respectively acquiring the trusted position information of the associated equipment according to the received identification of at least one associated equipment;
determining at least one subset meeting preset conditions in the acquired associated device trusted position information set, wherein the preset conditions at least comprise: the difference between any two pieces of credible position information in the subset is smaller than a preset difference requirement, and the number of the credible position information in the subset is larger than a preset number requirement;
and determining the reference position of the equipment to be positioned according to the credible position information contained in the at least one subset.
2. The method of claim 1, the device having a preset associated behavior with the device to be located, comprising:
device having a network connection with a device to be located, and/or
Devices having history of interactions with a device to be located, and/or
Devices having a binding relationship with a device to be located, and/or
And the equipment which is sensed by the equipment to be positioned in the preset sensing range.
3. The method of claim 1, wherein the obtaining, according to the received identifier of the at least one associated device, trusted location information of the associated device includes:
and respectively and immediately acquiring the current credible position information of the associated equipment according to the received identification of at least one associated equipment.
4. The method according to claim 1, wherein the server side pre-stores a corresponding relationship set of the device identifier and the trusted location information;
the obtaining the trusted location information of the associated devices according to the received identifier of at least one associated device includes:
and respectively searching the credible position information corresponding to the identification of the associated equipment according to the received identification of at least one associated equipment in the corresponding relation set of the equipment identification and the credible position information.
5. A method according to any one of claims 1 to 4, in the case where the trusted location information is in the form of location coordinates:
the difference between any two pieces of trusted location information is smaller than a preset difference requirement, and the method comprises the following steps:
the distance between any two position coordinates is less than a preset distance threshold.
6. The method of any of claims 1 to 4, where the trusted location information is in the form of address text:
the difference between any two pieces of trusted location information is smaller than a preset difference requirement, and the method comprises the following steps:
the text similarity between any address text and any other address text in the subset is not less than a preset similarity threshold.
7. The method of claim 6, the text similarity calculation method, comprising:
respectively converting two groups of address texts to be compared into character sets;
and calculating the ratio of the number of the characters in the intersection of the two character sets to the number of the characters in the union set, and determining the text similarity between the two groups of address texts to be compared according to the ratio.
8. A device location apparatus configured at a server, the server having a capability of obtaining trusted location information of a device, the apparatus comprising:
the identification receiving unit is used for receiving the identification of at least one associated device sent by the device to be positioned; the equipment to be positioned is as follows: the server side cannot acquire the equipment of the credible position information; the associated equipment is as follows: the device is provided with a preset association behavior with the device to be positioned, wherein the preset association behavior is a behavior generated under the condition that the positions of the devices are close to each other;
the position information acquisition unit is used for respectively acquiring the credible position information of the associated equipment according to the received identification of the at least one associated equipment;
a subset determining unit, configured to determine, in the obtained associated device trusted location information set, at least one subset that meets a preset condition, where the preset condition at least includes: the difference between any two pieces of credible position information in the subset is smaller than a preset difference requirement, and the number of the credible position information in the subset is larger than a preset number requirement;
and the device positioning unit is used for determining the reference position of the device to be positioned according to the credible position information contained in the at least one subset.
9. The apparatus of claim 8, the device having a preset associated behavior with a device to be located, comprising:
device having a network connection with a device to be located, and/or
Devices having history of interactions with a device to be located, and/or
Devices having a binding relationship with a device to be located, and/or
And the equipment which is sensed by the equipment to be positioned in the preset sensing range.
10. The apparatus of claim 8, the location information acquisition unit to:
and respectively and immediately acquiring the current credible position information of the associated equipment according to the received identification of at least one associated equipment.
11. The apparatus according to claim 8, wherein the server has a pre-stored correspondence set between the device identifier and the trusted location information;
the position information acquisition unit is configured to:
and respectively searching the credible position information corresponding to the identification of the associated equipment according to the received identification of at least one associated equipment in the corresponding relation set of the equipment identification and the credible position information.
12. An apparatus according to any one of claims 8 to 11, in the case where the trusted location information is in the form of location coordinates:
the difference between any two pieces of trusted location information is smaller than a preset difference requirement, and the method comprises the following steps:
the distance between any two position coordinates is less than a preset distance threshold.
13. The apparatus according to any of claims 8 to 11, in case the trusted location information is in the form of address text:
the difference between any two pieces of trusted location information is smaller than a preset difference requirement, and the method comprises the following steps:
the text similarity between any address text and any other address text in the subset is not less than a preset similarity threshold.
14. The apparatus of claim 13, the text similarity calculation method comprising:
respectively converting two groups of address texts to be compared into character sets;
and calculating the ratio of the number of the characters in the intersection of the two character sets to the number of the characters in the union set, and determining the text similarity between the two groups of address texts to be compared according to the ratio.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the program.
CN202010562072.0A 2020-06-18 2020-06-18 Equipment positioning method and device Pending CN111787075A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010562072.0A CN111787075A (en) 2020-06-18 2020-06-18 Equipment positioning method and device
PCT/CN2021/099600 WO2021254261A1 (en) 2020-06-18 2021-06-11 Device positioning method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010562072.0A CN111787075A (en) 2020-06-18 2020-06-18 Equipment positioning method and device

Publications (1)

Publication Number Publication Date
CN111787075A true CN111787075A (en) 2020-10-16

Family

ID=72757197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010562072.0A Pending CN111787075A (en) 2020-06-18 2020-06-18 Equipment positioning method and device

Country Status (2)

Country Link
CN (1) CN111787075A (en)
WO (1) WO2021254261A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380230A (en) * 2020-12-03 2021-02-19 腾讯科技(深圳)有限公司 Position parameter updating method and device, computer equipment and storage medium
WO2021254261A1 (en) * 2020-06-18 2021-12-23 支付宝(杭州)信息技术有限公司 Device positioning method and apparatus
WO2022228059A1 (en) * 2021-04-28 2022-11-03 花瓣云科技有限公司 Positioning method and apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788523B (en) * 2020-12-29 2022-11-22 上海钧正网络科技有限公司 Positioning method of sharing equipment and server
CN114399850B (en) * 2021-12-27 2022-11-22 四川领歌智谷科技有限公司 Attendance checking method based on voice and position recognition, electronic student identity card and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197518A (en) * 2016-03-14 2017-09-22 中国移动通信集团河南有限公司 A kind of method and device for determining terminal location
CN107211386A (en) * 2014-11-23 2017-09-26 电子湾有限公司 Determine the position of networked devices
CN107872764A (en) * 2017-10-19 2018-04-03 北京三快在线科技有限公司 A kind of localization method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8965326B2 (en) * 2011-11-14 2015-02-24 Avaya Inc. Determination by PSAPs of caller location based on the WiFi hot spots detected and reported by the caller's device(s)
CN107302793B (en) * 2016-04-15 2020-10-23 华为技术有限公司 Positioning method, server, terminal and system based on wireless signals
CN106455056B (en) * 2016-11-14 2020-02-04 百度在线网络技术(北京)有限公司 Positioning method and device
CN111787075A (en) * 2020-06-18 2020-10-16 支付宝(杭州)信息技术有限公司 Equipment positioning method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107211386A (en) * 2014-11-23 2017-09-26 电子湾有限公司 Determine the position of networked devices
CN107197518A (en) * 2016-03-14 2017-09-22 中国移动通信集团河南有限公司 A kind of method and device for determining terminal location
CN107872764A (en) * 2017-10-19 2018-04-03 北京三快在线科技有限公司 A kind of localization method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021254261A1 (en) * 2020-06-18 2021-12-23 支付宝(杭州)信息技术有限公司 Device positioning method and apparatus
CN112380230A (en) * 2020-12-03 2021-02-19 腾讯科技(深圳)有限公司 Position parameter updating method and device, computer equipment and storage medium
WO2022228059A1 (en) * 2021-04-28 2022-11-03 花瓣云科技有限公司 Positioning method and apparatus

Also Published As

Publication number Publication date
WO2021254261A1 (en) 2021-12-23

Similar Documents

Publication Publication Date Title
CN111787075A (en) Equipment positioning method and device
AU2007349233B2 (en) System and method for automated analysis comparing a wireless device location with another geographic location
US9432845B2 (en) System and method for automated analysis comparing a wireless device location with another geographic location
US20160323709A1 (en) System and method for automated analysis comparing a wireless device location with another geographic location
US11861621B2 (en) Payment risk control method and system
CN112398895B (en) Method and device for providing service information
US20110238532A1 (en) Determining mobile operators for mobile devices
CN107423358B (en) Data storage and calling method and device
CN112039861B (en) Risk identification method and device, electronic equipment and computer readable storage medium
CN105635969A (en) Information pushing method and information pushing server
CN109002733A (en) A kind of pair of equipment carries out the method and device of reliability evaluation
CN111031140A (en) Resource settlement method and device, electronic equipment and storage medium
CN107947875B (en) Method and device for detecting electromagnetic radiation emitted by base station
EP3467547B1 (en) Service provision device, service provision method, and program recording medium
CN113515612A (en) Heiyou mobile phone number identification method and device
CN111611572A (en) Real-name authentication method and device based on face authentication
CN108280648B (en) Transaction processing method and server
CN113220949B (en) Construction method and device of private data identification system
CN113836428A (en) Business pushing method and device, computer equipment and storage medium
CN114205455A (en) Application positioning processing method, device, equipment and storage medium
CN109769202B (en) Method and device for positioning flow data, storage medium and server
US20170169454A1 (en) Identifying business online social presence with name and address using spatial filters
CN109656805B (en) Method and device for generating code link for business analysis and business server
CN108170821B (en) Method and device for determining one-code multiple access and electronic equipment
CN110674159A (en) Service query method and related device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201016