CN106686049A - Position virtualization method and position virtualization device - Google Patents

Position virtualization method and position virtualization device Download PDF

Info

Publication number
CN106686049A
CN106686049A CN201610645940.5A CN201610645940A CN106686049A CN 106686049 A CN106686049 A CN 106686049A CN 201610645940 A CN201610645940 A CN 201610645940A CN 106686049 A CN106686049 A CN 106686049A
Authority
CN
China
Prior art keywords
virtual
service
location
terminal
intended application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610645940.5A
Other languages
Chinese (zh)
Other versions
CN106686049B (en
Inventor
陈奋
王庆
黄泽丰
彭威
张广宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610645940.5A priority Critical patent/CN106686049B/en
Publication of CN106686049A publication Critical patent/CN106686049A/en
Application granted granted Critical
Publication of CN106686049B publication Critical patent/CN106686049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The invention discloses a position virtualization method and a position virtualization device. The method comprises the following steps: injecting codes to a process of a terminal, and hijacking a calling interface for positioning service of the terminal based on the injected codes; detecting a request for obtaining a position through the calling interface of a target application; constructing a virtual position, and returning the virtual position to the target application through the calling interface for positioning service; and based on a position service strategy of the target application, processing the virtual position to form a position service result based on the virtual position. The position virtualization method and position virtualization device can virtualize the position of the terminal effectively in the application.

Description

Position virtual method and position virtual bench
Technical field
The present invention relates to the position virtual technology of the communications field, more particularly to a kind of position virtual method and position virtually fill Put.
Background technology
Quickly popularization and the development of the various terminals such as smart mobile phone, panel computer, car-mounted terminal and Wearable.
It is available for the type and quantity of the application of installation various in terminal, many applications provide location-based service, by end End is positioned, there is provided the service related to current location, such as neighbouring trade company, public place of entertainment.
Problem is that the service logic of the certain applications in terminal is such:It is provided solely for and terminal current location phase The service of pass, but, Jing is commonly present the demand for obtaining the related service of other positions (different from terminal current location).
For example, in the exploitation test process of application, developer needs test application for the service of diverse location loading It is whether normal, but for example, during the use of application, user may need to check the clothes that the position that will be gone to can provide Business, but due to the restriction of certain applications, cause user as needed to check the related service of optional position.
For a kind of such as how effective virtual location of scheme of universality, to check using the response for diverse location, There is no effective solution.
The content of the invention
The embodiment of the present invention provides a kind of position virtual method and position virtual bench, can be with a kind of scheme of universality The position of effective virtual terminal in the application.
What the technical scheme of the embodiment of the present invention was realized in:
In a first aspect, the embodiment of the present invention provides a kind of position virtual method, methods described includes:
To the process injecting codes of terminal, the calling for positioning service for kidnapping the terminal based on the code for being injected connects Mouthful;
Detecting intended application uses the calling interface to obtain the request of position;
Construction virtual location, and the virtual bit is returned to the intended application by the calling interface of the positioning service Put;
The virtual location is processed based on the location-based service strategy of the intended application, is formed based on described virtual The location-based service result of position.
Second aspect, the embodiment of the present invention provides a kind of position virtual bench, and described device includes:
Unit is kidnapped, for the process injecting codes of terminal, based on the code for being injected the positioning of the terminal being kidnapped The calling interface of service;
Detector unit, uses the calling interface to obtain the request of position for detecting intended application;
Structural unit, for constructing virtual location, and by the calling interface of the positioning service to the intended application Return the virtual location;
Response unit, is processed the virtual location, shape for the location-based service strategy based on the intended application Into the location-based service result based on the virtual location.
The third aspect, the embodiment of the present invention provides a kind of position virtual bench, and described device includes:
Processor and storage medium;Be stored with executable instruction in the storage medium, and the executable instruction is used to draw Play the operation below the computing device:
To the process injecting codes of terminal, the calling for positioning service for kidnapping the terminal based on the code for being injected connects Mouthful;
Detecting intended application uses the calling interface to obtain the request of position;
Construction virtual location, and the virtual bit is returned to the intended application by the calling interface of the positioning service Put;
The virtual location is processed based on the location-based service strategy of the intended application, is formed based on described virtual The location-based service result of position.
The embodiment of the present invention has the advantages that:
1) process of virtual location, is completed to intended application return virtual location by kidnapping calling interface, any system System (whether open position supports open position virtual functions), reality is called to terminal positioning always by calling interface Existing, therefore by the abduction to calling interface, the position gone in all of system is virtual, strong applicability;
2) whether open unrelated with the position virtual functions of system, even if the position Virtual Service of system is closed, it is also possible to Virtual location is returned to intended application, whether is not allowed to be affected using position virtual functions by the system of terminal;
3) for intended application, the abduction to calling interface is transparent, therefore intended application is always by return Location recognition is the actual position of terminal, is not in the situation of the virtual location refusal respond to returning.
Description of the drawings
Fig. 1 is an optional hardware architecture diagram of position virtual bench provided in an embodiment of the present invention;
Fig. 2 is the setting schematic diagram of the position Virtual Service of Android system provided in an embodiment of the present invention;
Fig. 3 is a virtual optional schematic flow sheet of position provided in an embodiment of the present invention;
Fig. 4 is a virtual optional schematic flow sheet of position provided in an embodiment of the present invention;
Fig. 5 is a virtual optional schematic flow sheet of position provided in an embodiment of the present invention;
Fig. 6-1 is that the virtual optional flow process of position that carries out in map application provided in an embodiment of the present invention is illustrated Figure;
When Fig. 6-2 is that the calling interface of positioning service provided in an embodiment of the present invention is not kidnapped, map application is to calling Interface is called to obtain the schematic diagram of position;
When Fig. 6-3 is that the calling interface of positioning service provided in an embodiment of the present invention is kidnapped, map application is to calling interface It is called to obtain the schematic diagram of position;
Fig. 6-4 is an optional place for obtaining position after injecting codes in map application provided in an embodiment of the present invention Reason schematic diagram;
Fig. 7-1 is that the virtual optional flow process of position that carries out in social networking application provided in an embodiment of the present invention is illustrated Figure;
Fig. 7-2 is that optional display of that virtual location is demarcated in social networking application provided in an embodiment of the present invention is illustrated Figure;
Fig. 7-3 is that terminal provided in an embodiment of the present invention carries out a virtual optional process of position in map application Schematic diagram;
When Fig. 7-4 is that the calling interface of positioning service provided in an embodiment of the present invention is not kidnapped, social networking application is to calling Interface is called to obtain the schematic diagram of position;
When Fig. 7-5 is that the calling interface of positioning service provided in an embodiment of the present invention is held as a hostage, social networking application connects to calling Mouth is called to obtain the schematic diagram of position;
Fig. 8-1 is a virtual optional schematic flow sheet of position provided in an embodiment of the present invention;
Fig. 8-2 is provided in an embodiment of the present invention when the calling interface of positioning service is held as a hostage, and map application is to calling Interface is called to obtain the schematic diagram of position;
Fig. 8-3 is provided in an embodiment of the present invention when the calling interface of positioning service is held as a hostage, and social networking application is to calling Interface is called to obtain the schematic diagram of position;
Fig. 9 is an optional illustrative view of functional configuration of position virtual bench provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with drawings and Examples, the present invention will be described in further detail.It should be appreciated that mentioned herein Embodiment only to explain the present invention, is not intended to limit the present invention.In addition, embodiment provided below is for implementing The section Example of the present invention, rather than the whole embodiments for implementing the present invention are provided, in the case where not conflicting, the present invention is implemented Example record technical scheme can be in any combination mode implement.
The embodiment of the present invention is provided as the position virtual bench of position virtual method and application site virtual method, under Different implementations in the face of position virtual method and relevant position virtual bench are illustrated.
Position virtual method provided in an embodiment of the present invention can have various implementations, for example:
1) in server side enforcement, server application and platform.
The embodiment of the present invention can provide the application software or large software system designed using programming languages such as C/C++, Java Dedicated software modules in system, run on server (in the way of executable instruction in the storage medium of server store, and Run by the processor of server end) execution position is virtual.
The embodiment of the present invention can also be provided as on the distributed of multiple servers composition, parallel computing platform, carried Customization, be easy to interactive network (Web) interface or other each user interfaces (UI, User Interface), with according to user The position set in interface, carries out position virtual for application.
2) implement in end side, there is provided be application or module.
The embodiment of the present invention can be provided as using application or the module of the design of the programming languages such as C/C++, Java, and module can To be embedded into the various terminals based on systems such as Android or iOS, so as to direct using terminal, the computing resource of itself enters line position Put virtual.
The position virtual bench of application site virtual method provided in an embodiment of the present invention can have various implementations, example Such as:
1) realize that exemplarily, terminal can be smart mobile phone, panel computer, wearing based on the computing resource in terminal The various forms of terminals such as formula equipment (intelligent watch, intelligent glasses) and car-mounted terminal.
2) in addition, position virtual bench is also based on the computing resource in the calculating platform that server or server are set up Realize.
Hardware configuration to can apply to the position virtual bench of terminal or server is illustrated, and is illustrated referring to Fig. 1 Position virtual bench 10 an optional hardware architecture diagram, position virtual bench 10 includes:
Processor 11, input/output interface 13, storage medium 14 and network interface 12, component can be with Jing system bus Connection communication.
Processor 11 can be using central processing unit (CPU), microprocessor (MCU, Microcontroller Unit), specially With integrated circuit (ASIC, Application Specific Integrated Circuit) or logic programmable gate array (FPGA, Field-Programmable Gate Array) is realized, for based on the executable finger stored in storage medium 14 Order completes the virtual relevant treatment in position.
Input/output interface 13 can be realized using such as display screen, touch-screen, loudspeaker input/output device, is used for The virtual pilot process in display location and result.
Storage medium 14 can be realized using non-volatile memory mediums such as flash memory, hard disk, CDs, it would however also be possible to employ double The volatile storage mediums such as rate (DDR, Double Data Rate) dynamic buffering realize that exemplarily, storage medium 14 can be with Arrange in same equipment (such as terminal or server) jointly with the other assemblies in hardware configuration, it is also possible to respect to hardware configuration In other assemblies place remote arrange.
Network interface 12 provides the access ability of the external data storage medium 14 that such as strange land is arranged, example to processor 11 Property, network interface 12 can be based on near-field communication (NFC, Near Field Communication) technology, bluetooth (Bluetooth) short-range communication that technology, purple honeybee (ZigBee) technology are carried out, furthermore it is also possible to realize as many in being based on code division Location (CDMA, Code Division Multiple Access), WCDMA (WCDMA, Wideband Code Division Multiple Access) etc. communication standard and its evolution standard communication.
Before the present invention will be described in further detail, the noun and term to being related in the embodiment of the present invention is said Bright, the noun being related in the embodiment of the present invention and term are applied to following explanation.
1) location Based service (LBS, Location Based Services), is by mobile logical also known as positioning service Communication network and a kind of business that global position system is combined or alternative one is provided, by location technology the position letter of terminal is obtained Breath is (such as latitude and longitude coordinates data), there is provided to mobile subscriber or other people and communication system, various with position phase to realize The business of pass.
2) position Virtual Service, the service of the current location of the permission virtual terminal provided in terminal, virtual position can Think optional position, the service related to diverse location is (such as function in can be used for developing test (such as map, navigation type application) Or information).
3) Hook (hook):The abduction treatment mechanism of message, the program of actually one process message (can also be considered as Code), with monitor designated program (or process) specific message or event (the such as input of keyboard, mouse, screen word-selecting, Log event), after message or event is monitored, message or particular event are kidnapped so as to obtain the control of message or event, (change) message or event can be processed, it is also possible to do not deal with and continue to transmit message or event to specified journey Sequence, can also force the transmission of end or event.
4) Shellcode, really one section code (can also be filling data), is set for being sent to equipment and utilization Particular vulnerability obtains the code of authority in standby system, can typically obtain the root authority of highest authority such as Android system.Separately Outward, Shellcode is usually to equipment as data is activation.
5) code injection:Executable code block is injected into the process specified.
6) intended application, user needs the application for being input into virtual location (usually, different from position that user is current), from And make to load the service of correlation using the virtual location based on input.
7) process, in the application of running status, occupying system resources, application can only run a process, it is also possible to Run multiple processes simultaneously.
As it was previously stated, the service logic of the certain applications in terminal is such:It is provided solely for and terminal current location phase The service of pass, but, Jing is commonly present and obtains the related service of other positions (different from terminal current location).
In view of the above problems, a kind of position virtual method provided in an embodiment of the present invention, is said for following scene It is bright:Terminal operating Android system, is provided with social networking application, and user needs in social networking application virtual other positions (different from terminal Current location), the service (such as neighbouring good friend, neighbouring stranger) related such that it is able to check other positions.
Setting schematic diagram such as Fig. 2 institutes of the primary position Virtual Service of Android system (referred to as primary position Virtual Service) Show, manually open position Virtual Service is exportable virtual location to user, it is virtual to carry out position, one is run in the terminal The third party position Virtual Service of position Virtual Service primary in for opening terminal operating system, referring to the position shown in Fig. 3 The optional schematic flow sheet of virtual is put, is comprised the following steps:
Step 101, third party position Virtual Service opens the primary position Virtual Service in positioning service.
Process is the basic executive agent of application, and correspondingly, from the angle of process, above-mentioned steps 101 can be by so Mode realize, by third party position Virtual Service process open positioning service process in primary position Virtual Service.
Positioning service be terminal operating system in primary positioning service, or install in terminal it is third-party fixed Position service, for based on various location technologies such as Global Satellite signal framing technology, architecture technology, network assistance positioning skill Art etc., positions to terminal.
Step 102, third party position Virtual Service sends to positioning service needs virtual position.
From the angle of process, above-mentioned steps 102 can be realized by such mode, by third party position Virtual Service Process sends to the process of positioning service needs virtual position.
Usually, virtual position is different from the physical location of terminal.Exemplarily, it is assumed that user holds terminal positioned at position 1 is put, user desire to the good friend checked in social networking application near position 2 (different from position 1), then virtually take in position Position 2 is pre-set in business.
Step 103, position of the social networking application to request for location services terminal.
From the angle of process, above-mentioned steps 103 can be realized by such mode, and the process of social networking application is to positioning clothes The position of the process requested terminal of business.
Exemplarily, it is social when user triggers location Based service (such as checking nearby friends) in social networking application Using to the position of request for location services terminal.
Step 104, positioning service returns virtual location by primary position Virtual Service to social networking application.
From the angle of process, above-mentioned steps 102 can be realized by such mode, and the process of positioning service is by primary Position Virtual Service to the process of social networking application returns virtual location.
Continue aforementioned exemplary, and because user pre-sets position 2 in the Virtual Service of position, positioning service passes through primary position Put Virtual Service and return to virtual position 2 to social networking application, realize the effect to social networking application " deception ".Social networking application will Position 2 is identified as the physical location of terminal, and the good friend near searching position 2 simultaneously loads.
As can be seen that above-mentioned position virtual method provided in an embodiment of the present invention, empty by the primary position of calling system Plan service forms virtual location, makes social networking application load the service related to virtual location.But, inventor has found, upper rheme Put virtual scheme there are problems that it is such:
1) the primary position Virtual Service of system is relied on, it is at present, considerable to apply when location Based service is provided, one Denier detects the primary position Virtual Service of system and opens, and just will be considered that the position for returning to application is false position, refuses Position to returning to application responds, and leads to not obtain the service related to virtual location.
2) so that the operating system of terminal is as Android system as an example, the ecological fragmentation of Android system is extremely serious, different whole The operating system at end is often that customization is changed based on official system by manufacturer, and considerable custom-built system is not turned on virtual location Function, causing the scheme of above-mentioned virtual location cannot cover all terminals.
In view of the above problems, inventor has found, no matter which kind of system of terminal operating, and arbitrarily applying in terminal is providing base When the service of position needs to obtain the physical location of terminal, realize always by the calling interface for calling positioning service, The embodiment of the present invention also provides a kind of position virtual method, as shown in figure 4, in the primary position Virtual Service of terminal operating system Positioning when being closed, by the way of the process injecting codes to terminal, based on the code highjacking for being injected The calling interface (step 201) of service;Detect intended application use calling interface obtain position request (step 202) when, As response, construction virtual location (step 203), and virtual location (step 204) is returned to the calling interface of positioning service, made The location-based service strategy that intended application must be based on is processed virtual location, is formed based on the location-based service result of virtual location (step 205).
As can be seen that by way of kidnapping the calling interface of positioning service, obtaining (for example, aforesaid to intended application Social networking application) obtain terminal physical location process control, once intended application has the physical location for obtaining terminal Request, then return virtual location by the calling interface of abduction to intended application.
Because the process of above-mentioned return virtual location is completed by kidnapping calling interface, and target should in all of system With position is obtained always by acquisition is called to calling interface, whether open unrelated with the position Virtual Service of system, because This goes for all of system;
The position Virtual Service primary due to not relying on system, even if therefore the primary position Virtual Service of system close Close, it is also possible to return virtual location to intended application virtual to complete position;
It is transparent, therefore the position that intended application always will be returned to the abduction of calling interface for intended application The actual position for being identified as terminal is put, is not in the situation of virtual location refusal respond of the intended application to returning.
In practical application, there are at least two different modes in the process of aforementioned injecting codes, such as can be to intended application Carry out injecting codes, or, primary location-based service (referred to as positioning service) injecting codes in terminal operating system,
The injecting codes in the process of intended application are directed to first below realizes that position virtually illustrates.To carry out position Virtually, third-party position Virtual Service (abbreviation third party position Virtual Service) is run in the terminal, it is empty by third party position Intend process injecting codes of the service to intended application, line position of going forward side by side puts virtual relevant treatment.It should be noted that in order to avoid Intended application is refused the virtual location to returning and is responded, the primary position Virtual Service of the operating system that needs to close a terminal. Referring to a virtual optional schematic flow sheet of the position shown in Fig. 5, comprise the following steps:
Step 301, process injecting codes of the third party position Virtual Service to the intended application of terminal.
In one embodiment, third party position Virtual Service obtains root (root) user right of system, with system root User right loads executable code in the process of intended application such that it is able to enforce in the process of intended application Code.
Exemplarily, intended application can be that the application with location dependant services, such as digital map navigation are arbitrarily provided in terminal Shopping application etc. on class application, social networking application and line.
Process to injecting codes by taking terminal operating Android operation system as an example is illustrated, to intended application injecting codes It is the injecting codes in the process of intended application, and in systems injection performs the library file required for code.Can pass through The mode for sending Shellcode to the system of terminal obtains root authority, after the root authority for obtaining terminal operating system, The process of injecting codes is comprised the following steps:
Step 3011, the storage allocation in the process of intended application.
Target process calls memory headroom mapping (mmap) function to apply for memory headroom in proceeding internal memory.
Step 3012, code and parameter are write in the process of intended application.
The function name character string to be called in the name character string of the library file that will be injected and library file, is written to mesh The memory headroom of the process of mark application.
Step 3013, the code in operational objective process opens dynamic link library (dlopen) function by code call It is loaded into library file.
Step 302, the code injected in the process of intended application in the process of implementation, is kidnapped calling for positioning service and is connect Mouthful.
In one embodiment, process injecting codes of the third party position Virtual Service to the intended application of terminal so that Code can be performed in the memory headroom of the process of intended application, be injected by the process performed in intended application Code, kidnaps the calling interface of positioning service.
Step 303, the code injected in the process of intended application in the process of implementation, detects intended application based on calling Interface obtains the request of position.
In one embodiment, because intended application is come always by mode as the calling interface for calling positioning service The position of terminal is obtained, therefore, when injecting codes are performed in the process of intended application, code is once detected in the process of implementation To process the calling for calling interface of intended application, that is, determine that intended application has the request of the position for obtaining terminal.
Step 304, the code injected in the process of intended application in the process of implementation, constructs virtual location.
In one embodiment, the code for injecting in the process of intended application carries out in the process of implementation following operation:Will Third party position Virtual Service replaces positioning service, the virtual location constructed in the process of third party position Virtual Service, Exactly virtual location is constructed to return intended application by third party position Virtual Service, due to the primary position Virtual Service of system It is not turned on, for target, " does not know " that the calling interface of positioning service has been held as a hostage;Therefore the 3rd can be used Put " deception " of the Virtual Service realization to intended application in orientation.
Step 305, the code injected in the process of intended application in the process of implementation, is connect by calling for positioning service Mouthful, return virtual location to intended application.
In one embodiment, the code of the process injection of intended application performs following operation, and third party position is virtual Service arrangement virtual location, via process from calling interface to intended application return.
For example, in the process of intended application inject code in the process of implementation, the loading third-party position in intended application The mark of Virtual Service is put, prompting user can be with virtual location, when user demarcates a virtual location (difference in intended application In the physical location of user) when, the operation of virtual location is demarcated in intended application in response to user, it is virtual by third party position Service arrangement virtual location data corresponding with calibration point.
Step 306, intended application is processed virtual location based on the location-based service strategy of intended application, and formation is based on The location-based service result of virtual location.
In one embodiment, virtual location execution position service strategy, position clothes are directed in the process of intended application Business strategy obtains the service associated with position, the such as function and/or information of association for the position of reflexless terminal, and in terminal Graphical interfaces in load function and/or information.
Illustrate with reference to different application scenarios:
Scene 1) server tested the map application that will be reached the standard grade, and needs demarcate different positions in map application Put, test map application function of calling a taxi, preset logic is in map application, if starting point when initiations of user is called a taxi and User current location gap is excessive and does not submit order to, for this reason, it may be necessary to carry out virtually to the start position that initiation is called a taxi.
Referring to Fig. 6-3, map application loads the Orientation on map interface with position 1 as calibration point in graphical interfaces, now, If the calling interface of positioning service is not held as a hostage, though user in Orientation on map interface calibration position 2 as calling a taxi Start position, then map application will be seen that user's physical location 1 is excessive with the span of calibration position 2 and refusal initiates order (example Such as point out malposition).
Referring to Fig. 6-1 and Fig. 6-4, third party position Virtual Service injecting codes (step in the process of map application 401), the code of injection in the process of implementation, calls the calling interface of positioning service to be kidnapped (step map application process 402), in the graphical interfaces of map application loading third-party position Virtual Service mark, point out user fixed in map A virtual location is demarcated at position interface, and lookup position (step 403) is called to calling interface in map application process, referring to Fig. 6-2, the virtual location data generated based on the virtual location 2 demarcated using third party position Virtual Service, by what is kidnapped Calling interface returns map and answers process (step 404), " does not know " that calling interface is held as a hostage for map application process, Therefore used as the physical location of user, map application discovery user is in Orientation on map interface for the position 2 for calling interface being returned The position 2 of demarcation, is consistent with the physical location 2 of the user for inquiring, as response, using virtual position 2 as rising for calling a taxi Initiate order in point position.
Scene 2) intended application of terminal operating is social networking application, user holds terminal positioned at position 1, need it is social should The good friend checked near position 2.
Social networking application loads Orientation on map interface and demarcates user and is presently in position, and social networking application adds in graphical interfaces The Orientation on map interface with position 1 as calibration point is carried, referring to Fig. 7-4, social networking application is entered by the calling interface to positioning service Row calls the current location for obtaining user, now, if the calling interface of positioning service is not held as a hostage, even if user is in map Calibration position 2 in locating interface, then social networking application will be seen that user's physical location 1 and the span of calibration position 2 are excessive and refuse (for example pointing out malposition) is responded so as to refuse to respond the position 2 that user demarcates.
Third party position Virtual Service injecting codes in the process of social networking application, to social networking application positioning service is called Calling interface is kidnapped, referring to Fig. 7-2, the mark of loading third-party position Virtual Service in the graphical interfaces of social networking application Know, point out user to demarcate a virtual location at Orientation on map interface, completed by injecting codes in the process of social networking application Abduction to the calling interface of positioning service, the void generated based on the virtual location 2 demarcated using third party position Virtual Service Intend position data, social networking application is returned by the calling interface kidnapped, calling interface " is not known " for social networking application It is held as a hostage, therefore the position 2 that calling interface is returned, used as the physical location of user, social networking application finds user in Orientation on map The position 2 demarcated in interface, is consistent with the physical location 2 of the user for inquiring, therefore inquires about near the position 2 that user demarcates Good friend simultaneously loads in the graphical interfaces of social networking application.
User is located at position 1 in the positioning map interface of social networking application, and user needs to be checked in social networking application and is located at Good friend near position 2, third party position Virtual Service prompting user can with virtual location, correspondingly, as shown in Fig. 7-3, the Tripartite position Virtual Service supports that user demarcates a virtual position 2, automatically by the position location in social networking application (actually For position 1) virtual position 2 is replaced with, make social networking application that the good friend of user is searched based on virtual position 2.
Referring to Fig. 7-1, third party position Virtual Service process (process of third party position Virtual Service) is by code injection To the calling interface that the process (step 501) of social networking application, injecting codes are positioned using the abduction social networking application acquisition of hook technologies (step 502), therefore, when the calling interface of social networking application calling system is positioned (step 503), participate in Fig. 7-3 so that Positioning service returns a void without normal direction social networking application process home position, third party position Virtual Service process to social networking application The position 2 (step 504) of plan, reaches the purpose of virtual location.
When the calling interface of the positioning service as shown in Fig. 7-4 is not kidnapped, application is called to obtain to calling interface The schematic diagram that fetch bit is put;In Android system, when application process needs to obtain the current location of terminal, positioning service can be called to obtain Take the current location at family.
When the calling interface of the positioning service as shown in Fig. 7-5 is held as a hostage, application is called to obtain to calling interface The schematic diagram of position;Third party position Virtual Service process is kidnapped social networking application process and obtains positioning by internuncial mode Request, will realize kidnapping the code injection social networking application process of function, and operate in social networking application process.When code operation When, positioning service (the primary positioning service or third-party positioning service of system) can be replaced first virtually to be taken for third party position Business, when social networking application process is positioned in acquisition request, third party position Virtual Service process is answered by calling interface to social Virtual location is returned with process, because social networking application process calls the calling interface of positioning service to be held as a hostage, therefore cannot be differentiated The authenticity of the virtual location of return, so, no matter process is forged in position carries out which kind of position to social networking application, and social networking application is all The current actual position of terminal can be identified as and responded, so as to reach the function of realizing virtual location.
Illustrate so that the injecting codes in intended application process realize that position is virtual as an example above, as to intended application The replacement scheme of injecting codes in process, can in positioning service process injecting codes, so as in systems arbitrarily application is obtained Virtual location can be returned when taking positioning.
Below again be directed to positioning service (the primary positioning service of the positioning service that social networking application is used, such as system, or In system install third-party positioning service) process in injecting codes realize that position virtually illustrates.To carry out position Virtually, a third-party position Virtual Service (abbreviation third party position Virtual Service) is run in the terminal, by third party position To the process injecting codes of positioning service, line position of going forward side by side puts virtual relevant treatment to Virtual Service.It should be noted that in order to keep away Exempt from the virtual location that intended application refuses to returning to respond, the primary position of the operating system that needs to close a terminal virtually takes Business.Referring to a virtual optional schematic flow sheet of the position shown in Fig. 8-1, comprise the following steps:
Step 601, process injecting codes of the third party position Virtual Service to the positioning service of terminal.
In one embodiment, third party position Virtual Service obtains root (root) user right of system, with system root User right loads executable code in the process of positioning service such that it is able to positioning service process in force to hold Line code.
Exemplarily, intended application can be that the application with location dependant services, such as digital map navigation are arbitrarily provided in terminal Class application, social networking application, shopping application etc. on line.
Process to injecting codes by taking terminal operating Android operation system as an example is illustrated, to positioning service injecting codes It is the injecting codes in the process of positioning service, and in systems injection performs the library file required for code, aforesaid operations Can realize by way of the system to terminal sends Shellcode, after the root authority for obtaining terminal operating system, The process of injecting codes is comprised the following steps:
Step 6011, the storage allocation in the process of positioning service.
Target process calls memory headroom mapping (mmap) function to apply for memory headroom in proceeding internal memory.
Step 6012, code and parameter are write in the process of positioning service.
The function name character string to be called in the name character string of the library file that will be injected and library file, it is fixed to be written to The memory headroom of the process of position service.
Step 6013, runs the code in positioning service process, and by code call dynamic link library (dlopen) letter is opened Count to be loaded into library file.
Step 602, the code injected in the process of positioning service in the process of implementation, is kidnapped calling for positioning service and is connect Mouthful.
In one embodiment, process injecting codes of the third party position Virtual Service to the positioning service of terminal so that Code can be performed in the memory headroom of the process of positioning service, be injected by the process performed in positioning service Code, kidnaps the calling interface of positioning service.
Step 603, the code injected in the process of positioning service in the process of implementation, detects intended application based on calling Interface obtains the request of position.
In one embodiment, due to side as calling interface of the intended application always by calling system positioning service Formula obtaining the position of terminal, therefore, when injecting codes are performed in the process of positioning service, code is in the process of implementation once Process the calling for calling interface of intended application is detected, that is, determines that intended application has asking for the position for obtaining terminal Ask.
Step 604, the code injected in the process of positioning service in the process of implementation, constructs virtual location.
In one embodiment, the code for injecting in the process of intended application carries out in the process of implementation following operation:Will Third party position Virtual Service replaces positioning service, and the virtual location that the process of third party position Virtual Service is constructed returns mesh Mark application, because the primary position Virtual Service of system is not turned on, therefore can be realized using third party position Virtual Service " deception " to intended application.
Step 605, the code injected in the process of positioning service in the process of implementation, is connect by calling for positioning service Mouthful, return virtual location to intended application.
In one embodiment, the code of the process injection of positioning service performs following operation, and third party position is virtual The virtual location of service arrangement, via calling interface to intended application return.
For example, in the process of positioning service inject code in the process of implementation, the loading third-party position in intended application The mark of Virtual Service is put, prompting user can be with virtual location, when user demarcates a virtual location (difference in intended application In the physical location of user) when, the operation of virtual location is demarcated in intended application in response to user, it is empty by third party position Intend service arrangement virtual location data corresponding with calibration point.
Step 606, intended application is processed virtual location based on the location-based service strategy of intended application, and formation is based on The location-based service result of virtual location.
In one embodiment, virtual location execution position service strategy, generally, position are directed in the process of intended application The position that service strategy is reflexless terminal is put, the service associated with position, the such as function and/or information of association is obtained, and at end Function and/or information are loaded in the graphical interfaces at end.
Illustrate with reference to different application scenarios:
Scene 1) server tested the map application that will be reached the standard grade, and needs demarcate different positions in map application Put, test map application function of calling a taxi, preset logic is in map application, if starting point when initiations of user is called a taxi and User current location gap is excessive and does not submit order to, for this reason, it may be necessary to carry out virtually to the start position that initiation is called a taxi.
Map application loads the Orientation on map interface with position 1 as calibration point in graphical interfaces, now, if positioning clothes The calling interface of business is not held as a hostage, though user in Orientation on map interface calibration position 2 as the start position called a taxi, that Map application will be seen that user's physical location 1 is excessive with the span of calibration position 2 and refusal is initiated order and (for example points out position not Correctly).
Referring to Fig. 8-2, third party position Virtual Service injecting codes in the process of positioning service, the code of injection is being held During row, the calling interface of positioning service is called to be kidnapped (step 402) map application process, in the figure of map application The mark of loading third-party position Virtual Service in shape interface, points out user to demarcate a virtual bit at Orientation on map interface Put, lookup position is called to calling interface in map application process, using third party position Virtual Service based on demarcation The virtual location data that virtual location 2 is generated, return map and answer process, for map application process by the calling interface kidnapped For " do not know " that calling interface is held as a hostage, therefore using calling interface return position 2 as user physical location, map Using the position 2 that user demarcates in Orientation on map interface is found, it is consistent with the physical location 2 of the user for inquiring, as sound Should, order is initiated as the start position called a taxi using virtual position 2.
Scene 2) intended application of terminal operating is social networking application, user holds terminal positioned at position 1, need it is social should The good friend checked near position 2.
Referring to Fig. 8-3, social networking application process loads Orientation on map interface and demarcates user and is presently in position, social networking application The Orientation on map interface with position 1 as calibration point is loaded in graphical interfaces, social networking application to calling for positioning service by connecing Mouth is called the current location for obtaining user, now, if the calling interface of positioning service is not held as a hostage, even if user exists Calibration position 2 in Orientation on map interface, then social networking application will be seen that user's physical location 1 and the span of calibration position 2 it is excessive and Refusal respond (for example pointing out malposition) so as to refuse to user demarcate position 2 respond.
Third party position Virtual Service injecting codes in the process of positioning service, to social networking application positioning service is called Calling interface is kidnapped, the mark of loading third-party position Virtual Service in the graphical interfaces of social networking application, points out user A virtual location can be demarcated at Orientation on map interface, be completed to positioning based on the injecting codes in positioning service process are performed The abduction of the calling interface of service, the virtual location generated based on the virtual location 2 demarcated using third party position Virtual Service Data, by the calling interface kidnapped social networking application process is returned, and " is not known " to call for social networking application process and is connect Mouth is held as a hostage, therefore the position 2 that calling interface is returned, used as the physical location of user, social networking application finds that user is fixed in map The position 2 demarcated in the interface of position, is consistent with the physical location 2 of the user for inquiring, therefore inquires about near the position 2 that user demarcates Good friend and in the graphical interfaces of social networking application load.
The logical functional structure of aforementioned location virtual bench is illustrated with reference to Fig. 9, it should be pointed out that when in Fig. 9 What the logical functional structure of the position virtual bench for illustrating was merely exemplary, can be with based on the logical functional structure shown in Fig. 8 There are other deformations, such as unit therein is further split, or unit therein is merged.
The logic function unit illustrated in Fig. 9 can be realized by corresponding computing resource.For example, when position virtual bench is in clothes When business device side is implemented for testing for the response of diverse location application, each unit in the virtual bench of position can be by Computing resource in server is realized, as the executable instruction reality being stored in storage medium is run in internal memory by processor It is existing.Again for example, when position virtual bench is implemented for virtual location in the application with using related to virtual location in end side Service when, each unit in the virtual bench of position can be realized by the computing resource in terminal, such as by processor in internal memory The executable instruction that middle operation is stored in storage medium is realized.
In fig .9, position virtual bench includes:Kidnap unit 21, detector unit 22, structural unit 23, response unit 24 With closing unit 25.
Closing unit 25, for position Virtual Service primary in the operating system closed a terminal, due to the original in terminal When raw position Virtual Service is opened, the certain applications family in terminal can by the judgement of the position of return refuse for virtual location into Row response, thus closes off primary position Virtual Service to avoid such case.
Unit 21 is kidnapped, for the process injecting codes of terminal, the positioning based on the code highjacking for being injected to take The calling interface of business.
In practical application, there are at least two different modes in the process of injecting codes, such as can entering to intended application Row injecting codes, or, primary location-based service (referred to as positioning service) injecting codes in terminal operating system, below it is right Injecting codes are illustrated with the different modes for kidnapping calling interface.
Mode 1)
In one embodiment, unit 21 is kidnapped, is additionally operable to enter to the intended application of terminal with system root user authority Loading code in journey, and enforce code in the process of intended application;Injected in process by performance objective application Code, kidnap positioning service calling interface.
It is right by taking terminal operating Android operation system as an example, it is in the process of intended application to intended application injecting codes Injecting codes, and in systems injection performs the library file required for code, aforesaid operations can be sent out by the system to terminal The mode for sending Shellcode is realized, after the root authority for obtaining terminal operating system, kidnaps the place of the injecting codes of unit 21 Reason is comprised the following steps:
Step 3011, the storage allocation in the process of intended application.
Target process calls memory headroom mapping (mmap) function to apply for memory headroom in proceeding internal memory.
Step 3012, code and parameter are write in the process of intended application.
The function name character string to be called in the name character string of the library file that will be injected and library file, is written to mesh The memory headroom of the process of mark application.
Step 3013, the code in operational objective process opens dynamic link library (dlopen) function by code call It is loaded into library file.
Mode 2)
In one embodiment, unit 21 is kidnapped, the process injecting codes of the positioning service to terminal is additionally operable to, by holding The code that row is injected in the process of positioning service, kidnaps the calling interface of positioning service.
Process to injecting codes by taking terminal operating Android operation system as an example is illustrated, to positioning service injection generation Code is the injecting codes in the process of positioning service, and in systems injection performs the library file required for code, above-mentioned behaviour Make to realize by way of system to terminal sends Shellcode, obtain terminal operating system root authority it Afterwards, unit 21 is kidnapped, the process of injecting codes is comprised the following steps:
Step 5011, the storage allocation in the process of positioning service.
Target process calls memory headroom mapping (mmap) function to apply for memory headroom in proceeding internal memory.
Step 5012, code and parameter are write in the process of positioning service.
The function name character string to be called in the name character string of the library file that will be injected and library file, it is fixed to be written to The memory headroom of the process of position service.
Step 5013, runs the code in positioning service process, and by code call dynamic link library (dlopen) letter is opened Count to be loaded into library file.
Detector unit 22, uses calling interface to obtain the request of position for detecting intended application.
Correspondence aforementioned manner 1), in one embodiment, because intended application is always by calling calling for positioning service Mode as interface obtaining the position of terminal, therefore, detection is realized when injecting codes are performed in the process of intended application The function of unit 22, code once detects in the process of implementation process the calling for calling interface of intended application, i.e., really Set the goal using the request with the position for obtaining terminal.
Correspondence aforementioned manner 2), in another embodiment, because intended application is always by calling system positioning service Calling interface as mode obtaining the position of terminal, therefore, the reality when injecting codes are performed in the process of positioning service The function of existing detector unit 22, code once detects in the process of implementation the tune of the process for calling interface of intended application With that is, determination intended application has the request of the position for obtaining terminal.
Structural unit 23, for constructing virtual location, and is returned empty by the calling interface of positioning service to intended application Intend position.
Correspondence aforementioned manner 1), in one embodiment, the code injected in the process of intended application is in the process of implementation The function of structural unit 23 is realized, following operation is carried out:Third party position Virtual Service is replaced into positioning service, by third party position The virtual location of the process construction of Virtual Service is put, intended application is returned, because the primary position Virtual Service of system is not opened Open, therefore third party position Virtual Service can be used to realize " deception " to intended application.
Correspondence aforementioned manner 2), in one embodiment, the code injected in the process of intended application is in the process of implementation The function of structural unit 23 is realized, following operation is carried out:Third party position Virtual Service is replaced into positioning service, by third party position The virtual location for putting the process construction of Virtual Service returns intended application, because the primary position Virtual Service of system is not opened Open, therefore third party position Virtual Service can be used to realize " deception " to intended application.
Response unit 24, is processed virtual location for the location-based service strategy based on intended application, and formation is based on The location-based service result of virtual location.
In one embodiment, virtual location execution position service strategy, generally, position are directed in the process of intended application Service strategy is the position of reflexless terminal, obtains the service associated with position, the such as function and/or information of association, and in terminal Graphical interfaces in load function and/or information.
In sum, the embodiment of the present invention has the advantages that:
1) process for returning virtual location to intended application is completed by kidnapping calling interface, does not rely on terminal operation It is unrelated whether the position functions of system open, therefore (whether to provide position not virtual for guard system to go for all of system Service), highly versatile.
Even if 2) the position Virtual Service of system is closed, it is also possible to return virtual location to intended application.
3) for intended application, the abduction to calling interface is transparent, therefore intended application is always by return Location recognition is the actual position of terminal, is not in the situation of the virtual location refusal respond to returning.
4) by way of kidnapping intended application injecting codes, it is possible to achieve only virtual location in need is answered With the effect for carrying out position camouflage, impact will not be produced on other applications.
5) by way of kidnapping positioning service injecting codes, it is possible to achieve carry out position of overall importance to application Virtual effect, it is not necessary to be injected separately into code using the application of position for each, treatment effeciency is high.
It will be appreciated by those skilled in the art that:Realize that all or part of step of said method embodiment can be by answering Completed with the related hardware of instruction, aforesaid application can be stored in a computer read/write memory medium, and this is applied During execution, the step of including said method embodiment is performed;And aforesaid storage medium includes:Movable memory terminal, deposit at random Access to memory (RAM, Random Access Memory), read-only storage (ROM, Read-Only Memory), magnetic disc or The various media that can store application code such as CD.
Or, if the above-mentioned integrated unit of the present invention is realized and as independent product using in the form of software function module When selling or using, it is also possible in being stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical scheme of example substantially contributes in other words to correlation technique can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are used so that terminal (can be with It is personal computer, server or network terminal etc.) perform all or part of each embodiment methods described of the invention. And aforesaid storage medium includes:Movable memory terminal, RAM, ROM, magnetic disc or CD etc. are various can to store application code Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.

Claims (12)

1. a kind of position virtual method, it is characterised in that methods described includes:
To the process injecting codes of terminal, the calling interface of the positioning service of the terminal is kidnapped based on the code for being injected;
Detecting intended application uses the calling interface to obtain the request of position;
Construction virtual location, and the virtual location is returned to the intended application by the calling interface of the positioning service;
The virtual location is processed based on the location-based service strategy of the intended application, is formed and is based on the virtual location Location-based service result.
2. method according to claim 1, it is characterised in that
Position Virtual Service primary in the operating system of the terminal is closed.
3. method according to claim 1, it is characterised in that the process injecting codes to terminal, based on being injected Code highjacking positioning service calling interface, including:
To the process injecting codes of the intended application of the terminal, by being injected in the process for performing the intended application Code, kidnap the calling interface of the positioning service.
4. method according to claim 3, it is characterised in that the process note of the intended application to the terminal Enter code, including:
The code is loaded in the process of the intended application of the terminal with system root user authority, and in the target Using process in enforce the code.
5. method according to claim 1, it is characterised in that the process injecting codes to terminal, based on being injected Code kidnap the terminal positioning service calling interface, including:
To the process injecting codes of the positioning service of the terminal, injected by the process performed in the positioning service Code, kidnap the calling interface of the positioning service.
6. method according to claim 1, it is characterised in that the construction virtual location, including:
The code injected by the process performed to the intended application carries out following operation:Third party position Virtual Service is replaced The positioning service is changed, the virtual location is constructed in the process of third party position Virtual Service.
7. method according to claim 1, it is characterised in that the construction virtual location, including:
Operated to below the code ways of carrying out of the process injection of system positioning by performing:The positioning service is kidnapped, The virtual location is constructed in the process of the positioning service kidnapped.
8. method according to claim 1, it is characterised in that the construction virtual location, including:
The mark of loading third-party position Virtual Service in the intended application;
The operation of virtual location is demarcated in the intended application in response to user, virtual location number corresponding with calibration point is constructed According to.
9. method according to claim 1, it is characterised in that the location-based service strategy pair based on the intended application The virtual location is processed, and is formed based on the location-based service result of the virtual location, including:
The location-based service strategy is performed for the virtual location in the process of the intended application, is obtained and the position The function and/or information of association, and load the function and/or information.
10. a kind of position virtual bench, it is characterised in that described device includes:
Unit is kidnapped, for the process injecting codes of terminal, based on the code for being injected the positioning service of the terminal being kidnapped Calling interface;
Detector unit, uses the calling interface to obtain the request of position for detecting intended application;
Structural unit, for constructing virtual location, and is returned by the calling interface of the positioning service to the intended application The virtual location;
Response unit, is processed the virtual location for the location-based service strategy based on the intended application, forms base In the location-based service result of the virtual location.
11. devices according to claim 10, it is characterised in that
The abduction unit, is additionally operable to the process injecting codes of the intended application to the terminal, by performing the mesh The code injected in the process of mark application, kidnaps the calling interface of the positioning service.
12. devices according to claim 10, it is characterised in that
The abduction unit, is additionally operable to the process injecting codes of the positioning service to the terminal, by performing described The code that the process of positioning service is injected, kidnaps the calling interface of the positioning service.
CN201610645940.5A 2016-08-09 2016-08-09 Position virtual method and position virtual bench Active CN106686049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610645940.5A CN106686049B (en) 2016-08-09 2016-08-09 Position virtual method and position virtual bench

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610645940.5A CN106686049B (en) 2016-08-09 2016-08-09 Position virtual method and position virtual bench

Publications (2)

Publication Number Publication Date
CN106686049A true CN106686049A (en) 2017-05-17
CN106686049B CN106686049B (en) 2019-06-14

Family

ID=58839246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610645940.5A Active CN106686049B (en) 2016-08-09 2016-08-09 Position virtual method and position virtual bench

Country Status (1)

Country Link
CN (1) CN106686049B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665207A (en) * 2012-05-08 2012-09-12 杭州电子科技大学 Method used for continuously inquiring hiding user position based on mobile terminal in LBS (location based service)
CN103220566A (en) * 2013-03-06 2013-07-24 东莞宇龙通信科技有限公司 Method for positioning smart television terminal, smart television and system
US20140278847A1 (en) * 2013-03-14 2014-09-18 Fabio Gallo Systems and methods for virtualized advertising
CN104102358A (en) * 2014-07-18 2014-10-15 北京奇虎科技有限公司 Privacy information protecting method and privacy information protecting device
CN105045713A (en) * 2015-07-14 2015-11-11 腾讯科技(深圳)有限公司 Data processing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665207A (en) * 2012-05-08 2012-09-12 杭州电子科技大学 Method used for continuously inquiring hiding user position based on mobile terminal in LBS (location based service)
CN103220566A (en) * 2013-03-06 2013-07-24 东莞宇龙通信科技有限公司 Method for positioning smart television terminal, smart television and system
US20140278847A1 (en) * 2013-03-14 2014-09-18 Fabio Gallo Systems and methods for virtualized advertising
CN104102358A (en) * 2014-07-18 2014-10-15 北京奇虎科技有限公司 Privacy information protecting method and privacy information protecting device
CN105045713A (en) * 2015-07-14 2015-11-11 腾讯科技(深圳)有限公司 Data processing method and mobile terminal

Also Published As

Publication number Publication date
CN106686049B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN103649963B (en) Trust level activation
US8984657B2 (en) System and method for remote management of applications downloaded to a personal portable wireless appliance
CN103679007B (en) A kind of manage the method for application program authority, device and mobile device
CN104516783A (en) Authority control method and device
CN105550584A (en) RBAC based malicious program interception and processing method in Android platform
CN106201574A (en) A kind of startup method and device of application interface
CN104809390A (en) Safe operation method and device of system
CN105550595A (en) Private data access method and system for intelligent communication equipment
CN106815518B (en) Application installation method and electronic equipment
CN107077565A (en) The collocation method and equipment of a kind of safe configured information
CN103379481A (en) Method for achieving safety protection and firewall
CN103218552B (en) Based on method for managing security and the device of user behavior
CN105094996A (en) Security-enhancing method and system of Android system based on dynamic authority verification
CN102868813A (en) Method for realizing safety management mechanism and cell phone
CN108319849A (en) Equipment strategy management system based on Android twin containers system and management domain implementation method
CN104636154B (en) Application program installation method and device
CN113987599B (en) Method, device, equipment and readable storage medium for realizing firmware trusted root
CN115048642B (en) Communication method between trusted applications in multi-trusted execution environment and electronic equipment
CN107992745A (en) Kidnap countermeasure in a kind of interface based on Android platform
CN112463266A (en) Execution policy generation method and device, electronic equipment and storage medium
CN106874785A (en) System file access method and device for multiple operating systems
CN116578297A (en) H5 page running method and device, electronic equipment and storage medium
CN111566632B (en) Operation control method and electronic equipment
CN106686049B (en) Position virtual method and position virtual bench
CN111625812B (en) Operation processing method and device

Legal Events

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

Effective date of registration: 20230707

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right