CN109739520A - A kind of Java card dynamic download method, device, medium and system - Google Patents
A kind of Java card dynamic download method, device, medium and system Download PDFInfo
- Publication number
- CN109739520A CN109739520A CN201811640389.0A CN201811640389A CN109739520A CN 109739520 A CN109739520 A CN 109739520A CN 201811640389 A CN201811640389 A CN 201811640389A CN 109739520 A CN109739520 A CN 109739520A
- Authority
- CN
- China
- Prior art keywords
- java card
- system api
- intermediate file
- resolver
- dynamic download
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention discloses a kind of Java card dynamic download method, device, medium and systems, which comprises a preset resolver in Java card platform;The system API for receiving user downloads request, obtains the corresponding system API data of the system API;System API data is converted and generates intermediate file, the intermediate file is downloaded on Java card platform;The intermediate file is parsed in the resolver;Operation is downloaded to application corresponding with the function of the system API.The present invention provides a kind of Java card dynamic download method, device, medium and systems, by pre-installing a resolver on Java card, system API is converted into intermediate file by API crossover tool, the dynamic download of application corresponding with the function of the system API is then realized after the intermediate file successfully resolved;Technical solution provided by the invention can selectively carry out the dynamic download of system API according to user demand, effectively save card resource.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of Java card dynamic download method, device, medium and it is
System.
Background technique
In today that the communication technology develops very fast, Java card is widely used in intelligence with the flexibility and safety of its height
In energy card field, and various new value-added services (such as downloading of java class game application) have become each mobile operator
Profit growth point.
The downloading mode of traditional Java card is the data conversion by all system API into binary stream, and by these two
System stream is preset in card in advance;Since this kind of mode needs for all system API datas to be preset in card, Wu Fajin
Mobile state downloading.And in order to support the downloading of subsequent various Java Applet, disposably the data of all system API are shifted to an earlier date
It is preset in card, then will lead to the waste of card resource.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of Java card dynamic download method, device, medium and system,
Solve the prior art when system API is downloaded can not dynamic download, and the problem that card wasting of resources degree is high.
To achieve the above object, the present invention provides technical solution below:
In a first aspect, the present invention provides a kind of Java card dynamic download method, comprising:
A preset resolver in Java card platform;
The system API for receiving user downloads request, obtains the corresponding system API data of the system API;
System API data is converted and generates intermediate file, the intermediate file is downloaded on Java card platform;
The intermediate file is parsed in the resolver;
Operation is downloaded to application corresponding with the function of the system API.
Optionally, the resolver is binary stream resolver, and the intermediate file is binary stream file.
Second aspect, the present invention provide a kind of Java card dynamic download device, comprising:
Receiving module, the system API for receiving user downloads request, and obtains the corresponding system API of the system API
Data;
Processing module generates intermediate file for converting system API data, and the intermediate file is downloaded to Java
On card platform;
Parsing module, for parsing the intermediate file;
Application module, for being downloaded operation to application corresponding with the function of the system API.
Optionally, the processing module includes API crossover tool and smart card tool.
Optionally, the parsing module includes resolver, and the resolver is binary stream resolver.
The third aspect, the present invention provide a kind of storage medium, which is characterized in that the storage medium is stored with a plurality of finger
It enables, described instruction is suitable for processor and is loaded, and requires the Java card dynamic download as described in first aspect with perform claim
Step in method.
Fourth aspect, the present invention provide a kind of Java card dynamic download system, which is characterized in that including in such as second aspect
The Java card dynamic download device, and the storage medium as described in the third aspect.
Compared with prior art, the invention has the following advantages:
The present invention provides a kind of Java card dynamic download method, device, medium and systems, by pacifying in advance on Java card
A resolver is filled, system API is converted into intermediate file by API crossover tool, it is then real after the intermediate file successfully resolved
The dynamic download of system API is showed;Technical solution provided by the invention can selectively carry out system API according to user demand
Dynamic download, effectively save card resource.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of method flow diagram of Java card dynamic download method provided by the invention;
Fig. 2 is a kind of structural block diagram of Java card dynamic download device provided by the invention;
In above-mentioned figure: 201, receiving module;202, processing module;203, parsing module;204, application module.
Specific embodiment
To enable the purpose of the present invention, feature, advantage more obvious and understandable, implement below in conjunction with the present invention
Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that reality disclosed below
Applying example is only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field is common
Technical staff's all other embodiment obtained without making creative work belongs to the model that the present invention protects
It encloses.
One binary stream document parser is installed, user will be using API crossover tool on the present Java card of this programme
System API data is converted into the binary stream file of certain format, then by the binary stream file of the format by having pacified on card
The resolver of dress is parsed;After successfully resolved, then Java card then supports corresponding system API function, thus finally realize with
The downloading of the corresponding application of system API function.This programme be different from the prior art in system API downloading mode, use
The mode downloaded afterwards realizes the downloading of system API, to save the space of Java card system.
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.
Referring to Fig. 1, the embodiment of the present invention provides a kind of Java card dynamic download method, comprising the following steps:
S1, a preset resolver in Java card platform.
In the step, resolver is binary stream resolver, for parsing binary stream file.In the present embodiment, should
Resolver is for parsing intermediate file, so that the downloading for system API lays the foundation.
S2, the system API for receiving user download request, obtain the corresponding system API data of the system API.
In the step, user opens API crossover tool, finds the system that download system API is corresponding after according to demand
API data is generated binary file in API crossover tool.
S3, system API data is converted to generation intermediate file, the intermediate file is downloaded on Java card platform.
In the step, which is binary stream file.In the present embodiment, which is equivalent to medium,
The information of system API for downloading needed for transmitting from user to Java card platform.
S4, the intermediate file is parsed in the resolver.
In the step, intermediate file is parsed by binary stream resolver, thus the recognizable system needed for generating
System API file, makes Java card platform have the function of the system API downloaded needed for user.
S5, operation is downloaded to application corresponding with the function of the system API.
In this step, the loading installation process of application corresponding with the function of system API is finally completed.Wherein, it is answering
Before loading, installation of the file on Java card platform can be loaded by downloader realization first, will then be answered by erector
File download can be loaded into Java card, realize the downloading of application.
Referring to Fig. 2, based on the above embodiment, the embodiment of the present invention provides a kind of Java card dynamic download device, comprising:
Receiving module 201, the system API for receiving user downloads request, and obtains the corresponding system of the system API
API data.User finds the corresponding system API data of the download system API after by opening API crossover tool according to demand,
Binary file is generated in API crossover tool.
Processing module 202 generates intermediate file for converting system API data, and the intermediate file is downloaded to
On Java card platform;The processing module includes API crossover tool and smart card tool.
Wherein, which is binary stream file.In the present embodiment, which is equivalent to matchmaker
It is situated between, the information of the system API for downloading needed for transmitting from user to Java card platform.
Parsing module 203, for parsing the intermediate file;The parsing module includes resolver, and the resolver is
Binary stream resolver.Intermediate file is parsed by binary stream resolver, thus the recognizable system needed for generating
API file makes Java card platform have the function of the system API downloaded needed for user.
Application module 204, for being downloaded operation to application corresponding with the function of the system API.It is answered by this
The installation downloading of application is realized with module 204.
Based on the above embodiment, the embodiment of the present invention provides a kind of storage medium, is contained in a kind of Java card dynamic download
In device.The storage medium is stored with a plurality of instruction, and described instruction is suitable for processor and is loaded, to execute Java above-mentioned
Step in card dynamic download method.
Based on above-mentioned each embodiment, the embodiment of the present invention provides a kind of Java card dynamic download system, including Java card
Dynamic download device and storage medium.
This programme proposes a kind of Java card dynamic download method, device, medium and system, by pre-installing on Java card
System API data is converted into intermediate file by API crossover tool by one binary stream resolver, intermediate file parsing
After success, Java card platform is made to have the function of system API, so that the dynamic download for system API lays the foundation.The present invention
The technical solution of offer can selectively carry out the dynamic download of system API according to user demand, be effectively saved card money
Source.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (7)
1. a kind of Java card dynamic download method characterized by comprising
A preset resolver in Java card platform;
The system API for receiving user downloads request, obtains the corresponding system API data of the system API;
System API data is converted and generates intermediate file, the intermediate file is downloaded on Java card platform;
The intermediate file is parsed in the resolver;
Operation is downloaded to application corresponding with the function of the system API.
2. Java card dynamic download method according to claim 1, which is characterized in that the resolver is binary stream solution
Parser, the intermediate file are binary stream file.
3. a kind of Java card dynamic download device characterized by comprising
Receiving module, the system API for receiving user downloads request, and obtains the corresponding system API number of the system API
According to;
System API data is converted and generates intermediate file, the intermediate file is downloaded on Java card platform by processing module;
Parsing module, for parsing the intermediate file;
Application module, for being downloaded operation to application corresponding with the function of the system API.
4. Java card dynamic download device according to claim 3, which is characterized in that the processing module includes that API turns
Change tool and smart card tool.
5. Java card dynamic download device according to claim 3, which is characterized in that the parsing module includes parsing
Device, the resolver are binary stream resolver.
6. a kind of storage medium, which is characterized in that the storage medium is stored with a plurality of instruction, described instruction be suitable for processor into
Row load requires the step in 1 or 2 described in any item Java card dynamic download methods with perform claim.
7. a kind of Java card dynamic download system, which is characterized in that dynamic including such as described in any item Java card of claim 3-5
Storage medium described in state download apparatus and claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811640389.0A CN109739520A (en) | 2018-12-29 | 2018-12-29 | A kind of Java card dynamic download method, device, medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811640389.0A CN109739520A (en) | 2018-12-29 | 2018-12-29 | A kind of Java card dynamic download method, device, medium and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109739520A true CN109739520A (en) | 2019-05-10 |
Family
ID=66362573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811640389.0A Pending CN109739520A (en) | 2018-12-29 | 2018-12-29 | A kind of Java card dynamic download method, device, medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739520A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184374A (en) * | 2011-03-24 | 2011-09-14 | 北京握奇数据系统有限公司 | Method and device for downloading file based on Java intelligent card |
CN102236568A (en) * | 2011-07-13 | 2011-11-09 | 中国联合网络通信集团有限公司 | Method, device and system for downloading Java card application |
US8065662B1 (en) * | 2007-03-30 | 2011-11-22 | Oracle America, Inc. | Compatibility testing of an application programming interface |
CN105631505A (en) * | 2014-11-07 | 2016-06-01 | 北京同方微电子有限公司 | Smart card supporting JAVA card patch function |
CN106933536A (en) * | 2017-03-01 | 2017-07-07 | 天地融科技股份有限公司 | The application load operating method and smart card of a kind of smart card |
-
2018
- 2018-12-29 CN CN201811640389.0A patent/CN109739520A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8065662B1 (en) * | 2007-03-30 | 2011-11-22 | Oracle America, Inc. | Compatibility testing of an application programming interface |
CN102184374A (en) * | 2011-03-24 | 2011-09-14 | 北京握奇数据系统有限公司 | Method and device for downloading file based on Java intelligent card |
CN102236568A (en) * | 2011-07-13 | 2011-11-09 | 中国联合网络通信集团有限公司 | Method, device and system for downloading Java card application |
CN105631505A (en) * | 2014-11-07 | 2016-06-01 | 北京同方微电子有限公司 | Smart card supporting JAVA card patch function |
CN106933536A (en) * | 2017-03-01 | 2017-07-07 | 天地融科技股份有限公司 | The application load operating method and smart card of a kind of smart card |
Non-Patent Citations (1)
Title |
---|
许晶等: "一种JavaCard库包后下载的方法", 《电子产品世界》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100191B (en) | The method, apparatus and system of Java application installations are realized in a kind of cloud compiling | |
CN105590051B (en) | Trusted application for credible performing environment generates and installation method | |
CN101836188B (en) | Server-based code compilation | |
CN107766132A (en) | Multi-task scheduling method, application server and computer-readable recording medium | |
CN104852971B (en) | Plug-in protocol device and data communication method based on plug-in protocol | |
CA2511916A1 (en) | System and method of building wireless component applications | |
CN102023867B (en) | A kind of terminal secondary development device and secondary developing platform construction method | |
CN101990169A (en) | Intelligent card active pushing system and intelligent card mobile terminal | |
CN101986740A (en) | JAVA card | |
CN103729189A (en) | Broadcast protocol conversion method, system and terminal based on LUA | |
CN102799444B (en) | The method of cross-platform packing program and device | |
CN102281325A (en) | Method for downloading mobile application subpacket | |
CN109739508A (en) | Compilation of source code method, apparatus, system and storage medium | |
CN105530630B (en) | A kind of OTA upgrade method and equipment | |
CN107018189A (en) | Migrate application data and receive the method and device of application data | |
CN110221840B (en) | Function implementation method and device of application program, equipment and storage medium | |
CN109343970B (en) | Application program-based operation method and device, electronic equipment and computer medium | |
CN108279881B (en) | Cross-platform implementation framework and method based on deep learning prediction part | |
CN103634385A (en) | System, method and server for data synchronizing | |
CN113296742A (en) | APP data processing method and device and mobile terminal | |
CN109739520A (en) | A kind of Java card dynamic download method, device, medium and system | |
CN102523271B (en) | Terminal and communication method and system thereof | |
CN111367561A (en) | Software program remote development method and device | |
CN105404557A (en) | Interprocess communication method based on message queue | |
CN114301970B (en) | Service calling method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190510 |