CN104899012A - Apparatus and method for extending script-based application program - Google Patents

Apparatus and method for extending script-based application program Download PDF

Info

Publication number
CN104899012A
CN104899012A CN201410078807.7A CN201410078807A CN104899012A CN 104899012 A CN104899012 A CN 104899012A CN 201410078807 A CN201410078807 A CN 201410078807A CN 104899012 A CN104899012 A CN 104899012A
Authority
CN
China
Prior art keywords
script
operating system
application program
instruction
expansion
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
CN201410078807.7A
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.)
Kunda Computer Technology Kunshan Co Ltd
Mitac International Corp
Original Assignee
Kunda Computer Technology Kunshan Co Ltd
Mitac International 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 Kunda Computer Technology Kunshan Co Ltd, Mitac International Corp filed Critical Kunda Computer Technology Kunshan Co Ltd
Priority to CN201410078807.7A priority Critical patent/CN104899012A/en
Publication of CN104899012A publication Critical patent/CN104899012A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides an apparatus and method for extending a script-based application program. Customized scripts edited by a user are invoked and executed by using an application program in an operating system, which achieves changing of a user interface or functions of the operating system. The method comprises: receiving, by a coding module, a script edited and input by a user according to user experience from the operating system, and storing the script to the operating system; interpreting and editing, by an editing module, the script to an instruction for identifying by the operating system when the script is invoked by the application program, wherein the editing module is connected to the coding module; and executing, by a processing module, the instruction such that the operating system adapts to the user experience after the application program invokes the script, wherein the processing module is connected to the editing module.

Description

Expand the apparatus and method based on the application program of script
[Ji Intraoperative field]
The present invention relates to the apparatus and method of a kind of expansion based on the application program of script, particularly relate to the apparatus and method of a kind of expansion based on the application program of user-defined script.
[Bei Jing Ji Intraoperative]
Source code (also claiming source program), refers to the computerese instruction that series of human is readable.In modern procedures language, source code can be occur with the form of books or tape, but form the most conventional is text, and the object of this typical format is to compile out computer program.The main function of source code has two kinds of effects, and one is generate object code, i.e. the computing machine code that can identify, two is be described software, is namely described writing of software.The final purpose of computer source code human-readable text translation is become the binary command that computing machine can perform, and this process is called compiling, is completed by compiler.
For general application program (being the application program of the open and/or inaccessible of its source code), in order to determine the function that this general application program is supported, feature, operation and other aspects, user depends on the data item write by developer or publisher, that is, because general application program provides with the form of binary code, so the Characteristic and function in order to determine application program, the information that user can only rely on developer to provide, but the configuration information of the different users often application program that preference is different, for the operating system of mobile phone, the function of user interface and each button is different often, depend on the preference of user, therefore in order to enrich the experience of user, developer often needs to set different source codes to use different hardware platforms or the needs of client for same operating system, also need the difference configuration of producing various version, even need a lot of time to communicate with client and revise source code to meet the preference of user, this adds cost undoubtedly.
Prior art can meet user oneself and revise source code to a certain extent to meet preference and the demand of user, but higher to the relevant speciality level requirement of user, needs software programming background maybe can complete some low-codes.
[summary of the invention]
For the problems referred to above, object of the present invention is mainly to provide a kind of by the application call in operating system with perform the custom script that user edit, realizes changing the user interface of operating system or the device of function and its implementation.
For achieving the above object, the invention provides the device of a kind of expansion based on the application program of script, comprising coding module, collector and processing module, wherein, coding module, according to the Consumer's Experience of operating system, receives the script that user edits input, and is stored in an operating system by script; Collector connects described coding module, and when script is employed routine call, collector is by script interpretation and be compiled into the discernible instruction of operating system; Processing module link edition module, when after application call script, processing module performs instruction makes operating system adapt to Consumer's Experience.
The present invention also provides a kind of expansion based on the method for the application program of script, comprising: coding module, according to the Consumer's Experience of operating system, receives the script that user edits input, and stored in an operating system by script; When script is employed routine call, collector is by script interpretation and be compiled into the discernible instruction of operating system; When after application call script, processing module performs instruction makes operating system adapt to Consumer's Experience.
Especially, described script is based on extend markup language or JSON.
Especially, described collector is API.
Especially, described API is provided by SDK (Software Development Kit), and this API of this application call makes operating system perform this instruction.
Especially, described processing module performs this instruction according to the input sequence of script.
Compared to prior art, expansion of the present invention is based on the device and method of the application program of script, Consumer's Experience is defined as script, by the application call in operating system and execution, to change user interface and the function of operating system, avoiding user in prior art needs professional knowledge to revise source code, the difference configuration that simultaneously need generate various version for same operating system developer meets the needs of different user, operating system is made to adapt to the preference of user, be user-friendly to, reduce production cost, enrich Consumer's Experience simultaneously.
[accompanying drawing explanation]
Fig. 1 is the connection block diagram that the present invention expands the device of the application program based on script;
Fig. 2 is the process flow diagram that the present invention expands the method for the application program based on script.
[embodiment]
Below, by reference to the accompanying drawings, specific embodiments of the invention are elaborated:
Expansion of the present invention is based on the device of the application program of script, Consumer's Experience is defined as script, by the application call in operating system and execution, to change user interface and the function of operating system, refer to Fig. 1, for the present invention's expansion is based on the connection block diagram of the device of the application program of script, as shown in Figure 1, comprise coding module 11, collector 12 and processing module 13, wherein, coding module 11 is according to the Consumer's Experience of operating system 2, this coding module 11 receives the script that user edits input, and this script is stored in this operating system 2, collector 12 connects described coding module 11, and when this script is by an application call, this collector 12 is by this script interpretation and be compiled into the discernible instruction of this operating system 2, processing module 13 connects described collector 12, and when after this script of this application call, this processing module 13 performs this instruction, makes this operating system 2 adapt to Consumer's Experience.
Refer to Fig. 2, for the present invention's expansion is based on the method for the application program of script, as shown in Figure 2, the method comprises the steps:
Step 21: input script, user inputs this script according to the Consumer's Experience editor of self by wscript.exe editor;
Step 22: stores scripts, the script that user inputs by coding module stores in an operating system;
Step 23: invoke script, when user needs user interface or the function changing operating system, this script is by an application call;
Step 24: compilation script, when this script is employed routine call, collector is by this script interpretation and be compiled into the discernible instruction of this operating system;
Step 25: perform instruction, when after this script of this application call, processing module performs this instruction.
Especially, described script is by wscript.exe editor, and its language is based on extend markup language or JSON.
Especially, described collector is API.
Especially, described API is provided by SDK (Software Development Kit), and this API of this application call makes operating system perform this instruction.
Especially, described processing module performs this instruction according to the input sequence of script.
By reference to the accompanying drawings the specific embodiment of the present invention and embodiment are elaborated above, but the present invention is not limited to the above-described embodiment and examples, in the ken that those skilled in the art possess, can also make a variety of changes without departing from the inventive concept of the premise.

Claims (10)

1. expansion is based on a device for the application program of script, and be applicable to an operating system, it is characterized in that, this device comprises:
Coding module, according to the Consumer's Experience of this operating system, this coding module receives the script that user edits input, and is stored in this operating system by this script;
Collector, it connects described coding module, and when this script is by an application call, this collector is by this script interpretation and be compiled into the discernible instruction of this operating system;
Processing module, it connects described collector, and when after this script of this application call, this processing module performs this instruction, makes this operating system adapt to Consumer's Experience.
2. expansion according to claim 1 is based on the device of the application program of script, it is characterized in that, described script is by wscript.exe editor, and its language is based on extend markup language or JSON.
3. expansion according to claim 1 is based on the device of the application program of script, it is characterized in that, described collector is API.
4. expansion according to claim 3 is based on the device of the application program of script, it is characterized in that, described API is provided by SDK (Software Development Kit), and this API of this application call makes operating system perform this instruction.
5. expansion according to claim 1 is based on the device of the application program of script, it is characterized in that, described processing module performs this instruction according to the input sequence of script.
6. expansion is based on a method for the application program of script, and be applicable to the method for above-mentioned expansion based on the application program of script, it is characterized in that, the method comprises:
Coding module, according to the Consumer's Experience of operating system, receives the script that user edits input, and is stored in this operating system by this script;
When this script is by an application call, collector is by this script interpretation and be compiled into the discernible instruction of this operating system;
When after this script of this application call, processing module performs this instruction, makes this operating system adapt to Consumer's Experience.
7. expansion according to claim 6 is based on the method for the application program of script, it is characterized in that, described script is based on extend markup language or JSON.
8. expansion according to claim 6 is based on the method for the application program of script, it is characterized in that, described collector is API.
9. expansion according to claim 7 is based on the method for the application program of script, it is characterized in that, described API is provided by SDK (Software Development Kit), and this API of this application call makes operating system perform this instruction.
10. expansion according to claim 6 is based on the method for the application program of script, it is characterized in that, described processing module performs this instruction according to the input sequence of script.
CN201410078807.7A 2014-03-06 2014-03-06 Apparatus and method for extending script-based application program Pending CN104899012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410078807.7A CN104899012A (en) 2014-03-06 2014-03-06 Apparatus and method for extending script-based application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410078807.7A CN104899012A (en) 2014-03-06 2014-03-06 Apparatus and method for extending script-based application program

Publications (1)

Publication Number Publication Date
CN104899012A true CN104899012A (en) 2015-09-09

Family

ID=54031691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410078807.7A Pending CN104899012A (en) 2014-03-06 2014-03-06 Apparatus and method for extending script-based application program

Country Status (1)

Country Link
CN (1) CN104899012A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557337A (en) * 2015-09-28 2017-04-05 北京金山安全软件有限公司 Interface updating method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071374A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Window system and its interface editing method
CN101183308A (en) * 2007-12-07 2008-05-21 上海科泰世纪科技有限公司 Computer software application program development and operation method based on XML and script language
CN102567065A (en) * 2010-12-10 2012-07-11 北京旋极信息技术股份有限公司 Method for operating development tool of embedded computer system
CN103617037A (en) * 2013-11-27 2014-03-05 张洁 Developing method for web development system and web development system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071374A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Window system and its interface editing method
CN101183308A (en) * 2007-12-07 2008-05-21 上海科泰世纪科技有限公司 Computer software application program development and operation method based on XML and script language
CN102567065A (en) * 2010-12-10 2012-07-11 北京旋极信息技术股份有限公司 Method for operating development tool of embedded computer system
CN103617037A (en) * 2013-11-27 2014-03-05 张洁 Developing method for web development system and web development system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557337A (en) * 2015-09-28 2017-04-05 北京金山安全软件有限公司 Interface updating method and terminal

Similar Documents

Publication Publication Date Title
US10409574B2 (en) Incremental whole program compilation of code
US10565293B2 (en) Synchronizing DOM element references
EP3161642B1 (en) Techniques for edit-and-continue and enhanced optimized debugging on optimized code
US10540262B2 (en) Using edit and continue to dynamically set and unset optimizations in source code while debugging
WO2017185606A1 (en) Overlay mechanism-based apk development method and system
CN108351764B (en) Data processing method and system
WO2019233293A1 (en) Method and apparatus for developing application program
US20060265469A1 (en) XML based scripting framework, and methods of providing automated interactions with remote systems
Popp et al. Tool support for automated multi-device GUI generation from discourse-based communication models
CN110990019B (en) Java class analysis method and device, storage medium and electronic equipment
CN109918081B (en) Compiling method and compiler
US10120660B2 (en) Systems and methods for producing launchers for a mobile terminal
US9734596B2 (en) Method for generating executable applications with dynamic scalable vector graphics and compiler for carrying out the method
CN101226479A (en) Method for implementing dynamic collocation of mobile phone menu
CN110275704A (en) Page data processing method and device, storage medium and electronic equipment
CN110109671B (en) Webpack label size and style conversion method and device
CN106777036B (en) A kind of data rendering method and data render system
JP2019523942A (en) Query optimizer for CPU usage and code refactoring
US9117020B2 (en) Determining control flow divergence due to variable value difference
US9038033B1 (en) Techniques and mechanisms for web application minification
WO2023078053A1 (en) Code generation method and apparatus, and computer device and storage medium
CN108170430B (en) Interface display method and system
CN111966357A (en) Operating system application compiling method and device and electronic equipment
WO2017148057A1 (en) Software version generation method and apparatus
US9405739B1 (en) Source code format for IDE code development with embedded objects

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150909

WD01 Invention patent application deemed withdrawn after publication