CN105335132B - Method, device and system for customizing application program function - Google Patents
Method, device and system for customizing application program function Download PDFInfo
- Publication number
- CN105335132B CN105335132B CN201410262341.6A CN201410262341A CN105335132B CN 105335132 B CN105335132 B CN 105335132B CN 201410262341 A CN201410262341 A CN 201410262341A CN 105335132 B CN105335132 B CN 105335132B
- Authority
- CN
- China
- Prior art keywords
- user
- defined function
- request
- receiving
- client
- 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.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The application discloses a method for customizing functions of an application program, which comprises the following steps: receiving a request for executing a user-defined function sent by a client; executing an automation script corresponding to the user-defined function based on the request, and acquiring a data resource generated after the execution of the automation script is finished; sending the data resource to the client; the automation script is an executable file containing a command set for realizing the user-defined function. According to the method for self-defining the functions of the application programs, only one script program corresponding to the application functions required by the user needs to be developed, the execution result of the script program is returned to the application program, the script program can be matched with intelligent display terminals of different operating systems and different equipment models, the compatibility is good, the implementation is simple, and resources are saved.
Description
Technical Field
The application relates to the technical field of application program development, in particular to a method for customizing application program functions. The application also relates to a device for self-defining the functions of the application program, an input method for receiving the user-defined functions by the application program, an input device for receiving the user-defined functions by the application program and a system for self-defining the functions of the application program.
Background
At present, along with the continuous development of wireless communication technology, intelligent terminal equipment such as smart mobile phone is more and more popularized, and the cell-phone not only is used as the communication tool who makes a call and send the SMS, has more functions, for example surf the net, installs application to along with user's demand constantly increases, application's kind and quantity also increase by a wide margin, if: communication applications, game applications, audio-video applications, navigation applications, graphic image processing applications, file management applications, and various tool applications, among others. With the increasing demand of users for application programs, application programs including multiple functions are becoming more popular with users, and application programs supporting customization (addition, deletion) of other application programs and functions have emerged according to the needs of users.
In the prior art, when a user self-defines the functions of an application program, the following scheme is adopted: the application program displays a function list consisting of all the user-defined functions of the user based on the user interface; when the application program receives an operation request of a certain user-defined function in the function list input by a user, the current parameters of the intelligent terminal of the mobile phone of the application program form a request packet in combination with the operation request, and the request packet is sent to a server; when the server receives the request packet, analyzing the request packet to obtain the parameters of the intelligent terminal, creating a customized application program corresponding to the intelligent terminal based on the parameters, and sending the customized application program to the application program; and after receiving the customized application program, the application program is installed on the intelligent terminal to realize the expansion self-definition of the application program function.
The method for customizing the functions of the application program provided by the prior art has obvious defects.
The function compatibility of the custom application program provided by the prior art is poor. In the prior art, for devices of different models, devices of different operating systems and devices of different operating system versions, corresponding application program formats or versions are different from each other, and compatibility is poor; in addition, to implement the functions of the above-mentioned customized application, enough customized applications corresponding to various operating systems, versions of various operating systems, and devices of various models must be developed, which consumes much manpower and material resources.
Disclosure of Invention
The application provides a method for customizing functions of an application program, and aims to solve the problem of poor compatibility in the prior art. The application further provides a device for customizing the functions of the application program, an input method for receiving the user-defined functions by the application program, an input device for receiving the user-defined functions by the application program and a system for customizing the functions of the application program.
The application provides a method for customizing functions of an application program, which comprises the following steps:
receiving a request for executing a user-defined function sent by a client;
executing an automation script corresponding to the user-defined function based on the request, and acquiring a data resource generated after the execution of the automation script is finished;
sending the data resource to the client;
the automation script is an executable file containing a command set for realizing the user-defined function.
Optionally, before receiving the request for executing the user-defined function sent by the client, the method includes:
generating the automation script based on a compiler;
sending the automation script to a database;
creating a user self-defining function table in the database based on the user self-defining function corresponding to the automation script;
and sending the user self-defined function table to the client.
Optionally, the executing the automation script corresponding to the user-defined function based on the request includes:
analyzing the request sent by the client to acquire a user-defined function corresponding to the request;
inquiring an automation script corresponding to the user-defined function from the database based on the request of the user-defined function;
the automation script is executed.
Optionally, the sending the data resource to the client includes:
directly sending the data resource to the client; or
Sending a request to the client whether to receive the data resource;
and if a request for acquiring the data resource sent by the client is received, sending the data resource to the client.
Optionally, the sending the user-defined function table to the client includes:
sending the information of all fields in the user-defined function table to the client; or
Detecting the user-defined function table;
and if the information of one or more fields in the user self-defined function table is detected to be changed, the information is sent to the client.
Optionally, the generation of the automation script based on the compiler is realized through a preset automation platform;
wherein the automation platform is further configured to:
and packaging the API corresponding to the application program of the client into an automation function.
Optionally, the step of creating a user-defined function table in the database based on the user-defined function corresponding to the automation script and sending the user-defined function table to the client is implemented by a database server.
The present application additionally provides a device for customizing application functions, comprising:
the user request receiving unit is used for receiving a request for executing a user-defined function sent by a client;
the execution unit is used for executing the automation script corresponding to the user-defined function based on the request and acquiring the data resource generated after the execution of the automation script is finished;
a data resource sending unit, configured to send the data resource to the client;
the automation script is an executable file containing a command set for realizing the user-defined function.
Optionally, the apparatus for customizing the application function includes:
an automation script generation unit for generating the automation script based on a compiler;
the automatic script sending unit is used for sending the automatic script to a database;
the user self-defined function table creating unit is used for creating a user self-defined function table in the database based on the user self-defined function corresponding to the automation script;
and the user self-defined function table sending unit is used for sending the user self-defined function table to the client.
Optionally, the execution unit includes:
the analysis subunit is used for analyzing the request sent by the client to acquire a user-defined function corresponding to the request;
the query subunit is used for querying the automatic script corresponding to the user-defined function from the database based on the request of the user-defined function;
and the execution subunit is used for executing the automation script.
The application also provides an input method for receiving the user-defined function, which comprises the following steps:
receiving user input of selecting a user-defined function from the user-defined function table by a user based on an intelligent terminal;
generating a request for executing the user-defined function according to the user-defined function selected by the user;
sending a request for executing the user-defined function to a server;
and receiving the data resource sent by the server.
Optionally, the input method for receiving the user-defined function includes:
receiving a user self-defined function table sent by the database server;
and displaying the user-defined function table based on the screen of the intelligent terminal.
Optionally, the receiving the user-defined function table sent by the database server includes:
receiving information of all fields in the user-defined function table; or
And receiving information of one or more fields in the user self-defined function table, and updating the user self-defined function table based on the information.
Optionally, the receiving the data resource sent by the server includes:
receiving data resources sent by the server; or
Receiving a request sent by the server whether to receive data resources;
if the request for receiving the data resource is sent to the server based on the request;
receiving the data resource sent by the server.
Optionally, the intelligent terminal includes:
a mobile phone, a tablet computer, a smart television and/or a wearable device.
The present application also provides an input device for receiving a user-defined function, comprising:
the input receiving unit is used for receiving user input of selecting a user-defined function from the user-defined function table by a user based on the intelligent terminal;
the request generating unit is used for generating a request for executing the user-defined function according to the user-defined function selected by the user;
a request sending unit, configured to send a request for executing the user-defined function to a server;
and the data resource receiving unit is used for receiving the data resource sent by the server.
Optionally, the input device for receiving a user-defined function includes:
the user self-defined function table receiving unit is used for receiving the user self-defined function table sent by the database server;
and the user self-defined function table display unit is used for displaying the user self-defined function table based on the screen of the intelligent terminal.
The present application further provides a system for customizing application functions, comprising:
a server comprising means for customizing application functionality as described above;
a client comprising an input device as described above for receiving user-defined functions.
Compared with the prior art, the method has the following advantages:
the method for customizing the functions of the application programs has good compatibility and saves resources.
The method for customizing the functions of the application program comprises the following steps: receiving a request for executing a user-defined function sent by a client; executing an automation script corresponding to the user-defined function based on the request, and acquiring a data resource generated after the execution of the automation script is finished; sending the data resource to the client; the automation script is an executable file containing a command set for realizing the user-defined function.
According to the method for self-defining the functions of the application programs, only one script program corresponding to the application functions required by the user needs to be developed, the execution result of the script program is returned to the application program, the script program can be matched with intelligent display terminals of different operating systems and different equipment models, the compatibility is good, the implementation is simple, and resources are saved.
Drawings
FIG. 1 is a flowchart of a method for customizing application functions according to a first embodiment of the present application;
FIG. 2 is a diagram illustrating an apparatus for customizing application functions according to a second embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for receiving an input of a user-defined function by an application according to a third embodiment of the present application;
FIG. 4 is a schematic diagram of an input device for receiving a user-defined function by an application according to a fourth embodiment of the present application;
fig. 5 is a system diagram of a customized application function according to a fifth embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The application provides a method for customizing functions of an application program. The application also relates to a device for self-defining the functions of the application program, an input method for receiving the user-defined functions by the application program, an input device for receiving the user-defined functions by the application program and a system for self-defining the functions of the application program.
The present application will be described in detail with reference to the drawings and examples.
The embodiment of the method for customizing the functions of the application program is as follows:
referring to fig. 1, a flowchart of a method for customizing application functions according to this embodiment is shown.
The method for customizing the functions of the application program comprises the following steps:
s101; and receiving a request for executing the user-defined function sent by the client.
In the prior art, a software developer generates an application program through programming and publishing, and once the application program publishes and generates an executable file, the function realized by the application program is determined and cannot be changed.
In this embodiment, to solve the problems in the prior art, an object-C language is used to develop an IOS application program that has no function only in a framework, and the IOS application program is a client; and some functions with user requirements are provided in the client, and a user can freely select a certain function to realize specific operation, and the functions are called user-defined functions. Furthermore, Android applications may be developed based on Java language, and Windows Phone applications may be developed based on C # language, which is not limited herein.
Before receiving a request for executing a user-defined function sent by a client, the method further comprises the following four steps:
1) generating the automation script based on a compiler;
the script is a combination of a certain series of operations for controlling the computer to perform an arithmetic operation, and a certain logical branch or the like can be realized therein.
In this embodiment, a series of execution processes and operation actions of the user-defined function are compiled on a preset automation platform through a compiler to generate an automation script, that is: the automation script is a set of instructions and operations that enable the user-defined functionality.
The automation platform of this embodiment is further configured to encapsulate an API corresponding to the application program of the client as an automation function.
It should be noted that the automation script may also be implemented based on other automation platforms, or other programs may be used instead of the automation script, which is not limited herein.
In addition, the automation script can also automatically execute and complete a series of instruction and operation sets, and can automatically execute a series of complex processes;
for example:
generally, a user views hot-sold goods in a shopping website or goods with higher user evaluation; firstly, a browser needs to be opened, then a shopping website is accessed, and then searching is carried out through searching, clicking and other modes, so that information of hot commodities or commodities with high user evaluation is obtained;
in this embodiment, the automation script includes the instruction set for opening the browser, entering a shopping website, and searching all steps through searching, clicking and the like; the user only needs to execute the automatic script and does not need to perform a series of operations when the user wants to check hot commodities in the shopping website or commodities with high user evaluation. Similarly, many functions can be realized by an automated script, which is not described herein again.
2) Sending the automation script to a database;
in this embodiment, the database is MySQL. The purpose of sending the automation script to the database in this step is to maintain the target function and the automation script and determine the corresponding relationship between them.
3) Creating a user self-defining function table in the database based on the user self-defining function corresponding to the automation script;
and establishing a user self-defined function table in the database by taking the user self-defined function as a main key based on the user self-defined function, the automatic script corresponding to the user self-defined function and the corresponding relation between the user self-defined function and the automatic script.
In addition, according to the step 1) and the step 2), if the database receives a new user-defined function, updating the user-defined function table based on the user-defined function; similarly, if the automation script corresponding to a certain user-defined function changes, the corresponding field in the user-defined function table is updated.
4) And sending the user self-defined function table to the client.
The purpose of this step is to provide the user with the available functions, namely: and the user can use all the user-defined functions in the user-defined function table through the client.
In this embodiment, the database further includes a background service program corresponding to the database, and the background service program is used for detecting the user-defined function table; and if the information of one or more fields in the user self-defined function table is detected to be changed, the information is sent to the client.
In the following steps, a data processing process in the execution of the automation script and a data processing process after the execution of the automation script is completed are introduced.
S102; and executing the automation script corresponding to the user-defined function based on the request, and acquiring the data resource generated after the execution of the automation script is finished.
The executing of the automation script corresponding to the user-defined function based on the request comprises the following three steps:
1) analyzing the request sent by the client to acquire a user-defined function corresponding to the request;
according to the step S101, after the user-defined function table is sent to the client, the user may select a user-defined function in the user-defined function table based on the client, after the user selects a certain user-defined function, the client generates a request corresponding to the user-defined function and feeds the request back to the server, and after the server receives the request, the server parses the request and obtains the user-defined function corresponding to the request.
It should be noted that, in this embodiment, the server refers to software for implementing the method for customizing the application program function in this embodiment; in addition, the server is written by using an AutoIT language, runs on a PC side, and can be implemented by using other programming languages, which is not limited herein.
2) Inquiring an automation script corresponding to the user-defined function from the database based on the request of the user-defined function;
according to the step 1), after the user self-defined function is obtained, the automatic script corresponding to the user self-defined function is inquired from the database, and preparation is made for executing the automatic script in the next step.
3) The automation script is executed.
In this embodiment, a sentence in the automation script is translated into a machine-recognizable instruction based on an interpreter, and the machine-recognizable instruction is executed in the order of the instruction, and an execution result of the automation script is generated.
For example:
in the example of step 1) of step S101, the user checks the automation scenario of the hot commodity or the commodity with relatively high user rating in the shopping website, and the execution result of the automation scenario is the data resource of the hot commodity or the commodity with relatively high user rating in the shopping website acquired from the internet. In addition, the execution result also includes data calculation and processing results and the like.
S103; and sending the data resource to the client.
In this embodiment, after the execution of the automation script completes generation of the data resource, a request for whether to receive the data resource is sent to the client; and if a request for acquiring the data resource sent by the client is received, sending the data resource to the client.
In addition, the sending of the data resource to the client may further include other implementation mechanisms, for example, after the server obtains the automation script and completes the execution of the automation script to generate the data resource, the server directly sends the data resource to the client without sending a request whether to receive the data resource.
In the foregoing embodiment, a method for customizing an application function is provided, and correspondingly, the application further provides a device for customizing an application function.
The device embodiment of the self-defining application program function is as follows:
referring to fig. 2, a schematic diagram of an apparatus for customizing application functions according to the present embodiment is shown. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant portions only need to refer to the corresponding description of the method embodiment. The device embodiments described below are merely illustrative.
The application discloses a device of self-defined application function, include:
a user request receiving unit 201, configured to receive a request for executing a user-defined function sent by a client;
the execution unit 202 is configured to execute the automation script corresponding to the user-defined function based on the request, and acquire a data resource generated after the execution of the automation script is completed;
a data resource sending unit 203, configured to send the data resource to the client;
the automation script is an executable file containing a command set for realizing the user-defined function.
Optionally, the apparatus for customizing the application function includes:
an automation script generation unit 204 for generating the automation script based on a compiler;
an automation script sending unit 205, configured to send the automation script to a database;
a user-defined function table creating unit 206, configured to create a user-defined function table in the database based on a user-defined function corresponding to the automation script;
a user-defined function table sending unit 207, configured to send the user-defined function table to the client.
Optionally, the executing unit 202 includes:
the analysis subunit 202-1 is configured to analyze the request sent by the client, and obtain a user-defined function corresponding to the request;
a query subunit 202-2, configured to query, based on the request for the user-defined function, an automation script corresponding to the user-defined function from the database;
an execution subunit 202-3 for executing the automation script.
In the embodiment, the application program receiving method comprises the steps of receiving an input command of the user-defined function, and receiving an input command of the user-defined function by the application program.
The embodiment of the input method for receiving the user-defined function by the application program is as follows:
referring to fig. 3, it shows a processing flow chart of an input method for receiving a user-defined function by an application program according to this embodiment.
The method for receiving the input of the user-defined function by the application program corresponding to this embodiment is matched with the method for defining the function of the application program, and please refer to the embodiment of the method for receiving the input of the user-defined function by the application program in this embodiment.
The method for receiving the input of the user-defined function by the application program in the embodiment comprises the following steps:
s301; and receiving user input of selecting the user-defined function from the user-defined function table by the user based on the intelligent terminal.
The intelligent terminal comprises but is not limited to a mobile phone, a tablet computer, an intelligent television and wearable equipment; an application program (namely: a client) runs on the intelligent terminal; the client develops an IOS application program only with a frame without functions by adopting Objective-C language; and, the client also provides user-defined functions. In addition, Android applications may be developed based on Java language, Windows Phone applications may be developed based on C # language, or applications of other platforms may be developed based on other languages, which are not listed in this embodiment.
In this embodiment, before the receiving, by the intelligent terminal, the user input of the user selecting the user-defined function from the user-defined function table, the method further includes the following steps:
1) receiving a user self-defined function table sent by the database server;
matching with the user-defined function table sent to the client in the step S101 in 4); in this step, the client receives information of one or more fields in the user-defined function table, and updates the user-defined function table based on the information.
2) Displaying the user-defined function table based on a screen of the intelligent terminal;
and according to the step 1), after receiving and updating the user self-defined function table, the client displays the user self-defined function table based on the screen of the intelligent terminal.
S302; and generating a request for executing the user-defined function according to the user-defined function selected by the user.
The purpose of this step is to ensure the corresponding relationship between the different user-defined functions and the automation script in the user-defined function table. If the requests generated by all the user-defined functions are the same, the server cannot determine the executed automation script according to the requests after receiving the requests.
According to the steps, after the user self-defining function table is displayed on the screen of the intelligent terminal, the user selects a user self-defining function from the user self-defining function table based on the screen of the intelligent terminal;
after receiving an operation of selecting a user self-defining function by a user, the intelligent terminal generates a request with a unique corresponding relation with the user self-defining function based on the user self-defining function;
the request comprises characteristic information that the user-defined function can be different from other user-defined functions, and the server can analyze the user-defined function corresponding to the request according to the request after receiving the request.
S303; and sending the request for executing the user-defined function to a server.
After the intelligent terminal generates the user self-defining function request, the user self-defining function request is sent to a server based on a communication link; furthermore, the communication link is implemented by conventional means, such as: and a communication link realized based on WIFI and Bluetooth, and the like.
S304; and receiving the data resource sent by the server.
This step corresponds to step S103 in the above method embodiment of self-defining application program functions, where the client receives a request sent by the server to determine whether to receive a data resource, sends a request to the server to receive the data resource based on the request, and receives the data resource sent by the server.
In addition, the receiving of the data resource sent by the server also includes other implementation mechanisms, such as directly receiving the data resource sent by the server, which is not limited in this embodiment.
In the above embodiment, an input method for receiving a user-defined function by an application program is provided, and correspondingly, the application also provides an input device for receiving a user-defined function by an application program.
The embodiment of the input device for receiving the user-defined function by the application program is as follows:
referring to fig. 4, a schematic diagram of an input device for receiving a user-defined function by an application according to this embodiment is shown.
Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant portions only need to refer to the corresponding description of the method embodiment. The device embodiments described below are merely illustrative.
An input device for receiving user-defined functions by an application program, comprising:
a user input receiving unit 401, configured to receive a user input that a user selects a user-defined function from the user-defined function table based on the smart terminal;
a request generating unit 402, configured to generate a request for executing a user-defined function according to the user-defined function selected by a user;
a request sending unit 403, configured to send a request for executing the user-defined function to a server;
a data resource receiving unit 404, configured to receive the data resource sent by the server.
Optionally, the input device for receiving the user-defined function by the application program includes:
a user-defined function table receiving unit 405, configured to receive a user-defined function table sent by the database server;
and a user-defined function table display unit 406, configured to display the user-defined function table based on the screen of the intelligent terminal.
The system embodiment of the self-defining application program function is as follows:
referring to fig. 5, a system diagram of a custom application function according to the present embodiment is shown.
In view of the above embodiments of the apparatus for providing the customized application function and the input apparatus for receiving the user-defined function, reference may be made to the corresponding descriptions of the above embodiments of the apparatus. The system embodiments described below are merely illustrative.
The application describes a system for customizing application program functions, comprising:
a server 501 including means for customizing application functionality as described above;
In this embodiment, the server 501 refers to a system or an apparatus for implementing the method for customizing the application function, and includes: means for customizing application functionality as described above; the description of the apparatus for customizing the application function may refer to the above embodiment of the apparatus for customizing the application function.
The client 502 refers to a system or apparatus for implementing an input method for receiving a user-defined function by an application, and includes: the application program receives an input device with user-defined functions; for the description of the input device for receiving the user-defined function by the application program, reference may be made to the above embodiment of the input device for receiving the user-defined function.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Claims (15)
1. A method for customizing application functionality, comprising:
receiving a request for executing a user-defined function sent by a client, wherein the user-defined function is selected based on a user-defined function table, and the client is an application program only with a frame without functions;
executing an automation script corresponding to the user-defined function based on the request, and acquiring a data resource generated after the execution of the automation script is finished;
sending the data resource to the client;
the automation script is an executable file containing a command set for realizing the user-defined function;
the automatic script is generated based on an editor and is sent to a database; the user-defined function table is created in the database based on the user-defined function corresponding to the automation script; and the client receives the user-defined function table.
2. The method of claim 1, wherein executing the automation script corresponding to the user-defined function based on the request comprises:
analyzing the request sent by the client to acquire a user-defined function corresponding to the request;
inquiring an automation script corresponding to the user-defined function from the database based on the request of the user-defined function;
the automation script is executed.
3. The method of claim 1, wherein sending the data resource to a client comprises:
directly sending the data resource to the client; or
Sending a request to the client whether to receive the data resource;
and if a request for acquiring the data resource sent by the client is received, sending the data resource to the client.
4. The method of claim 1, wherein the receiving the custom function table by the client comprises:
sending the information of all fields in the user-defined function table to the client; or
Detecting the user-defined function table;
and if the information of one or more fields in the user self-defined function table is detected to be changed, the information is sent to the client.
5. The method of claim 1, wherein the generation of the automation script based on a compiler is implemented by a preset automation platform;
wherein the automation platform is further configured to:
and packaging the API corresponding to the application program of the client into an automation function.
6. The method of claim 1, wherein the steps of creating a user-defined function table in the database based on the user-defined function corresponding to the automation script and sending the user-defined function table to the client are performed by a database server.
7. An apparatus for customizing application functionality, comprising:
the system comprises a user request receiving unit, a user interface unit and a user interface unit, wherein the user request receiving unit is used for receiving a request for executing a user-defined function sent by a client, the user-defined function is selected based on a user-defined function table, and the client is an application program only with a frame without functions;
the execution unit is used for executing the automation script corresponding to the user-defined function based on the request and acquiring the data resource generated after the execution of the automation script is finished;
a data resource sending unit, configured to send the data resource to the client;
the automation script is an executable file containing a command set for realizing the user-defined function;
the automatic script is generated based on an editor and is sent to a database; the user-defined function table is created in the database based on the user-defined function corresponding to the automation script; and the client receives the user-defined function table.
8. The apparatus of claim 7, wherein the execution unit comprises:
the analysis subunit is used for analyzing the request sent by the client to acquire a user-defined function corresponding to the request;
the query subunit is used for querying the automatic script corresponding to the user-defined function from the database based on the request of the user-defined function;
and the execution subunit is used for executing the automation script.
9. A method for receiving user-defined functionality input for a client, the client being an application having no functionality but a framework, the method comprising: receiving user input of selecting a user-defined function from a user-defined function table by a user based on the intelligent terminal;
generating a request for executing the user-defined function according to the user-defined function selected by the user;
sending a request for executing the user-defined function to a server;
and receiving the data resource sent by the server.
10. The method for receiving user-defined input of claim 9, comprising:
receiving a user self-defined function table sent by a database server;
and displaying the user-defined function table based on the screen of the intelligent terminal.
11. The method of claim 10, wherein receiving the user-defined function table sent by the database server comprises:
receiving information of all fields in the user-defined function table; or
And receiving information of one or more fields in the user self-defined function table, and updating the user self-defined function table based on the information.
12. The method of claim 9, wherein receiving the data resource transmitted from the server comprises:
receiving data resources sent by the server; or
Receiving a request sent by the server whether to receive data resources;
if the request for receiving the data resource is sent to the server based on the request;
receiving the data resource sent by the server.
13. The method for receiving an input of a user defined function according to claim 9 or 12, wherein the smart terminal comprises:
a mobile phone, a tablet computer, a smart television and/or a wearable device.
14. An input device for receiving user-defined functions, for a client which is an application having only a framework without functions, the device comprising:
the input receiving unit is used for receiving user input of selecting a user-defined function from a user-defined function table by a user based on the intelligent terminal;
the request generating unit is used for generating a request for executing the user-defined function according to the user-defined function selected by the user;
a request sending unit, configured to send a request for executing the user-defined function to a server;
and the data resource receiving unit is used for receiving the data resource sent by the server.
15. The input device for receiving user-defined functions of claim 14, comprising:
the user self-defined function table receiving unit is used for receiving a user self-defined function table sent by the database server;
and the user self-defined function table display unit is used for displaying the user self-defined function table based on the screen of the intelligent terminal.
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 CN105335132A (en) | 2016-02-17 |
CN105335132B true 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) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250987B (en) * | 2016-07-22 | 2019-03-01 | 无锡华云数据技术服务有限公司 | A kind of machine learning method, device and big data platform |
CN107846344B (en) * | 2016-09-18 | 2021-03-02 | 阿里巴巴集团控股有限公司 | Method and device for pushing messages in batch in instant messaging tool and electronic equipment |
CN106778117B (en) * | 2016-09-18 | 2019-04-30 | 腾讯科技(深圳)有限公司 | Permission open method, apparatus and system |
CN106528117A (en) * | 2016-11-01 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for simplifying application |
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 |
CN109032746B (en) * | 2018-08-10 | 2021-08-24 | 广东小天才科技有限公司 | Display interface self-defining method and system of wearable device and electronic device |
CN111061233B (en) * | 2019-12-10 | 2021-05-14 | 北京慧虹远航科技有限公司 | Design method and device for industrial control system and storage medium |
CN113176915B (en) * | 2021-04-29 | 2023-12-15 | 上海云扩信息科技有限公司 | Java application program automation system |
CN117376692A (en) * | 2023-04-24 | 2024-01-09 | 深圳云视智景科技有限公司 | Function self-defining method and device, storage medium and electronic equipment |
Citations (8)
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 |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
-
2014
- 2014-06-13 CN CN201410262341.6A patent/CN105335132B/en active Active
-
2016
- 2016-06-07 HK HK16106485.1A patent/HK1218451A1/en unknown
Patent Citations (8)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
HK1218451A1 (en) | 2017-02-17 |
CN105335132A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105335132B (en) | Method, device and system for customizing application program function | |
US10558474B2 (en) | Media information processing method, mobile terminal, and storage medium | |
US20190243518A1 (en) | Application interface management method and apparatus | |
CN106874174B (en) | Method and device for realizing interface test and function test | |
US11016716B2 (en) | Picture interface display method and apparatus according to jump protocol | |
CN109145238B (en) | Card display method and device and mobile device | |
US11586772B2 (en) | Method and device for displaying information | |
US20130036196A1 (en) | Method and system for publishing template-based content | |
WO2023040443A1 (en) | Method and device for drawing canvas | |
CN110554874A (en) | Method and device for reusing webpage components of SaaS platform | |
CN109582317B (en) | Method and apparatus for debugging hosted applications | |
CN110780874B (en) | Method and device for generating information | |
CN114385164A (en) | Page generation and rendering method and device, electronic equipment and storage medium | |
CN110489106A (en) | A kind of generation method, device, medium and the electronic equipment of project initial code | |
JP2022089865A (en) | Information display method and apparatus | |
CN109558186B (en) | Page display method and device | |
Helal et al. | Mobile platforms and development environments | |
CN112148395A (en) | Page display method, device, equipment and storage medium | |
CN112114804B (en) | Application program generation method, device and system | |
CN110618811B (en) | Information presentation method and device | |
CN110333859B (en) | Page creation method, page creation device, electronic device and computer readable storage medium | |
CN111142990A (en) | WeChat applet page display method and device and storage medium | |
CN113220293B (en) | Page display method, page display device, electronic equipment and computer readable medium | |
US8615744B2 (en) | Methods and system for managing assets in programming code translation | |
CN113282285A (en) | Code compiling method and device, electronic equipment and storage medium |
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 |