CN104035804A - Application integrating method and application integrating device - Google Patents
Application integrating method and application integrating device Download PDFInfo
- Publication number
- CN104035804A CN104035804A CN201410293634.0A CN201410293634A CN104035804A CN 104035804 A CN104035804 A CN 104035804A CN 201410293634 A CN201410293634 A CN 201410293634A CN 104035804 A CN104035804 A CN 104035804A
- Authority
- CN
- China
- Prior art keywords
- application
- son
- container
- main
- allocation list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
Abstract
An embodiment of the invention provides an application integrating method and an application integrating device. The application integrating method comprises the following steps of determining a main application and secondary applications which are about to be integrated to the main application; recording application description information of the secondary applications through an application configuration table; configuring the main application in an application container; calling a predefined application loading method in the application container through the main application; loading the secondary applications in the application container through the application loading method according to application decryption information, which is recorded by the application configuration table, of the secondary applications; establishing a hierarchical relationship between the main application and the secondary applications; integrating the main application and the secondary applications; and controlling the main application and the secondary applications through the application container. By using the application integrating method provided by the embodiment, applications can be developed simply and conveniently.
Description
Technical field
The present invention relates to technical field of data processing, more particularly, relate to a kind of application integration method and device.
Background technology
Along with internet, the particularly development of mobile Internet, the application of loading in electronic equipment is composed with increasing function, and application scale also expands thereupon; Under this background, user often produces so a kind of demand: wish to add new application for a old application, thereby improve old application, new application and old application can be used as an overall applicability; It is application integration that industry is referred to as this practice.
The mode of adding new application for a old application is at present: recompilate the code of old application, will newly apply corresponding code insertion in old application; Although the existing mode for the new application of old application interpolation has realized the object of application integration, need to recompilate the code of old application, the work of application and development is comparatively loaded down with trivial details.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of application integration method and device, to solve the existing comparatively loaded down with trivial details problem of work of adding the existing application and development of mode of new application as old application.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of application integration method, is applied to electronic equipment, and described method comprises:
Determine main application and wait to be integrated in the son application of described main application;
By the application descriptor of application allocation list record application, a corresponding application allocation list of son application;
In application container, configure main application;
By described main application call predefined application loading method in described application container;
By described application loading method, the application descriptor of the son application of recording according to application allocation list adds carrier and applies in application container, sets up the hierarchical relationship of described main application and son application, realizes described main application and sub apply integrated;
By main application described in application container control and son application.
Wherein, describedly comprise by described main application call predefined application loading method in described application container:
By described main application, adopt the JS interface corresponding with described application loading method, call the function corresponding with described application loading method.
Wherein, described by described application loading method, the application descriptor of the son application of recording according to application allocation list adds carrier application and comprises in described application container:
Read the configuration file in the corresponding application bag of son application, and, the application allocation list corresponding with described son application;
If the application version that the application allocation list reading records, different from the application version that the configuration file in described application bag records, upgrade according to the configuration file in described application bag the application allocation list reading, by described application loading method, the application descriptor recording according to the application allocation list after upgrading loads described son application in described application container;
If the application version that the application allocation list reading records, the application version recording with the configuration file in described application bag is identical, by described application loading method, the application descriptor recording according to read application allocation list loads described son application in described application container.
Wherein, described method also comprises:
In described application container, record the array of the son application that is loaded on described application container by list of application;
If the array of the son application loading in described application container current has been recorded in described list of application, load this son application in described application container time, the view of this son application is brought to Front, to be presented on described interface of electronic equipment;
If the array of the son application loading in described application container current is not recorded in described list of application, load this son application in described application container time, records the array of this son application in described list of application, and is this son application establishment application catalogue.
Wherein, describedly comprise by main application described in application container control and the son application that loaded:
Receive the steering order of each application by application container, and by application container, received steering order is passed to corresponding application, call the interface corresponding with described steering order in this correspondence application, carry out described steering order.
Wherein, describedly comprise by main application described in application container control and the son application that loaded:
Receive application message by application container, and by application container, described application message is passed to corresponding application.
Wherein, describedly comprise by main application described in application container control and the son application that loaded
In the time that arbitrary application needs new view, if described application container has discarded view, for the application that needs new view is used described discarded view, if described application container does not have discarded view, for the application that needs new view creates new view; Wherein, in the time that the view of arbitrary application is discarded, discarded view will be placed in described application container.
Wherein, describedly comprise by main application described in application container control and the son application that loaded:
Receive application halt instruction by application container;
If described application halt instruction is corresponding with main application, be invoked at predefined main application method of shutting down in described application container, exit main application and son application, return to desktop;
If described application halt instruction is corresponding with son application, be invoked at predefined son application method of shutting down in described application container, from the list of application of application container, remove the corresponding son application of described application halt instruction, and remove the view of this son application.
Wherein, describedly comprise by main application described in application container control and the son application that loaded:
Receive son application delete instruction by application container;
By main application call predefined application delet method in described application container;
By described application delet method, stop described son application, and delete this son and apply corresponding application allocation list.
The embodiment of the present invention also provides a kind of application integration device, is applied to electronic equipment, and described device comprises:
The first determination module, for determining that main application and waiting is integrated in the son application of described main application;
The first logging modle, for the application descriptor of applying by application allocation list record, a corresponding application allocation list of son application;
The first configuration module, for configuring main application in application container;
The first calling module, for by described main application call at the predefined application loading method of described application container;
The first load-on module, be used for by described application loading method, the application descriptor of the son application of recording according to application allocation list adds carrier application in application container, set up described main application and the sub hierarchical relationship of applying, realize the integrated of described main application and son application;
Control module, for applying by main application described in application container control and son.
Based on technique scheme, the application integration method that the embodiment of the present invention provides, the application of need being carried out to application integration is divided into main application and son application, by the application descriptor of application allocation list record application, configure main application by application container, in the integrated process that realizes described main application and son application, the embodiment of the present invention can be by main application call predefined application loading method in described application container, thereby by described application loading method, the application descriptor of the son application of recording according to application allocation list, in application container, add carrier application, thereby set up main application and the sub hierarchical relationship of applying, realize described main application and sub apply integrated, meanwhile, in the control of main application and son application, the embodiment of the present invention is carried out unified management control by application container, can make winner apply the application with son and do as a whole use.The application integration method that the embodiment of the present invention provides, main application and son application are all as a module independently, by application allocation list, application container, set up the hierarchical relationship of relatively independent main application and son application, and adopt application container to unify the main application of control and management and son application, realize the integrated of main application and son application; Than prior art, the application integration method that the embodiment of the present invention provides is without the application of carrying out application integration is carried out to code recompility, main application and son application are all as a module independently, do not need to change, and allow each application to develop separately, therefore the work of application and development is comparatively easy.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
The process flow diagram of the application integration method that Fig. 1 provides for the embodiment of the present invention;
Another process flow diagram of the application integration method that Fig. 2 provides for the embodiment of the present invention;
The structured flowchart of the application integration device that Fig. 3 provides for the embodiment of the present invention;
The structured flowchart of the first logging modle that Fig. 4 provides for the embodiment of the present invention;
Another structured flowchart of the application integration device that Fig. 5 provides for the embodiment of the present invention;
The structured flowchart of the control module that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Application integration method provided by the invention is mainly used in mobile device, and the electronic equipments such as computer are mainly to realize the integrated of application by modular framework, mainly realizes based on mixing application or web application.Application type is mainly divided into native applications at present, web application, and mix application; Mix the combination that application refers to native applications and web application, part employing native applications, a part adopt web application, and therefore part can be moved in primitive environment, partly can on web, move.The present inventor finds after deliberation: because the globality of native applications is stronger, each application cannot realize application integration by modular framework, and therefore the present invention mainly carries out application integration using mixing application or web application as object.
The application integration mode that the embodiment of the present invention provides relates generally to following aspect:
The application of carrying out application integration is divided into main application and son application, and the main body that is applied as application integration, is applied with the hierarchical relationship of main application and is realized the integrated of application by son;
Definition application allocation list, application allocation list can be used for recording the application descriptor of son application, application descriptor can comprise: application ID, Apply Names, application version, application interface height, application interface width, application type, application background color, application is towards (applying horizontal screen display shows or erect screen display and show, application difference towards), application start page address (application start page be application open after first page entering, this attribute is used for loading start page) etc., table 1 shows the relevant configuration explanation of application allocation list, can reference.
Application ID |
Apply Names |
Application version |
Application interface height |
Application interface width |
Application type |
Application background color |
Application towards |
Application start page address |
Table 1
Definition application container, application container is the control of the face that other controls can be placed on it.Container is generally followed configurable principle, and the user of container can pass through the configuration to container parameters, reaches the user demand of oneself, and does not need to revise the code of container.In the present invention, application container can be used for configuring main application, and adds carrier application, sets up described main application and the sub hierarchical relationship of applying, thereby realizes the integrated of described main application and son application;
In application container definition application loads, stop, the method such as deletion, thereby by application container, main application and son are applied and are controlled, be included in after main application and sub-application integration, to the execution of application instruction, the management of application communication etc.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The process flow diagram of the application integration method that Fig. 1 provides for the embodiment of the present invention, the method can be applicable to electronic equipment, particularly mobile device, with reference to Fig. 1, the method can comprise:
Step S100, determine main application and wait to be integrated in the son application of described main application;
Optionally, main application can be to mix application or web application, and son application can be also to mix application or web application.
Step S110, the application descriptor of applying by application allocation list record, a corresponding application allocation list of son application;
The embodiment of the present invention can arrange database storage application allocation list, a sub-application can one of correspondence be applied allocation list, in application allocation list, can record application ID, Apply Names, application version, application interface height, application interface width, application type, application background color, application is towards, descriptor such as application such as application start page address etc.
Optionally, in application allocation list, also can record the application descriptor of main application.
Step S120, in application container, configure main application;
Optionally, can be by configure the pointer of main application in application container, realize the main configuration being applied in application container.
It should be noted that, application container, as the control of the face that other controls can be placed on it, those skilled in the art will know that how realizing one is applied in the configuration in application container and holds, and the embodiment of the present invention does not repeat.
Step S130, by described main application call predefined application loading method in described application container;
Optionally, the embodiment of the present invention can be in advance in application container definition application load, stop, the method such as deletion, in the time carrying out the loading of son application, the embodiment of the present invention can realize calling of predefined application loading method by main application, thereby sets up main application and the sub hierarchical relationship of applying.
In embodiments of the present invention, son application is general by html+js+css language compilation, its bottom has the support (as the loading function of application) of primary function, in the time using son application correlation technique (while loading as application), can pass through JS (javascript, a kind of based on object and event-driven and there is the client script language of relative safety) the primary function of bottom that interface interchange is relevant.Therefore, the embodiment of the present invention by the mode of the predefined application loading method of main application call can be: by described main application, adopt the JS interface corresponding with described application loading method, call the function corresponding with described application loading method.Thereby pass through the called function corresponding with described application loading method and carry out follow-up son application loading.
Step S140, by described application loading method, the application descriptor of the son application of recording according to application allocation list, in application container, add carrier application, set up described main application and the sub hierarchical relationship of applying, realize the integrated of described main application and son application;
The application descriptor of the son application that the embodiment of the present invention can record by application allocation list needs the determining of concrete condition of the son application loading, and applies thereby add carrier by described application loading method in application container.
Optionally, application container can be held the pointer of son application.It should be noted that, application container is as the control of the face that other controls can be placed on it, those skilled in the art are determining loading method, determine and needed after the concrete condition of the application loading, know and how to realize a loading being applied in application container, the embodiment of the present invention does not repeat.
Optionally, the pointer of the main application that the embodiment of the present invention can be held by application container, and the pointer of son application, set up described main application and the sub hierarchical relationship of applying, winner is applied with son application and form tree-like hierarchical relationship, so far, main application realizes application integration with son application.
Step S150, by main application described in application container control and son application.
Realize after application integration in main application and son application, how main application and sub-application are controlled, the application function of realizing main application and son application becomes the problem that need to solve.The visual concrete condition of the embodiment of the present invention, adopts the methods such as predefined application stops, deletion, by application container, main application and son application is controlled.
The application integration method that the embodiment of the present invention provides, the application of need being carried out to application integration is divided into main application and son application, by the application descriptor of application allocation list record application, configure main application by application container, in the integrated process that realizes described main application and son application, the embodiment of the present invention can be by main application call predefined application loading method in described application container, thereby by described application loading method, the application descriptor of the son application of recording according to application allocation list, in application container, add carrier application, thereby set up main application and the sub hierarchical relationship of applying, realize described main application and sub apply integrated, meanwhile, in the control of main application and son application, the embodiment of the present invention is carried out unified management control by application container, can make winner apply the application with son and do as a whole use.The application integration method that the embodiment of the present invention provides, main application and son application are all as a module independently, by application allocation list, application container, set up the hierarchical relationship of relatively independent main application and son application, and adopt application container to unify the main application of control and management and son application, realize the integrated of main application and son application; Than prior art, the application integration method that the embodiment of the present invention provides is without the application of carrying out application integration is carried out to code recompility, main application and son application are all as a module independently, do not need to change, and allow each application to develop separately, therefore the work of application and development is comparatively easy.
Optionally, the embodiment of the present invention is in the application descriptor of the son application of recording according to application allocation list, add carrier application in described application container time, the in the situation that of renewable application allocation list, the embodiment of the present invention can upgraded after application allocation list, the application descriptor of the son application of recording by the application allocation list after upgrading adds carrier application in described application container.Corresponding, Fig. 2 shows another process flow diagram of the application integration method that the embodiment of the present invention provides, and with reference to Fig. 2, the method can comprise:
Step S200, determine main application and wait to be integrated in the son application of described main application;
Step S210, the application descriptor of applying by application allocation list record, a corresponding application allocation list of son application;
Step S220, in application container, configure main application;
Step S230, by described main application call predefined application loading method in described application container;
Step S240, read the configuration file in the corresponding application bag of son application, and, the application allocation list corresponding with described son application;
Optionally, the embodiment of the present invention can read the configuration file in application bag corresponding to son application by application ID, and corresponding application allocation list.
If the application version that the application allocation list that step S250 reads records, different from the application version that the configuration file in described application bag records, upgrade according to the configuration file in described application bag the application allocation list reading, by described application loading method, the application descriptor recording according to the application allocation list after upgrading loads described son application in described application container;
If the application version that the application allocation list that step S260 reads records, the application version recording with the configuration file in described application bag is identical, by described application loading method, the application descriptor recording according to read application allocation list loads described son application in described application container;
Step S270, by main application described in application container control and son application.
Optionally, list of application also can be set for recording the array of the son application that is loaded on application container in application container.Obviously, the array of main application also can be recorded in described list of application.
Optionally, add carrier application in application container time, if the array of current loaded son application has been recorded in list of application, the embodiment of the present invention can bring to Front the view of this son application, to be presented on interface of electronic equipment; If the array of current loaded son application is not recorded in list of application, the embodiment of the present invention can record the array of this son application in list of application, and applies catalogue for this son application creates.
The embodiment of the present invention by main application described in application container control and the son application that loaded can be, controls the execution of application controls instruction, controls the transmission of application message, controls the use of application view, controls application and deletes, and controls application and stops etc.Below by for being described in detail by the main application of application container control and the mode that added carrier application.
Optionally, aspect the steering order of execution application, for the steering order of each application, unification is sent to application container, carry out a step by application container and be passed to each application, thereby realize the execution of steering order; Concrete, the embodiment of the present invention can receive by application container the steering order of each application, and by application container, received steering order is passed to corresponding application, and call the interface corresponding with described steering order in this correspondence application, carry out described steering order.
Optionally, aspect the transmission of application message, application container is responsible for each application transmission of information, and unification is sent to application container by the information such as opening, close, make mistakes of the page, further notifies each application by application container; Concrete, the embodiment of the present invention can receive application message by application container, and by application container, described application message is passed to corresponding application.While needing to carry out information transmission between application, the information of required transmission also sends to application container by unification, is carried out the distribution of information by application container.
Optionally, in the use of controlling application view, application container can be responsible for reclaiming each and apply discarded view object, and in the time that certain view of certain application is discarded, discarded view will not destroyed, but be placed in application container, in the time that a certain application needs new view, if there is discarded view in application container, can use this discarded view, if not discarded view, carries out the establishment of new view object again in application container.Concrete, the embodiment of the present invention can be in the time that arbitrary application needs new view, if described application container has discarded view, for the application that needs new view is used described discarded view, if described application container does not have discarded view, for the application that needs new view creates new view; Wherein, in the time that the view of arbitrary application is discarded, discarded view will be placed in described application container.
Optionally, control application stop aspect, in the time that application stops, the embodiment of the present invention can first confirm whether the application that need to stop is main application, if main application and son application are exited in main application, return to desktop, if son application removes this son application from the list of application of application container, and removes the view of this son application.Concrete, the embodiment of the present invention can receive application halt instruction by application container, if described application halt instruction is corresponding with main application, be invoked at predefined main application method of shutting down in described application container, exit main application and son application, return to desktop, if described application halt instruction is corresponding with son application, be invoked at predefined son application method of shutting down in described application container, from the list of application of application container, remove the corresponding son application of described application halt instruction, and remove the view of this son application.
Optionally, aspect control application deletion, when application is deleted, the embodiment of the present invention, except the associative operation that above-mentioned application stops, also being deleted application associated documents, comprise the record of applying in allocation list and list of application.Concrete, the embodiment of the present invention can receive son application delete instruction by application container, by main application call predefined application delet method in described application container, by described application delet method, stop described son application, and delete this son and apply corresponding application allocation list.
The application integration method that the embodiment of the present invention provides is without the application of carrying out application integration is carried out to code recompility, main application and son application are all as a module independently, do not need to change, and allow each application to develop separately, therefore the work of application and development is comparatively easy.
The application integration the device below embodiment of the present invention being provided is introduced, application integration device described below can with the mutual corresponding reference of above-described application integration method.
The structured flowchart of the application integration device that Fig. 3 provides for the embodiment of the present invention, this device can be applicable to electronic equipment, and particularly, in mobile device, with reference to Fig. 3, this device can comprise:
The first determination module 100, for determining that main application and waiting is integrated in the son application of described main application;
Optionally, main application can be to mix application or web application, and son application can be also to mix application or web application.
The first logging modle 200, for the application descriptor of applying by application allocation list record, a corresponding application allocation list of son application;
The first configuration module 300, for configuring main application in application container;
The first calling module 400, for by described main application call at the predefined application loading method of described application container;
The first load-on module 500, be used for by described application loading method, the application descriptor of the son application of recording according to application allocation list adds carrier application in application container, set up described main application and the sub hierarchical relationship of applying, realize the integrated of described main application and son application;
Control module 600, for applying by main application described in application container control and son.
Optionally, Fig. 4 shows the optional structure of one of the first logging modle 200 that the embodiment of the present invention provides, and with reference to Fig. 4, the first logging modle 200 can comprise:
Reading unit 210, for reading the configuration file of the corresponding application bag of son application, and, the application allocation list corresponding with described son application;
The first loading unit 220, if the application version recording for the application allocation list reading, different from the application version that the configuration file in described application bag records, upgrade according to the configuration file in described application bag the application allocation list reading, by described application loading method, the application descriptor recording according to the application allocation list after upgrading loads described son application in described application container;
The second loading unit 230, if the application version recording for the application allocation list reading, the application version recording with the configuration file in described application bag is identical, by described application loading method, the application descriptor recording according to read application allocation list loads described son application in described application container.
Optionally, Fig. 5 shows another structured flowchart of the application integration device that the embodiment of the present invention provides, and shown in Fig. 3 and Fig. 5, application integration device can also comprise:
The second logging modle 700, for recording the array of the son application that is loaded on described application container by list of application in described application container;
The first execution module 800, if the array for the current son application loading in described application container has been recorded in described list of application, load this son application in described application container time, the view of this son application is brought to Front, to be presented on described interface of electronic equipment;
The second execution module 900, if the array for the current son application loading in described application container is not recorded in described list of application, load this son application in described application container time, in described list of application, record the array of this son application, and apply catalogue for this son application creates.
Optionally, Fig. 6 shows the optional structure of one of control module 600, and with reference to Fig. 6, control module 600 can comprise:
The first control module 610, for receive the steering order of each application by application container, and is passed to corresponding application by application container by received steering order, calls the interface corresponding with described steering order in this correspondence application, carries out described steering order.
Optionally, control module 600 can also have following optional structure:
The second control module (not shown), for receiving application message by application container, and is passed to corresponding application by application container by described application message;
Or, the 3rd control module (not shown), for in the time that arbitrary application needs new view, if described application container has discarded view, for the application that needs new view is used described discarded view, if described application container does not have discarded view, for the application that needs new view creates new view; Wherein, in the time that the view of arbitrary application is discarded, discarded view will be placed in described application container;
Or the 3rd control module (not shown), for receiving application halt instruction by application container; If described application halt instruction is corresponding with main application, be invoked at predefined main application method of shutting down in described application container, exit main application and son application, return to desktop; If described application halt instruction is corresponding with son application, be invoked at predefined son application method of shutting down in described application container, from the list of application of application container, remove the corresponding son application of described application halt instruction, and remove the view of this son application;
Or the 4th control module (not shown), for receiving son application delete instruction by application container; By main application call predefined application delet method in described application container; By described application delet method, stop described son application, and delete this son and apply corresponding application allocation list.
The application integration device that the embodiment of the present invention provides is without the application of carrying out application integration is carried out to code recompility, main application and son application are all as a module independently, do not need to change, and allow each application to develop separately, therefore the work of application and development is comparatively easy.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates referring to method part.
Professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiment, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
1. an application integration method, is characterized in that, is applied to electronic equipment, and described method comprises:
Determine main application and wait to be integrated in the son application of described main application;
By the application descriptor of application allocation list record application, a corresponding application allocation list of son application;
In application container, configure main application;
By described main application call predefined application loading method in described application container;
By described application loading method, the application descriptor of the son application of recording according to application allocation list adds carrier and applies in application container, sets up the hierarchical relationship of described main application and son application, realizes described main application and sub apply integrated;
By main application described in application container control and son application.
2. application integration method according to claim 1, is characterized in that, describedly comprises by described main application call predefined application loading method in described application container:
By described main application, adopt the JS interface corresponding with described application loading method, call the function corresponding with described application loading method.
3. application integration method according to claim 1, is characterized in that, described by described application loading method, and the application descriptor of the son application of recording according to application allocation list adds carrier application and comprises in described application container:
Read the configuration file in the corresponding application bag of son application, and, the application allocation list corresponding with described son application;
If the application version that the application allocation list reading records, different from the application version that the configuration file in described application bag records, upgrade according to the configuration file in described application bag the application allocation list reading, by described application loading method, the application descriptor recording according to the application allocation list after upgrading loads described son application in described application container;
If the application version that the application allocation list reading records, the application version recording with the configuration file in described application bag is identical, by described application loading method, the application descriptor recording according to read application allocation list loads described son application in described application container.
4. application integration method according to claim 1, is characterized in that, also comprises:
In described application container, record the array of the son application that is loaded on described application container by list of application;
If the array of the son application loading in described application container current has been recorded in described list of application, load this son application in described application container time, the view of this son application is brought to Front, to be presented on described interface of electronic equipment;
If the array of the son application loading in described application container current is not recorded in described list of application, load this son application in described application container time, records the array of this son application in described list of application, and is this son application establishment application catalogue.
5. application integration method according to claim 1, is characterized in that, describedly comprises by main application described in application container control and the son application that loaded:
Receive the steering order of each application by application container, and by application container, received steering order is passed to corresponding application, call the interface corresponding with described steering order in this correspondence application, carry out described steering order.
6. application integration method according to claim 1, is characterized in that, describedly comprises by main application described in application container control and the son application that loaded:
Receive application message by application container, and by application container, described application message is passed to corresponding application.
7. application integration method according to claim 1, is characterized in that, describedly comprises by main application described in application container control and the son application that loaded
In the time that arbitrary application needs new view, if described application container has discarded view, for the application that needs new view is used described discarded view, if described application container does not have discarded view, for the application that needs new view creates new view; Wherein, in the time that the view of arbitrary application is discarded, discarded view will be placed in described application container.
8. application integration method according to claim 1, is characterized in that, describedly comprises by main application described in application container control and the son application that loaded:
Receive application halt instruction by application container;
If described application halt instruction is corresponding with main application, be invoked at predefined main application method of shutting down in described application container, exit main application and son application, return to desktop;
If described application halt instruction is corresponding with son application, be invoked at predefined son application method of shutting down in described application container, from the list of application of application container, remove the corresponding son application of described application halt instruction, and remove the view of this son application.
9. application integration method according to claim 1, is characterized in that, describedly comprises by main application described in application container control and the son application that loaded:
Receive son application delete instruction by application container;
By main application call predefined application delet method in described application container;
By described application delet method, stop described son application, and delete this son and apply corresponding application allocation list.
10. an application integration device, is characterized in that, is applied to electronic equipment, and described device comprises:
The first determination module, for determining that main application and waiting is integrated in the son application of described main application;
The first logging modle, for the application descriptor of applying by application allocation list record, a corresponding application allocation list of son application;
The first configuration module, for configuring main application in application container;
The first calling module, for by described main application call at the predefined application loading method of described application container;
The first load-on module, be used for by described application loading method, the application descriptor of the son application of recording according to application allocation list adds carrier application in application container, set up described main application and the sub hierarchical relationship of applying, realize the integrated of described main application and son application;
Control module, for applying by main application described in application container control and son.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410293634.0A CN104035804B (en) | 2014-06-26 | 2014-06-26 | A kind of application integration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410293634.0A CN104035804B (en) | 2014-06-26 | 2014-06-26 | A kind of application integration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104035804A true CN104035804A (en) | 2014-09-10 |
CN104035804B CN104035804B (en) | 2017-11-17 |
Family
ID=51466579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410293634.0A Active CN104035804B (en) | 2014-06-26 | 2014-06-26 | A kind of application integration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104035804B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105607895A (en) * | 2014-11-21 | 2016-05-25 | 阿里巴巴集团控股有限公司 | Operation method and device of application program on the basis of application program programming interface |
CN106547578A (en) * | 2015-09-21 | 2017-03-29 | 阿里巴巴集团控股有限公司 | The loading method and device of terminal applies APP |
CN107430512A (en) * | 2014-10-31 | 2017-12-01 | 康维达无线有限责任公司 | Machine is managed to the application relation in machine system |
WO2018127063A1 (en) * | 2017-01-06 | 2018-07-12 | 腾讯科技(深圳)有限公司 | Application data processing method and apparatus, and storage medium |
CN111124391A (en) * | 2019-12-18 | 2020-05-08 | 中科全维科技(苏州)有限公司 | Desktop end software pendant window management method and system |
CN111198739A (en) * | 2019-12-30 | 2020-05-26 | 广州市百果园信息技术有限公司 | Rendering method, device and equipment of application view and storage medium |
CN112000353A (en) * | 2020-08-18 | 2020-11-27 | 北京三快在线科技有限公司 | Application running method and device and storage medium |
CN112558985A (en) * | 2021-02-23 | 2021-03-26 | 鲁班(北京)电子商务科技有限公司 | Sub-application deployment method and device |
CN112748962A (en) * | 2021-01-22 | 2021-05-04 | 北京五八信息技术有限公司 | Application loading method and device, electronic equipment and computer readable medium |
CN113064676A (en) * | 2020-12-29 | 2021-07-02 | 上海金融期货信息技术有限公司 | Method for remote component sharing mechanism during front-end operation based on JS entrance |
US12001824B2 (en) | 2018-12-25 | 2024-06-04 | Petal Cloud Technology Co., Ltd. | Application package splitting and reassembly method and apparatus, and application package running method and apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070106946A1 (en) * | 2005-11-07 | 2007-05-10 | Philip Goetz | Method and system for developing interactive Web applications in a unified framework |
US20080082987A1 (en) * | 2006-08-18 | 2008-04-03 | International Business Machines Corporation | Method and System for Integrating the Existing Web-Based Syswtem |
CN102063509A (en) * | 2011-01-12 | 2011-05-18 | 南京南瑞继保电气有限公司 | Model and modeling method of multi-dimensional data integration of heterogeneous databases of electric power information system |
CN102073506A (en) * | 2011-02-24 | 2011-05-25 | 北京中电普华信息技术有限公司 | Java 2 enterprise edition (J2EE) based method and system for processing Web application request |
CN102087599A (en) * | 2011-02-24 | 2011-06-08 | 北京中电普华信息技术有限公司 | J2EE-based Web application system development method and device |
US20130212560A1 (en) * | 2012-02-10 | 2013-08-15 | Electronics And Telecommunications Research Institute | Apparatus and method for providing integrated development environment for network application using various network processors, and server using the same |
-
2014
- 2014-06-26 CN CN201410293634.0A patent/CN104035804B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070106946A1 (en) * | 2005-11-07 | 2007-05-10 | Philip Goetz | Method and system for developing interactive Web applications in a unified framework |
US20080082987A1 (en) * | 2006-08-18 | 2008-04-03 | International Business Machines Corporation | Method and System for Integrating the Existing Web-Based Syswtem |
CN102063509A (en) * | 2011-01-12 | 2011-05-18 | 南京南瑞继保电气有限公司 | Model and modeling method of multi-dimensional data integration of heterogeneous databases of electric power information system |
CN102073506A (en) * | 2011-02-24 | 2011-05-25 | 北京中电普华信息技术有限公司 | Java 2 enterprise edition (J2EE) based method and system for processing Web application request |
CN102087599A (en) * | 2011-02-24 | 2011-06-08 | 北京中电普华信息技术有限公司 | J2EE-based Web application system development method and device |
US20130212560A1 (en) * | 2012-02-10 | 2013-08-15 | Electronics And Telecommunications Research Institute | Apparatus and method for providing integrated development environment for network application using various network processors, and server using the same |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10990449B2 (en) | 2014-10-31 | 2021-04-27 | Convida Wireless, Llc | Managing application relationships in machine-to-machine systems |
CN107430512A (en) * | 2014-10-31 | 2017-12-01 | 康维达无线有限责任公司 | Machine is managed to the application relation in machine system |
CN105607895A (en) * | 2014-11-21 | 2016-05-25 | 阿里巴巴集团控股有限公司 | Operation method and device of application program on the basis of application program programming interface |
CN105607895B (en) * | 2014-11-21 | 2021-03-02 | 阿里巴巴集团控股有限公司 | Application program operation method and device based on application program programming interface |
US10664289B2 (en) | 2015-09-21 | 2020-05-26 | Alibaba Group Holding Limited | Loading sub-applications for a terminal application |
CN106547578B (en) * | 2015-09-21 | 2020-09-15 | 阿里巴巴集团控股有限公司 | Loading method and device of terminal application APP |
CN112214260B (en) * | 2015-09-21 | 2023-09-22 | 创新先进技术有限公司 | Method and device for loading APP (application) of terminal |
CN112214260A (en) * | 2015-09-21 | 2021-01-12 | 创新先进技术有限公司 | Loading method and device of terminal application APP |
CN106547578A (en) * | 2015-09-21 | 2017-03-29 | 阿里巴巴集团控股有限公司 | The loading method and device of terminal applies APP |
US11231959B2 (en) | 2017-01-06 | 2022-01-25 | Tencent Technology (Shenzhen) Company Limited | Foreground and background switching entry generation and display following quit operations |
WO2018127063A1 (en) * | 2017-01-06 | 2018-07-12 | 腾讯科技(深圳)有限公司 | Application data processing method and apparatus, and storage medium |
US12001824B2 (en) | 2018-12-25 | 2024-06-04 | Petal Cloud Technology Co., Ltd. | Application package splitting and reassembly method and apparatus, and application package running method and apparatus |
CN111124391A (en) * | 2019-12-18 | 2020-05-08 | 中科全维科技(苏州)有限公司 | Desktop end software pendant window management method and system |
CN111198739B (en) * | 2019-12-30 | 2023-08-15 | 广州市百果园信息技术有限公司 | Application view rendering method, device, equipment and storage medium |
CN111198739A (en) * | 2019-12-30 | 2020-05-26 | 广州市百果园信息技术有限公司 | Rendering method, device and equipment of application view and storage medium |
CN112000353A (en) * | 2020-08-18 | 2020-11-27 | 北京三快在线科技有限公司 | Application running method and device and storage medium |
CN113064676A (en) * | 2020-12-29 | 2021-07-02 | 上海金融期货信息技术有限公司 | Method for remote component sharing mechanism during front-end operation based on JS entrance |
CN112748962A (en) * | 2021-01-22 | 2021-05-04 | 北京五八信息技术有限公司 | Application loading method and device, electronic equipment and computer readable medium |
CN112748962B (en) * | 2021-01-22 | 2023-10-20 | 北京五八信息技术有限公司 | Application loading method, device, electronic equipment and computer readable medium |
CN112558985B (en) * | 2021-02-23 | 2021-08-27 | 鲁班(北京)电子商务科技有限公司 | Sub-application deployment method and device |
CN112558985A (en) * | 2021-02-23 | 2021-03-26 | 鲁班(北京)电子商务科技有限公司 | Sub-application deployment method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104035804B (en) | 2017-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104035804A (en) | Application integrating method and application integrating device | |
CN111475227B (en) | Business plug-in loading implementation method and device and terminal equipment | |
CN106547580B (en) | Method and device for hooking function, mobile terminal and storage medium | |
US9720614B2 (en) | Allocating storage for cloned data | |
CN107045438B (en) | Application top view processing method, device and component | |
US11474842B2 (en) | Integration application creator design | |
US20200142673A1 (en) | Composable context menus | |
US20190347190A1 (en) | Code usage map | |
CN110716714B (en) | Component creation method, device, computer system and computer readable storage medium | |
US8296399B2 (en) | Connecting galleries to dynamic server-hosted content | |
WO2020024989A1 (en) | Widget screen loading method, apparatus, terminal, and computer readable storage medium | |
CN105389184A (en) | Configuration method and apparatus for product interface information | |
CN106020752A (en) | Method and system for self-adaptation display | |
CN105354090A (en) | Management method and device of virtual equipment | |
CN104391830A (en) | Method and device for dynamic layout of bill page | |
CN104700255B (en) | Multi-process processing method, device and system | |
CN113326079A (en) | Service version switching method, switching device, electronic equipment and storage medium | |
CN110543351B (en) | Data processing method and computer device | |
CN107402749A (en) | Realize the method and device in picture loading storehouse | |
CN113535221A (en) | Method and device for managing application version | |
CN111142972A (en) | Method, apparatus, system, and medium for extending functions of application program | |
US10482007B2 (en) | Memory allocation on non-volatile storage | |
CN104268205A (en) | Method and device for obtaining information of installed applications in IOS system | |
US12020185B1 (en) | Drag and drop allocation in PLM | |
KR20150077799A (en) | Input method of permission for application development and recording medium storing program for executing method of developing android application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |