Summary of the invention
Embodiment of the present invention provides a kind of dissemination method, method of reseptance, Apparatus and system of J2ME program, and described method, Apparatus and system have the advantage of effective protection MIDlet copyright.
The specific embodiment of the present invention provides a kind of dissemination method of J2ME program, and described method comprises:
The download request that receiving terminal apparatus sends finds the mobile information apparatus small routine MIDlet of this download request correspondence according to this download request;
The installation kit of MIDlet is handed down to terminal equipment, and described installation kit comprises: operation logic and data control logic;
The request of the downloading-running data that receiving terminal apparatus sends, this terminal equipment carried out payment verification after, issue the service data of MIDlet to terminal equipment, described service data is stored in the privately owned file system or record management system of this terminal equipment.
The present invention also provides a kind of method of reseptance of J2ME program, and described method comprises:
Send download request to server, and the installation kit of the MIDlet of this download request correspondence of sending according to this download request of reception server, described installation kit comprises: operation logic and data control logic;
The payment request of this MIDlet that reception server issues, and after completing charge according to this payment request, the service data of this MIDlet that reception server sends, and this service data is stored in privately owned file system or the record management system.
The present invention provides a kind of write method of J2ME program again, and described method comprises:
The data of MIDlet are divided into installation kit and service data; This installation kit comprises: operation logic and data control logic;
Sign is set, and this sign is used for indicating terminal equipment that the service data of MIDlet is stored in RMS or privately owned file system.
The present invention is at the distributing device that a kind of J2ME program is provided, and described device comprises:
Receiving element is used for the download request that receiving terminal apparatus sends, and finds the mobile information apparatus small routine MIDlet of this download request correspondence according to this download request;
Issue the unit, be used for the installation kit of MIDlet is handed down to terminal equipment, described installation kit comprises: operation logic and data control logic;
Described receiving element also is used for the request of the downloading-running data of receiving terminal apparatus transmission;
Described issuing after the unit receives the request of downloading-running data at described receiving element, after being used for this terminal equipment carried out payment verification, issue the service data of MIDlet to terminal equipment, described service data is stored in the privately owned file system or record management system of this terminal equipment.
The present invention also provides a kind of receiving system of J2ME program, and described device comprises:
Transmitting element is used for sending download request to server,
Receiving element is used for after transmitting element sends download request, and reception server is according to the installation kit of the MIDlet of this download request correspondence of this download request transmission, and described installation kit comprises: operation logic and data control logic;
Described receiving element also is used for the payment request of this MIDlet that reception server issues,
Payment unit is used for completing charge according to this payment request,
Described receiving element also is used for after described payment unit completes charge, the service data of this MIDlet that reception server sends,
Memory cell is used for this service data is stored in privately owned file system or the record management system.
The present invention provides a kind of device of writing of J2ME program again, and described device comprises:
Split cells is used for the data of MIDlet are divided into installation kit and service data; This installation kit comprises: operation logic and data control logic;
The unit is set, is used to be provided with sign, this sign is used for indicating terminal equipment that the service data of MIDlet is stored in RMS or privately owned file system.
The present invention provides a kind of delivery system of J2ME program once more, and described system comprises server and terminal equipment;
Described terminal equipment is used for sending download request to server,
Described server is used for finding according to the download request that receives the MIDlet of this download request correspondence, and the installation kit of this MIDlet is handed down to described terminal equipment, and this installation kit comprises: operation logic and data control logic;
Described terminal equipment is used for after receiving this installation kit this installation kit being installed, and after moving this MIDlet, sends the service data download request to described server;
Described server is used for after receiving the service data download request, send payment request to described terminal equipment, described terminal equipment completes charge according to this payment request, described server is after definite described terminal equipment is paid successfully, issue service data to described terminal equipment, described terminal equipment is stored in the service data that receives in privately owned file system or the record management system.
By the above-mentioned technical scheme that provides as can be seen, the technical scheme of the embodiment of the invention has the advantage of effective protection MIDlet copyright.
Embodiment
The invention provides a kind of dissemination method of J2ME program, this method adopts the mode that the application data of J2ME program is separated with installation kit to come the MIDlet copyright is effectively protected; This method can be finished by server, and concrete method comprises as shown in Figure 1:
The download request that S11, receiving terminal apparatus send finds the MIDlet of this download request correspondence according to this download request;
S12, the installation kit of MIDlet is handed down to terminal equipment, this installation kit comprises: operation logic and data control logic;
The request of the downloading-running data that S13, receiving terminal apparatus send, after this terminal equipment carried out payment verification, issue the service data of MIDlet to terminal equipment, this service data be stored in the privately owned file system of this terminal equipment or record management system (Record Management System, RMS).
Optionally, said method can also carry out service data being stored in RMS or the privately owned file system after the encryption, after adopt encryption, has further improved the difficulty that the user extracts service data, has improved the copyright protection dynamics of MIDlet.The mode of above-mentioned encryption can adopt Advanced Encryption Standard, and (TheAdvanced Encryption Standard, AES) or RSA etc., the present invention does not limit to the concrete mode of above-mentioned encryption.
Need to prove, any MIDlet has included service data, data control logic and operation logic, the logical order that can carry out during MIDlet for operation of operation logic wherein, service data can be operation necessary data during MIDlet, when for example MIDlet is Super Mario, operation logic can be the logical order of the required execution of operation Super Mario, service data is operation Super Mario necessary data, and concrete data are the interface, the map of Super Mario etc. of Super Mario for example.
Optionally, the mode that said method can adopt segmentation to issue service data is finished the download of service data, when adopting segmentation to issue, realizes that the method for S13 is specifically as follows:
The request of the downloading-running data that receiving terminal apparatus sends for the first time, this download equipment carried out the payment verification first time after, issue the corresponding data of checking for the first time to terminal equipment, this corresponding storage is in RMS or privately owned file system; As receive the request of the downloading-running data that terminal equipment sends for the second time, this download equipment is carried out the payment verification second time after, issue the corresponding data of checking for the second time to terminal equipment, this corresponding storage is in RMS or privately owned file system.Need to prove, if follow-uply receive the request of downloading the downloading-running data that end sends, proceed payment verification after, terminal equipment is issued the data of this checking correspondence.
The specific implementation method of above-mentioned payment verification can send a payment request to terminal equipment for, server, and terminal equipment completes charge according to this payment request, after server confirms that this terminal equipment completes charge, and the payment verification success.
Be that example illustrates the advantage of storage in RMS service data is stored in RMS now; when service data is stored in the RMS of terminal equipment; because the RMS of terminal equipment (for example mobile phone) is not open to the user; the user is the service data among the RMS can't be extracted by general means (for example with data wire or Bluetooth transmission); so this method has increased the extraction difficulty to service data; and the user only has operation logic and data control logic and do not have service data can't normally move MIDlet, so the copyright of MIDlet has been carried out certain protection.Even there is the user to get access to service data among the RMS again, because there is different forms in the service data that is stored among the RMS according to the difference of terminal equipment operating system, here be example with the mobile phone, can't in iPhone OS, move as the RMS service data of Symbian; Even, further protected the copyright of MIDlet so after from RMS, extracting service data, can not be applicable to the terminal equipment of all operations system by simple copy.
Be stored in RMS in identical, when service data being stored in the privately owned file system, also have with the above-mentioned RMS of being stored in identical advantage.
With a concrete instance implementation method that segmentation is downloaded is described below, here with the Super Mario example, suppose the service data of Super Mario to be divided into 3 parts by the pass number of Super Mario, be respectively service data 1, service data 2 and service data 3, after receiving the download request that terminal equipment sends for the first time as server, after terminal equipment carried out the payment verification first time, issue service data 1 to terminal equipment; After receiving the download request that terminal equipment sends for the second time as server, terminal equipment carried out the payment verification second time after, issue service data 1 to terminal equipment; After receiving the download request that terminal equipment sends for the third time as server, terminal equipment carried out for the third time payment verification after, issue service data 3 to terminal equipment.The concrete grammar of above-mentioned payment verification offers some clarification on, and is not giving unnecessary details here.
Above-mentioned terminal equipment can be for as equipment such as mobile phones.
The method that method provided by the invention is downloaded owing to the employing data separating is carried out the download of MIDlet, and the service data among the MIDlet is stored in RMS or the private data storehouse, has the advantage that the MIDlet copyright is effectively protected.
The invention provides an embodiment, an embodiment provides a kind of dissemination method of J2ME program, and this method is finished between server and mobile phone, and the MIDlet that present embodiment is downloaded is example with the Super Mario, and the MIDlet here is divided into 2 parts, installation kit and service data; Here the service data with Super Mario is divided into 2 parts, is respectively service data 1 and service data 2; This method comprises as shown in Figure 2:
S21, mobile phone send first request message of downloading Super Mario to server;
The method that realizes S21 is specifically as follows: mobile phone sends HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol, request message HTTP) of downloading Super Mario to server.
After S22, server receive first request message, the installation kit of Super Mario is handed down to mobile phone; This installation kit comprises: operation logic and data control logic;
After S23, mobile phone are installed the installation kit of Super Mario, move Super Mario, and send second request message to server, this second request message is used for to server requests service data 1;
The sending method of second request message among the S23 can be for behind: the mobile phone operation MIDlet, is set up and being connected of server by the MIDlet in the mobile phone, and sends second request message to server.
After S24, server receive second request message, send payment request 1 to mobile phone;
S25, mobile phone complete charge after receiving payment request 1;
S26, server send service data 1 to mobile phone after confirming to pay successfully;
S27, mobile phone send the 3rd request message to server after service data 1 is stored in RMS, and the 3rd request message is used for to server requests service data 2;
The send mode of above-mentioned the 3rd request message is identical with the send mode of second request message.
After S28, server receive the 3rd request message, send payment request 2 to mobile phone;
S29, mobile phone complete charge after receiving payment request 2;
S30, server send service data 2 to mobile phone after confirming to pay successfully;
S30A, mobile phone are stored in service data 2 among the RMS.
The method that method provided by the invention is downloaded owing to the employing data separating is carried out the download of MIDlet, and the service data among the MIDlet is stored among the RMS of mobile phone, has the advantage that the MIDlet copyright is effectively protected.
The present invention also provides a kind of method of reseptance of J2ME program, and this method comprises as shown in Figure 3:
S31, send download request to server, and the installation kit of the MIDlet of this download request correspondence of sending according to this download request of reception server; This installation kit comprises: operation logic and data control logic;
The payment request of this MIDlet that S32, reception server issue, and complete charge according to this payment request;
The service data of this MIDlet that S33, reception server send, and this service data is stored in privately owned file system or the record management system.
Optionally, said method can also comprise before the storage running data: service data is carried out encryption.
The service data that method of reseptance provided by the invention issues server is stored in RMS or the privately owned file system, provides effective protection to the copyright of MIDlet.
The invention provides a kind of write method of J2ME program, this method comprises as shown in Figure 4:
S41, the data of MIDlet are divided into installation kit and service data; This installation kit comprises: operation logic and data control logic;
S42, sign is set, this sign is used for indicating terminal equipment that the service data of MIDlet is stored in RMS or privately owned file system.
Write method provided by the invention is divided into installation kit and service data with the data of MIDlet; thereby supported the implementation that said method is downloaded service data and installation kit respectively; and service data is stored among the RMS or privately owned file system of terminal equipment, and then the copyright of MIDlet has been carried out effective protection by sign.
The invention provides a kind of distributing device of J2ME program, this device comprises as shown in Figure 5:
Receiving element 51 is used for the download request that receiving terminal apparatus sends, and finds the mobile information apparatus small routine MIDlet of this download request correspondence according to this download request;
Issue unit 52, be used for the installation kit of MIDlet is handed down to terminal equipment, described installation kit comprises: operation logic and data control logic;
Receiving element 51 also is used for the request of the downloading-running data of receiving terminal apparatus transmission;
Issue after unit 52 receives the request of downloading-running data at receiving element 51, after being used for this terminal equipment carried out payment verification, issue the service data of MIDlet to terminal equipment, above-mentioned service data is stored in the privately owned file system or record management system of this terminal equipment.
Optionally, the above-mentioned unit 52 that issues can comprise:
Sending module 521 is used to issue the installation kit of MIDlet;
Authentication module 522 is used for after the request that receives the downloading-running data this terminal equipment being carried out payment verification;
Segmentation issues module 523, is used for after authentication module 522 is finished checking, and the service data segmentation of described MIDlet is handed down to terminal equipment.
Device provided by the invention carries out the download of MIDlet owing to the method that the employing data separating is downloaded, and the service data among the MIDlet is stored in RMS or the private data storehouse, has the advantage that the MIDlet copyright is effectively protected.
The invention provides a kind of receiving system of J2ME program, this device comprises as shown in Figure 6:
Transmitting element 61 is used for sending download request to server,
Receiving element 62 is used for after transmitting element 61 sends download request, and reception server is according to the installation kit of the MIDlet of this download request correspondence of this download request transmission, and described installation kit comprises: operation logic and data control logic;
Receiving element 62 also is used for the payment request of this MIDlet that reception server issues,
Payment unit 63 is used for completing charge according to this payment request,
Receiving element 62 also is used for after described payment unit completes charge, the service data of this MIDlet that reception server sends,
Memory cell 64 is used for this service data is stored in privately owned file system or the record management system.
Optionally, said memory cells 64 comprises:
Encrypting module 641 is used for this service data is carried out encryption;
Memory module 642 is used for the service data after the encryption is stored in privately owned file system or the record management system.
The method of above-mentioned encryption can be referring to the associated description among the method embodiment.
The service data that receiving system provided by the invention issues server is stored in RMS or the privately owned file system, provides effective protection to the copyright of MIDlet.
The present invention also provides a kind of device of writing of J2ME program, and this device comprises as shown in Figure 7:
Split cells 71 is used for the data of MIDlet are divided into installation kit and service data; This installation kit comprises: operation logic and data control logic;
Unit 72 is set, is used to be provided with sign, this sign is used for indicating terminal equipment that the service data of MIDlet is stored in RMS or privately owned file system.
The device of writing provided by the invention is divided into installation kit and service data with the data of MIDlet; thereby supported the implementation that said method is downloaded service data and installation kit respectively; and service data is stored among the RMS or privately owned file system of terminal equipment, and then the copyright of MIDlet has been carried out effective protection by sign.
The invention provides a kind of delivery system of J2ME program, this system as shown in Figure 8: comprise server 81 and terminal equipment 82;
Terminal equipment 82 is used for sending download request to server 81,
Server 81 is used for finding according to the download request that receives the MIDlet of this download request correspondence, and the installation kit of this MIDlet is handed down to described terminal equipment, and this installation kit comprises: operation logic and data control logic;
Terminal equipment 82 is used for after receiving this installation kit this installation kit being installed, and after moving this MIDlet, sends the service data download request to server 82;
Server 81 is used for after receiving the service data download request, send payment request to terminal equipment 82, terminal equipment 82 completes charge according to this payment request, server 81 is after definite terminal equipment 82 is paid successfully, issue service data to terminal equipment 82, the service data that terminal equipment 82 is used for receiving is stored in privately owned file system or the record management system.
System provided by the invention carries out the download of MIDlet owing to the method that the employing data separating is downloaded, and by terminal equipment the service data among the MIDlet is stored in RMS or the private data storehouse, has the advantage that the MIDlet copyright is effectively protected.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises one of step or its combination of method embodiment when carrying out.
In sum, the technical scheme that the specific embodiment of the invention provides has the advantage of the copyright protection that improves MIDlet.
More than the embodiment of the invention is described in detail, used specific case herein principle of the present invention and execution mode set forth, the explanation of above embodiment just is used for help understanding method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.