CN113132906B - Virtual positioning identification method and device, storage medium and electronic equipment - Google Patents
Virtual positioning identification method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN113132906B CN113132906B CN201911370185.4A CN201911370185A CN113132906B CN 113132906 B CN113132906 B CN 113132906B CN 201911370185 A CN201911370185 A CN 201911370185A CN 113132906 B CN113132906 B CN 113132906B
- Authority
- CN
- China
- Prior art keywords
- positioning
- information
- virtual
- data
- virtual positioning
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The disclosure relates to a virtual positioning identification method, a virtual positioning identification device, a storage medium and an electronic device. The method comprises the following steps: obtaining target data, the target data including one or more of: variable values of target variables contained in the positioning information of the terminal and identification information of external equipment connected with the terminal; and identifying whether the positioning information is virtual positioning data or not according to the target data. By the technical scheme, whether the positioning information is virtual positioning data or not can be accurately identified according to the acquired target data; whether the user uses the virtual positioning function can be judged without comparing positioning information for many times, and the positioning information generated by each positioning request can be judged in real time, so that each positioning operation can be accurately identified.
Description
Technical Field
The present disclosure relates to the field of positioning, and in particular, to a virtual positioning identification method, apparatus, storage medium, and electronic device.
Background
Currently, the use of a positioning function is more and more common, for example, in an office positioning card punching or a distribution scene, a distributor needs to use the positioning function at both a fetching point and a distribution node of a delivery point during a distribution process. Taking the above-mentioned delivery scenario as an example, the deliverer needs to complete the delivery task within a predetermined time. In order to complete the delivery task in a shorter time, some deliverers use the virtual positioning function to generate virtual positioning data, so as to complete the order falsely, which is not favorable for the delivery platform to accurately process the order status.
In the related art, when determining whether or not a user uses a virtual positioning function, it is generally determined by comparing differences between a plurality of positioning point data. However, in this way, the determination can be performed only after the data of the plurality of positioning points are acquired, and the determination cannot be performed on the current positioning data, so that the real-time performance of the determination cannot be guaranteed. Moreover, by means of the positioning point data comparison, the misjudgment caused by positioning drift or positioning data delay cannot be avoided, and therefore, the accurate judgment cannot be performed.
Disclosure of Invention
The present disclosure provides a virtual positioning identification method, apparatus, storage medium, and electronic device, which can accurately identify whether positioning information generated by each positioning is virtual positioning data in real time.
In order to achieve the above object, in a first aspect, a virtual positioning identification method is provided, where the method includes: obtaining target data, the target data including one or more of: variable values of target variables contained in the positioning information of the terminal and identification information of external equipment connected with the terminal; and identifying whether the positioning information is virtual positioning data or not according to the target data.
Optionally, when the obtained target data includes the variable value, identifying, according to the target data, whether the positioning information is virtual positioning data includes: and under the condition that the variable value is a preset value, identifying the positioning information as virtual positioning data.
Optionally, in a case that the obtained target data only includes the identification information, the identifying, according to the target data, whether the positioning information is virtual positioning data includes: and under the condition that the external equipment is determined to be virtual positioning equipment according to the identification information, identifying the positioning information as virtual positioning data.
Optionally, in a case that the obtained target data includes the variable value and the identification information, identifying whether the positioning information is virtual positioning data according to the target data includes: and identifying the positioning information as virtual positioning data under the condition that the variable value is a preset value and the external equipment is determined to be virtual positioning equipment according to the identification information.
Optionally, determining whether the external device is a virtual positioning device is performed by: matching the identification information of the external device with identification information of at least one virtual positioning device; if a target virtual positioning device exists in the at least one virtual positioning device, wherein the identification information of the target virtual positioning device matches with the identification information of the external device, determining that the external device is the target virtual positioning device.
Optionally, the method is applied to the terminal; prior to the acquiring target data, the method further comprises: acquiring registration data, wherein the registration data comprises identification information of the at least one virtual positioning device; rewriting the registration data into a plist file in an ExternalAccess framework, and registering by the ExternalAccess framework according to the rewritten registration data.
Optionally, the method further comprises: in the event that the positioning information is identified as virtual positioning data, at least one of: generating prompt information, wherein the prompt information is used for prompting a user corresponding to the terminal that the positioning information is virtual positioning data; disabling the positioning information; and when the virtual positioning times reach preset times, updating account information and/or user attribute information corresponding to the terminal.
In a second aspect, an apparatus for virtual positioning identification is provided, the apparatus comprising: an acquisition module to acquire target data, the target data including one or more of: variable values of target variables contained in the positioning information of the terminal and identification information of external equipment connected with the terminal; and the identification module is used for identifying whether the positioning information is virtual positioning data or not according to the target data.
Optionally, when the target data acquired by the acquisition module includes the variable value, the identification module is configured to identify that the positioning information is virtual positioning data when the variable value is a preset value.
Optionally, when the target data acquired by the acquisition module only includes the identification information, the identification module is configured to identify that the positioning information is virtual positioning data when the external device is determined to be a virtual positioning device according to the identification information.
Optionally, when the target data acquired by the acquisition module includes the variable value and the identification information, the identification module is configured to identify that the positioning information is virtual positioning data when the variable value is a preset value and the external device is determined to be a virtual positioning device according to the identification information.
Optionally, the apparatus is applied to the terminal; the device further comprises: a registration data obtaining module, configured to obtain registration data before the obtaining module obtains target data, where the registration data includes identification information of the at least one virtual positioning device; and the registration module is used for rewriting the registration data into a plist file in an ExternalAccess framework and registering by the ExternalAccess framework according to the rewritten registration data.
Optionally, the apparatus further comprises: an execution module, configured to, if the identification module identifies that the positioning information is virtual positioning data, perform at least one of the following operations: generating prompt information, wherein the prompt information is used for prompting a user corresponding to the terminal that the positioning information is virtual positioning data; disabling the positioning information; and when the virtual positioning times reach preset times, updating account information and/or user attribute information corresponding to the terminal.
In a third aspect, a computer readable storage medium is provided, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the method provided by the first aspect of the disclosure.
In a fourth aspect, an electronic device is provided, comprising: a memory having a computer program stored thereon; a processor for executing the computer program in the memory to implement the steps of the method provided by the first aspect of the present disclosure.
Through the technical scheme, whether the positioning information is the virtual positioning data or not can be accurately identified according to the acquired target data, wherein the target data can comprise one or more of the following data: variable values of target variables contained in the positioning information of the terminal and identification information of external equipment connected with the terminal; whether the user uses the virtual positioning function can be judged without comparing positioning information for many times, and the positioning information generated by each positioning request can be judged in real time, so that each positioning operation can be accurately identified.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flow chart illustrating a virtual location identification method according to an example embodiment.
Fig. 2 is a flowchart illustrating a method of determining whether an external device to which a terminal is currently connected is a virtual positioning device according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a virtual location identification apparatus in accordance with an exemplary embodiment.
FIG. 4 is a block diagram of an electronic device shown in accordance with an example embodiment.
FIG. 5 is a block diagram illustrating an electronic device in accordance with another example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart illustrating a virtual positioning identification method according to an exemplary embodiment, which may be applied to an electronic device with processing capability, such as a server, a terminal, and the like. The server may be, for example, a cloud server, a location management server, or the like. The terminal can be, for example, a smart phone, a tablet computer, a notebook computer, and the like. As shown in fig. 1, the method may include S101 and S102.
In S101, target data is acquired. Wherein the target data may include one or more of: the variable value of the target variable contained in the positioning information of the terminal, and the identification information of the external device connected to the terminal.
The terminal according to the present disclosure uses an iOS system, for example. In the iOS system, a CoreLocation framework may be used to locate the current location of the terminal, and information related to the current location of the terminal is encapsulated in a CLLocation class in the CoreLocation framework. The positioning information of the terminal, that is, the information related to the current position of the terminal in the CLLocation class, may include information such as latitude, longitude, altitude, and moving speed of the terminal. In the research process, the inventors perform inverse analysis on the positioning information, and find through a large amount of analysis and summarization that the positioning information further includes a target variable, which may be a type variable in the positioning information. Furthermore, the inventor has collected positioning information from various sources, and found that the variable value of the target variable may represent the source of the positioning information during the reverse analysis of the positioning information, and the source of the positioning information may be, for example, Wi-Fi, a mobile communication base station, GPS satellite positioning, or virtual positioning device.
In the iOS system, the extranalaccess framework provides a channel through which a terminal and an external device communicate. The external device connected to the terminal needs to integrate a protocol string (supportedexternalprocessionprotocols), and the protocol string can be used as identification information of the external device. When the terminal is connected to the external device through the USB or the bluetooth, the terminal may acquire the identification information of the external device connected thereto from the external access framework, and may determine the type information of the external device connected to the terminal through the identification information.
When the method shown in fig. 1 is applied to a server, the terminal may transmit a variable value of a target variable to the server, and the server may acquire the variable value. Alternatively, in order to ensure the security of information transmission, the terminal may not directly transmit the variable value to the server, but convert the variable value into a corresponding attribute value, which may be used to characterize the characteristic information of the variable value, and transmit the attribute value to the server. After receiving the attribute value, the server can analyze the attribute value to analyze the variable value of the target variable through the attribute value, so that the server can obtain the variable value of the target variable. Similarly, for the identification information of the external device connected with the terminal, the terminal may directly send the identification information to the server, or the terminal may convert the identification information into an attribute value for representing the identification information and send the attribute value to the server, and after receiving the attribute value, the server may analyze the identification information of the external device through the attribute value, so that the server may obtain the identification information of the external device connected with the terminal.
In S102, it is identified whether the positioning information is virtual positioning data or not, based on the target data.
As described above, the variable value of the target variable may be used to characterize the source of the positioning information, which may vary from one source to another, and the variable value of the target variable may vary from one source to another. Therefore, it is possible to determine whether the positioning information originates from the virtual positioning device according to the variable value, thereby identifying whether the positioning information is virtual positioning data.
According to the identification information of the external equipment connected with the terminal, whether virtual positioning equipment exists in the external equipment currently connected with the terminal can be judged, and therefore whether the positioning information is virtual positioning data generated by the virtual positioning equipment is identified.
Through the technical scheme, whether the positioning information is the virtual positioning data or not can be accurately identified according to the acquired target data, wherein the target data can comprise one or more of the following data: variable values of target variables contained in the positioning information of the terminal and identification information of external equipment connected with the terminal; whether the user uses the virtual positioning function can be judged without comparing positioning information for many times, and the positioning information generated by each positioning request can be judged in real time, so that each positioning operation can be accurately identified.
In the above S101, at the time of acquiring the target data, one or both of the variable value of the target variable and the identification information of the external device connected to the terminal may be acquired. In one embodiment, in the case that the acquired target data includes a variable value of the target variable, S102 may include: and under the condition that the variable value of the target variable is a preset value, the identifiable positioning information is virtual positioning data.
In the research process, the inventor discovers that the variable values of target variables of the positioning information generated by the virtual positioning equipment are the same values and are preset values through reverse analysis on the positioning information from various sources, and the variable values of the target variables of the positioning information from other positioning modes, such as Wi-Fi positioning modes and the like, are not preset values. Therefore, the inventor can identify the positioning information as the virtual positioning data by performing inverse analysis and a large number of experimental summaries, when the variable value of the target variable type is a preset value, for example, 3, which represents that the positioning information is derived from the virtual positioning device.
In this embodiment, in a case where the acquired target data includes only the variable value of the target variable in the positioning information, or the acquired target data includes the variable value of the target variable and the identification information of the external device connected to the terminal, the determination may be performed according to the variable value of the target variable, and when the variable value is a preset value, the positioning information may be identified as the virtual positioning data.
In another embodiment, in the case that the target data acquired in S101 only includes identification information of an external device connected to the terminal, S102 may include: and under the condition that the external equipment is determined to be virtual positioning equipment according to the identification information, identifying the positioning information as virtual positioning data.
The type information of the external device can be determined according to the identification information of the external device, if the external device currently connected with the terminal is determined to be the virtual positioning device according to the identification information, the user intends to perform positioning through the virtual positioning device, and the currently generated positioning information is likely to be generated by the virtual positioning device, namely, the positioning information can be recognized to be the virtual positioning data.
In still another embodiment, in the case where the target data acquired in S101 includes a variable value of the target variable and identification information of an external device connected to the terminal, S102 may include; and identifying the positioning information as virtual positioning data under the condition that the variable value is a preset value and the external equipment is determined to be virtual positioning equipment according to the identification information.
In this embodiment, if it is determined that the external device currently connected to the terminal is a virtual positioning device according to the identification information, it indicates that the user intends to perform positioning by the virtual positioning device, and the variable value and the preset value of the target variable included in the currently generated positioning information indicate that the positioning information originates from the virtual positioning device, and the terminal currently used by the user is not only connected to the virtual positioning device but also generates the positioning information by using the positioning function of the virtual positioning device, and it is recognized that the positioning information is virtual positioning data. Therefore, if the variable value of the target variable and the identification information of the external device are acquired simultaneously, the identification positioning information is the virtual positioning data under the condition that the variable value and the identification information both meet the condition, and the reliability of identification is improved.
In the present disclosure, it may be determined whether the external device to which the terminal is currently connected is a virtual positioning device in the manner illustrated in fig. 2. As shown in fig. 2, the determination method may include S201 and S202.
In S201, the identification information of the external device is matched with the identification information of the at least one virtual positioning device.
In an embodiment, after acquiring the identification information of the external device, the terminal may match the identification information with the identification information of the at least one virtual positioning device.
In another embodiment, the terminal may send the identification information of the external device to the server, which matches the identification information with the identification information of the at least one virtual positioning device.
In S202, if there is a target virtual positioning device whose identification information matches the identification information of the external device in the at least one virtual positioning device, it is determined that the external device is the target virtual positioning device.
And determining the type information of the target virtual positioning equipment according to the identification information of the external equipment under the condition of determining that the external equipment is the target virtual positioning equipment.
Due to the control of the iOS system on the rights, the terminal may not have the right to directly acquire the identification information of the external device connected to the terminal from the external access framework. In order to solve this problem, the inventors found through a large number of experiments that the terminal can be made to have the capability of scanning out the identification information of the external device from the external access framework by means of registration in advance.
In the present disclosure, in a case where the acquired target data includes identification information of an external device connected to the terminal, the terminal may first acquire registration data before acquiring the target data, and the registration data may include identification information of at least one virtual positioning device. The registration data is obtained by performing reverse analysis on the underlying data information of the virtual positioning device by the inventor. In one embodiment, the terminal may locally store the registration data in the memory in advance, and retrieve the registration data from the memory. Preferably, in another embodiment, the registration data may be sent by the server to the terminal. Each type of virtual positioning device corresponds to one identification information, and as the type of the virtual positioning device is continuously updated, the registration data also needs to be continuously updated according to the identification information corresponding to the virtual positioning device of the new type, and the comprehensiveness of the registration data can be ensured by a dynamic issuing mode of the server. The server may issue the registration data once when the user starts the application program, or issue the registration data once every preset time length, which may be preset.
After acquiring the registration data, the terminal can rewrite the registration data into a plist file in the explicit access framework. For example, the rewriting method may use a KVC (Key Value Coding) method to replace the original Key Value in the plist file with the registration data in a setValue: ForKey manner, and then the explicit access framework may register according to the registration data rewritten in the plist file. After the registration is completed, for example, the registration data includes identification information of N types of virtual positioning devices, the terminal has a scanning capability for the identification information of the N types of virtual positioning devices, that is, the identification information of the external device connected to the terminal can be acquired.
In the present disclosure, in the case that the positioning information is identified as the virtual positioning data, at least one of the following three operations may be performed.
First, a prompt message is generated, and the prompt message can be used to prompt the user positioning information corresponding to the terminal to be the virtual positioning data. Illustratively, the prompt message may prompt the user in the form of a pop-up window, a short message, a notification message, etc. to prompt the user to avoid using the virtual positioning function and inform the user of the consequences of performing virtual positioning.
Second, the positioning information is disabled. After the positioning information is identified as the virtual positioning data, the positioning information may be prohibited from being used, so that the positioning request fails, for example, operations such as card punching are prohibited.
And thirdly, updating the account information and/or the user attribute information corresponding to the terminal when the virtual positioning times reach the preset times.
The virtual positioning times are the times that a user uses the virtual positioning equipment to perform positioning and generate positioning information, and when the virtual positioning times reach the preset times, account information and/or user attribute information corresponding to the terminal can be updated. Taking the delivery field as an example, the account information corresponding to the update terminal may be an account of a suspended or logged-out deliverer, and the update user attribute information may be, for example, an evaluation level of the deliverer is lowered. Wherein the preset times can be preset.
Under the condition that the positioning information is identified to be the virtual positioning data, one or more of the three operations can be carried out simultaneously, so that the behavior of positioning by using the virtual positioning equipment by a user can be monitored in time and effective measures can be taken.
Based on the same inventive concept, the present disclosure further provides a virtual positioning identification apparatus, and fig. 3 is a block diagram of a virtual positioning identification apparatus according to an exemplary embodiment, as shown in fig. 3, the apparatus 300 may include: an obtaining module 301, configured to obtain target data, where the target data includes one or more of the following: variable values of target variables contained in the positioning information of the terminal and identification information of external equipment connected with the terminal; an identifying module 302, configured to identify whether the positioning information is virtual positioning data according to the target data.
By adopting the device, whether the positioning information is virtual positioning data or not can be accurately identified according to the acquired target data, wherein the target data can comprise one or more of the following data: variable values of target variables contained in the positioning information of the terminal and identification information of external equipment connected with the terminal; whether the user uses the virtual positioning function can be judged without comparing positioning information for many times, and the positioning information generated by each positioning request can be judged in real time, so that each positioning operation can be accurately identified.
Optionally, in a case that the target data acquired by the acquiring module 301 includes the variable value, the identifying module 302 may be configured to identify that the positioning information is virtual positioning data in a case that the variable value is a preset value.
Optionally, in a case that the target data acquired by the acquiring module 301 only includes the identification information, the identifying module 302 may be configured to identify that the positioning information is virtual positioning data when it is determined that the external device is a virtual positioning device according to the identification information.
Optionally, in a case that the target data acquired by the acquiring module 301 includes the variable value and the identification information, the identifying module 302 may be configured to identify that the positioning information is virtual positioning data when the variable value is a preset value and the external device is determined to be a virtual positioning device according to the identification information.
Alternatively, the apparatus 300 may be applied to the terminal; the apparatus 300 may further comprise: a registration data obtaining module, configured to obtain registration data before the obtaining module 301 obtains target data, where the registration data includes identification information of the at least one virtual positioning device; and the registration module is used for rewriting the registration data into a plist file in an ExternalAccess framework and registering by the ExternalAccess framework according to the rewritten registration data.
Optionally, the apparatus 300 may further include: an execution module, configured to, if the identification module 302 identifies that the positioning information is virtual positioning data, perform at least one of the following operations: generating prompt information, wherein the prompt information is used for prompting a user corresponding to the terminal that the positioning information is virtual positioning data; disabling the positioning information; and when the virtual positioning times reach preset times, updating account information and/or user attribute information corresponding to the terminal.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 4 is a block diagram illustrating an electronic device 400 according to an example embodiment. As shown in fig. 4, the electronic device 400 may include: a processor 401 and a memory 402. The electronic device 400 may also include one or more of a multimedia component 403, an input/output (I/O) interface 404, and a communications component 405.
The processor 401 is configured to control the overall operation of the electronic device 400, so as to complete all or part of the steps in the above-mentioned virtual positioning identification method. The memory 402 is used to store various types of data to support operation at the electronic device 400, such as instructions for any application or method operating on the electronic device 400 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 402 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 403 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 402 or transmitted through the communication component 405. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 404 provides an interface between the processor 401 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 405 is used for wired or wireless communication between the electronic device 400 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 405 may therefore include: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-mentioned virtual positioning recognition method.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the virtual location identification method described above is also provided. For example, the computer readable storage medium may be the memory 402 comprising program instructions executable by the processor 401 of the electronic device 400 to perform the virtual location identification method described above.
Fig. 5 is a block diagram illustrating an electronic device 500 in accordance with another example embodiment. For example, the electronic device 500 may be provided as a server. Referring to fig. 5, the electronic device 500 comprises a processor 522, which may be one or more in number, and a memory 532 for storing computer programs executable by the processor 522. The computer programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processor 522 may be configured to execute the computer program to perform the above-described virtual location identification method.
Additionally, the electronic device 500 may also include a power component 526 and a communication component 550, the power component 526 may be configured to perform power management of the electronic device 500, and the communication component 550 may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 500. In addition, the electronic device 500 may also include input/output (I/O) interfaces 558. The electronic device 500 may operate based on an operating system stored in memory 532, such as Windows Server, Mac OS XTM, UnixTM, Linux, and the like.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the virtual location identification method described above is also provided. For example, the computer readable storage medium may be the memory 532 described above including program instructions that are executable by the processor 522 of the electronic device 500 to perform the virtual location identification method described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned virtual location identification method when executed by the programmable apparatus.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.
Claims (10)
1. A virtual positioning identification method, the method comprising:
obtaining target data, the target data including one or more of: the method comprises the steps that variable values of target variables contained in positioning information of a terminal and identification information of external equipment connected with the terminal are included, wherein the variable values of the target variables are used for representing whether the positioning information is from virtual positioning equipment or not, and the identification information is used for representing whether the external equipment connected with the terminal is virtual positioning equipment or not;
and identifying whether the positioning information is virtual positioning data or not according to the target data.
2. The method according to claim 1, wherein in a case that the obtained target data includes the variable value, the identifying whether the positioning information is virtual positioning data according to the target data includes:
and under the condition that the variable value is a preset value, identifying the positioning information as virtual positioning data.
3. The method according to claim 1, wherein in a case that the obtained target data only includes the identification information, the identifying, according to the target data, whether the positioning information is virtual positioning data includes:
and under the condition that the external equipment is determined to be virtual positioning equipment according to the identification information, identifying the positioning information as virtual positioning data.
4. The method according to claim 1, wherein in a case that the acquired target data includes the variable value and the identification information, said identifying whether the positioning information is virtual positioning data according to the target data includes:
and identifying the positioning information as virtual positioning data under the condition that the variable value is a preset value and the external equipment is determined to be virtual positioning equipment according to the identification information.
5. The method of claim 3 or 4, wherein determining whether the external device is a virtual positioning device is performed by:
matching the identification information of the external device with identification information of at least one virtual positioning device;
if a target virtual positioning device exists in the at least one virtual positioning device, wherein the identification information of the target virtual positioning device matches with the identification information of the external device, determining that the external device is the target virtual positioning device.
6. The method according to claim 5, characterized in that the method is applied to the terminal; prior to the acquiring target data, the method further comprises:
acquiring registration data, wherein the registration data comprises identification information of the at least one virtual positioning device;
rewriting the registration data into a plist file in an ExternalAccess framework, and registering by the ExternalAccess framework according to the rewritten registration data.
7. The method of claim 1, further comprising:
in the event that the positioning information is identified as virtual positioning data, at least one of:
generating prompt information, wherein the prompt information is used for prompting a user corresponding to the terminal that the positioning information is virtual positioning data;
disabling the positioning information;
and when the virtual positioning times reach preset times, updating account information and/or user attribute information corresponding to the terminal.
8. An apparatus for virtual location identification, the apparatus comprising:
an acquisition module to acquire target data, the target data including one or more of: the method comprises the steps that variable values of target variables contained in positioning information of a terminal and identification information of external equipment connected with the terminal are included, wherein the variable values of the target variables are used for representing whether the positioning information is from virtual positioning equipment or not, and the identification information is used for representing whether the external equipment connected with the terminal is virtual positioning equipment or not;
and the identification module is used for identifying whether the positioning information is virtual positioning data or not according to the target data.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911370185.4A CN113132906B (en) | 2019-12-26 | 2019-12-26 | Virtual positioning identification method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911370185.4A CN113132906B (en) | 2019-12-26 | 2019-12-26 | Virtual positioning identification method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113132906A CN113132906A (en) | 2021-07-16 |
CN113132906B true CN113132906B (en) | 2022-05-31 |
Family
ID=76767196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911370185.4A Active CN113132906B (en) | 2019-12-26 | 2019-12-26 | Virtual positioning identification method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113132906B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114510656A (en) * | 2022-01-17 | 2022-05-17 | 广州市玄武无线科技股份有限公司 | Method, device, terminal and storage medium for detecting virtual positioning data of equipment |
CN115018596B (en) * | 2022-08-03 | 2022-11-15 | 浙江口碑网络技术有限公司 | False positioning identification and model training method, device, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067853A (en) * | 2011-10-19 | 2013-04-24 | 北京千橡网景科技发展有限公司 | Method and system for verifying locating authenticity |
CN106790622A (en) * | 2016-12-30 | 2017-05-31 | 广州华多网络科技有限公司 | Simulator simulator locating method and device |
CN108399546A (en) * | 2017-02-06 | 2018-08-14 | 百度在线网络技术(北京)有限公司 | Identify method, apparatus, equipment and the storage medium of false bearing |
CN108668216A (en) * | 2017-03-27 | 2018-10-16 | 中国移动通信有限公司研究院 | A kind of method for anti-counterfeit, anti-pseudo-terminal and the system of terminal location positioning |
CN108989982A (en) * | 2018-08-13 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Simulator locating detection method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108512882B (en) * | 2017-02-28 | 2020-10-09 | 腾讯科技(深圳)有限公司 | Method and device for modifying position information |
-
2019
- 2019-12-26 CN CN201911370185.4A patent/CN113132906B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067853A (en) * | 2011-10-19 | 2013-04-24 | 北京千橡网景科技发展有限公司 | Method and system for verifying locating authenticity |
CN106790622A (en) * | 2016-12-30 | 2017-05-31 | 广州华多网络科技有限公司 | Simulator simulator locating method and device |
CN108399546A (en) * | 2017-02-06 | 2018-08-14 | 百度在线网络技术(北京)有限公司 | Identify method, apparatus, equipment and the storage medium of false bearing |
CN108668216A (en) * | 2017-03-27 | 2018-10-16 | 中国移动通信有限公司研究院 | A kind of method for anti-counterfeit, anti-pseudo-terminal and the system of terminal location positioning |
CN108989982A (en) * | 2018-08-13 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Simulator locating detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN113132906A (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104967997B (en) | A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system | |
CN113365106B (en) | Multimedia resource generation method and device, electronic equipment and storage medium | |
CN106227585B (en) | Application program starting method, device and equipment | |
CN105653323A (en) | Application program management method and device | |
US10802674B2 (en) | Method and apparatus for displaying function interface | |
US9723486B2 (en) | Method and apparatus for accessing network | |
CN106454392A (en) | Live broadcast processing method, device and terminal | |
US9672026B2 (en) | Light app offline updating method, device and terminal | |
CN113132906B (en) | Virtual positioning identification method and device, storage medium and electronic equipment | |
CN104836924A (en) | Number marking method and device | |
US20170277526A1 (en) | Software categorization method and electronic device | |
CN105049219B (en) | Flow booking method and system, mobile terminal and server | |
CN105357204A (en) | Method and apparatus for generating terminal identifying information | |
CN105468504A (en) | Program test method and device | |
CN111031124A (en) | Home equipment networking deployment method and device, electronic equipment and storage medium | |
CN108121578B (en) | Method and device for generating application program, storage medium and electronic equipment | |
KR20190020940A (en) | Method and apparatus for determining location using identification information corresponding external electronic device | |
CN111124627B (en) | Method and device for determining call initiator of application program, terminal and storage medium | |
CN104933085A (en) | Electronic book update method, terminal and server | |
CN105025482B (en) | Communication information processing method and equipment thereof | |
EP3239880A1 (en) | Legal installation package acquiring method and apparatus, computer program and recording medium | |
CN106376096B (en) | Wireless network connection method and equipment thereof | |
CN114329249A (en) | Route planning method and device, electronic equipment and storage medium | |
CN113010587B (en) | Data source configuration method, device, terminal, server and medium | |
CN113836428A (en) | Business pushing method and device, computer equipment 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 |