CN106951294A - A kind of method and apparatus for being used to provide service for cross-system application - Google Patents
A kind of method and apparatus for being used to provide service for cross-system application Download PDFInfo
- Publication number
- CN106951294A CN106951294A CN201710194753.4A CN201710194753A CN106951294A CN 106951294 A CN106951294 A CN 106951294A CN 201710194753 A CN201710194753 A CN 201710194753A CN 106951294 A CN106951294 A CN 106951294A
- Authority
- CN
- China
- Prior art keywords
- service
- operating system
- cross
- request
- service request
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method for being used to provide service for cross-system application, cross-system application initial launch is in the first operating system, and method includes:The running environment for running cross-system application is set up in the second operating system, running environment make it that cross-system is applied and is in it in the first operating system in identical environment;Cross-system application is run in the second operating system, and monitors the service request for the first operating system that cross-system application is sent;When listen to that cross-system application sends for the first operating system service request when, indicate that cross-system is applied and enter wait state and service provider is determined according to the service request for the first operating system;Service request for the first operating system is sent to identified service provider and the service response for the service request for the first operating system is received from service provider;And service response is sent to the cross-system application being waited for.
Description
Technical field
The present invention relates to computer application field, it is used to provide service for cross-system application more particularly, to a kind of
Method and apparatus.
Background technology
At present, mobile terminal is used as a kind of portable communication equipment, such as mobile phone, panel computer and PDA (Personal
Digital Assistant, personal digital assistant) etc. mobile terminal device be widely used in study, amusement, work by people
In terms of work, the quality of life of modern is improved.Mobile terminal Android system (Android) is more and more based on now
Have become that we are daily to use using (App), mobile phone is hold daily and allows many users to become " person of immersing oneself in work quietly ", it is long
Phase in a state in which, it is compact for ease of carrying the comparison that is typically designed due to mobile terminal, therefore be not easy to the operation of user
With using, for a long time using the application in mobile terminal, different degrees of damage can all be caused to the hand, cervical vertebra, eyesight of user.
Because the application form that the Windows systems of computing device can be recognized is the forms such as rar, exe, and mobile terminal
The application form of android system be usually apk, or be mrp, so directly being run in computer Windows systems
The application of the android system of mobile terminal can not obtain support.Prior art is by being installed in Windows systems
Simulator, i.e., in the form of setting up virtual machine, set up mobile terminal Android applications in computing device Windows systems
Running environment.But run the application of mobile terminal android system on the computing device using simulator, first have to calculating
Simulator is installed in equipment Windows systems, and simulator is configured according to the type of mobile terminal, due to simulator
Download, installation and initial setting operation it is excessively loaded down with trivial details, general user is unwilling that selection uses simulator.Further, since
The application of android system can typically be related to using operation real time environment, such as the dump energy of mobile terminal, current network
The factor such as type and current signal strength, but the application for operating in the android system of simulator can not get operation
Real time environment factor in android system.
Therefore, the application that prior art has to mobile terminal device android system operates in computing device Windows
The demand of identical environment in system.
The content of the invention
The present invention provides a kind of method and apparatus for being used to provide service for cross-system application, to solve terminal device
Android system applies the problem of cross-system in computing device Windows systems in identical environment is run.
It is described the invention provides a kind of method for being used to provide service for cross-system application in order to solve the above problems
Cross-system application initial launch is in the first operating system, and methods described includes:
The running environment for running the cross-system application is set up in the second operating system, the running environment causes
The cross-system, which is applied, to be in it in first operating system in identical environment;
The cross-system application is run in second operating system, and monitors the pin that the cross-system application is sent
To the service request of the first operating system;
When listen to that the cross-system application sends for the first operating system service request when, indicate described interdepartmental
System application enters wait state and determines service provider according to the service request for being directed to the first operating system;
The service request for being directed to the first operating system is sent to identified service provider and from the clothes
Business provider receives the service response for the service request for being directed to the first operating system;And
The service response is sent to the cross-system application being waited for.
Preferably, when running the cross-system in second operating system and applying, the running environment causes institute
State cross-system application and think that it is operated in first operating system.
Preferably, the service request for being directed to the first operating system is to ask the first operating system to provide asking for service
Ask.
Preferably, the service request includes:The request of inquiry dump energy, inquiry current network type are asked and/or looked into
Ask current signal strength request.
Preferably, determine that service provider includes for the service request of the first operating system described in the basis:Root
It is determined to provide the first operating system service in the running environment according to the service request of the first operating system that is directed to
Service provider set, be selected to provide the service provider of the service request from the service provider set.
Preferably, the service provider is after the service request for the first operating system is received, according to institute
Service request is stated to carry out data processing and generate the service response of the service request for the first operating system.
Preferably, it is described to be included according to service request progress data processing:The service provider is according to first
Respective service provider identical processing mode carries out data processing in operating system.
Preferably, respective response phase of the service response with the first operating system made by the service request
Together.
Preferably, first operating system is android system.
Preferably, the second system is Windows systems.
Based on another aspect of the present invention, the present invention provides a kind of equipment for being used to provide service for cross-system application, its
Described in cross-system application initial launch in the first operating system, the equipment includes:
Initialization unit, sets up the running environment for running the cross-system application in the second operating system, described
Running environment make it that the cross-system is applied and is in it in first operating system in identical environment;
Running unit, the cross-system application is run in second operating system, and monitors the cross-system and is answered
With the service request for the first operating system sent;And
Service agent unit, when listening to the service request for the first operating system that the cross-system application is sent
When, indicate that the cross-system is applied and enter wait state and determined according to the service request for being directed to the first operating system
Service provider;The service request for being directed to the first operating system is sent to identified service provider and from described
Service provider receives the service response for the service request for being directed to the first operating system;And by the service response
It is sent to the cross-system application being waited for.
Preferably, when running unit runs the cross-system in second operating system to be applied, the operation ring
Border make it that the cross-system application thinks that it is operated in first operating system.
Preferably, the service request for being directed to the first operating system is to ask the first operating system to provide asking for service
Ask.
Preferably, the service request includes:The request of inquiry dump energy, inquiry current network type are asked and/or looked into
Ask current signal strength request.
Preferably, service agent unit determines service provider according to the service request for the first operating system
Including:It is determined to provide the first operation system in the running environment according to the service request of the first operating system that is directed to
The service provider set of system service, the service for being selected to provide the service request from the service provider set is carried
Supplier.
Preferably, the service provider is after the service request for the first operating system is received, according to institute
Service request is stated to carry out data processing and generate the service response of the service request for the first operating system.
Preferably, it is described to be included according to service request progress data processing:The service provider is according to first
Respective service provider identical processing mode carries out data processing in operating system.
Preferably, respective response phase of the service response with the first operating system made by the service request
Together.
Preferably, first operating system is android system.
Preferably, the second system is Windows systems.
The present invention provide it is a kind of be used to provide the method and system serviced for cross-system application, by by cross-system application
Operate in the running environment set up in the second operating system, apply cross-system and obtained and first in the second operating system
Identical running environment in operating system, results in the service response that service request is proposed for the first operating system.
In accordance with a further aspect of the present invention there is provided a kind of mobile terminal, including or for performing equipment as described above.
Brief description of the drawings
By reference to the following drawings, the illustrative embodiments of the present invention can be more fully understood by:
Fig. 1 is the method flow diagram applied according to the cross-system of the preferred embodiment for the present invention;
Fig. 2 is the system construction drawing applied according to the cross-system of the preferred embodiment for the present invention;
Fig. 3 a are the system construction drawing applied according to the cross-system of prior art embodiment;
Fig. 3 b are the system construction drawing applied according to the cross-system of the preferred embodiment for the present invention;And
Fig. 4 is the method stream that cross-system application service is provided for Android applications according to the preferred embodiment for the present invention
Cheng Tu.
Embodiment
The illustrative embodiments of the present invention are introduced with reference now to accompanying drawing, however, the present invention can use many different shapes
Formula is implemented, and it is to disclose at large and fully there is provided these embodiments to be not limited to embodiment described herein
The present invention, and fully pass on the scope of the present invention to person of ordinary skill in the field.For showing for being illustrated in the accompanying drawings
Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements are attached using identical
Icon is remembered.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has to person of ordinary skill in the field
It is common to understand implication.Further it will be understood that the term limited with usually used dictionary, is appreciated that and it
The linguistic context of association area has consistent implication, and is not construed as Utopian or excessively formal meaning.
Fig. 1 is the method flow diagram applied according to the cross-system of the preferred embodiment for the present invention.Embodiments of the present invention
In, include the application of the android system of mobile terminal, mobile terminal includes but is not limited to:Mobile phone, panel computer.Second behaviour
Making system includes the Windows systems of computing device, and computing device includes but is not limited to:Desktop computer, notebook computer with
And server.Present embodiment is using the android system of mobile phone as the operating system of mobile terminal first, with computer
Windows systems are illustrated as the second operating system of computing device, and cross-system is applied with 360 mobile phone games App
It is illustrated, but embodiment of the present invention not limited to this.Set up interdepartmental for running in the Windows systems of computer
The running environment set up in the running environment united using 360 mobile phone games App, Windows systems can make 360 mobile phone games
App is in its identical environment in mobile phone A ndroid system operations, including can carry out asking for inquiry mobile phone dump energy
Ask, inquire about current network type request and inquiry current signal strength request.360 mobile phone games App operate in computer
When in Windows systems, the requests for android system mobile phone that send of 360 mobile phone games App are monitored, when listening to 360
When mobile phone games App sends the service request for android system, indicate that 360 mobile phone games App enter wait state, and
And service provider is determined according to the service request for android system.By the service request hair for android system
The service provider of determination is given, and service provider receives the service sound for the service request for android system
Should.Service response is sent to 360 mobile phone games App being waited for.As shown in figure 1, method 100 is since step 101.
Preferably, in step 101:The running environment for running cross-system application, fortune are set up in the second operating system
Row environment make it that cross-system is applied and is in it in the first operating system in identical environment.Embodiment of the present invention
In, in computer Windows systems set up operation 360 mobile phone games App running environment, wherein running environment be one
Framework in Windows systems, this framework can simulate the environment of android system.360 mobile phone games App are in Windows
In the running environment that cross-system is applied in system, it is in 360 mobile phone games App and phase is run in android system with it
In same environment.
Preferably, in step 102:Cross-system application is run in the second operating system, and monitors cross-system application hair
The service request for the first operating system gone out.The 360 mobile phones trip of cross-system application is run in computer Windows systems
Played App, and the 360 mobile phone games App service requests for android system sent are monitored.
Preferably, in step 103:When listening to the service request for the first operating system that cross-system application is sent
When, indicate that cross-system is applied and enter wait state and determine that service is provided according to the service request for the first operating system
Side.When listening to 360 mobile phone games App and sending the service request for android system, request includes:The remaining electricity of inquiry
Amount request, the request of inquiry current network type and/or inquiry current signal strength request.Preferably, received and taken by BINDER
Business request, and bind the corresponding service provider of service request.Preferably, service request includes the clothes for Windows systems
Business request, and for the service request of android system, the request for android system is to ask carrying for android system
For the request of service.The service provider of android system is received for the service sound for android system service request
Should, and service response is sent to 360 mobile phone games App being waited for.For the service request of Windows systems,
It is to be provided by Windows, but if Windows can not be provided, is then provided using android system.
Determine that service provider includes according to the service request for the first operating system:It is according to for the first operation
The service request of system is determined to provide the service provider set of the first operating system service in running environment, is carried from service
It is selected to provide the service provider of service request in supplier's set.According to the service request for android system in fortune
It is determined to provide the service provider set of android system service in row environment.For example from mobile phone A ndroid systems really
The clothes of the request of inquiry dump energy, the request of inquiry current network type and/or inquiry current signal strength request can be provided surely
Business provider's set, is selected to provide the service provider of service request from service provider set.
Preferably, in step 104:Service request for the first operating system is sent to identified service provider
And receive the service response for the service request for the first operating system from service provider.Android systems will be directed to
The service request of system is sent to identified service provider and received from service provider for for android system
The service response of service request.
Preferably, service provider enters after the service request for the first operating system is received according to service request
Row data processing and the service response for generating the service request for the first operating system.Service provider is directed to receiving
After the service request of android system, data processing is carried out according to service request and generation is directed to the service of android system
The service response of request.
Preferably, carrying out data processing according to service request includes:Service provider according to phase in the first operating system
Service provider identical processing mode is answered to carry out data processing.For example, the dump energy monitoring unit of service provider is pressed
Data processing is carried out according to provider corresponding with android system such as electric quantity monitoring unit identical processing mode, for example
It is 85% to feed back dump energy, and feedback network signal is 3G or 4G.
Preferably, respective response of the service response with the first operating system made by service request is identical.Service rings
Should be identical for the respective response of service request institute operation with android system.
Preferably, in step 105:Service response is sent to the cross-system application being waited for.By service response
That is dump energy information, network signal and the current signal strength of battery are sent to 360 mobile phone games App.
Preferably, when operation cross-system is applied in the second operating system, running environment make it that cross-system application is thought
It is operated in the first operating system.I.e. when running 360 mobile phone games App in Windows, running environment causes 360 hands
Machine game App thinks that it is operated in android system.
Embodiment of the present invention is set up in the Windows systems of computer swims for running cross-system using 360 mobile phones
The running environment set up in play App running environment, Windows systems can make 360 mobile phone games App be in it in mobile phone
Identical environment when android system is run, including can carry out for the request of inquiry mobile phone dump energy, inquiry current network
Type requests and inquiry current signal strength request.When 360 mobile phone games App are operated in computer Windows systems, monitor
The request for android system mobile phone that 360 mobile phone games App are sent, and please according to the service for android system
Ask to determine service provider.Service request for android system is sent to the service provider of determination, and serviced
Provider receives the service response for the service request for android system, and with android system identical mode
To carry out data processing so that 360 mobile phone games App are obtained in running environment with asking to take in android system identical
Business response.Embodiment of the present invention need not install simulator in Windows systems, by setting up the running environment of cross-system,
So that cross-system applies the service obtained in running environment with android system to provide identical response, and it need not repair
Change 360 mobile phone games App code to adapt to the running environment of Windows systems.
Fig. 2 is the system construction drawing applied according to the cross-system of the preferred embodiment for the present invention.Embodiments of the present invention
In, include the application of the android system of mobile terminal, mobile terminal includes but is not limited to:Mobile phone, panel computer.Second behaviour
Making system includes the Windows systems of computing device, and computing device includes but is not limited to:Desktop computer, notebook computer with
And server.Present embodiment is using the android system of mobile phone as the operating system of mobile terminal first, with computer
Windows systems are illustrated as the second operating system of computing device, and cross-system is applied with 360 mobile phone games App
It is illustrated, but embodiment of the present invention not limited to this.As shown in Fig. 2 system 200 includes initialization unit 201, operation
Unit 202 and service agent unit 203.Initialization unit 201 is set up in Windows systems for running cross-system application
The running environment of running environment, such as 360 mobile phone games App, running environment makes 360 mobile phone games App be in and its place
When android system is run in identical environment.Running unit 202 is used to run 360 mobile phone games in Windows systems
App, and the 360 mobile phone games App service requests for android system sent are monitored.Service agent unit
203, when listen to that 360 mobile phone games App send for android system service request when, indicate 360 mobile phone games
App enters wait state and the provider of service is determined according to the service request for android system.It will be directed to
Android system is sent to identified service provider, and service provider receives the service response for android system,
And service response is sent to 360 mobile phone games App.In embodiment of the present invention, the first operating system is android system,
Second system is Windows systems.
In equipment 200, initialization unit 201 sets up the operation for running cross-system application in the second operating system
Environment, running environment make it that cross-system is applied and is in it in the first operating system in identical environment.Such as exist
Windows systems set up cross-system application, such as 360 mobile phone games App running environment, and running environment makes 360 mobile phone games App
In identical environment when being run with android system where it.
Running unit 202, runs cross-system application, and monitor the pin that cross-system application is sent in the second operating system
To the service request of the first operating system.Set up in Windows systems for running cross-system application.In computer
360 mobile phone games App of cross-system application are run in Windows systems, and to being directed to that 360 mobile phone games App are sent
The service request of android system is monitored.
Service agent unit 203, when listen to that cross-system application sends for the first operating system service request when,
What instruction cross-system was answered is served by entering wait state and clothes is determined according to the service request for the first operating system
Be engaged in provider;Service request for the first operating system is sent to identified service provider and from service provider
Receive the service response for the service request for the first operating system;And service response is sent to be waited for
Cross-system application.Service request for the first operating system is to ask the first operating system to provide the request serviced.
When listening to 360 mobile phone games App and sending the service request for android system, request includes:Inquiry is surplus
Remaining electricity request, the request of inquiry current network type and/or inquiry current signal strength request.Indicate that 360 mobile phone games App enter
Enter wait state, and service provider is determined according to the service request for android system.Preferably, pass through
BINDER receives service request, and binds the corresponding service provider of service request.Preferably, service request includes being directed to
The service request of Windows systems, and for the service request of android system, the request for android system is request
Android system provides the request of service.Service request for android system is sent to identified service provider
And receive the service response for the service request for android system from service provider.The service of android system
Provider receives the service response for the service request for android system, and service response is sent in wait
360 mobile phone games App of state.For the service request of Windows systems, provided by Windows, but if Windows
It can not provide, then be provided using android system.It is the dump energy information of battery, network signal by service response and works as
Front signal intensity is sent to 360 mobile phone games App.
Preferably, service agent unit 203 determines service provider according to the service request for the first operating system
Including:It is determined to provide what the first operating system was serviced in running environment according to the service request for the first operating system
Service provider set, is selected to provide the service provider of service request from service provider set.Service broker is single
Member 203 is determined to provide the clothes of android system service according to the service request for android system in running environment
Business provider's set.For example it is determined to provide the request of inquiry dump energy, inquiry current network from mobile phone A ndroid systems
Type requests and/or the service provider set of inquiry current signal strength request, are selected to from service provider set
The service provider of service request is provided.
Preferably, service provider enters after the service request for the first operating system is received according to service request
Row data processing and the service response for generating the service request for the first operating system.Service provider is directed to receiving
After the service request of android system, data processing is carried out according to service request and generation is directed to the service of android system
The service response of request.
Preferably, carrying out data processing according to service request includes:Service provider according to phase in the first operating system
Service provider identical processing mode is answered to carry out data processing.For example, service provider dump energy monitoring unit according to
Provider corresponding with android system such as electric quantity monitoring unit identical processing mode carries out data processing, for example instead
It is 85% to present dump energy, and feedback network signal is 3G or 4G.
Preferably, respective response of the service response with the first operating system made by service request is identical.Service rings
Should be identical for the respective response of service request institute operation with android system.
Preferably, when running unit runs cross-system in the second operating system to be applied, running environment causes cross-system
Using thinking that it is operated in the first operating system.
Embodiment of the present invention is set up interdepartmental for running in the Windows systems by the computer of initialization unit 201
The running environment set up in the running environment united using 360 mobile phone games App, Windows systems can make 360 mobile phone games
App is in its identical environment in mobile phone A ndroid system operations, including can carry out asking for inquiry mobile phone dump energy
Ask, inquire about current network type request and inquiry current signal strength request.In running unit 202,360 mobile phone games App
When operating in computer Windows systems, the asking for android system mobile phone that 360 mobile phone games App are sent is monitored
Ask.And by service agent unit 203 according to the service request for android system determines service provider.It will be directed to
The service request of android system is sent to the service provider of determination, and service provider is received for being directed to Android
The service response of the service request of system, and to carry out data processing in android system identical mode so that 360 hands
Machine game App is obtained in running environment with asking service response in android system identical.Embodiment of the present invention is not required to
Simulator to be installed in Windows systems, by the running environment for setting up cross-system so that cross-system is applied in running environment
Obtain the service with android system and identical response is provided, and 360 mobile phone games App code need not be changed with suitable
Answer the running environment of Windows systems.
The system construction drawing that Fig. 3 a apply for the cross-system of prior art embodiment.As shown in Figure 3 a, mobile phone A ndroid
Systematic difference, such as 360 mobile phone games App are set by the virtual machine of Windows systems, answering in operation android system
With, but prior art runs 360 mobile phone games App, Windows systems by virtual machine can not provide and run 360 mobile phones
The real time environment factors that can be related to of game App, such as the dump energy state of mobile phone, the inquiry to network type and to working as
The inquiry of front signal intensity.Therefore, prior art can not be provided in the mobile phone games App identicals of Windows system operations 360 fortune
Row environment.
The system construction drawing that Fig. 3 b apply for the cross-system of the preferred embodiment for the present invention.As shown in Figure 3 b, mobile phone
The application of android system, such as 360 mobile phone games App run Android by the running environment set up in Windows systems
In application in system, embodiment of the present invention, 360 mobile phone games App are run in the running environment in Windows systems,
There is provided with android system identical running environment, i.e., can provide and run 360 mobile phone games App can be related to
Dump energy state, the inquiry to network type and the inquiry to current signal strength of real time environment factor, such as mobile phone.
Therefore, embodiments of the present invention are provided in the mobile phone games App identical running environment of Windows system operations 360, it is ensured that
The normal operation applied in Windows systems of android system.
Fig. 4 is the method stream that cross-system application service is provided for Android applications according to the preferred embodiment for the present invention
Cheng Tu.As shown in figure 4, application program 41 searches the provider of service by BINDER42, BINDER42 is according to application program 41
Service request, by calling service provider in service thread, the service that response application program 41 is asked, and passing through
Service response is fed back to application program 41 by BINDER42.Concretely comprise the following steps:Application program 41 such as the mobile phone of android system 360
Game App sends lookup service 401 and asked, and binder BINDER42 receives the service request that 360 mobile phone games App are sent, and
The service of searching 402 is carried out by Service Management thread 43, Service Management thread 43 is by service available service provider to take
The form 403 of business address is back to BINDER42, and the address of service received is returned to 404 to application program 41 by BINDER42,
Application program 41 applies for service call by calling service function 405 to BINDER, and BINDER42 will call service function 406 to send out
Deliver to service thread 44, service thread response services and returns to service result 407 to BINDER42, BINDER42 will be received
Service result 408 is returned to send to application program 41.
The present invention is described by reference to a small amount of embodiment.However, it is known in those skilled in the art, as
What subsidiary Patent right requirement was limited, except the present invention other embodiments disclosed above equally fall the present invention's
In the range of.
Normally, all terms used in the claims are all solved according to them in the usual implication of technical field
Release, unless clearly defined in addition wherein.All references " one/described/be somebody's turn to do [device, component etc.] " are all opened ground
At least one example in described device, component etc. is construed to, unless otherwise expressly specified.Any method disclosed herein
Step need not all be run with disclosed accurate order, unless explicitly stated otherwise.
Claims (10)
1. a kind of method for being used to provide service for cross-system application, the cross-system application initial launch is in the first operating system
In, methods described includes:
The running environment for running the cross-system application is set up in the second operating system, the running environment causes described
Cross-system, which is applied, to be in it in first operating system in identical environment;
Run the cross-system application in second operating system, and monitor that the cross-system application sends for the
The service request of one operating system;
When listen to that the cross-system application sends for the first operating system service request when, indicate that the cross-system should
With entrance wait state and service provider is determined according to the service request for being directed to the first operating system;
The service request for being directed to the first operating system is sent to identified service provider and carried from the service
Supplier receives the service response for the service request for being directed to the first operating system;And
The service response is sent to the cross-system application being waited for.
2. it is described according to the method described in claim 1, when running the cross-system in second operating system and applying
Running environment make it that the cross-system application thinks that it is operated in first operating system.
3. according to the method described in claim 1, the service request for being directed to the first operating system is the operation of request first system
System provides the request of service.
4. the method according to any one in claim 1-3, the service request includes:The request of inquiry dump energy,
Inquire about current network type request and/or inquiry current signal strength request.
5. clothes according to the method described in claim 1, are determined described in the basis for the service request of the first operating system
Business provider includes:Offer is determined in the running environment according to the service request of the first operating system that is directed to
The service provider set of one operating system service, is selected to provide the service request from the service provider set
Service provider.
6. a kind of equipment for being used to provide service for cross-system application, wherein the cross-system application initial launch is in the first operation
In system, the equipment includes:
Initialization unit, sets up the running environment for running the cross-system application, the operation in the second operating system
Environment make it that the cross-system is applied and is in it in first operating system in identical environment;
Running unit, runs the cross-system application, and monitor the cross-system application hair in second operating system
The service request for the first operating system gone out;And
Service agent unit, when listen to that the cross-system application sends for the first operating system service request when, refer to
Show that the cross-system is applied to enter wait state and determined to service according to the service request for being directed to the first operating system
Provider;The service request for being directed to the first operating system is sent to identified service provider and from the service
Provider receives the service response for the service request for being directed to the first operating system;And send the service response
To the cross-system application being waited for.
7. equipment according to claim 6, the cross-system is run in second operating system when running unit should
Used time, the running environment make it that the cross-system application thinks that it is operated in first operating system.
8. equipment according to claim 6, the service request for being directed to the first operating system is the operation of request first system
System provides the request of service.
9. the equipment according to any one in claim 6-8, the service request includes:The request of inquiry dump energy,
Inquire about current network type request and/or inquiry current signal strength request.
10. equipment according to claim 6, service agent unit is according to the service request for being directed to the first operating system
To determine that service provider includes:It is directed to the service request of the first operating system according to described in the running environment and determines energy
The service provider set of first operating system service is enough provided, is selected to provide described from the service provider set
The service provider of service request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710194753.4A CN106951294B (en) | 2017-03-28 | 2017-03-28 | Method and equipment for providing service for cross-system application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710194753.4A CN106951294B (en) | 2017-03-28 | 2017-03-28 | Method and equipment for providing service for cross-system application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106951294A true CN106951294A (en) | 2017-07-14 |
CN106951294B CN106951294B (en) | 2020-07-10 |
Family
ID=59474687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710194753.4A Active CN106951294B (en) | 2017-03-28 | 2017-03-28 | Method and equipment for providing service for cross-system application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106951294B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052268A (en) * | 2017-10-31 | 2018-05-18 | 深圳康得新智能显示科技有限公司 | Man-machine interaction method and device |
CN108170503A (en) * | 2018-01-24 | 2018-06-15 | 腾讯科技(深圳)有限公司 | A kind of method, terminal and the storage medium of cross-system operation Android application |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070118309A1 (en) * | 2005-05-06 | 2007-05-24 | Intelleflex Corporation | Battery monitor |
WO2012044792A2 (en) * | 2010-10-01 | 2012-04-05 | Imerj, Llc | Cross-environment user interface mirroring |
CN103093595A (en) * | 2011-11-01 | 2013-05-08 | 镇江华扬信息科技有限公司 | GPRS-based embedded remote data acquisition system |
CN103259874A (en) * | 2013-06-05 | 2013-08-21 | 百度在线网络技术(北京)有限公司 | Method and system for cross-system operating of application and cloud server |
CN103327117A (en) * | 2013-07-05 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Cross-system running method and device for application programs |
US8640093B1 (en) * | 2011-06-24 | 2014-01-28 | Amazon Technologies, Inc. | Native web server for cross-platform mobile apps |
CN104142856A (en) * | 2013-05-07 | 2014-11-12 | 华为技术有限公司 | Service program call method, service program call system and intelligent equipment thereof |
CN104740872A (en) * | 2015-04-13 | 2015-07-01 | 北京奇虎科技有限公司 | Method and device for operating and controlling game program in simulated Android environment |
CN105022620A (en) * | 2014-04-28 | 2015-11-04 | 上海未达数码科技有限公司 | Application software development method based on mobile platform |
CN105641931A (en) * | 2016-03-31 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Game operation configuration method and system |
CN106293880A (en) * | 2016-08-10 | 2017-01-04 | 北京奇虎科技有限公司 | Windows system is run the method and device of Android application program |
-
2017
- 2017-03-28 CN CN201710194753.4A patent/CN106951294B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070118309A1 (en) * | 2005-05-06 | 2007-05-24 | Intelleflex Corporation | Battery monitor |
WO2012044792A2 (en) * | 2010-10-01 | 2012-04-05 | Imerj, Llc | Cross-environment user interface mirroring |
US8640093B1 (en) * | 2011-06-24 | 2014-01-28 | Amazon Technologies, Inc. | Native web server for cross-platform mobile apps |
CN103093595A (en) * | 2011-11-01 | 2013-05-08 | 镇江华扬信息科技有限公司 | GPRS-based embedded remote data acquisition system |
CN104142856A (en) * | 2013-05-07 | 2014-11-12 | 华为技术有限公司 | Service program call method, service program call system and intelligent equipment thereof |
CN103259874A (en) * | 2013-06-05 | 2013-08-21 | 百度在线网络技术(北京)有限公司 | Method and system for cross-system operating of application and cloud server |
CN103327117A (en) * | 2013-07-05 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Cross-system running method and device for application programs |
CN105022620A (en) * | 2014-04-28 | 2015-11-04 | 上海未达数码科技有限公司 | Application software development method based on mobile platform |
CN104740872A (en) * | 2015-04-13 | 2015-07-01 | 北京奇虎科技有限公司 | Method and device for operating and controlling game program in simulated Android environment |
CN105641931A (en) * | 2016-03-31 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Game operation configuration method and system |
CN106293880A (en) * | 2016-08-10 | 2017-01-04 | 北京奇虎科技有限公司 | Windows system is run the method and device of Android application program |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052268A (en) * | 2017-10-31 | 2018-05-18 | 深圳康得新智能显示科技有限公司 | Man-machine interaction method and device |
CN108170503A (en) * | 2018-01-24 | 2018-06-15 | 腾讯科技(深圳)有限公司 | A kind of method, terminal and the storage medium of cross-system operation Android application |
CN108170503B (en) * | 2018-01-24 | 2022-04-12 | 腾讯科技(深圳)有限公司 | Method, terminal and storage medium for cross-system android application running |
Also Published As
Publication number | Publication date |
---|---|
CN106951294B (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10027769B2 (en) | Method and procedure for dynamic services orchestration that runs within an on-device software container | |
CN106155818B (en) | A kind of terminal pulls the processing method and terminal and server of information | |
CN103299597A (en) | Methods and apparatus for providing or receiving data connectivity | |
CN107133816A (en) | A kind of e-book reading control method and device | |
CN113242275B (en) | Cloud mobile phone control method and equipment | |
CN110427738B (en) | Resource distribution method, device, equipment and storage medium | |
CN109584115A (en) | Release method, device and the storage medium of associated client | |
US11755379B2 (en) | Liaison system and method for cloud computing environment | |
CN106411920A (en) | Data sharing method and device | |
CN104426960B (en) | A kind of trial method and device of payment applications | |
CN103516851B (en) | A kind of wireless product cloud test platform system | |
KR100704358B1 (en) | Connecting system-level functionality of domestic OS of mobile phone to any application OS | |
CN112035087B (en) | Information prompting method and device, electronic equipment and readable storage medium | |
CN109617831A (en) | Flow managing method and device and calculating equipment for distributed system | |
CN109688183A (en) | Group control device recognition methods, device, equipment and computer readable storage medium | |
CN106951294A (en) | A kind of method and apparatus for being used to provide service for cross-system application | |
JP5839773B2 (en) | Network-based method and system for responding to customer requests based on provider presence information | |
CN113055485B (en) | Remote control method and system, electronic equipment and storage medium | |
US7929999B2 (en) | Method and system for harnessing processor power of mobile devices | |
JP2006091954A (en) | Remote connection system, server computer, method of remote connection, and program | |
CN108764564A (en) | It is multiple using the method for servicing of release platform, terminal, storage medium and system | |
CN113315694B (en) | Instant messaging method and device and electronic equipment | |
CN109800046A (en) | Handle the method, apparatus and storage medium of card information | |
CN112996138B (en) | Communication establishing method, device and storage medium | |
CN112969147B (en) | Call 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 |