CN100493111C - Device and method for automatically updating menu for mobile phone - Google Patents

Device and method for automatically updating menu for mobile phone Download PDF

Info

Publication number
CN100493111C
CN100493111C CNB2006100265192A CN200610026519A CN100493111C CN 100493111 C CN100493111 C CN 100493111C CN B2006100265192 A CNB2006100265192 A CN B2006100265192A CN 200610026519 A CN200610026519 A CN 200610026519A CN 100493111 C CN100493111 C CN 100493111C
Authority
CN
China
Prior art keywords
menu
module
mobile phone
file
resource
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.)
Expired - Fee Related
Application number
CNB2006100265192A
Other languages
Chinese (zh)
Other versions
CN101072396A (en
Inventor
刘冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Simcom Wireless Solutions Co Ltd
Original Assignee
Shanghai Chenxing Electronics Science and Technology 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 Chenxing Electronics Science and Technology Co Ltd filed Critical Shanghai Chenxing Electronics Science and Technology Co Ltd
Priority to CNB2006100265192A priority Critical patent/CN100493111C/en
Publication of CN101072396A publication Critical patent/CN101072396A/en
Application granted granted Critical
Publication of CN100493111C publication Critical patent/CN100493111C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The device for updating menu of handset automatically includes down loading module, parsing module, and display module. Including analytic explaining resources module, and constructing resources module, the parsing module is in use for generating menu resources needed by the display module. Using down loaded resource files in specific format, the method for automatically updating menu of handset updates menu resources files inside handset, parses resources files, and constructs new menu resources so as to implement updating menu resources inside handset. The invention raises rate for updating menu, reduces maintenance quantity, prolongs life cycle of software version of handset, promotes upgrading product, and lets users enjoy better value-added service. The invention is suitable to mobile device of changing built in menu frequently.

Description

The device and method of automatically updating menu for mobile phone
Technical field
The present invention relates to a kind of device and method that mobile device upgrades menu automatically that is used for, more specifically, is the device and method of the automatic update displayed menu used about mobile phone.
Background technology
The method of existing mobile communication equipment display menu, for example mobile phone is directly all menu resources just to be solidificated in when mobile phone dispatches from the factory in the ROM memory of mobile phone, when needs use, calls from the memory location of ROM memory and to be shown to the user.Need change if menu shows, then require every mobile phone again the resource among the burning ROM just can finish renewal.Such way is a thing that is very difficult to realize for the mobile device of enormous amount, no matter from the time go up, be a huge test on the energy to client and service commercial city, the prolongation in cycle update time, reduce the user virtually and used service, also influence the enthusiasm that operator improves service, if abandon old equipment, adopt the way of issue new equipment to reach the purpose of upgrading menu, but all bring unnecessary burden and waste can for country and user.
Summary of the invention
In sum, how overcoming the puzzlement that menu causes of above-mentioned prior art update displayed, is technical problem to be solved by this invention, for this reason, the purpose of this invention is to provide a kind of device and method of automatically updating menu for mobile phone.
The objective of the invention is to be achieved through the following technical solutions:
According to the device of a kind of automatically updating menu for mobile phone of the present invention, comprise the download module, parsing module and the display module that connect with data flow successively,
This download module: be used to connect the menu resource file new, and be saved in the memory of mobile phone with the Download Server end;
This parsing module: the menu resource file that is used for depositing in mobile phone memory is interpreted to the needed information of display module;
This display menu module: the menu resource that is used for having stored in the mobile phone is shown as menu;
Further, described download module is mainly connected the server end of network operation layer and is received the required resource file of download and upgrade by mobile phone GPRS module, the resource file of having been downloaded by mobile phone Nand memory stores;
Described parsing module comprises: analyze and understand resource module and structure resource module: this analysis is understood resource module mainly by the handset processes device, RAM and Nand memory are formed, and are used for the checkout resource file integrality, read, analyze the new menu resource file of download; This structure resource module is mainly by the handset processes device, and RAM forms and the Nand memory, and the resource file that is used for reading and analyze finishing transforms and stores according to the required data structure of display module;
Described display module is mainly by the handset processes device, and the Nand memory is formed, and is used for existing menu resource data are shown as menu.
Particularly, described resource file, its content comprises the file header information that is made of a series of agreement character strings, file version information, file settling time, file data main body and the end-of-file information that is made of the character string of a series of agreements.
According to same total inventive concept, the method for a kind of automatically updating menu for mobile phone of the present invention, its step comprises: S 1The download module of mobile phone connects by socket and network server end; S 2The version of the parsing module of mobile phone contrast mobile phone end and network server end resource file, if the resource file version information of server end than in the mobile phone newly, just download redaction and be saved in the mobile phone; Otherwise, then finish updating operation; S 3The integrality that parsing module in the mobile phone is confirmed file in download by the file header information and the end-of-file information of review engagement; If the downloaded resources fileinfo is correct, carry out S 4, otherwise, finish updating operation; S 4Afterwards, by parsing module resolving resource file, and be stored in file data in the demonstration resource memory block of special use by specific data structure; S 5At last, the display menu that is made up by display module data structure is by appointment shown;
Further, step S 4In, the step of resolving resource file: at first, obtain file handle, line by line the upgrade file data are understood and are stored among the interim Buff according to special algorithm; After data were carried out analyzing and processing, according to the algorithm of design, the data structure storage that the data among the interim Buff are converted to according to the rules showed among the Buff to special use.
Positive progressive effect of the present invention is: improve the speed that menu resource upgrades, reduce maintenance, prolong software version life cycle, promote the upgrading of operator to product, make the user enjoy better service quickly.
Description of drawings
Fig. 1 is the block diagram of the embodiment of the invention 1.
Fig. 2 is the flow chart of the embodiment of the invention 2.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with Fig. 1 and Fig. 2, to describe technical scheme of the present invention in detail.
Embodiment 1
As shown in Figure 1, a kind of device of automatically updating menu for mobile phone comprises:
Download module 1 by the on-line module in the mobile phone, uses GPRS to connect InterNet, obtains with server to be connected, and reads the resource file information of server end then, downloads and be saved to the Nand memory of mobile phone.
Parsing module 2 is interpreted to the needed information of display module with resource file, the demonstration resource memory block (Display Buff) of the usefulness of using when being stored in the display menu resource then by handset processes device (ARM) and RAM (internal memory) and according to special algorithm;
Wherein parsing module 2 also comprises:
Analyze and understand resource module 21, read and analyze the resource file that is stored in the mobile phone memory according to special algorithm by the handset processes device, and the result is temporarily stored in the internal memory;
Structure resource module 22 is transformed according to the analysis result that special algorithm will be temporarily stored in the internal memory by the handset processes device, and according to specific data structure storage to the display menu resource demonstration resource memory block (Display Buff) of the special use of time institute.
Display module 3 will show that the menu resource in the resource memory block (Display Buff) is shown as new menu.
Embodiment 2
As Fig. 2, a kind of method of automatically updating menu for mobile phone, editmenu 100 is upgraded in operation, comprises step:
1, obtain to connect (step 1001): mobile phone-downloaded module 1 connects by socket socket and server end;
2, parsing module 2 in the mobile phone is checked version information (step 1002): obtain the file version information in the server end resource file information earlier, compare with the file version information in the existing resource file information in the mobile phone, (as: server end resource file version information is 1.1.0, mobile phone end resource file version information is 1.0.0, the then resource file version information of server end new than in the mobile phone), if the resource file version information of server end new than in the mobile phone, then enter next step (execution in step 1003), otherwise then finish updating operation (execution in step 1006).
3, downloaded resources file (step 1003): mobile phone-downloaded module 1 is carried out the data download by socket socket and server end, and is saved in the interior memory of mobile phone.
4, the resource file downloaded of mobile phone parsing module 2 inspection whether complete (step 1004): the file header information and the end-of-file information (being specific character string) that read assigned address in the resource file of download earlier, and check whether this information is consistent with the information of agreement, if it is correct, then enter next step (execution in step 1005), otherwise finish updating operation (execution in step 1006).
5, mobile phone is resolved also structure resource (step 1005): the analysis in the parsing module 2 is understood resource module 21 and is at first obtained the resource file handle downloaded, line by line the data subject of resource file being separated according to special algorithm then reads out and is temporarily stored in the internal memory, separated the data that read out in the internal memory and analyzed leaving in again, structure (relation of the superior and the subordinate's menu) as menu, displaying contents (being shown to the clauses and subclauses that the user sees), operation (the operation of carrying out of this menu correspondence, send note, call, enter next stage menu etc.), after analyzing end, data transaction after structure resource module 22 in the parsing module 2 will be analyzed according to special algorithm becomes according to showing the desired data structure, and when storing the display menu resource into special-purpose demonstration resource memory block (Display Buff).
6, last, will show that by the display module in the mobile phone 3 menu resource in the resource memory block (Display Buff) shows new menu.

Claims (6)

1, a kind of device of automatically updating menu for mobile phone comprises the download module that connects with data flow successively, parsing module and display module:
This download module: be used to connect the menu resource file new, and be saved in the memory of mobile phone with the Download Server end;
This parsing module: the menu resource file that is used for depositing in mobile phone memory is interpreted to the needed information of display module, this parsing module comprises analyzing understands resource module and structure resource module, this is analyzed and understands resource module mainly by the handset processes device, RAM and Nand memory are formed, be used for the checkout resource file integrality, read, analyze the new menu resource file of downloading, this structure resource module is mainly by the handset processes device, RAM forms and the Nand memory, and the resource file that is used for reading and analyze finishing transforms and stores according to the required data structure of display module;
This display menu module: the menu resource that is used for having stored in the mobile phone is shown as menu.
2, the device of automatically updating menu for mobile phone according to claim 1, it is characterized in that, described download module is mainly connected the server end of network operation layer and is received the required resource file of download and upgrade by mobile phone GPRS module, the resource file of having been downloaded by mobile phone Nand memory stores.
3, the device of automatically updating menu for mobile phone according to claim 1 is characterized in that, described display module is mainly by the handset processes device, and the Nand memory is formed, and is used for existing menu resource data are shown as menu.
4, according to the device of each described automatically updating menu for mobile phone among the claim 1-3, it is characterized in that, described resource file, its content comprise the file header information that is made of a series of agreement character strings, file version information, file settling time, file data main body and the end-of-file information that is made of the character string of a series of agreements.
5, a kind of method of automatically updating menu for mobile phone comprises step:
S 1. the mobile phone-downloaded module connects by socket and network server end;
S 2. the version of the parsing module of mobile phone contrast mobile phone end and network server end resource file, if the resource file version information of server end than in the mobile phone newly, just download redaction and be saved in the mobile phone; Otherwise, then finish updating operation;
S 3. the integrality that the parsing module in the mobile phone is confirmed file in download by the file header information and the end-of-file information of review engagement; If the downloaded resources fileinfo is correct, carry out S 4, otherwise, finish updating operation;
S 4. afterwards,, and be stored in file data in the demonstration resource memory block of special use by specific data structure by parsing module resolving resource file;
S 5. last, the display menu that is made up by display module data structure is by appointment shown.
6, the method for automatic renewal menu according to claim 5 is characterised in that, step S 4In, the step of resolving resource file: at first, obtain file handle, line by line the upgrade file data are understood and are stored among the interim Buff according to special algorithm; After data were carried out analyzing and processing, according to the algorithm of design, the data structure storage that the data among the interim Buff are converted to according to the rules showed among the Buff to special use.
CNB2006100265192A 2006-05-12 2006-05-12 Device and method for automatically updating menu for mobile phone Expired - Fee Related CN100493111C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100265192A CN100493111C (en) 2006-05-12 2006-05-12 Device and method for automatically updating menu for mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100265192A CN100493111C (en) 2006-05-12 2006-05-12 Device and method for automatically updating menu for mobile phone

Publications (2)

Publication Number Publication Date
CN101072396A CN101072396A (en) 2007-11-14
CN100493111C true CN100493111C (en) 2009-05-27

Family

ID=38899341

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100265192A Expired - Fee Related CN100493111C (en) 2006-05-12 2006-05-12 Device and method for automatically updating menu for mobile phone

Country Status (1)

Country Link
CN (1) CN100493111C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247593B (en) * 2008-03-06 2011-05-11 中兴通讯股份有限公司 System and method for configuring mobile phone subscriber interface operation interface
JP4548524B2 (en) * 2008-07-29 2010-09-22 ソニー株式会社 COMMUNICATION DEVICE, PROGRAM, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
CN102129378B (en) * 2010-01-20 2016-04-20 腾讯科技(深圳)有限公司 A kind of software menu updating method and device
CN102510389B (en) * 2011-09-26 2015-02-11 Tcl集团股份有限公司 Methods and systems for transmitting, installing and presenting application
CN102547672A (en) * 2011-12-30 2012-07-04 苏州汉清投资管理有限公司 Automatic updating system of mobile software menu
CN102427496A (en) * 2011-12-30 2012-04-25 苏州汉清投资管理有限公司 Method for automatically updating mobile phone software menu
CN102902748A (en) * 2012-09-18 2013-01-30 上海移远通信技术有限公司 Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1281194A (en) * 2000-08-23 2001-01-24 大唐电信科技股份有限公司微电子分公司 Implementation method for downloading dynamic e-commerce menu on the basis of mobile telephone with short message service
CN1333637A (en) * 2000-07-07 2002-01-30 深圳黎明电脑网络有限公司 Method for dynamic obtaining value-added manu of short message of mobile telephone set
CN1423505A (en) * 2003-01-06 2003-06-11 赵生利 Method for realizing dynamic menu update of hand-held apparatus by short-distance wireless communication
WO2005017670A2 (en) 2003-08-05 2005-02-24 Yahoo! Inc. Method and system of controlling a context menu

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1333637A (en) * 2000-07-07 2002-01-30 深圳黎明电脑网络有限公司 Method for dynamic obtaining value-added manu of short message of mobile telephone set
CN1281194A (en) * 2000-08-23 2001-01-24 大唐电信科技股份有限公司微电子分公司 Implementation method for downloading dynamic e-commerce menu on the basis of mobile telephone with short message service
CN1423505A (en) * 2003-01-06 2003-06-11 赵生利 Method for realizing dynamic menu update of hand-held apparatus by short-distance wireless communication
WO2005017670A2 (en) 2003-08-05 2005-02-24 Yahoo! Inc. Method and system of controlling a context menu

Also Published As

Publication number Publication date
CN101072396A (en) 2007-11-14

Similar Documents

Publication Publication Date Title
CN100493111C (en) Device and method for automatically updating menu for mobile phone
CN102622241B (en) A kind of method for upgrading software and device
CN105100191B (en) The method, apparatus and system of Java application installations are realized in a kind of cloud compiling
US10261774B2 (en) Modification of terminal and service provider machines using an update server machine
CN105389222B (en) A kind of methods, devices and systems of dynamic call native interface
CN101795392B (en) Application data-downloading method, digital television receiving terminal and system
KR101198583B1 (en) Apparatus of multimedia middle ware using metadata and management method and storing medium thereof
CN1886976B (en) Method and apparatus for performing actions on a wireless device using action lists and versioning
CN101674590A (en) Client device and remote updating method and remote updating service system thereof
CN103095838A (en) Method for upgrading Android smartphone software through downloading incremental upgrade package
CN101073055A (en) A method of providing content to a wireless computing device
CN101076162A (en) Method for automatically updating cell-phone user interface
CN106201577B (en) A kind of method and device updating Lua file
CN101354725B (en) Method and apparatus for constructing and analyzing WAP page
CN102571860A (en) Method, device and system for managing plug-in module
US20100083244A1 (en) Methods, apparatuses, and computer program products for repurposing computing devices
CN104219295A (en) Server-side configuration based information display method and system for mobile equipment
CN109885332A (en) Image quality chip software upgrade method, device, display equipment and storage medium
CN100433872C (en) Method for supporting large JAVA application download in mobile terminal
CN105808282A (en) Method and device for updating webpage contents of application program
CN103019795A (en) Method and system for upgrading software basic data
CN107948239A (en) Version upgrading method and its system based on android system
EP1598739A1 (en) Native compile method, native compile preprocessing method, computer program, and server
KR20020009741A (en) Apparatus for etalishing operating platform of mobile phone and wireless up-grading method of application thereby
CN105554148A (en) Automatic program updating device and method of wireless reading pen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHANGHAI CHENXING SIMCOM ELECTRONIC TECHNOLOGY CO.

Free format text: FORMER NAME: SHANGHAI CHENXING ELECTRONIC TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 201700 Shengli Road, Qingpu District, Shanghai, No. 888

Patentee after: Shanghai Sunrise Simcom Electronic Technology Co., Ltd.

Address before: 201700 Shengli Road, Qingpu District, Shanghai, No. 888

Patentee before: Shanghai Chenxing Electronics Science & Technology Co., Ltd.

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160309

Address after: 200335 Shanghai city Changning District Admiralty Road No. 633 building A Room 201

Patentee after: SIMCom Wireless Technology (Shanghai) Co., Ltd.

Address before: 201700 Shengli Road, Qingpu District, Shanghai, No. 888

Patentee before: Shanghai Sunrise Simcom Electronic Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090527

Termination date: 20190512