CN101667121A - Feature phone secondary development method and device - Google Patents

Feature phone secondary development method and device Download PDF

Info

Publication number
CN101667121A
CN101667121A CN200910177866A CN200910177866A CN101667121A CN 101667121 A CN101667121 A CN 101667121A CN 200910177866 A CN200910177866 A CN 200910177866A CN 200910177866 A CN200910177866 A CN 200910177866A CN 101667121 A CN101667121 A CN 101667121A
Authority
CN
China
Prior art keywords
script
mobile phone
application module
carried out
write
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
CN200910177866A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910177866A priority Critical patent/CN101667121A/en
Publication of CN101667121A publication Critical patent/CN101667121A/en
Priority to PCT/CN2010/075958 priority patent/WO2011035659A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a feature phone secondary development method and device. The method includes that: all application modules are configured to provide open interface, and corresponding command and grammar of all application modules are set; a user terminal edits executable script direct to each application module according to the corresponding command and grammar or obtains the executable script direct to each application module from other terminals; and the user terminal edits and completes the executable script or loads and runs the executable script after obtaining the executable script from other terminals. By adopting the method and device of the invention, compared with the prior art, the defect that secondary development can not be carried out on feature phone is avoided, a platform is provided for the user to develop free originality, effect of satisfying personalized requirement is achieved, and practicability of phone product is improved.

Description

A kind of secondary development method and device of functional mobile phone
Technical field
The present invention relates to functional mobile phone terminal field, relate in particular to a kind of method and device that on functional mobile phone, carries out secondary development.
Background technology
What is a smart mobile phone, succeeds in reaching an agreement the custom a bit to be exactly the formula of simple " 1+1 ", " palm PC+mobile phone=smart mobile phone ".In a broad sense, smart mobile phone is except the call function that possesses the traditional function mobile phone, also possessed PDA (Personal Digital Assistant, personal digital assistant) most of function, particularly personal information management and based on the browser and the e-mail function of wireless data communications.Smart mobile phone provides enough screen size and bandwidth for the user, both conveniently carried, provide wide stage for running software and content service again, a lot of value-added services can launch at this point, as: stock, news, weather, traffic, commodity, application program are downloaded, the music picture is downloaded or the like.
The essential condition of smart mobile phone comprises that possessing one has open operating system, on this operating system platform, can install the more applications program, thereby make the function of smart mobile phone can obtain unlimited expansion.
Universal day by day along with mobile phone terminal, increasing user especially young user wishes mobile phone is disposed more freely, to satisfy own personalized demand and hobby.Because advantage at aspects such as price and construction cycles, on current mobile phone terminal market, still occupy consequence with the corresponding functional mobile phone of smart mobile phone, and for smart mobile phone, it is a significant weak point that functional mobile phone can not carry out secondary development.
In traditional functional mobile phone, all application programs all are to be finished by manufacturer's exploitation in advance, and the user can only be provided with the interface by what manufacturer provided, revise correlation parameter simply, and can not be according to the needs of oneself, free update routine function, and increase new application program.For numerous users' different demands, manufacturer can not all realize, how to satisfy for user's individual demand, and functional mobile phone lacks a valid approach.
Summary of the invention
Technical matters to be solved by this invention provides a kind of secondary development method and device of functional mobile phone, overcome the defective that the functional mobile phone that exists in the prior art can not secondary development, make the user on functional mobile phone, to realize personalized new function according to the needs of oneself.
In order to solve the problems of the technologies described above, the invention provides a kind of secondary development method of functional mobile phone, comprising:
Each application module is set provides the interface of opening, and order and grammer that each application module correspondence is set;
User terminal is write the script carried out at each application module according to the order of correspondence and grammer, perhaps obtains the script carried out at each application module from other-end;
User terminal is write to finish and can be carried out script, after perhaps obtaining to carry out script from other-end, loads and move the described script of carrying out.
In order to solve the problems of the technologies described above, the invention provides a kind of secondary development device of functional mobile phone, comprising:
Application module is used to provide the interface of opening;
Script obtains module, is used for perhaps obtaining to carry out script from other-end by write the script carried out at each application module according to the order of application module correspondence and grammer;
Script interpreter is used for loading and operation can be carried out script.
Adopt method of the present invention and device, compared with prior art, remedied the defective that functional mobile phone can not carry out secondary development, the platform of performance free originality is provided for the user, reach the effect that satisfies users ' individualized requirement, improved the practicality of mobile phone products.
Description of drawings
Fig. 1 is the secondary development method flow diagram of functional mobile phone of the present invention.
Fig. 2 is a functional mobile phone secondary development apparatus structure synoptic diagram of the present invention.
Fig. 3 is the script interpreter schematic flow sheet.
Fig. 4 is the task manager state transition diagram.
Embodiment
Main thought of the present invention is by a programmable script running environment being provided, making each application module that the interface that can open to the outside world is provided, and corresponding order and grammer.User's reference command and grammer handbook, the base command of using mobile phone to provide, the function of combined programming to realize that oneself needs.Can remedy the deficiency of functional mobile phone so to a certain extent, make things convenient for the user that mobile phone is carried out secondary development, satisfy the various minority's demand of user, must improve the competitive edge of mobile phone terminal manufacturer like this.
User's demand is various, as long as still utilize the command history of a limited scale, just can make up and realize out diversified function.
Specifically, the user can use text editor to write can carry out script, then load and execution on mobile phone.By in mobile phone, realizing a script interpreter module, the script carried out that the user loads is analyzed, carry out keyword recognition and logical process, call the interface function of each application module and carry out.Simultaneously provide a task manager interface, the shell script that each has loaded is checked for the user to the user, and the operational administrative of task status.
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme:
With reference to shown in Figure 1, be the secondary development method flow diagram of functional mobile phone of the present invention.Described method comprises:
Step 101: the interface that each application module provides opening is set, and order and grammer that each application module correspondence is set;
Step 102: user terminal is write the script carried out at each application module by text editor according to the order of correspondence and grammer, perhaps obtains to carry out script from other-end;
Can carry out script and adopt the plain text form, write, perhaps can directly on mobile phone, use text editor to write so the user can use on the PC arbitrarily text editor (as notepad) to carry out script.Can on mobile phone, transmit and share available shell script by bluetooth or multimedia message accessory between the user.Adopting the first trip keyword recognition of class UNIX style is shell script, can not be subjected to the restriction of file extension like this.Available command and grammer are provided by each application module of mobile phone, generally can use simple and clear english keyword, also can use Chinese order, and be written as the user and develop handbook, the user develops the help information that handbook is a function described herein (being equivalent to the reference book of programming), can be papery, can be electronic document page also, is placed on CD or online download can.The user develops with reference to this handbook.
Step 103: user terminal is write and is finished script, and perhaps behind PC or other mobile phones acquisition shell script, user terminal loads also operation can carry out script.
In addition, can load script file by file manager.Script interpreter during loading in the mobile phone is analyzed text, and operates accordingly according to command execution.Some order directly calling interface function is carried out, and some order needs to wait for the generation of certain incident, this generally can adopt and safeguard a form realization in internal memory, form is the data structure in the internal memory, can store the information such as position that comprise call back function, script file index or filename, current execution, condition is because can find in script file, so can not exist in the form.Improve processing speed if desired, also can preservation condition.Form has a lot of corresponding to incident.Each module knows all which form when oneself should inquire about.When incident takes place, retrieve this form, call the call back function of registration according to condition.
With reference to shown in Figure 2, be functional mobile phone secondary development apparatus structure synoptic diagram of the present invention.Described system comprises:
Application module 20 is used to provide the interface of opening;
Script obtains module 21, is used for perhaps obtaining to carry out script from other-end by write the script carried out at each application module according to the order of application module correspondence and grammer;
Script interpreter 22 is used for loading and operation can be carried out script;
In a preferred embodiment of the invention, described system also comprises task manager 23, is used to manage the current script that has loaded.
Described script obtains module 21, is used for writing the script carried out at each application module 20 by text editor according to the order of correspondence and grammer.
Described other-end comprises mobile phone or PC, and when described terminal is a mobile phone, described script obtains module 21, is used for transmitting on mobile phone and sharing available shell script by bluetooth or multimedia message accessory.
In a preferred embodiment of the invention, described script obtains module 21, is used to use english keyword or Chinese order to write and can carries out script, and be written as the user and develop handbook.
Described script interpreter 22 is analyzed text when being used for the loading scripts file, and is operated accordingly according to command execution.
The script interpreter schematic flow sheet is seen Fig. 3.
With reference to shown in Figure 3, be script interpreter schematic flow sheet of the present invention.Described flow process comprises:
Step 301: judge whether it is the script first trip, execution in step 302 then in this way, otherwise finish;
Step 302: obtain the next line statement;
Step 303: judge whether end line, if then finish, otherwise execution in step 304;
Step 304: look-up command table; Command list refers to the instruction character tandem table (perhaps claim " Keyword List ") of script interpreter program inside, and these orders will be written in the user and develop in the handbook, offer the user; Execution in step 305;
Step 305: judging whether to carry out immediately, is execution in step 306 then, otherwise execution in step 307;
Step 306: call corresponding interface, return step 302;
Step 307: the registered callbacks function, that is: function pointer is recorded in the form of application module, after incident takes place in the future, can call this pointer, carry out this function.Return step 302.
The user manages shell script by task manager.
The user can for example check the shell script content by the current script that has loaded of task manager program management, deletes certain script etc., and can revise the running status of control script.The task manager state transition diagram is seen Fig. 4.Every kind of state wherein can be subdivided into the plurality of sub state again, and with better prompting user, for example the " RUN " state can be divided into " carrying out ", " waiting event " etc.
Below by the example in the concrete application technical solution of the present invention is carried out exemplary illustration.
For example, the user wants to utilize mobile phone to realize simple household safe remote monitoring, can write and move following script on the mobile phone at home: after the specific note that receives the particular number transmission, call out videophone from preset number of trend.
Should use in the example, an example of script is as follows:
#Script?Start#
if(receive?sms)
{
if(number==13611112222)
{
callvp?13611112222;
}
}
#Script?End#
Its analytic process is as follows:
1) #Script Start# is the script first trip, shows that this is one and can carries out script.
2) if is a key word, shows between next two round brackets it is a condition judgment, if satisfy then carry out statement between next two braces.
3) receive is a key word, shows that the incident that need are waited for will appear in the back, and for example sms shows wait new message this incident that arrives.At this moment will register a call back function such as intscriptReceiveSmsFunc (int id, WPARAM wParam, LPARAM lParam) in internal memory, id is the index of this script, and wParam and lParam are optional additional datas.Because need enter wait, so preserve the related context (as capable number) of this script, analytic process finishes then.
When incident takes place according to script executing.
After certain incident of user's appointment takes place, check corresponding form, after discovery has registration Script,, carry out corresponding interface function in script file, thereby realize the automation mechanized operation of user's anticipation according to the statement that the user writes.As above-mentioned example, its implementation is as follows:
1) after new message arrives, check form corresponding in the internal memory, find to have registered a call back function scriptReceiveSmsFunc (), at this moment the script index with registration in the table is this function of parameter call with relevant additional data (as note structure pointer).
2) in this call back function, find corresponding script, and obtain the execution context of this script, continue then to carry out according to the script index value.
3) can obtain note structure pointer by additional data, also just know all properties of note, so current short message number can be checked in second if statement, if equal preset number then carry out statement in the following braces, if be not equal to then skip.
4) callvp is a command keyword, shows that with the number with the back be parameter, calls the video phone call interface function, initiatively initiates a video phone call.
5) #Script End# is the script end line, and this is finished to show this script.
When 6) new message arrives next time, will repeat above-mentioned steps.In task manager, suspend, stop or deleting this script up to the user.
Such scheme is realized secondary development by the script carried out of explanation type, has simplified the realization of program run environment in the mobile phone.Shell script adopts the plain text form, and it is easy to make that the user develops, and makes things convenient for propagation and shared mutually between the user.The most basic function point order that utilizes each module of mobile phone to provide, the user is independent assortment as required, realizes out diversified function.Thereby realized the secondary development of cell-phone function, overcome the defective that the functional mobile phone that exists in the prior art can not secondary development, made the user on functional mobile phone, to realize personalized new function according to the needs of oneself.
It is to be noted; the above is a preferred implementation of the present invention; be not limited to the technical solution; any those of ordinary skill in the art replaced or corresponding improvement the technology of the present invention feature being equal to of being done; still within protection scope of the present invention, scope of patent protection of the present invention should be as the criterion with claims.

Claims (12)

1, a kind of secondary development method of functional mobile phone is characterized in that, comprising:
Each application module is set provides the interface of opening, and order and grammer that each application module correspondence is set;
User terminal is write the script carried out at each application module according to the order of correspondence and grammer, perhaps obtains the script carried out at each application module from other-end;
User terminal is write to finish and can be carried out script, after perhaps obtaining to carry out script from other-end, loads and move the described script of carrying out.
2, the method for claim 1 is characterized in that, described method also comprises: manage the current script carried out that has loaded.
3, the method for claim 1 is characterized in that, described user terminal is write the script carried out at each application module according to the order of correspondence and grammer, comprising:
Write by text editor and can carry out script.
4, the method for claim 1 is characterized in that,
Described other-end comprises mobile phone or PC, when described terminal is a mobile phone, transmits on mobile phone by bluetooth or multimedia message accessory between the terminal and shares and can carry out script.
5, the method for claim 1, it is characterized in that, user terminal is write the script carried out at each application module according to the order of correspondence and grammer, and comprising: the order of each application module correspondence and grammer use english keyword or Chinese order to write.
6, the method for claim 1 is characterized in that, described loading also moves the described script of carrying out, and comprising: by to can carrying out script analysis, and operate accordingly according to command execution during loading.
7, a kind of secondary development device of functional mobile phone is characterized in that, comprising:
Application module is used to provide the interface of opening;
Script obtains module, is used for perhaps obtaining to carry out script from other-end by write the script carried out at each application module according to the order of application module correspondence and grammer;
Script interpreter is used for loading and operation can be carried out script.
8, device as claimed in claim 7 is characterized in that, described system also comprises:
Task manager is used to manage the current script carried out that has loaded.
9, device as claimed in claim 7 is characterized in that, described script obtains module, is used for writing the script carried out at each application module by text editor according to the order of correspondence and grammer.
10, device as claimed in claim 7 is characterized in that,
Described other-end comprises mobile phone or PC, and when described terminal is a mobile phone, described script obtains module, is used for transmitting on mobile phone and sharing and can carry out script by bluetooth or multimedia message accessory.
11, device as claimed in claim 7 is characterized in that, described script obtains module, is used to use english keyword or Chinese order to write and can carries out script.
12, device as claimed in claim 7 is characterized in that, described script interpreter to can carrying out script analysis, and is operated according to command execution when being used to load accordingly.
CN200910177866A 2009-09-28 2009-09-28 Feature phone secondary development method and device Pending CN101667121A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910177866A CN101667121A (en) 2009-09-28 2009-09-28 Feature phone secondary development method and device
PCT/CN2010/075958 WO2011035659A1 (en) 2009-09-28 2010-08-13 Method and apparatus for secondary development of function mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910177866A CN101667121A (en) 2009-09-28 2009-09-28 Feature phone secondary development method and device

Publications (1)

Publication Number Publication Date
CN101667121A true CN101667121A (en) 2010-03-10

Family

ID=41803747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910177866A Pending CN101667121A (en) 2009-09-28 2009-09-28 Feature phone secondary development method and device

Country Status (2)

Country Link
CN (1) CN101667121A (en)
WO (1) WO2011035659A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011035659A1 (en) * 2009-09-28 2011-03-31 中兴通讯股份有限公司 Method and apparatus for secondary development of function mobile phone
CN102833365A (en) * 2012-08-23 2012-12-19 Tcl集团股份有限公司 File playing method and system based on DLNA (Digital Living Network Alliance) and driving and driven DLNA equipment
CN104461760A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Script issuing method, device and system
WO2015196541A1 (en) * 2014-06-25 2015-12-30 中兴通讯股份有限公司 Script processing method and device
CN113572833A (en) * 2021-07-21 2021-10-29 北京百度网讯科技有限公司 Cloud mobile phone maintenance method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995913A (en) * 2019-11-14 2020-04-10 北京中电华大电子设计有限责任公司 Non-contact smart card testing method based on NFC smart phone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226479A (en) * 2008-02-01 2008-07-23 中兴通讯股份有限公司 Method for implementing dynamic collocation of mobile phone menu
CN101425012A (en) * 2008-12-10 2009-05-06 深圳华为通信技术有限公司 Method and device for generating case script based on model automatization
CN101667121A (en) * 2009-09-28 2010-03-10 中兴通讯股份有限公司 Feature phone secondary development method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011035659A1 (en) * 2009-09-28 2011-03-31 中兴通讯股份有限公司 Method and apparatus for secondary development of function mobile phone
CN102833365A (en) * 2012-08-23 2012-12-19 Tcl集团股份有限公司 File playing method and system based on DLNA (Digital Living Network Alliance) and driving and driven DLNA equipment
WO2015196541A1 (en) * 2014-06-25 2015-12-30 中兴通讯股份有限公司 Script processing method and device
CN105320505A (en) * 2014-06-25 2016-02-10 中兴通讯股份有限公司 Script processing method and device
CN104461760A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Script issuing method, device and system
CN113572833A (en) * 2021-07-21 2021-10-29 北京百度网讯科技有限公司 Cloud mobile phone maintenance method and device, electronic equipment and storage medium
CN113572833B (en) * 2021-07-21 2024-05-14 北京百度网讯科技有限公司 Cloud mobile phone maintenance method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2011035659A1 (en) 2011-03-31

Similar Documents

Publication Publication Date Title
KR100616157B1 (en) Method and syetem for interworking plurality of applications
US8396939B2 (en) Content distribution management device, terminal, program, and content distribution system
CN102057654B (en) Mobile device application framework
US20130031462A1 (en) Web application architecture
CN103442130A (en) Voice control method, mobile terminal device and voice control system
US20080109483A1 (en) Mash-up service system
CN101159764A (en) Method and system to access door data of mobile service
CN102065108A (en) Method, wireless communication terminal and client browser for realizing pre-download
CN103269396A (en) Method and system capable of conducting management on mobile terminal
CN101499080A (en) Method and system for fast acquiring information service on mobile terminal
CN101667121A (en) Feature phone secondary development method and device
CN103781028B (en) A kind of information subscribing mthods, systems and devices of mobile terminal
CN102955694A (en) Client implementation method based on WebKit browser and client
CN102783121A (en) Communications device
CN104965848A (en) Front-end resource loading method and apparatus
CN104808971A (en) Network application program manager, method, device and mobile terminal
CN102790727A (en) Method and system for dynamically pushing personal labels of users
CN101467151A (en) Method, apparatus and computer program product for providing metadata entry
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN103353829A (en) Method for quickly sharing microblog and touch screen terminal thereof
CN101957756A (en) System and method for rapidly generating intelligent mobile terminal program
KR100749845B1 (en) Mobile system having features of mobile active page and method for mobile internet service thereof
CN102404149A (en) Management system and method of service characteristics
CN101400158A (en) Wireless internet method, system and terminal based on 3G
CN101217734B (en) BREW page layout access method and terminal with BREW_URL addresses

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