CN101312567A - Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource - Google Patents

Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource Download PDF

Info

Publication number
CN101312567A
CN101312567A CNA2007100412586A CN200710041258A CN101312567A CN 101312567 A CN101312567 A CN 101312567A CN A2007100412586 A CNA2007100412586 A CN A2007100412586A CN 200710041258 A CN200710041258 A CN 200710041258A CN 101312567 A CN101312567 A CN 101312567A
Authority
CN
China
Prior art keywords
resource
server
data
mobile phone
version information
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
Application number
CNA2007100412586A
Other languages
Chinese (zh)
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.)
SHANGHAI MTONE WIRELESS CO Ltd
Original Assignee
SHANGHAI MTONE WIRELESS 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 SHANGHAI MTONE WIRELESS CO Ltd filed Critical SHANGHAI MTONE WIRELESS CO Ltd
Priority to CNA2007100412586A priority Critical patent/CN101312567A/en
Publication of CN101312567A publication Critical patent/CN101312567A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for dynamically refreshing data resource in a mobile phone J2ME client, for resolving the complexity and long time consumption problems caused by self refresh in a J2ME client. The method comprises steps that: 1, a client searches the version information of the data resource in the local RMS of the mobile phone and transmits the version information to a server via network; 2, the server compares the version information of the prior resource and the version information reported by the client, to decide to refresh or not; 3, if needs refreshing, transmits the latest version number of the resource and the resource data packet to the mobile phone client, or else only transmits the latest version information number of the resource; 4, the mobile phone client receives the server data, according to the resource version information transmitted from the server judges to refresh or not. The method can make a mobile phone J2ME client to quickly refresh the latest data content, reduce unnecessary repeated resource data transmission, and provide abundant content to users without affecting the normal application.

Description

A kind of J2ME customer terminal of mobile phone uses the method that dynamically updates data resource
Technical field
The present invention relates to a kind of method of upgrading data resource, more particularly, relate to a kind of J2ME customer terminal of mobile phone and use the method that dynamically updates data resource.
Background technology
At present, mobile phone provides increasing recreation experience and business processing function, be subjected to the restriction of mobile phone self, a lot of amusements and business function realize by J2ME (JAVA2 Micro Edition) client, J2ME (JAVA2 Micro Edition) is a kind of JAVA application development platform, it is the miniature version of JAVA2 Standard Edition, is that small type mobile devices is designed specially.The disposal ability of these device handlers is not strong, and spendable resource is also limited.Therefore, J2ME has only comprised among the J2SE necessary function and assembly on mobile communication equipment, makes it can develop the application of rich and varied and platform independence on mobile device and Limited resources thereof.
Realization along with how new function, must be accompanied by the renewal of J2ME client resource, and the renewal of J2ME client is quite loaded down with trivial details, often need the own Connection Service device of user, select to upgrade version, when a plurality of version is provided on the server sometimes, allow the user be at a loss, the version of downloading even may be lower than the version of the current use of user, not only time-consuming but also inefficiency.
In order to solve such problem, the someone utilizes MIDP, and (Mobile Information Device Profile, it is the abbreviation that moves the information equipment standard.Standard has specifically defined the hardware and software framework that J2ME is suitable for, and the basic function and the standard interface thereof that provide this framework to realize, and application developer just can be developed various application based on this framework) in MIDlet calling mobile phone browser upgrade the J2ME client, such calling only solved the loaded down with trivial details problem of Connection Service device on the one hand, do not provide simple mode to download latest update; On the other hand, the calling mobile phone browser is only applicable to MIDP2.0 standard (lower MIDP1.0 standard is not supported), applicable scope is too narrow, and part is supported the mobile phone of MIDP2.0, as motoA760, E680I, A780 etc. even do not support the calling mobile phone browser, and therefore such method is extremely unsuccessful.
Based on the needs of storage, J2ME provides an important subsystem RMS (RecordManagement System), and purpose is to realize the persistent storage of application program local data.Support that at present the mobile information apparatus of file system is also limited, so Record Management System is the first-selected approach that J2ME developer realizes local datastore.
As the term suggests Record Management System is the system of management data, Record is a most important entity in the system.Mobile device memory space storage be not field, but byte arrays.RMS is similar to a toy data base, and RecordStore is equivalent to the table of database, and each " table " is made of some records (Record), and record is exactly a recording mechanism RecordID who represents with int and use byte[] content represented.Recording mechanism can be regarded as " major key ", byte[] the storage of array content.
The version information of the J2ME client resource that stores among the RMS can be used to its renewal is judged, but the application of this respect also rarely has the people to adopt.
Summary of the invention
The purpose of this invention is to provide a kind of J2ME customer terminal of mobile phone and use the method that dynamically updates data resource, upgrade loaded down with trivial details and time-consuming problem, client is used automatically and upgraded data resource to solve J2ME client self.
Technical problem solved by the invention can realize by the following technical solutions:
A kind of J2ME customer terminal of mobile phone uses the method that dynamically updates data resource, it is characterized in that, the version information of data resource carries out Data Update on version information by relatively will being stored in data resource among the local RMS of mobile phone and the server, comprises the steps:
1. client is searched the version information of the data resource among the local RMS of mobile phone, and uploads this version information to server by network;
2. the more current resource version information of server and the resource version information of client upload need to judge whether to upgrade;
3. then issue this resource latest edition this shop and resource data content bag as if needing to upgrade, otherwise only issue the latest edition this shop of this resource to cell-phone customer terminal;
4. cell-phone customer terminal reception server data, relatively the resource version information that issues of server and the version information of the data resource among the local RMS of mobile phone judge whether to upgrade operation.
Among the present invention, if in the step 1, the data resource among the local RMS of mobile phone does not have version information, then uploads default version number to server, can't compare judgement to avoid appearance.
In the step 2, be lower than the version number on the server, then think and to upgrade client if the version information uploaded is default version number or the version number that uploads; Otherwise thinking does not need to upgrade.
In the step 4, if the data resource version information among the local RMS of mobile phone is that default version number or city edition this shop are lower than the resource version number that server issues, then the resource data store that server is passed down is in RMS, and the version number of this resource is stored among the RMS, begin to load the data resource after the renewal then; Otherwise directly load and use original resource data among the local RMS of mobile phone.
Among the present invention, when uploading the resource version information, can upload resource ID simultaneously, again resource ID is stored in after the renewal resource information among the local RMS of mobile phone to server to server.
The present invention dynamically updates the method for data resource, can make J2ME customer terminal of mobile phone use up-to-date data content easily, and reduce the transmission of unnecessary repetition resource data, and, make user recreation experience and business processing on mobile phone convenient and satisfied to the normal use that the user provides colourful content not influence the user simultaneously.
Description of drawings
Fig. 1 is a flow chart of the present invention.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach purpose and effect is easy to understand, below in conjunction with concrete diagram, further set forth the present invention.
As shown in Figure 1, a kind of J2ME customer terminal of mobile phone uses the method that dynamically updates data resource, it mainly is to upload onto the server by the version information that will be stored in data resource among the local RMS of mobile phone, and and server on the version information of data resource compare, to judge whether carrying out Data Update.
At first, when the user uses a data resource, at first search the relevant release note of this resource among the local RMS of mobile phone according to the ID of data resource, and send this resource ID and city edition this shop to server by network, if the version information of this resource not among the local RMS, then use the default version number of acquiescence, for example can use 0.0.
The version information of this resource not in local RMS, upload be default version number 0.0 time, then giving tacit consent to the client data resource needs to upgrade, server then sends resource latest edition this shop and resource data content bag to cell-phone customer terminal.
The version information that comprises this resource among the local RMS is 1.2 as the version number of client terminal local, after city edition this shop 1.2 uploads onto the server, then need relatively be stored in city edition this shop among the RMS and the version number on the server, needs to upgrade determining whether.The version number of supposing this resource on the server is 1.5, be lower than version number 1.5 on the server owing to be stored in city edition this shop 1.2 among the RMS, think that then the client data resource needs to upgrade, this moment, server can send resource latest edition this shop 1.5 and resource data content bag to cell-phone customer terminal.
If the version number of this resource is 1.0 on the server, because city edition this shop 1.2 is higher than version number 1.0 on the server, think that then the client data resource does not need to upgrade, this moment, server just only sent resource current version numbers 1.0 to cell-phone customer terminal.
After the cell-phone customer terminal reception server data, need to judge whether to upgrade by version number that compares the up-to-date resource that passes under the server and the city edition this shop that is stored among the RMS.If city edition this shop is a default version number 0.0, then city edition this shop 0.0 is inevitable less than the version number that passes under the server, think that the cell-phone customer terminal resource needs to upgrade this moment, then the resource data store that server is passed down is in RMS, and the version number of this resource is stored among the RMS, begin to load the data resource after the renewal then.
City edition this shop in being stored in RMS is during for default version number 0.0, then need relatively be stored in the version number that city edition this shop among the RMS and server pass down, to determine whether cell-phone customer terminal needs to upgrade.Suppose that city edition this shop is 1.2, the version number that server passes down is 1.5, because city edition this shop 1.2 is lower than the version number 1.5 that passes under the server, think that then the cell-phone customer terminal resource needs to upgrade, descend the resource data store of biography in RMS server, and the version number of this resource is stored among the RMS, begin to load the data resource after the renewal then.
If city edition this shop is 1.2, the version number that server passes down is 1.0, because city edition this shop 1.2 is higher than the version number 1.0 that passes under the server, think that then the cell-phone customer terminal resource does not need to upgrade, then directly load and use original resource data among the local RMS of mobile phone, the ID and the version number that are stored in this resource among the RMS do not change.
When mobile phone uses data resource, all carry out above-mentioned step at every turn, also just realized dynamically updating of J2ME customer terminal of mobile phone data resource.
More than show and described basic principle of the present invention and principal character and advantage of the present invention.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; that describes in the foregoing description and the specification just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (7)

1. a J2ME customer terminal of mobile phone uses the method that dynamically updates data resource, it is characterized in that, the version information of data resource carries out Data Update on version information by relatively will being stored in data resource among the local RMS of mobile phone and the server, comprises the steps:
1]. client is searched the version information of the data resource among the local RMS of mobile phone, and uploads this version information to server by network;
2]. the resource version information that server is more current and the resource version information of client upload need to judge whether to upgrade;
3]. then issue this resource latest edition this shop and resource data content bag if need to upgrade, otherwise only issue the latest edition this shop of this resource to cell-phone customer terminal;
4]. cell-phone customer terminal reception server data, the version information of data resource judges whether to upgrade operation among the local RMS of resource version information that the comparison server issues and mobile phone.
2. the method for claim 1 is characterized in that: if in the step 1, the data resource among the local RMS of mobile phone does not have version information, then uploads default version number to server.
3. method as claimed in claim 1 or 2 is characterized in that: the version information of uploading is default version number, then thinks and need upgrade client.
4. the method for claim 1, it is characterized in that: the version number of upload version information is lower than the version number on the server, then thinks and need upgrade client; Otherwise thinking does not need to upgrade.
5. the method for claim 1, it is characterized in that: in the step 4, if the resource version information among the local RMS of mobile phone is default version number, then the resource data store that server is passed down is in RMS, and the version number of this resource is stored among the RMS, begin to load the data resource after the renewal then.
6. the method for claim 1, it is characterized in that: in the step 4, if the city edition this shop of data resource version information is lower than the resource version number that server issues among the local RMS of mobile phone, then the resource data store that server is passed down is in RMS, and the version number of this resource is stored among the RMS, begin to load the data resource after the renewal then, otherwise directly load and use original resource data among the local RMS of mobile phone.
7. the method for claim 1 is characterized in that: can upload resource ID simultaneously to server when uploading the resource version information to server, resource ID is stored in after the renewal resource information among the local RMS of mobile phone again.
CNA2007100412586A 2007-05-25 2007-05-25 Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource Pending CN101312567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100412586A CN101312567A (en) 2007-05-25 2007-05-25 Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100412586A CN101312567A (en) 2007-05-25 2007-05-25 Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource

Publications (1)

Publication Number Publication Date
CN101312567A true CN101312567A (en) 2008-11-26

Family

ID=40100953

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100412586A Pending CN101312567A (en) 2007-05-25 2007-05-25 Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource

Country Status (1)

Country Link
CN (1) CN101312567A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841535A (en) * 2010-04-01 2010-09-22 华为终端有限公司 Releasing method for J2ME(Java 2 Micro Edition) programme, receiving method, device and system thereof
CN102217337A (en) * 2011-05-13 2011-10-12 华为终端有限公司 Method, apparatus and mobile terminal for updating service content of unstructured supplementary service data
CN102263805A (en) * 2010-05-25 2011-11-30 腾讯科技(北京)有限公司 Dynamic resource downloading method and apparatus thereof
CN103177079A (en) * 2013-02-06 2013-06-26 北京小米科技有限责任公司 Detection method, terminal and server for updating theme
CN104113567A (en) * 2013-04-18 2014-10-22 腾讯科技(深圳)有限公司 Content distribution network data processing method, device and system
CN104778063A (en) * 2015-04-16 2015-07-15 小米科技有限责任公司 Method and device for updating resource
CN104965730A (en) * 2015-06-02 2015-10-07 广东欧珀移动通信有限公司 Version upgrading method and system
CN105302587A (en) * 2014-06-30 2016-02-03 腾讯科技(深圳)有限公司 Data updating method and apparatus
CN110244957A (en) * 2019-05-10 2019-09-17 阿里巴巴集团控股有限公司 A kind of resource data updating method, apparatus and system
WO2020061731A1 (en) * 2018-09-25 2020-04-02 深圳市欢太科技有限公司 Resource processing method, electronic device, and computer-readable storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841535A (en) * 2010-04-01 2010-09-22 华为终端有限公司 Releasing method for J2ME(Java 2 Micro Edition) programme, receiving method, device and system thereof
CN102263805A (en) * 2010-05-25 2011-11-30 腾讯科技(北京)有限公司 Dynamic resource downloading method and apparatus thereof
CN102217337A (en) * 2011-05-13 2011-10-12 华为终端有限公司 Method, apparatus and mobile terminal for updating service content of unstructured supplementary service data
WO2011127847A3 (en) * 2011-05-13 2012-04-12 华为终端有限公司 Method, apparatus and mobile terminal for updating service content of unstructured supplementary service data
CN102217337B (en) * 2011-05-13 2013-12-04 华为终端有限公司 Method, apparatus and mobile terminal for updating service content of unstructured supplementary service data
CN103177079B (en) * 2013-02-06 2016-07-13 小米科技有限责任公司 Detection method, terminal and the server that a kind of theme updates
CN103177079A (en) * 2013-02-06 2013-06-26 北京小米科技有限责任公司 Detection method, terminal and server for updating theme
CN104113567A (en) * 2013-04-18 2014-10-22 腾讯科技(深圳)有限公司 Content distribution network data processing method, device and system
CN105302587A (en) * 2014-06-30 2016-02-03 腾讯科技(深圳)有限公司 Data updating method and apparatus
CN105302587B (en) * 2014-06-30 2019-01-11 腾讯科技(深圳)有限公司 Data-updating method and device
CN104778063A (en) * 2015-04-16 2015-07-15 小米科技有限责任公司 Method and device for updating resource
CN104965730A (en) * 2015-06-02 2015-10-07 广东欧珀移动通信有限公司 Version upgrading method and system
CN104965730B (en) * 2015-06-02 2018-09-04 广东欧珀移动通信有限公司 A kind of version upgrading method and system
WO2020061731A1 (en) * 2018-09-25 2020-04-02 深圳市欢太科技有限公司 Resource processing method, electronic device, and computer-readable storage medium
CN110244957A (en) * 2019-05-10 2019-09-17 阿里巴巴集团控股有限公司 A kind of resource data updating method, apparatus and system

Similar Documents

Publication Publication Date Title
CN101312567A (en) Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource
KR101105176B1 (en) Method of supplying content to a device
KR101384387B1 (en) System and method for provisioning a user device
US8752044B2 (en) User experience and dependency management in a mobile device
KR100954346B1 (en) Method, system, apparatus ? computer program product for enabling the pre-download of media objects
US6920488B1 (en) Server assisted system for accessing web pages from a personal data assistant
KR101253792B1 (en) A method of automatically building a customised software application for a specific type of wireless computing device
US8200626B1 (en) Mobile device file management
FI114750B (en) Synchronizing data
US8838087B1 (en) Provisioning system and methods for interfaceless phone
CN102355500B (en) Service push method and device
CN100552678C (en) Be used to transmit the system and method for content
KR20040004035A (en) Application catalog on an application server for wireless devices
US20040199550A1 (en) Information management technique
US9549009B1 (en) Electronic fixed brand labeling
CN102265275A (en) Method, apparatus and computer program product for providing unrestricted content on a user terminal
CN103634393A (en) IVR (interactive voice response) and realization method thereof
CN102594859B (en) A kind of rendering method of business datum, terminal, server and system
CN101547256A (en) Mobile terminal, news acquisition method thereof, and system terminal
CN102546273A (en) Test system and test method for WAP (wireless application protocol) website
KR20050094372A (en) System and method for servicing multimedia contents and recording medium thereof
CN108920642A (en) Campus information delivery system
CN113691413A (en) Method and system for realizing compatibility of Internet of things equipment with multiple modules
CN101193343B (en) A method and system for providing mobile communication terminal with personalized network access information
Genco et al. An augmented campus design for context-aware service provision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20081126