CN105744511A - Dynamic update method for Android system adaption module, client and server - Google Patents

Dynamic update method for Android system adaption module, client and server Download PDF

Info

Publication number
CN105744511A
CN105744511A CN201410765818.2A CN201410765818A CN105744511A CN 105744511 A CN105744511 A CN 105744511A CN 201410765818 A CN201410765818 A CN 201410765818A CN 105744511 A CN105744511 A CN 105744511A
Authority
CN
China
Prior art keywords
adaptive
unit bag
plug
adaptations
types
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410765818.2A
Other languages
Chinese (zh)
Other versions
CN105744511B (en
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.)
iFlytek Co Ltd
Original Assignee
iFlytek 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 iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN201410765818.2A priority Critical patent/CN105744511B/en
Publication of CN105744511A publication Critical patent/CN105744511A/en
Application granted granted Critical
Publication of CN105744511B publication Critical patent/CN105744511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a dynamic update method for an Android system adaption module, a client and a server. The method comprises steps that an adaption module update request containing the adaption type information of a present attribution handset is sent by the multi-card adaption client to the server; an adaption plug-in packet or a downloading address of the adaption plug-in packet which is sent by the server according to the adaption type information is received; after the adaption plug-in packet is received or downloaded, the adaption plug-in packet is mounted. According to the method, the adaption module update request containing the adaption type information of the present attribution handset is sent by the multi-card adaption client to the server, the newest adaption plug-in packet in matching with the adaption type information or the downloading address of the newest adaption plug-in packet is sent by the server according to the adaption type information to the multi-card adaption client, after the adaption plug-in packet is acquired by the multi-card adaption client, the adaption plug-in packet is mounted, so update of the adaption module is accomplished, so the adaption module can be updated without upgrading a version of the multi-card adaption client.

Description

Android system adaptation module dynamic updating method, client and server
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of Android system adaptation module dynamic updating method, client and server.
Background technology
Along with popularizing of mobile phone, user often has multiple SIM (SubscriberIdentityModule, client identification module), correspondingly, can using multiple SIM for the convenience of the user on a mobile phone, various double-card dual-standbies, three cards three treat etc. that one-telephone multi-card mobile phone also arises at the historic moment.nullIt is based on the mobile phone of Android (Android) system,Owing to android system source code only supports single SIM,And support that the network formats of the operator of each SIM is also not quite similar,Such as some SIM is by WCDMA (WidebandCodeDivisionMultipleAccess,WCDMA) support,Some SIM is by GSM (GlobalSystemforMobileCommunication,Global system for mobile communications) support,In order to realize one-telephone multi-card function,Android source code can be extended,And install how the adaptive client of card carries out adaptation in mobile phone,Call the correlation module according to the customization of android system framework (framework) layer,Android system is enable to support the call of the SIM under multiple different network formats、Note、The functions such as online.Wherein, the correlation module according to the customization of android system framework (framework) layer, for instance phone adaptation module, note adaptation module, system is referred to as adaptation module.
In current Android phone, the main adaptation strategies of the adaptive client of many cards includes: (1) is adaptive according to specific model, namely obtains mobile phone type model mark, calls the specific adaptation module of this type by the reflex mechanism of Java;(2) adaptive according to particular CPU platform, namely obtain the CPU model of mobile phone, call this specific adaptation module of CPU platform by the reflex mechanism of Java, the institute's organic type for same CPU model all adopts unified adaptive mode.Correspondingly, current adaptation module also mainly includes the adaptation module according to specific model customization and the adaptation module of the CPU platform building according to mobile phone.
But inventor finds in the process realize the present invention, owing to the customization of adaptation module is not sought unity of standard, the adaptation module of each cell phone manufacturer customization is widely different, cause that a lot of needs use the application software of adaptation module to there will be compatibility issue when calling adaptation module, therefore cellphone subscriber typically requires and adaptation module is updated, to expand range of fit, improve adaptation module compatible;On the other hand, if it is desired to not adaptive Android phone is carried out adaptation, or to after adaptive mobile phone refitting system or upgrading cell phone system firmware, it is also desirable to update adaptation module in time, to realize one-telephone multi-card function.But, update adaptation module must follow in mobile phone how adaptive more the newly arriving of client of card carry out at present, namely just must can complete the renewal of adaptation module by the whole adaptation client-side program that block of down loading updating more, if during the adaptive client release of many cards updates iteration, there is compatibility issue in adaptation module in user mobile phone, or cell phone manufacturer has issued new type, or adaptive type has been upgraded cell phone system firmware version, user will be unable to the adaptation module that upgrades in time, could by actively upgrading after having to wait for the adaptive client releases of many cards that issue is new, the function causing the one-telephone multi-card of mobile phone cannot use within a period of time.
Summary of the invention
For the problem overcoming the adaptation module not dynamic of android system one-telephone multi-card type in correlation technique to update, the application provides a kind of Android system adaptation module dynamic updating method, client and server.
First aspect according to the embodiment of the present application, it is provided that a kind of Android system adaptation module dynamic updating method, including:
It is more newly requested that the adaptive user end to server of many cards sends the adaptation module including current home mobile phone types of adaptations information;
Receive the download address of adaptive plug-in unit bag that server sends according to described types of adaptations information or described adaptation plug-in unit bag;
After receiving or download described adaptive plug-in unit bag, described adaptive plug-in unit bag is installed.
Optionally, in described Android system adaptation module dynamic updating method, the up-to-date adaptive plug-in unit package informatin of server described in the adaptive client timing acquisition of many cards, when judging, according to described up-to-date adaptive plug-in unit package informatin, the renewal that there is adaptive plug-in unit bag, send adaptation module to server more newly requested.
Optionally, in described Android system adaptation module dynamic updating method, when the adaptive client of many cards detects that the system version of current home mobile phone changes, send, to server, the adaptation module including current home mobile phone types of adaptations information more newly requested.
Optionally, in described Android system adaptation module dynamic updating method, after receiving or download described adaptive plug-in unit bag, before described adaptive plug-in unit bag is installed, also include:
Client is adaptive plug-in unit bag according to described types of adaptations information checking, and described verification includes:
Configuration file according to described adaptive plug-in unit bag judges the types of adaptations of described adaptive plug-in unit bag;
Judge whether described types of adaptations information mates with the types of adaptations of described adaptive plug-in unit bag, if it does, then verification is passed through.
Second aspect according to the embodiment of the present application, it is provided that another kind of Android system adaptation module dynamic updating method, including:
The adaptive user end to server of many cards sends the types of adaptations information of client identification information and current home mobile phone;
The types of adaptations information of client identification information described in server record and corresponding current home mobile phone;
When the adaptive plug-in unit bag with described types of adaptations information matches exists and updates, server sends described adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag according to described client identification information to corresponding many card adaptation clients;
After the adaptive client of many cards receives or download described adaptive plug-in unit bag, described adaptive plug-in unit bag is installed.
The third aspect according to the embodiment of the present application, it is provided that a kind of adaptive client of many cards, including:
First sending module, more newly requested for sending, to server, the adaptation module including current home mobile phone types of adaptations information;
Adaptive plug-in unit bag acquisition module, for receiving the adaptive plug-in unit bag that server sends according to described types of adaptations information, or the described adaptive plug-in unit bag of download address download of the described adaptive plug-in unit bag sent according to server;
Module is installed, is used for described adaptive plug-in unit bag is installed.
Optionally, the described adaptive client of many cards, also include:
Update data obtaining module, the up-to-date adaptive plug-in unit package informatin of server described in timing acquisition;
First judge module, for judging whether the renewal of adaptive plug-in unit bag according to described up-to-date adaptive plug-in unit package informatin,
Described first sending module is for when there is the renewal of adaptive plug-in unit bag, sending adaptation module to server more newly requested.
Optionally, the described adaptive client of many cards, also include:
System detection module, whether the system version for detecting current home mobile phone changes,
Described first sending module is for when system version current home mobile phone being detected changes, sending, to server, the adaptation module including current home mobile phone types of adaptations information more newly requested.
Optionally, the described adaptive client of many cards, also include:
Second sending module, for sending client identification information and current home mobile phone types of adaptations information to server.
Optionally, the described adaptive client of many cards, also include:
Correction verification module, for plug-in unit bag adaptive according to described types of adaptations information checking, described correction verification module includes:
Second judge module, for judging the types of adaptations of described adaptive plug-in unit bag according to the configuration file of described adaptive plug-in unit bag;
3rd judge module, for judging whether described types of adaptations information mates with the types of adaptations of described adaptive plug-in unit bag, if it does, then verification is passed through.
Fourth aspect according to the embodiment of the present application, it is provided that a kind of server, including:
First receiver module, the adaptation module including current home mobile phone types of adaptations information for receiving the adaptive client transmission of many cards is more newly requested;
Adaptive plug-in unit bag feedback module, for sending adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag according to described types of adaptations information to described client.
Optionally, described adaptive plug-in unit bag feedback module, including:
Select submodule, for selecting corresponding adaptive plug-in unit bag according to described types of adaptations information;
Send submodule, be used for sending described adaptive plug-in unit bag, or generate download address according to described adaptive plug-in unit bag, and send described download address to client.
The 5th aspect according to the embodiment of the present application, it is provided that another kind of server, including:
Second receiver module, for receiving client identification information and the current home mobile phone types of adaptations information that the adaptive client of many cards sends;
Logging modle, for recording described client identification information and corresponding described types of adaptations information;
Update judge module, for judging whether the adaptive plug-in unit bag with described types of adaptations information matches exists renewal;
Adaptive plug-in unit bag feedback module, for when server exists with the adaptive plug-in unit bag of described types of adaptations information matches update time, send described adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag to corresponding client according to described client identification information.
The technical scheme that the embodiment of the present application provides can include following beneficial effect: more newly requested by the adaptation module blocking adaptive user end to server to send to comprise current home mobile phone types of adaptations information more, up-to-date adaptive plug-in unit bag or its download address with types of adaptations information matches is sent to the adaptive client of many cards according to types of adaptations information by server, after the adaptive client of many cards obtains described adaptive plug-in unit bag, described adaptive plug-in unit bag is installed and can complete the renewal of adaptation module.Namely up-to-date adaptation module can be used, it is possible to update adaptation module in time from without the upgrading adaptive client release of many cards.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the application can not be limited.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, for those of ordinary skills, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of Android system adaptation module dynamic updating method shown in the application one exemplary embodiment.
Fig. 2 is the schematic flow sheet of a kind of Android system adaptation module dynamic updating method shown in the application another exemplary embodiment.
Fig. 3 is the schematic flow sheet of the another kind of Android system adaptation module dynamic updating method shown in the application one exemplary embodiment.
Fig. 4 is the block diagram of the adaptive client of a kind of many cards shown in the application one exemplary embodiment.
Fig. 5 is the block diagram of the adaptive client of a kind of many cards shown in the application another exemplary embodiment.
Fig. 6 is the block diagram of the adaptive client of a kind of many cards shown in the application further example embodiment.
Fig. 7 is the block diagram of a kind of server shown in the application one exemplary embodiment.
Fig. 8 is the block diagram of the another kind of server shown in the application one exemplary embodiment.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings.When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the application.On the contrary, they only with in appended claims describe in detail, the application some in the example of consistent apparatus and method.
The application in order to understand the application comprehensively, refer to numerous concrete details in the following detailed description, it will be appreciated by those skilled in the art that can realize without these details.In other embodiments, being not described in detail known method, process, assembly and circuit, obscuring in order to avoid undesirably resulting in embodiment.
Fig. 1 is the schematic flow sheet of a kind of Android system adaptation module dynamic updating method shown in the application one exemplary embodiment, as it is shown in figure 1, described method includes:
Step S101, it is more newly requested that the adaptive user end to server of many cards sends the adaptation module including current home mobile phone types of adaptations information;
Step S102, receives the download address of adaptive plug-in unit bag that server sends according to described types of adaptations information or described adaptation plug-in unit bag;
Step S103, after receiving or download described adaptive plug-in unit bag, installs described adaptive plug-in unit bag.
Wherein, described types of adaptations information includes model identification code or the CPU type information of the adaptive client current home mobile phone of many cards, or described model identification code and CPU type information.It is more newly requested that the described adaptive client of many cards can send adaptation module in backstage timing to server automatically, described adaptation module is more newly requested includes described types of adaptations information, it is also possible to actively sent adaptation module to server by user when required by the adaptive client of many cards more newly requested.Server receive described adaptation module more newly requested after, in data base, the adaptive plug-in unit bag of the latest edition that whether there is correspondence is inquired about according to described adaptation module types of adaptations information in more newly requested, such as, the adaptive user end to server of many cards sends the model identification code of mobile phone, after then server receives described model identification code, data base inquires about and whether there is the adaptive plug-in unit bag corresponding with described model identification code, if there is corresponding adaptive plug-in unit bag, the latest edition of the adaptive plug-in unit bag of inquiry, the adaptive plug-in unit bag of latest edition is sent to the adaptive client of many cards, or generate the download address of described adaptive plug-in unit bag, described download address is sent to the adaptive client of many cards.If server does not inquire the adaptive plug-in unit bag corresponding with described types of adaptations information in data base, then can return miscue information to the adaptive client of many cards, or return the adaptive plug-in unit package informatin being absent from correspondence.
Wherein, the adaptive plug-in unit bag that described data base is corresponding for storing different types of adaptations information, adaptive plug-in unit bag corresponding to such as different type of machines identification code and adaptive plug-in unit bag corresponding to different CPU models, described data base can only store the latest edition of adaptive plug-in unit bag, in this case when server is according to types of adaptations information inquiry adaptation plug-in unit bag, only need to inquire about whether there is the adaptive plug-in unit bag that types of adaptations information is corresponding, not need to inquire about the latest edition of adaptive plug-in unit bag.Described data base may be located in server, is namely arranged in and blocks the server that adaptive client interacts more, it is also possible to being positioned at other servers.Described adaptive plug-in unit bag is for being updated adaptation module, and described renewal includes the extension on original program basis and adjustment, and when being configured without adaptation module in mobile phone, described adaptive plug-in unit bag may be used for installing adaptation module.In described adaptive plug-in unit bag, adaptation module code is with JAR (JavaArchive, Java archive file) packet form preservation, after adaptive plug-in unit bag is installed, when many adaptive clients of card or other mobile phone application softwares call adaptation module, use the DexClassLoader Classloader that android system provides, DEX (Android platform the type of executable file) file can be read from JAR bag, described DEX file can in program run duration dynamic load, the class in DEX file and interface is accessed by Java reflection mode, thus realizing the dynamic operation of dynamic call and program.Described adaptive plug-in unit bag can also be identical with conventional plug-in unit bag preparation method.Plug-in unit bag is used to update adaptation module, it is possible to make renewal process more succinct, also make adaptation module be more suitable for dynamic call.
How the adaptive clients of card are receiving the adaptive plug-in unit bag that server sends, or according to, after the adaptive plug-in unit bag of download address download of server transmission, installing described adaptive plug-in unit bag, complete the renewal to adaptation module.
Fig. 2 is the schematic flow sheet of a kind of Android system adaptation module dynamic updating method shown in the application another exemplary embodiment, as in figure 2 it is shown, described method includes:
Step S201, the up-to-date adaptive plug-in unit package informatin of server described in the adaptive client timing acquisition of many cards;
Step S202, when judging, according to described up-to-date adaptive plug-in unit package informatin, the renewal that there is adaptive plug-in unit bag, sends adaptation module to server more newly requested.
Wherein, block adaptive clients in backstage timing to the up-to-date adaptive plug-in unit package informatin of server for services device more, and accept the up-to-date adaptation plug-in unit package informatin of server return.Described up-to-date adaptive plug-in unit package informatin can be the information of all adaptive plug-in unit bags having latest edition in server, after client receives up-to-date adaptive plug-in unit package informatin, judge whether that adaptive plug-in unit bag updates, when the result judged updates as there is adaptive plug-in unit bag, send more newly requested to server.When the version change that adaptive plug-in unit bag described in described up-to-date adaptive plug-in unit package informatin is up-to-date, the adaptive clients of many cards can update exist any adaptive plug-in unit bag, and namely any adaptive plug-in unit bag exists when updating, and all sends adaptation module to server more newly requested.When many card adaptation clients can also judge that the adaptive plug-in unit bag with the machine types of adaptations information matches exists renewal according to up-to-date adaptive plug-in unit package informatin, such as, the current version number of the adaptation module of the machine is lower than in corresponding adaptive plug-in unit bag during the version number of the adaptation module of mark, adaptation module is sent more newly requested to server, it is more newly requested that the latter can avoid sending unnecessary adaptation module, saves system processing resources and Internet resources.The adaptive client of many cards can also send the types of adaptations information of the machine and the up-to-date adaptive plug-in unit package informatin of request server simultaneously to server, the types of adaptations information that server can send according to the adaptive client of many cards, the up-to-date information of the adaptive plug-in unit bag corresponding with described types of adaptations information is returned to the adaptive client of many cards, when the up-to-date information of the adaptive plug-in unit bag that the adaptive client of many cards returns according to server judges that the adaptive plug-in unit bag existence corresponding with this collection types of adaptations information updates, adaptation module is sent more newly requested to server, the latter can also avoid sending unnecessary more newly requested.
Wherein, in a kind of possible embodiment, the adaptive client of many cards can also when system version current home mobile phone being detected changes, adaptation module is sent more newly requested to server, described adaptation module is more newly requested includes current home mobile phone types of adaptations information, can also by user after brush machine or upgrading cell phone system firmware, by blocking adaptive user end to server, to send described adaptation module more newly requested more.When user resets cell phone system or update after cell phone system firmware, the system version of mobile phone is it may happen that change, in this case adaptation module needs to update to adapt with new cell phone system, the adaptive client of many cards is when system version current home mobile phone being detected changes, send adaptation module to server more newly requested, be conducive in time adaptation module being updated.
Wherein, server receive described adaptation module more newly requested after, send adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag to client according to described types of adaptations information.
Step S203, receives the download address of adaptive plug-in unit bag that server sends according to described more newly requested and described types of adaptations information or described adaptation plug-in unit bag.
Step S204, receives or downloads described adaptive plug-in unit bag;
Step S205, adaptive plug-in unit bag according to described types of adaptations information checking.
Step S206, if verification is passed through, installs described adaptive plug-in unit bag.
Wherein, after the adaptive client of many cards receives or downloads described adaptive plug-in unit bag, before described adaptive plug-in unit bag is installed, also include described adaptive plug-in unit bag is verified, for check described adaptive plug-in unit bag whether with the types of adaptations information matches of the machine, to ensure the correctness of the adaptive plug-in unit bag obtained, so that the adaptation module of the machine can correctly update or install.The adaptive client of many cards adaptive plug-in unit bag according to described types of adaptations information checking, it is possible to comprise the steps:
(1) types of adaptations of described adaptive plug-in unit bag is judged according to the configuration file of described adaptive plug-in unit bag;
(2) judge whether described types of adaptations information mates with the types of adaptations of described adaptive plug-in unit bag, if it does, then verification is passed through.
Wherein, the adaptive client of many cards resolves the configuration file of adaptive plug-in unit bag, judges the types of adaptations of described adaptive plug-in unit bag according to profile information, for instance, the types of adaptations of described adaptive plug-in unit bag is adaptive according to type, and the type of described adaptation is Meizu MX;Then judge the types of adaptations of adaptive plug-in unit bag whether with the types of adaptations information matches of the machine, if it does, then verification is passed through, described adaptive plug-in unit bag is installed, update adaptation module, if it does not match, verification is not passed through, described adaptive plug-in unit bag is not installed, the type of such as the machine is Meizu MX3, and the type of adaptive plug-in unit bag adaptation is Meizu MX, then it fails to match, verification is not passed through, and abandons installing adaptive plug-in unit bag.It is obstructed out-of-date to verify, it is possible to prompt the user with verification failure information simultaneously.
Wherein, in order to ensure the safety of adaptive plug-in unit bag, prevent from adaptive plug-in unit to be coated to distort, signature can also be added in adaptive plug-in unit bag, the adaptive client of many cards is after receiving adaptive plug-in unit bag, before described types of adaptations information checking adaptation plug-in unit bag, the signature of adaptive plug-in unit bag is verified, including: obtain the signature of adaptive plug-in unit bag;And compare with the signature that adds in advance in the configuration files of the adaptive clients of many cards itself;Two signatures are equal, and the signature in adaptive plug-in unit bag is legitimate signature, and signature check is passed through.After signature check is passed through, the adaptive client of many cards is according to described types of adaptations information checking adaptation plug-in unit bag, judge whether described types of adaptations information mates with the types of adaptations of adaptive plug-in unit bag, if signature check does not pass through, then abandon this adaptive plug-in unit bag received, re-download adaptive plug-in unit bag.
Fig. 3 is the schematic flow sheet of the another kind of Android system adaptation module dynamic updating method shown in the application one exemplary embodiment, as it is shown on figure 3, described method includes:
Step S301, the adaptive user end to server of many cards sends the types of adaptations information of client identification information and current home mobile phone.
Wherein, described client identification information can be the unique code arranged for self after the adaptive client of many cards is installed, and described unique code can distinguish the adaptive client of many cards installed in different mobile phone.Described client identification information can also be handset identity code, the adaptive client of many cards installed in different mobile phone by blocking the handset identity code of adaptive client ownership to be distinguished more.
Step S302, the types of adaptations information of client identification information described in server record and corresponding current home mobile phone.
Wherein, after server receives the types of adaptations information of described client identification information and current home mobile phone, recording the types of adaptations information of described client identification information and current home mobile phone, described client identification information is corresponding with described types of adaptations information.
Step S303, when the adaptive plug-in unit bag with described types of adaptations information matches exists and updates, server sends described adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag according to described client identification information to corresponding many card adaptation clients.
Wherein, server can the update status of adaptive plug-in unit bag in timing or periodic scan data base, when the adaptive plug-in unit bag in data base exists and updates, the pre-recorded types of adaptations information that inquiry is mated with the adaptive plug-in unit bag being updated, when there is the pre-recorded types of adaptations information mated with the adaptive plug-in unit bag being updated, according to the client identification information that described types of adaptations information is corresponding, described adaptive plug-in unit bag is sent to the corresponding adaptive client of many cards, or generate the download address of described adaptive plug-in unit bag, described download address is sent to the corresponding adaptive client of many cards.Server can also timing or the types of adaptations information of periodic scan record, with the adaptive plug-in unit bag of types of adaptations information matches in inquiry data base, to each types of adaptations information, if there is the adaptive plug-in unit bag with types of adaptations information matches, and there is renewal in adaptation plug-in unit bag, the version that such as historical record compared by adaptive plug-in unit bag is latest edition, then find the client identification information corresponding with described types of adaptations information according to the types of adaptations information that there is the adaptive plug-in unit bag coupling updated, it is sent to the adaptive client of many cards that described client identification information is corresponding by there is the adaptive plug-in unit bag updated, or according to the described download address that there is the described adaptive plug-in unit bag of the adaptive plug-in unit bag generation updated, described download address is sent to the adaptive client of many cards that described client identification information is corresponding.
Step S304, the adaptive clients of many cards receive the download address of adaptive plug-in unit bag that servers send according to described more newly requested and described types of adaptations information or described adaptation plug-in unit bag.
Step S305, the adaptive client of many cards receives or downloads described adaptive plug-in unit bag.
Step S306, adaptive plug-in unit bag according to described types of adaptations information checking.
Step S307, if verification is passed through, the adaptive client of many cards installs described adaptive plug-in unit bag.
Wherein, step S304 to step S307 is referring to step S203 to step S206.In Fig. 3, dotted line represents the transmission between the adaptive client and server of many cards and reception relation.
Description by above embodiment of the method, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the application and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by the technical scheme of the application substantially in other words can embody with the form of software product, and it is stored in a storage medium, including some instructions with so that a smart machine performs all or part of step of method described in each embodiment of the application.And aforesaid storage medium includes: the various media that can store data and program code such as read only memory (ROM), random access memory (RAM), magnetic disc or CDs.
Fig. 4 is the block diagram of the adaptive client of a kind of many cards shown in the application one exemplary embodiment.As shown in Figure 4, the described adaptive client of many cards includes:
First sending module U401, more newly requested for sending, to server, the adaptation module including current home mobile phone types of adaptations information;
Adaptive plug-in unit bag acquisition module U402, is connected with U401, for receiving the adaptive plug-in unit bag that server sends according to described types of adaptations information, or the described adaptive plug-in unit bag of download address download of the described adaptive plug-in unit bag sent according to server;
Module U403 is installed, is connected with U402, be used for described adaptive plug-in unit bag is installed.
Wherein, when server send be adaptive plug-in unit bag time, described adaptive plug-in unit bag acquisition module U402 is used for receiving described adaptive plug-in unit bag, when server send be the download address of adaptive plug-in unit bag time, described adaptive plug-in unit bag acquisition module U402 may include that
Download address receiver module, for receiving the download address of the adaptive plug-in unit bag that server sends;
Download module, for downloading adaptive plug-in unit bag according to described download address.
Wherein, the described adaptive client of many cards, it is also possible to including:
Second sending module, for sending client identification information and current home mobile phone types of adaptations information to server.
Fig. 5 is the block diagram of the adaptive client of a kind of many cards shown in the application another exemplary embodiment.As it is shown in figure 5, the described adaptive client of many cards includes:
Update data obtaining module U501, the up-to-date adaptive plug-in unit package informatin of server described in timing acquisition.
First judge module U502, is connected with U501, for judging whether the renewal of adaptive plug-in unit bag according to described up-to-date adaptive plug-in unit package informatin.
First sending module U503, is connected with U502, more newly requested for sending, to server, the adaptation module including current home mobile phone types of adaptations information.
Adaptive plug-in unit bag acquisition module U504, is connected with U503, receives the adaptive plug-in unit bag that server sends or the described adaptive plug-in unit bag of download address download of the described adaptive plug-in unit bag sent according to server according to described types of adaptations information.
Correction verification module U505, is connected with U504, for plug-in unit bag adaptive according to described types of adaptations information checking.
Wherein, described correction verification module U505 includes:
Second judge module U5051, for judging the types of adaptations of described adaptive plug-in unit bag according to the configuration file of described adaptive plug-in unit bag;
3rd judge module U5052, is connected with U5051, for judging whether described types of adaptations information mates with the types of adaptations of described adaptive plug-in unit bag, if it does, then verification is passed through, if it does not match, verification is not passed through.
Install module U506, is connected with U505, for when verification by time, install described adaptation plug-in unit bag.
Fig. 6 is the block diagram of the adaptive client of a kind of many cards shown in the application further example embodiment.As shown in Figure 6, the described adaptive client of many cards includes:
System detection module U601, whether the system version for detecting current home mobile phone changes;
First sending module U602, is connected with U601, for when system version current home mobile phone being detected changes, sending, to server, the adaptation module including current home mobile phone types of adaptations information more newly requested.
Adaptive plug-in unit bag acquisition module U603, is connected with U602, for receiving the adaptive plug-in unit bag that server sends according to described types of adaptations information, or the described adaptive plug-in unit bag of download address download of the described adaptive plug-in unit bag sent according to server;
Correction verification module U604, is connected with U603, for plug-in unit bag adaptive according to described types of adaptations information checking.
Wherein, described correction verification module U604 includes:
Second judge module U6041, for judging the types of adaptations of described adaptive plug-in unit bag according to the configuration file of described adaptive plug-in unit bag;
3rd judge module U6042, for judging whether described types of adaptations information mates with the types of adaptations of described adaptive plug-in unit bag, if it does, then verification is passed through, if it does not match, verification is not passed through.
Install module U605, is connected with U604, for when verification by time, install described adaptation plug-in unit bag.
Fig. 7 is the block diagram of a kind of server shown in the application one exemplary embodiment.As it is shown in fig. 7, described server includes:
First receiver module U701, the adaptation module including current home mobile phone types of adaptations information for receiving the adaptive client transmission of many cards is more newly requested;
Adaptive plug-in unit bag feedback module U702, is connected with U701, for sending adaptive plug-in unit bag or the download address of described adaptation plug-in unit bag to described client according to described types of adaptations information.
Wherein, described adaptive plug-in unit bag feedback module, it is possible to including:
Select submodule, for selecting corresponding adaptive plug-in unit bag according to described types of adaptations information;
Send submodule, be used for sending described adaptive plug-in unit bag, or generate download address according to described adaptive plug-in unit bag, and send described download address to client.
Fig. 8 is the block diagram of the another kind of server shown in the application one exemplary embodiment.As shown in Figure 8, described server includes:
Second receiver module U801, for receiving client identification information and the current home mobile phone types of adaptations information that the adaptive client of many cards sends;
Logging modle U802, is connected with U801, for recording described client identification information and corresponding described types of adaptations information;
Update judge module U803, be connected with U802, for judging whether the adaptive plug-in unit bag with described types of adaptations information matches exists renewal;
Adaptive plug-in unit bag feedback module U804, it is connected with U803, for when server exists with the adaptive plug-in unit bag of described types of adaptations information matches update time, send described adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag to corresponding client according to described client identification information.
For convenience of description, it is divided into various module to be respectively described with function when describing apparatus above.Certainly, the function of each module can be realized in same or multiple softwares and/or hardware when implementing the application.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is the difference with other embodiments.Especially for device or system embodiment, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates referring to the part of embodiment of the method.Apparatus and system embodiment described above is merely schematic, the wherein said module illustrated as separating component can be or may not be physically separate, the parts shown as module can be or may not be physical module, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
It should be noted that, in this article, the such as relational terms of " first " and " second " or the like is used merely to separate an entity or operation with another entity or operating space, and there is relation or the backward of any this reality between not necessarily requiring or imply these entities or operating.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, device or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, device or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, device or equipment.
The above is only the detailed description of the invention of the application, makes to skilled artisans appreciate that or realize the application.The multiple amendment of these embodiments be will be apparent to one skilled in the art, and generic principles defined herein when without departing from spirit herein or scope, can realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (13)

