CN106339266A - Virtual positioning method and terminal - Google Patents

Virtual positioning method and terminal Download PDF

Info

Publication number
CN106339266A
CN106339266A CN201610796868.6A CN201610796868A CN106339266A CN 106339266 A CN106339266 A CN 106339266A CN 201610796868 A CN201610796868 A CN 201610796868A CN 106339266 A CN106339266 A CN 106339266A
Authority
CN
China
Prior art keywords
virtual
application
described virtual
list
locating interface
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.)
Withdrawn
Application number
CN201610796868.6A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610796868.6A priority Critical patent/CN106339266A/en
Publication of CN106339266A publication Critical patent/CN106339266A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a virtual positioning method and a terminal, wherein the method comprises the following steps that a virtual positioning interface is set for a framework layer of a position management service; an enabling switch is set for the virtual positioning interface; if the enabling switch of the virtual positioning interface is in a switch-on state, whether a preset virtual list of an application packet name used for storing application needing to use the virtual positioning function is inquired or not through the virtual positioning interface; if the virtual list is not empty, the circulation reports the virtual position set by the virtual positioning interface to the application in the virtual list. The embodiment provided by the invention has the advantages that when a user uses the virtual positioning function of the terminal, the entering into the system setting for performing right setting on the position simulation allowing item of the terminal is not needed; the user operation is simplified; the user experience is improved.

Description

