CN106341534A - Key algorithm adding method and system of client, client and service end - Google Patents

Key algorithm adding method and system of client, client and service end Download PDF

Info

Publication number
CN106341534A
CN106341534A CN201610784022.0A CN201610784022A CN106341534A CN 106341534 A CN106341534 A CN 106341534A CN 201610784022 A CN201610784022 A CN 201610784022A CN 106341534 A CN106341534 A CN 106341534A
Authority
CN
China
Prior art keywords
key algorithm
plug
unit
client
module
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
CN201610784022.0A
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 CN201610784022.0A priority Critical patent/CN106341534A/en
Publication of CN106341534A publication Critical patent/CN106341534A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The invention discloses a key algorithm adding method and system of a client, the client and a service end, and belongs to the communication field. The method comprises that a client APP detects whether a key algorithm satisfies a preset condition, and if YES, the key algorithm is sent to the service end; the service end packages the key algorithm into a plug-in, and sends the plug-in to the client APP; the client APP loads the plug-in in a plug-in environment; and the client APP loads the key algorithm in the plug-in in the plug-in environment. The key algorithm is added to the client via the plug-in; and compared with the prior art, the key algorithm is not added to the client by downloading and installing an APP, the data transmission flow in the key algorithm adding process of the client is reduced, occupation in the storage space and system processing resources is reduced, and user experience is improved.

Description

A kind of client key algorithm adding method, system, client and service end
Technical field
The present invention relates to the communications field, particularly to a kind of client key algorithm adding method, system, client kimonos Business end.
Background technology
On current intelligent terminal, user can by install third party application (application, app) with Meet the use demand of itself.The use of user for convenience, improves the experience of user, generally requires built-in to app Key algorithm is updated.
But in the prior art, the renewal of the key algorithm built-in to app, this process is usually app provider and issues The app of new edition, user needs to download and install the app of this new edition, to realize the renewal of the built-in key algorithm of app.
Because user is in the app process downloading this new edition, required delivery flow rate is larger, and the memory space of occupancy is also larger, And during this app is installed, more system processing resources can be taken, thus reducing user during using this app Consumer's Experience.
Content of the invention
In order to reduce the data transfer throughput in client key algorithm adding procedure, reduce at memory space and system Reason resource occupancy, improve Consumer's Experience, embodiments provide a kind of client key algorithm adding method, system, Client and service end.Described technical scheme is as follows:
A kind of first aspect, there is provided client key algorithm adding method, methods described includes:
It is pre-conditioned whether client app detection key algorithm meets, and if so, then sends described key algorithm to service End;
Described service end encapsulates described key algorithm to described plug-in unit, and described plug-in unit is sent to client app;
Described plug-in unit is loaded onto plug-in environment by described client app;
Described client app, in described plug-in environment, loads the key algorithm in described plug-in unit.
In conjunction with a first aspect, in the first possible implementation, by any one in following operation, realizing institute State whether client app detection key algorithm meets pre-conditioned step:
Detect described key algorithm disappearance;Or
Detect that the version of described key algorithm is less than current latest edition;Or
Detect that described key algorithm damages.
In conjunction with the first possible implementation of first aspect, in the possible implementation of second, described service Described key algorithm is encapsulated and includes to described plug-in unit by end:
The communication configuration data of described key algorithm and data Layer is set;
Described communication configuration data is encapsulated to described plug-in unit with described key algorithm.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, described client Described plug-in unit is loaded onto plug-in environment and includes by end app:
Described communication configuration data is loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described key algorithm and data Layer is set.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described client In described plug-in environment, the key algorithm loading in described plug-in unit includes end app:
Itself corresponding algorithm is replaced with described key algorithm by described client app;
According to described communication mechanism, the communication mechanism between app data and key algorithm is set.
A kind of second aspect, there is provided client, described client includes:
Detection module, pre-conditioned for detecting whether key algorithm meets;
Sending module, when described key algorithm is detected for described detection module and meeting pre-conditioned, by described key Algorithm sends to service end, so that described service end encapsulates described key algorithm to described plug-in unit;
Receiver module, for receiving the described plug-in unit that described service end sends;
First load-on module, for being loaded onto plug-in environment by described plug-in unit;
Second load-on module, for, in described plug-in environment, loading the key algorithm in described plug-in unit.
In conjunction with second aspect, in the first possible implementation, described detection module includes:
First detection sub-module, for detecting described key algorithm disappearance;
Second detection sub-module, the version for detecting described key algorithm is less than current latest edition;
3rd detection sub-module, for detecting described key algorithm damage.
In conjunction with the first possible implementation of second aspect, in the possible implementation of second,
Described first load-on module specifically for:
Described communication configuration data is loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described key algorithm and data Layer is set.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation,
Described second load-on module specifically for:
Itself corresponding algorithm is replaced with described key algorithm;
According to described communication mechanism, the communication mechanism between app data and key algorithm is set.
A kind of third aspect, there is provided service end, described service end includes:
Receiver module, for receiving the detection key algorithm of client app transmission;
Package module, for encapsulating described key algorithm to described plug-in unit;
Sending module, for sending described plug-in unit to client app, so that described plug-in unit is added by described client app It is loaded onto plug-in environment, and in described plug-in environment, load the key algorithm in described plug-in unit.
In conjunction with the third aspect, in the first possible implementation, described package module specifically for:
The communication configuration data of described key algorithm and data Layer is set;
Described communication configuration data is encapsulated to described plug-in unit with described key algorithm.
Fourth aspect, there is provided a kind of client is it is characterised in that described client is included memory and deposited with described The processor that reservoir connects, wherein, described memory is used for storing batch processing code, and described processor calls described memory The program code being stored is used for executing following operation:
It is pre-conditioned whether detection key algorithm meets, and if so, then sends described key algorithm to service end;
Receive the described plug-in unit that described service end sends;
Described plug-in unit is loaded onto plug-in environment;
In described plug-in environment, load the key algorithm in described plug-in unit.
In conjunction with fourth aspect, in the first possible implementation, described processor calls described memory to be stored Program code be used for executing following operation:
Detect described key algorithm disappearance;Or
Detect that the version of described key algorithm is less than current latest edition;Or
Detect that described key algorithm damages.
In conjunction with the first possible implementation of fourth aspect, in the possible implementation of second, described process Device calls the program code that described memory is stored to be used for executing following operation:
Described communication configuration data is loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described key algorithm and data Layer is set.
In conjunction with the possible implementation of the second of fourth aspect, in the third possible implementation, described process Device calls the program code that described memory is stored to be used for executing following operation:
Itself corresponding algorithm is replaced with described key algorithm;
According to described communication mechanism, the communication mechanism between app data and key algorithm is set.
5th aspect, there is provided a kind of service end is it is characterised in that described service end is included memory and deposited with described The processor that reservoir connects, wherein, described memory is used for storing batch processing code, and described processor calls described memory The program code being stored is used for executing following operation:
Receive the detection key algorithm that client app sends;
Described key algorithm is encapsulated to described plug-in unit;
Described plug-in unit is sent to client app, so that described plug-in unit is loaded onto plug-in environment by described client app, And in described plug-in environment, load the key algorithm in described plug-in unit.
In conjunction with the 5th aspect, in the first possible implementation, described processor calls described memory to be stored Program code be used for executing following operation:
The communication configuration data of described key algorithm and data Layer is set;
Described communication configuration data is encapsulated to described plug-in unit with described key algorithm.
A kind of 6th aspect, there is provided client key algorithm add-on system, described system includes client and service end;
Described client includes:
Detection module, pre-conditioned for detecting whether key algorithm meets;
First sending module, when described key algorithm is detected for described detection module and meeting pre-conditioned, will be described Key algorithm sends to service end, so that described service end encapsulates described key algorithm to described plug-in unit;
First receiver module, for receiving the described plug-in unit that described service end sends;
First load-on module, for being loaded onto plug-in environment by described plug-in unit;
Second load-on module, for, in described plug-in environment, loading the key algorithm in described plug-in unit;
Described service end includes:
Second receiver module, for receiving the detection key algorithm of client app transmission;
Package module, for encapsulating described key algorithm to described plug-in unit;
Second sending module, for sending described plug-in unit to client app, so that described client app is inserted described Part is loaded onto plug-in environment, and in described plug-in environment, loads the key algorithm in described plug-in unit.
In conjunction with the 6th aspect, in the first possible implementation, described detection module includes:
First detection sub-module, for detecting described key algorithm disappearance;
Second detection sub-module, the version for detecting described key algorithm is less than current latest edition;
3rd detection sub-module, for detecting described key algorithm damage.
In conjunction with the first possible implementation of the 6th aspect, in the possible implementation of second, described encapsulation Module specifically for:
The communication configuration data of described key algorithm and data Layer is set;
Described communication configuration data is encapsulated to described plug-in unit with described key algorithm.
In conjunction with the possible implementation of the second of the 6th aspect, in the third possible implementation, described first Load-on module specifically for:
Described communication configuration data is loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described key algorithm and data Layer is set.
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:
Itself corresponding algorithm is replaced with described key algorithm;
According to described communication mechanism, the communication mechanism between app data and key algorithm is set.
Embodiments provide a kind of client key algorithm adding method, system, client and service end, bag Include: it is pre-conditioned whether client app detection key algorithm meets, and if so, then sends key algorithm to service end;Service end Key algorithm is encapsulated to plug-in unit, and plug-in unit is sent to client app;Plug-in unit is loaded onto plug-in environment by client app;Visitor Family end app, in plug-in environment, loads the key algorithm in plug-in unit.Realize the renewal of key algorithm by plug-in unit, compared to existing There is technology, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decrease client key algorithm adding During data transfer throughput, decrease the occupancy of memory space and system processing resources, improve Consumer's Experience.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of client key algorithm adding method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of client key algorithm adding method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of client terminal structure schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of service end structural representation provided in an embodiment of the present invention;
Fig. 5 is a kind of client terminal structure schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of service end structural representation provided in an embodiment of the present invention;
Fig. 7 is to embodiments provide a kind of client key algorithm add-on system structural representation.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, is clearly and completely described to 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 The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Embodiment one is a kind of client key algorithm adding method provided in an embodiment of the present invention, with reference to shown in Fig. 1, is somebody's turn to do Method includes:
101st, whether client app detection key algorithm meets pre-conditioned, if so, then sends key algorithm to service End.
Specifically, by following operation in any one, realize client app detection key algorithm whether meet default The step of condition:
Detection key algorithm disappearance;Or
The version of detection key algorithm is less than current latest edition;Or
Detection key algorithm damages.
102nd, service end encapsulates key algorithm to plug-in unit, and plug-in unit is sent to client app.
Specifically, the communication configuration data of setting key algorithm and data Layer;
The configuration data that will communicate and key algorithm encapsulate to plug-in unit.
103rd, plug-in unit is loaded onto plug-in environment by client app.
Specifically, communication configuration data is loaded onto plug-in environment;
According to communication configuration data, the communication mechanism between setting key algorithm and data Layer.
104th, client app, in plug-in environment, loads the key algorithm in plug-in unit.
Specifically, itself corresponding algorithm is replaced with key algorithm by client app;
According to communication mechanism, the communication mechanism between app data and key algorithm is set.
Embodiments provide a kind of client key algorithm adding method, key algorithm is realized more by plug-in unit Newly, compared to prior art, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decreasing client Data transfer throughput in key algorithm adding procedure, decreases the occupancy of memory space and system processing resources, improves and uses Family is experienced.
Embodiment two is a kind of client key algorithm adding method provided in an embodiment of the present invention, with reference to shown in Fig. 2, is somebody's turn to do Method includes:
201st, whether detection key algorithm lacks, if so, then execution step 204.
Specifically, detect anomalous event in running for client app, this anomalous event includes running error, fortune Scanning frequency degree is slow and client app is normally run, loading content error etc..
Above-mentioned anomalous event can be realized by detecting the running log of client app.
Parse this anomalous event, detect whether this anomalous event is that key algorithm disappearance leads to.
202nd, whether the version of detection key algorithm is less than current latest edition, if so, then execution step 204.
Specifically, the latest edition that periodically whether the version of detection key algorithm is issued less than server, if so, and This algorithm and the system compatible of client, then judge whether the version of key algorithm is less than current latest edition.
203rd, whether detection key algorithm damages, if so, then execution step 204.
Specifically, parse anomalous event, detect whether this anomalous event is that key algorithm damage leads to.
Wherein, the acquisition of this anomalous event and the process of step 201 are identical, and the embodiment of the present invention is not repeated here.
It should be noted that execution step 201 to any one of step 203 is to realize that the detection of client app is crucial to calculate Whether method meets pre-conditioned process, in addition to the mode of above-mentioned steps, can also realize this process by other means, The embodiment of the present invention is not limited to specific mode.
204th, client app sends key algorithm to service end;
Specifically, the mark of key algorithm is sent service end by client app, and this mark is used for unique this key of instruction and calculates Method;
The embodiment of the present invention is not limited to specific sending method.
205th, service end arranges the communication configuration data of key algorithm and data Layer.
Specifically, this communication configuration data includes communication mechanism and the instruction calls mechanism of key algorithm and data Layer, The embodiment of the present invention is not limited to specific set-up mode.
206th, service end will communicate configuration data and key algorithm encapsulates to plug-in unit.
Specifically, the configuration data that will communicate is associated with key algorithm, and the embodiment of the present invention is not added with to specific packaged type To limit.
It should be noted that step 205 to step 206 is to realize service end to encapsulate key algorithm to the process of plug-in unit, In addition to the mode of above-mentioned steps, this process can also be realized by other means, the embodiment of the present invention is to specific mode It is not limited.
207th, service end sends plug-in unit to client app.
Specifically, the embodiment of the present invention is not limited to specific sending method.
208th, the configuration data that communicates is loaded onto plug-in environment by client app.
Specifically, the operating system of client is Android system, then:
According to configuration information, communication mode between plug-in unit middleware and this card i/f, corresponding relation and tune are set With relation;
Communication mode between setting card i/f and data Layer, data resource method of calling.
209th, client app is according to communication configuration data, the communication mechanism between setting key algorithm and data Layer.
Specifically, this communication mechanism includes instruction calls mechanism and data resource call-by mechanism.
It should be noted that step 208 to step 209 is to realize the mistake that plug-in unit is loaded onto plug-in environment by client app Journey, in addition to the mode of above-mentioned steps, can also realize this process, the embodiment of the present invention is to specific side by other means Formula is not limited.
210th, itself corresponding algorithm is replaced with key algorithm by client app.
Specifically, unload corresponding algorithm, key algorithm is added to client app;
The embodiment of the present invention is not limited to specific unloading manner and addition manner.
211st, client app, according to communication mechanism, arranges the communication mechanism between app data and key algorithm.
Specifically, the embodiment of the present invention is not limited to specific set-up mode.
It should be noted that step 210 to step 211 is to realize client app in plug-in environment, load in plug-in unit The process of key algorithm, in addition to the mode of above-mentioned steps, can also realize this process, the present invention is implemented by other means Example is not limited to specific mode.
Embodiments provide a kind of client key algorithm adding method, key algorithm is realized more by plug-in unit Newly, compared to prior art, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decreasing client Data transfer throughput in key algorithm adding procedure, decreases the occupancy of memory space and system processing resources, improves and uses Family is experienced.
Embodiment three is a kind of client 3 provided in an embodiment of the present invention, and with reference to shown in Fig. 3, this client 3 includes:
Detection module 31, pre-conditioned for detecting whether key algorithm meets;
Sending module 32, when key algorithm is detected for detection module and meeting pre-conditioned, by key algorithm send to Service end, so that service end encapsulates key algorithm to plug-in unit;
Receiver module 33, for receiving the plug-in unit of service end transmission;
First load-on module 34, for being loaded onto plug-in environment by plug-in unit;
Second load-on module 35, for, in plug-in environment, loading the key algorithm in plug-in unit.
Optionally, detection module 31 includes:
First detection sub-module 311, for detecting key algorithm disappearance;
Second detection sub-module 312, the version for detecting key algorithm is less than current latest edition;
3rd detection sub-module 313, for detecting key algorithm damage.
Optionally, the first load-on module 34 specifically for:
Communication configuration data is loaded onto plug-in environment;
According to communication configuration data, the communication mechanism between setting key algorithm and data Layer.
Optionally, the second load-on module 35 specifically for:
Itself corresponding algorithm is replaced with key algorithm;
According to communication mechanism, the communication mechanism between app data and key algorithm is set.
Embodiments provide a kind of client, this client realizes the renewal of key algorithm by plug-in unit, compares In prior art, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decreasing client key algorithm Data transfer throughput in adding procedure, decreases the occupancy of memory space and system processing resources, improves Consumer's Experience.
Example IV is a kind of service end 4 provided in an embodiment of the present invention, and with reference to shown in Fig. 4, this service end 4 includes:
Receiver module 41, for receiving the detection key algorithm of client app transmission;
Package module 42, for encapsulating key algorithm to plug-in unit;
Sending module 43, for sending plug-in unit to client app, so that plug-in unit is loaded onto plug-in unit ring by client app Border, and in plug-in environment, load the key algorithm in plug-in unit.
Optionally, package module 42 specifically for:
Setting key algorithm and the communication configuration data of data Layer;
The configuration data that will communicate and key algorithm encapsulate to plug-in unit.
Embodiments provide a kind of service end, this service end realizes the renewal of key algorithm by plug-in unit, compares In prior art, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decreasing client key algorithm Data transfer throughput in adding procedure, decreases the occupancy of memory space and system processing resources, improves Consumer's Experience.
Embodiment five is a kind of client 5 provided in an embodiment of the present invention, and with reference to shown in Fig. 5, this client 5 includes storing Device 51 and the processor 52 being connected with memory 51, wherein, memory 51 is used for storing batch processing code, and processor 52 is adjusted It is used for executing following operation with the program code that memory 51 is stored:
It is pre-conditioned whether detection key algorithm meets, and if so, then sends key algorithm to service end;
Receive the plug-in unit that service end sends;
Plug-in unit is loaded onto plug-in environment;
In plug-in environment, load the key algorithm in plug-in unit.
Optionally, processor 52 calls the program code that memory 51 is stored to be used for executing following operation:
Detection key algorithm disappearance;Or
The version of detection key algorithm is less than current latest edition;Or
Detection key algorithm damages.
Optionally, processor 52 calls the program code that memory 51 is stored to be used for executing following operation:
Communication configuration data is loaded onto plug-in environment;
According to communication configuration data, the communication mechanism between setting key algorithm and data Layer.
Optionally, processor 52 calls the program code that memory 51 is stored to be used for executing following operation:
Itself corresponding algorithm is replaced with key algorithm;
According to communication mechanism, the communication mechanism between app data and key algorithm is set.
Embodiments provide a kind of client, this client realizes the renewal of key algorithm by plug-in unit, compares In prior art, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decreasing client key algorithm Data transfer throughput in adding procedure, decreases the occupancy of memory space and system processing resources, improves Consumer's Experience.
Embodiment six is a kind of service end 6 provided in an embodiment of the present invention, and with reference to shown in Fig. 6, this service end 6 includes storing Device 61 and the processor 62 being connected with memory 61, wherein, memory 61 is used for storing batch processing code, and processor 62 is adjusted It is used for executing following operation with the program code that memory 61 is stored:
Receive the detection key algorithm that client app sends;
Key algorithm is encapsulated to plug-in unit;
Plug-in unit is sent to client app, so that plug-in unit is loaded onto plug-in environment by client app, and in plug-in environment Interior, load the key algorithm in plug-in unit.
Optionally, processor 62 calls the program code that memory 61 is stored to be used for executing following operation:
Setting key algorithm and the communication configuration data of data Layer;
The configuration data that will communicate and key algorithm encapsulate to plug-in unit.
Embodiments provide a kind of service end, this service end realizes the renewal of key algorithm by plug-in unit, compares In prior art, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decreasing client key algorithm Data transfer throughput in adding procedure, decreases the occupancy of memory space and system processing resources, improves Consumer's Experience.
Embodiment seven is a kind of client key algorithm add-on system 7 provided in an embodiment of the present invention, shown in reference Fig. 7, This system 7 includes client 71 and service end 72;
Client 71 includes:
Detection module 711, pre-conditioned for detecting whether key algorithm meets;
First sending module 712, when key algorithm is detected for detection module and meeting pre-conditioned, key algorithm is sent out Deliver to service end, so that service end encapsulates key algorithm to plug-in unit;
First receiver module 713, for receiving the plug-in unit of service end transmission;
First load-on module 714, for being loaded onto plug-in environment by plug-in unit;
Second load-on module 715, for, in plug-in environment, loading the key algorithm in plug-in unit;
Service end 72 includes:
Second receiver module 721, for receiving the detection key algorithm of client app transmission;
Package module 722, for encapsulating key algorithm to plug-in unit;
Second sending module 723, for plug-in unit is sent to client app so that client app plug-in unit is loaded onto slotting Part environment, and in plug-in environment, load the key algorithm in plug-in unit.
Optionally, detection module 711 includes:
First detection sub-module 7111, for detecting key algorithm disappearance;
Second detection sub-module 7112, the version for detecting key algorithm is less than current latest edition;
3rd detection sub-module 7113, for detecting key algorithm damage.
Optionally, package module 722 specifically for:
Setting key algorithm and the communication configuration data of data Layer;
The configuration data that will communicate and key algorithm encapsulate to plug-in unit.
Optionally, the first load-on module 714 specifically for:
Communication configuration data is loaded onto plug-in environment;
According to communication configuration data, the communication mechanism between setting key algorithm and data Layer.
Optionally, the second load-on module 715 specifically for:
Itself corresponding algorithm is replaced with key algorithm;
According to communication mechanism, the communication mechanism between app data and key algorithm is set.
Embodiments provide a kind of client key algorithm add-on system, this system realizes crucial calculation by plug-in unit The renewal of method, compared to prior art, it is to avoid by downloading and installing the interpolation that app realizes key algorithm, thus decreasing Data transfer throughput in client key algorithm adding procedure, decreases the occupancy of memory space and system processing resources, Improve Consumer's Experience.
Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the present invention, and here is no longer Repeat one by one.
It should be understood that service end, client and system that above-described embodiment provides are in execution client key algorithm During adding method, only it is illustrated with the division of above-mentioned each functional module, in practical application, can as desired will be upper State function distribution to be completed by different functional modules, will client, service end and system internal structure be divided into different Functional module, to complete all or part of function described above.In addition, the service end of above-described embodiment offer, client And system belongs to same design with client key algorithm adding method embodiment, it implements process and refers to method enforcement Example, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, 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 made etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of client key algorithm adding method is it is characterised in that methods described includes:
It is pre-conditioned whether client app detection key algorithm meets, and if so, then sends described key algorithm to service end;
Described service end encapsulates described key algorithm to described plug-in unit, and described plug-in unit is sent to client app;
Described plug-in unit is loaded onto plug-in environment by described client app;
Described client app, in described plug-in environment, loads the key algorithm in described plug-in unit.
2. method according to claim 1 is it is characterised in that by any one in following operation, realize described visitor Whether app detection key algorithm in family end meets pre-conditioned step:
Detect described key algorithm disappearance;Or
Detect that the version of described key algorithm is less than current latest edition;Or
Detect that described key algorithm damages.
3. method according to claim 2 it is characterised in that described service end by described key algorithm encapsulate to described insert Part includes:
The communication configuration data of described key algorithm and data Layer is set;
Described communication configuration data is encapsulated to described plug-in unit with described key algorithm.
4. method according to claim 3 is it is characterised in that described plug-in unit is loaded onto plug-in unit ring by described client app Border includes:
Described communication configuration data is loaded onto plug-in environment;
According to described communication configuration data, the communication mechanism between described key algorithm and data Layer is set.
5. the method described in 4 is required it is characterised in that described client app is in described plug-in environment according to power, load described Key algorithm in plug-in unit includes:
Itself corresponding algorithm is replaced with described key algorithm by described client app;
According to described communication mechanism, the communication mechanism between app data and key algorithm is set.
6. a kind of client is it is characterised in that described client includes:
Detection module, pre-conditioned for detecting whether key algorithm meets;
Sending module, when described key algorithm is detected for described detection module and meeting pre-conditioned, by described key algorithm Send to service end, so that described service end encapsulates described key algorithm to described plug-in unit;
Receiver module, for receiving the described plug-in unit that described service end sends;
First load-on module, for being loaded onto plug-in environment by described plug-in unit;
Second load-on module, for, in described plug-in environment, loading the key algorithm in described plug-in unit.
7. a kind of service end is it is characterised in that described service end includes:
Receiver module, for receiving the detection key algorithm of client app transmission;
Package module, for encapsulating described key algorithm to described plug-in unit;
Sending module, for sending described plug-in unit to client app, so that described plug-in unit is loaded onto by described client app Plug-in environment, and in described plug-in environment, load the key algorithm in described plug-in unit.
8. a kind of client key algorithm add-on system is it is characterised in that described system includes client and service end;
Described client includes:
Detection module, pre-conditioned for detecting whether key algorithm meets;
First sending module, when described key algorithm is detected for described detection module and meeting pre-conditioned, by described key Algorithm sends to service end, so that described service end encapsulates described key algorithm to described plug-in unit;
First receiver module, for receiving the described plug-in unit that described service end sends;
First load-on module, for being loaded onto plug-in environment by described plug-in unit;
Second load-on module, for, in described plug-in environment, loading the key algorithm in described plug-in unit;
Described service end includes:
Second receiver module, for receiving the detection key algorithm of client app transmission;
Package module, for encapsulating described key algorithm to described plug-in unit;
Second sending module, for sending described plug-in unit to client app, so that described plug-in unit is added by described client app It is loaded onto plug-in environment, and in described plug-in environment, load the key algorithm in described plug-in unit.
9. system according to claim 8 is it is characterised in that described detection module includes:
First detection sub-module, for detecting described key algorithm disappearance;
Second detection sub-module, the version for detecting described key algorithm is less than current latest edition;
3rd detection sub-module, for detecting described key algorithm damage.
10. system according to claim 9 it is characterised in that described package module specifically for:
The communication configuration data of described key algorithm and data Layer is set;
Described communication configuration data is encapsulated to described plug-in unit with described key algorithm.
CN201610784022.0A 2016-08-31 2016-08-31 Key algorithm adding method and system of client, client and service end Pending CN106341534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610784022.0A CN106341534A (en) 2016-08-31 2016-08-31 Key algorithm adding method and system of client, client and service end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610784022.0A CN106341534A (en) 2016-08-31 2016-08-31 Key algorithm adding method and system of client, client and service end

Publications (1)

Publication Number Publication Date
CN106341534A true CN106341534A (en) 2017-01-18

Family

ID=57823583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610784022.0A Pending CN106341534A (en) 2016-08-31 2016-08-31 Key algorithm adding method and system of client, client and service end

Country Status (1)

Country Link
CN (1) CN106341534A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765210A (en) * 2017-10-19 2018-03-06 中国矿业大学 A kind of integrated moving target alignment system of software definition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN104133704A (en) * 2014-07-31 2014-11-05 百度在线网络技术(北京)有限公司 Software upgrading and upgrade package issuing method, device and equipment
CN104915220A (en) * 2014-03-13 2015-09-16 中国移动通信集团安徽有限公司 Upgrading method and system of client side application program and client side
CN105407130A (en) * 2015-09-25 2016-03-16 成都趣点科技有限公司 Mobile client plug-in system and mobile client plug-in processing method
CN105824608A (en) * 2015-01-07 2016-08-03 阿里巴巴集团控股有限公司 Processing method and apparatus of processing object, and plug-in generation method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN104915220A (en) * 2014-03-13 2015-09-16 中国移动通信集团安徽有限公司 Upgrading method and system of client side application program and client side
CN104133704A (en) * 2014-07-31 2014-11-05 百度在线网络技术(北京)有限公司 Software upgrading and upgrade package issuing method, device and equipment
CN105824608A (en) * 2015-01-07 2016-08-03 阿里巴巴集团控股有限公司 Processing method and apparatus of processing object, and plug-in generation method and apparatus
CN105407130A (en) * 2015-09-25 2016-03-16 成都趣点科技有限公司 Mobile client plug-in system and mobile client plug-in processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765210A (en) * 2017-10-19 2018-03-06 中国矿业大学 A kind of integrated moving target alignment system of software definition

Similar Documents

Publication Publication Date Title
CN105472595B (en) Mobile radio communication device, server and method for controlling them
CN101932068B (en) Realize the mthods, systems and devices of machine-to-machine service
WO2018059137A1 (en) Internet of things terminal access device and method, and computer storage medium
CN106375567A (en) Plug-in release method and system, client and server
CN102404727A (en) Method and device for safety control of mobile terminal
US8942754B2 (en) Devices for allocating power for uplink transmission
CN103023681A (en) Smart home control device and updating method
CN111886576A (en) Method and apparatus for updating remote network device
RU2006118108A (en) BINDING CONTENT TO USER
CN102123021A (en) Method and apparatus for handling semi-persistent transmission resources
KR20140068733A (en) Operation Management Device and Method to Upgrade Program installed Internet of Things Communication Module
CN102882922A (en) Wireless network system, method of controlling the system, and wireless network relay device
CN106201638A (en) A kind of plug-in loading method, system, client and service end
CN104836680A (en) Firmware over-the-air (FOTA) upgrade processing method and FOTA upgrade processing system
CN101854745A (en) Transmission method of software version and device thereof
CN106341534A (en) Key algorithm adding method and system of client, client and service end
CN102457574A (en) Method and system for intelligent multi-address downloading of installation package
CN103744707B (en) A kind of VCI device program upgrade method, device and system
CN106453494A (en) Plug-in updating method, plug-in updating system, client and server side
CN102905382B (en) Uplink authorization is utilized to send method and the terminal equipment of data in LTE system
CN103874175A (en) Method, device and equipment for controlling network connection of mobile terminal and mobile terminal
CN111049906B (en) Method, device and system for unified management of wireless network bridge network
CN104812019A (en) Wireless network access method, wireless access equipment and wireless control equipment
CN111682965A (en) FOTA controller
CN101800985A (en) Authentication method and system, terminal, server and data downloading method and device

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: 20170118

RJ01 Rejection of invention patent application after publication