CN107807846A - The method and apparatus for distributing JavaCard transient object memory spaces - Google Patents
The method and apparatus for distributing JavaCard transient object memory spaces Download PDFInfo
- Publication number
- CN107807846A CN107807846A CN201710985063.0A CN201710985063A CN107807846A CN 107807846 A CN107807846 A CN 107807846A CN 201710985063 A CN201710985063 A CN 201710985063A CN 107807846 A CN107807846 A CN 107807846A
- Authority
- CN
- China
- Prior art keywords
- spaces
- dtr
- space
- rtr
- ram
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/468—Specific access rights for resources, e.g. using capability register
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
The invention discloses a kind of method and apparatus of distribution Java Card transient object memory spaces, wherein, methods described includes:When needing to take random access memory ram space, interim is Java Card transient object applications space;When for Java Card transient object allocation spaces when, to reset and remove RTR spaces and move back the head and the tail both ends that choosing removes DTR spaces and be respectively placed in ram space, will be each after the RTR spaces applied and DTR spaces keep continuous on address with already present RTR spaces and DTR spaces respectively.
Description
Technical field
The present invention relates to Java Card technologies, espespecially a kind of method of distribution Java Card transient object memory spaces and
Device.
Background technology
Java Card technologies are that the running environment of the same optimization of a subset of Java programming languages is combined together
Technology.Java Card technologies are directed to the embedded device of small amount of storage, such as smart card, target be allow it is resource-constrained small
The embedded device of amount of storage benefits from the software developed with Java language.It is small that small amount of storage equipment mainly includes memory space
Read only memory ROM, EEPROM EEPROM, FLASH and random access memory ram.Wherein RAM's
It is costly, but access efficiency is high, therefore how RAM is effectively used, it is the problem of Java Card need to consider.
Two kinds of transient object is specified in Java Card specifications:Reset remove RTR (CLEAR_ON_RESET) and
Move back choosing and remove DTR (CLEAR_ON_DESELECT).Both transient objects are used to deposit ephemeral data.
In the prior art, the method for Java Card distribution transient object memory space includes:Fixed for RTR and DTR distribution
The ram space of size, as fixed allocation 1K ram space is used for the application of RTR objects;If supporting 4 logical channels, each patrol
The ram space for collecting channel allocation 1K is used for the application of DTR objects, like this needs 5K ram space altogether, as shown in Figure 1.
, can only be preset when distributing the ram space of fixed size for RTR and DTR due to the non-intellectual to Java Card application and developments
Fixed RTR and DTR maximum application space, in the case where RAM is resource-constrained, this implementation fails effectively to use
Ram space, and do not have flexibility.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of distribution Java Card transient object memory spaces
Method and apparatus.
In order to reach the object of the invention, the invention provides a kind of side of distribution Java Card transient object memory spaces
Method, methods described include:
When needing to take random access memory ram space, interim is Java Card transient object applications space;
When for Java Card transient object allocation spaces when, will reset to remove RTR spaces and move back choosing and remove DTR spaces point
Be not placed in the head and the tail both ends of ram space, will be each after the RTR spaces applied and DTR spaces respectively with already present RTR spaces and
DTR spaces keep continuous on address.
Optionally, the head and the tail both ends that RTR spaces and DTR spaces are respectively placed in ram space, each will apply afterwards
RTR spaces and DTR spaces are kept continuously with already present RTR spaces and DTR spaces on address respectively, including:
The RTR spaces applied first and DTR spaces be respectively placed in the head and the tail both ends of ram space, will apply respectively
The RTR spaces and the initial address in DTR spaces that the end address in RTR spaces and DTR spaces is applied as after.
Optionally, the distribution RTR spaces include:
When the available spaces of RAM be more than RTR application space when, using by the use of RTR spaces end address as apply
RTR spaces initial address, and the RTR spaces of application are increased in the RTR spaces used;
Wherein, the available spaces of RAM are that RAM gross spaces deduct the RTR spaces and DTR spaces used.
Optionally, the distribution DTR spaces include:
It is application DTR using the currently used a piece of ram space of each allocation of packets, what each packet took
Ram space is continuous on address.
Optionally, be application DTR using the currently used a piece of ram space of each allocation of packets, each packet
The ram space of occupancy is continuous on address, including:
If application DTR spaces using packet ram space has been assigned, and the available spaces of RAM are more than
During the space of DTR applications, using it is described using packet be allocated space end address it is empty as the DTR of the application
Between initial address, the DTR spaces of application are added to the allocated space of packet that the application data uses, and will
It is described using the allocated space of packet after described in the packet space to the direction movement in RTR spaces distributed
The DTR spaces of application;
If application DTR spaces using packet be not previously allocated ram space, and the available spaces of RAM are more than
DTR application space when, using by the use of DTR spaces end address as application DTR spaces initial address, and will apply
DTR spaces increase in the DTR spaces used.
The embodiment of the present invention additionally provides a kind of device of distribution Java Card transient object memory spaces, described device
Including:
Module is applied in space, for when needing to take random access memory ram space, interim to be Java Card winks
State object application space;
Space distribute module, ram space is respectively placed in for that will reset to remove RTR spaces and move back choosing removing DTR spaces
Head and the tail both ends, will be each after the RTR spaces applied and DTR spaces respectively with already present RTR spaces and DTR spaces on address
Keep continuous.
Optionally, the space distribute module, for the RTR applied first spaces and DTR spaces to be respectively placed in into RAM skies
Between head and the tail both ends, the RTR spaces for respectively applying for the end address in the RTR spaces applied and DTR spaces as after and DTR
The initial address in space.
Optionally, the space distribute module, include for distributing RTR spaces:
When the available spaces of RAM be more than RTR application space when, using by the use of RTR spaces end address as apply
RTR spaces initial address, and the RTR spaces of application are increased in the RTR spaces used;
Wherein, the available spaces of RAM are that RAM gross spaces deduct the RTR spaces and DTR spaces used.
Optionally, the space distribute module, include for distributing DTR spaces:
It is application DTR using the currently used a piece of ram space of each allocation of packets, what each packet took
Ram space is continuous on address.
Optionally, the space distribute module, for be application DTR using currently used each allocation of packets one
Piece ram space, the ram space that each packet takes continuously include on address:
If application DTR spaces using packet ram space has been assigned, and the available spaces of RAM are more than
During the space of DTR applications, using it is described using packet be allocated space end address it is empty as the DTR of the application
Between initial address, the DTR spaces of application are added to the allocated space of packet that the application data uses, and will
It is described using the allocated space of packet after described in the packet space to the direction movement in RTR spaces distributed
The DTR spaces of application;
If application DTR spaces using packet be not previously allocated ram space, and the available spaces of RAM are more than
DTR application space when, using by the use of DTR spaces end address as application DTR spaces initial address, and will apply
DTR spaces increase in the DTR spaces used.
The embodiment of the present invention additionally provides a kind of device of distribution Java Card transient object memory spaces, including:
It is stored with the memory of distribution Java Card transient object memory space programs;
Processor, it is configured to reading described program and is deposited with performing distribution Java Card transient objects described in any of the above-described
Store up the operation of the method in space.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium
Contain distribution Java Card transient object memory space programs, the distribution Java Card transient object memory space program quilts
The step of as above method of any one distribution Java Card transient object memory spaces is realized during computing device.
Compared with prior art, the present invention includes:It is temporarily Java when needing to take random access memory ram space
Card transient object applications space;When for Java Card transient object allocation spaces when, will reset to remove and RTR spaces and move back choosing
Remove the head and the tail both ends that DTR spaces are respectively placed in ram space, will be each after the RTR spaces applied and DTR spaces respectively with having deposited
RTR spaces and DTR spaces keep continuous on address.This mode ensure that DTR's and RTR is continuous using space
, facilitate transient object to use the application and release in space, while also effectively make use of ram space.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this
The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the schematic diagram that existing Java Card distribute transient object memory space;
Fig. 2 is the method flow schematic diagram that the embodiment of the present invention distributes Java Card transient object memory spaces;
Fig. 3 is relation schematic diagram between DTR of the embodiment of the present invention, packet and logical channel;
Fig. 4 is RTR spaces in the embodiment of the present invention and DTR spaces in RAM gross space dispensing position schematic diagrames;
Fig. 5 a, Fig. 5 b are the distribution schematic diagram in DTR spaces in the embodiment of the present invention;
Fig. 6 is the device comprising modules figure that the embodiment of the present invention distributes Java Card transient object memory spaces.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of
Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein
Sequence performs shown or described step.
Fig. 2 is the method flow schematic diagram of present invention distribution Java Card transient object memory spaces, as shown in Fig. 2 institute
The method of stating includes:
When S101 needs to take random access memory ram space, interim is Java Card transient object applications space;
S102 when for Java Card transient object allocation spaces when, will reset and remove RTR spaces and move back choosing to remove DTR empty
Between be respectively placed in the head and the tail both ends of ram space, will be each after the RTR spaces applied and DTR spaces it is empty with already present RTR respectively
Between and DTR spaces keep continuous on address;
Optionally, step S102 includes:
The RTR spaces applied first and DTR spaces be respectively placed in the head and the tail both ends of ram space, will apply respectively
The RTR spaces and the initial address in DTR spaces that the end address in RTR spaces and DTR spaces is applied as after.
Optionally, distribution RTR spaces described above include:
When the available spaces of RAM be more than RTR application space when, using by the use of RTR spaces end address as apply
RTR spaces initial address, and the RTR spaces of application are increased in the RTR spaces used;
Wherein, the available spaces of RAM are that RAM gross spaces deduct the RTR spaces and DTR spaces used.
Distribution for DTR spaces, according to Java Card code requirement, if an applet example is current at least
It is selected in a logical channel (most four logical channels), then it is assumed that be the applet examples of an activation.Come from
The applet examples of each activation of different pieces of information bag will use different DTR spaces when performing, as shown in figure 3, therefore,
The embodiment of the present invention is that application DTR application is the currently used a piece of ram space of each allocation of packets, and each packet accounts for
Ram space is continuous on address.
Optionally, it is the currently used a piece of ram space of each allocation of packets, the ram space that each packet takes
It is continuous on address, including:
If application DTR spaces using packet ram space has been assigned, and the available spaces of RAM are more than
During the space of DTR applications, using it is described using packet be allocated space end address it is empty as the DTR of the application
Between initial address, the DTR spaces of application are added to the allocated space of packet that the application data uses, and will
It is described using the allocated space of packet after described in the packet space to the direction movement in RTR spaces distributed
The DTR spaces of application;
If application DTR spaces using packet be not previously allocated ram space, and the available spaces of RAM are more than
DTR application space when, using by the use of DTR spaces end address as application DTR spaces initial address, and will apply
DTR spaces increase in the DTR spaces used.
Optionally, methods described also includes:
The RTR spaces and DTR spaces used in ram space is recorded, deletes and creates in transient object to facilitate
The adjustment carried out during building to transient state space.
Above-described embodiment ensure that DTR's and RTR is continuous using space, facilitate transient object to use the application in space
And release, while also effectively make use of ram space.
Specifically above-described embodiment is further described using example with one below.
When needing to take random access memory ram space, interim is Java Card transient object applications space.
In the case of RAM gross spaces are fixed-size, when being Java Card transient object allocation spaces, by RTR spaces and DTR spaces point
Be not placed in the head and the tail both ends of ram space, will be each after the RTR spaces applied and DTR spaces respectively with already present RTR spaces and
DTR spaces keep continuous on address.
As shown in figure 4, apply for two kinds of transient object from the both ends of RAM gross spaces to centre respectively.
For RTR, in allocation space, first determine whether currently available ram space is more than or equal to RTR applications
Space size (R), if M-D1-R1>=R, then allow to apply, wherein, M is ram space total size, and D1 is that the DTR used is empty
Between, R1 is the RTR spaces used;And the starting status using R1 end address as the RTR spaces of application, modification have used
RTR spaces R1 value be (R1+R).If M-D1-R1<R, then throw exception prompting, terminate the application of this RTR space.
For DTR, in allocation space, as shown in Figure 5 a, it is assumed that application DTR spaces using packet 2
Ram space is assigned, judges whether currently available ram space is more than or equal to the space size (D) of DTR applications, if M-
D1-R1>=D, then allow to apply, wherein, M is ram space total size, and D1 is the DTR spaces used, D1=D2+D3+D4,
D2 is the DTR spaces that bag 1 uses, and D3 is the DTR spaces that bag 2 uses, and D4 is the DTR spaces that bag 3 uses.
When distributing DTR spaces, D sizes are moved into toward DTR applications direction in the address in D3 spaces, i.e., used existing bag 2
DTR initial address of the end address as the DTR spaces of application, the DTR spaces that use of renewal bag 2 are (D3+D);Simultaneously
D sizes are moved into the address in D2 spaces toward DTR applications direction, as shown in Figure 5 b, the DTR spaces used are changed into (D1+D).
For DTR, in allocation space, if application DTR spaces using packet 2 RAM skies have been assigned
Between, and M-D1-R1<D, then throw exception prompting, terminate the application of this DTR space.
For DTR, in allocation space, if application DTR spaces using packet be not previously allocated RAM skies
Between, and when the available spaces of RAM are more than or equal to the space of DTR applications, distribute a piece of ram space along DTR applications direction and give
Initial address of DTR, the D1 end address as the DTR spaces of application.
Fig. 6 distributes the device comprising modules figure of Java Card transient object memory spaces, such as Fig. 6 for the embodiment of the present invention
Shown, described device includes:
Module is applied in space, for when needing to take random access memory ram space, interim to be Java Card winks
State object application space;
Space distribute module, ram space is respectively placed in for that will reset to remove RTR spaces and move back choosing removing DTR spaces
Head and the tail both ends, will be each after the RTR spaces applied and DTR spaces respectively with already present RTR spaces and DTR spaces on address
Keep continuous.
Optionally, the space distribute module, for the RTR applied first spaces and DTR spaces to be respectively placed in into RAM skies
Between head and the tail both ends, the RTR spaces for respectively applying for the end address in the RTR spaces applied and DTR spaces as after and DTR
The initial address in space.
Optionally, the space distribute module, include for distributing RTR spaces:
When the available spaces of RAM be more than RTR application space when, using by the use of RTR spaces end address as apply
RTR spaces initial address, and the RTR spaces of application are increased in the RTR spaces used;
Wherein, the available spaces of RAM are that RAM gross spaces deduct the RTR spaces and DTR spaces used.
Distribution for DTR spaces, according to Java Card code requirement, if an applet example is current at least
It is selected in a logical channel (most four logical channels), then it is assumed that be the applet examples of an activation.Come from
The applet examples of each activation of different pieces of information bag will use different DTR spaces when performing, as shown in figure 3, therefore,
Space of embodiment of the present invention distribute module, include for distributing DTR spaces:Be application DTR using currently used every number
A piece of ram space is distributed according to bag, the ram space that each packet takes is continuous on address.
Optionally, the space distribute module, for be application DTR using currently used each allocation of packets one
Piece ram space, the ram space that each packet takes continuously include on address:
If application DTR spaces using packet ram space has been assigned, and the available spaces of RAM are more than
During the space of DTR applications, using it is described using packet be allocated space end address it is empty as the DTR of the application
Between initial address, the DTR spaces of application are added to the allocated space of packet that the application data uses, and will
It is described using the allocated space of packet after described in the packet space to the direction movement in RTR spaces distributed
The DTR spaces of application;
If application DTR spaces using packet be not previously allocated ram space, and the available spaces of RAM are more than
DTR application space when, using by the use of DTR spaces end address as application DTR spaces initial address, and will apply
DTR spaces increase in the DTR spaces used.
Optionally, described device also includes:
Spatial registration module, recorded for the RTR spaces to having been used in ram space and DTR spaces, to facilitate
The adjustment that transient object is deleted and carried out during creating to transient state space.
Above-described embodiment ensure that DTR's and RTR is continuous using space, facilitate transient object to use the application in space
And release, while also effectively make use of ram space.
The embodiment of the present invention additionally provides a kind of device of distribution Java Card transient object memory spaces, including:
It is stored with the memory of distribution Java Card transient object memory space programs;
Processor, it is configured to read described program to perform distribution Java Card transient states pair as in the foregoing embodiment
As the operation of the method for memory space.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, it is characterised in that described computer-readable
Distribution Java Card transient object memory space programs are stored with storage medium, the distribution Java Card transient objects are deposited
Storage space program realizes distribution Java Card transient object memory spaces as in the foregoing embodiment when being executed by processor
The step of method.
It will appreciated by the skilled person that whole or some steps, system, dress in method disclosed hereinabove
Functional module/unit in putting may be implemented as software, firmware, hardware and its appropriate combination.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical location;For example, one
Physical assemblies can have multiple functions, or One function or step can be performed by some physical assemblies cooperations.Some groups
Part or all component may be implemented as by processor, such as the software that digital signal processor or microprocessor perform, or by
Hardware is embodied as, or is implemented as integrated circuit, such as application specific integrated circuit.Such software can be distributed in computer-readable
On medium, it is (or temporary transient that computer-readable medium can include computer-readable storage medium (or non-transitory medium) and communication media
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included by storage information (based on such as
Calculation machine readable instruction, data structure, program module or other data) any method or technique in the volatibility implemented and Fei Yi
The property lost, removable and nonremovable medium.Computer-readable storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or other
Memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other magnetic
Storage device or it can be used for any other medium that stores desired information and can be accessed by a computer.In addition,
It is well known by those skilled in the art that communication media generally comprises computer-readable instruction, data structure, program module or all
As carrier wave or other transmission mechanisms etc modulated data signal in other data, and may include that the delivering of any information is situated between
Matter.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use
Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (12)
- A kind of 1. method of distribution Java Card transient object memory spaces, it is characterised in that methods described includes:When needing to take random access memory ram space, interim is Java Card transient object applications space;When for Java Card transient object allocation spaces when, will reset to remove RTR spaces and move back choosing and remove DTR spaces and put respectively In the head and the tail both ends of ram space, will be each after the RTR spaces applied and DTR spaces respectively with already present RTR spaces and DTR Space keeps continuous on address.
- 2. according to the method for claim 1, it is characterised in that described that RTR spaces and DTR spaces are respectively placed in RAM skies Between head and the tail both ends, will be each after the RTR spaces applied and DTR spaces respectively with already present RTR spaces and DTR spaces on ground Keep continuous on location, including:The RTR spaces applied first and DTR spaces are respectively placed in the head and the tail both ends of ram space, it is respectively that the RTR applied is empty Between and the RTR spaces applied as after of end address in DTR spaces and the initial address in DTR spaces.
- 3. according to the method for claim 2, it is characterised in that the distribution RTR spaces include:When the available spaces of RAM be more than RTR application space when, using by the use of RTR spaces end address as apply RTR The initial address in space, and the RTR spaces of application are increased in the RTR spaces used;Wherein, the available spaces of RAM are that RAM gross spaces deduct the RTR spaces and DTR spaces used.
- 4. according to the method for claim 2, it is characterised in that the distribution DTR spaces include:It is the empty using the currently used a piece of ram space of each allocation of packets, the RAM of each packet occupancy of application DTR Between it is continuous on address.
- 5. according to the method for claim 4, it is characterised in that for application DTR using currently used each packet A piece of ram space is distributed, the ram space that each packet takes is continuous on address, including:If application DTR spaces using packet ram space has been assigned, and the available spaces of RAM are more than DTR Shens During space please, using it is described using packet be allocated the end address in space as the DTR spaces of the application Initial address, the DTR spaces of application are added to the allocated space of packet that the application data uses, and will be in institute State using the allocated space of packet after the packet space distributed move the application to the direction in RTR spaces DTR spaces;If application DTR spaces using packet be not previously allocated ram space, and the available spaces of RAM are more than DTR Shens During space please, using by the use of DTR spaces end address as the DTR spaces of application initial address, and by the DTR of application Space is increased in the DTR spaces used.
- 6. a kind of device of distribution Java Card transient object memory spaces, it is characterised in that described device includes:Module is applied in space, for when needing to take random access memory ram space, interim to be Java Card transient states pair As applying for space;Space distribute module, the head and the tail removed DTR spaces and be respectively placed in ram space are selected for will reset to remove RTR spaces and move back Both ends, will be each after the RTR spaces applied and DTR spaces kept respectively with already present RTR spaces and DTR spaces on address Continuously.
- 7. device according to claim 6, it is characterised in thatThe space distribute module, for the RTR applied first spaces and DTR spaces to be respectively placed in the head and the tail two of ram space End, the starting in the RTR spaces and DTR spaces of respectively applying for the end address in the RTR spaces applied and DTR spaces as after Address.
- 8. device according to claim 7, it is characterised in that the space distribute module, for distributing RTR spaces bag Include:When the available spaces of RAM be more than RTR application space when, using by the use of RTR spaces end address as apply RTR The initial address in space, and the RTR spaces of application are increased in the RTR spaces used;Wherein, the available spaces of RAM are that RAM gross spaces deduct the RTR spaces and DTR spaces used.
- 9. device according to claim 7, it is characterised in that the space distribute module, for distributing DTR spaces bag Include:It is the empty using the currently used a piece of ram space of each allocation of packets, the RAM of each packet occupancy of application DTR Between it is continuous on address.
- 10. device according to claim 9, it is characterised in that the space distribute module, for answering for application DTR With the currently used a piece of ram space of each allocation of packets, the ram space that each packet takes is continuous on address:If application DTR spaces using packet ram space has been assigned, and the available spaces of RAM are more than DTR Shens During space please, using it is described using packet be allocated the end address in space as the DTR spaces of the application Initial address, the DTR spaces of application are added to the allocated space of packet that the application data uses, and will be in institute State using the allocated space of packet after the packet space distributed move the application to the direction in RTR spaces DTR spaces;If application DTR spaces using packet be not previously allocated ram space, and the available spaces of RAM are more than DTR Shens During space please, using by the use of DTR spaces end address as the DTR spaces of application initial address, and by the DTR of application Space is increased in the DTR spaces used.
- A kind of 11. device of distribution Java Card transient object memory spaces, it is characterised in that including:It is stored with the memory of distribution Java Card transient object memory space programs;Processor, it is configured to read described program to perform the distribution Java Card winks as any one of claim 1 to 5 The operation of the method for state object store space.
- 12. a kind of computer-readable recording medium, it is characterised in that distribution is stored with the computer-readable recording medium Java Card transient object memory space programs, the distribution Java Card transient object memory space programs are held by processor The step of method that Java Card transient object memory spaces are distributed as any one of claim 1 to 5 is realized during row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710985063.0A CN107807846A (en) | 2017-10-20 | 2017-10-20 | The method and apparatus for distributing JavaCard transient object memory spaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710985063.0A CN107807846A (en) | 2017-10-20 | 2017-10-20 | The method and apparatus for distributing JavaCard transient object memory spaces |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107807846A true CN107807846A (en) | 2018-03-16 |
Family
ID=61592280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710985063.0A Pending CN107807846A (en) | 2017-10-20 | 2017-10-20 | The method and apparatus for distributing JavaCard transient object memory spaces |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107807846A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7143418B1 (en) * | 2001-12-10 | 2006-11-28 | Xilinx, Inc. | Core template package for creating run-time reconfigurable cores |
CN103309812A (en) * | 2012-03-15 | 2013-09-18 | 中国移动通信集团公司 | Allocation method and device for memory space of smart card |
CN105426237A (en) * | 2015-11-13 | 2016-03-23 | 武汉天喻信息产业股份有限公司 | Method and system for dynamically managing JavaCard transient resources |
CN105824651A (en) * | 2015-01-06 | 2016-08-03 | 中国移动通信集团公司 | Intelligent card internal application installation method and apparatus |
CN106776042A (en) * | 2016-12-30 | 2017-05-31 | 深圳市证通金信科技有限公司 | The memory allocation method and device of terminal |
-
2017
- 2017-10-20 CN CN201710985063.0A patent/CN107807846A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7143418B1 (en) * | 2001-12-10 | 2006-11-28 | Xilinx, Inc. | Core template package for creating run-time reconfigurable cores |
CN103309812A (en) * | 2012-03-15 | 2013-09-18 | 中国移动通信集团公司 | Allocation method and device for memory space of smart card |
CN105824651A (en) * | 2015-01-06 | 2016-08-03 | 中国移动通信集团公司 | Intelligent card internal application installation method and apparatus |
CN105426237A (en) * | 2015-11-13 | 2016-03-23 | 武汉天喻信息产业股份有限公司 | Method and system for dynamically managing JavaCard transient resources |
CN106776042A (en) * | 2016-12-30 | 2017-05-31 | 深圳市证通金信科技有限公司 | The memory allocation method and device of terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103167465B (en) | A kind of embedded UICC card activation processing method and device | |
AU2015410318B2 (en) | Data write method, apparatus, and system | |
CN109428913B (en) | Storage capacity expansion method and device | |
CN101661486A (en) | Method and system for fragment sorting for hard disk of host comprising virtual computer | |
CN106383666B (en) | Data storage method and device | |
CN104899049B (en) | File deletion method and device | |
CN109656486A (en) | A kind of method and storage equipment of storage equipment storing data | |
CN108270581B (en) | Shared resource charging processing method and device | |
CN103095686A (en) | Hot metadata access control method and server | |
CN109491832A (en) | Data disaster tolerance method and website | |
EP2840502A1 (en) | Management method and apparatus for on-chip shared cache | |
CN109756429B (en) | Bandwidth allocation method and device | |
CN107770207A (en) | The method of data syn-chronization between multi-terminal equipment | |
CN103699493B (en) | The control system and method for smart card DTR memory headroom | |
CN104346298B (en) | Data processing method, device and smart card based on smart card | |
CN103888424A (en) | Cluster-type data encryption system and data processing method thereof | |
CN103119567A (en) | Systems and methods for managing a virtual tape library domain | |
CN107807846A (en) | The method and apparatus for distributing JavaCard transient object memory spaces | |
CN111752466A (en) | Data storage method and device | |
CN102137494B (en) | Method and device for allocating communication resources | |
CN108646987A (en) | A kind of management method of file volume, device, storage medium and terminal | |
CN108829355A (en) | A kind of rubbish recovering method and device | |
CN108139969B (en) | Memory configuration method, device and system | |
CN108510599A (en) | Parking management method, device and computer readable storage medium | |
CN104052778A (en) | Distributed phone bill statistical method, device thereof and system thereof |
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: 20180316 |