A kind of virtual positioning method and terminal
Technical field
The present invention relates to field of locating technology, more particularly, to a kind of virtual positioning method and terminal.
Background technology
In order to improve various social networking applications for example: qq, the interest of wechat, a lot of people are intended to carry out void with mobile phone Draft position.Such as, oneself, in Guangdong, at this moment thinks tourism of Beijing, just naturally wishes to recognize some now in Pekinese friend Friend, at this moment just can navigate to Beijing qq or wechat, recognize some friends, seek advice from the situation of locality to them.
At present, the virtual positioning method on mobile phone is all to be connect by Android simulator locating android mock location Mouth provides a virtual location to be given to location management service locationmanagerservice, Ran Houyou Virtual location is reported the application asking virtual positioning by report location by locationmanagerservice, The mode of the virtual positioning of this positioning mode needs the system of user's manual unlocking mobile phone to arrange, inside the option of system setting " permission analog position " is set on state, such locationmanagerservice just can have permission from and mock Location interface gets virtual location, and its operation is cumbersome.
Content of the invention
The embodiment of the present invention provides a kind of virtual positioning method and terminal, it is possible to use family is needing the virtual of using terminal During positioning function, need not enter in system setting and priority assignation is carried out to " permission analog position " item of terminal, simplify use Family operates, and improves Consumer's Experience.
In a first aspect, embodiments providing a kind of virtual positioning method, the method includes:
One virtual locating interface is set in the ccf layer of position management service, is that described virtual locating interface arranges an enable Switch;
If the enable switch of described virtual locating interface is in opening, pre- by described virtual locating interface inquiry Whether the virtual list needing the application bag name using the application of virtual positioning function for storage first arranging is empty;
If described virtual list is not empty, circulate the virtual location that described virtual locating interface is arranged report described Application in virtual list.
On the other hand, embodiments provide a kind of terminal, this terminal includes:
Virtual locating interface unit, arranges a virtual locating interface for the ccf layer in position management service, for described Virtual locating interface setting one enables switch;
Virtual list detector unit, if the enable switch for described virtual locating interface is in opening, passes through The void of the application bag name needing for storage using the application of virtual positioning function that described virtual locating interface inquiry pre-sets Intend whether list is empty;
Virtual location reporting unit, if not being empty for described virtual list, circulating and setting described virtual locating interface The virtual location put reports the application in described virtual list.
The embodiment of the present invention is passed through to arrange a virtual locating interface in the ccf layer of position management service, is described virtual fixed Position interface setting one enables switch;If the enable switch of described virtual locating interface is in opening, by described virtual Locating interface inquires about the virtual list needing the application bag name using the application of virtual positioning function for storage pre-setting No for sky;If described virtual list is not empty, circulate the virtual location that described virtual locating interface is arranged report described Application in virtual list, so that user is in the virtual positioning function of using terminal, it is right in system setting to enter into " permission analog position " item of terminal carries out priority assignation, simplifies user operation, improves Consumer's Experience.
Brief description
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required use in embodiment being described below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of virtual positioning method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of virtual positioning method that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of terminal that another embodiment of the present invention provides;
Fig. 5 is a kind of schematic block diagram of terminal that another embodiment of the present invention provides.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " inclusion " and "comprising" indicate The presence of described feature, entirety, step, operation, element and/or assembly, but it is not precluded from one or more of the other feature, whole Body, step, operation, the presence of element, assembly and/or its set or interpolation.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Hereafter clearly indicate other situations, otherwise " one " of singulative, " one " and " being somebody's turn to do " are intended to including plural form.
It will be further appreciated that, used in description of the invention and appended claims, term "and/or" is Refer to any combinations of one or more of the associated item listed and be possible to combine, and include these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if [described condition or event] is detected " can be interpreted to mean according to context " once it is determined that " or " in response to true Fixed " or " once [described condition or event] is detected " or " in response to [described condition or event] is detected ".
In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc is just Portable device.It is to be further understood that in certain embodiments, described equipment not portable communication device, but have tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, describe the terminal including display and touch sensitive surface.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control bar.
Terminal supports various application programs, for example one or more of following: drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can execute in terminal can be public using at least one of such as touch sensitive surface Physical user-interface device.Can adjust among applications and/or in corresponding application programs and/or change and touch sensitive table The corresponding information of display in the one or more functions in face and terminal.So, the public physical structure of terminal (for example, touches Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Referring to Fig. 1, it is that the embodiment of the present invention provides a kind of schematic flow diagram of virtual positioning method, as shown in figure 1, the party Method can comprise the following steps that
In s101, one virtual locating interface is set in the ccf layer of position management service, is described virtual locating interface Setting one enables switch.
In the present embodiment, due to virtual locating interface be set directly at location management service ccf layer, therefore so that Terminal, when carrying out virtual positioning, directly can obtain virtual location by the ccf layer that location management services, without using eventually The Android simulator locating interface at end, from without rights concerns.
In s102, if the enable switch of described virtual locating interface is in opening, by described virtual positioning Whether the virtual list needing the application bag name using the application of virtual positioning function for storage that interface polls pre-set be Empty.
In the present embodiment, also include before step s101:
To need to be registered in virtual list using the application bag name of virtual positioning function application in advance.
In s103, if described virtual list is not empty, circulate the virtual location that described virtual locating interface is arranged Report the application in described virtual list.
In the present embodiment, the virtual location that described virtual locating interface is arranged is reported described dummy column by described circulation Application in table specifically includes:
By the current wifi information connecting of described virtual locating interface reading terminals or be presently near position Base station information, parses and shows the positional information in described wifi information or described base station information, and receive user is in institute's rheme The virtual location selecting in confidence breath, and reported virtual location in described virtual list by described virtual locating interface Application.Here circulation refers to that described virtual locating interface obtains the virtual bit of user setup according to default frequency repetitive cycling Put, and the virtual location getting is reported the application in virtual list.
Further, in the present embodiment, if analytically described wifi information or the position acquired in described base station information There is no the virtual location needed for user in confidence breath, then call the map that gps application provides to believe by described virtual locating interface Breath, described cartographic information is shown to user;The virtual location that receive user selects in described cartographic information, and by described Described virtual location is reported the application in described virtual list by virtual locating interface.
Above as can be seen that a kind of virtual positioning method provided in an embodiment of the present invention passes through the frame in position management service Rack-layer arranges a virtual locating interface, is that described virtual locating interface setting one enables switch;If described virtual locating interface Enable switch and be in opening, then needed using virtual for storage by what described virtual locating interface inquiry pre-set Whether the virtual list of the application bag name of positioning function application is empty;If described virtual list is not empty, circulate described void Intend the application that the virtual location of locating interface setting reports in described virtual list, so that user is virtual in using terminal During positioning function, need not enter in system setting and priority assignation is carried out to " permission analog position " item of terminal, simplify use Family operates, and improves Consumer's Experience.
Referring to Fig. 2, it is that the embodiment of the present invention provides a kind of schematic flow diagram of virtual positioning method, as shown in Fig. 2 the party Method can comprise the following steps that
In s201, one virtual locating interface is set in the ccf layer of position management service, is described virtual locating interface Setting one enables switch.
In s202, if the enable switch of described virtual locating interface is in opening, by described virtual positioning Whether the virtual list needing the application bag name using the application of virtual positioning function for storage that interface polls pre-set be Sky, if described virtual list is not empty, enters step s203.
In s203, stop the application in described virtual list to obtain terminal in the ccf layer of wifi service and currently connect Wifi information, wherein, described wifi information includes wifi hotspot information and wifi scanning information.
In s204, the application in described virtual list is stoped to obtain in the ccf layer of telephonymanager service The current base station information connecting of terminal, wherein said base station position information includes location area code and the base station number of base station.
In s205, the virtual location that described virtual locating interface is arranged is reported answering in described virtual list by circulation With.
In the present embodiment, step s205 specifically includes: directly calls gps application to provide by described virtual locating interface Cartographic information, described cartographic information is shown to user;The virtual location that receive user selects in described cartographic information, and By described virtual locating interface, described virtual location is reported the application in described virtual list.
In the present embodiment, due to respectively in the ccf layer of wifi service and the ccf layer of telephonymanager service The application in virtual list is stoped to obtain wifi information and the base station information of terminal, so that the application in virtual list can be straight Connected the gps in terminal and apply to obtain virtual location, it is to avoid the actual position information of terminal was exposed.
Further, in the present embodiment, described virtual positioning method also includes:
If the virtual location that described virtual locating interface receives application registration updates request, obtain answering of described application Use bag name, and judge described application bag name whether in described virtual list;
If in described virtual list, described virtual locating interface completes virtual location in described application and updates request A virtual location be reported to described application during registration.
In the present embodiment, due in prior art using gps apply obtain virtual location on call time longer, therefore First determine whether this application whether in dummy column using when receiving the virtual location that should have registration and updating request in the present embodiment In table, if in virtual list, when application completes the registration that virtual location updates request, report a virtual location immediately To described application, thus shortening the time reporting virtual location using gps application, solve on gps present in prior art Call time longer problem.
Above as can be seen that with respect to a upper embodiment, a kind of virtual positioning method that the present embodiment provides can not only Make user when needing the virtual positioning function of using terminal, " the permission mimotope to terminal in system setting need not be entered into Put " item carries out priority assignation, and simplify user operation, improve Consumer's Experience, also and user can also be avoided using virtual Expose actual position information during positioning function, make terminal directly can obtain, by gps application, the virtual location reporting, and contract The short time reporting virtual location using gps application.
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention, and this terminal is used for running and implements shown in Fig. 1 The method that example provides.Illustrate only part related to the present embodiment for convenience of description.
Shown in Figure 3, a kind of terminal 10 that the present embodiment provides, comprising:
Virtual locating interface unit 11, arranges a virtual locating interface for the ccf layer in position management service, is institute State virtual locating interface setting one and enable switch;
Virtual list detector unit 12, if the enable switch for described virtual locating interface is in opening, leads to Cross the application bag name needing using the application of virtual positioning function that described virtual locating interface inquiry pre-sets for storage Whether virtual list is empty;
Virtual location reporting unit 13, if not being empty for described virtual list, circulates described virtual locating interface The virtual location of setting reports the application in described virtual list.
It should be noted that the unit in a kind of terminal of the present embodiment offer is due to implementing with method shown in Fig. 1 Example is based on same design, and the technique effect that it brings is identical with embodiment of the method shown in Fig. 1 of the present invention, and particular content can be found in this Narration in embodiment of the method shown in invention Fig. 1, here is omitted.
Therefore, it can be seen that a kind of terminal that the present embodiment provides is equally useful the virtual positioning in using terminal for the family During function, need not enter in system setting and priority assignation is carried out to " permission analog position " item of terminal, simplify user behaviour Make, improve Consumer's Experience.
Fig. 4 is a kind of terminal that another embodiment of the present invention provides, and this terminal is used for running embodiment illustrated in fig. 2 offer Method, illustrate only part related to the present embodiment for convenience of description.
A kind of terminal 10 shown in Figure 4, providing with respect to a upper embodiment, the present embodiment, also includes:
Application bag name matching unit 14, if the virtual location receiving application registration for described virtual locating interface updates Whether request, then obtain the application bag name of described application, and judge described application bag name in described virtual list;
Described virtual location reporting unit 13, if being additionally operable in described virtual list, controls described virtual positioning to connect Mouth completes to report a virtual location to described application when virtual location updates the registration asked in described application.
Optionally, described terminal 10 also includes:
Wifi information intercepting unit 15, stops the application in described virtual list from obtaining in the ccf layer that services in wifi Take the current wifi information connecting of terminal, wherein, described wifi information includes wifi hotspot information and wifi scanning information.
Optionally, described terminal 10 also includes:
Base station information interception unit 16, stops described dummy column in the ccf layer that services in telephonymanager Application in table obtains the current base station information connecting of terminal, and wherein said base station position information includes the location area code of base station And base station number.
Optionally, described virtual location reporting unit 13 specifically for:
The cartographic information of gps application offer is provided by described virtual locating interface, described cartographic information is shown to use Family;
The virtual location that receive user selects in described cartographic information, and by described virtual locating interface by described void Intend reporting position to the application in described virtual list.
It should be noted that the unit in a kind of terminal of the present embodiment offer is due to implementing with method shown in Fig. 2 Example is based on same design, and the technique effect that it brings is identical with embodiment of the method shown in Fig. 2 of the present invention, and particular content can be found in this Narration in embodiment of the method shown in invention Fig. 2, here is omitted.
Therefore, it can be seen that a kind of terminal that the present embodiment provides equally can not only make user need using terminal During virtual positioning function, need not enter in system setting and priority assignation is carried out to " permission analog position " item of terminal, simplify User operation, improves Consumer's Experience, also and can also avoid the user to expose actual position when using virtual positioning function Information, makes terminal directly can obtain, by gps application, the virtual location that report, and shortens and report void using gps application Intend the time of position.
Referring to Fig. 5, it is a kind of schematic block diagram of terminal that another embodiment of the present invention provides, this terminal is used for running this Bright Fig. 1 and the method for embodiment illustrated in fig. 2 offer.For convenience of description, illustrate only part related to the present embodiment.
Shown in Figure 5, a kind of terminal 10 that the present embodiment provides, comprising:
Processor 510 (processor), communication interface 520 (communications interface), memory 530 (memory), bus 540.
Processor 510, communication interface 520, memory 530 completes mutual communication by bus 540.
Communication interface 520, for cable modem communication.
Processor 510, for configuration processor 531.
Specifically, program 531 can include program code, and described program code includes computer-managed instruction.
Processor 510 is probably a central processing unit cpu, or specific integrated circuit asic (application Specific integrated circuit), or be arranged to implement the one or more integrated electricity of the embodiment of the present invention Road.
Memory 530, is used for depositing program 531.Memory 530 may comprise high speed ram memory it is also possible to also include Nonvolatile memory (non-volatile memory), for example, at least one magnetic disc store.Program 531 specifically includes:
Virtual locating interface unit 11, arranges a virtual locating interface for the ccf layer in position management service, is institute State virtual locating interface setting one and enable switch;
Virtual list detector unit 12, if the enable switch for described virtual locating interface is in opening, leads to Cross the application bag name needing using the application of virtual positioning function that described virtual locating interface inquiry pre-sets for storage Whether virtual list is empty;
Virtual location reporting unit 13, if not being empty for described virtual list, circulates described virtual locating interface The virtual location of setting reports the application in described virtual list.
Optionally, described program 531 also includes:
Application bag name matching unit 14, if the virtual location receiving application registration for described virtual locating interface updates Whether request, then obtain the application bag name of described application, and judge described application bag name in described virtual list;
Described virtual location reporting unit 13, if being additionally operable in described virtual list, controls described virtual positioning to connect Mouth completes to report a virtual location to described application when virtual location updates the registration asked in described application.
Optionally, described program 531 also includes:
Wifi information intercepting unit 15, stops the application in described virtual list from obtaining in the ccf layer that services in wifi Take the current wifi information connecting of terminal, wherein, described wifi information includes wifi hotspot information and wifi scanning information.
Optionally, described program 531 also includes:
Base station information interception unit 16, stops described dummy column in the ccf layer that services in telephonymanager Application in table obtains the current base station information connecting of terminal, and wherein said base station position information includes the location area code of base station And base station number.
Optionally, described virtual location reporting unit 13 specifically for:
The cartographic information of gps application offer is provided by described virtual locating interface, described cartographic information is shown to use Family;
The virtual location that receive user selects in described cartographic information, and by described virtual locating interface by described void Intend reporting position to the application in described virtual list.
Those skilled in the art can be understood that, for convenience and simplicity of description, the terminal of foregoing description The specific work process of middle unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed terminal and method can pass through it in several embodiments provided herein Its mode is realized.For example, device embodiment described above is only schematically, for example, the division of described unit, and only It is only a kind of division of logic function, actual can have other dividing mode when realizing, and for example multiple units or assembly can be tied Close or be desirably integrated into another system, or some features can be ignored, or do not execute.Another, shown or discussed Coupling each other or direct-coupling or communication connection can be by some communication interfaces 520, device or unit indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing module in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a module.
Step in present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
If described function realized using in the form of software function module and as independent production marketing or use when, permissible It is stored in a terminal read/write memory medium.Based on such understanding, technical scheme is substantially right in other words Partly being embodied in the form of software product of part that prior art contributes or this technical scheme, this software Product is stored in a storage medium, including some instructions with so that a station terminal (can be mobile phone, ipad etc.) executes The all or part of step of each embodiment methods described of the present invention.And aforesaid storage medium includes: u disk, portable hard drive, only Read memory 530 (rom, read-only memory), random access memory 530 (ram, random access Memory), magnetic disc or CD etc. are various can be with the medium of storage program 531 code.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description With the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replace Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right The protection domain requiring is defined.

Claims (10)

1. a kind of virtual positioning method is it is characterised in that include:
One virtual locating interface is set in the ccf layer of position management service, is that described virtual locating interface setting enables switch;
If the enable switch of described virtual locating interface is in opening, set in advance by described virtual locating interface inquiry Whether the virtual list needing the application bag name using the application of virtual positioning function for storage put is empty;
If described virtual list is not empty, circulate the virtual location that described virtual locating interface is arranged report described virtual Application in list.
2. method according to claim 1 is it is characterised in that also include:
If the virtual location that described virtual locating interface receives application registration updates request, obtain the application bag of described application Name, and judge described application bag name whether in described virtual list;
If in described virtual list, described virtual locating interface completes, in described application, the registration that virtual location updates request When report a virtual location give described application.
If 3. method according to claim 2, it is characterised in that described virtual list is not empty, circulates institute Also include before the application that the virtual location stating virtual locating interface setting reports in described virtual list:
The application in described virtual list is stoped to obtain the current wifi information connecting of terminal in the ccf layer of wifi service, its In, described wifi information includes wifi hotspot information and wifi scanning information.
If 4. method according to claim 3, it is characterised in that described virtual list is not empty, circulates institute Also include before the application that the virtual location stating virtual locating interface setting reports in described virtual list:
Stop the application in described virtual list to obtain terminal in the ccf layer of telephonymanager service currently to connect Base station information, wherein said base station position information includes location area code and the base station number of base station.
5. method according to claim 4 is it is characterised in that described circulation is virtual by described virtual locating interface setting Reporting position specifically includes to the application in described virtual list:
The cartographic information of gps application offer is provided by described virtual locating interface, described cartographic information is shown to user;
The virtual location that receive user selects in described cartographic information, and by described virtual locating interface by described virtual bit Put the application reporting in described virtual list.
6. a kind of terminal is it is characterised in that include:
Virtual locating interface unit, arranges a virtual locating interface for the ccf layer in position management service, is described virtual Locating interface setting one enables switch;
Virtual list detector unit, if the enable switch for described virtual locating interface is in opening, by described The dummy column of the application bag name needing for storage using the application of virtual positioning function that virtual locating interface inquiry pre-sets Whether table is empty;
Virtual location reporting unit, if not being empty for described virtual list, circulates described virtual locating interface setting Virtual location reports the application in described virtual list.
7. terminal according to claim 6 is it is characterised in that also include:
Application bag name matching unit, if the virtual location receiving application registration for described virtual locating interface updates request, Then obtain the application bag name of described application, and judge described application bag name whether in described virtual list;
Described virtual location reporting unit, if being additionally operable in described virtual list, controls described virtual locating interface in institute State application to complete to report a virtual location to described application when virtual location updates the registration asked.
8. terminal according to claim 7 is it is characterised in that also include:
Wifi information intercepting unit, for stoping the application in described virtual list from obtaining terminal in the ccf layer that services in wifi The current wifi information connecting, wherein, described wifi information includes wifi hotspot information and wifi scanning information.
9. terminal according to claim 8 is it is characterised in that also include:
Base station information interception unit, stops in described virtual list in the ccf layer that services in telephonymanager Application obtains the current base station information connecting of terminal, and wherein said base station position information includes location area code and the base station of base station Numbering.
10. terminal according to claim 8 it is characterised in that described virtual location reporting unit specifically for:
The cartographic information of gps application offer is provided by described virtual locating interface, described cartographic information is shown to user;
The virtual location that receive user selects in described cartographic information, and by described virtual locating interface by described virtual bit Put the application reporting in described virtual list.
CN201610796868.6A 2016-08-31 2016-08-31 Virtual positioning method and terminal Withdrawn CN106339266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610796868.6A CN106339266A (en) 2016-08-31 2016-08-31 Virtual positioning method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610796868.6A CN106339266A (en) 2016-08-31 2016-08-31 Virtual positioning method and terminal

Publications (1)

Publication Number Publication Date
CN106339266A true CN106339266A (en) 2017-01-18

Family

ID=57822435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610796868.6A Withdrawn CN106339266A (en) 2016-08-31 2016-08-31 Virtual positioning method and terminal

Country Status (1)

Country Link
CN (1) CN106339266A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928769A (en) * 2019-10-28 2020-03-27 五八有限公司 Method and device for simulating positioning based on small program, electronic equipment and storage medium
CN111581539A (en) * 2020-04-23 2020-08-25 贵州力创科技发展有限公司 Position positioning method and device based on virtual user permission
CN114422944A (en) * 2021-11-12 2022-04-29 北京华云安信息技术有限公司 Method, device, equipment and storage medium for providing virtual position data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130044130A1 (en) * 2011-08-17 2013-02-21 Kevin A. Geisner Providing contextual personal information by a mixed reality device
CN103220566A (en) * 2013-03-06 2013-07-24 东莞宇龙通信科技有限公司 Method for positioning smart television terminal, smart television and system
US20130301584A1 (en) * 2011-01-14 2013-11-14 Cisco Technology, Inc. System and method for enabling a vehicular access network in a vehicular environment
CN105848105A (en) * 2016-04-28 2016-08-10 青岛海信移动通信技术股份有限公司 Positioning information processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130301584A1 (en) * 2011-01-14 2013-11-14 Cisco Technology, Inc. System and method for enabling a vehicular access network in a vehicular environment
US20130044130A1 (en) * 2011-08-17 2013-02-21 Kevin A. Geisner Providing contextual personal information by a mixed reality device
CN103220566A (en) * 2013-03-06 2013-07-24 东莞宇龙通信科技有限公司 Method for positioning smart television terminal, smart television and system
CN105848105A (en) * 2016-04-28 2016-08-10 青岛海信移动通信技术股份有限公司 Positioning information processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DIMUB7317: ""天下游伪装微信地理位置"", 《百度文库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928769A (en) * 2019-10-28 2020-03-27 五八有限公司 Method and device for simulating positioning based on small program, electronic equipment and storage medium
CN110928769B (en) * 2019-10-28 2023-10-20 五八有限公司 Method and device for positioning based on applet simulation, electronic equipment and storage medium
CN111581539A (en) * 2020-04-23 2020-08-25 贵州力创科技发展有限公司 Position positioning method and device based on virtual user permission
CN111581539B (en) * 2020-04-23 2023-05-16 贵州力创科技发展有限公司 Position positioning method and device based on virtual user permission
CN114422944A (en) * 2021-11-12 2022-04-29 北京华云安信息技术有限公司 Method, device, equipment and storage medium for providing virtual position data

Similar Documents

Publication Publication Date Title
CN106502736B (en) Applied program processing method and device
CN104246738B (en) Migration in place
US9154601B2 (en) Intelligent user interfaces for multiple SIM cards
CN103534705B (en) Secret and open application
US20170011557A1 (en) Method for providing augmented reality and virtual reality and electronic device using the same
CN103595756B (en) The method and apparatus for generating and utilizing the content shortcut object based on cloud service
CN102968312B (en) User interface placeholder for application extension program
US20120194541A1 (en) Apparatus to edit augmented reality data
CN107710157A (en) Multi-tenant, the specific application program of tenant
KR101828903B1 (en) Roaming network access method and apparatus
CN105247470B (en) For showing multiple displays of multi-work space
CN104050621A (en) Electronic device and method for image processing
KR20160138510A (en) Roaming access method and device
CN102970657B (en) Systems and methods for sharing group status within a social network
KR20060132736A (en) User interface methods, such as for customer self-support on a mobile device
CN105389325A (en) Content search method and electronic device implementing same
KR20160077861A (en) Electronic device and method for providing an information related to communication in electronic device
CN108132879A (en) Automated software testing method, platform, terminal and medium
CN105283844A (en) Electronic device and method of providing battery information by electronic device
KR20200058511A (en) Icon display methods, devices, and systems
CN106919427A (en) A kind of method to set up, setting device and electronic equipment
CN103064782A (en) Method and device for obtaining control
CN104166646B (en) A kind of method and apparatus for inputting uniform resource locator
CN106339266A (en) Virtual positioning method and terminal
CN103778128B (en) The method for drafting and device of a kind of list information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170118