CN106528230A - Application program management method, management device and client equipment - Google Patents
Application program management method, management device and client equipment Download PDFInfo
- Publication number
- CN106528230A CN106528230A CN201610972730.7A CN201610972730A CN106528230A CN 106528230 A CN106528230 A CN 106528230A CN 201610972730 A CN201610972730 A CN 201610972730A CN 106528230 A CN106528230 A CN 106528230A
- Authority
- CN
- China
- Prior art keywords
- application
- extension
- application program
- core
- expansion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides an application program management method, an application program management system and client equipment. The application program management method comprises the steps of detecting whether a touch control operation on graphical interface elements on a target operation interface of core application program in a client is received or not; when the touch control operation is received, determining expanding application program corresponding to the graphical interface elements, and allocating required resource environment integrated in the core application program for the expanding application program; obtaining installation information of the expanding application program; and integrating the expanding application program into the core application program according to the installation information and the resource environment of the expanding application program. By using the technical scheme, the application in a client can be expanded according to requirements; the application program is enabled to meet the use requirements of users; meanwhile, the installation and the starting of the functions which are not required or not used temporarily by the user are avoided; the system resource waste is reduced; and the system stability of the client equipment is also guaranteed.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of management method of application program, a kind of application
The managing device of program and a kind of client device.
Background technology
Computer client technology quickly grows, also being constantly iterated and samsara, from the terminal of early stage till now
Graphical user's interaction of main flow, the experience of user are significantly lifted.On application system framework, from stand-alone application to C/S, from C/
S to B/S, from B/S to C/C, client application in enterprise's application, from main flow to marginalisation, starts gradually to be connect by enterprise now again
Receive, increasing application occurs with the looks of App (Application, application), provide not only best Consumer's Experience,
New platform value is brought also.
Under existing application and development framework, the extended mode of application typically has two ways:Static linkage and dynamic link.
No matter which kind of application expand mode using, and as the function of application strengthens, application is more and more too fat to move, and the volume of application all can be significantly
Expansion.User is forced to install those to its unwanted functional module, and this is caused to waste and bothered to user resources, right in addition
Using popularize and also result in difficulty, some companies promote its application even with the mode of rogue software, but such
The way of promotion is obviously impracticable, inappropriate, the application that this mode builds in addition for 2B, for large-scale 2B should
It is with for, as the complexity of its flow process, the difference of the scale of construction of engineering participation are even more the resistance to overturning to system and bring challenges, right
Large-scale tissue and exploitation are also a unavoidable problem.
Therefore, how to expand application on demand becomes technical problem urgently to be resolved hurrily.
The content of the invention
The present invention is based at least one above-mentioned technical problem, it is proposed that a kind of Managed Solution of application program, can
On demand the application in client is expanded, while guaranteeing that application program meets user's use demand, it is to avoid install
Start the function that some users need not or temporarily not use, reduce the waste to system resource, also ensure that client
The stability of a system of equipment.
In view of this, the present invention proposes a kind of management method of application program, including:Detect whether to receive to client
The touch control operation of the Basic Elements of Graphic User Interface in end on the object run interface of core application;When receiving the touch control operation
When, it is determined that extension application corresponding with the Basic Elements of Graphic User Interface, and institute is integrated in for the expansion application assigned
State the resource environment needed for core application;Obtain the mount message of the extension application;Should according to the extension
With the mount message and the resource environment of program, the extension application is integrated in the core application.
In the technical scheme, by the figure on the object run interface of the core application in receiving to client
During touch control operation (such as mouse click event, KeyEvent etc.) of shape interface element, it is determined that expansion corresponding with Basic Elements of Graphic User Interface
Exhibition application program, and the resource environment needed for core application is integrated in expand application assigned, and obtain expansion
The mount message of exhibition application program, with mount message and resource environment according to extension application, by extension application collection
Into in core application, it is achieved thereby that expanding to the application in client on demand, improve
Deployment speed in the end of family, while guaranteeing that application program meets user's use demand, it is to avoid install and start some uses
The function that person need not or temporarily not use, reduces the waste to system resource, also ensure that the stability of a system of client.
In above-mentioned technical proposal, it is preferable that the mount message and the resource according to the extension application
Environment, the step that the extension application is integrated in the core application is specifically included:Should according to the extension
With the mount message of program, the extension application is downloaded from server side;Installation according to the extension application is believed
Breath and the resource environment, the extension application is integrated in the core application;Wherein, the expanded application
The mount message of program includes the following combination of one or more:Mounting means, installation path, the extension application are supported
Process mode, the extension application install after control mode, the active mode of the extension application and described
Core application is to the administration authority for expanding application program;The resource environment includes the following group of one or more
Close:For aiding in expansion application window to be embedded into the window handle of core application window, for driving the expansion
Loading and the registration of the action script and lua scripts of the message transmission between application program and the core application.
In the technical scheme, server side prestores multiple expansion application programs, and client can be according to the expansion that need to be installed
The mount message of exhibition application program, is downloaded from server side, and resource environment is may include for aiding in expanding application program window
Mouth is embedded into the window handle of core application window, expands disappearing between application program and core application for driving
Loading and registration etc. of the action script and lua scripts of breath transmission, based on mount message and resource environment come by expansion application journey
Sequence is integrated in core application, reduces the requirement to development technique, and different expansion application programs can be using difference
Language, different technology stacks develop, so as to realize the quick quick iteration of large-scale development.
In any of the above-described technical scheme, it is preferable that in the mount message according to the extension application, from
Before the step of server side downloads the extension application, also include:Whether install in detecting the client
State extension application;When it is determined that not installing the extension application in the client, perform described from server side
The step of downloading the extension application.
In the technical scheme, by detecting in client whether be provided with extension application, with it is determined that not pacifying
During dress extension application, then it is downloaded from server side, has both realized and downloaded on demand, avoided again re-downloading same extension
Application program and cause the wasting of resources.
In any of the above-described technical scheme, it is preferable that also include:Receiving the finger that updates the extension application
When making, the expansion application program is updated.
In the technical scheme, by when the instruction for updating extension application is received, entering to expanding application program
Row updates, and realizes and on demand the local in whole application program is updated, and specifically, the logic of renewal can be answered according to extension
Made with the corresponding version of program, regeneration behavior, regeneration behavior and installation process will occur if there is version updating
Similar, simply historical data obtains reservation specially.
In any of the above-described technical scheme, it is preferable that also include:Monitor the running status of the core application;
Whether there is interfacing between the detection expansion application program and the core application;Monitoring that the core should
Run with program stopped, and when Presence of an interface is contacted between the expansion application program and the core application, control institute
State expansion application program out of service;Monitoring that the core application is out of service, and the expansion application program with
When between the core application, Presence of an interface is not contacted, the control expansion application program is out of service or continues to run with.
In any of the above-described technical scheme, it is preferable that the core application and the extension application are based on
Messaging bus carry out message transmission;Wherein, the communication pattern for carrying out message transmission based on messaging bus includes following arbitrary:A pair
One communication pattern, a pair of multi-communication modes, synchronous communication pattern and asynchronous communication model.
In the technical scheme, core application and extension application pass through such as One-to-one communication based on messaging bus
Pattern, a pair of multi-communication modes, the arbitrary communication pattern in synchronous communication pattern and asynchronous communication model, realize the flexible of message
Transmission.Wherein, the message between core application and extension application includes common message, user interface message.
In any of the above-described technical scheme, it is preferable that the Basic Elements of Graphic User Interface includes following arbitrary:Menu, button,
List control.
According to the second aspect of the invention, it is proposed that a kind of managing device of application program, including:First detector unit,
For detecting whether receiving the touch-control of the Basic Elements of Graphic User Interface on the object run interface to core application in client
Operation;First processing units, for when the touch control operation is received, it is determined that extension corresponding with the Basic Elements of Graphic User Interface
Application program, and the resource environment needed for the core application is integrated in for the expansion application assigned;Obtain
Unit, for obtaining the mount message of the extension application;Second processing unit, for according to the extension application
Mount message and the resource environment, the extension application is integrated in the core application.
In the technical scheme, by the figure on the object run interface of the core application in receiving to client
During touch control operation (such as mouse click event, KeyEvent etc.) of shape interface element, it is determined that expansion corresponding with Basic Elements of Graphic User Interface
Exhibition application program, and the resource environment needed for core application is integrated in expand application assigned, and obtain expansion
The mount message of exhibition application program, with mount message and resource environment according to extension application, by extension application collection
Into in core application, it is achieved thereby that expanding to the application in client on demand, improve
Deployment speed in the end of family, while guaranteeing that application program meets user's use demand, it is to avoid install and start some uses
The function that person need not or temporarily not use, reduces the waste to system resource, also ensure that the stability of a system of client.
In above-mentioned technical proposal, it is preferable that the second processing unit includes:Download unit, for according to the expansion
The mount message of exhibition application program, downloads the extension application from server side;Integrated unit, for according to the extension
The mount message of application program and the resource environment, the extension application is integrated in the core application;
Wherein, the mount message of the extension application includes the following combination of one or more:Mounting means, installation path, institute
State the control mode after the process mode of extension application support, the extension application are installed, the expanded application journey
The active mode of sequence and the core application are to the administration authority for expanding application program;The resource environment include with
Appoint down the combination of one or more:For aid in expand application window be embedded into core application window window handle,
For driving the action script and lua scripts of the message transmission expanded between application program and the core application
Load and register.
In the technical scheme, server side prestores multiple expansion application programs, and client can be according to the expansion that need to be installed
The mount message of exhibition application program, is downloaded from server side, and resource environment is may include for aiding in expanding application program window
Mouth is embedded into the window handle of core application window, expands disappearing between application program and core application for driving
Loading and registration etc. of the action script and lua scripts of breath transmission, based on mount message and resource environment come by expansion application journey
Sequence is integrated in core application, reduces the requirement to development technique, and different expansion application programs can be using difference
Language, different technology stacks develop, so as to realize the quick quick iteration of large-scale development.
In any of the above-described technical scheme, it is preferable that also include:Second detector unit, for detecting the client
In whether the extension application has been installed;The integrated unit, specifically for determining institute in second detector unit
When the extension application not being installed in stating client, the extension application is downloaded from server side.
In the technical scheme, by detecting in client whether be provided with extension application, with it is determined that not pacifying
During dress extension application, then it is downloaded from server side, has both realized and downloaded on demand, avoided again re-downloading same extension
Application program and cause the wasting of resources.
In any of the above-described technical scheme, it is preferable that also include:Updating block, for receiving the renewal expansion
During the instruction of exhibition application program, the expansion application program is updated.
In the technical scheme, by when the instruction for updating extension application is received, entering to expanding application program
Row updates, and realizes and on demand the local in whole application program is updated, and specifically, the logic of renewal can be answered according to extension
Made with the corresponding version of program, regeneration behavior, regeneration behavior and installation process will occur if there is version updating
Similar, simply historical data obtains reservation specially.
In any of the above-described technical scheme, it is preferable that also include:Monitoring unit, for monitoring the core application journey
The running status of sequence;3rd detector unit, for whether detecting between the expansion application program and the core application
Presence of an interface is contacted;3rd processing unit, for monitoring that the core application is out of service, and described expands application
When between program and the core application, Presence of an interface is contacted, the control expansion application program is out of service, Yi Ji
Monitor that the core application is out of service, and do not exist between the expansion application program and the core application
During interfacing, the control expansion application program is out of service or continues to run with.
In any of the above-described technical scheme, it is preferable that the core application and the extension application are based on
Messaging bus carry out message transmission;Wherein, the communication pattern for carrying out message transmission based on messaging bus includes following arbitrary:A pair
One communication pattern, a pair of multi-communication modes, synchronous communication pattern and asynchronous communication model.
In the technical scheme, core application and extension application pass through such as One-to-one communication based on messaging bus
Pattern, a pair of multi-communication modes, the arbitrary communication pattern in synchronous communication pattern and asynchronous communication model, realize the flexible of message
Transmission.Wherein, the message between core application and extension application includes common message, user interface message.
In any of the above-described technical scheme, it is preferable that the Basic Elements of Graphic User Interface includes following arbitrary:Menu, button,
List control.
According to the third aspect of the invention we, it is proposed that a kind of client device, including:Such as any one of above-mentioned technical scheme
The managing device of described application program.
By above technical scheme, on demand the application in client can be expanded, guarantee application program satisfaction
While user's use demand, it is to avoid the function of starting that some users need not or temporarily not use is installed, it is right to reduce
The waste of system resource, also ensure that the stability of a system of client.
Description of the drawings
Fig. 1 shows the schematic flow diagram of the management method of application program according to an embodiment of the invention;
Fig. 2 shows the schematic block diagram of the managing device of application program according to an embodiment of the invention;
Fig. 3 shows the schematic block diagram of client device according to an embodiment of the invention;
Fig. 4 shows the schematic block diagram of the management system of application program according to an embodiment of the invention;
Fig. 5 shows the interactive schematic diagram in client according to an embodiment of the invention between each functional module;
Fig. 6 shows that core application according to an embodiment of the invention and the information exchange expanded between application program are shown
It is intended to;
Fig. 7 shows that core application according to an embodiment of the invention and the control management expanded between application program are shown
It is intended to.
Specific embodiment
It is in order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete real
Apply mode to be further described in detail the present invention.It should be noted that in the case where not conflicting, the enforcement of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also
Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment restriction.
Fig. 1 shows the schematic flow diagram of the management method of application program according to an embodiment of the invention.
As shown in figure 1, the management method of application program according to an embodiment of the invention, including:
Step 102, detects whether to receive figure circle on the object run interface to core application in client
The touch control operation of surface element.
Step 104, when the touch control operation is received, it is determined that expanded application journey corresponding with the Basic Elements of Graphic User Interface
Sequence, and the resource environment needed for the core application is integrated in for the expansion application assigned.
Step 106, obtains the mount message of the extension application.
Step 108, according to the mount message and the resource environment of the extension application, by the expanded application journey
Sequence is integrated in the core application.
In the technical scheme, by the figure on the object run interface of the core application in receiving to client
During touch control operation (such as mouse click event, KeyEvent etc.) of shape interface element, it is determined that expansion corresponding with Basic Elements of Graphic User Interface
Exhibition application program, and the resource environment needed for core application is integrated in expand application assigned, and obtain expansion
The mount message of exhibition application program, with mount message and resource environment according to extension application, by extension application collection
Into in core application, it is achieved thereby that expanding to the application in client on demand, improve
Deployment speed in the end of family, while guaranteeing that application program meets user's use demand, it is to avoid install and start some uses
The function that person need not or temporarily not use, reduces the waste to system resource, also ensure that the stability of a system of client.
In above-mentioned technical proposal, it is preferable that the mount message and the resource according to the extension application
Environment, the step that the extension application is integrated in the core application is specifically included:Should according to the extension
With the mount message of program, the extension application is downloaded from server side;Installation according to the extension application is believed
Breath and the resource environment, the extension application is integrated in the core application;Wherein, the expanded application
The mount message of program includes the following combination of one or more:Mounting means, installation path, the extension application are supported
Process mode, the extension application install after control mode, the active mode of the extension application and described
Core application is to the administration authority for expanding application program;The resource environment includes the following group of one or more
Close:For aiding in expansion application window to be embedded into the window handle of core application window, for driving the expansion
Loading and the registration of the action script and lua scripts of the message transmission between application program and the core application.
In the technical scheme, server side prestores multiple expansion application programs, and client can be according to the expansion that need to be installed
The mount message of exhibition application program, is downloaded from server side, and resource environment is may include for aiding in expanding application program window
Mouth is embedded into the window handle of core application window, expands disappearing between application program and core application for driving
Loading and registration etc. of the action script and lua scripts of breath transmission, based on mount message and resource environment come by expansion application journey
Sequence is integrated in core application, reduces the requirement to development technique, and different expansion application programs can be using difference
Language, different technology stacks develop, so as to realize the quick quick iteration of large-scale development.
In any of the above-described technical scheme, it is preferable that in the mount message according to the extension application, from
Before the step of server side downloads the extension application, also include:Whether install in detecting the client
State extension application;When it is determined that not installing the extension application in the client, perform described from server side
The step of downloading the extension application.
In the technical scheme, by detecting in client whether be provided with extension application, with it is determined that not pacifying
During dress extension application, then it is downloaded from server side, has both realized and downloaded on demand, avoided again re-downloading same extension
Application program and cause the wasting of resources.
In any of the above-described technical scheme, it is preferable that also include:Receiving the finger that updates the extension application
When making, the expansion application program is updated.
In the technical scheme, by when the instruction for updating extension application is received, entering to expanding application program
Row updates, and realizes and on demand the local in whole application program is updated, and specifically, the logic of renewal can be answered according to extension
Made with the corresponding version of program, regeneration behavior, regeneration behavior and installation process will occur if there is version updating
Similar, simply historical data obtains reservation specially.
In any of the above-described technical scheme, it is preferable that also include:Monitor the running status of the core application;
Whether there is interfacing between the detection expansion application program and the core application;Monitoring that the core should
Run with program stopped, and when Presence of an interface is contacted between the expansion application program and the core application, control institute
State expansion application program out of service;Monitoring that the core application is out of service, and the expansion application program with
When between the core application, Presence of an interface is not contacted, the control expansion application program is out of service or continues to run with.
In any of the above-described technical scheme, it is preferable that the core application and the extension application are based on
Messaging bus carry out message transmission;Wherein, the communication pattern for carrying out message transmission based on messaging bus includes following arbitrary:A pair
One communication pattern, a pair of multi-communication modes, synchronous communication pattern and asynchronous communication model.
In the technical scheme, core application and extension application pass through such as One-to-one communication based on messaging bus
Pattern, a pair of multi-communication modes, the arbitrary communication pattern in synchronous communication pattern and asynchronous communication model, realize the flexible of message
Transmission.Wherein, the message between core application and extension application includes common message, user interface message.
In any of the above-described technical scheme, it is preferable that the Basic Elements of Graphic User Interface includes following arbitrary:Menu, button,
List control.
Fig. 2 shows the schematic block diagram of the managing device of application program according to an embodiment of the invention.
As shown in Fig. 2 the managing device 200 of application program according to an embodiment of the invention, including:First detector unit
202nd, first processing units 204, acquiring unit 206 and second processing unit 208.
Wherein, the first detector unit 202 is for detecting whether receive the target fortune to core application in client
The touch control operation of the Basic Elements of Graphic User Interface on row interface;First processing units 204 for when the touch control operation is received, really
Fixed extension application corresponding with the Basic Elements of Graphic User Interface, and the core is integrated in for the expansion application assigned
Resource environment needed for application program;Acquiring unit 206 is used for the mount message for obtaining the extension application;At second
Unit 208 is managed for the mount message according to the extension application and the resource environment, by the extension application
It is integrated in the core application.
In the technical scheme, by the figure on the object run interface of the core application in receiving to client
During touch control operation (such as mouse click event, KeyEvent etc.) of shape interface element, it is determined that expansion corresponding with Basic Elements of Graphic User Interface
Exhibition application program, and the resource environment needed for core application is integrated in expand application assigned, and obtain expansion
The mount message of exhibition application program, with mount message and resource environment according to extension application, by extension application collection
Into in core application, it is achieved thereby that expanding to the application in client on demand, improve
Deployment speed in the end of family, while guaranteeing that application program meets user's use demand, it is to avoid install and start some uses
The function that person need not or temporarily not use, reduces the waste to system resource, also ensure that the stability of a system of client.
In above-mentioned technical proposal, it is preferable that the second processing unit 208 includes:Download unit 2082, for basis
The mount message of the extension application, downloads the extension application from server side;Integrated unit 2084, for pressing
Mount message and the resource environment according to the extension application, the extension application is integrated in the core should
With in program;Wherein, the mount message of the extension application includes the following combination of one or more:Mounting means, peace
Dress path, the extension application support process mode, the extension application install after control mode, the expansion
The active mode and the core application of exhibition application program is to the administration authority for expanding application program;The resource ring
Border includes the following combination of one or more:For aiding in expanding the window that application window is embedded into core application window
Mouthful handle, the action script for driving the message transmission expanded between application program and the core application and
The loading of lua scripts and registration.
In the technical scheme, server side prestores multiple expansion application programs, and client can be according to the expansion that need to be installed
The mount message of exhibition application program, is downloaded from server side, and resource environment is may include for aiding in expanding application program window
Mouth is embedded into the window handle of core application window, expands disappearing between application program and core application for driving
Loading and registration etc. of the action script and lua scripts of breath transmission, based on mount message and resource environment come by expansion application journey
Sequence is integrated in core application, reduces the requirement to development technique, and different expansion application programs can be using difference
Language, different technology stacks develop, so as to realize the quick quick iteration of large-scale development.
In any of the above-described technical scheme, it is preferable that also include:Second detector unit 210, for detecting the client
Whether the extension application is installed in end;The integrated unit 2084, specifically in second detector unit
When the extension application not being installed in the 210 determinations client, the extension application is downloaded from server side.
In the technical scheme, by detecting in client whether be provided with extension application, with it is determined that not pacifying
During dress extension application, then it is downloaded from server side, has both realized and downloaded on demand, avoided again re-downloading same extension
Application program and cause the wasting of resources.
In any of the above-described technical scheme, it is preferable that also include:Updating block 212, for receiving described in renewal
During the instruction of extension application, the expansion application program is updated.
In the technical scheme, by when the instruction for updating extension application is received, entering to expanding application program
Row updates, and realizes and on demand the local in whole application program is updated, and specifically, the logic of renewal can be answered according to extension
Made with the corresponding version of program, regeneration behavior, regeneration behavior and installation process will occur if there is version updating
Similar, simply historical data obtains reservation specially.
In any of the above-described technical scheme, it is preferable that also include:Monitoring unit 214, for monitoring the core application
The running status of program;3rd detector unit 216, for detecting between the expansion application program and the core application
With the presence or absence of interfacing;3rd processing unit 218, for monitoring that the core application is out of service and described
When Presence of an interface is contacted between expansion application program and the core application, control the expansion application program and stop fortune
And the expansion application program and the core application OK, and monitoring that the core application is out of service,
Between when Presence of an interface is not contacted, control the expansion application program out of service or continue to run with.
In any of the above-described technical scheme, it is preferable that the core application and the extension application are based on
Messaging bus carry out message transmission;Wherein, the communication pattern for carrying out message transmission based on messaging bus includes following arbitrary:A pair
One communication pattern, a pair of multi-communication modes, synchronous communication pattern and asynchronous communication model.
In the technical scheme, core application and extension application pass through such as One-to-one communication based on messaging bus
Pattern, a pair of multi-communication modes, the arbitrary communication pattern in synchronous communication pattern and asynchronous communication model, realize the flexible of message
Transmission.Wherein, the message between core application and extension application includes common message, user interface message.
In any of the above-described technical scheme, it is preferable that the Basic Elements of Graphic User Interface includes following arbitrary:Menu, button,
List control.
Fig. 3 shows the schematic block diagram of client device according to an embodiment of the invention.
As shown in figure 3, client device 300 according to an embodiment of the invention, including:Application program as shown in Figure 2
Control device 200.
Technical scheme is described further below in conjunction with Fig. 4 to Fig. 7.
As shown in figure 4, the management system of application program mainly includes client 402 and server end 404, wherein, service
404 major deployments client 402 of device end applies required functional module, and the installation and control of these functional modules are provided
Metadata information.Client 402 is dynamically downloaded, is installed from server end 404 according to the needs of its function, upgrade function mould
Block, and these functional modules are controlled in the way of multi-process, realize the unification and extension of user interface.
In client 402, the entrance of user is the core of application, can be described as core application, only retains application program
Basic function, the multiple functions of being expanded on the basis of core application, the corresponding process of each function are referred to as opening up
Zhan Yin supplies application program, in the present embodiment, extension application need to be integrated under core application.
Core application includes:Extension point a drive module, expanded application control module, interprocess communication processing module,
Messaging bus module.
Extension application, the functional module with some logics, these functional modules, realize with core application it
Between agreement such that it is able to realize extension, extension application mainly includes:Extension point protocol process module, interprocess communication
Processing module, kernel process monitoring module.
Server end 404 can provide the distribution to extension application and manage, and server end 404 mainly includes:Extension should
Use distribution module.
Specifically, the interaction between above-mentioned modules, as shown in figure 5, the graphical interfaces in core application
Element, such as menu, button, list control etc. all carry one extension point, the interactive operation for occurring thereon, such as mouse event,
KeyEvent can trigger the extension point calling logic of extension point drive module, extension point drive module retouching according to extension point first
State and specification, prepare resource environment of the extension point on core application, such as window handle (facilitates the window of extension application
Mouth is embedded into the window of core application), action script, the loading of lua scripts and registering (is sent to as extension application
The window message of core application, process message provide event driven business configuration processor).
Extension point drive module to extension point resource environment it is ready after, can by expanded application control module to expand
Exhibition application program is controlled.
First, extension point drive module checks extension application in client and does not install, and at this time extension point drives
Module can go server end to download extension application according to the description information of extension application.
Expanded application distribution module in server end 404 manages the detailed metadata information of extension application,
The process mode that the path of the software installation of mounting means, expanded application including expanded application, expanded application are supported is (as singly entered
Journey, multi-process), expanded application install after control mode (when starting such as core application, initialize the extension application
Need for clear and definite user mutual), the active mode of expanded application (if extension application is to drive to open by DDX, also
Directly to create process to open), requirement (whether may go put forward power) of the core application to administration authority etc..These metadata
Information can together be expanded the download of application control module, and the requirement according to metadata carries out the control of corresponding extension application
System, in the present embodiment, can arbitrarily extend according to the needs of business to the controlling behavior of extension application.
Expanded application control module is installed using after, can be according to the instruction of the metadata of extension application, syncaryon
In heart application program, the detailed description information of correspondence extension point, creates expanded application process.For expanded application process, if
Need closely to be cooperated with core application in business, three modules typically can be all provided:Extension point protocol processes mould
Block, interprocess communication module, kernel process monitoring module.First in process initialization and startup control, at extension point agreement
Reason module mainly receives to pass over when initializing or create process from the expanded application control module of core application
Parameter be extended the environmental preparation of application program, the window that such as core application is passed over carry out decoding storage,
The progress information of kernel process is obtained, is registered to the standard protocol message from kernel process that (standard protocol message is main
The life cycle of control extension process, such as exits, hides and shows).
In the above-described embodiments, extension application and core application realize preliminary integrated, expanded application journey
The extension to core application is really realized in the contact and process that message control is also needed between sequence and core application.Between process
Communications Processor Module exactly processes the nucleus module of this kind of work.
Specifically, as shown in fig. 6, interprocess communication processing module in extension application and in core application all
There is presence, but may be represented with different Form of Technique.The message of interprocess communication is mainly divided to two classes:Common message (is other
Message), UI (user interface) message, both message are all transmitted by messaging bus, and the benefit for introducing messaging bus is,
Communication pattern between core application and extension application can realize variform, such as one-to-one and one-to-many, together
Walk and asynchronous.
As shown in fig. 7, extension application also needs to the running status for paying close attention to core application, for most expansion
Exhibition application program, if core application is exited, it is also required to exit.Extension application monitors mould by kernel process
Block, pays close attention to core application state of a process, once exiting it will do corresponding process, generally exits, for core application
Without too closely the special expanded application of interfacing can also select to work on.
The expanded application management module of core application, also extension application has been carried out status tracking (as operation,
Exit, hide, show), for controlling the life cycle of extension application, realize that such as one process control, multi-process are opened
The dynamic, process of core application such as exits at the logic control.
Additionally, expanded application control module, except controlling the installation of extension application, startup, stopping, the mark such as hiding
Outside quasi- process, always according to expanded application distribution module provide metadata information, extension application of can upgrading automatically, so
The renewal of overall applicability is changed into the renewal of topical application, and the logic of renewal is obtained according to the description of the metadata of expanded application
Version and make, regeneration behavior will occur if there is version updating, regeneration behavior is similar with installation process, simply history
Data obtain reservation specially.
By above-described embodiment, core application becomes more compact, core application realizes extension, core on demand
Heart application program is more stable, function more single stable, the extension application of extension application can with independent evolution and
Development, the experience of user improve, it is not necessary to install unwanted software resource, accelerate speed of the software in client deployment,
Be conducive to the popularization of application program.
Technical scheme is described in detail above in association with accompanying drawing, it is proposed that a kind of manager of new application program
Case, can be expanded to the application in client on demand, while guaranteeing that application program meets user's use demand, be kept away
Exempt from the function of starting that some users need not or temporarily not use is installed, reduce the waste to system resource, also ensure that
The stability of a system of client.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (15)
1. a kind of management method of application program, it is characterised in that include:
Detect whether to receive the touch-control of the Basic Elements of Graphic User Interface on the object run interface to core application in client
Operation;
When the touch control operation is received, it is determined that extension application corresponding with the Basic Elements of Graphic User Interface, and be described
Expand application assigned and be integrated in the resource environment needed for the core application;
Obtain the mount message of the extension application;
According to the mount message and the resource environment of the extension application, the extension application is integrated in described
In core application.
2. the management method of application program according to claim 1, it is characterised in that described according to the expanded application journey
The extension application is integrated in the tool of the step in the core application by the mount message of sequence and the resource environment
Body includes:
According to the mount message of the extension application, the extension application is downloaded from server side;
According to the mount message and the resource environment of the extension application, the extension application is integrated in described
In core application;
Wherein, the mount message of the extension application includes the following combination of one or more:
After mounting means, installation path, the process mode of extension application support, the extension application are installed
Control mode, the active mode of the extension application and the core application are to the management for expanding application program
Authority;
The resource environment includes the following combination of one or more:
For aiding in expansion application window to be embedded into the window handle of core application window, for driving the expansion
Loading and the registration of the action script and lua scripts of the message transmission between application program and the core application.
3. the management method of application program according to claim 1, it is characterised in that described according to the expanded application
The mount message of program, from server side download the extension application the step of before, also include:
Whether the extension application is installed in detecting the client;
When it is determined that not installing the extension application in the client, perform described from the server side download extension
The step of application program.
4. the management method of application program according to claim 1, it is characterised in that also include:
When the instruction for updating the extension application is received, the expansion application program is updated.
5. the management method of application program according to any one of claim 1 to 4, it is characterised in that also include:
Monitor the running status of the core application;
Whether there is interfacing between the detection expansion application program and the core application;
Monitoring that the core application is out of service, and between the expansion application program and the core application
When Presence of an interface is contacted, the expansion application program is controlled out of service;
Monitoring that the core application is out of service, and between the expansion application program and the core application
When Presence of an interface is not contacted, the control expansion application program is out of service or continues to run with.
6. the management method of application program according to any one of claim 1 to 4, it is characterised in that the core should
Message transmission is carried out based on messaging bus with program and the extension application;
Wherein, the communication pattern for carrying out message transmission based on messaging bus includes following arbitrary:
One-to-one communication pattern, a pair of multi-communication modes, synchronous communication pattern and asynchronous communication model.
7. the management method of application program according to any one of claim 1 to 4, it is characterised in that figure circle
Surface element includes following arbitrary:Menu, button, list control.
8. a kind of managing device of application program, it is characterised in that include:
First detector unit, for detecting whether receiving the figure on the object run interface to core application in client
The touch control operation of shape interface element;
First processing units, for when the touch control operation is received, it is determined that extension corresponding with the Basic Elements of Graphic User Interface
Application program, and the resource environment needed for the core application is integrated in for the expansion application assigned;
Acquiring unit, for obtaining the mount message of the extension application;
Second processing unit, for the mount message according to the extension application and the resource environment, by the extension
Application program is integrated in the core application.
9. the managing device of application program according to claim 8, it is characterised in that the second processing unit includes:
Download unit, for the mount message according to the extension application, downloads the expanded application journey from server side
Sequence;
Integrated unit, for the mount message according to the extension application and the resource environment, by the expanded application
Program is integrated in the core application;
Wherein, the mount message of the extension application includes the following combination of one or more:
After mounting means, installation path, the process mode of extension application support, the extension application are installed
Control mode, the active mode of the extension application and the core application are to the management for expanding application program
Authority;
The resource environment includes the following combination of one or more:
For aiding in expansion application window to be embedded into the window handle of core application window, for driving the expansion
Loading and the registration of the action script and lua scripts of the message transmission between application program and the core application.
10. the managing device of application program according to claim 8, it is characterised in that also include:
Second detector unit, for detecting in the client whether be provided with the extension application;
The integrated unit, does not install the expanded application specifically for determining in second detector unit in the client
During program, the extension application is downloaded from server side.
The managing device of 11. application programs according to claim 8, it is characterised in that also include:
Updating block, for when the instruction for updating the extension application is received, carrying out to the expansion application program
Update.
The managing device of 12. application programs according to any one of claim 8 to 11, it is characterised in that also include:
Monitoring unit, for monitoring the running status of the core application;
3rd detector unit, join with the presence or absence of interface between the expansion application program and the core application for detecting
System;
3rd processing unit, for monitoring that the core application is out of service, and the expansion application program and institute
When stating Presence of an interface contact between core application, the control expansion application program is out of service, and monitoring
State core application out of service, and Presence of an interface is not contacted between the expansion application program and the core application
When, the control expansion application program is out of service or continues to run with.
The managing device of 13. application programs according to any one of claim 8 to 11, it is characterised in that the core
Application program and the extension application carry out message transmission based on messaging bus;Wherein, message is carried out based on messaging bus
The communication pattern of transmission includes following arbitrary:
One-to-one communication pattern, a pair of multi-communication modes, synchronous communication pattern and asynchronous communication model.
The managing device of 14. application programs according to any one of claim 8 to 11, it is characterised in that the figure
Interface element includes following arbitrary:Menu, button, list control.
15. a kind of client devices, it is characterised in that include:
The managing device of the application program as any one of claim 8 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610972730.7A CN106528230B (en) | 2016-11-03 | 2016-11-03 | Management method, managing device and the client device of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610972730.7A CN106528230B (en) | 2016-11-03 | 2016-11-03 | Management method, managing device and the client device of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528230A true CN106528230A (en) | 2017-03-22 |
CN106528230B CN106528230B (en) | 2019-06-21 |
Family
ID=58349698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610972730.7A Active CN106528230B (en) | 2016-11-03 | 2016-11-03 | Management method, managing device and the client device of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528230B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928548A (en) * | 2019-11-14 | 2020-03-27 | 腾讯音乐娱乐科技(深圳)有限公司 | Data processing method and equipment |
CN111198730A (en) * | 2018-10-30 | 2020-05-26 | 广州腾讯科技有限公司 | Method, device, terminal and computer storage medium for starting sub-application program |
CN111522576A (en) * | 2020-03-27 | 2020-08-11 | 青岛海信传媒网络技术有限公司 | Application management method, device, equipment and computer storage medium |
CN117008890A (en) * | 2023-09-28 | 2023-11-07 | 美云智数科技有限公司 | Extended application development system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101101545A (en) * | 2006-07-07 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | Method for managing multiple language using expansible mark language and resource packet |
CN102650946A (en) * | 2012-03-22 | 2012-08-29 | 杭州梵艺科技有限公司 | Method for loading and displaying graphical interface at hand-held terminal |
CN104020997A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Extensible graphical rule application system |
CN105045628A (en) * | 2015-07-25 | 2015-11-11 | 北京金山安全软件有限公司 | Installation method and device of browser extension application |
-
2016
- 2016-11-03 CN CN201610972730.7A patent/CN106528230B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101101545A (en) * | 2006-07-07 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | Method for managing multiple language using expansible mark language and resource packet |
CN102650946A (en) * | 2012-03-22 | 2012-08-29 | 杭州梵艺科技有限公司 | Method for loading and displaying graphical interface at hand-held terminal |
CN104020997A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Extensible graphical rule application system |
CN105045628A (en) * | 2015-07-25 | 2015-11-11 | 北京金山安全软件有限公司 | Installation method and device of browser extension application |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111198730A (en) * | 2018-10-30 | 2020-05-26 | 广州腾讯科技有限公司 | Method, device, terminal and computer storage medium for starting sub-application program |
CN111198730B (en) * | 2018-10-30 | 2023-05-23 | 广州腾讯科技有限公司 | Method, device, terminal and computer storage medium for starting sub-application program |
CN110928548A (en) * | 2019-11-14 | 2020-03-27 | 腾讯音乐娱乐科技(深圳)有限公司 | Data processing method and equipment |
CN110928548B (en) * | 2019-11-14 | 2023-08-22 | 腾讯音乐娱乐科技(深圳)有限公司 | Data processing method and device |
CN111522576A (en) * | 2020-03-27 | 2020-08-11 | 青岛海信传媒网络技术有限公司 | Application management method, device, equipment and computer storage medium |
CN111522576B (en) * | 2020-03-27 | 2023-04-14 | Vidaa(荷兰)国际控股有限公司 | Application management method, device, equipment and computer storage medium |
CN117008890A (en) * | 2023-09-28 | 2023-11-07 | 美云智数科技有限公司 | Extended application development system and method |
CN117008890B (en) * | 2023-09-28 | 2024-04-12 | 美云智数科技有限公司 | Extended application development system and method |
Also Published As
Publication number | Publication date |
---|---|
CN106528230B (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11693680B2 (en) | Virtual computing systems and methods | |
CN104094225B (en) | Create or installation is used for the disk image with the destination apparatus of one in multiple hardware platforms | |
CN106528230B (en) | Management method, managing device and the client device of application program | |
CN104094226B (en) | Use the application or driving on deployment configuration Automatic Update of File client device | |
CN105306225B (en) | A kind of physical machine remote power-off method based on Openstack | |
US20190026085A1 (en) | Intelligent cloud engineering platform | |
CN104094256B (en) | Deployment driving or application on the client device with write-in filter | |
CN104137065B (en) | Disposed on a client device using XML configuration file and update application and drive formula | |
US20150331676A1 (en) | Managing a software appliance | |
CN108536524A (en) | Resource regeneration method, device, terminal and storage medium | |
EP4451127A1 (en) | Virtual machine management method and apparatus for cloud platform | |
WO2016037479A1 (en) | Method, device and system for optimizing virtualized network function (vnf) | |
KR101369428B1 (en) | Application management apparatus and method for mobile terminal for supporting different type guest operating system | |
CN111628890A (en) | Virtual node creating method and device based on network topological graph | |
CN102918503A (en) | Method, apparatus and articles of manufacture to update virtual machine templates | |
CN108984272A (en) | The control method and device of OpenStack cloud computing management platform | |
CN103327108B (en) | A kind of cross-platform software management platform based on cloud and construction method thereof | |
CN105323269A (en) | Method for updating APP in Android system, terminal and storage medium | |
CN110098952A (en) | A kind of management method and device of server | |
US20230058197A1 (en) | Distributed software development pipeline for coherent graphical user interface | |
CN112486491A (en) | Page generation method and device, computer equipment and storage medium | |
US20140143752A1 (en) | Systems and methods for providing environments as a service | |
WO2016008256A1 (en) | Method for terminal to update operating system, terminal and system | |
CN112948102B (en) | Virtual machine event processing method, device and system | |
CN104077168A (en) | Method and device for updating operation systems for terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |