CN106775862A - Using loading method and device - Google Patents
Using loading method and device Download PDFInfo
- Publication number
- CN106775862A CN106775862A CN201611125205.8A CN201611125205A CN106775862A CN 106775862 A CN106775862 A CN 106775862A CN 201611125205 A CN201611125205 A CN 201611125205A CN 106775862 A CN106775862 A CN 106775862A
- Authority
- CN
- China
- Prior art keywords
- application
- intended application
- packet
- current application
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides one kind application loading method and device.The method includes:Entrance for loaded targets application is provided in current application, when the entrance is triggered, the packet of the corresponding intended application of the entrance is obtained;The packet of the intended application is preserved into the assigned catalogue of the current application, the packet of the intended application in the assigned catalogue is loaded in the current application, to load the intended application in the current application.When user needs to use intended application, using technical scheme provided in an embodiment of the present invention can the directly loaded targets application in current application, without being toggled between two applications, save the operating time, lifted user experience.
Description
Technical field
The present invention relates to technical field of internet application, particularly a kind of application loading method and device.
Background technology
With the fast development of internet and mobile terminal technology, the demand of user is also constantly improved.In order to meet use
The diversity of family demand, occurs in that many applications (application, app) being user-friendly to, such as various IMUs
News, reading, amusement, game, enterprise collaborative application etc..User selects the application to carry out loading startup when being applied using each
.
In actual use, user may need to be switched between multiple application to complete work or study.For example,
User goes on business application in travel application, then needs to switch in enterprise collaborative application to corresponding contact person (colleague
Or leader etc.) message is sent, to inform that contact person goes on business or dependencies, so it is accomplished by being carried out back and forth between two applications
Switching, it is very cumbersome.
In order to solve the above problems, developer writes travel function in enterprise collaborative application, should as enterprise collaborative
One function, thus without being switched over back and forth between application, but can so make enterprise collaborative application increasing,
Thus, it would be highly desirable to a kind of effective scheme is provided to solve the above problems.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the application loading method and corresponding device of problem.
According to an aspect of of the present present invention, there is provided one kind application loading method, including:
Entrance for loaded targets application is provided in current application, when the entrance is triggered, is entered described in acquisition
The packet of the corresponding intended application of mouth;
The packet of the intended application is preserved into the assigned catalogue of the current application, in the current application
The packet of the intended application in the assigned catalogue is loaded, to load the intended application in the current application.
Alternatively, the packet of the corresponding intended application of the entrance is obtained, including:
The packet of the intended application is searched in the operating system where the current application;
If finding, the packet of the intended application in the operating system where obtaining the current application.
Alternatively, if not finding the packet of the intended application in the operating system where the current application,
Methods described also includes:
The request of the packet for obtaining the intended application is sent to cloud server;
Receive the packet of the intended application that the cloud server is returned according to the request.
Alternatively, the packet of the intended application includes program code and resource data.
Alternatively, the intended application is the application based on react native exploitations, the packet of the intended application
In program code include javascript codes.
Alternatively, the packet of the intended application in the assigned catalogue is loaded in the current application, including:
The javascript engines in the current application are adjusted, the specified mesh has been parsed by the javascript engines
Javascript codes in the packet of the intended application in record, obtain analysis result;
The react native engines in the current application are adjusted, by the react native engines according to the solution
Analysis result draws the interface of the intended application.
Alternatively, the interface of the intended application is drawn according to the analysis result by the react native engines,
Including:
By the react native engines according to the analysis result, determine to be used to draw UI's in the current application
Interface;
Call in the current application for drawing the interface of intended application described in the interface renderings of UI.
Alternatively, by the react native engines according to the analysis result, determine to be used in the current application
The interface of UI is drawn, including:
Determined in the intended application for drawing the javascript interfaces of UI according to the analysis result;
By the react native engines according to being used to draw the javascript interfaces of UI in the intended application, really
It is used to draw the interface of UI in the fixed current application.
Alternatively, call in the current application for drawing the interface of intended application described in the interface renderings of UI, including:
Call in the current application for drawing the interface of UI, the behaviour where having adjusted the current application by the interface
Make the UI components in system;
The interface of the intended application is drawn by the UI components.
Alternatively, the packet of the intended application in the assigned catalogue is parsed by the javascript engines
In javascript codes during, methods described also includes:
The resource data in the packet of the intended application is obtained from the assigned catalogue, is obtained comprising for drawing
The analysis result of the element at the interface of the intended application.
Alternatively, when being used to draw the interface of intended application described in the interface renderings of UI in calling the current application,
Methods described also includes:
The element at the interface for drawing the intended application is passed into described working as by the react native engines
It is used to draw the interface of UI in preceding application.
Alternatively, the interface of the intended application is being drawn according to the analysis result by the react native engines
Afterwards, methods described also includes:
Operation requests of the user for the intended application are received, parsing the operation by the javascript engines please
Ask, determine the corresponding javascript Processing Interfaces of the operation requests;
The javascript Processing Interfaces are called to perform corresponding operation.
Alternatively, the javascript Processing Interfaces are called to perform corresponding operation, including:
Search in the packet of the intended application with the presence or absence of the javascript Processing Interfaces;
If in the presence of calling the javascript Processing Interfaces in the packet of the intended application, and perform phase
The operation answered.
Alternatively, if not existing the javascript Processing Interfaces, methods described in the packet of the intended application
Also include:
The javascript Processing Interfaces are converted into the current application by the react native engines
Processing Interface, and call the Processing Interface in the current application after conversion to perform corresponding operation.
Alternatively, if not existing the javascript Processing Interfaces, methods described in the packet of the intended application
Also include:
The list of the javascript interfaces that the react native engines are previously generated is obtained, wherein, the list
In the corresponding relation of local interface that is stored with javascript interfaces and the current application;
In the list of the javascript interfaces previously generated from the react native engines, search described
Processing Interface in the corresponding current application of javascript Processing Interfaces;
Corresponding operation is performed using the Processing Interface in the current application for finding.
Alternatively, the interface of the intended application is being drawn according to the analysis result by the react native engines
Afterwards, methods described also includes:
When the request that the intended application is interacted with the current application is received, drawn by the javascript
Hold up the corresponding javascript interactive interfaces of the parsing request;
The javascript interactive interfaces are converted into the current application by the react native engines
Interactive interface;
The interactive interface in the current application after conversion is called to perform interactive operation.
Alternatively, the intended application is the application based on java exploitations, the program in the packet of the intended application
Code includes java codes.
Alternatively, the packet of the intended application in the assigned catalogue is loaded in the current application, including:
Classloader is created in the current application;
The java in the packet of the intended application in the assigned catalogue is loaded by the Classloader for creating
Code is in java virtual machines;
The interface that java codes draw the intended application is run in java virtual machines.
Alternatively, Classloader is created in the current application, including:
Classloader from the current application is worked as to one new Classloader of java virtual machines application as described
The Classloader created in preceding application.
Alternatively, after running the interface that java codes draw the intended application in the java virtual machines, methods described
Also include:
Operation requests of the user for the intended application are received, the operation requests are parsed in java virtual machines, and
Perform the corresponding operation of the operation requests.
Alternatively, after running the interface that java codes draw the intended application in the java virtual machines, methods described
Also include:
When the interaction request that the intended application is interacted with the current application is received, in java virtual machines
The interaction request is parsed, and performs the corresponding interactive operation of the interaction request.
Alternatively, when the resource data in the packet of the intended application changes, methods described also includes:
Resource data after change and program code are repacked, new packet is packaged into;
The new packet is downloaded in the assigned catalogue of the current application.
Alternatively, before the packet of the intended application in the assigned catalogue is loaded in the current application,
Methods described also includes:
The packet of the intended application in the assigned catalogue is verified, and after verification is performed after
Continuous loading operation.
According to another aspect of the present invention, one kind application loading device is additionally provided, including:
Entrance provides module, is suitable to provide the entrance for loaded targets application in current application;
Acquisition module, is suitable to be obtained when the entrance is triggered the packet of the corresponding intended application of the entrance;
Preserving module, is suitable to preserve the packet of the intended application into the assigned catalogue of the current application;
Load-on module, is suitable to be loaded in the current application data of the intended application in the assigned catalogue
Bag, to load the intended application in the current application.
Alternatively, the acquisition module is further adapted for:
The packet of the intended application is searched in the operating system where the current application;
If finding, the packet of the intended application in the operating system where obtaining the current application.
Alternatively, the acquisition module is further adapted for:
If the packet of the intended application is not found in the operating system where the current application, to high in the clouds
Server sends the request of the packet for obtaining the intended application;Receive what the cloud server was returned according to the request
The packet of the intended application.
Alternatively, the packet of the intended application includes program code and resource data.
Alternatively, the intended application is the application based on react native exploitations, the packet of the intended application
In program code include javascript codes.
Alternatively, the load-on module includes:
Resolution unit, is suitable to adjust the javascript engines in the current application, by the javascript engines
The javascript codes in the packet of the intended application in the assigned catalogue are parsed, analysis result is obtained;
Drawing unit, is suitable to adjust the react native engines in the current application, by the react native
Engine draws the interface of the intended application according to the analysis result.
Alternatively, the drawing unit is further adapted for:
By the react native engines according to the analysis result, determine to be used to draw UI's in the current application
Interface;
Call in the current application for drawing the interface of intended application described in the interface renderings of UI.
Alternatively, the drawing unit is further adapted for:
Determined in the intended application for drawing the javascript interfaces of UI according to the analysis result;
By the react native engines according to being used to draw the javascript interfaces of UI in the intended application, really
It is used to draw the interface of UI in the fixed current application.
Alternatively, the drawing unit is further adapted for:
Call in the current application for drawing the interface of UI, the behaviour where having adjusted the current application by the interface
Make the UI components in system;
The interface of the intended application is drawn by the UI components.
Alternatively, the resolution unit is further adapted for:
In the packet of the intended application in parsing the assigned catalogue by the javascript engines
During javascript codes, the resource data in the packet of the intended application is obtained from the assigned catalogue,
Obtain the analysis result of the element comprising the interface for drawing the intended application.
Alternatively, the drawing unit is further adapted for:
When being used to draw the interface of intended application described in the interface renderings of UI in calling the current application, by described
React native engines are used to paint during the element at the interface for drawing the intended application is passed into the current application
The interface of UI processed.
Alternatively, described device also includes:
First processing module, is suitable in the drawing unit by the react native engines according to the analysis result
Draw after the interface of the intended application, operation requests of the user for the intended application are received, by described
Javascript engines parse the operation requests, determine the corresponding javascript Processing Interfaces of the operation requests;
The javascript Processing Interfaces are called to perform corresponding operation.
Alternatively, the first processing module is further adapted for:
Search in the packet of the intended application with the presence or absence of the javascript Processing Interfaces;
If in the presence of calling the javascript Processing Interfaces in the packet of the intended application, and perform phase
The operation answered.
Alternatively, the first processing module is further adapted for:
If not existing the javascript Processing Interfaces in the packet of the intended application, by the react
The javascript Processing Interfaces are converted into native engines the Processing Interface in the current application, and after calling conversion
The current application in Processing Interface perform corresponding operation.
Alternatively, the first processing module is further adapted for:
If not existing the javascript Processing Interfaces in the packet of the intended application, the react is obtained
The list of the javascript interfaces that native engines are previously generated, wherein, be stored with javascript interfaces in the list
With the corresponding relation of the local interface in the current application;
In the list of the javascript interfaces previously generated from the react native engines, search described
Processing Interface in the corresponding current application of javascript Processing Interfaces;
Corresponding operation is performed using the Processing Interface in the current application for finding.
Alternatively, described device also includes:
Second processing module, is suitable in the drawing unit by the react native engines according to the analysis result
After drawing the interface of the intended application, when receiving the request that the intended application is interacted with the current application
When, by the corresponding javascript interactive interfaces of the javascript engines parsing request;
The javascript interactive interfaces are converted into the current application by the react native engines
Interactive interface;
The interactive interface in the current application after conversion is called to perform interactive operation.
Alternatively, the intended application is the application based on java exploitations, the program in the packet of the intended application
Code includes java codes.
Alternatively, the load-on module includes:
Creating unit, is suitable to create Classloader in the current application;
Loading unit, is suitable to the number that the Classloader by creating loads the intended application in the assigned catalogue
According in the java codes in bag to java virtual machines;
Running unit, is suitable to run the interface that java codes draw the intended application in java virtual machines.
Alternatively, the creating unit is further adapted for:
Classloader from the current application is worked as to one new Classloader of java virtual machines application as described
The Classloader created in preceding application.
Alternatively, described device also includes:
3rd processing module, is suitable to run the java codes drafting target in java virtual machines in the running unit
After the interface of application, operation requests of the user for the intended application are received, the operation is parsed in java virtual machines
Request, and perform the corresponding operation of the operation requests.
Alternatively, described device also includes:
Fourth processing module, is suitable to run the java codes drafting target in java virtual machines in the running unit
After the interface of application, when the interaction request that the intended application is interacted with the current application is received, in java
The interaction request is parsed in virtual machine, and performs the corresponding interactive operation of the interaction request.
Alternatively, described device also includes:
Packetization module, is suitable to when the resource data in the packet of the intended application changes, after change
Resource data is repacked with program code, is packaged into new packet;
Download module, is suitable to be downloaded to the new packet in the assigned catalogue of the current application.
Alternatively, described device also includes:
Correction verification module, is suitable to the mesh in the load-on module loads the assigned catalogue in the current application
Before marking the packet of application, to the assigned catalogue in the packet of the intended application verify, it is and logical in verification
Follow-up loading operation is performed after crossing.
One kind application loading scheme is the embodiment of the invention provides, is implemented, be to provide to be used in current application
The entrance of loaded targets application, the entrance can be triggered when user needs to use intended application, and the embodiment of the present invention is then obtained
The packet of the corresponding intended application of entrance being triggered, and then the packet of intended application is preserved into specifying to current application
In catalogue, the packet for so running the intended application in assigned catalogue can just realize the loaded targets application in current application
Purpose.As can be seen here, when user needs to use intended application, can be straight using technical scheme provided in an embodiment of the present invention
Loaded targets application in current application is connected on, without being toggled between two applications, the operating time is saved, lifting is used
Family experience.Also, intended application is self-existent in the embodiment of the present invention, it is not necessary to which developer currently should in advance
Developed in, as the One function of current application, will not cause that current application is increasing, solves in the prior art
Developer needs that the function of intended application is write the One function in current application as current application, causes current application
Increasing problem, the embodiment of the present invention is implemented more flexibly, and development efficiency is high, better user experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by specific embodiment of the invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter
Of the invention above-mentioned and other purposes, advantages and features.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the flow chart of application loading method according to an embodiment of the invention;
Fig. 2 shows the flow chart of application loading method according to another embodiment of the present invention;
Fig. 3 shows and according to an embodiment of the invention entrance for loaded targets application is provided in current application
Schematic diagram;
Fig. 4 shows the schematic diagram of the loaded targets application in current application according to an embodiment of the invention;
Fig. 5 shows the flow chart of the application loading method according to further embodiment of this invention;
Fig. 6 shows the structural representation of application loading device according to an embodiment of the invention;And
Fig. 7 shows the structural representation of application loading device according to another embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
In order to solve the above technical problems, the embodiment of the invention provides one kind application loading method, the method can be applied
On the mobile devices such as smart mobile phone, panel computer.Fig. 1 shows the stream of application loading method according to an embodiment of the invention
Cheng Tu.As shown in figure 1, the method at least may comprise steps of S102 to step S104.
Step S102, provides the entrance for loaded targets application in current application, when the entrance is triggered, obtains
The packet of the corresponding intended application of the entrance.
Step S104, the packet of intended application is preserved into the assigned catalogue of current application, is added in current application
The packet of the intended application in assigned catalogue is carried, with the loaded targets application in current application.
One kind application loading scheme is the embodiment of the invention provides, is implemented, be to provide to be used in current application
The entrance of loaded targets application, the entrance can be triggered when user needs to use intended application, and the embodiment of the present invention is then obtained
The packet of the corresponding intended application of entrance being triggered, and then the packet of intended application is preserved into specifying to current application
In catalogue, the packet for so running the intended application in assigned catalogue can just realize the loaded targets application in current application
Purpose.As can be seen here, when user needs to use intended application, can be straight using technical scheme provided in an embodiment of the present invention
Loaded targets application in current application is connected on, without being toggled between two applications, the operating time is saved, lifting is used
Family experience.Also, intended application is self-existent in the embodiment of the present invention, it is not necessary to which developer currently should in advance
Developed in, as the One function of current application, will not cause that current application is increasing, solves in the prior art
Developer needs that the function of intended application is write the One function in current application as current application, causes current application
Increasing problem, the embodiment of the present invention is implemented more flexibly, and development efficiency is high, better user experience.
In above step S102, the entrance for loaded targets application is provided in current application, when the entrance is triggered
When, multiple applications can be presented, user can choose intended application from the multiple applications for presenting, and then obtain the intended application
Packet.In an alternate embodiment of the invention, multiple entrances can be provided in current application, each entrance correspondence one is to be loaded
Intended application, when user needs loaded targets application, corresponding entrance can be triggered, and then obtain the entrance pair being triggered
The packet of the intended application answered.
Further, step S102 obtains the packet of the corresponding intended application of the entrance, can be elder generation from current application
Obtain in an operating system, it is also possible to directly obtained from cloud server, will be carried out for both modes respectively below
It is discussed in detail.
Mode one, first obtains in an operating system from current application.I.e., it is possible in the operating system where current application
The middle packet for searching intended application, if finding, can be with the target in the operating system where direct access current application
The packet of application;If not finding, the request of the packet for obtaining intended application can be sent to cloud server, and then
Receive the packet of the intended application that cloud server is returned according to the request.
Mode two, directly obtains from cloud server.I.e., it is possible to directly sent to cloud server obtain intended application
Packet request, and then receive the packet of intended application that cloud server is returned according to the request.Here it is possible to
The various versions of intended application are configured at cloud server, the intended application that the embodiment of the present invention is obtained from cloud server can
Be acquiescence latest edition, or other versions, can specifically be configured according to the actual requirements, the present invention to this not
It is restricted.
In alternative embodiment of the invention, the packet of intended application can be the forms such as zip, can be wrapped in packet
Program code and resource data are included, for the different development schemes of intended application, is added in current application in above step S104
The mode of the packet of the intended application in load assigned catalogue is also different, will respectively enter for different development situations below
Row is discussed in detail.
Situation one, intended application is the application based on react native exploitations.
React native allow a developer to obtain completely the same opening on the basis of javascript and react
Hair experience, its core concept is virtual DOM (Document Object Model, DOM Document Object Model), so for different
Platform (such as android, ios or web) writes different javascript to realize the logic of each function in applying, actual
Upper bottom is called or primary control such that it is able to which the app of the compatible different platform of exploitation, it not only has and primary app phases
The experience for matching in excellence or beauty, while possessing the advantage and development efficiency of web applications.React native salient features are exactly component
Change, one is all that multiple components are constituted using app, while for efficiency higher, react native employ internal memory Dom
Tree Diff are calculated, and optimize rendering efficiency and the experience of view.
When intended application is the application based on react native exploitations, the program code in the packet of intended application
Javascript codes can be included, the packet of the intended application in loading assigned catalogue in current application in step S104
When, a kind of optional scheme is the embodiment of the invention provides, in this scenario, the javascript in current application can be adjusted
Engine, by the javascript codes in the packet of the intended application in javascript engines parsing assigned catalogue, obtains
Analysis result;Then, the react native engines in current application have been adjusted, by react native engines according to analysis result
Draw the interface of intended application.It can be seen that, the program is substantially to parse javascript generations using javascript engines
Code, draws UI (User Interface, user interface) structure that needs are rendered, and then by react native engines according to UI
Structure carries out UI draftings.
Further, in alternative embodiment of the invention, drawn according to analysis result by react native engines
During the interface of intended application, can determine to be used to draw UI in current application by react native engines according to analysis result
Interface, and then call in current application for drawing the interface of the interface renderings intended application of UI.That is, by local
Current application provides the interface for drawing UI, can so improve the efficiency of UI structures, specifically can be by react native engines
Determined to be used for the interface for drawing UI in current application according to analysis result to carry out UI draftings.
In an alternate embodiment of the invention, it is used to paint in current application is determined according to analysis result by react native engines
During the interface of UI processed, can be determined for drawing the javascript interfaces of UI in intended application according to analysis result first, by
React native engines determine to be used to paint in current application according to the javascript interfaces for being used to draw UI in intended application
The interface of UI processed.That is, being used to draw the javascript of UI during intended application can be included in above-mentioned analysis result
Interface, and the development platform due to current application is different from intended application, then the embodiment of the present invention can use react
Native engines carry out between the two interface conversion, i.e. by react native engines according in intended application be used for draw
The javascript interfaces of UI, determine in current application for drawing the interface of UI.
In an alternate embodiment of the invention, can also realize that UI draws by operating system, then be used in current application is called
During the interface of the interface renderings intended application for drawing UI, can call for drawing the interface of UI in current application, by the interface
UI components in operating system where having adjusted current application, and then the interface of intended application is drawn by UI components.
In an alternate embodiment of the invention, in the packet of the intended application in by javascript engines parsing assigned catalogue
Javascript codes during, number of resources that can be from assigned catalogue in the packet of direct access intended application
According to, obtain comprising for draw intended application interface element analysis result.So, it is used to paint in current application is called
During the interface of the interface renderings intended application of UI processed, can will be used to draw the interface of intended application by react native engines
Element pass in current application for drawing the interface of UI.
In another alternative embodiment of the invention, should target is drawn according to analysis result by react native engines
After interface, the embodiment of the present invention is also based on current application to realize each function of intended application, for example, target
Interacted using with user, intended application is interacted with current application, will be described in detail respectively below.
The situation that intended application is interacted with user is introduced first.I.e., it is possible to receive behaviour of the user for intended application
Ask, operation requests are parsed by javascript engines, determine the corresponding javascript Processing Interfaces of operation requests, and then
Javascript Processing Interfaces are called to perform corresponding operation.
For example, current application is enterprise collaborative application, such as blue letter app, and intended application is to realize business trip application, report
The travel app of the functions such as pin.Also, the development language of indigo plant letter app is different from travel app, for example, travel app is based on react
Native exploitations, and blue letter app is based on objective-c or swift language developments, or based on java language
Exploitation.Can the loaded targets application (travel in current application (such as blue letter app) according to above step S102 and step S104
app).Next, user can be operated on travel app, such as submit business trip application to or submit reimbursement application to, it is poor
Trip app parses operation requests when the operation requests of user are received by javascript engines, determines that operation requests are corresponding
Javascript Processing Interfaces, and then call javascript Processing Interfaces to perform corresponding operation, for example, travel app is to certainly
Oneself cloud server submits corresponding peration data etc. to.
In an alternate embodiment of the invention, when calling javascript Processing Interfaces to perform corresponding operation, mesh can be searched
Whether there is javascript Processing Interfaces in the packet of mark application, if in the presence of in the packet of invocation target application
Javascript Processing Interfaces, and perform corresponding operation;If not existing, by react native engines by javascript
Processing Interface is converted into the Processing Interface in current application, and it is corresponding to call the Processing Interface in the current application after conversion to perform
Operation.
Specifically, if not existing javascript Processing Interfaces in the packet of intended application, react can be obtained
The list of the javascript interfaces that native engines are previously generated, wherein, be stored with the list javascript interfaces with
The corresponding relation of the local interface in current application;And then the javascript interfaces previously generated from react native engines
List in, search the Processing Interface in the corresponding current application of javascript Processing Interfaces;Finally, using working as finding
Processing Interface in preceding application performs corresponding operation.
Next introduces the situation that intended application is interacted with current application.That is, when receive intended application and currently should
During with the request for interacting, the corresponding javascript interactive interfaces of the request are parsed by javascript engines;By react
Javascript interactive interfaces are converted into native engines the interactive interface in current application;And then call current after conversion
Interactive interface in performs interactive operation.
Still example is exemplified as with above-mentioned, after loading travel app in indigo plant letter app, travel app can be carried out with indigo plant letter app
Interactive operation, for example, after user submits business trip application on travel app, the relevant information of the business trip application can be sent to
One or more contact persons's (such as work together or lead) on indigo plant letter app.Specifically, after travel app generations business trip application, by
The relevant information of business trip application is supplied to react native engines the interactive interface on blue letter app, will by the interactive interface
The relevant information of business trip application submits to the contact person's communication interface on blue letter app, and then contact person's communication interface is by travel Shen
Relevant information please is supplied to each contact person.Interactive interface described herein, contact person's communication interface refer to possess corresponding work(
The interface of energy, the specific interface name embodiment of the present invention is not restricted.
The situation that current application is interacted with intended application is introduced again.That is, when receive current application and target should
During with the interaction request for interacting, the corresponding interactive interface of the request is parsed by the javascript engines of current application, by
Interactive interface is converted into react native engines the javascript interactive interfaces in intended application;And then after calling conversion
Intended application in javascript interactive interfaces perform interactive operation.
Still example is exemplified as with above-mentioned, after loading travel app in indigo plant letter app, indigo plant letter app can be carried out with travel app
Interactive operation, for example, blue letter app requires to look up the business trip application work shelves recent to determine the contact person of designated contact
Phase.Specifically, blue letter app finds contact person, and then the information of contact person is supplied to the contact management's group on travel app
Part, the business trip application of the contact person is searched by contact management component, and blue letter app is returned to after finding.
Situation two, intended application is the application based on java exploitations.
In this case, current application is also based on the application of java exploitations, and the operating system where current application is
Android system, it is a kind of open source code operating system based on linux and jave, is mainly used for movement and sets
It is standby.The packet of intended application can be apk files, and apk is the abbreviation of androidpackage, i.e. android installation kits, lead to
Cross and held during apk files are passed directly into android simulators or android mobile devices (such as smart mobile phone, panel computer)
Row can be installed.
When intended application is the application based on java exploitations, the program code in the packet of intended application can include
Java codes, in step S104 in the packet of the intended application in loading assigned catalogue in current application, the present invention is implemented
Example provides a kind of optional scheme, in this scenario, Classloader can be created in current application, is loaded by the class for creating
Device loads java codes in the packet of the intended application in assigned catalogue in java virtual machines, and then in java virtual machines
Middle operation java codes draw the interface of intended application, it is achieved thereby that the loaded targets application in current application.Here
Java virtual machines can be the virtual machine that current application is currently in use, or newly-built virtual machine, in actual applications, can
To be configured according to real needs, the embodiment of the present invention is not restricted to this.
Specifically, java source codes or program (.java files) are converted into after being compiled by java compilers
Java byte code (.class files), Classloader (class loader) is responsible for reading java byte code, and is converted into
One example of java.lang.Class classes, each such example is used for representing a java class that Classloader is used for loading
Java classes are in java virtual machines.
Further, in alternative embodiment of the invention, when creating Classloader in current application, can be by current
The Classloader of application is loaded to one new Classloader of java virtual machines application as the class created in current application
Device.
So far, just can be with operation code in java virtual machines, but code operation does not represent function, and just energy is normal, because
Also resource, thus before the embodiment of the present invention runs the interface that java codes draw intended application in java virtual machines, also
Proxy resources manager can be created, by packet (the i.e. apk of the intended application in proxy resources manager administration assigned catalogue
File) in resource data so that ensure code run when find resource data.I.e., it is possible to be loaded in the class by creating
Device loads java codes in the packet of the intended application in assigned catalogue to during java virtual machines, calls acquisition to provide
The designation method in source, corresponding resource data is obtained by designation method from proxy resources device.Here designation method can be
One method of class, can be instantiated as object by such, by such designation method of the object reference of instantiation.
The interface of java codes drafting intended application is run in java virtual machines to realize loading mesh in current application
After mark application, the embodiment of the present invention is also based on current application to realize each function of intended application, for example, target should
Interacted with user, intended application is interacted with current application, will be described in detail respectively below.
The situation that intended application is interacted with user is introduced first.That is, when reception user is for the operation of intended application
Request, operation requests correspondence java codes are loaded to java virtual machines by the Classloader for creating, and are held with java virtual machines
The corresponding operation of row operation requests.
For example, current application is enterprise collaborative application, such as blue letter app, and intended application is to realize business trip application, report
The travel app of the functions such as pin.Also, indigo plant letter app and travel app is all based on java language developments.According to above step
S102 and step S104 loaded targets application (travel app) in current application (such as blue letter app).Next, user can be
Operated on travel app, such as submit business trip application to or submit reimbursement application to, the corresponding assembly of travel app is being received
To user operation requests when, can by the Classloader for creating load operation requests correspondence java codes to java virtual machines,
To perform the corresponding operation of operation requests in java virtual machines, for example, travel app submits corresponding to the cloud server of oneself
Peration data etc..
Next introduces the situation that intended application is interacted with current application.That is, when receive intended application and currently should
During with the interaction request for interacting, interaction request correspondence java codes are loaded to java virtual machines by the Classloader for creating,
The corresponding interactive operation of interaction request is performed with java virtual machines.
Still example is exemplified as with above-mentioned, after loading travel app in indigo plant letter app, travel app can be carried out with indigo plant letter app
Interactive operation, for example, after user submits business trip application on travel app, the relevant information of the business trip application can be sent to
One or more contact persons's (such as work together or lead) on indigo plant letter app.Specifically, after travel app generations business trip application, by difference
The relevant information of trip's application is supplied to the interactive component on blue letter app, is submitted to the relevant information of business trip application by interactive component
To the contact person's communication part on indigo plant letter app, and then the relevant information of business trip application is supplied to each by contact person's communication part
Contact person.Interactive component described herein, contact person's communication part refer to the component for possessing corresponding function, specific component Name
The embodiment of the present invention is not restricted.
The situation that current application is interacted with intended application is introduced again.That is, when receive current application and target should
During with the interaction request for interacting, interaction request correspondence java codes are loaded by the Classloader of current application virtual to java
Machine, the corresponding interactive operation of interaction request is performed with java virtual machines.
Still example is exemplified as with above-mentioned, after loading travel app in indigo plant letter app, indigo plant letter app can be carried out with travel app
Interactive operation, for example, blue letter app requires to look up the business trip application work shelves recent to determine the contact person of designated contact
Phase.Specifically, blue letter app finds contact person, and then the information of contact person is supplied to the contact management's group on travel app
Part, the business trip application of the contact person is searched by contact management component, and blue letter app is returned to after finding.
In alternative embodiment of the invention, if intended application is the application based on react native exploitations, can be with
The application based on java exploitations is packaged into, the loading that the scheme that can be thus introduced using situation two is applied.
In alternative embodiment of the invention, when the resource data in the packet of intended application changes, can be with
Resource data after change and program code are repacked, new packet is packaged into, and then new packet is downloaded to
In the assigned catalogue of current application.Compared to the resource data of intended application is bundled into current application in the prior art, in money
Need to change and install current application again when source data changes, and scheme provided in an embodiment of the present invention will need to only change
Resource data afterwards is repacked with program code, is packaged into new packet, and new packet is downloaded into current application
In assigned catalogue, it is possible to increase the efficiency of resource data updating, the resource consumed in renewal process is saved.Also, usual feelings
Under condition, current application can't get intended application all resource datas (such as intended application resource data can periodically or
Aperiodically update etc.), certainly will so there is the situation of resource data frequent updating, if according to prior art like that every time more
New resources data are required to change and install current application again, then can cause the wasting of resources, update inefficient problem.And
Using scheme provided in an embodiment of the present invention, it is only necessary to every time repack the resource data after change and program code, beat
New packet is bundled into, new packet is downloaded in the assigned catalogue of current application, realized more flexible.
In alternative embodiment of the invention, in order to improve the safety and reliability of data, in step S104 current
Before the packet of the intended application in loading assigned catalogue, can also be to the data of the intended application in assigned catalogue
Bag is verified, and follow-up loading operation is performed after in verification.
Various implementations of the links of embodiment illustrated in fig. 1 are described above, will specifically should by two below
The implementation process of application loading method of the invention is discussed in detail with the embodiment under scene.
Fig. 2 shows the flow chart of application loading method according to another embodiment of the present invention.In the embodiment shown in Fig. 2
In, current application is the blue letter app of enterprise collaborative application, and intended application is to realize the travel app of the functions such as business trip application, reimbursement,
The development language of indigo plant letter app is different from travel app, for example, travel app is developed based on react native, and blue letter app
It is based on objective-c or swift language developments.As shown in Fig. 2 the method at least may comprise steps of S202 extremely
Step S212.
Step S202, provides the entrance for loading travel app in indigo plant letter app.
As shown in figure 3, providing the entrance 1 of loading travel app on the workbench of indigo plant letter app.Additionally, on the table
Additionally provide the entrance 2 for loading other intended applications, it is seen then that multiple entrances can be provided in indigo plant letter app, each entrance
One intended application to be loaded of correspondence, when entrance is triggered, can obtain the packet of the corresponding intended application of the entrance,
And javascript codes and resource data can be included in the packet.
Step S204, when the entrance is triggered, obtains the packet of travel app.
In this step, the packet for obtaining travel app can be first searched from the operating system where indigo plant letter app,
Can directly be obtained from cloud server.Specifically, travel app can be searched in the operating system where indigo plant letter app
Packet, if finding, the packet of the travel app in operating system where obtaining blue letter app;If not finding,
Then the request of the packet for obtaining travel app can be sent to cloud server, and receive cloud server and returned according to the request
The packet of the travel app for returning.Or, the request of the packet for obtaining travel app can be directly sent to cloud server, and
Receive the packet of the travel app that cloud server is returned according to the request.
Step S206, the packet of travel app is preserved into the assigned catalogue of indigo plant letter app.
In this step, the assigned catalogue of blue letter app only can be herein to illustrate certainly such as/data/data/lanxin
Property, do not limit the invention.
In an alternate embodiment of the invention, if the resource data in the packet of travel app changes, can be by after change
Resource data repacked with javascript codes, be packaged into new packet, and then new packet is downloaded to works as
In the assigned catalogue of preceding application.For example, being 10 files (c1.zip) when travel app V1.0, can decompress and be put into the inside,
There are 20 files when V2.0, be not that this 20 files can next new apk toward packet the inside written document
(c2.zip), this file can be unziped to and gone below assigned catalogue, be not the file inside change data bag.
Step S208, obtains the relevant information of travel app from assigned catalogue, and the relevant information of travel app is registered to
In indigo plant letter app.
Step S210, has adjusted the javascript engines in current application, and assigned catalogue is parsed by javascript engines
In intended application packet in javascript codes, obtain analysis result.
Step S212, has adjusted the react native engines in current application, by react native engines according to parsing
Result draws the interface of intended application.
The step parses javascript codes using javascript engines, draws the UI structures that needs are rendered, and then
UI draftings are carried out according to UI structures by react native engines.
In an alternate embodiment of the invention, the interface of intended application is being drawn according to analysis result by react native engines
When, can determine to be used to draw the interface of UI in current application, and then call by react native engines according to analysis result
In current application be used for draw UI interface renderings intended application interface.That is, provided by local current application painting
The interface of UI processed, can so improve the efficiency of UI structures, specifically can be true according to analysis result by react native engines
Determine to carry out UI draftings for drawing the interface of UI in current application.
In an alternate embodiment of the invention, it is used to paint in current application is determined according to analysis result by react native engines
During the interface of UI processed, can be determined for drawing the javascript interfaces of UI in intended application according to analysis result first, by
React native engines determine to be used to paint in current application according to the javascript interfaces for being used to draw UI in intended application
The interface of UI processed.That is, being used to draw the javascript of UI during intended application can be included in above-mentioned analysis result
Interface, and the development platform due to current application is different from intended application, then the embodiment of the present invention can use react
Native engines carry out between the two interface conversion, i.e. by react native engines according in intended application be used for draw
The javascript interfaces of UI, determine in current application for drawing the interface of UI.
In an alternate embodiment of the invention, can also realize that UI draws by operating system, then be used in current application is called
During the interface of the interface renderings intended application for drawing UI, can call for drawing the interface of UI in current application, by the interface
UI components in operating system where having adjusted current application, and then the interface of intended application is drawn by UI components.
In an alternate embodiment of the invention, in the packet of the intended application in by javascript engines parsing assigned catalogue
Javascript codes during, number of resources that can be from assigned catalogue in the packet of direct access intended application
According to, obtain comprising for draw intended application interface element analysis result.So, it is used to paint in current application is called
During the interface of the interface renderings intended application of UI processed, can will be used to draw the interface of intended application by react native engines
Element pass in current application for drawing the interface of UI.
The interface schematic diagram that travel app is loaded in indigo plant letter app is illustrated in figure 4, when user clicks on " return " button,
May return to the workbench interface of blue letter app.
In alternative embodiment of the invention, mesh is drawn according to analysis result by react native engines in step S212
The interface of application is marked, after believing and loading travel app in app in indigo plant, the embodiment of the present invention is also based on blue letter app and comes in fact
Each function of existing travel app, for example, travel app is interacted with user, travel app is interacted with blue letter app, under
Be introduced for citing by face.
Intended application is introduced first to be interacted with user.
User can be operated on travel app, for example, submit business trip application to or submit reimbursement application etc. to, it is poor
The corresponding assembly of trip app parses operation requests when the operation requests of user are received by javascript engines, it is determined that operation
Corresponding javascript Processing Interfaces are asked, and then calls javascript Processing Interfaces to perform corresponding operation, for example, poor
Trip app submits corresponding peration data etc. to the cloud server of oneself.
Next is introduced intended application and is interacted with current application.Still example is exemplified as with above-mentioned, user is on travel app
After submitting business trip application to, the relevant information of the business trip application can be sent to blue one or more contact persons believed on app (such as
Colleague or leader etc.).Specifically, after travel app generations business trip application, by react native engines by the correlation of business trip application
Information is supplied to the interactive interface on blue letter app, is submitted on blue letter app the relevant information of business trip application by the interactive interface
Contact person's communication interface, and then the relevant information of business trip application is supplied to each contact person by contact person's communication interface.Here
The interactive interface that refers to, contact person's communication interface refer to the interface for possessing corresponding function, and the specific interface name present invention is implemented
Example is not restricted.
Current application is introduced again to be interacted with intended application.Still example is exemplified as with above-mentioned, indigo plant letter app is required to look up
The business trip application of the designated contact work working days recent to determine the contact person.Specifically, blue letter app finds contact person,
And then the information of contact person is supplied to the contact management component on travel app, the connection is searched by contact management component
It is the business trip application of people, blue letter app is returned to after finding.
Fig. 5 shows the flow chart of the application loading method according to further embodiment of this invention.In the embodiment shown in Fig. 5
In, current application is the blue letter app of enterprise collaborative application, and intended application is to realize the travel app of the functions such as business trip application, reimbursement,
Indigo plant letter app and travel app is all based on the application of java exploitations.As shown in figure 5, the method at least may comprise steps of
S502 to step S514.
Step S502, provides the entrance for loading travel app in indigo plant letter app.
Step S504, when the entrance is triggered, obtains the apk files of travel app.
In this step, first searched from the operating system where indigo plant letter app and obtained, or directly from cloud service
Obtained at device.Specifically, the apk files of travel app can be searched in the operating system where indigo plant letter app, if finding,
The apk files of the travel app in operating system where obtaining blue letter app;If not finding, can be sent out to cloud server
The request of the apk files for obtaining travel app is sent, and receives the apk texts of the travel app that cloud server is returned according to the request
Part.Or, the request of the apk files for obtaining travel app can be directly sent to cloud server, and receive cloud server root
The apk files of the travel app returned according to the request.
Step S506, the apk files of travel app are preserved into the assigned catalogue of indigo plant letter app.
In this step, the assigned catalogue of blue letter app only can be herein to illustrate certainly such as/data/data/lanxin
Property, do not limit the invention.
In an alternate embodiment of the invention, if the resource data in the apk files of travel app changes, will can change
Resource data afterwards is repacked with java codes, is packaged into new packet, and then new packet is downloaded into current answering
In assigned catalogue.For example, being 10 files (c1.apk) when travel app V1.0, can decompress and be put into the inside, V2.0
When have 20 files, be not toward apk the inside written document, this 20 files can next new apk (c2.apk), this
File can be unziped to and gone below assigned catalogue, be not to change the file inside apk.
Step S508, obtains the relevant information of travel app from assigned catalogue, and the relevant information of travel app is registered to
In indigo plant letter app.
Step S510, Classloader is created in indigo plant letter app.
In this step, can make from the Classloader of indigo plant letter app to one new Classloader of java virtual machines application
It is the Classloader created in indigo plant letter app.
Step S512, creates proxy resources manager, by the travel app's in proxy resources manager administration assigned catalogue
Resource data in apk files.
Step S514, the java codes in the apk files of the travel app in assigned catalogue are loaded by the Classloader for creating
To java virtual machines, and then the interface that java codes draw travel app can be run in java virtual machines, with indigo plant letter app
Middle loading travel app.
In this step, java virtual machines can be virtual machine that blue letter app is currently in use, or newly-built virtual
Machine, in actual applications, can configure according to real needs, and the embodiment of the present invention is not restricted to this.
Java codes in the apk files of the travel app in loading assigned catalogue by the Classloader for creating are to java
During virtual machine, the designation method for obtaining resource can be called, obtain corresponding from proxy resources device by designation method
Resource data.Here designation method can be a method of class, such can be instantiated as into object, by what is instantiated
Object reference such designation method.
In order to improve the safety and reliability of data, in step S514 loads assigned catalogue by the Classloader for creating
Travel app apk files in java codes to before java virtual machines, can also be to the travel app's in assigned catalogue
Apk files are verified, and follow-up loading operation is performed after in verification, if verification does not pass through, generation alarm letter
Breath.
In alternative embodiment of the invention, java codes are run in java virtual machines in step S514 and draws travel
The interface of app, so as to after loading travel app in indigo plant letter app, the embodiment of the present invention is also based on blue letter app to realize
Each function of travel app, for example, travel app is interacted with user, travel app is interacted with blue letter app, below
Citing is introduced.
Travel app is introduced first to be interacted with user.
User can be operated on travel app, such as submitted business trip application to or submitted reimbursement application, travel to
The corresponding assembly of app, can be corresponding by the Classloader loading operation requests for creating when the operation requests of user are received
Java codes to java virtual machines, to perform the corresponding operation of operation requests in java virtual machines, for example, travel app to from
Oneself cloud server submits corresponding peration data etc. to.
Next is introduced travel app and indigo plant letter app and interacts.
After user submits business trip application on travel app, the relevant information of the business trip application can be sent to blue letter app
On one or more contact persons (such as work together or lead).Specifically, after travel app generations business trip application, by business trip application
Relevant information be supplied to interactive component on blue letter app, the relevant information of business trip application is submitted into blue letter by interactive component
Contact person's communication part on app, and then the relevant information of business trip application is supplied to indigo plant to believe on app by contact person's communication part
Each contact person.Interactive component described herein, contact person's communication part refer to the component for possessing corresponding function, specific component
The title embodiment of the present invention is not restricted.
Blue letter app and travel app is introduced again to interact.
Indigo plant letter app requires to look up business trip application work working days recent to determine the contact person of designated contact.Specifically
Ground, indigo plant letter app finds contact person, and then the information of contact person is supplied into the contact management component on travel app, by joining
Being people's management assembly searches the business trip application of the contact person, returns to blue letter app after finding.
In alternative embodiment of the invention, if travel app is the application based on react native exploitations, can also be by
It is packaged into the application based on java exploitations, and the loading of application can be thus realized using the step shown in Fig. 5.
Above-mentioned two embodiment is realized when user needs to use intended application, directly can be added in current application
Intended application is carried, without being toggled between two applications, the operating time is saved, user experience is lifted.Also,
Intended application is self-existent in the embodiment of the present invention, it is not necessary to which developer develops in current application in advance, is made
Be the One function of current application, will not cause that current application is increasing, solve developer in the prior art need by
As the One function of current application in the function write-in current application of intended application, cause that current application is increasing to ask
Topic, the embodiment of the present invention is implemented more flexibly, and development efficiency is high, better user experience.
Based on the application loading method that each embodiment above is provided, based on same inventive concept, the embodiment of the present invention is also
There is provided one kind application loading device.
Fig. 6 shows the structural representation of application loading device according to an embodiment of the invention.As shown in fig. 6, the dress
Are provided and entrance offer module 610, acquisition module 620, preserving module 630 and load-on module 640 can at least include.
Now introduce the company between each composition of the application loading device of the embodiment of the present invention or the function and each several part of device
Connect relation:
Entrance provides module 610, is suitable to provide the entrance for loaded targets application in current application;
Acquisition module 620, provides module 610 and is coupled with entrance, is suitable to when the entrance is triggered, and enters described in acquisition
The packet of the corresponding intended application of mouth;
Preserving module 630, is coupled with acquisition module 620, is suitable to preserve the packet of the intended application to described
In the assigned catalogue of current application;
Load-on module 640, is coupled with preserving module 630, is suitable to load the assigned catalogue in the current application
In the intended application packet, to load the intended application in the current application.
In an embodiment of the present invention, above-mentioned acquisition module 620 is further adapted for:
The packet of the intended application is searched in the operating system where the current application;
If finding, the packet of the intended application in the operating system where obtaining the current application.
In an embodiment of the present invention, above-mentioned acquisition module 620 is further adapted for:
If the packet of the intended application is not found in the operating system where the current application, to high in the clouds
Server sends the request of the packet for obtaining the intended application;Receive what the cloud server was returned according to the request
The packet of the intended application.
In an embodiment of the present invention, the packet of the intended application includes program code and resource data.
In an embodiment of the present invention, the intended application is the application based on react native exploitations, the target
Program code in the packet of application includes javascript codes.
In an embodiment of the present invention, as shown in fig. 7, above-mentioned load-on module 640 can include:
Resolution unit 641, is suitable to adjust the javascript engines in the current application, is drawn by the javascript
The javascript codes in the packet of the intended application in the parsing assigned catalogue are held up, analysis result is obtained;
Drawing unit 642, is coupled with resolution unit 641, is suitable to adjust the react native in the current application
Engine, the interface of the intended application is drawn by the react native engines according to the analysis result.
In an embodiment of the present invention, above-mentioned drawing unit 642 is further adapted for:
By the react native engines according to the analysis result, determine to be used to draw UI's in the current application
Interface;
Call in the current application for drawing the interface of intended application described in the interface renderings of UI.
In an embodiment of the present invention, above-mentioned drawing unit 642 is further adapted for:
Determined in the intended application for drawing the javascript interfaces of UI according to the analysis result;
By the react native engines according to being used to draw the javascript interfaces of UI in the intended application, really
It is used to draw the interface of UI in the fixed current application.
In an embodiment of the present invention, above-mentioned drawing unit 642 is further adapted for:
Call in the current application for drawing the interface of UI, the behaviour where having adjusted the current application by the interface
Make the UI components in system;
The interface of the intended application is drawn by the UI components.
In an embodiment of the present invention, above-mentioned resolution unit 641 is further adapted for:
In the packet of the intended application in parsing the assigned catalogue by the javascript engines
During javascript codes, the resource data in the packet of the intended application is obtained from the assigned catalogue,
Obtain the analysis result of the element comprising the interface for drawing the intended application.
In an embodiment of the present invention, above-mentioned drawing unit 642 is further adapted for:
When being used to draw the interface of intended application described in the interface renderings of UI in calling the current application, by described
React native engines are used to paint during the element at the interface for drawing the intended application is passed into the current application
The interface of UI processed.
In an embodiment of the present invention, as shown in fig. 7, the device of figure 6 above displaying can also include:
First processing module 710, is coupled with load-on module 640, is suitable in drawing unit 642 by the react
Native engines are drawn after the interface of the intended application according to the analysis result, receive user and are directed to the intended application
Operation requests, the operation requests are parsed by the javascript engines, determine that the operation requests are corresponding
Javascript Processing Interfaces;
The javascript Processing Interfaces are called to perform corresponding operation.
In an embodiment of the present invention, above-mentioned first processing module 710 is further adapted for:
Search in the packet of the intended application with the presence or absence of the javascript Processing Interfaces;
If in the presence of calling the javascript Processing Interfaces in the packet of the intended application, and perform phase
The operation answered.
In an embodiment of the present invention, above-mentioned first processing module 710 is further adapted for:
If not existing the javascript Processing Interfaces in the packet of the intended application, by the react
The javascript Processing Interfaces are converted into native engines the Processing Interface in the current application, and after calling conversion
The current application in Processing Interface perform corresponding operation.
In an embodiment of the present invention, above-mentioned first processing module 710 is further adapted for:
If not existing the javascript Processing Interfaces in the packet of the intended application, the react is obtained
The list of the javascript interfaces that native engines are previously generated, wherein, be stored with javascript interfaces in the list
With the corresponding relation of the local interface in the current application;
In the list of the javascript interfaces previously generated from the react native engines, search described
Processing Interface in the corresponding current application of javascript Processing Interfaces;
Corresponding operation is performed using the Processing Interface in the current application for finding.
In an embodiment of the present invention, as shown in fig. 7, the device of figure 6 above displaying can also include:
Second processing module 720, is coupled with load-on module 640, is suitable in drawing unit 642 by the react
Native engines are drawn after the interface of the intended application according to the analysis result, when receiving the intended application and institute
When stating the request that current application is interacted, handed over by the corresponding javascript of the javascript engines parsing request
Mutual interface;
The javascript interactive interfaces are converted into the current application by the react native engines
Interactive interface;
The interactive interface in the current application after conversion is called to perform interactive operation.
In an embodiment of the present invention, the intended application is the application based on java exploitations, the number of the intended application
Include java codes according to the program code in bag.
In an embodiment of the present invention, as shown in fig. 7, above-mentioned load-on module 640 can also include:
Creating unit 643, is suitable to create Classloader in the current application;
Loading unit 644, is coupled with creating unit 643, is suitable to be specified by the Classloader loading for creating is described
Java codes in the packet of the intended application in catalogue are in java virtual machines;
Running unit 645, is coupled with loading unit 644, is suitable to run java codes drafting institute in java virtual machines
State the interface of intended application.
In an embodiment of the present invention, above-mentioned creating unit 643 is further adapted for:
Classloader from the current application is worked as to one new Classloader of java virtual machines application as described
The Classloader created in preceding application.
In an embodiment of the present invention, as shown in fig. 7, the device of figure 6 above displaying can also include:
3rd processing module 730, is coupled with load-on module 640, is suitable to be transported in java virtual machines in running unit 645
Row java codes are drawn after the interface of the intended application, receive operation requests of the user for the intended application,
The operation requests are parsed in java virtual machines, and performs the corresponding operation of the operation requests.
In an embodiment of the present invention, as shown in fig. 7, the device of figure 6 above displaying can also include:
Fourth processing module 740, is coupled with load-on module 640, is suitable to be transported in java virtual machines in running unit 645
Row java codes are drawn after the interface of the intended application, are handed over the current application when the intended application is received
During mutual interaction request, the interaction request is parsed in java virtual machines, and perform the corresponding interaction behaviour of the interaction request
Make.
In an embodiment of the present invention, as shown in fig. 7, the device of figure 6 above displaying can also include:
Packetization module 750, is suitable to when the resource data in the packet of the intended application changes, after change
Resource data repacked with program code, be packaged into new packet;
Download module 760, is coupled with packetization module 750, preserving module 630, is suitable to download the new packet
Into the assigned catalogue of the current application.
In an embodiment of the present invention, as shown in fig. 7, the device of figure 6 above displaying can also include:
Correction verification module 770, is coupled with preserving module 630, is suitable to add in the current application in the load-on module
Before carrying the packet of the intended application in the assigned catalogue, to the assigned catalogue in the intended application number
Verified according to bag, and follow-up loading is performed after in verification and operated.
According to the combination of above-mentioned any one preferred embodiment or multiple preferred embodiments, the embodiment of the present invention can reach
Following beneficial effect:
One kind application loading scheme is the embodiment of the invention provides, is implemented, be to provide to be used in current application
The entrance of loaded targets application, the entrance can be triggered when user needs to use intended application, and the embodiment of the present invention is then obtained
The packet of the corresponding intended application of entrance being triggered, and then the packet of intended application is preserved into specifying to current application
In catalogue, the packet for so running the intended application in assigned catalogue can just realize the loaded targets application in current application
Purpose.As can be seen here, when user needs to use intended application, can be straight using technical scheme provided in an embodiment of the present invention
Loaded targets application in current application is connected on, without being toggled between two applications, the operating time is saved, lifting is used
Family experience.Also, intended application is self-existent in the embodiment of the present invention, it is not necessary to which developer currently should in advance
Developed in, as the One function of current application, will not cause that current application is increasing, solves in the prior art
Developer needs that the function of intended application is write the One function in current application as current application, causes current application
Increasing problem, the embodiment of the present invention is implemented more flexibly, and development efficiency is high, better user experience.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist
Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself
All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any
Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment required for protection it is one of any
Mode can use in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) come realize in application loading device according to embodiments of the present invention some or
The some or all functions of person's whole part.The present invention is also implemented as perform method as described herein one
Point or whole equipment or program of device (for example, computer program and computer program product).It is such to realize this hair
Bright program can be stored on a computer-readable medium, or can have the form of one or more signal.It is such
Signal can be downloaded from internet website and obtained, or be provided on carrier signal, or be provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple of the invention and show
Example property embodiment, but, without departing from the spirit and scope of the present invention, still can be direct according to present disclosure
It is determined that or deriving many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognizes
It is set to and covers all these other variations or modifications.
The one side of the embodiment of the present invention, there is provided A1, one kind application loading method, including:
Entrance for loaded targets application is provided in current application, when the entrance is triggered, is entered described in acquisition
The packet of the corresponding intended application of mouth;
The packet of the intended application is preserved into the assigned catalogue of the current application, in the current application
The packet of the intended application in the assigned catalogue is loaded, to load the intended application in the current application.
A2, the method according to A1, wherein, the packet of the corresponding intended application of the entrance is obtained, including:
The packet of the intended application is searched in the operating system where the current application;
If finding, the packet of the intended application in the operating system where obtaining the current application.
A3, the method according to A2, wherein, if not found in the operating system where the current application described
The packet of intended application, methods described also includes:
The request of the packet for obtaining the intended application is sent to cloud server;
Receive the packet of the intended application that the cloud server is returned according to the request.
A4, the method according to any one of A1-A3, wherein, the packet of the intended application includes program generation
Code and resource data.
A5, the method according to A4, wherein, the intended application is the application based on react native exploitations, institute
The program code stated in the packet of intended application includes javascript codes.
A6, the method according to A5, wherein, the target in the assigned catalogue is loaded in the current application
The packet of application, including:
The javascript engines in the current application are adjusted, the specified mesh has been parsed by the javascript engines
Javascript codes in the packet of the intended application in record, obtain analysis result;
The react native engines in the current application are adjusted, by the react native engines according to the solution
Analysis result draws the interface of the intended application.
A7, the method according to A6, wherein, institute is drawn according to the analysis result by the react native engines
The interface of intended application is stated, including:
By the react native engines according to the analysis result, determine to be used to draw UI's in the current application
Interface;
Call in the current application for drawing the interface of intended application described in the interface renderings of UI.
A8, the method according to A7, wherein, by the react native engines according to the analysis result, it is determined that
It is used to draw the interface of UI in the current application, including:
Determined in the intended application for drawing the javascript interfaces of UI according to the analysis result;
By the react native engines according to being used to draw the javascript interfaces of UI in the intended application, really
It is used to draw the interface of UI in the fixed current application.
A9, the method according to A7 or A8, wherein, call in the current application for drawing the interface renderings institute of UI
The interface of intended application is stated, including:
Call in the current application for drawing the interface of UI, the behaviour where having adjusted the current application by the interface
Make the UI components in system;
The interface of the intended application is drawn by the UI components.
A10, the method according to any one of A6-A9, wherein, the finger is being parsed by the javascript engines
During determining the javascript codes in the packet of the intended application in catalogue, methods described also includes:
The resource data in the packet of the intended application is obtained from the assigned catalogue, is obtained comprising for drawing
The analysis result of the element at the interface of the intended application.
A11, the method according to A10, wherein, it is used to draw the interface renderings institute of UI in the current application is called
When stating the interface of intended application, methods described also includes:
The element at the interface for drawing the intended application is passed into described working as by the react native engines
It is used to draw the interface of UI in preceding application.
A12, the method according to any one of A6-A11, wherein, by the react native engines according to institute
State after the interface that analysis result draws the intended application, methods described also includes:
Operation requests of the user for the intended application are received, parsing the operation by the javascript engines please
Ask, determine the corresponding javascript Processing Interfaces of the operation requests;
The javascript Processing Interfaces are called to perform corresponding operation.
A13, the method according to A12, wherein, call the javascript Processing Interfaces to perform corresponding operation,
Including:
Search in the packet of the intended application with the presence or absence of the javascript Processing Interfaces;
If in the presence of calling the javascript Processing Interfaces in the packet of the intended application, and perform phase
The operation answered.
A14, the method according to A13, wherein, if in the absence of described in the packet of the intended application
Javascript Processing Interfaces, methods described also includes:
The javascript Processing Interfaces are converted into the current application by the react native engines
Processing Interface, and call the Processing Interface in the current application after conversion to perform corresponding operation.
A15, the method according to A13, wherein, if in the absence of described in the packet of the intended application
Javascript Processing Interfaces, methods described also includes:
The list of the javascript interfaces that the react native engines are previously generated is obtained, wherein, the list
In the corresponding relation of local interface that is stored with javascript interfaces and the current application;
In the list of the javascript interfaces previously generated from the react native engines, search described
Processing Interface in the corresponding current application of javascript Processing Interfaces;
Corresponding operation is performed using the Processing Interface in the current application for finding.
A16, the method according to any one of A6-A15, wherein, by the react native engines according to institute
State after the interface that analysis result draws the intended application, methods described also includes:
When the request that the intended application is interacted with the current application is received, drawn by the javascript
Hold up the corresponding javascript interactive interfaces of the parsing request;
The javascript interactive interfaces are converted into the current application by the react native engines
Interactive interface;
The interactive interface in the current application after conversion is called to perform interactive operation.
A17, the method according to A4, wherein, the intended application is the application based on java exploitations, and the target should
Program code in packet includes java codes.
A18, the method according to A17, wherein, the mesh in the assigned catalogue is loaded in the current application
The packet of application is marked, including:
Classloader is created in the current application;
The java in the packet of the intended application in the assigned catalogue is loaded by the Classloader for creating
Code is in java virtual machines;
The interface that java codes draw the intended application is run in java virtual machines.
A19, the method according to A18, wherein, Classloader is created in the current application, including:
Classloader from the current application is worked as to one new Classloader of java virtual machines application as described
The Classloader created in preceding application.
A20, the method according to A18 or A19, wherein, the java codes drafting mesh is run in java virtual machines
Mark after the interface of application, methods described also includes:
Operation requests of the user for the intended application are received, the operation requests are parsed in java virtual machines, and
Perform the corresponding operation of the operation requests.
A21, the method according to any one of A18-A20, wherein, the drafting of java codes is run in java virtual machines
After the interface of the intended application, methods described also includes:
When the interaction request that the intended application is interacted with the current application is received, in java virtual machines
The interaction request is parsed, and performs the corresponding interactive operation of the interaction request.
A22, the method according to any one of A4-A21, wherein, the resource in the packet of the intended application
When data change, methods described also includes:
Resource data after change and program code are repacked, new packet is packaged into;
The new packet is downloaded in the assigned catalogue of the current application.
A23, the method according to any one of A1-A22, wherein, the specified mesh is loaded in the current application
Before the packet of the intended application in record, methods described also includes:
The packet of the intended application in the assigned catalogue is verified, and after verification is performed after
Continuous loading operation.
The another aspect of the embodiment of the present invention, additionally provides B24, one kind application loading device, including:
Entrance provides module, is suitable to provide the entrance for loaded targets application in current application;
Acquisition module, is suitable to be obtained when the entrance is triggered the packet of the corresponding intended application of the entrance;
Preserving module, is suitable to preserve the packet of the intended application into the assigned catalogue of the current application;
Load-on module, is suitable to be loaded in the current application data of the intended application in the assigned catalogue
Bag, to load the intended application in the current application.
B25, the device according to B24, wherein, the acquisition module is further adapted for:
The packet of the intended application is searched in the operating system where the current application;
If finding, the packet of the intended application in the operating system where obtaining the current application.
B26, the device according to B25, wherein, the acquisition module is further adapted for:
If the packet of the intended application is not found in the operating system where the current application, to high in the clouds
Server sends the request of the packet for obtaining the intended application;Receive what the cloud server was returned according to the request
The packet of the intended application.
B27, the device according to any one of B24-B26, wherein, the packet of the intended application includes program
Code and resource data.
B28, the device according to B27, wherein, the intended application is the application based on react native exploitations,
Program code in the packet of the intended application includes javascript codes.
B29, the device according to B28, wherein, the load-on module includes:
Resolution unit, is suitable to adjust the javascript engines in the current application, by the javascript engines
The javascript codes in the packet of the intended application in the assigned catalogue are parsed, analysis result is obtained;
Drawing unit, is suitable to adjust the react native engines in the current application, by the react native
Engine draws the interface of the intended application according to the analysis result.
B30, the device according to B29, wherein, the drawing unit is further adapted for:
By the react native engines according to the analysis result, determine to be used to draw UI's in the current application
Interface;
Call in the current application for drawing the interface of intended application described in the interface renderings of UI.
B31, the device according to B30, wherein, the drawing unit is further adapted for:
Determined in the intended application for drawing the javascript interfaces of UI according to the analysis result;
By the react native engines according to being used to draw the javascript interfaces of UI in the intended application, really
It is used to draw the interface of UI in the fixed current application.
B32, the device according to B30 or B31, wherein, the drawing unit is further adapted for:
Call in the current application for drawing the interface of UI, the behaviour where having adjusted the current application by the interface
Make the UI components in system;
The interface of the intended application is drawn by the UI components.
B33, the device according to any one of B29-B32, wherein, the resolution unit is further adapted for:
In the packet of the intended application in parsing the assigned catalogue by the javascript engines
During javascript codes, the resource data in the packet of the intended application is obtained from the assigned catalogue,
Obtain the analysis result of the element comprising the interface for drawing the intended application.
B34, the device according to B33, wherein, the drawing unit is further adapted for:
When being used to draw the interface of intended application described in the interface renderings of UI in calling the current application, by described
React native engines are used to paint during the element at the interface for drawing the intended application is passed into the current application
The interface of UI processed.
B35, the device according to any one of B29-B34, wherein, also include:
First processing module, is suitable in the drawing unit by the react native engines according to the analysis result
Draw after the interface of the intended application, operation requests of the user for the intended application are received, by described
Javascript engines parse the operation requests, determine the corresponding javascript Processing Interfaces of the operation requests;
The javascript Processing Interfaces are called to perform corresponding operation.
B36, the device according to B35, wherein, the first processing module is further adapted for:
Search in the packet of the intended application with the presence or absence of the javascript Processing Interfaces;
If in the presence of calling the javascript Processing Interfaces in the packet of the intended application, and perform phase
The operation answered.
B37, the device according to B36, wherein, the first processing module is further adapted for:
If not existing the javascript Processing Interfaces in the packet of the intended application, by the react
The javascript Processing Interfaces are converted into native engines the Processing Interface in the current application, and after calling conversion
The current application in Processing Interface perform corresponding operation.
B38, the device according to B36, wherein, the first processing module is further adapted for:
If not existing the javascript Processing Interfaces in the packet of the intended application, the react is obtained
The list of the javascript interfaces that native engines are previously generated, wherein, be stored with javascript interfaces in the list
With the corresponding relation of the local interface in the current application;
In the list of the javascript interfaces previously generated from the react native engines, search described
Processing Interface in the corresponding current application of javascript Processing Interfaces;
Corresponding operation is performed using the Processing Interface in the current application for finding.
B39, the device according to any one of B29-B38, wherein, also include:
Second processing module, is suitable in the drawing unit by the react native engines according to the analysis result
After drawing the interface of the intended application, when receiving the request that the intended application is interacted with the current application
When, by the corresponding javascript interactive interfaces of the javascript engines parsing request;
The javascript interactive interfaces are converted into the current application by the react native engines
Interactive interface;
The interactive interface in the current application after conversion is called to perform interactive operation.
B40, the device according to B27, wherein, the intended application is the application based on java exploitations, the target
Program code in the packet of application includes java codes.
B41, the device according to B40, wherein, the load-on module includes:
Creating unit, is suitable to create Classloader in the current application;
Loading unit, is suitable to the number that the Classloader by creating loads the intended application in the assigned catalogue
According in the java codes in bag to java virtual machines;
Running unit, is suitable to run the interface that java codes draw the intended application in java virtual machines.
B42, the device according to B41, wherein, the creating unit is further adapted for:
Classloader from the current application is worked as to one new Classloader of java virtual machines application as described
The Classloader created in preceding application.
B43, the device according to B41 or B42, wherein, also include:
3rd processing module, is suitable to run the java codes drafting target in java virtual machines in the running unit
After the interface of application, operation requests of the user for the intended application are received, the operation is parsed in java virtual machines
Request, and perform the corresponding operation of the operation requests.
B44, the device according to any one of B41-B43, wherein, also include:
Fourth processing module, is suitable to run the java codes drafting target in java virtual machines in the running unit
After the interface of application, when the interaction request that the intended application is interacted with the current application is received, in java
The interaction request is parsed in virtual machine, and performs the corresponding interactive operation of the interaction request.
B45, the device according to any one of B27-B44, wherein, also include:
Packetization module, is suitable to when the resource data in the packet of the intended application changes, after change
Resource data is repacked with program code, is packaged into new packet;
Download module, is suitable to be downloaded to the new packet in the assigned catalogue of the current application.
B46, the device according to any one of B24-B45, wherein, also include:
Correction verification module, is suitable to the mesh in the load-on module loads the assigned catalogue in the current application
Before marking the packet of application, to the assigned catalogue in the packet of the intended application verify, it is and logical in verification
Follow-up loading operation is performed after crossing.
Claims (10)
1. one kind application loading method, including:
Entrance for loaded targets application is provided in current application, when the entrance is triggered, the entrance pair is obtained
The packet of the intended application answered;
The packet of the intended application is preserved into the assigned catalogue of the current application, is loaded in the current application
The packet of the intended application in the assigned catalogue, to load the intended application in the current application.
2. method according to claim 1, wherein, the packet of the corresponding intended application of the entrance is obtained, including:
The packet of the intended application is searched in the operating system where the current application;
If finding, the packet of the intended application in the operating system where obtaining the current application.
3. method according to claim 2, wherein, if not finding institute in the operating system where the current application
The packet of intended application is stated, methods described also includes:
The request of the packet for obtaining the intended application is sent to cloud server;
Receive the packet of the intended application that the cloud server is returned according to the request.
4. the method according to any one of claim 1-3, wherein, the packet of the intended application includes program generation
Code and resource data.
5. method according to claim 4, wherein, the intended application is the application based on react native exploitations,
Program code in the packet of the intended application includes javascript codes.
6. method according to claim 5, wherein, the mesh in the assigned catalogue is loaded in the current application
The packet of application is marked, including:
The javascript engines in the current application are adjusted, by the javascript engines parsing assigned catalogue
The intended application packet in javascript codes, obtain analysis result;
The react native engines in the current application are adjusted, by the react native engines according to the parsing knot
Fruit draws the interface of the intended application.
7. method according to claim 6, wherein, drawn according to the analysis result by the react native engines
The interface of the intended application, including:
By the react native engines according to the analysis result, determine to be used to draw connecing for UI in the current application
Mouthful;
Call in the current application for drawing the interface of intended application described in the interface renderings of UI.
8. method according to claim 7, wherein, by the react native engines according to the analysis result, really
It is used to draw the interface of UI in the fixed current application, including:
Determined in the intended application for drawing the javascript interfaces of UI according to the analysis result;
By the react native engines according to the javascript interfaces for being used to draw UI in the intended application, institute is determined
State in current application for drawing the interface of UI.
9. the method according to any one of claim 4-8, wherein, the number of resources in the packet of the intended application
During according to changing, methods described also includes:
Resource data after change and program code are repacked, new packet is packaged into;
The new packet is downloaded in the assigned catalogue of the current application.
10. one kind application loading device, including:
Entrance provides module, is suitable to provide the entrance for loaded targets application in current application;
Acquisition module, is suitable to be obtained when the entrance is triggered the packet of the corresponding intended application of the entrance;
Preserving module, is suitable to preserve the packet of the intended application into the assigned catalogue of the current application;
Load-on module, is suitable to be loaded in the current application packet of the intended application in the assigned catalogue, with
The intended application is loaded in the current application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611125205.8A CN106775862A (en) | 2016-12-08 | 2016-12-08 | Using loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611125205.8A CN106775862A (en) | 2016-12-08 | 2016-12-08 | Using loading method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775862A true CN106775862A (en) | 2017-05-31 |
Family
ID=58881936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611125205.8A Pending CN106775862A (en) | 2016-12-08 | 2016-12-08 | Using loading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775862A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108563475A (en) * | 2018-04-16 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Operation method, device and the storage medium of application program |
CN108647028A (en) * | 2018-05-09 | 2018-10-12 | 广州腾讯科技有限公司 | Application information processing method and device |
CN109144600A (en) * | 2018-06-21 | 2019-01-04 | 连尚(新昌)网络科技有限公司 | A kind of operation method of application program, equipment and computer-readable medium |
CN109213547A (en) * | 2017-07-01 | 2019-01-15 | 武汉斗鱼网络科技有限公司 | ReactNative drop-down refreshes implementation method, storage medium, electronic equipment and method |
CN109753366A (en) * | 2018-12-10 | 2019-05-14 | 北京城市网邻信息技术有限公司 | Operation data management method, device, computer equipment and storage medium |
CN112416466A (en) * | 2020-12-02 | 2021-02-26 | 车智互联(北京)科技有限公司 | Application program loading method, mobile terminal and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799425A (en) * | 2012-06-19 | 2012-11-28 | 深圳市同洲电子股份有限公司 | Method and device for implementing web graphic cartoon |
CN103729224A (en) * | 2013-12-30 | 2014-04-16 | 广州华多网络科技有限公司 | Application loading method and device based on open platform |
CN103927151A (en) * | 2013-01-11 | 2014-07-16 | 联想(北京)有限公司 | Method and device for implementing local operation on web page |
CN104007989A (en) * | 2014-05-21 | 2014-08-27 | 广州华多网络科技有限公司 | Information interaction method and device |
CN104267977A (en) * | 2014-09-16 | 2015-01-07 | 小米科技有限责任公司 | Application program running method and device |
CN104793966A (en) * | 2014-01-21 | 2015-07-22 | 中国科学院声学研究所 | Display and loading method and system of Android local application |
CN105094922A (en) * | 2015-08-17 | 2015-11-25 | 北京奇虎科技有限公司 | Application installation-free operation control method and device |
CN105867964A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Android platform open service access system and generation system thereof and generation method and access method |
CN106033361A (en) * | 2015-03-13 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Method and device for showing application page, and method and device for updating application page data |
CN106126263A (en) * | 2016-07-04 | 2016-11-16 | 傲讯全通科技(深圳)有限公司 | A kind of fast custom user interface and the method for function |
-
2016
- 2016-12-08 CN CN201611125205.8A patent/CN106775862A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799425A (en) * | 2012-06-19 | 2012-11-28 | 深圳市同洲电子股份有限公司 | Method and device for implementing web graphic cartoon |
CN103927151A (en) * | 2013-01-11 | 2014-07-16 | 联想(北京)有限公司 | Method and device for implementing local operation on web page |
CN103729224A (en) * | 2013-12-30 | 2014-04-16 | 广州华多网络科技有限公司 | Application loading method and device based on open platform |
CN104793966A (en) * | 2014-01-21 | 2015-07-22 | 中国科学院声学研究所 | Display and loading method and system of Android local application |
CN104007989A (en) * | 2014-05-21 | 2014-08-27 | 广州华多网络科技有限公司 | Information interaction method and device |
CN104267977A (en) * | 2014-09-16 | 2015-01-07 | 小米科技有限责任公司 | Application program running method and device |
CN106033361A (en) * | 2015-03-13 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Method and device for showing application page, and method and device for updating application page data |
CN105094922A (en) * | 2015-08-17 | 2015-11-25 | 北京奇虎科技有限公司 | Application installation-free operation control method and device |
CN105867964A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Android platform open service access system and generation system thereof and generation method and access method |
CN106126263A (en) * | 2016-07-04 | 2016-11-16 | 傲讯全通科技(深圳)有限公司 | A kind of fast custom user interface and the method for function |
Non-Patent Citations (2)
Title |
---|
(越)张皇容: "第3章 用React Native开发一个应用", 《REACT NATIVE 用JAVASCRIPT开发移动应用》 * |
朱育发: "第4章 DOM开发详解 4.2 使用Javascript操作DOM", 《JQUERY与JQUERY MOBILE开发完全技术宝典》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109213547A (en) * | 2017-07-01 | 2019-01-15 | 武汉斗鱼网络科技有限公司 | ReactNative drop-down refreshes implementation method, storage medium, electronic equipment and method |
CN109213547B (en) * | 2017-07-01 | 2021-10-15 | 武汉斗鱼网络科技有限公司 | Reactnative pull-down refresh implementation method, storage medium, electronic device and method |
CN108563475A (en) * | 2018-04-16 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Operation method, device and the storage medium of application program |
CN108647028A (en) * | 2018-05-09 | 2018-10-12 | 广州腾讯科技有限公司 | Application information processing method and device |
CN108647028B (en) * | 2018-05-09 | 2024-02-09 | 广州腾讯科技有限公司 | Application information processing method and device |
CN109144600A (en) * | 2018-06-21 | 2019-01-04 | 连尚(新昌)网络科技有限公司 | A kind of operation method of application program, equipment and computer-readable medium |
CN109753366A (en) * | 2018-12-10 | 2019-05-14 | 北京城市网邻信息技术有限公司 | Operation data management method, device, computer equipment and storage medium |
CN112416466A (en) * | 2020-12-02 | 2021-02-26 | 车智互联(北京)科技有限公司 | Application program loading method, mobile terminal and readable storage medium |
CN112416466B (en) * | 2020-12-02 | 2024-02-23 | 车智互联(北京)科技有限公司 | Application program loading method, mobile terminal and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775862A (en) | Using loading method and device | |
CN110795195B (en) | Webpage rendering method and device, electronic equipment and storage medium | |
US8745573B2 (en) | Platform-independent application development framework | |
US20200364285A1 (en) | Dynamic content modifications | |
CN107590186B (en) | Method for managing and executing data processing policy and policy engine system | |
US20190392617A1 (en) | Visual workflow model | |
US9678723B2 (en) | Application programming interface (API) engine | |
US20120173962A1 (en) | Online application providing apparatus | |
US8930824B2 (en) | Facilitating propagation of user interface patterns or themes | |
US20120174068A1 (en) | Testing Software Code | |
CN107844324A (en) | Customer terminal webpage redirects treating method and apparatus | |
JP2011512571A (en) | System and method for integrating banner advertisement and calling application | |
US11349877B2 (en) | Solution management systems and methods for addressing cybersecurity vulnerabilities | |
US20180081791A1 (en) | Plugin for multi-module code coverage in web applications | |
CN107704499A (en) | A kind of page jump control method and device of application program | |
CN110727504B (en) | Code execution method and device and rendering equipment | |
CN106598662A (en) | Application loading method and device based on android | |
US10789751B2 (en) | Method and apparatus for implementing animation in client application and animation script framework | |
CN112835568A (en) | Project construction method and device | |
CN114443076A (en) | Mirror image construction method, device, equipment and storage medium | |
CN104461893A (en) | Data processing method and data processing device | |
CN112130888A (en) | Method, device and equipment for updating application program and computer storage medium | |
CN107357605A (en) | The method and apparatus for running installation file | |
US20200057617A1 (en) | Software code optimizer and method | |
CN111414154A (en) | Method and device for front-end development, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100041 A-0337, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing. Applicant after: Blue letter mobile (Beijing) Technology Co., Ltd. Address before: 100041 A-0337, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing. Applicant before: Lanseen workshop (Beijing) Technology Co. Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |