CN1859679A - Method and system for processing mobile terminal service - Google Patents

Method and system for processing mobile terminal service Download PDF

Info

Publication number
CN1859679A
CN1859679A CNA2006100584732A CN200610058473A CN1859679A CN 1859679 A CN1859679 A CN 1859679A CN A2006100584732 A CNA2006100584732 A CN A2006100584732A CN 200610058473 A CN200610058473 A CN 200610058473A CN 1859679 A CN1859679 A CN 1859679A
Authority
CN
China
Prior art keywords
kjava
business object
script
mobile terminal
j2me
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.)
Granted
Application number
CNA2006100584732A
Other languages
Chinese (zh)
Other versions
CN100445947C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100584732A priority Critical patent/CN100445947C/en
Publication of CN1859679A publication Critical patent/CN1859679A/en
Application granted granted Critical
Publication of CN100445947C publication Critical patent/CN100445947C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses mobile terminal service treatment method and system. Said method includes 1, initializing KJAVA service object; 2, when using KJAVA service loading KJAVA service object script mobile terminal memory; 3, resolving said KJAVA service object script, according to resolved KJAVA service object to establish J2 ME assembly and displaying. Said system includes KJAVA service object establishment unit, KJAVA service object resolving unit. The present invention can effectively shorten development cycle and reduce cost.

Description

The method and system that a kind of mobile terminal service is handled
Technical field
The present invention relates to the mobile communication technology field, relate in particular to the method and system that a kind of mobile terminal service is handled.
Background technology
J2ME (the miniature version of JAVA2) as a embedded/the developing software of mobile application platform, obtained significant progress in recent years.
See also Fig. 1, two main abridged tables are arranged in the J2ME platform, one is Connected LimitedDevice Configuration (but the relatively limited equipment abridged table of connection resource), and one is ConnectedDevice Configuration (but connection device abridged table).Mobile Information Device Profile (mobile information apparatus abridged table) is positioned on the CLDC.The release of MIDP 1.0 has been subjected to developer's extensive concern, but also there are some problems in MIDP 1.0.For solve because of norm-setting too wide in range, the limited problem that causes each manufacturer when realizing MIDP, on functional characteristic, to have a lot of differences of the function that provides, SUN (JAVA software developer) has released the deficiency that a subclass solves acoustic processing in MIDP 2.0 subsequently, and designed one independently the development of games bag be used for development of games, also to some the networking characteristics support is provided.Moreover, each show his special prowess especially for the optional bag among the J2ME, and bluetooth, mobile 3 D image all provide very strong functions.
In the prior art, because the business software volume is big, program interface element complexity, the function of finishing is too many, so the exploitation business software need spend great amount of manpower, material resources, need corresponding script support, and this type of language script need finish by the coding personnel of specialty, general user is difficult to edit script voluntarily, cause cycle of developing very long, the exploitation of sector application now simultaneously all is to make once coding exploitation at concrete application, and the product that develops can not be applied to the concrete sector application of other enterprises again, lack flexibility, so cost is very high.
Summary of the invention
The technical problem to be solved in the present invention provides the method and system that a kind of mobile terminal service is handled, and it is long to be used for solving the prior art construction cycle, the problem that cost is high.
The method that mobile terminal service provided by the invention is handled comprises step: 1) initialization KJAVA business object; When 2) using KJAVA professional, KJAVA business object script is written into the portable terminal internal memory; 3) resolve described KJAVA business object script, create J2ME and demonstration according to the KJAVA business object that parses.
Preferably, described step 1) comprises step:
11) formulate KJAVA business object definition rule;
12) according to described KJAVA business object definition rule configuration KJAVA business object logic;
13) generate KJAVA business object script according to described KJAVA business object logic;
14) described KJAVA business object script is stored in portable terminal.
Preferably, the formulation of KJAVA business object definition rule is that J2ME assembly abstract definition is become the XML label in the described step 11).
Preferably, configuration comprises step in the described step 12):
121) according to the corresponding KJAVA business object of the function selecting that will realize;
122) described KJAVA business object set is formed KJAVA business object logic.
Preferably, KJAVA business object script is the XML document of set KJAVA business object in the described step 13).
Preferably, preservation described in the described step 14) is specially: portable terminal obtains the KJAVA service scenario by downloading, and preserves.
Preferably, described step 3) comprises step:
31) resolve software KXML initialization and resolve environment;
32) traversal KJAVA business object script and obtain node in the document;
33) determine corresponding KJAVA business object according to node type;
34) create corresponding J2ME assembly according to described KJAVA business object;
35) operation according to mobile phone users shows corresponding J2ME assembly.
The system that mobile terminal service provided by the invention is handled comprises: KJAVA business object creating unit is used to define the KJAVA business object and generates KJAVA business object script according to described KJAVA business object; KJAVA business object resolution unit is used for loading, resolving the KJAVA business object, creates corresponding J2ME assembly and demonstration according to the KJAVA business object that parses.
Preferably, described KJAVA business object resolution unit comprises: KJAVA business object loading unit, and the KJAVA business object script that is used for preserving is loaded into KJAVA portable terminal internal memory; KJAVA business object scanning element is used for the KJAVA business object of described script is separated one by one; KJAVA business object generation unit is used for the J2ME assembly according to KJAVA business object definition rule establishment KJAVA business object correspondence; KJAVA business object display unit is used for showing different KJAVA business objects according to the selection operation of user on portable terminal.
Preferably, described KJAVA business object loading unit comprises: KJAVA business object Loading Control unit is used for judging when load KJAVA business object script; The KJAVA business object is written into the unit, is used for the instruction load KJAVA business object script according to KJAVA business object Loading Control unit.
Above technical scheme as can be seen, the present invention has the following advantages:
At first, because with the abstract KJAVA business object that becomes of J2ME assembly, it is the XML label, the implication of each label can define voluntarily according to actual conditions, the XML label unified Definition that may repeatedly be used, it is multiplexing that most of J2ME assemblies are obtained, and do not need to develop once fully again, so reduced development cost;
Further, because with all abstract XML label that becomes of J2ME assembly, the enterprise customer does not need to know the programming of J2ME, only need to be familiar with the meaning that each label comprises, just can customize different service scenarios according to different business demands by the service scenario configuration interface that provides in service end, Cao Zuo difficulty reduces greatly like this, so can accelerate development process effectively, shortens the construction cycle.
Description of drawings
Fig. 1 is the graph of a relation between J2ME and configuration and profile and J2SE and the J2EE;
Fig. 2 is the inventive method main process figure;
Fig. 3 is main structure of system figure of the present invention;
Fig. 4 is the inventive method detail flowchart;
Fig. 5 shows schematic diagram for terminal;
Fig. 6 is a system of the present invention detailed structure view;
Fig. 7 is for using system configuration schematic diagram of the present invention.
Embodiment
The present invention is applied to the mobile communication technology field, is used for the handle mobile terminal business.
The JAVA program is made up of object one by one, and object, can show with XML document again, therefore, can be with the object abstract that can use in the J2ME program, all be defined as the element in the XML document object,, can form all or most of application program that meets all trades and professions by these elements.
The J2ME program reads XML document when operation is initial, the element in the parse documents generates the corresponding JAVA object in internal memory, form complete application program.
The invention provides a kind of portable terminal dynamic business processing method, see also Fig. 2, its main thought comprises step:
Step D1): initialization KJAVA business object;
Step D2): when using KJAVA professional, KJAVA business object script is written into the portable terminal internal memory;
Step D3) resolves described KJAVA business object script, create corresponding J2ME assembly and demonstration according to the KJAVA business object that parses.
Described J2ME is JAVA 2 Micro Edition, i.e. the miniature version of JAVA 2, and described KJAVA is Kilo-Byte JAVA, promptly internal memory is the JAVA program that unit quantizes with kilobytes.
Described KJAVA object promptly is the J2ME assembly, the KJAVA business object is meant the XML label with J2ME assembly abstract definition one-tenth, KJAVA business object logic is for realizing a certain comparatively complete function (whole interface for example, comprise forms, button, assemblies such as input frame) set of required KJAVA business object, KJAVA business object script promptly is the XML document that has comprised required KJAVA business object.
See also Fig. 3, mobile terminal service treatment system 1000 of the present invention comprises KJAVA business object creating unit 100 and KJAVA business object resolution unit 200;
Seeing also Fig. 4, is the flow chart of the embodiment of mobile terminal service processing method of the present invention.
Step S1): in KJAVA business object creating unit 100, formulate KJAVA business object definition rule;
Wherein, described formulation KJAVA business object definition rule promptly is that J2ME assembly (being mainly visualization component) abstract definition is become the XML label.
Step S2): in KJAVA business object creating unit 100,, then described KJAVA business object set is become KJAVA business object logic according to the corresponding KJAVA business object of the function selecting that will realize;
Wherein, KJAVA business object logic comprises one or more KJAVA business objects, and the enterprise customer can be provided with KJAVA business object logic according to own different needs in service end.
Step S3): the KJAVA business object logic that configuration is finished is stored in the portable terminal;
Wherein, the KJAVA business object logic that service end will be finished configuration sends to portable terminal, by portable terminal described KJAVA business object logic is preserved again.
), otherwise continue to judge step S4): judge whether the current mobile terminal user uses the KJAVA business, then turn to step S5 if use;
Step S5): the KJAVA business object logic add that will preserve in portable terminal is written into the portable terminal internal memory;
Wherein, described KJAVA business object logic is gone into internal memory by KJAVA business object resolution unit 200 control loaded.
Step S6): utilize KXML in KJAVA business object resolution unit 200, to scan KJAVA business object logic;
Wherein, described KXML at first initialization resolves environment, travels through the XML document of KJAVA business object logic then.
Step S7): utilize KXML from KJAVA business object logic, to isolate the KJAVA business object;
Wherein, described KXML obtains the XML document node, and finds out the KJAVA business object of described node correspondence.
Step S8):, create out corresponding J2ME assembly according to the corresponding relation between KJAVA business object and the J2ME assembly;
Wherein, described establishment is carried out according to the J2ME syntax rule.
Step S9): judge whether scanning, separated, if turn to step S10), otherwise turn to step S6);
Step S10): the user manipulates the KJAVA business at portable terminal;
Step S11): the portable terminal that operates in according to the user shows corresponding J2ME assembly.
In sum, among the present invention, when KJAVA business object creating unit 100 with the J2ME assembly abstract be the XML label after, if the enterprise customer wants to dispose new business, only need to select the XML label that new business comprised and generate KJAVA business object script to get final product, portable terminal can be stored in the portable terminal after having downloaded KJAVA business object script, when the user uses KJAVA professional, KJAVA business object script will be written into the portable terminal internal memory, utilize KXML that script is resolved, and the KJAVA business object in the KJAVA business object script is created as corresponding J2ME assembly and is shown in portable terminal according to user's operation according to KJAVA business object definition rule.
Correspondingly, see also Fig. 6, mobile terminal service treatment system 1000 of the present invention comprises: KJAVA business object creating unit 100 and KJAVA business object resolution unit 200.
Wherein, KJAVA business object resolution unit 200 comprises KJAVA business object loading unit 210, KJAVA business object scanning element 220, KJAVA business object generation unit 230 and KJAVA business object display unit 240.
Wherein, KJAVA business object loading unit 210 comprises that KJAVA business object Loading Control unit 211 and KJAVA business object are written into unit 212.
KJAVA business object creating unit 100 is formulated KJAVA business object definition rule, with the J2ME component definition is KJAVA business object (being the abstract XML label that is), select corresponding K JAVA business object to form KJAVA business object logic more as required, and generate the KJAVA business object script of forming by the XML label (being XML document) according to this logic.
For example: define a menu interface
Succession can dynamically add menu item to it from the javax.microedition.lcdui.List class, and quantity is not limit.Menu item comprises that two meat hold, and is respectively at the menu header that shows on the menu interface with after pressing menu, ID number of the interface that application program will redirect.The ID here number is the unique identification of user configured object, is defined in XML document by user or applicating maintenance personnel.
As be defined as follows menu:
<MenuList id=" mainMenu " title=" function choosing-item " 〉
<MenuItem caption=" inquiry violating the regulations " forward=" searchNumber "/〉
<MenuItem caption=" electronic police inquiry " forward=" searchPolice "/〉
<MenuItem caption=" notice inquiry " forward=" thirdMenu "/〉
<MenuItem caption=" more function " forward=" secondMenu "/〉
</MenuList>
Its meaning is as follows:
<MenuList id=" mainMenu " title=" function choosing-item "〉menu interface object of expression adding,
Its ID is mainMenu.Use in the configuration at each KJAVA, it is the object of mainMenu that a unique identification must be arranged, after it is application program launching, and interface displayed at first.The Title attribute is its title that shows in program.
MenuItem is defined as the menu element in the menu, and its attribute caption is its title that shows in menu, and forward=" searchNumber " expression presses that guiding interface assembly ID is the interface of searchNumber behind the options button.Its interface display effect as shown in Figure 5.
After portable terminal is downloaded KJAVA business object script, it is stored in the portable terminal, when mobile phone users uses KJAVA professional, portable terminal can transmit signal and give KJAVA business object Loading Control unit 211, thereby control KJAVA business object is written into unit 212 KJAVA business object script is loaded into the portable terminal internal memory.
Behind the loaded, the KJAVA business object that KJAVA business object scanning element 220 will be loaded in the KJAVA business object script of internal memory is separated one by one, is finished by KXML here.
Being that high-level component with various J2ME is abstract in definition KJAVA business object comes out to be defined as label
The KJAVA business object that forms knows that promptly the KJAVA business object is exactly the label in the XML document, separates the KJAVA business object, promptly is analyzing XML.
When isolating a KJAVA business object, KJAVA business object generation unit 230 can come out according to making the J2ME building component of rule with each KJAVA business object correspondence by oneself.Since KJAVA to as if with the high-level component of various J2ME abstract come out to define form, therefore after the KJAVA business object is parsed, need KJAVA business object correspondence be created out by the rule that defined the KJAVA business object originally.For example when definition KJAVA object is initialized, defined following KJAVA business object for example:<MenuList id=" mainMenu " title=" function choosing-item " 〉, therefore after this object being parsed, according to definition rule, create a menu interface, mainMenu is the sign of menu interface, and function choosing-item is the title of menu interface.
Component object is that the label of abstract definition is resolved the final form of expression of back at portable terminal, and the whole service logic of KJAVA business object will here generate.Also be to need the imbody of the target platform of realization at portable terminal.It is in resolving, calls according to the label of definition that corresponding J2ME API generates.
After the J2ME building component was finished, KJAVA business object display unit 240 showed different KJAVA business objects according to the selection operation of user on the KJAVA portable terminal.
In sum, the J2ME assembly is conceptualized as the XML label in KJAVA business object creating unit 100, recombinant is advanced in the XML document, after portable terminal is downloaded this XML document, when portable terminal uses KJAVA professional, KJAVA business object Loading Control unit 211 receives that signalisation KJAVA business object is written into unit 212 XML document is written into the portable terminal internal memory, after the KJAVA business object scanning element 220 traversal XML document wherein the KJAVA business object separate one by one, KJAVA business object generation unit 230 is the J2ME assembly with the KJAVA business object of separating according to making rule creation by oneself, transfers to KJAVA business object display unit 240 at last again and shows according to user's operation.
Fig. 7 is for using system configuration schematic diagram of the present invention.
As shown in the figure, this patented technology is applied to the portable terminal that uses the KJAVA business, can pass through at the needs configuration different service scenario (xml document) of service end according to enterprise self, be issued to portable terminal then, carry out the parsing of service scenario by the dynamic analytics engine of the terminal of packing in advance, generate the corresponding business interactive interface, realization is mutual with service end (Servlet).
More than method and system that a kind of mobile terminal service provided by the present invention is handled be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand 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.

Claims (10)

1. the method that mobile terminal service is handled is characterized in that, comprises step:
1) the initialization internal memory is the JAVA program KJAVA business object that unit quantizes with kilobytes;
When 2) using KJAVA professional, KJAVA business object script is written into the portable terminal internal memory;
3) resolve described KJAVA business object script, create miniature version J2ME assembly and the demonstration of JAVA2 according to the KJAVA business object that parses.
2. the method that mobile terminal service according to claim 1 is handled is characterized in that described step 1) comprises step:
11) formulate KJAVA business object definition rule;
12) according to described KJAVA business object definition rule configuration KJAVA business object logic;
13) generate KJAVA business object script according to described KJAVA business object logic;
14) described KJAVA business object script is stored in portable terminal.
3. the method that mobile terminal service according to claim 2 is handled is characterized in that the formulation of KJAVA business object definition rule is that J2ME assembly abstract definition is become the XML label in the described step 11).
4. the method that mobile terminal service according to claim 2 is handled is characterized in that, configuration comprises step in the described step 12):
121) according to the corresponding KJAVA business object of the function selecting that will realize;
122) described KJAVA business object set is formed KJAVA business object logic.
5. the method that mobile terminal service according to claim 2 is handled is characterized in that: KJAVA business object script is the XML document of set KJAVA business object in the described step 13).
6. the method for handling according to claim 2,3,4 or 5 described mobile terminal services is characterized in that, preserves described in the described step 14) to be specially: portable terminal obtains the KJAVA service scenario by downloading, and preserves.
7. the method that mobile terminal service according to claim 1 is handled is characterized in that described step 3) comprises step:
31) resolve software KXML initialization and resolve environment;
32) traversal KJAVA business object script and obtain node in the document;
33) determine corresponding KJAVA business object according to node type;
34) create corresponding J2ME assembly according to described KJAVA business object;
35) operation according to mobile phone users shows corresponding J2ME assembly.
8. the system that mobile terminal service is handled is characterized in that, comprising: KJAVA business object creating unit is used to define the KJAVA business object and generates KJAVA business object script according to described KJAVA business object; KJAVA business object resolution unit is used for loading, resolving the KJAVA business object, creates corresponding J2ME assembly and demonstration according to the KJAVA business object that parses.
9. the system that mobile terminal service according to claim 8 is handled, it is characterized in that, described KJAVA business object resolution unit comprises: KJAVA business object loading unit, and the KJAVA business object script that is used for preserving is loaded into KJAVA portable terminal internal memory; KJAVA business object scanning element is used for the KJAVA business object of described script is separated one by one; KJAVA business object generation unit is used for the J2ME assembly according to KJAVA business object definition rule establishment KJAVA business object correspondence; KJAVA business object display unit is used for showing different KJAVA business objects according to the selection operation of user on portable terminal.
10. the system that mobile terminal service according to claim 9 is handled is characterized in that described KJAVA business object loading unit comprises: KJAVA business object Loading Control unit is used for judging when load KJAVA business object script; The KJAVA business object is written into the unit, is used for the instruction load KJAVA business object script according to KJAVA business object Loading Control unit.
CNB2006100584732A 2006-03-28 2006-03-28 Method and system for processing mobile terminal service Expired - Fee Related CN100445947C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100584732A CN100445947C (en) 2006-03-28 2006-03-28 Method and system for processing mobile terminal service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100584732A CN100445947C (en) 2006-03-28 2006-03-28 Method and system for processing mobile terminal service

Publications (2)

Publication Number Publication Date
CN1859679A true CN1859679A (en) 2006-11-08
CN100445947C CN100445947C (en) 2008-12-24

Family

ID=37298530

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100584732A Expired - Fee Related CN100445947C (en) 2006-03-28 2006-03-28 Method and system for processing mobile terminal service

Country Status (1)

Country Link
CN (1) CN100445947C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924982A (en) * 2009-06-10 2010-12-22 中兴通讯股份有限公司 Method and system for realizing data services
CN105897945A (en) * 2016-03-28 2016-08-24 重庆海特克制造业信息化生产力促进中心有限公司 Workshop multi-source information smart sensing method based on IPv6 mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816895B2 (en) * 2001-03-26 2004-11-09 Motorola, Inc. Updating the capability negotiation information of a mobile station with an editing application downloaded from a service provider
US6754884B1 (en) * 2001-07-02 2004-06-22 Bea Systems, Inc. Programming language extensions for processing XML objects and related applications
US20040172620A1 (en) * 2003-02-28 2004-09-02 Motorola, Inc. Method and apparatus for securely enabling native code execution on a JAVA enabled subscriber device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924982A (en) * 2009-06-10 2010-12-22 中兴通讯股份有限公司 Method and system for realizing data services
CN105897945A (en) * 2016-03-28 2016-08-24 重庆海特克制造业信息化生产力促进中心有限公司 Workshop multi-source information smart sensing method based on IPv6 mobile terminal

Also Published As

Publication number Publication date
CN100445947C (en) 2008-12-24

Similar Documents

Publication Publication Date Title
CN103297327B (en) Information push method, device and display terminal
CN101763269A (en) Method for making software installation package
CN1182472C (en) Image display method and information equipment
CN1773537A (en) Cell-phone terminal device, mail processing method, and program
CN108989384A (en) A kind of method of data processing, cloudy management system and relevant device
CN1761943A (en) Program creation by combining web services using graphic user interface controls
CN1682183A (en) Method and computer system for handling incremental data in client-server communication
CN101044452A (en) Customization of applications on a computing device
JP2008542919A5 (en)
WO2022078295A1 (en) Device recommendation method and electronic device
JP2011512571A (en) System and method for integrating banner advertisement and calling application
CN106775862A (en) Using loading method and device
CN102693238B (en) Widget application process, system and multimedia terminal
CN1805359A (en) Personalized mobile telephone configuration method and mobile telephone and website that can be personalized
CN112256990A (en) Image processing method and device and computer readable storage medium
CN106569984B (en) Method, device and system for automatically generating and transmitting color word stock
CN103164214A (en) Calling method and system of browser on camera in mobile terminal
US8269815B2 (en) Dynamic image distribution device and method thereof
CN1659536A (en) System for multimedia rendering in a portable device
CN102770827B (en) Method for showing multimedia content on the screen of terminal
CN101483694B (en) Playing control method and apparatus for vector animation
CN1677344A (en) Portable terminal device, application execution method thereof, program, and computer-readable recording medium
CN108037924A (en) glibc and bionic driven self-adaption system and method
CN1859679A (en) Method and system for processing mobile terminal service
CN1747547A (en) Television telephone system, communication terminal device and character information transmission method used therefor

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
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: 20081224

Termination date: 20170328