CN102202292B - Method for downloading Java application, Java application manager, server and Java application download system - Google Patents

Method for downloading Java application, Java application manager, server and Java application download system Download PDF

Info

Publication number
CN102202292B
CN102202292B CN2011101553605A CN201110155360A CN102202292B CN 102202292 B CN102202292 B CN 102202292B CN 2011101553605 A CN2011101553605 A CN 2011101553605A CN 201110155360 A CN201110155360 A CN 201110155360A CN 102202292 B CN102202292 B CN 102202292B
Authority
CN
China
Prior art keywords
application
java
list
server
counter
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.)
Active
Application number
CN2011101553605A
Other languages
Chinese (zh)
Other versions
CN102202292A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN2011101553605A priority Critical patent/CN102202292B/en
Publication of CN102202292A publication Critical patent/CN102202292A/en
Application granted granted Critical
Publication of CN102202292B publication Critical patent/CN102202292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for downloading Java application, a Java application manager, a server and a Java application download system, wherein the method for downloading the Java application comprises the steps: the Java application manager sends a list updating request to the server, wherein the list updating request comprises a list column classification identifier and a list page number identifier; the Java application manager receives a list updating instruction issued by the server, wherein the list updating instruction comprises a list matched with the list column classification identifier and the list page number identifier; and the Java application manager correspondingly updates the Java application list according to the list. With the method for downloading the Java application, a user can update a download list autonomously, choose and download the application according to the updated list and then install the application for use, thus the demand on clients for the diversification and personalization of the Java applications is met and the new application is advantageously popularized by an operator.

Description

Download method, Java Application Manager, server and the download system thereof of Java application
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of method, Java Application Manager, server and download system thereof of the Java of download application.
Background technology
Development along with mobile communication technology, the conversation of mobile terminal such as mobile phone, the function of note have become the most basic type of service of mobile communication carrier, and various new value-added service (as download of java class game application etc.) has become the profit growth point of each mobile operator.
In telecom intelligent card, adopt the Java card of JavaCard technology because of its superior performance, have highly versatile, the exploitation autgmentability is high, coverage rate is wide advantage and become the main flow of telecommunications industry smart card in application facet.at present in the application of Java card, mobile communication carrier generally solidifies multi-form increment set meal project in Java card, world's wind of releasing of CHINAUNICOM for example, CDMA, the cover such as EasyCall meal card, all that corresponding value-added service project is solidified in Java card, the value-added service that provides with this cover meal card form, in case the content of value-added service project is solidified in Java card, just can not change again, the mobile terminal client can not upgrade the value-added service project, can not meet mobile phone users to Java application diversity and personalized demand.In addition, also be unfavorable for mobile communication carrier and other application provider's applying new product, new business.
Summary of the invention
The invention provides a kind of method, Java Application Manager, server and download system thereof of the Java of download application, to meet mobile phone users to Java application diversity and personalized demand, and be beneficial to mobile communication carrier and other application provider's applying the Java application product.
A kind of method of downloading the Java application provided by the invention comprises:
Java Application Manager is sent out the list update request on server, described list update request comprises list column class indication and list page number sign;
Described Java Application Manager receives the list update instruction that described server issues, and described list update instruction comprises and described list column class indication and the marking matched list of the described list page number;
Described Java Application Manager, according to described list, carries out corresponding renewal to the Java list of application.
A kind of method of downloading the Java application provided by the invention comprises:
Server receives the list update request of sending out on Java Application Manager, and described list update request comprises list column class indication and list page number sign;
Described server is searched corresponding list according to described list column class indication and described list page number sign;
Described server pushes to described Java Application Manager with described list, is used for the Java list of application is carried out corresponding renewal.
A kind of Java Application Manager provided by the invention comprises:
The first sending module, be used for sending out the list update request on server, and described list update request comprises list column class indication and list page number sign;
The first receiver module, be used for receiving the list update instruction that described server issues, and described list update instruction comprises and described list column class indication and the marking matched list of the described list page number;
The list update module, be used for, according to described list, the Java list of application is carried out corresponding renewal.
Provided by the invention a kind of be used to the Java server that application is downloaded is provided, comprising:
The 4th receiver module, be used for receiving the list update request of sending out on Java Application Manager, and described list update request comprises list column class indication and list page number sign;
The list molded tissue block, be used for searching corresponding list according to described list column class indication and described list page number sign;
The 4th sending module, be used for described list is pushed to described Java Application Manager, is used for the Java list of application is carried out corresponding renewal.
A kind of Java application download system provided by the invention, comprise Java Application Manager and server;
Described Java Application Manager, be used for sending out list update request and application download request on described server, described list update request comprises list column class indication and list page number sign, and described application download request comprises application identities AID, program logo and user ID;
Described server receives described list update request and the application download request of sending out on Java Application Manager, and search corresponding list according to described list column class indication and described list page number sign and push to described Java Application Manager, also according to described program logo and application identities AID, search corresponding application and push to Java card, also be used for toll collection applications is carried out according to described user ID the operation of deducting fees.
The method of download Java provided by the invention application, the user can be autonomous download list is upgraded, server pushes to Java Application Manager according to user's update request with Java list of application (application message) original and newly-increased in server, the user selects download corresponding application and install and use according to the list after upgrading, and has met diversity and the personalized demand of client to the Java application.In addition, when download list was upgraded, the new application message that simultaneously mobile communication carrier and other application provider is provided was updated to Java Application Manager in the lump, is conducive to the popularization of these new application.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, and forms the part of specification, is used for together with embodiments of the present invention explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart that the present invention downloads the embodiment of the method for Java application;
Fig. 2 is for showing the principle schematic of Java application management cascade menu;
Fig. 3 is the flow chart based on the method for the download Java application of Fig. 1 embodiment;
Fig. 4 is the flow chart that the present invention downloads another embodiment of method of Java application;
Fig. 5 is the flow chart based on the method for the download Java application of Fig. 4 embodiment;
Fig. 6 is the structural representation of Java Application Manager of the present invention;
Fig. 7 is the structural representation based on the Java Application Manager embodiment of Fig. 6 embodiment;
Fig. 8 is used for providing the Java structural representation of the server that application is downloaded for the present invention;
Fig. 9 is the structural representation for the server that Java application download is provided based on Fig. 8 embodiment;
Figure 10 is the structural representation of Java application download system of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment that obtains, belong to the scope of protection of the invention.
As shown in Figure 1, the present invention downloads the flow chart of the embodiment of the method for Java application, comprises the steps:
The S100:Java application manager is sent out the list update request on server, described list update request comprises list column class indication and list page number sign;
Java card at client's mobile terminal is embedded in Java Application Manager.Client's mobile terminal can be the handheld terminals such as mobile phone, net book, panel computer.After the client operates client's mobile terminal and enters into Java Application Manager, if the download list in Java Application Manager is empty, Java Application Manager is sent out the list update request on server, described list update request comprises list column class indication and list page number sign, at this moment, the list update request is automatically to trigger and send.Wherein, described list column class indication is used for characterizing the list of different application classification, as music download list, software download list etc.As shown in table 1, on the form that says the word, comprise command header, counter, ICCID, up order data and MAC value, wherein, list column class indication and list page number sign just are contained in up order data.Download list also has, if can independently not upgraded by the client for sky.Java Application Manager has the list items of the demonstration of the form with STK (sim tool kit, STK) cascade menu down load application as shown in Figure 2.Be divided into application and download and apply two columns of recommendation in the second-level menu of STK.Listed the application of not downloading in the submenu (namely applying download list) that application is downloaded, down load application 1 not for example, down load application 2 ..., down load application N not; Listed the exemplary application of not downloading in the submenu (namely applying recommendation list) that application is recommended, for example exemplary application 1, exemplary application 2 ..., exemplary application N.Have lower one page button under current page,, if when the client need to upgrade download list, only need click lower one page button and get final product, after clicking lower one page button, Java Application Manager is sent out the list update request on server.
The form that says the word on table 1Java application manager
Project Length (byte) Value
Command header
4 0x6A617661
Counter 5 HEX
ICCID 10 HEX
Up order data X HEX
The MAC value 4 HEX
Java Application Manager is upper line command to the order that server sends, and upper line command comprises that the user registers, applies the types such as download request, list update request and request application introduction.
S200: described Java Application Manager receives the list update instruction that described server issues, and described list update instruction comprises and described list column class indication and the marking matched list of the described list page number;
Server is after receiving the list update request of sending out on Java Application Manager, identify to search according to the described list column class indication in the list update request and the described list page number list that is complementary with it, and with this list, organize the list update instruction to send to described Java Application Manager, described Java Application Manager receives the list update instruction from server.
S300: described Java Application Manager, according to described list, carries out corresponding renewal to the Java list of application;
After Java Application Manager receives the list update instruction, according to the list information that comprises in described list update instruction, the Java list of application is carried out corresponding renewal.
Pass through above-mentioned steps, list is upgraded, can select corresponding application to download and install according to the list after upgrading, meet diversity and the personalized demand of client to the Java application, also be conducive to the popularization of operator to new business, application simultaneously.
On the basis of above-described embodiment, further, as shown in Figure 3, not only comprise step S100, S200, S300, and at described Java Application Manager to before sending out on described server the list update request described, also comprise:
Step S101: described Java Application Manager is sent out the Java card registration request on described server, described Java card registration request comprises integrated circuit card identification code (ICCID:Integrate circuit card identity) and the international mobile subscriber identity (IMSI:International Mobile Subscriber Identification Number) of Java card.
, through above-mentioned steps, after the Java list of application upgrades end, also comprise:
Step S400: described Java Application Manager is sent out the application download request on described server, described application download request comprises application identities AID, program logo and user ID;
Application identities AID, program logo and user ID are to be recorded in the up order data of line command equally.Wherein, program logo is used for characterizing different classes of application, as music categories, software classification etc.
Step S500: described Java card receives with described program logo and application identities AID, applying accordingly of described server push.
After Java card receives described application, just can install and use it.
, in order to record the number of times of down load application, comprise step:
S401: when Java Application Manager is initiated the application download request to described server, start the first counter, and make described the first counter add 1; And step S402: to after sending out an application download request on described server and finishing, described the first counter is added value after 1 at described Java Application Manager, be updated to the currency of described the first counter.This currency is the total degree of down load application.
To judge whether legal MAC value of download request in order sending to server for server, also to comprise:
Step S403: at described the first counter, add after 1, take out local application cipher key calculation MAC value, and will calculate gained MAC value and insert described application download request, described MAC value comprises the currency of described the first counter, the numerical value of described local application key and the numerical value of described ICCID.The calculating of MAC value is adopted Data Encryption Standard-Cipher Block Chaining (DES-CBC) cryptographic algorithm of standard, the initial value of local application key is predisposed to 8 bytes.
As shown in Figure 4, the present invention downloads the flow chart of another embodiment of method of Java application, comprises the steps:
S1100: server receives the list update request of sending out on Java Application Manager, and described list update request comprises list column class indication and list page number sign;
S1200: described server is searched corresponding list according to described list column class indication and described list page number sign;
S1300: described server pushes to described Java Application Manager with described list, is used for the Java list of application is carried out corresponding renewal.
In the present embodiment, server is according to the list column class indication in the list update request and list page number sign, go to search corresponding list in list storehouse in server, and the respective list that obtains is packed to build the list update instruction, the list update instruction is issued to Java Application Manager, is used for the Java list of application is carried out corresponding renewal.
Server is except carrying out corresponding renewal the Java list of application according to the list update request, can also be autonomous issue the more capable instruction of list.The list update instruction that issues that server is autonomous is that each exemplary application list items in Fig. 2 is upgraded.It is pointed out that in Fig. 2 that the list update that application is downloaded initiated by Java Application Manager, realized the purpose of autonomous renewal by the renewal of Java Application Manager application download, can meet client's variation must needs; The renewal of exemplary application list can only regularly be initiated by server, and it is that operator is to the popularization of new business and popular business recommended platform.
On the basis of above-described embodiment, further, as shown in Figure 5, not only comprise above-mentioned steps S1100, S1200, S1300, before described server pushes described list to described Java Application Manager, also comprise the steps:
S1101: described server receives the Java card registration request of sending out on described Java Application Manager, and described Java card registration request comprises ICCID and the IMSI of Java card;
S1102: described server judges the legitimacy of described Java card according to the ICCID of Java card and IMSI;
If judgement knows that described Java card is legal, be Java card be by particular operator distribution and have a corresponding with it international mobile subscriber identity in the database of this operator, Java card succeeds in registration, in the situation that Java succeeds in registration, just can carry out subsequent step S1100; If judgement knows that described Java card is illegal, the Java card registration is unsuccessful, and termination process.
Download to related application is carried out after the Java list of application upgrades end, comprise step:
S1400: described server receives the application download request of sending out on described Java Application Manager, and described application download request comprises application identities AID, program logo and user ID;
, in order to prevent from carrying out illegal download, after server receives the application download request, carry out following step:
S1401: described server judges the legitimacy that is recorded in the MAC value in described download request;
, if judgement knows that described MAC value is legal, carry out following step S1402; Otherwise termination process.
Further, after judgement knows that the MAC value is legal, comprise step:
S1402: described server takes out the second counter, and with the numerical value of described the second counter, and the numerical value of the first counter with being recorded in the MAC value in interior Java Application Manager compares judgement;
, if the numerical value of the numerical value of described the second counter less than described the first counter is known in judgement, perform step S1500; Otherwise termination process.
Under initial condition, the first counter of Java card end and the second counter of server end are zero.While sending out the list update request on Java Application Manager, the first counter adds 1, and will add records of values after 1 in described MAC value.Send out the list update request as example take upper for the first time, after sending list update request for the first time, this moment, the value of the first counter was 1, the value of the second counter is 0, namely, the value of the second counter, less than the value of the first counter, illustrates that rolling counters forward is correct, and can carry out application is pushed to Java card this moment.And the first counter and the second counter values relatively after, upgrade the numerical value of the second counter with the numerical value of the first counter, according to this, the numerical value of the first counter is forever greater than the numerical value of the second counter under normal circumstances.During greater than the numerical value of the first counter, the second counter step-out is described when the numerical value of the second counter, need to recover this moment to the second counter, makes its numerical value revert to 0.
S1500: described whois lookup and described program logo and application identities AID apply accordingly;
The application download request is the corresponding list of user by selecting and by Java Application Manager, being sent, each list items is a corresponding unique application identities AID, described list column class indication all, and server can be searched corresponding application according to described list column class indication and application identities AID.
S1600: described application is pushed to Java card.
After searching the corresponding application of acquisition, server sends to Java card (that concrete is the CardManager that sends on card, and this process is standard procedure, in GP and following related specifications, definition is arranged all) with described application, is used for installing.
Also have, before described server pushes to Java card with described application, comprise step:
S1403: whether described server is charged and is judged described application;
, if the described toll collection applications that is applied as is known in judgement, perform step S1404: described server is carried out and is deducted fees according to described user ID; Before execution was deducted fees, server also can judge whether the customer charge remaining sum enough is used for paying the application of downloading, and only in the situation that remaining sum is enough, just performs step S1600 according to user ID, if Sorry, your ticket has not enough value termination process.
If the described free application that is applied as is known in judgement, described server is not carried out and is deducted fees.
Download to a half in order to prevent application, the problem that because of the Java card insufficient space, can't continue to download occurs, before described server pushes to Java card with described application, also comprise step:
S1405: described server initiates to obtain the remaining space instruction to described Java card, to obtain the remaining space of Java card, and the size of described remaining space and described application is compared judgement;
, if the size of described remaining space greater than described application known in judgement, perform step S1600; If the size of described remaining space less than described application, termination process are known in judgement.server is judged as the logic of obtaining of Java card remaining space: the size of the Java card remaining space that 1) records in server and respective application requisite space differ less and (can be decided to be, but be not limited to≤1K) time, initiate to obtain the remaining space instruction to described Java card, this is to have certain discrepancy because be applied in the space and himself size that take on Java card, this can cause the Java card remaining space of record in remaining space actual on Java card and server not quite identical, in order to prevent the Java card remaining space that records in server greater than the required space of want down load application, but remaining space actual on Java card is less than the required space of want down load application, therefore adopt above-mentioned logic to obtain the size in Java card real surplus space this moment, 2) after having carried out the inferior successfully download of N (can be decided to be, but be not limited to 10 times), to described Java card, initiate to obtain the remaining space instruction.
Adopt common short message mode to carry out the mutual of information, order between Java Application Manager and server.Be down order by server to the order that Java Application Manager sends, down order comprises that the user registers the types such as response, list update response, application recommendation and request user registration.Down order adopts the data SMS mode of 03.48 form, its concrete norm reference:
ETST TS 102 225 Release 6;
ETSI TS 102 226 Release 6;
The TAR value is got 83915A.
When server pushes described application to described Java card, described server judges that whether the size of described application is greater than capacity threshold, this capacity threshold is used for characterizing the size of data volume required while switching to CAT_TP (Card Application Toolkit_transport Protocol) transmission means, if the size that described application is known in judgement, greater than capacity threshold, is selected to adopt the CAT_TP mode that described application is pushed to Java card; Otherwise adopt short message channel one by one described application to be pushed to Java card one by one.
If while adopting CAT_TP to push described application to Java card, described server issues the PUSH order BIP (Bearer Independent Protocol) passage is carried out opening operation, successfully continue to carry out the transmission of data with CAT_TP if the BIP passage is opened, if the BIP passage is opened successfully, do not change by short message channel and carry out the transmission of data.
Finally, after described server pushes to Java card with described application, also comprise step:
S1700: described server is according to the described application that has pushed, and corresponding described application identities AID, delete corresponding list items in the Java list of application.Can prevent from like this repeated downloads is carried out in application.
As shown in Figure 6, the structural representation of Java Application Manager of the present invention, comprise the first sending module 1, the first receiver module 6 and list update module 7.
Concrete, described the first sending module 1 is used for sending out the list update request on server, and described list update request comprises list column class indication and list page number sign.Described the first receiver module 6 is used for receiving the list update instruction that described server issues, and described list update instruction comprises and described list column class indication and the marking matched list of the described list page number.Described list update module 7 is used for, according to described list, the Java list of application is carried out corresponding renewal.
Based on above-described embodiment, further, as shown in Figure 7, not only comprise the first sending module 1, the first receiver module 6 and list update module 7, also comprise that the second sending module 2 is used for sending out the Java card registration request on server, described Java card registration request comprises ICCID and the IMSI of Java card.The 3rd sending module 3 is used for sending out the application download request on described server, and described application download request comprises application identities AID, program logo and user ID.The first counter module 4 is used for carrying out when sending out the application download request on described server and adding 1 operation at described the 3rd sending module 3, and after described download request sends and finishes, and is updated to the currency of this first counter module 4 to add numerical value after 1 operation.MAC value processing module 8 is used for after described the first counter module 4 execution add 1 operation, numerical computations with the currency of described the first counter module 4, the numerical value of stating local application key and described ICCID obtains the MAC value, and described MAC value is inserted described application download request.The first sending module 1, the second sending module 2 and the 3rd sending module 3 form total sending module.
As shown in Figure 8, the present invention is used for providing the Java structural representation of the server that application is downloaded, and comprises the 4th receiver module 9, list molded tissue block 26 and the 4th sending module 25.
Concrete, described the 4th receiver module 9 is used for receiving the list update request of sending out on Java Application Manager, and described list update request comprises list column class indication and list page number sign.Described list molded tissue block 26 is used for searching corresponding list according to described list column class indication and described list page number sign.Described the 4th sending module 25 is used for described list is pushed to described Java Application Manager, is used for the Java list of application is carried out corresponding renewal.
Based on above-described embodiment, as shown in Figure 9, not only comprise the 4th receiver module 9, list molded tissue block 26 and the 4th sending module 25, and described the 4th receiver module 9 also is used for receiving the Java card registration request of sending out on described Java Application Manager, and described Java card registration request comprises ICCID and the IMSI of Java card; And be used for receiving the application download request of sending out on described Java Application Manager, described application download request comprises application identities AID, program logo and user ID.The first judge module 11 is used for the legitimacy according to described ICCID and described IMSI judgement Java card.Also comprise the judged result of Java card Registering modules 12 according to described the first judge module 11, determine that whether Java card succeeds in registration.Application is searched module 21 and is used for searching with described program logo and application identities AID applying accordingly.The 5th sending module 19 is used for described application is pushed to Java card.The second judge module 22 is used for judging whether described application is toll collection applications.The module of deducting fees 20 is used for knowing in described the second judge module 22 judgements described while being applied as toll collection applications, carries out the operation of deducting fees accordingly.MAC value validity judgement module 27 is used for the legitimacy of the MAC value that is recorded in described download request is judged, if judgement knows that described MAC value is legal, will push to described Java card according to the described application that described program logo and described application identities AID find, if it is illegal that described MAC value is known in judgement, termination process.The second counter module 13 is in order to record the currency of the first counter module of putting down in writing in a upper download request.Whether the numerical value that the 3rd judge module 14 is used for judging described the second counter module 13 is greater than the numerical value of described the first counter module that is recorded in described download request, if the numerical value of the numerical value of described the second counter less than described the first counter is known in judgement, will push to described Java card according to the described application that described program logo and described application identities AID find, if the numerical value of the numerical value of described the second counter more than or equal to described the first counter, termination process are known in judgement.Remaining space acquisition module 23 is used for initiating to obtain the remaining space instruction to described Java card, to obtain the remaining space of Java card.The 4th judge module 24 is used for judging that described remaining space is whether greater than the size of described application, if the size of described remaining space greater than described application known in judgement, will push to described Java card according to the described application that described program logo and described application identities AID find, if the size of described remaining space less than described application, termination process are known in judgement.Whether the size that the 5th judge module 16 is used for judging described application is greater than capacity threshold, if the size that described application is known in judgement, greater than capacity threshold, is selected to adopt the CAT_TP mode that described application is pushed to Java card; Otherwise adopt short message channel one by one described application to be pushed to Java card one by one.The 6th judge module 17 is used for when adopting CAT_TP to push described application to Java card, and judgement BIP passage is opened success or not, if open, successfully continues to push described application with CAT_TP, otherwise change by short message channel, pushes described application.List items removing module 15 is used for after described application pushes end,, according to described application identities AID corresponding to described application, deletes corresponding list items in the Java list of application.
As shown in figure 10, be the structural representation of Java application download system of the present invention, comprise Java Application Manager 28 and server 29.
Concrete, described Java Application Manager 28 is used for sending out list update request and application download request on described server, described list update request comprises list column class indication and list page number sign, and described application download request comprises application identities AID, program logo and user ID.Described server 29 receives described list update request and the application download request of sending out on Java Application Manager, and search corresponding list according to described list column class indication and described list page number sign and push to described Java Application Manager, also according to described program logo and application identities AID, search corresponding application and push to Java card, also be used for toll collection applications is carried out according to described user ID the operation of deducting fees.
It should be noted that finally: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (19)

1. a method of downloading the Java application, is characterized in that, comprising:
Java Application Manager is sent out the list update request on server, described list update request comprises list column class indication and list page number sign;
Described Java Application Manager receives the list update instruction that described server issues, and described list update instruction comprises and described list column class indication and the marking matched list of the described list page number;
Described Java Application Manager, according to described list, carries out corresponding renewal to the Java list of application;
Wherein, after described Java application row upgrade end, also comprise: described Java Application Manager is sent out the application download request on described server, described application download request comprises application identities AID, program logo and user ID;
When described Java Application Manager was initiated the application download request to described server, described Java Application Manager started the first counter, and makes described the first counter add 1;
To after sending out an application download request on described server and finishing, described Java Application Manager adds value after 1 with described the first counter at described Java Application Manager, is updated to the currency of described the first counter;
Add after 1 at described the first counter, described Java Application Manager takes out local application cipher key calculation MAC value, and will calculate gained MAC value and insert described application download request, described MAC value comprises the currency of described the first counter, the numerical value of described local application key and the numerical value of described ICCID;
Java card receives with described program logo and application identities AID, applying accordingly of described server push.
2. the method for download according to claim 1 Java application, is characterized in that, at described Java Application Manager,, to before sending out on described server the list update request described, also comprises:
Described Java Application Manager is sent out the Java card registration request on described server, described Java card registration request comprises ICCID and the IMSI of Java card.
3. a method of downloading the Java application, is characterized in that, comprising:
Server receives the list update request of sending out on Java Application Manager, and described list update request comprises list column class indication and list page number sign;
Described server is searched corresponding list according to described list column class indication and described list page number sign;
Described server pushes to described Java Application Manager with described list, is used for the Java list of application is carried out corresponding renewal;
Wherein, after described Java list of application upgrades end, also comprise: described server receives the application download request of sending out on described Java Application Manager, and described application download request comprises application identities AID, program logo and user ID;
After described server received the application download request, described server judged the legitimacy that is recorded in the MAC value in described download request;
If judgement knows that described MAC value is legal, described server takes out the second counter, and with the numerical value of described the second counter, and the numerical value of the first counter with being recorded in the MAC value in interior Java Application Manager compares judgement; The download time of described the first counter records application; The currency of the first counter of putting down in writing in download request on described the second counter records;
, if the numerical value of the numerical value of described the second counter less than described the first counter is known in judgement, will push to described Java card according to the described application that described program logo and described application identities AID find;
If the numerical value of the numerical value of described the second counter more than or equal to described the first counter, termination process are known in judgement;
If it is illegal that described MAC value is known in judgement, termination process.
4. the method for download Java according to claim 3 application, is characterized in that, before described server pushes described list to described Java Application Manager, also comprises:
Described server receives the Java card registration request of sending out on described Java Application Manager, and described Java card registration request comprises ICCID and the IMSI of Java card;
Described server judges the legitimacy of described Java card according to the ICCID of Java card and IMSI:
If judgement knows that described Java card is legal, Java card succeeds in registration;
If judgement knows that described Java card is illegal, the Java card registration is unsuccessful, and termination process.
5. the method for download Java according to claim 3 application, is characterized in that, before described server pushes to Java card with described application, also comprises:
Whether described server is charged and is judged described application;
If the described toll collection applications that is applied as is known in judgement, described server is carried out and is deducted fees according to described user ID;
If the described free application that is applied as is known in judgement, described server is not carried out and is deducted fees.
6. the method for download Java according to claim 3 application, is characterized in that, before described server pushes to Java card with described application, also comprises:
Described server initiates to obtain the remaining space instruction to described Java Application Manager, to obtain the remaining space of Java card, and the size of described remaining space and described application is compared judgement;
, if the size of described remaining space greater than described application known in judgement, will push to described Java card according to the described application that described program logo and described application identities AID find;
If the size of described remaining space less than described application, termination process are known in judgement.
7. the method for download Java according to claim 3 application, is characterized in that,
Whether described server judges the size of described application greater than capacity threshold, if the size that described application is known in judgement, greater than capacity threshold, is selected to adopt the CAT_TP mode that described application is pushed to Java card; Otherwise adopt short message channel one by one described application to be pushed to Java card one by one.
8. the method for download Java according to claim 7 application, is characterized in that,
If while adopting CAT_TP to push described application to Java card, described server issues the PUSH order BIP passage is carried out opening operation, successfully continue to carry out the transmission of data with CAT_TP if the BIP passage is opened, if the BIP passage is opened successfully, do not change by short message channel and carry out the transmission of data.
9. the method for download Java according to claim 7 application, is characterized in that, after described server pushes to Java card with described application, also comprises:
Described server is according to the described application that has pushed, and corresponding described application identities AID, delete corresponding list items in the Java list of application.
10. a Java Application Manager, is characterized in that, comprising:
The first sending module, be used for sending out the list update request on server, and described list update request comprises list column class indication and list page number sign;
The first receiver module, be used for receiving the list update instruction that described server issues, and described list update instruction comprises and described list column class indication and the marking matched list of the described list page number;
The list update module, be used for, according to described list, the Java list of application is carried out corresponding renewal;
The 3rd sending module, be used for sending out the application download request on described server, and described application download request comprises application identities AID, program logo and user ID;
The first counter module, be used for carrying out when sending out the application download request on described server and adding 1 operation at described the 3rd sending module, and after described download request sends and finishes, and is updated to the currency of this first counter module to add numerical value after 1 operation;
MAC value processing module, be used for after described the first counter module execution adds 1 operation, numerical computations with the currency of described the first counter module, the numerical value of stating local application key and described ICCID obtains the MAC value, and described MAC value is inserted described application download request.
11. Java Application Manager according to claim 10, is characterized in that, also comprises:
The second sending module, be used for sending out the Java card registration request on server, and described Java card registration request comprises ICCID and the IMSI of Java card.
12. one kind is used for providing the Java server that application is downloaded, and it is characterized in that, comprising:
The 4th receiver module, be used for receiving the list update request of sending out on Java Application Manager, and described list update request comprises list column class indication and list page number sign;
The list molded tissue block, be used for searching corresponding list according to described list column class indication and described list page number sign;
The 4th sending module, be used for described list is pushed to described Java Application Manager, is used for the Java list of application is carried out corresponding renewal;
Described the 4th receiver module, also be used for receiving the application download request of sending out on described Java Application Manager, and described application download request comprises application identities AID, program logo and user ID;
Module is searched in application, is used for searching with described program logo and application identities AID applying accordingly;
The 5th sending module, be used for described application is pushed to Java card;
The second counter module, in order to record the currency of the first counter module of putting down in writing in a upper download request; The download time of described the first counter module record application;
The 3rd judge module, whether the numerical value that is used for judging described the second counter module is greater than the numerical value of described the first counter module that is recorded in described download request, if the numerical value of the numerical value of described the second counter module less than described the first counter module is known in judgement, will push to described Java card according to the described application that described program logo and described application identities AID find, if the numerical value of the numerical value of described the second counter more than or equal to described the first counter, termination process are known in judgement;
MAC value validity judgement module, legitimacy for the MAC value to being recorded in described download request judges, if judgement knows that described MAC value is legal, will push to described Java card according to the described application that described program logo and described application identities AID find, if it is illegal that described MAC value is known in judgement, termination process.
13. server according to claim 12, is characterized in that,
Described the 4th receiver module, also be used for receiving the Java card registration request of sending out on described Java Application Manager, and described Java card registration request comprises ICCID and the IMSI of Java card;
Also comprise the first judge module, be used for the legitimacy according to described ICCID and described IMSI judgement Java card;
The Java card Registering modules,, according to the judged result of described the first judge module, determine that whether Java card succeeds in registration.
14. server according to claim 12, is characterized in that, also comprises:
The second judge module, be used for judging whether described application is toll collection applications;
The module of deducting fees, be used for knowing in described the second judge module judgement described while being applied as toll collection applications, carries out the operation of deducting fees accordingly.
15. server according to claim 12, is characterized in that, also comprises:
The remaining space acquisition module, be used for initiating to obtain the remaining space instruction to described Java card, to obtain the remaining space of Java card;
The 4th judge module, be used for judging that described remaining space is whether greater than the size of described application, if the size of described remaining space greater than described application known in judgement, will push to described Java card according to the described application that described program logo and described application identities AID find, if the size of described remaining space less than described application, termination process are known in judgement.
16. server according to claim 12, is characterized in that, also comprises:
Whether the 5th judge module, the size that is used for judging described application be greater than capacity threshold, if the size that described application is known in judgement, greater than capacity threshold, is selected to adopt the CAT_TP mode that described application is pushed to Java card; Otherwise adopt short message channel one by one described application to be pushed to Java card one by one.
17. server according to claim 12, is characterized in that, also comprises:
The 6th judge module, be used for when adopting CAT_TP to push described application to Java card, and judgement BIP passage is opened success or not, if open, successfully continues to push described application with CAT_TP, otherwise change by short message channel, pushes described application.
18. server according to claim 12, is characterized in that, also comprises:
The list items removing module, be used for after described application pushes end,, according to described application identities AID corresponding to described application, deletes corresponding list items in the Java list of application.
19. a Java application download system, is characterized in that, comprises Java Application Manager and server;
Described Java Application Manager, be used for sending out list update request and application download request on described server, described list update request comprises list column class indication and list page number sign, and described application download request comprises application identities AID, program logo and user ID;
Described Java Application Manager, also be used for starting the first counter, and making described the first counter add 1 when to described server, initiating the application download request; After sending out an application download request finish on described server, described Java Application Manager adds value after 1 with described the first counter, is updated to the currency of described the first counter; Also be used for adding after 1 at described the first counter, take out local application cipher key calculation MAC value, and will calculate gained MAC value and insert described application download request, described MAC value comprises the currency of described the first counter, the numerical value of described local application key and the numerical value of described ICCID;
Described server receives described list update request and the application download request of sending out on Java Application Manager, and search corresponding list according to described list column class indication and described list page number sign and push to described Java Application Manager, also according to described program logo and application identities AID, search corresponding application and push to Java card, also be used for toll collection applications is carried out according to described user ID the operation of deducting fees;
Described server, also be used for after receiving the application download request, the legitimacy that is recorded in the MAC value in described download request being judged;
If judgement knows that described MAC value is legal, take out the second counter, and with the numerical value of described the second counter, the numerical value of the first counter with being recorded in the MAC value in interior Java Application Manager compares judgement; The download time of described the first counter records application; The currency of the first counter of putting down in writing in download request on described the second counter records;
, if the numerical value of the numerical value of described the second counter less than described the first counter is known in judgement, will push to described Java card according to the described application that described program logo and described application identities AID find;
If the numerical value of the numerical value of described the second counter more than or equal to described the first counter, termination process are known in judgement; If it is illegal that described MAC value is known in judgement, termination process.
CN2011101553605A 2011-06-10 2011-06-10 Method for downloading Java application, Java application manager, server and Java application download system Active CN102202292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101553605A CN102202292B (en) 2011-06-10 2011-06-10 Method for downloading Java application, Java application manager, server and Java application download system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101553605A CN102202292B (en) 2011-06-10 2011-06-10 Method for downloading Java application, Java application manager, server and Java application download system

Publications (2)

Publication Number Publication Date
CN102202292A CN102202292A (en) 2011-09-28
CN102202292B true CN102202292B (en) 2013-11-20

Family

ID=44662611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101553605A Active CN102202292B (en) 2011-06-10 2011-06-10 Method for downloading Java application, Java application manager, server and Java application download system

Country Status (1)

Country Link
CN (1) CN102202292B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096296B (en) * 2011-11-08 2016-08-10 腾讯科技(深圳)有限公司 Application is installed and the method and apparatus of switching
CN102833820A (en) * 2012-08-20 2012-12-19 中国联合网络通信集团有限公司 Internet protocol multimedia subsystem (IMS) access processing method, universal user identification module and terminal equipment
CN103841172B (en) * 2012-11-27 2017-09-22 上海亿动信息技术有限公司 Compared based on user terminal identification and apply downloading-running statistical method and its device
CN103297516B (en) * 2013-05-16 2016-12-28 北京新思易佳科技有限公司 The polymorphic type of a kind of application provides method, system and device
CN105787379B (en) * 2014-12-24 2018-10-16 北京奇虎科技有限公司 Approaches to IM and system and electronic equipment
CN105988676B (en) * 2015-02-12 2019-06-18 Oppo广东移动通信有限公司 A kind of method and device updating list of application
CN105163303B (en) * 2015-09-22 2018-12-21 中国联合网络通信集团有限公司 The management method and user terminal of SIM card application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19543843C2 (en) * 1995-11-24 2001-02-08 Acer Peripherals Inc Procedure for updating the software in a microcomputer-based telephone
CN101222514A (en) * 2008-01-31 2008-07-16 中兴通讯股份有限公司 Apparatus and method for implementing OTA based on bearer independent protocol
CN101873580A (en) * 2010-05-27 2010-10-27 大唐微电子技术有限公司 Download method of business application and business application management platform system
CN101969617A (en) * 2010-10-13 2011-02-09 中兴通讯股份有限公司 JAVA application method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19543843C2 (en) * 1995-11-24 2001-02-08 Acer Peripherals Inc Procedure for updating the software in a microcomputer-based telephone
CN101222514A (en) * 2008-01-31 2008-07-16 中兴通讯股份有限公司 Apparatus and method for implementing OTA based on bearer independent protocol
CN101873580A (en) * 2010-05-27 2010-10-27 大唐微电子技术有限公司 Download method of business application and business application management platform system
CN101969617A (en) * 2010-10-13 2011-02-09 中兴通讯股份有限公司 JAVA application method and system

Also Published As

Publication number Publication date
CN102202292A (en) 2011-09-28

Similar Documents

Publication Publication Date Title
CN102202292B (en) Method for downloading Java application, Java application manager, server and Java application download system
CN102461271B (en) For carrying out the method and apparatus of switching virtual SIM contract of service based on user profiles
CN102783121B (en) Communications device
CN101848438B (en) Method for remotely modifying network-locking parameter
CN1918932B (en) Updating of the preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card.
CN101022490B (en) Device, system and method for advance payment user number selecting, account opening
CN101742483A (en) Method and system for unlocking locked network of terminal
CN101884056A (en) System and method for contactless smart-cards
CN106464519A (en) Adapter and adapter upgrade method
CN108605044A (en) Advanced device locks standard
CN102137205A (en) Account recharging method and device and charging method, device and system
CN102196413B (en) Method, system and server for realizing OTA (over-the-air) number allocation, and SIM (subscriber identity module)
CN103249033A (en) Method and terminal for achieving self-help number changing of SIM card
CN101329793A (en) Method and system for processing electric currency information
CN101505480A (en) Method and system for customer identity registration
CN102572764A (en) On-line charging method of application program in mobile terminal, system thereof and user identification card
CN107624211B (en) Charging method and device
CN103118358A (en) Unique identification mobile phone user registration method
CN105430738B (en) A kind of method and device for initiating registration
CN102348195A (en) Wireless communication terminal and software updating method thereof
CN103179547A (en) System and method for binding cell phone numbers and subscriber identity module (SIM) supplementary cards
CN102469442B (en) Method and device for determining service supported by user terminal
CN103125103A (en) Data filtering for communication devices
CN102088694A (en) Mobile terminal and method for downloading subscriber identity module (SIM) application
CN101489208B (en) Intelligent fee counting method for mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant