CN105335132A - Method, apparatus and system for user-defined application function - Google Patents

Method, apparatus and system for user-defined application function Download PDF

Info

Publication number
CN105335132A
CN105335132A CN201410262341.6A CN201410262341A CN105335132A CN 105335132 A CN105335132 A CN 105335132A CN 201410262341 A CN201410262341 A CN 201410262341A CN 105335132 A CN105335132 A CN 105335132A
Authority
CN
China
Prior art keywords
user defined
defined function
request
user
menu
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
CN201410262341.6A
Other languages
Chinese (zh)
Other versions
CN105335132B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410262341.6A priority Critical patent/CN105335132B/en
Publication of CN105335132A publication Critical patent/CN105335132A/en
Priority to HK16106485.1A priority patent/HK1218451A1/en
Application granted granted Critical
Publication of CN105335132B publication Critical patent/CN105335132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present application discloses a method, an apparatus and a system for a user-defined application function. The method comprises: receiving a request sent from a client for executing a user-defined function; based on the request, executing an automated script corresponding to the user-defined function, and acquiring a data resource generated after the automated script is executed; and sending the data resource to the client, wherein the automated script refers to an executable file that comprises a command set for implementing the user-defined function. According to the method for a user-defined application function provided by the present application, only a script program corresponding to an application function required by a user needs to be developed; an execution result of the script program is returned to an application; the script program can match intelligent display terminals of different operating systems and different device models; and the method is good in compatibility and simple in practice and reserves resources.

Description

A kind of method of self-defined function of application, device and system
Technical field
The application relates to application-development technologies field, is specifically related to a kind of method of self-defined function of application.The input method that the application relates to a kind of device of self-defined function of application simultaneously, application program receives User Defined function, application program receive the input media of User Defined function and the system of self-defined function of application.
Background technology
Current, along with the development of wireless communication technique, the intelligent terminals such as smart mobile phone are more and more universal, mobile phone is not only used as the communication tool of making a phone call and sending short messages, and is provided with more function, such as surfs the Net, set up applications, and along with the demand of user constantly increases, kind and the quantity of application program also significantly increase, as: communication applications, game application, audiovisual applications, navigation application, graph and image processing application, file management application and various tool applications etc.Along with the requirement of user's application programs is more and more higher, the application program comprising several functions is also more and more subject to the welcome of user, for the demand of user, there is the application program of self-defined (add, delete) other application program of support and function.
Under prior art, user, when the function of self-defined application program, takes following scheme: the feature list that application program forms based on the custom feature that user interface display user is all; When application program receives the operation requests of certain custom feature in the described feature list of user's input, the parameter of the current intelligent terminal of application program mobile phone, and form request bag in conjunction with described operation requests, and this request bag is sent to server; When server receives this request bag, this request bag is resolved, gets the parameter of described intelligent terminal, and create the custom application corresponding with described intelligent terminal based on this parameter, and described custom application is sent to described application program; After application program receives this custom application, attach it on described intelligent terminal, the expansion realizing application programs function is self-defined.
There is obvious defect in the method for the function of the self-defined application program that above-mentioned prior art provides.
The functional compatibility of the self-defined application program that prior art provides is poor.Under prior art, the equipment that the operating system for the equipment of different model, operation is different and the different equipment of operating system version, corresponding application format or version are also different, poor compatibility; In addition, the function of above-mentioned self-defined application program be realized, the custom application of the various operating system of abundant correspondence, corresponding various operating system version and corresponding various model device must be developed, spend more human and material resources.
Summary of the invention
The application provides a kind of method of self-defined function of application, to solve the problem of the poor compatibility that prior art exists.The input method that the application provides a kind of device of self-defined function of application in addition, application program receives User Defined function, application program receive the input media of User Defined function and the system of self-defined function of application.
The application provides a kind of method of self-defined function of application, comprising:
Receive the request of the execution User Defined function that client sends;
Perform automatized script corresponding to described User Defined function based on this request, and obtain the data resource generated after this automatized script is finished;
Described data resource is sent to described client;
Wherein, described automatized script refers to the executable file comprising the command history realizing described User Defined function.
Optionally, before the request of the execution User Defined function that described reception client sends, comprising:
Described automatized script is generated based on compiler;
Described automatized script is sent to database;
The User Defined function corresponding based on described automatized script creates User Defined menu in the database;
Described User Defined menu is sent to described client.
Optionally, the described automatized script performing described User Defined function corresponding based on this request comprises:
The request that described client sends is resolved, obtains the User Defined function of this request correspondence;
Automatized script corresponding to this User Defined function is inquired about in request based on described User Defined function from described database;
Perform this automatized script.
Optionally, describedly described data resource be sent to client comprise:
Described data resource is directly sent to described client; Or
The request whether receiving described data resource is sent to described client;
If receive the request of this data resource of acquisition that described client sends, then described data resource is sent to described client.
Optionally, describedly described User Defined menu be sent to described client comprise:
The information of all fields in the middle of described User Defined menu is sent to described client; Or
Described User Defined menu is detected;
If detect, the information of one or more field in the middle of described User Defined menu changes, then this information is sent to described client.
Optionally, describedly generating described automatized script based on compiler, is that the robotization platform by presetting realizes;
Wherein, described robotization platform also for:
API corresponding for the application program of described client is encapsulated as robotization function.
Optionally, the described User Defined function corresponding based on described automatized script creates User Defined menu in the database and described User Defined menu is sent to described client step, is realized by database server.
The application provides a kind of device of self-defined function of application in addition, comprising:
User's request reception unit, for receiving the request of the execution User Defined function that client sends;
Performance element, for performing automatized script corresponding to described User Defined function based on this request, and obtains the data resource generated after this automatized script is finished;
Data resource transmitting element, for being sent to described client by described data resource;
Wherein, described automatized script refers to the executable file comprising the command history realizing described User Defined function.
Optionally, the device of described self-defined function of application, comprising:
Automatized script generation unit, for generating described automatized script based on compiler;
Automatized script transmitting element, for being sent to database by described automatized script;
User Defined menu creating unit, creates User Defined menu in the database for the User Defined function corresponding based on described automatized script;
User Defined menu transmitting element, for being sent to described client by described User Defined menu.
Optionally, described performance element comprises:
Resolve subelement, resolve for the request sent described client, obtain the User Defined function of this request correspondence;
Inquiry subelement, inquires about automatized script corresponding to this User Defined function for the request based on described User Defined function from described database;
Perform subelement, for performing this automatized script.
The application also provides a kind of input method for receiving User Defined function, comprising:
From described User Defined menu, the user of User Defined function is selected to input based on intelligent terminal for reception user;
The request performing this User Defined function is generated according to the User Defined function that user selects;
The request performing described User Defined function is sent to server;
Receive the data resource that described server sends.
Optionally, the described input method for receiving User Defined function, comprising:
Receive the User Defined menu that described database server sends;
Based on described intelligent terminal screen display described in User Defined menu.
Optionally, the User Defined menu that the described database server of described reception sends comprises:
Receive the information of all fields in the middle of described User Defined menu; Or
Receive the information of one or more field in the middle of described User Defined menu, based on User Defined menu described in this information updating.
Optionally, the data resource that the described server of described reception sends comprises:
Receive the data resource that described server sends; Or
Receive the request whether receiving data resource that described server sends;
If based on the request of this request to data resource described in described server transmission and reception;
Then receive the data resource that described server sends.
Optionally, described intelligent terminal comprises:
Mobile phone, panel computer, intelligent television and/or wearable device.
The application also provides a kind of input media for receiving User Defined function, comprising:
For input receiving unit, for selecting the user of User Defined function to input from described User Defined menu based on intelligent terminal for reception user;
Request generation unit, generates for the User Defined function selected according to user the request performing this User Defined function;
Request transmitting unit, for being sent to server by the request performing described User Defined function;
Data resource receiving element, for receiving the data resource that described server sends.
Optionally, the described input media for receiving User Defined function, comprising:
User Defined menu receiving element, for receiving the User Defined menu that described database server sends;
User Defined menu display unit, for User Defined menu described in the screen display based on described intelligent terminal.
The application also provides a kind of system of self-defined function of application, comprising:
Server, comprises the device of self-defined function of application described above;
Client, comprises as mentioned above for receiving the input media of User Defined function.
Compared with prior art, the application has the following advantages:
The method compatibility of the self-defined function of application that the application provides is good, saving resource.
The method of the self-defined function of application that the application provides, comprising: the request receiving the execution User Defined function that client sends; Perform automatized script corresponding to described User Defined function based on this request, and obtain the data resource generated after this automatized script is finished; Described data resource is sent to described client; Wherein, described automatized script refers to the executable file comprising the command history realizing described User Defined function.
The method of the above-mentioned self-defined function of application that the application provides, only need develop a kind of shell script corresponding to the application function of user's request, the execution result of this shell script is returned to application program, described shell script can mate the intelligent display terminal of different operating system and distinct device model, compatible good, and implement simple, saving resource.
Accompanying drawing explanation
Fig. 1 is the method processing flow chart of a kind of self-defined function of application that the application first embodiment provides;
Fig. 2 is the device schematic diagram of a kind of self-defined function of application that the application second embodiment provides;
Fig. 3 is the input method processing flow chart of a kind of application program reception User Defined function that the application the 3rd embodiment provides;
Fig. 4 is the input media schematic diagram of a kind of application program reception User Defined function that the application the 4th embodiment provides;
Fig. 5 is the system schematic of a kind of self-defined function of application that the application the 5th embodiment provides.
Embodiment
Set forth a lot of detail in the following description so that fully understand the application.But the application can be much different from alternate manner described here to implement, those skilled in the art can when doing similar popularization without prejudice to when the application's intension, and therefore the application is by the restriction of following public concrete enforcement.
The application provides a kind of method of self-defined function of application.The input method that the application relates to a kind of device of self-defined function of application simultaneously, application program receives User Defined function, application program receive the input media of User Defined function and the system of self-defined function of application.
Below in conjunction with drawings and Examples, the application is described in detail.
The embodiment of the method for described self-defined function of application is as follows:
Please refer to Fig. 1, it illustrates the method processing flow chart of a kind of self-defined function of application that the present embodiment provides.
Described in the present embodiment, the method for self-defined function of application comprises the steps:
S101; Receive the request of the execution User Defined function that client sends.
Under prior art, software developer is by programming and issuing generation application program, once application issued generates executable file, the function that this application program realizes just is determined, cannot change.
In the present embodiment, for solving above-mentioned prior art Problems existing, use Objective-C language development IOS application program only having framework not have function, this IOS application program is client; And in the middle of client, providing some to have the function of user's request, user can certain functional realiey concrete operations of unrestricted choice, and these functions are then called User Defined function.In addition, Android application program, C# language developing Windows Phone application program can also be developed based on Java language, in this no limit.
Before the request of the execution User Defined function that the reception client described in this step sends, also comprise following four steps:
1) described automatized script is generated based on compiler;
Script is the combination that a series of computer for controlling determined carry out arithmetic operation action, can realize certain logic branch etc. wherein.
In the present embodiment, the a series of implementation of User Defined function and operational motion are compiled by compiler on the robotization platform preset, generate automatized script, that is: this automatized script is a series of instruction and the operational set that can realize described User Defined function.
Wherein, the robotization platform described in the present embodiment is also for being encapsulated as robotization function by API corresponding for the application program of described client.
It should be noted that, described automatized script can also realize based on other robotization platform, or adopts other program to replace described automatized script, in this no limit.
In addition, described automatized script can also automatically perform and complete a series of instruction and operational set, can automatically perform the process of series of complex;
Such as:
General, user checks hot item in the middle of shopping website or the high commodity of user's evaluation comparison; First need open any browser, next enters shopping website, is then searched by modes such as search, clicks, obtains the information of hot item or the high commodity of user's evaluation comparison;
In the present embodiment, described automatized script contains above-mentioned open any browser, enters shopping website, by the modes such as search, click carry out searching instruction set in steps; User wants to check hot item in the middle of shopping website or the high commodity of user's evaluation comparison, only need perform described automatized script, without the need to carrying out a series of operation.Similar with it, numerous function can also be realized by automatized script, not repeat them here.
2) described automatized script is sent to database;
In the present embodiment, described database adopts MySQL.The object described in this step, described automatized script being sent to database is to safeguard described objective function and automatized script, determines corresponding relation each other.
3) User Defined menu is created in the database based on the User Defined function that described automatized script is corresponding;
Based on the automatized script that described User Defined function and this User Defined function are corresponding, and corresponding relation therebetween, with User Defined function for major key, set up User Defined menu in the database.
In addition, according to above-mentioned steps 1) and step 2), if database receives new User Defined function, then based on User Defined menu described in this User Defined function renewal; Similar, if automatized script corresponding to certain User Defined function changes, then upgrade respective field in described User Defined menu.
4) described User Defined menu is sent to described client.
The object of this step is to provide spendable function to user, that is: user uses all User Defined functions in described User Defined menu by client.
In the present embodiment, described database also comprises background service program corresponding to this database, and the effect of described background service program is to detect described User Defined menu; If detect, the information of one or more field in the middle of described User Defined menu changes, then this information is sent to described client.
In this step, describe the performance history of User Defined function and automatized script, in the middle of step below, introduce described automatized script perform in the middle of data handling procedure, and automatized script complete after data handling procedure.
S102; Perform automatized script corresponding to described User Defined function based on this request, and obtain the data resource generated after this automatized script is finished.
Describedly perform automatized script corresponding to described User Defined function based on this request and comprise following three steps:
1) request that described client sends is resolved, obtain the User Defined function of this request correspondence;
According to above-mentioned steps S101, after described User Defined menu is sent to described client, the User Defined function that user can select in the middle of described User Defined menu based on client, after user selectes a certain User Defined function, client generates the request corresponding with this User Defined function, and this request is fed back to server, after server receives this request, this request is resolved, and obtains the User Defined function of this request correspondence.
It should be noted that, in the present embodiment, described server refers to the software of the method for realizing self-defined function of application described in the present embodiment; In addition, described server uses AutoIT language to realize writing, and this server runs on PC end, in addition, other programming language can also be adopted to realize, in this no limit.
2) automatized script corresponding to this User Defined function is inquired about in the request based on described User Defined function from described database;
According to step 1), after obtaining User Defined function, from described database, inquire about the automatized script that this User Defined function is corresponding, prepare for next step performs described automatized script.
3) this automatized script is performed.
In the present embodiment, be machine recognizable instruction based on interpreter by the statement translation in the middle of described automatized script, perform by the order of instruction, and generate the execution result of this automatized script.
Such as:
The step 1 of above-mentioned steps S101) in example, user checks the automatized script of hot item in the middle of shopping website or the high commodity of user's evaluation comparison, and the execution result of this automatized script is the data resource of the commodity that hot item in the middle of the shopping website that obtains from internet or user's evaluation comparison are high.In addition, described execution result also comprises data calculating and result etc.
S103; Described data resource is sent to described client.
In the present embodiment, after the described data resource of the complete generation of described automatized script, send the request whether receiving described data resource to described client; If receive the request of this data resource of acquisition that described client sends, then described data resource is sent to described client.
In addition, the described realization mechanism described data resource being sent to described client and also comprising other, such as do not send the request whether receiving described data resource, described data resource is directly directly sent to described client after obtaining the described data resource of the complete generation of automatized script by server.
In the above-described embodiment, provide a kind of method of self-defined function of application, correspond, present invention also provides a kind of device of self-defined function of application.
The device embodiment of described self-defined function of application is as follows:
Please refer to Fig. 2, the device schematic diagram of a kind of self-defined function of application provided according to the present embodiment is provided.Because device embodiment is substantially similar to embodiment of the method, so describe fairly simple, the correspondence that relevant part refers to embodiment of the method illustrates.The device embodiment of following description is only schematic.
The device of a kind of self-defined function of application described in the application, comprising:
User's request reception unit 201, for receiving the request of the execution User Defined function that client sends;
Performance element 202, for performing automatized script corresponding to described User Defined function based on this request, and obtains the data resource generated after this automatized script is finished;
Data resource transmitting element 203, for being sent to described client by described data resource;
Wherein, described automatized script refers to the executable file comprising the command history realizing described User Defined function.
Optionally, the device of described self-defined function of application, comprising:
Automatized script generation unit 204, for generating described automatized script based on compiler;
Automatized script transmitting element 205, for being sent to database by described automatized script;
User Defined menu creating unit 206, creates User Defined menu in the database for the User Defined function corresponding based on described automatized script;
User Defined menu transmitting element 207, for being sent to described client by described User Defined menu.
Optionally, described performance element 202 comprises:
Resolve subelement 202-1, resolve for the request sent described client, obtain the User Defined function of this request correspondence;
Inquiry subelement 202-2, inquires about automatized script corresponding to this User Defined function for the request based on described User Defined function from described database;
Perform subelement 202-3, for performing this automatized script.
In the above-described embodiment, provide a kind of method of self-defined function of application, present invention also provides the input method that a kind of application program of mutually mating with the method for described self-defined function of application receives User Defined function.
The input method embodiment that described application program receives User Defined function is as follows:
Please refer to Fig. 3, a kind of application program that it illustrates the present embodiment provides receives the input method processing flow chart of User Defined function.
The input method that the application program that the present embodiment is corresponding receives User Defined function is mated mutually with the method for above-mentioned self-defined function of application, reads the present embodiment and please refer to the embodiment that above-mentioned application program receives the input method of User Defined function.
The input method that a kind of application program described in the present embodiment receives User Defined function comprises the steps:
S301; From described User Defined menu, the user of User Defined function is selected to input based on intelligent terminal for reception user.
Described intelligent terminal includes but not limited to mobile phone, panel computer, intelligent television and wearable device; Application program (that is: client) runs on this intelligent terminal; Wherein, described client refers to and adopts Objective-C language development IOS application program only having framework not have function; Further, this client also provides User Defined function.In addition, can also develop based on Java language the application program that Android application program, C# language developing Windows Phone application program or other Languages develop other platform, will not enumerate in the present embodiment.
In the present embodiment, described in this step based on intelligent terminal for reception user select from described User Defined menu User Defined function user input before, further comprising the steps of:
1) the User Defined menu that described database server sends is received;
With in step S101 in the embodiment of the method for above-mentioned self-defined function of application 4) described in described User Defined menu be sent to described client match; In this step, client receives the information of one or more field in the middle of described User Defined menu, and based on User Defined menu described in this information updating.
2) based on described intelligent terminal screen display described in User Defined menu;
According to above-mentioned steps 1), to receive and after upgrading described User Defined menu, client based on described intelligent terminal screen display described in User Defined menu.
S302; The request performing this User Defined function is generated according to the User Defined function that user selects.
The object of this step is to guarantee the corresponding relation in the middle of described User Defined menu between different user custom feature and automatized script.If the request that all User Defined functions generate is identical, then after server receives request, the automatized script of execution cannot be determined according to this request.
According to above-mentioned steps, after User Defined menu described in the screen display of intelligent terminal, user selects User Defined function based on the screen of described intelligent terminal in the middle of described User Defined menu;
Intelligent terminal for reception, to after user selects the operation of User Defined function, generates the request with this User Defined function with unique corresponding relation based on this User Defined function;
Wherein, in the middle of this request, comprise the characteristic information that described User Defined function can be different from other User Defined function, after guaranteeing that server receives described request, the User Defined function of this request correspondence can be gone out according to this request analysis.
S303; The request performing described User Defined function is sent to server.
The request of this User Defined function is sent to server based on communication link after generating the request of described User Defined function by described intelligent terminal; In addition, the realization of described communication link belongs to conventional means, such as: the communication link etc. realized based on WIFI, bluetooth.
S304; Receive the data resource that described server sends.
This step is corresponding with step S103 in the embodiment of the method for above-mentioned self-defined function of application, described client receives the request whether receiving data resource that described server sends, based on the request of this request to data resource described in described server transmission and reception, and receive the data resource of described server transmission.
In addition, the data resource of the described server transmission of described reception also comprises other realization mechanism, and such as directly receive the data resource that described server sends, the present embodiment is not construed as limiting this.
In the above-described embodiment, provide the input method that a kind of application program receives User Defined function, correspond, present invention also provides the input media that a kind of application program receives User Defined function.
The input media embodiment that described application program receives User Defined function is as follows:
Please refer to Fig. 4, a kind of application program that it illustrates provides according to the present embodiment receives the input media schematic diagram of User Defined function.
Because device embodiment is substantially similar to embodiment of the method, so describe fairly simple, the correspondence that relevant part refers to embodiment of the method illustrates.The device embodiment of following description is only schematic.
A kind of application program described in the application receives the input media of User Defined function, comprising:
For input receiving unit 401, for selecting the user of User Defined function to input from described User Defined menu based on intelligent terminal for reception user;
Request generation unit 402, generates for the User Defined function selected according to user the request performing this User Defined function;
Request transmitting unit 403, for being sent to server by the request performing described User Defined function;
Data resource receiving element 404, for receiving the data resource that described server sends.
Optionally, described application program receives the input media of User Defined function, comprising:
User Defined menu receiving element 405, for receiving the User Defined menu that described database server sends;
User Defined menu display unit 406, for User Defined menu described in the screen display based on described intelligent terminal.
The system embodiment of described self-defined function of application is as follows:
Please refer to Fig. 5, the system schematic of a kind of self-defined function of application provided according to the present embodiment is provided.
Due to the embodiment of the embodiment and the described input media for receiving User Defined function that above provide the device of described self-defined function of application, see the explanation that said apparatus embodiment is corresponding.The system embodiment of following description is only schematic.
The system of a kind of self-defined function of application described in the application, comprising:
Server 501, comprises the device of self-defined function of application described above;
Client 502, comprises as mentioned above for receiving the input media of User Defined function.
In the present embodiment, described server 501 refers to system or the device of the method for realizing the self-defined function of application described in the application, comprising: the device of self-defined function of application as above; The explanation of the device of described self-defined function of application is see the device embodiment of above-mentioned self-defined function of application.
Described client 502 refers to the system or the device that receive the input method of User Defined function for realizing application program, comprising: application program as above receives the input media of User Defined function; Described application program receives the explanation of the input media of User Defined function see the above-mentioned input media embodiment for receiving User Defined function.
Although the application with preferred embodiment openly as above; but it is not for limiting the application; any those skilled in the art are not departing from the spirit and scope of the application; can make possible variation and amendment, the scope that therefore protection domain of the application should define with the application's claim is as the criterion.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as ROM (read-only memory) (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
1, computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computing machine comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic RAM (DRAM), the random access memory (RAM) of other types, ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc ROM (read-only memory) (CD-ROM), digital versatile disc (DVD) or other optical memory, magnetic magnetic tape cassette, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise non-temporary computer readable media (transitorymedia), as data-signal and the carrier wave of modulation.
2, it will be understood by those skilled in the art that the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.

Claims (17)

1. a method for self-defined function of application, is characterized in that, comprising:
Receive the request of the execution User Defined function that client sends;
Perform automatized script corresponding to described User Defined function based on this request, and obtain the data resource generated after this automatized script is finished;
Described data resource is sent to described client;
Wherein, described automatized script refers to the executable file comprising the command history realizing described User Defined function.
2. the method for self-defined function of application according to claim 1, is characterized in that, before the request of the execution User Defined function that described reception client sends, comprising:
Described automatized script is generated based on compiler;
Described automatized script is sent to database;
The User Defined function corresponding based on described automatized script creates User Defined menu in the database;
Described User Defined menu is sent to described client.
3. the method for self-defined function of application according to claim 1, is characterized in that, the described automatized script performing described User Defined function corresponding based on this request comprises:
The request that described client sends is resolved, obtains the User Defined function of this request correspondence;
Automatized script corresponding to this User Defined function is inquired about in request based on described User Defined function from described database;
Perform this automatized script.
4. the method for self-defined function of application according to claim 1, is characterized in that, describedly described data resource is sent to client comprises:
Described data resource is directly sent to described client; Or
The request whether receiving described data resource is sent to described client;
If receive the request of this data resource of acquisition that described client sends, then described data resource is sent to described client.
5. the method for self-defined function of application according to claim 2, is characterized in that, describedly described User Defined menu is sent to described client comprises:
The information of all fields in the middle of described User Defined menu is sent to described client; Or
Described User Defined menu is detected;
If detect, the information of one or more field in the middle of described User Defined menu changes, then this information is sent to described client.
6. the method for self-defined function of application according to claim 2, is characterized in that, describedly generates described automatized script based on compiler, is that the robotization platform by presetting realizes;
Wherein, described robotization platform also for:
API corresponding for the application program of described client is encapsulated as robotization function.
7. the method for self-defined function of application according to claim 2, it is characterized in that, the described User Defined function corresponding based on described automatized script creates User Defined menu in the database and described User Defined menu is sent to described client step, is realized by database server.
8. a device for self-defined function of application, is characterized in that, comprising:
User's request reception unit, for receiving the request of the execution User Defined function that client sends;
Performance element, for performing automatized script corresponding to described User Defined function based on this request, and obtains the data resource generated after this automatized script is finished;
Data resource transmitting element, for being sent to described client by described data resource;
Wherein, described automatized script refers to the executable file comprising the command history realizing described User Defined function.
9. the device of self-defined function of application according to claim 8, is characterized in that, comprising:
Automatized script generation unit, for generating described automatized script based on compiler;
Automatized script transmitting element, for being sent to database by described automatized script;
User Defined menu creating unit, creates User Defined menu in the database for the User Defined function corresponding based on described automatized script;
User Defined menu transmitting element, for being sent to described client by described User Defined menu.
10. the square device of self-defined function of application according to claim 8, is characterized in that, described performance element comprises:
Resolve subelement, resolve for the request sent described client, obtain the User Defined function of this request correspondence;
Inquiry subelement, inquires about automatized script corresponding to this User Defined function for the request based on described User Defined function from described database;
Perform subelement, for performing this automatized script.
11. 1 kinds for receiving the input method of User Defined function, is characterized in that, comprising:
From described User Defined menu, the user of User Defined function is selected to input based on intelligent terminal for reception user;
The request performing this User Defined function is generated according to the User Defined function that user selects;
The request performing described User Defined function is sent to server;
Receive the data resource that described server sends.
12. input methods for receiving User Defined function according to claim 11, is characterized in that, comprising:
Receive the User Defined menu that described database server sends;
Based on described intelligent terminal screen display described in User Defined menu.
13. input methods for receiving User Defined function according to claim 12, is characterized in that, the User Defined menu that the described database server of described reception sends comprises:
Receive the information of all fields in the middle of described User Defined menu; Or
Receive the information of one or more field in the middle of described User Defined menu, based on User Defined menu described in this information updating.
14. input methods for receiving User Defined function according to claim 11, is characterized in that, the data resource that the described server of described reception sends comprises:
Receive the data resource that described server sends; Or
Receive the request whether receiving data resource that described server sends;
If based on the request of this request to data resource described in described server transmission and reception;
Then receive the data resource that described server sends.
15. input methods for receiving User Defined function according to claim 11 or 14, it is characterized in that, described intelligent terminal comprises:
Mobile phone, panel computer, intelligent television and/or wearable device.
16. 1 kinds for receiving the input media of User Defined function, is characterized in that, comprising:
For input receiving unit, for selecting the user of User Defined function to input from described User Defined menu based on intelligent terminal for reception user;
Request generation unit, generates for the User Defined function selected according to user the request performing this User Defined function;
Request transmitting unit, for being sent to server by the request performing described User Defined function;
Data resource receiving element, for receiving the data resource that described server sends.
17. input medias for receiving User Defined function according to claim 16, is characterized in that, comprising:
User Defined menu receiving element, for receiving the User Defined menu that described database server sends;
User Defined menu display unit, for User Defined menu described in the screen display based on described intelligent terminal.
CN201410262341.6A 2014-06-13 2014-06-13 Method, device and system for customizing application program function Active CN105335132B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410262341.6A CN105335132B (en) 2014-06-13 2014-06-13 Method, device and system for customizing application program function
HK16106485.1A HK1218451A1 (en) 2014-06-13 2016-06-07 Method, device and system for customizing application function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410262341.6A CN105335132B (en) 2014-06-13 2014-06-13 Method, device and system for customizing application program function

Publications (2)

Publication Number Publication Date
CN105335132A true CN105335132A (en) 2016-02-17
CN105335132B CN105335132B (en) 2020-03-24

Family

ID=55285708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410262341.6A Active CN105335132B (en) 2014-06-13 2014-06-13 Method, device and system for customizing application program function

Country Status (2)

Country Link
CN (1) CN105335132B (en)
HK (1) HK1218451A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250987A (en) * 2016-07-22 2016-12-21 无锡华云数据技术服务有限公司 A kind of machine learning method, device and big data platform
CN106528117A (en) * 2016-11-01 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Method and device for simplifying application
CN106778117A (en) * 2016-09-18 2017-05-31 腾讯科技(深圳)有限公司 Authority open method, apparatus and system
CN107846344A (en) * 2016-09-18 2018-03-27 阿里巴巴集团控股有限公司 The method, apparatus and electronic equipment of batch PUSH message in immediate communication tool
CN108875354A (en) * 2018-05-31 2018-11-23 上海连尚网络科技有限公司 Permission open method, terminal device and computer-readable medium
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 A kind of display interface customizing method, system and the electronic equipment of wearable device
CN110058894A (en) * 2018-01-18 2019-07-26 伊姆西Ip控股有限责任公司 The method, equipment and computer program product of application are executed in mixed cloud
CN111061233A (en) * 2019-12-10 2020-04-24 北京慧虹远航科技有限公司 Design method and device for industrial control system and storage medium
CN113176915A (en) * 2021-04-29 2021-07-27 上海云扩信息科技有限公司 Java application program automation system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5886695A (en) * 1994-12-13 1999-03-23 Microsoft Corporation System provided child window controls
CN1527222A (en) * 2002-12-19 2004-09-08 富士通株式会社 Task calculation
CN1920779A (en) * 2005-08-25 2007-02-28 中兴通讯股份有限公司 Configuration document based program flow control method
CN101179673A (en) * 2006-11-06 2008-05-14 深圳Tcl新技术有限公司 Method of customizing common function interface of television
CN101261583A (en) * 2008-04-18 2008-09-10 深圳国人通信有限公司 System function rapid calling method
CN101350023A (en) * 2008-08-29 2009-01-21 北京航空航天大学 Method and platform capable of customizing enquiry based on service combination
CN102023856A (en) * 2010-10-21 2011-04-20 杭州万格网络科技有限公司 Method for outputting and operating data at server in formatting way according to demands of user
CN102185917A (en) * 2011-04-29 2011-09-14 深圳市五巨科技有限公司 Method and system for adaptation between server and mobile terminal, and server adaptation device
CN102866895A (en) * 2012-09-27 2013-01-09 广东电子工业研究院有限公司 Method for quickly positioning function customizing entrance
CN103135979A (en) * 2011-12-05 2013-06-05 中国移动通信集团广东有限公司 Method, device and system for generating terminal applications

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5886695A (en) * 1994-12-13 1999-03-23 Microsoft Corporation System provided child window controls
CN1527222A (en) * 2002-12-19 2004-09-08 富士通株式会社 Task calculation
CN1920779A (en) * 2005-08-25 2007-02-28 中兴通讯股份有限公司 Configuration document based program flow control method
CN101179673A (en) * 2006-11-06 2008-05-14 深圳Tcl新技术有限公司 Method of customizing common function interface of television
CN101261583A (en) * 2008-04-18 2008-09-10 深圳国人通信有限公司 System function rapid calling method
CN101350023A (en) * 2008-08-29 2009-01-21 北京航空航天大学 Method and platform capable of customizing enquiry based on service combination
CN102023856A (en) * 2010-10-21 2011-04-20 杭州万格网络科技有限公司 Method for outputting and operating data at server in formatting way according to demands of user
CN102185917A (en) * 2011-04-29 2011-09-14 深圳市五巨科技有限公司 Method and system for adaptation between server and mobile terminal, and server adaptation device
CN103135979A (en) * 2011-12-05 2013-06-05 中国移动通信集团广东有限公司 Method, device and system for generating terminal applications
CN102866895A (en) * 2012-09-27 2013-01-09 广东电子工业研究院有限公司 Method for quickly positioning function customizing entrance

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250987A (en) * 2016-07-22 2016-12-21 无锡华云数据技术服务有限公司 A kind of machine learning method, device and big data platform
CN106250987B (en) * 2016-07-22 2019-03-01 无锡华云数据技术服务有限公司 A kind of machine learning method, device and big data platform
CN107846344A (en) * 2016-09-18 2018-03-27 阿里巴巴集团控股有限公司 The method, apparatus and electronic equipment of batch PUSH message in immediate communication tool
CN106778117A (en) * 2016-09-18 2017-05-31 腾讯科技(深圳)有限公司 Authority open method, apparatus and system
CN106528117A (en) * 2016-11-01 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Method and device for simplifying application
CN110058894A (en) * 2018-01-18 2019-07-26 伊姆西Ip控股有限责任公司 The method, equipment and computer program product of application are executed in mixed cloud
CN110058894B (en) * 2018-01-18 2022-05-24 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for executing applications in a hybrid cloud
CN108875354A (en) * 2018-05-31 2018-11-23 上海连尚网络科技有限公司 Permission open method, terminal device and computer-readable medium
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 A kind of display interface customizing method, system and the electronic equipment of wearable device
CN109032746B (en) * 2018-08-10 2021-08-24 广东小天才科技有限公司 Display interface self-defining method and system of wearable device and electronic device
CN111061233A (en) * 2019-12-10 2020-04-24 北京慧虹远航科技有限公司 Design method and device for industrial control system and storage medium
CN111061233B (en) * 2019-12-10 2021-05-14 北京慧虹远航科技有限公司 Design method and device for industrial control system and storage medium
CN113176915A (en) * 2021-04-29 2021-07-27 上海云扩信息科技有限公司 Java application program automation system
CN113176915B (en) * 2021-04-29 2023-12-15 上海云扩信息科技有限公司 Java application program automation system

Also Published As

Publication number Publication date
HK1218451A1 (en) 2017-02-17
CN105335132B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN105335132A (en) Method, apparatus and system for user-defined application function
CN111158818B (en) Page rendering method and device
CN106874174B (en) Method and device for realizing interface test and function test
CN104731589A (en) Automatic generation method and device of user interface (UI)
CN106997298B (en) Application resource acquisition method and device
CN103399734A (en) Method for generating REST service and achieving REST and corresponding equipment
CN108776592B (en) Page construction method, device, equipment and storage medium
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN104423961A (en) Method and system for generating testing script
CN110895471A (en) Installation package generation method, device, medium and electronic equipment
WO2023130933A1 (en) Model processing method and apparatus, code aquisition method and apparatus, and electronic device
CN104361040A (en) Method and device for customized query
CN114036439A (en) Website building method, device, medium and electronic equipment
CN113326030A (en) Service request processing method and device
CN112131230B (en) Application software as a service (SaaS) realization method, device, equipment and storage medium
Chmielewski et al. Application architectures for smart multi-device applications
CN115878860A (en) Menu generation method, device, server equipment and medium
CN110764864A (en) Terraform-based visual resource arrangement method
WO2023229695A1 (en) Web site preview generation based on web site type
US20220229858A1 (en) Multi-cloud object store access
CN104123140A (en) Method and device for managing application programs of mobile terminal
CN105320499A (en) Adaptive method and related device of application program
CN114816361A (en) Method, device, equipment, medium and program product for generating splicing project
CN104156209A (en) Cross-platform application interface modeling method and device
CN114880020A (en) Software development kit management method, related device and computer program product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1218451

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant