CN101707751A - Automatic conversion method of bytecodes of application menu of OTA standard card industry - Google Patents

Automatic conversion method of bytecodes of application menu of OTA standard card industry Download PDF

Info

Publication number
CN101707751A
CN101707751A CN200910084689A CN200910084689A CN101707751A CN 101707751 A CN101707751 A CN 101707751A CN 200910084689 A CN200910084689 A CN 200910084689A CN 200910084689 A CN200910084689 A CN 200910084689A CN 101707751 A CN101707751 A CN 101707751A
Authority
CN
China
Prior art keywords
menu
node
ota
bytecode
standard
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
CN200910084689A
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.)
Beijing Youshi Zhihui Information Technology Co Ltd
Original Assignee
Beijing Youshi Zhihui Information 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 Beijing Youshi Zhihui Information Technology Co Ltd filed Critical Beijing Youshi Zhihui Information Technology Co Ltd
Priority to CN200910084689A priority Critical patent/CN101707751A/en
Publication of CN101707751A publication Critical patent/CN101707751A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an automatic conversion method of bytecodes of an application menu of an OTA standard card industry, which comprises the steps of: converting the application menu made in a WEB page by a user into an XML format; and then converting the XML format into bytecodes according with the Bytecode format of the OTA standard. By using the invention, the business menu edited by the user is automatically converted into industry application data according with the OTA2.0 or OTA 3.0 code standard, with short conversion period, high efficiency and more convenient use.

Description

OTA standard card sector application menu bytecode automatic switching method
Technical field
The present invention relates to STK card dream net short message service menu OTA downloading service, relate in particular to a kind of OTA standard card sector application menu bytecode automatic switching method.
Background technology
OTA card menu downloading service is meant that the user can be according to the needs of oneself, at any time increase or delete mobile dream network's short message service menu on the own OTA card, with this personalization and professional real-time of upgrading that realizes dream net service, make operator's every dream net short message service that can more convenient, more promptly be in full swing simultaneously.
The realization that the OTA menu is downloaded is by means of STK function and short message passage, support the aerial OTA card of downloading to provide feasible man-machine interface interface for users to initiate to download application, the OTA application download server is asked according to the user, to serve the download content accordingly with the form of data short message (SIM_Data Download pattern) and issue user mobile phone, and data download passed to user OTA card pellucidly, the OTA card is organized storage to downloading content, realizes corresponding STK card menu management.
Sector application bytecode tools (provider provides by the industry platform) are used according to the sector application demand that provides in the central industry STK management platform by service management person, carry out sector application and make and compile.And generate and to meet the sector application data (sector application bytecode) of OTA2.0 or OTA3.0 codes and standards, and download to user mobile phone service is provided.The present stage making of application menu needs the personnel of specialty to make, and the artificial then sector application bytecode that is converted to uploads to the OTA management platform and downloading to user's mobile phone.Such flow process causes the exploitation of menu long to the cycle of using, and efficient is lower.
Summary of the invention
The object of the present invention is to provide and a kind ofly can convert the user to meet OTA2.0 or OTA3.0 codes and standards the OTA standard card sector application menu bytecode automatic switching method that sector application data, change-over period are short, efficient is high automatically from the service menu of edlin automatically.
To achieve these goals, the technical solution used in the present invention is as follows:
OTA standard card sector application menu bytecode automatic switching method of the present invention comprises the steps:
The first step: use a computer design and making service menu, this service menu is a Web page, deposits in the specific database;
Second step: from database, extract the menu relevant information, and convert the menu of standard x ML form to;
The 3rd step: the bytecode menu that XML form menu is converted to standard OTA standard Bytecode form;
The 4th step: call the API that mobile STK management platform provides, the bytecode that generates in the step 3 is submitted to the STK management platform for user's download.
Beneficial effect of the present invention is as follows:
Use the present invention to convert the user to meet OTA2.0 or OTA3.0 codes and standards sector application data automatically from the service menu of edlin, the change-over period is short, efficient is high, uses convenient.
Description of drawings
Fig. 1 is the basic flow sheet of described OTA standard card sector application menu bytecode conversion method of the present invention.
Embodiment
Referring to accompanying drawing 1, OTA standard card sector application menu bytecode conversion method of the present invention is at first write service menu as required by the client, convert the service menu of writing to the XML form again, according to standard OTA standard the XML format conversion is become industry reference format-Bytecode form then, the menu with the Bytecode form is provided to download platform for the mobile phone terminal download at last.
Described service menu is a Web page, and this service menu can comprise following element: " options " comprises each option corresponding character, as " material reports ", " information inquiry " etc.; " input item " comprises the information of prompting user input, as " please import the content that needs inquiry: ", and the information type of user's input, as " numeral ", the minimum maximum length of input is as minimum " 8 " byte, maximum " 30 " byte etc.; " sending item " as long as comprise the transmission signal language, just can select the user front and the information of input is issued network on all.
Automatically convert service menu to the xm1 form, realize by the following method:
A) from database, read the node structure information of menu, menu and user's first class catalogue position.
B) use the utf-8 coding, generate the xm1 document, add root node<menus, to root node interpolation<industry schema=" field operation OTA2Bytecode transforms formal definition automatically " level=" 01 "〉node.
C) to<industry〉node interpolation<Appname〉node, its textual value is the Apply Names of menu for this reason, as:<Appname〉illustrated menu</Appname 〉
D) to<industry〉node interpolation<CID〉node, its textual value is enterprise first class catalogue position, as:<CID〉01</CID 〉
E) to<industry〉node interpolation<AID〉node, its textual value is a menu position, as:<AID〉01</AID 〉
F) to<industry〉node interpolation<TPDA〉node, its textual value is the up number of menu, as:<TPDA〉10659822965</TPDA 〉
G) to<industry〉node interpolation<menu〉node, this intranodal is the node structure information of menu.
H) (menu nodes type and corresponding standard xml node are referring to table according to its locations of structures and node type with the node of menu
1) be added into<menu node.
I) downstream site of this menu nodes is generated standard xml node according to its locations of structures and node type, and add in the standard xml node of menu nodes correspondence so far; And the like.
J), then behind its standard xml node, add the xml node of transmission and redirect if menu nodes is the afterbody node.
Table 1 menu nodes type and corresponding standard xml node thereof
The menu nodes type Standard xml node name The xml node content
Display module ??<selectItems> Attribute: id-node i d, MoCMD-last line code child node:<ItemName 〉-textual value is a displaying contents
The menu nodes type Standard xml node name The xml node content
Input module ??<CMD> Child node:<CMDName 〉-textual value is the title<CMDMode of input 〉-textual value is 01<GetInputMode 〉-textual value is the type of input, 00 be that numeral input, 01 be Chinese character input<Min for character input, 03 〉-textual value is the minimum character number<Max that imports 〉-textual value is the maximum character number of importing
Select assembly ??<selectItems> Attribute: id-node i d, MoCMD-last line code child node:<ItemName 〉-a plurality of, textual value is each selective value
Carry not assembly ??<CMD> Child node:<CMDName 〉-content<CMDMode of textual value for pointing out 〉-textual value is 02
Call out tail row assembly ??<CMD> Child node:<cMDName>Call out</CMDName><cMDMode>-textual value is 05<phoneNo>-textual value is a call number
Send ??<CMD> Child node:<cMDName>Send</CMDName><cMDMode>-textual value is 03
Redirect ?<CMD> Child node:<cMDName>Redirect</CMDName><cMDMode>-textual value is 04<jumpNode>-textual value is the id of redirect destination node
The conversion of menu from the XML form to the Bytecode form is according to OTA agreement and XML form menu nodes attribute definition, at first analyze and comprise which OTA command format in the menu, the command format agreement of supporting according to OTA is changed nodal community then, assembling, wherein transfer process mainly comprises two classes:
(1) basic command conversion:
Basic command, as " input ", " demonstration ", " option ", " transmission ", " calling " changed according to the command format that OTA supports, is example with " input ":
Input (Getinput): attribute comprises
Input prompt name:<CMDName〉the input password</CMDName 〉
Command type:<CMDMode〉01</CMDMode 〉
Input type: numeral (00), character (01) and row word (03)
<GetInputMode>00</GetInputMode>
Input minimum length:<Min〉01</Min 〉
Input maximum length:<Max〉06</Max 〉
Input (Get_Input) imperative structures such as table 2:
Table 2 input (Get_Input) imperative structures
Describe Value Length ??M/O Remarks
Command type ??23 ??1 ??M
Follow-up length ??1 ??M Follow-up length refers to the physical length that follow-up data is determined according to M/O
The order qualifier ??1 ??M
Global buffer ??0~F ??1 ??M ??EDIT_BUF
Text string ??X ??M
Minimum response length ??1 ??M
Peak response length ??1 ??M
Default text string sign ??0D ??1 ??O
The variable number ??Y ??1 ??O
Character variable quotes 1 ??1 ??O
???.... ??.... ??.... ??O ?....
Character variable is quoted Y ??1 ??O
Annotate: will exist the global buffer of appointment from the input data that ME obtains.Variable data is linked in sequence forms the default text string.All variable data must be same codings.
Conversion back generation standard hexadecimal OTA bytecode: 230F00XX8D09088F9351655BC678010106
Wherein " XX " can abide by the OTA standard of China Mobile according to the position of this input instruction in whole menu by assignment of logical, and its interval is 0x00-0x0F.
(2) flow process control transformation
A menu is made up of several application, and an application is made up of a plurality of processes (PROCESS), and each PROCESS comprises a plurality of orders (COMMAND), " input " as previously mentioned, " demonstration ", " option ", " transmission ", " calling " etc.The implementation of certain application is exactly the connection executable operations of some process in the menu, and the execution of each process all is to be finished by it command execution that comprises, so need to carry out the flow process control transformation at execution XML in the transfer process of bytecode.Here be that example illustrates with " option ":
Set certain first class catalogue<CID〉be 0x30, enter this first class catalogue, second-level menu is the selection option,
AID is 01:
<selectItems>
<ItemName〉option one</ItemName 〉
<ItemName〉option 2</ItemName 〉
</selectItems>
Select " option one " to enter 3 grades of menus, carry out input operation, AID is 01:
Input prompt name:<CMDName〉the input name</CMDName 〉
Command type:<CMDMode〉01</CMDMode 〉
Input type: numeral (00), character (01) and row word (03)
<GetInputMode>03</GetInputMode>
Input minimum length:<Min〉01</Min 〉
Input maximum length:<Max〉12</Max 〉
Select " option 2 " to enter 3 grades of menus, carry out display operation, AID is 02:
Displaying contents title:<CMDName〉the sensible Mobile business provider of confidence makes for you
The future</CMDName 〉
Command type:<CMDMode〉02</CMDMode 〉
After the process conversion, the PROCESS of top select command is 000000, and the PROCESS of input option is 100000, and the PROCESS of Show Options is 200000
After finishing above conversion, according to " STK of China Mobile Communications Corporation card dream net short message service menu OTA downloading service " standard each section bytecode and flow process control PROCESS are assembled, just generated the bytecode that meets the OTA of China Mobile standard of this application.
After converting, just bytecode can be submitted to: call the API that mobile STK management platform provides, the bytecode that the step obtains is submitted to the STK management platform for user's download.

Claims (4)

1.OTA standard card sector application menu bytecode automatic switching method comprises the steps:
The first step: use a computer design and making service menu, this service menu is a Web page, deposits in the specific database;
Second step: from database, extract the menu relevant information, and convert the menu of standard x ML form to;
The 3rd step: the bytecode menu that XML form menu is converted to standard OTA standard Bytecode form;
The 4th step: call the API that mobile STK management platform provides, the bytecode that generates in the step 3 is submitted to the STK management platform for user's download.
2. the described OTA standard card of claim 1 sector application menu bytecode automatic switching method, it is characterized in that: described service menu can comprise following element: " options " comprises each option corresponding character; " input item " comprises the information that the prompting user imports, the information type of user's input, the minimum maximum length of input; " sending item " as long as comprise the transmission signal language, just can be selected the user front and the information of input is issued network on all.
3. the described OTA standard card of claim 1 sector application menu bytecode automatic switching method is characterized in that: describedly convert service menu the menu of XML form to, realize by following steps:
A) from database, read the node structure information of menu, menu and user's first class catalogue position;
B) use the utf-8 coding, generate the xml document, add root node<menus, to root node interpolation<industry schema=" field operation OTA2Bytecode transforms formal definition automatically " level=" 01 "〉node;
C) to<industry〉node interpolation<Appname〉node, its textual value is the Apply Names of menu for this reason;
D) to<industry〉node interpolation<CID〉node, its textual value is enterprise first class catalogue position;
E) to<industry〉node interpolation<AID〉node, its textual value is a menu position;
F) to<industry〉node interpolation<TPDA〉node, its textual value is the up number of menu;
G) to<industry〉node interpolation<menu〉node, this intranodal is the node structure information of menu;
H) node with menu is added into<menu according to its locations of structures and node type〉node;
I) downstream site of this menu nodes is generated standard xml node according to its locations of structures and node type, and add in the standard xml node of menu nodes correspondence so far; And the like;
J), then behind its standard xml node, add the xml node of transmission and redirect if menu nodes is the afterbody node.
4. the described OTA standard card of claim 1 sector application menu bytecode automatic switching method, it is characterized in that: the conversion of described menu from the XML form to the Bytecode form is according to OTA agreement and XML form menu nodes attribute definition, at first analyze and comprise which OTA command format in the menu, the command format agreement of supporting according to OTA is changed nodal community then, comprises two class transfer processes: basic command conversion and flow process control transformation.
CN200910084689A 2009-05-22 2009-05-22 Automatic conversion method of bytecodes of application menu of OTA standard card industry Pending CN101707751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910084689A CN101707751A (en) 2009-05-22 2009-05-22 Automatic conversion method of bytecodes of application menu of OTA standard card industry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910084689A CN101707751A (en) 2009-05-22 2009-05-22 Automatic conversion method of bytecodes of application menu of OTA standard card industry

Publications (1)

Publication Number Publication Date
CN101707751A true CN101707751A (en) 2010-05-12

Family

ID=42377915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910084689A Pending CN101707751A (en) 2009-05-22 2009-05-22 Automatic conversion method of bytecodes of application menu of OTA standard card industry

Country Status (1)

Country Link
CN (1) CN101707751A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945156A (en) * 2010-09-01 2011-01-12 惠州Tcl移动通信有限公司 Method and device for backuping data information of mobile terminal
CN102609253A (en) * 2012-01-19 2012-07-25 捷德(中国)信息科技有限公司 Method and system for implementing smart card application

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945156A (en) * 2010-09-01 2011-01-12 惠州Tcl移动通信有限公司 Method and device for backuping data information of mobile terminal
US9323822B2 (en) 2010-09-01 2016-04-26 Huizhou Tcl Mobile Communication Co., Ltd Data backup method and device for mobile terminal
CN102609253A (en) * 2012-01-19 2012-07-25 捷德(中国)信息科技有限公司 Method and system for implementing smart card application
CN102609253B (en) * 2012-01-19 2016-04-20 捷德(中国)信息科技有限公司 A kind of application implementation method of smart card and system

Similar Documents

Publication Publication Date Title
CN100405370C (en) Dynamic switching between local and remote speech rendering
CN102510420B (en) Method for quickly performing unified operation on multiple desktop elements in mobile terminal
KR101348401B1 (en) Method of rendering user interface, server performing the same and stroage media sotring the same
US20080002218A1 (en) Method and system for an xml-driven document conversion service
CN101815093A (en) Method for adapting webpage to mobile terminal and mobile terminal page adaptation device
CN105630512A (en) Method and system for implementing mobile device data tracking through software development toolkit
CN105915703A (en) Linking method and system of service function interface and mobile phone end desktop
CN105468793B (en) A kind of automatic management method of simulation model data
CN102298740A (en) Business process management supporting method
CN102193798A (en) Method for automatically acquiring Open application programming interface (API) based on Internet
CN101430684A (en) Method and apparatus for mutual conversion between Chinese work office software document and documents with other format
CN102521008B (en) Program compiling device and method for compiling program
US20090037829A1 (en) Framework to integrate web services with on-premise software
CN109445794A (en) A kind of page building method and device
CN103020318A (en) Method for maintenance of database tables in database
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
CN106020793A (en) A method for rapid form building in an iOS platform application development process
CN101217734B (en) BREW page layout access method and terminal with BREW_URL addresses
CN101707751A (en) Automatic conversion method of bytecodes of application menu of OTA standard card industry
CN105094768A (en) Application interface generation method and application interface generation device
CN109766095A (en) A kind of thematic page creation method of activity, relevant apparatus and equipment
CN102609253B (en) A kind of application implementation method of smart card and system
CN107870765B (en) Message splicing method and terminal
CN101247606A (en) Method and equipment for acquiring customized service
CN104320387A (en) Local module customizing method, terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100512