1. an Android system adaptation module dynamic updating method, it is characterised in that including:
It is more newly requested that the adaptive user end to server of many cards sends the adaptation module including current home mobile phone types of adaptations information;
Receive the download address of adaptive plug-in unit bag that server sends according to described types of adaptations information or described adaptation plug-in unit bag;
After receiving or download described adaptive plug-in unit bag, described adaptive plug-in unit bag is installed.
2. Android system adaptation module dynamic updating method as claimed in claim 1, it is characterised in that:
The up-to-date adaptive plug-in unit package informatin of server described in the adaptive client timing acquisition of many cards, when judging, according to described up-to-date adaptive plug-in unit package informatin, the renewal that there is adaptive plug-in unit bag, sends adaptation module to server more newly requested.
3. Android system adaptation module dynamic updating method as claimed in claim 1, it is characterised in that:
When the adaptive client of many cards detects that the system version of current home mobile phone changes, send, to server, the adaptation module including current home mobile phone types of adaptations information more newly requested.
4. the Android system adaptation module dynamic updating method as described in any one of claims 1 to 3, it is characterised in that after receiving or download described adaptive plug-in unit bag, before installing described adaptive plug-in unit bag, also includes:
Client is adaptive plug-in unit bag according to described types of adaptations information checking, and described verification includes:
Configuration file according to described adaptive plug-in unit bag judges the types of adaptations of described adaptive plug-in unit bag;
Judge whether described types of adaptations information mates with the types of adaptations of described adaptive plug-in unit bag, if it does, then verification is passed through.
5. an Android system adaptation module dynamic updating method, it is characterised in that including:
The adaptive user end to server of many cards sends the types of adaptations information of client identification information and current home mobile phone;
The types of adaptations information of client identification information described in server record and corresponding current home mobile phone;
When the adaptive plug-in unit bag with described types of adaptations information matches exists and updates, server sends described adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag according to described client identification information to corresponding many card adaptation clients;
After the adaptive client of many cards receives or download described adaptive plug-in unit bag, described adaptive plug-in unit bag is installed.
6. the adaptive client of card more than a kind, it is characterised in that including:
First sending module, more newly requested for sending, to server, the adaptation module including current home mobile phone types of adaptations information;
Adaptive plug-in unit bag acquisition module, for receiving the adaptive plug-in unit bag that server sends according to described types of adaptations information, or the described adaptive plug-in unit bag of download address download of the described adaptive plug-in unit bag sent according to server;
Module is installed, is used for described adaptive plug-in unit bag is installed.
7. the adaptive client of many cards as claimed in claim 6, it is characterised in that also include:
Update data obtaining module, the up-to-date adaptive plug-in unit package informatin of server described in timing acquisition;
First judge module, for judging whether the renewal of adaptive plug-in unit bag according to described up-to-date adaptive plug-in unit package informatin,
Described first sending module is for when there is the renewal of adaptive plug-in unit bag, sending adaptation module to server more newly requested.
8. the adaptive client of many cards as claimed in claim 6, it is characterised in that also include:
System detection module, whether the system version for detecting current home mobile phone changes,
Described first sending module is for when system version current home mobile phone being detected changes, sending, to server, the adaptation module including current home mobile phone types of adaptations information more newly requested.
9. the adaptive client of many cards as claimed in claim 6, it is characterised in that also include:
Second sending module, for sending client identification information and current home mobile phone types of adaptations information to server.
10. the adaptive client of many cards as described in any one of claim 6 to 9, it is characterised in that also include:
Correction verification module, for plug-in unit bag adaptive according to described types of adaptations information checking, described correction verification module includes:
Second judge module, for judging the types of adaptations of described adaptive plug-in unit bag according to the configuration file of described adaptive plug-in unit bag;
3rd judge module, for judging whether described types of adaptations information mates with the types of adaptations of described adaptive plug-in unit bag, if it does, then verification is passed through.
11. a server, it is characterised in that including:
First receiver module, the adaptation module including current home mobile phone types of adaptations information for receiving the adaptive client transmission of many cards is more newly requested;
Adaptive plug-in unit bag feedback module, for sending adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag according to described types of adaptations information to described client.
12. server as claimed in claim 11, it is characterised in that described adaptive plug-in unit bag feedback module, including:
Select submodule, for selecting corresponding adaptive plug-in unit bag according to described types of adaptations information;
Send submodule, be used for sending described adaptive plug-in unit bag, or generate download address according to described adaptive plug-in unit bag, and send described download address to client.
13. a server, it is characterised in that including:
Second receiver module, for receiving client identification information and the current home mobile phone types of adaptations information that the adaptive client of many cards sends;
Logging modle, for recording described client identification information and corresponding described types of adaptations information;
Update judge module, for judging whether the adaptive plug-in unit bag with described types of adaptations information matches exists renewal;
Adaptive plug-in unit bag feedback module, for when server exists with the adaptive plug-in unit bag of described types of adaptations information matches update time, send described adaptive plug-in unit bag or the download address of described adaptive plug-in unit bag to corresponding client according to described client identification information.
CN201410765818.2A 2014-12-11 2014-12-11 Android system adaptation module dynamic updating method, client and server Active CN105744511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410765818.2A CN105744511B (en) 2014-12-11 2014-12-11 Android system adaptation module dynamic updating method, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410765818.2A CN105744511B (en) 2014-12-11 2014-12-11 Android system adaptation module dynamic updating method, client and server

Publications (2)

Publication Number Publication Date
CN105744511A true CN105744511A (en) 2016-07-06
CN105744511B CN105744511B (en) 2021-05-04

Family

ID=56241319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410765818.2A Active CN105744511B (en) 2014-12-11 2014-12-11 Android system adaptation module dynamic updating method, client and server

Country Status (1)

Country Link
CN (1) CN105744511B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484470A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 The processing method of application program installation kit, device and server
CN106775734A (en) * 2016-12-23 2017-05-31 北京数字天域科技有限责任公司 A kind of method and apparatus of Andriod system engineerings
CN109308189A (en) * 2018-09-27 2019-02-05 珠海市君天电子科技有限公司 A kind of configuration file update method, device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081653A (en) * 2010-12-31 2011-06-01 杭州华三通信技术有限公司 Equipment service management method and device based on drive
CN102348004A (en) * 2010-08-04 2012-02-08 中国移动通信有限公司 Configuration method of service assembly, system and equipment thereof
CN102523507A (en) * 2011-12-29 2012-06-27 深圳市酷开网络科技有限公司 Method and device for applying external equipment based on intelligent television system
CN102789389A (en) * 2012-08-01 2012-11-21 深圳市茁壮网络股份有限公司 Plug-in version detecting and upgrading method and plug-in detector
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
CN103595867A (en) * 2013-11-14 2014-02-19 北京奇虎科技有限公司 Application program implementation method and device based on multi-card recognition
CN103605551A (en) * 2013-11-28 2014-02-26 金蝶软件(中国)有限公司 Plugin updating method, system and relevant equipment based on IOS program
CN104111827A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Application matching method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348004A (en) * 2010-08-04 2012-02-08 中国移动通信有限公司 Configuration method of service assembly, system and equipment thereof
CN102081653A (en) * 2010-12-31 2011-06-01 杭州华三通信技术有限公司 Equipment service management method and device based on drive
CN102523507A (en) * 2011-12-29 2012-06-27 深圳市酷开网络科技有限公司 Method and device for applying external equipment based on intelligent television system
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
CN102789389A (en) * 2012-08-01 2012-11-21 深圳市茁壮网络股份有限公司 Plug-in version detecting and upgrading method and plug-in detector
CN104111827A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Application matching method and device
CN103595867A (en) * 2013-11-14 2014-02-19 北京奇虎科技有限公司 Application program implementation method and device based on multi-card recognition
CN103605551A (en) * 2013-11-28 2014-02-26 金蝶软件(中国)有限公司 Plugin updating method, system and relevant equipment based on IOS program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484470A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 The processing method of application program installation kit, device and server
CN106775734A (en) * 2016-12-23 2017-05-31 北京数字天域科技有限责任公司 A kind of method and apparatus of Andriod system engineerings
CN106775734B (en) * 2016-12-23 2021-02-23 北京数字天域科技有限责任公司 Andriod system engineering method and device
CN109308189A (en) * 2018-09-27 2019-02-05 珠海市君天电子科技有限公司 A kind of configuration file update method, device and electronic equipment

Also Published As

Publication number Publication date
CN105744511B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US10140109B2 (en) Silent in-vehicle software updates
CN103037312B (en) Information push method and device
US7899959B2 (en) Method of loading software in mobile and desktop environments
CN104657174A (en) Method and device for dynamically realizing application function
CN107015870B (en) Method and device for realizing communication between web page and local application and electronic equipment
CN104836843A (en) Client application program updating method and device
CN102982258A (en) System for conducting original-edition check to mobile application program
US20130060890A1 (en) Apparatus and method for providing application execution using a cloud system
CN103902696A (en) Method and device for loading resource files
CN105812435A (en) Application upgrading data package processing method and device, electronic equipment, and system
CN103678319A (en) Resource file updating method, device and system and server
CN101883139A (en) Method for upgrading peripheral equipment software, computer and system
CN106886436B (en) Android system upgrading method and device
CN105744511A (en) Dynamic update method for Android system adaption module, client and server
CN106686073A (en) Information processing method and system
US20080195769A1 (en) Method of identifying devices in mobile and desktop environments
CN103268444A (en) Android malicious code detection system and method based on plugin loading
CN109547536B (en) Method and system for automatically identifying type of intelligent gateway equipment and upgrading software version
CN105549995A (en) Audio device upgrading method and apparatus
KR101478570B1 (en) Method for installation of an application
CN114416396A (en) Interface version control method and device, electronic equipment and storage medium
CN102137058A (en) Page access method and device based on tab page
US8504669B2 (en) System and method for OSGi-based service delivery framework
CN111512612A (en) Method for remote management of devices connected to a residential gateway
US9830207B2 (en) Message communication system and operation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant