CN106201638A - A kind of plug-in loading method, system, client and service end - Google Patents

A kind of plug-in loading method, system, client and service end Download PDF

Info

Publication number
CN106201638A
CN106201638A CN201610778764.2A CN201610778764A CN106201638A CN 106201638 A CN106201638 A CN 106201638A CN 201610778764 A CN201610778764 A CN 201610778764A CN 106201638 A CN106201638 A CN 106201638A
Authority
CN
China
Prior art keywords
plug
unit
function
client
client end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610778764.2A
Other languages
Chinese (zh)
Inventor
罗捷
曾开华
纪俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN201610778764.2A priority Critical patent/CN106201638A/en
Publication of CN106201638A publication Critical patent/CN106201638A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

Embodiments provide a kind of plug-in loading method, system, client and service end, belong to the communications field, including: service end confirms the function that client end AP P is to be loaded;The installation procedure of function is loaded onto plug-in unit by service end, and sends plug-in unit to client end AP P;Plug-in unit is loaded onto plug-in environment by client end AP P, and loads plug-in unit;Client end AP P is according to local plug-in unit middleware, operation function.By according to the more new procedures of the part interface in plug-in unit, update part plug-in unit or the kinetic energy of client end AP P, compared to prior art by reinstalling client end AP P, avoid owing to user re-downloads the flow consumption that APP is caused, and reinstall taking of process resource that APP caused and storage resource, thus improve Consumer's Experience.

Description

A kind of plug-in loading method, system, client and service end
Technical field
The present invention relates to the communications field, particularly to a kind of plug-in loading method, system, client and service end.
Background technology
On current intelligent terminal, user can by install third party application (Application, APP) with Meet the use demand of self.The use of user for convenience, improves the experience of user, generally requires APP built-in Partial function is updated, or APP some algorithm is optimized.
But in the prior art, the renewal of the partial function built-in to APP, or the optimization to APP some algorithm is By issuing what the APP of redaction realized, this process is usually APP provider and issues the APP of new edition, and user needs to download and pacify Fill the APP of this new edition, to realize renewal and the optimization of APP some algorithm of partial function built-in for APP.
Owing to user is downloading the APP process of this new edition, required delivery flow rate is relatively big, and the memory space taken is the biggest, And during this APP is installed, more system processing resources can be taken, thus reduce user during using this APP Consumer's Experience.
Summary of the invention
In order to improve Consumer's Experience, embodiments provide a kind of plug-in loading method, system, client and service End.Described technical scheme is as follows:
First aspect, it is provided that a kind of plug-in loading method, described method includes:
Service end confirms the function that client end AP P is to be loaded;
The installation procedure of described function is loaded onto plug-in unit by described service end, and sends described plug-in unit to described client APP;
Described plug-in unit is loaded onto plug-in environment by described client end AP P, and loads described plug-in unit;
Described client end AP P, according to local plug-in unit middleware, runs described function.
In conjunction with first aspect, in the implementation that the first is possible, by following operation at least one, it is achieved described The step of the function that service end confirmation client end AP P is to be loaded:
Obtain the load request that user triggers in described client end AP P, according to described load request, confirm described client The function that end APP is to be loaded;Or
After described client end AP P detects renewal, according to described client end AP P send more newly requested, confirm institute State the function that client end AP P is to be loaded.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described client Before described plug-in unit is loaded onto plug-in environment by end APP, described method also includes:
Service end obtains the corresponding installation procedure of described function, and according to this installation procedure, lookup can load this peace The plug-in unit of dress program.
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, described service Described assembly is loaded onto plug-in unit and includes by end:
The communication configuration data of described installation procedure and data Layer are set;
By described communication configuration data with the encapsulation of described installation procedure to described plug-in unit.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described client Described plug-in unit is loaded onto plug-in environment and includes by end APP:
Described communication configuration data are loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described plug-in unit and data Layer is set.
4th kind of possible implementation of set first aspect, in the 5th kind of possible implementation, described client End APP loads described assembly and includes:
After user's load events being detected, load described assembly, and after completing to load, run described client APP;
Wherein, described load events includes that user clicks on programmable button, user inputs default gesture and user's persistently point The time hitting interface meets threshold value.
In conjunction with the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, described client End APP, according to local plug-in unit middleware, runs described function and includes:
In described plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between described plug-in unit and described data Layer, call described plug-in unit middleware, run described merit Energy.
Second aspect, it is provided that a kind of service end, described service end includes:
Confirm module, for confirming the function that client end AP P is to be loaded;
Load-on module, for the installation procedure of described function is loaded onto plug-in unit, and sends described plug-in unit to described visitor Family end APP;
Sending module, for sending described plug-in unit to described client end AP P.
In conjunction with second aspect, in the implementation that the first is possible, described confirmation module is used for performing in following operation Any one:
Obtain the load request that user triggers in described client end AP P, according to described load request, confirm described client The function that end APP is to be loaded;Or
After described client end AP P detects renewal, according to described client end AP P send more newly requested, confirm institute State the function that client end AP P is to be loaded.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, described service End also includes processing module, is used for:
Service end obtains the corresponding installation procedure of described function, and according to this installation procedure, lookup can load this peace The plug-in unit of dress program.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, described loading Module specifically for:
The communication configuration data of described installation procedure and data Layer are set;
By described communication configuration data with the encapsulation of described installation procedure to described plug-in unit.
The third aspect, it is provided that a kind of client, described client includes:
Receiver module, for receiving the plug-in unit that service end sends;
Load-on module, for described plug-in unit is loaded onto plug-in environment, and loads described plug-in unit;
Run module, for according to local plug-in unit middleware, running described function.
In conjunction with the third aspect, in the implementation that the first is possible, described load-on module specifically for:
Described communication configuration data are loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described plug-in unit and data Layer is set.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second is possible, described loading Module also particularly useful for:
After user's load events being detected, load described assembly, and after completing to load, run described client APP;
Wherein, described load events includes that user clicks on programmable button, user inputs default gesture and user's persistently point The time hitting interface meets threshold value.
In conjunction with the implementation that the second of the third aspect is possible, in the implementation that the third is possible, described operation Module specifically for:
In described plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between described plug-in unit and described data Layer, call described plug-in unit middleware, run described merit Energy.
Fourth aspect, it is provided that a kind of service end, described service end includes processor and is connected with described processor Memorizer, wherein, described memorizer is used for storing batch processing code, and described processor calls the journey that described memorizer is stored Sequence code is used for performing following operation:
Confirm the function that client end AP P is to be loaded;
The installation procedure of described function is loaded onto plug-in unit, and described plug-in unit is sent to described client end AP P;
Described plug-in unit is sent to described client end AP P.
In conjunction with fourth aspect, in the implementation that the first is possible, described processor calls described memorizer and is stored Program code be used for performing following operation:
Obtain the load request that user triggers in described client end AP P, according to described load request, confirm described client The function that end APP is to be loaded;Or
After described client end AP P detects renewal, according to described client end AP P send more newly requested, confirm institute State the function that client end AP P is to be loaded.
In conjunction with the first possible implementation of fourth aspect, described processor calls the journey that described memorizer is stored Sequence code is used for performing following operation:
Service end obtains the corresponding installation procedure of described function, and according to this installation procedure, lookup can load this peace The plug-in unit of dress program.
In conjunction with the implementation that the second of fourth aspect is possible, in the implementation that the third is possible, described process Device calls program code that described memorizer stored for performing following operation:
The communication configuration data of described installation procedure and data Layer are set;
By described communication configuration data with the encapsulation of described installation procedure to described plug-in unit.
5th aspect, it is provided that a kind of client, described client includes processor and is connected with described processor Memorizer, wherein, described memorizer is used for storing batch processing code, and described processor calls the journey that described memorizer is stored Sequence code is used for performing following operation:
Receive the plug-in unit that service end sends;
Described plug-in unit is loaded onto plug-in environment, and loads described plug-in unit;
According to local plug-in unit middleware, run described function.
In conjunction with the 5th aspect, in the implementation that the first is possible, described processor calls described memorizer and is stored Program code be used for performing following operation:
According to described communication configuration data, the communication mechanism between described plug-in unit and data Layer is set.
In conjunction with the first possible implementation of the 5th aspect, in the implementation that the second is possible, described process Device calls program code that described memorizer stored for performing following operation:
After user's load events being detected, load described assembly, and after completing to load, run described client APP;
Wherein, described load events includes that user clicks on programmable button, user inputs default gesture and user's persistently point The time hitting interface meets threshold value.
In conjunction with the implementation that the second of the 5th aspect is possible, in the implementation that the third is possible, described process Device calls program code that described memorizer stored for performing following operation:
In described plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between described plug-in unit and described data Layer, call described plug-in unit middleware, run described merit Energy.
6th aspect, it is provided that a kind of plug-in unit loading system, described system includes service end and client:
Described service end includes:
Confirm module, for confirming the function that client end AP P is to be loaded;
First load-on module, for the installation procedure of described function is loaded onto plug-in unit, and sends described plug-in unit to institute State client end AP P;
Sending module, for sending described plug-in unit to described client end AP P;
Described client includes:
Receiver module, for receiving the plug-in unit that service end sends;
Second load-on module, for described plug-in unit is loaded onto plug-in environment, and loads described plug-in unit;
Run module, for according to local plug-in unit middleware, running described function.
In conjunction with the 6th aspect, in the implementation that the first is possible, described confirmation module is used for performing in following operation Any one:
Obtain the load request that user triggers in described client end AP P, according to described load request, confirm described client The function that end APP is to be loaded;Or
After described client end AP P detects renewal, according to described client end AP P send more newly requested, confirm institute State the function that client end AP P is to be loaded.
In conjunction with the first possible implementation of the 6th aspect, in the implementation that the second is possible, described service End also includes processing module, is used for:
Service end obtains the corresponding installation procedure of described function, and according to this installation procedure, lookup can load this peace The plug-in unit of dress program.
In conjunction with the implementation that the second of the 6th aspect is possible, in the implementation that the third is possible, described first Load-on module specifically for:
The communication configuration data of described installation procedure and data Layer are set;
By described communication configuration data with the encapsulation of described installation procedure to described plug-in unit.
In conjunction with the third possible implementation of the 6th aspect, in the 4th kind of possible implementation, described second Load-on module specifically for: by described communication configuration data be loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described plug-in unit and data Layer is set.
In conjunction with the 4th kind of possible implementation of the 6th aspect, in the 5th kind of possible implementation, described second Load-on module also particularly useful for:
After user's load events being detected, load described assembly, and after completing to load, run described client APP;
Wherein, described load events includes that user clicks on programmable button, user inputs default gesture and user's persistently point The time hitting interface meets threshold value.
In conjunction with the 5th kind of possible implementation of the 6th aspect, in the 6th kind of possible implementation, described operation Module specifically for:
In described plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between described plug-in unit and described data Layer, call described plug-in unit middleware, run described merit Energy.
Embodiments provide a kind of plug-in loading method, system, client and service end, including: service end is true Recognize the function that client end AP P is to be loaded;The installation procedure of function is loaded onto plug-in unit by service end, and sends plug-in unit to client End APP;Plug-in unit is loaded onto plug-in environment by client end AP P, and loads plug-in unit;Client end AP P according to local plug-in unit middleware, Operation function.By according to the more new procedures of the part interface in plug-in unit, updating part plug-in unit or the kinetic energy of client end AP P, compare In prior art by reinstalling client end AP P, it is to avoid owing to user re-downloads the flow consumption that APP is caused, with And reinstall taking of process resource that APP caused and storage resource, thus improve Consumer's Experience.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of plug-in loading method flow chart that the embodiment of the present invention provides;
Fig. 2 is a kind of plug-in loading method flow chart that the embodiment of the present invention provides;
Fig. 3 is a kind of service end structural representation that the embodiment of the present invention provides;
Fig. 4 is a kind of client terminal structure schematic diagram that the embodiment of the present invention provides
Fig. 5 is a kind of service end structural representation that the embodiment of the present invention provides;
Fig. 6 is a kind of client terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 7 is a kind of plug-in unit loading system structural representation that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, attached below in conjunction with in the embodiment of the present invention Figure, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only this Invent a part of embodiment rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art exist Do not make the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
A kind of plug-in loading method that embodiment one provides for the embodiment of the present invention, with reference to shown in Fig. 1, the method includes:
101, service end confirms the function that client end AP P is to be loaded.
Concrete, by following operation at least one, it is achieved service end confirms the function that client end AP P is to be loaded Step:
Obtain the load request that user triggers in client end AP P, according to load request, confirm that client end AP P to add The function carried;Or
After client end AP P detects renewal, according to client end AP P send more newly requested, confirm client end AP P institute Function to be loaded.
Before step 102, also include:
Service end obtains the corresponding installation procedure of function, and according to this installation procedure, lookup can load this installation journey The plug-in unit of sequence.
102, the installation procedure of function is loaded onto plug-in unit by service end, and sends plug-in unit to client end AP P;
Concrete, the communication configuration data of installation procedure and data Layer are set;
Communication configuration data are encapsulated to plug-in unit with installation procedure.
103, plug-in unit is loaded onto plug-in environment by client end AP P, and loads plug-in unit.
Concrete, communication configuration data are loaded onto plug-in environment;
According to communication configuration data, the communication mechanism between plug-in unit and data Layer is set.
After user's load events being detected, load plug-in unit, and after completing to load, run client end AP P;
Wherein, load events includes that user clicks on programmable button, user inputs default gesture and user persistently clicks on boundary The time in face meets threshold value.
104, client end AP P is according to local plug-in unit middleware, operation function.
Concrete, in plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between plug-in unit and data Layer, call plug-in unit middleware, operation function.
Embodiments provide a kind of plug-in loading method, by according to the more new procedures of the part interface in plug-in unit, Update the part plug-in unit of client end AP P or kinetic energy, compared to prior art by reinstalling client end AP P, it is to avoid due to User re-downloads the flow consumption that APP is caused, and reinstalls accounting for of process resource that APP caused and storage resource With, thus improve Consumer's Experience.
A kind of plug-in loading method that embodiment two provides for the embodiment of the present invention, with reference to shown in Fig. 2, the method includes:
201, service end confirms the function that client end AP P is to be loaded.
Concrete, by following operation at least one, service end confirms the function that client end AP P is to be loaded, this mistake Journey may include that
The load request that A, acquisition user trigger in client end AP P, according to load request, confirms that client end AP P is wanted The function loaded, this process can be:
Obtain the function interpolation request that user inputs on client end AP P function selecting interface;Wherein, function adds request At least including the function selected by user and the personal settings to selected function, this process can be:
Obtain any one in gesture, voice and the text data that function selecting interface is triggered of user;Wherein, should Gesture includes but not limited to that user clicks on for indicating the icon of this function and at least including this icon gesture path;This voice Or text data at least includes the keyword for describing function indicated by user;
Obtain user function selecting interface trigger at least include this icon gesture path after, above-mentioned client end AP P The function interpolation request obtaining user's triggering can be:
Identifying the icon included by this gesture path and this gesture path, the embodiment of the present invention is to concrete recognition method It is not limited.
After obtaining the voice or text data that user triggers at function selecting interface, above-mentioned client end AP P acquisition user The function triggered adds request:
Resolving and identify this voice or text data, concrete parsing or recognition method are not limited by the embodiment of the present invention Fixed.
B, after client end AP P detects renewal, according to client end AP P send more newly requested, confirm client end AP P Function to be loaded, concrete renewal detection mode is not limited by the embodiment of the present invention.
202, service end obtains the corresponding installation procedure of function, and according to this installation procedure, lookup can load this peace The plug-in unit of dress program.
Concrete, search this plug-in unit according to the ID of plug-in unit, concrete search procedure is not limited by the embodiment of the present invention.
203, the communication configuration data of installation procedure and data Layer are set.
Concrete, this process may include that
The communication configuration data of assembly and data Layer are set, this communication configuration data can be card i/f and data Layer it Between data resource method of calling.
By communication configuration data with component package to plug-in unit, this process can be the system information according to client end AP P, will Assembly is tied to plug-in unit with the configuration data that communicate, and concrete binding mode is not limited by the embodiment of the present invention.
204, communication configuration data are encapsulated to plug-in unit with installation procedure.
Concrete, this encapsulation process can be this plug-in unit and installation data to be bound with plug-in unit.
It should be noted that step 203 to step 204 is to realize service end the installation procedure of function is loaded onto plug-in unit, And plug-in unit is sent the process to client end AP P, in addition to the mode described in above-mentioned steps, it is also possible to real by other means Now this process, concrete mode is not limited by the embodiment of the present invention.
205, communication configuration data are loaded onto plug-in environment.
Concrete, this process may include that
Communication configuration data are loaded onto plug-in environment, and this process can be:
According to configuration information, the corresponding relation between plug-in unit middleware and this plug-in unit is set
According to configuration information, the data resource method of calling between card i/f and data Layer is set.
206, according to communication configuration data, the communication mechanism between plug-in unit and data Layer is set.
Concrete, according to configuration information, the instruction calls relation between plug-in unit middleware and data Layer is set.
According to configuration information, the data resource method of calling between plug-in unit middleware interface and data Layer is set.
It should be noted that step 205 is to realize client end AP P plug-in unit is loaded onto plug-in environment to 206, and load slotting The process of part, in addition to the mode described in above-mentioned steps, it is also possible to realize this process by other means,
207, client loads plug-in unit.
Concrete, after user's load events being detected, load plug-in unit, and after completing to load, run client APP;
Wherein, load events includes that user clicks on programmable button, user inputs default gesture and user persistently clicks on boundary The time in face meets threshold value.
This process can be:
After user's load events being detected, load plug-in unit, and after completing to load, run client end AP P;
Wherein, load events includes that user clicks on programmable button, user inputs default gesture and user persistently clicks on boundary The time in face meets threshold value, and user inputs default gesture and includes that user is according to the direction input slip gesture pre-set.
After load events being detected, display loads interface, and after client end AP P has loaded assembly again, closedown Load interface.
It should be noted that step 205 is to realize client end AP P plug-in unit is loaded onto plug-in environment to 207, and load slotting The process of part, in addition to the mode described in above-mentioned steps, it is also possible to realize this process, the embodiment of the present invention by other means Concrete mode is not limited.
208, in plug-in environment, the plug-in unit middleware performing the included order of this function is obtained.
Concrete, plug-in environment is according to the corresponding relation between described operating instruction and plug-in unit middleware, global search energy Enough process the plug-in unit middleware of described operating instruction, until finding the plug-in unit middleware that can process this operating instruction.
209, according to the communication mechanism between plug-in unit and data Layer, plug-in unit middleware, operation function are called.
To go to described plug-in unit middleware in described operating instruction, this process is specially according to plug-in unit middleware and this plug-in unit Communication mode between interface and call relation, will go to described plug-in unit middleware in described operating instruction, the present invention implements Concrete transfer mode portion is limited by example.
Operating instruction described in described plug-in unit middleware processes, and result is back to described plug-in unit, this process is permissible Particularly as follows:
Plug-in unit middleware, according to the communication mode between card i/f and data Layer, data resource method of calling, processes institute State operating instruction;
Described plug-in unit middleware, will according to the communication mode between plug-in unit middleware and this card i/f and call relation Result is back to described plug-in unit.
Next one operating instruction, according to described result, is sent to described plug-in environment, until completing by described plug-in unit The process of all operating instructions of described plug-in unit.
It should be noted that step 208 is to realize client end AP P according to local plug-in unit middleware, operation function to 209 Process, in addition to the mode described in above-mentioned steps, it is also possible to realize this process, the embodiment of the present invention pair by other means Concrete mode is not limited.
Embodiments provide a kind of plug-in loading method, by according to the more new procedures of the part interface in plug-in unit, Update the part plug-in unit of client end AP P or kinetic energy, compared to prior art by reinstalling client end AP P, it is to avoid due to User re-downloads the flow consumption that APP is caused, and reinstalls accounting for of process resource that APP caused and storage resource With, thus improve Consumer's Experience.
A kind of service end 3 that embodiment three provides for the embodiment of the present invention, with reference to shown in Fig. 3, this service end 3 includes:
Confirm module 31, for confirming the function that client end AP P is to be loaded;
Load-on module 32, for the installation procedure of function is loaded onto plug-in unit, and sends plug-in unit to client end AP P;
Sending module 33, for sending plug-in unit to client end AP P.
Optionally, confirm that module 31 is for performing any one in following operation:
Obtain the load request that user triggers in client end AP P, according to load request, confirm that client end AP P to add The function carried;Or
After client end AP P detects renewal, according to client end AP P send more newly requested, confirm client end AP P institute Function to be loaded.
Optionally, service end also includes processing module 34, is used for:
Service end obtains the corresponding installation procedure of function, and according to this installation procedure, lookup can load this installation journey The plug-in unit of sequence.
Optionally, load-on module 32 specifically for:
The communication configuration data of installation procedure and data Layer are set;
Communication configuration data are encapsulated to plug-in unit with installation procedure.
Embodiments providing a kind of service end, this service end is by updating journey according to the part interface in plug-in unit Sequence, update the part plug-in unit of client end AP P or kinetic energy, compared to prior art by reinstalling client end AP P, it is to avoid by Re-download, in user, the flow consumption that APP is caused, and reinstall process resource and the storage resource that APP is caused Take, thus improve Consumer's Experience.
A kind of client 4 that embodiment four provides for the embodiment of the present invention, with reference to shown in Fig. 4, this client 4 includes:
Receiver module 41, for receiving the plug-in unit that service end sends;
Load-on module 42, for plug-in unit is loaded onto plug-in environment, and loads plug-in unit;
Run module 43, for according to local plug-in unit middleware, operation function.
Optionally, load-on module 42 specifically for:
Communication configuration data are loaded onto plug-in environment;
According to communication configuration data, the communication mechanism between plug-in unit and data Layer is set.
Optionally, load-on module 42 also particularly useful for:
After user's load events being detected, load plug-in unit, and after completing to load, run client end AP P;
Wherein, load events includes that user clicks on programmable button, user inputs default gesture and user persistently clicks on boundary The time in face meets threshold value.
Optionally, run module 43 specifically for:
In plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between plug-in unit and data Layer, call plug-in unit middleware, operation function.
Embodiments providing a kind of client, this client is by updating journey according to the part interface in plug-in unit Sequence, update the part plug-in unit of client end AP P or kinetic energy, compared to prior art by reinstalling client end AP P, it is to avoid by Re-download, in user, the flow consumption that APP is caused, and reinstall process resource and the storage resource that APP is caused Take, thus improve Consumer's Experience.
A kind of service end 5 that embodiment five provides for the embodiment of the present invention, with reference to shown in Fig. 5, this service end 5 includes storage Device 51 and the processor 52 being connected with memorizer 51, wherein, memorizer 52 is used for storing batch processing code, and processor 52 is adjusted The program code stored with memorizer 51 is for performing following operation:
Confirm the function that client end AP P is to be loaded;
The installation procedure of function is loaded onto plug-in unit, and plug-in unit is sent to client end AP P;
Plug-in unit is sent to client end AP P.
Optionally, processor 52 calls program code that memorizer 51 stored for performing following operation:
Obtain the load request that user triggers in client end AP P, according to load request, confirm that client end AP P to add The function carried;Or
After client end AP P detects renewal, according to client end AP P send more newly requested, confirm client end AP P institute Function to be loaded.
Optionally, processor 52 calls program code that memorizer 51 stored for performing following operation:
Service end obtains the corresponding installation procedure of function, and according to this installation procedure, lookup can load this installation journey The plug-in unit of sequence.
Optionally, processor 52 calls program code that memorizer 51 stored for performing following operation:
The communication configuration data of installation procedure and data Layer are set;
Communication configuration data are encapsulated to plug-in unit with installation procedure.
Embodiments providing a kind of service end, this service end is by updating journey according to the part interface in plug-in unit Sequence, update the part plug-in unit of client end AP P or kinetic energy, compared to prior art by reinstalling client end AP P, it is to avoid by Re-download, in user, the flow consumption that APP is caused, and reinstall process resource and the storage resource that APP is caused Take, thus improve Consumer's Experience.
A kind of client 6 that embodiment six provides for the embodiment of the present invention, with reference to shown in Fig. 6, this client 6 includes storage Device 61 and the processor 62 being connected with memorizer 61, wherein, memorizer 61 is used for storing batch processing code, and processor 62 is adjusted The program code stored with memorizer 61 is for performing following operation:
Receive the plug-in unit that service end sends;
Plug-in unit is loaded onto plug-in environment, and loads plug-in unit;
According to local plug-in unit middleware, operation function.
Optionally, processor 62 calls program code that memorizer 61 stored for performing following operation:
According to communication configuration data, the communication mechanism between plug-in unit and data Layer is set.
Optionally, processor 62 calls program code that memorizer 61 stored for performing following operation:
After user's load events being detected, load plug-in unit, and after completing to load, run client end AP P;
Wherein, load events includes that user clicks on programmable button, user inputs default gesture and user persistently clicks on boundary The time in face meets threshold value.
Optionally, processor 62 calls program code that memorizer 61 stored for performing following operation:
In plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between plug-in unit and data Layer, call plug-in unit middleware, operation function.
Embodiments providing a kind of client, this client is by updating journey according to the part interface in plug-in unit Sequence, update the part plug-in unit of client end AP P or kinetic energy, compared to prior art by reinstalling client end AP P, it is to avoid by Re-download, in user, the flow consumption that APP is caused, and reinstall process resource and the storage resource that APP is caused Take, thus improve Consumer's Experience.
A kind of plug-in unit loading system 7 that embodiment seven provides for the embodiment of the present invention, with reference to shown in Fig. 7, this system 7 includes Service end 71 and client 72;
Service end 71 includes:
Confirm module 711, for confirming the function that client end AP P is to be loaded;
First load-on module 712, for the installation procedure of function is loaded onto plug-in unit, and sends plug-in unit to client APP;
Sending module 713, for sending plug-in unit to client end AP P;
Client 72 includes:
Receiver module 721, for receiving the plug-in unit that service end sends;
Second load-on module 722, for plug-in unit is loaded onto plug-in environment, and loads plug-in unit;
Run module 723, for according to local plug-in unit middleware, operation function.
Optionally, confirm that module 711 is for performing any one in following operation:
Obtain the load request that user triggers in client end AP P, according to load request, confirm that client end AP P to add The function carried;Or
After client end AP P detects renewal, according to client end AP P send more newly requested, confirm client end AP P institute Function to be loaded.
Optionally, service end also includes processing module 714, is used for:
Service end obtains the corresponding installation procedure of function, and according to this installation procedure, lookup can load this installation journey The plug-in unit of sequence.
Optionally, the first load-on module 712 specifically for:
The communication configuration data of installation procedure and data Layer are set;
Communication configuration data are encapsulated to plug-in unit with installation procedure.
Optionally, the second load-on module 722 specifically for: by communication configuration data be loaded onto plug-in environment;
According to communication configuration data, the communication mechanism between plug-in unit and data Layer is set.
Optionally, the second load-on module 722 also particularly useful for:
After user's load events being detected, load plug-in unit, and after completing to load, run client end AP P;
Wherein, load events includes that user clicks on programmable button, user inputs default gesture and user persistently clicks on boundary The time in face meets threshold value.
Optionally, run module 723 specifically for:
In plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between plug-in unit and data Layer, call plug-in unit middleware, operation function.
Embodiments providing a kind of plug-in unit loading system, this system is by updating according to the part interface in plug-in unit Program, updates part plug-in unit or the kinetic energy of client end AP P, compared to prior art by reinstalling client end AP P, it is to avoid Owing to user re-downloads the flow consumption that APP is caused, and reinstall process resource and the storage resource that APP is caused Take, thus improve Consumer's Experience.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the present invention, at this no longer Repeat one by one.
It should be understood that plug-in unit loading system, client, service end and system that above-described embodiment provides are performing During plug-in loading method, only it is illustrated with the division of above-mentioned each functional module, in actual application, can be as desired Above-mentioned functions distribution is completed by different functional modules, will client, the internal structure of service end and system be divided into Different functional modules, to complete all or part of function described above.It addition, the client of above-described embodiment offer, Service end and system belong to same design with plug-in loading method embodiment, and it implements process and refers to embodiment of the method, Here repeat no more.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (10)

1. a plug-in loading method, it is characterised in that described method includes:
Service end confirms the function that client end AP P is to be loaded;
The installation procedure of described function is loaded onto plug-in unit by described service end, and sends described plug-in unit to described client end AP P;
Described plug-in unit is loaded onto plug-in environment by described client end AP P, and loads described plug-in unit;
Described client end AP P, according to local plug-in unit middleware, runs described function.
Method the most according to claim 1, it is characterised in that by following operation at least one, it is achieved described service The step of the function that end confirmation client end AP P is to be loaded:
Obtain the load request that user triggers in described client end AP P, according to described load request, confirm described client The function that APP is to be loaded;Or
After described client end AP P detects renewal, according to described client end AP P send more newly requested, confirm described visitor The function that family end APP is to be loaded.
Method the most according to claim 2, it is characterised in that described plug-in unit is loaded onto plug-in unit ring by described client end AP P Before border, described method also includes:
Service end obtains the corresponding installation procedure of described function, and according to this installation procedure, lookup can load this installation journey The plug-in unit of sequence.
Method the most according to claim 3, it is characterised in that described assembly is loaded onto plug-in unit and includes by described service end:
The communication configuration data of described installation procedure and data Layer are set;
By described communication configuration data with the encapsulation of described installation procedure to described plug-in unit.
Method the most according to claim 4, it is characterised in that described plug-in unit is loaded onto plug-in unit ring by described client end AP P Border includes:
Described communication configuration data are loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described plug-in unit and data Layer is set.
Method the most according to claim 5, it is characterised in that described client end AP P loads described assembly and includes:
After user's load events being detected, load described assembly, and after completing to load, run described client end AP P;
Wherein, described load events includes that user clicks on programmable button, user inputs default gesture and user persistently clicks on boundary The time in face meets threshold value.
Method the most according to claim 6, it is characterised in that described client end AP P is according to local plug-in unit middleware, fortune The described function of row includes:
In described plug-in environment, obtain the plug-in unit middleware performing the included order of this function;
According to the communication mechanism between described plug-in unit and described data Layer, call described plug-in unit middleware, run described function.
8. a service end, it is characterised in that described service end includes:
Confirm module, for confirming the function that client end AP P is to be loaded;
Load-on module, for the installation procedure of described function is loaded onto plug-in unit, and sends described plug-in unit to described client APP;
Sending module, for sending described plug-in unit to described client end AP P.
9. a client, it is characterised in that described client includes:
Receiver module, for receiving the plug-in unit that service end sends;
Load-on module, for described plug-in unit is loaded onto plug-in environment, and loads described plug-in unit;
Run module, for according to local plug-in unit middleware, running described function.
10. a plug-in unit loading system, it is characterised in that described system includes service end and client:
Described service end includes:
Confirm module, for confirming the function that client end AP P is to be loaded;
First load-on module, for the installation procedure of described function is loaded onto plug-in unit, and sends described plug-in unit to described visitor Family end APP;
Sending module, for sending described plug-in unit to described client end AP P;
Described client includes:
Receiver module, for receiving the plug-in unit that service end sends;
Second load-on module, for described plug-in unit is loaded onto plug-in environment, and loads described plug-in unit;
Run module, for according to local plug-in unit middleware, running described function.
CN201610778764.2A 2016-08-31 2016-08-31 A kind of plug-in loading method, system, client and service end Pending CN106201638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610778764.2A CN106201638A (en) 2016-08-31 2016-08-31 A kind of plug-in loading method, system, client and service end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610778764.2A CN106201638A (en) 2016-08-31 2016-08-31 A kind of plug-in loading method, system, client and service end

Publications (1)

Publication Number Publication Date
CN106201638A true CN106201638A (en) 2016-12-07

Family

ID=58086146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610778764.2A Pending CN106201638A (en) 2016-08-31 2016-08-31 A kind of plug-in loading method, system, client and service end

Country Status (1)

Country Link
CN (1) CN106201638A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648795A (en) * 2016-12-29 2017-05-10 北京奇虎科技有限公司 Updating method and device of application program
CN107291503A (en) * 2017-06-23 2017-10-24 广东神马搜索科技有限公司 Application program updating unit and method
CN110874250A (en) * 2019-11-20 2020-03-10 杭州天宽科技有限公司 Conversion method, system, device and storage medium for tool manufacturer and APP terminal
CN111338708A (en) * 2020-02-25 2020-06-26 安徽以萨数据技术有限公司 Application program processing method, client and system based on android plug-in
CN113778554A (en) * 2021-09-01 2021-12-10 粒子文化科技集团(杭州)股份有限公司 Plug-in processing method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571860A (en) * 2010-12-29 2012-07-11 北京新媒传信科技有限公司 Method, device and system for managing plug-in module
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
WO2013082898A1 (en) * 2011-12-06 2013-06-13 中兴通讯股份有限公司 Method, terminal, server and system for presenting service data
CN105320503A (en) * 2014-06-24 2016-02-10 深圳市茁壮网络股份有限公司 Middleware and plug-in frame designing system and method
CN105407130A (en) * 2015-09-25 2016-03-16 成都趣点科技有限公司 Mobile client plug-in system and mobile client plug-in processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571860A (en) * 2010-12-29 2012-07-11 北京新媒传信科技有限公司 Method, device and system for managing plug-in module
WO2013082898A1 (en) * 2011-12-06 2013-06-13 中兴通讯股份有限公司 Method, terminal, server and system for presenting service data
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
CN105320503A (en) * 2014-06-24 2016-02-10 深圳市茁壮网络股份有限公司 Middleware and plug-in frame designing system and method
CN105407130A (en) * 2015-09-25 2016-03-16 成都趣点科技有限公司 Mobile client plug-in system and mobile client plug-in processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648795A (en) * 2016-12-29 2017-05-10 北京奇虎科技有限公司 Updating method and device of application program
CN107291503A (en) * 2017-06-23 2017-10-24 广东神马搜索科技有限公司 Application program updating unit and method
CN110874250A (en) * 2019-11-20 2020-03-10 杭州天宽科技有限公司 Conversion method, system, device and storage medium for tool manufacturer and APP terminal
CN110874250B (en) * 2019-11-20 2023-05-02 杭州天宽科技有限公司 Conversion method, system, device and storage medium of tool manufacturer and APP end
CN111338708A (en) * 2020-02-25 2020-06-26 安徽以萨数据技术有限公司 Application program processing method, client and system based on android plug-in
CN113778554A (en) * 2021-09-01 2021-12-10 粒子文化科技集团(杭州)股份有限公司 Plug-in processing method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN106331135B (en) A kind of part interface update method, system, client and server-side
CN106201638A (en) A kind of plug-in loading method, system, client and service end
US9906969B2 (en) Remote diagnostics for mobile devices
US20150067585A1 (en) Electronic device and method for displaying application information
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
WO2015191964A1 (en) Enforcing policies based on information received from external systems
CN102348004B (en) Configuration method of service assembly, system and equipment thereof
CN103049287A (en) Mobile terminal and method for installing application programs of mobile terminal
CN104346560A (en) Security authentication method and security authentication device
CN106469071A (en) Application program subject replacement method and device
CN106034138A (en) Remote service calling method and remote service calling device
CN106375567A (en) Plug-in release method and system, client and server
CN104636154B (en) Application program installation method and device
CN105450731A (en) Method and apparatus for realizing communication between web layer and native layer
CN103179283A (en) Method and system for implementing shortcut key operation on mobile telephone status bar short message notice
CN105426192A (en) Information modification method and terminal
CN106453494A (en) Plug-in updating method, plug-in updating system, client and server side
KR101642470B1 (en) Method and server for managing users' schedule
US9794773B2 (en) Mobile device management
CN103514003A (en) Program installation method and device
CN105427423A (en) Automatic car door opening method and system
CN110673970B (en) Cross-process calling system and method based on web application
CN104243568A (en) Data traffic sharing method and device
CN104410679A (en) Method, client terminal, server and system of extracting shared file/file folder
CN109799997B (en) Management method for presetting third party application, intelligent terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication