WO2011035659A1 - Procédé et appareil pour le développement secondaire d'un téléphone mobile fonctionnel - Google Patents

Procédé et appareil pour le développement secondaire d'un téléphone mobile fonctionnel Download PDF

Info

Publication number
WO2011035659A1
WO2011035659A1 PCT/CN2010/075958 CN2010075958W WO2011035659A1 WO 2011035659 A1 WO2011035659 A1 WO 2011035659A1 CN 2010075958 W CN2010075958 W CN 2010075958W WO 2011035659 A1 WO2011035659 A1 WO 2011035659A1
Authority
WO
WIPO (PCT)
Prior art keywords
script
executable script
mobile phone
module
syntax
Prior art date
Application number
PCT/CN2010/075958
Other languages
English (en)
Chinese (zh)
Inventor
张勇
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011035659A1 publication Critical patent/WO2011035659A1/fr

Links

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

Definitions

  • the present invention relates to the field of functional mobile terminals, and in particular, to a secondary development method and apparatus for a functional mobile phone.
  • BACKGROUND In addition to the call function of a traditional function mobile phone, the necessary conditions for the smart phone include an open operating system, on which the user can install more applications, thereby making the smart phone Features can be almost infinitely expanded.
  • Smartphones are easy to carry around, and provide a broad arena for software operations and content services. Many value-added services can be deployed. With the increasing popularity of mobile terminals, more and more users, especially younger users, want to configure their mobile phones more freely to meet their individual needs and preferences.
  • the function phone corresponding to the smart phone still occupies an important position in the current mobile phone terminal market, and compared with the smart phone, the functional phone cannot be developed twice.
  • Significant shortcomings In the traditional feature phone, all applications are developed by the manufacturer in advance. The user can only modify the relevant parameters through the setting interface provided by the manufacturer, and can not freely modify the program function according to their own needs, and add new ones. application. For the different needs of many users, it is impossible for the manufacturers to fully realize them. For the personalized needs of users, the functional phones lack an effective way.
  • the technical problem to be solved by the present invention is to provide a secondary development method and device for a functional mobile phone, which overcomes the defects that the functional mobile phone that cannot exist in the prior art can be developed twice, so that the user can select the functional mobile phone according to his own needs. Personalize the new features.
  • the present invention provides a secondary development method for a functional mobile phone, including: Each application module in the function mobile phone provides an open interface, and each application module provides a corresponding command and syntax; the function mobile phone acquires an executable script written for each application module according to the corresponding command and syntax; the function mobile phone is loaded and run. Execute the script.
  • the present invention provides a secondary development device for a functional mobile phone, comprising: a first providing module, configured to provide an interface open to each application module; and a second providing module, configured to provide corresponding to each application module Commands and syntax; a script acquisition module for obtaining executable scripts for each application module written in accordance with corresponding commands and syntax; a script load execution module for loading and running executable scripts.
  • a first providing module configured to provide an interface open to each application module
  • a second providing module configured to provide corresponding to each application module Commands and syntax
  • a script acquisition module for obtaining executable scripts for each application module written in accordance with corresponding commands and syntax
  • a script load execution module for loading and running executable scripts.
  • FIG. 1 is a flow chart of a secondary development method of a functional mobile phone according to the present invention
  • FIG. 2 is a schematic structural view of a secondary development device for a functional mobile phone according to the present invention
  • FIG. 3 is a schematic flowchart of a script loading operation module; Manager state transition diagram.
  • DETAILED DESCRIPTION OF THE INVENTION The main idea of the present invention is to provide each application module with an open interface and corresponding commands and syntax by providing a programmable script runtime environment. User reference commands and grammar manuals, using the basic commands provided by the phone, combined programming to achieve the functions you need.
  • the user can write an executable script using a text editor and then load the execution on the phone.
  • the executable script loaded by the user is analyzed, keyword recognition and logic processing are performed, and the interface function of each application module is called to execute.
  • the user is provided with a task manager interface for the user to view each loaded script program and the operation management of the task state.
  • Step 101 Providing each application module in the function mobile phone The interface that is open to the outside, and the corresponding command and syntax are provided by each application module;
  • Step 102 The function phone acquires an executable script for each application module written according to the corresponding command and syntax;
  • Step 103 The function phone loads and runs the executable script .
  • Executable scripts use plain text format, so users can write scripts using any text editing program (such as Notepad) on the PC, or they can write directly on the phone using a text editor.
  • the first line of UNIX-like keywords is recognized as a script, which is not limited by the file extension. Available commands and syntax are provided by each application module of the mobile phone. Generally, simple and clear English keywords can be used, or Chinese commands can be used, and the user development manual can be written. The user development manual is the help information of this function (equivalent to the programming reference book). It can be paper or electronic, and it can be downloaded on CD or online. Users refer to this manual for development.
  • the script file can be loaded via the file manager. The script loading and running module in the mobile phone analyzes the text when loading, and performs corresponding operations according to the command.
  • Some commands can directly call the interface function to execute, and some commands need to wait for an event to occur. This can be used to maintain a table implementation in memory.
  • the table is an in-memory data structure that can be stored including a callback function and a script file index. Or file name, current execution location, etc., because the condition is available in the script file To find out, so there can be no tables. If you need to increase the processing speed, you can also save the condition.
  • the table corresponds to an event and there may be many. Each module knows when and which tables it should query. When an event occurs, the table is retrieved and the registered callback function is called according to the condition. Referring to FIG. 2, it is a schematic structural diagram of a secondary development device for a feature mobile phone of the present invention.
  • the secondary development device of the feature phone includes a first providing module 20, a second providing module 21, a script obtaining module 22, and a script loading running module 23.
  • the structure is described in detail below.
  • the first providing module 20 is configured to provide an open interface to each application module.
  • the second providing module 21 is configured to provide corresponding commands and syntax for each application module.
  • the script obtaining module 22 is configured to obtain an executable script written according to the command and syntax provided by the second providing module 21.
  • the script loading and running module 23 is connected to the script obtaining module 22 for loading and running the executable script acquired by the script obtaining module 22.
  • the script loading and running module 23 is connected to the first providing module 20 and the second providing module 21 for interpreting the executable script according to the command and syntax provided by the second providing module 21, and calling the first providing module 20 to provide
  • the external interface implements the functions expressed by the script. It should be noted that these functions in this embodiment are implemented by each application module.
  • the system further includes a task manager 24 for managing the currently loaded ipbook.
  • the script obtaining module 22 includes one of the following: a receiving submodule 221, configured to receive an executable script written by the user according to a corresponding command and syntax for each application module; and an obtaining submodule 222, It is used to obtain executable scripts for each application module written in accordance with corresponding commands and syntax from other terminals.
  • the receiving sub-module 221 is configured to write an executable script for each application module according to a corresponding command and syntax by using a text editing program.
  • Other terminals include a mobile phone or a PC.
  • the acquisition sub-module 222 is configured to transmit and share available script programs on the mobile phone through Bluetooth or MMS attachments.
  • the receiving sub-module 221 is configured to write an executable script using an English keyword or a Chinese command, and write a manual for the user to develop.
  • the script loading and running module 23 is configured to analyze the text when the script file is loaded, and then perform the corresponding operation according to the command.
  • the schematic diagram of the flow of the script loading and running module is shown in Figure 3. Referring to FIG. 3, it is a schematic flowchart of a script loading and running module of the present invention.
  • Step 301 Determine whether it is the first line of the script, if yes, execute step 302, otherwise end;
  • the command table refers to a list of instruction strings (or "keyword list") inside the script loading and running module program, these commands will be written in the user development manual, and provided to Step 305:
  • this pointer can be called to execute the function.
  • the user manages the script through the task manager. Users can manage the currently loaded scripts through the Task Manager program, such as viewing the contents of the script program, deleting a script, etc., and modifying the running status of the control script.
  • the task manager state transition diagram is shown in Figure 4. Each of these states can be subdivided into thousands of states to better prompt the user. For example, the "running" state can be divided into "executing, ", "waiting for events," and so on.
  • the technical solutions of the present invention are exemplarily described below through examples in specific applications.
  • # Script Start # is the first line of the script, indicating that this is an executable script.
  • the corresponding table is checked, and after the registration script is found, the corresponding interface function is executed according to the statement written by the user in the file, thereby realizing the automatic operation expected by the user.
  • the execution process is as follows: 1) After the new short message arrives, check the corresponding table in the memory and find that a callback function scriptReceiveSmsFunc() is registered, and the index and related additional data (such as the short message structure) registered in the table are used. Body pointer) Call this function for a parameter.
  • the SMS structure body pointer can be obtained from the additional data, so that all the attributes of the short message are known, so the second if statement can check the current short message number, and if it is equal to the preset number, the following is performed. The statements in parentheses are skipped if they are not equal.
  • callvp is the command keyword, indicating that the videophone call interface function will be invoked with the following number as the parameter to initiate a videophone call.
  • # Script End # is the end line of the script, indicating that the script has been executed this time. 6) The next step will be repeated the next time a new message arrives.
  • the script is paused, stopped, or deleted until the user is in the task manager.
  • the above solution implements secondary development through an interpreted executable script, which simplifies the implementation of the program running environment in the mobile phone.
  • the script uses a common text format, making it easy for users to develop and to facilitate user sharing and sharing. Using the most basic function point commands provided by each module of the mobile phone, users can freely combine as many functions as needed to achieve a variety of functions.

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

Procédé et appareil pour le développement secondaire d'un téléphone mobile fonctionnel. Le procédé comporte les étapes suivantes : chaque module applicatif du téléphone mobile fonctionnel met en place une interface ouverte et les commandes et la syntaxe correspondantes (101) ; le téléphone mobile fonctionnel obtient le script exécutable élaboré pour chaque module applicatif selon les commandes et la syntaxe correspondantes (102) ; et le téléphone mobile fonctionnel charge et exécute le script exécutable (103). La solution technique compense dans une certaine mesure les lacunes du téléphone mobile fonctionnel, facilite le développement secondaire du téléphone mobile par l'utilisateur et satisfait les divers besoins spécifiques de l'utilisateur.
PCT/CN2010/075958 2009-09-28 2010-08-13 Procédé et appareil pour le développement secondaire d'un téléphone mobile fonctionnel WO2011035659A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910177866A CN101667121A (zh) 2009-09-28 2009-09-28 一种功能手机的二次开发方法及装置
CN200910177866.9 2009-09-28

Publications (1)

Publication Number Publication Date
WO2011035659A1 true WO2011035659A1 (fr) 2011-03-31

Family

ID=41803747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075958 WO2011035659A1 (fr) 2009-09-28 2010-08-13 Procédé et appareil pour le développement secondaire d'un téléphone mobile fonctionnel

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995913A (zh) * 2019-11-14 2020-04-10 北京中电华大电子设计有限责任公司 一种基于nfc智能手机的非接触智能卡测试方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667121A (zh) * 2009-09-28 2010-03-10 中兴通讯股份有限公司 一种功能手机的二次开发方法及装置
CN102833365A (zh) * 2012-08-23 2012-12-19 Tcl集团股份有限公司 基于dlna的文件播放方法及系统、主、从dlan设备
CN105320505A (zh) * 2014-06-25 2016-02-10 中兴通讯股份有限公司 脚本处理方法及装置
CN104461760A (zh) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 脚本下发的方法、装置及系统
CN113572833B (zh) * 2021-07-21 2024-05-14 北京百度网讯科技有限公司 一种云手机的维护方法、装置、电子设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226479A (zh) * 2008-02-01 2008-07-23 中兴通讯股份有限公司 一种实现手机菜单动态配置的方法
CN101425012A (zh) * 2008-12-10 2009-05-06 深圳华为通信技术有限公司 基于模型自动化生成用例脚本的方法及装置
CN101667121A (zh) * 2009-09-28 2010-03-10 中兴通讯股份有限公司 一种功能手机的二次开发方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226479A (zh) * 2008-02-01 2008-07-23 中兴通讯股份有限公司 一种实现手机菜单动态配置的方法
CN101425012A (zh) * 2008-12-10 2009-05-06 深圳华为通信技术有限公司 基于模型自动化生成用例脚本的方法及装置
CN101667121A (zh) * 2009-09-28 2010-03-10 中兴通讯股份有限公司 一种功能手机的二次开发方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995913A (zh) * 2019-11-14 2020-04-10 北京中电华大电子设计有限责任公司 一种基于nfc智能手机的非接触智能卡测试方法

Also Published As

Publication number Publication date
CN101667121A (zh) 2010-03-10

Similar Documents

Publication Publication Date Title
US20210216700A1 (en) Information Processing Method and System
US10074365B2 (en) Voice control method, mobile terminal device, and voice control system
WO2011035659A1 (fr) Procédé et appareil pour le développement secondaire d'un téléphone mobile fonctionnel
CN103914205B (zh) 一种智能终端的文件缩略图展示方法和装置
CN107025037B (zh) 一种智能设备的控制方法及装置
WO2020052337A1 (fr) Appareil et procédé de traitement d'informations, support d'informations, et dispositif électronique
WO2021204098A1 (fr) Procédé d'interaction vocale et dispositif électronique
CN104636139A (zh) 一种可视化跨平台移动应用开发与生成系统
US11240290B2 (en) Application download method and apparatus, application sending method and apparatus, and system
US9632684B2 (en) Method, device and terminal for generating logic service for embedded terminal
CN105630461A (zh) 一种android应用界面的管理方法
CN109445323B (zh) 一种基于web的分布式智能测控软件平台设计方法
WO2020206691A1 (fr) Procédé et appareil de traitement d'applications, support de stockage et dispositif électronique
CN112882772B (zh) 移动终端应用界面的配置方法、移动终端及存储介质
CN112332997A (zh) 终端设备的配网方法、终端设备及计算机可读存储介质
WO2020228033A1 (fr) Procédé et appareil de chargement de module d'extension sdk, et terminal mobile et support de stockage
CN109933381A (zh) 一种内核的加载方法及装置
CN109271157A (zh) 软件开发方法、设备及计算机可读存储介质
CN110119282A (zh) 一种基于通用嵌入式计算机的物联网终端及系统
CN102169447B (zh) 一种自定义外壳程序的注册、注销方法及相应的系统
CN113391559A (zh) 智慧家居设备控制方法和终端设备
WO2021097683A1 (fr) Procédé et appareil de démarrage de système android, dispositif et support de stockage
CN101246421A (zh) 一种基于工作流引擎实现的通用框架
KR100878044B1 (ko) 브루 및 위피 간의 호환성 제공을 위한 어플리케이션 변환방법 및 장치
WO2013017054A1 (fr) Procédé et appareil permettant de générer automatiquement des messages de cas

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10818353

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10818353

Country of ref document: EP

Kind code of ref document: A1