CN105094830B - A kind of method and apparatus of performance objective function - Google Patents
A kind of method and apparatus of performance objective function Download PDFInfo
- Publication number
- CN105094830B CN105094830B CN201510463204.3A CN201510463204A CN105094830B CN 105094830 B CN105094830 B CN 105094830B CN 201510463204 A CN201510463204 A CN 201510463204A CN 105094830 B CN105094830 B CN 105094830B
- Authority
- CN
- China
- Prior art keywords
- function
- data
- objective function
- terminal
- program
- 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
Landscapes
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The disclosure is directed to a kind of method and apparatus of performance objective function, belong to field of computer technology.The described method includes: the execution request of data for the correspondence objective function that terminal is sent is received, it is described to execute the system banner that the Function Identification of the objective function and the system program of the terminal are carried in request of data;Three's corresponding relationship of the execution data of each function and system banner, Function Identification in Software Development Kit SDK according to the pre-stored data, and the system banner of the system program of the Function Identification and terminal of the objective function, determine the execution data for being suitable for the objective function of system program of the terminal;The execution data determined are sent to the terminal.Using the disclosure, the storage resource of terminal can be saved.
Description
Technical field
The disclosure is directed to field of computer technology, especially with respect to a kind of method and apparatus of performance objective function.
Background technique
With the development of mobile terminal technology, the function of mobile terminal is stronger and stronger, can run a variety of application programs.
Then technical staff can be issued with development and application program, application program can then be downloaded and installed into mobile whole by user
On end.
In order to facilitate the exploitation of other application program, the developer of certain application program issues in the download platform of oneself
Include in SDK (Software Development Kit, Software Development Kit), SDK developer provide this using journey
The plurality of kinds of contents such as interface, algorithm or the function of the function in sequence.The technical staff of other application program can download the data of SDK
Then packet stores the data packet of SDK into the application program of oneself, so that the application program can be a certain based on SDK execution
Function.For example, including the interface of payment function in certain payment application in SDK, then technical staff arrives the data packet storage of SDK
In the application program of oneself, user can call the payment application to pay the bill in the application program.
Summary of the invention
In order to overcome the problems, such as present in the relevant technologies, present disclose provides the methods and dress of a kind of performance objective function
It sets.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of method of performance objective function is provided, which comprises
The execution request of data for the correspondence objective function that terminal is sent is received, is carried in the execution request of data described
The system banner of the Function Identification of objective function and the system program of the terminal;
The execution data of each function and system banner, Function Identification in Software Development Kit SDK according to the pre-stored data
Three's corresponding relationship and the objective function the Function Identification and terminal system program system banner, determine
The execution data of the objective function of system program suitable for the terminal;
The execution data determined are sent to the terminal.
Optionally, the execution data of each function and system banner in the SDK according to the pre-stored data, Function Identification three
The system banner of the system program of the Function Identification and the terminal of person's corresponding relationship and the objective function is determined and is applicable in
In the execution data of the objective function of the system program of the terminal, comprising:
The source code of each function and the corresponding relationship of Function Identification and the target in SDK according to the pre-stored data
The Function Identification of function determines the source code of the objective function;
The corresponding relationship of system banner and program language according to the pre-stored data, determine the system program of the terminal is
System identifies corresponding object program language;
The source code of the objective function is compiled into the code of the object program language, obtains being suitable for the end
The execution data of the objective function of the system program at end.
It, can be after receiving and executing request of data in the optional implementation, then the source code to objective function
It is compiled in real time, so as to save the storage resource of server.
Optionally, the method also includes:
The corresponding relationship of system banner and program language according to the pre-stored data, obtains the system banner pair of each system program
Each program language answered;
The corresponding relationship of the code of source code according to the pre-stored data and each program language, by each of the SDK
The source code of function is compiled into the code of each program language respectively, respectively obtains the institute suitable for each system program
State the execution data of each function;
According to the execution data of each function suitable for each system program, the journey of each system program
The Function Identification of sequence mark and each function, establish the executions data of each function and system banner, Function Identification three
Person's corresponding relationship.
In the optional implementation, the execution data of each function can be compiled out in advance, asked when receiving execution data
After asking, the execution data of objective function can be directly acquired according to above-mentioned three's corresponding relationship, be executed so as to improve to obtain
The efficiency of data.
Optionally, the execution data that will be determined are sent to the terminal, comprising:
Compression processing is carried out to the execution data determined, the data after the compression processing are sent to the terminal.
In the optional implementation, user need to only download the data after compression processing, so as to reduce user's downloading
Data volume, and shorten data transmission period.
According to the second aspect of an embodiment of the present disclosure, a kind of method of performance objective function is provided, which comprises
Receive executing instruction for objective function;
The execution request of data of the corresponding objective function is sent to server, is carried in the execution request of data
The Function Identification of objective function and the system banner of local system program are stated, so that the server is according to the pre-stored data soft
The three's corresponding relationship and the mesh of the execution data of each function and system banner, Function Identification in part development kit SDK
The system banner of the Function Identification of function and the system program of the terminal is marked, determines the mesh for being suitable for the system program
Mark the execution data of function;
The execution data for the objective function suitable for the system program that the server is sent are received, and are based on
The execution data of the objective function execute the objective function.
Optionally, the execution for receiving the objective function suitable for the system program that the server is sent
Data, and the objective function is executed based on the execution data, comprising:
Data after receiving the compression processing that the server is sent, unzip it the data after the compression processing
Processing obtains the execution data of the objective function suitable for the system program, and the execution based on the objective function
Data execute the objective function.
In the optional implementation, user need to only download the data after compression processing, so as to reduce user's downloading
Data volume, and shorten data transmission period.
According to the third aspect of an embodiment of the present disclosure, a kind of device of performance objective function is provided, described device includes:
Receiving module, the execution request of data of the correspondence objective function for receiving terminal transmission, the execution data are asked
The system banner of the Function Identification of the objective function and the system program of the terminal is carried in asking;
Determining module, execution data and system for each function in Software Development Kit SDK according to the pre-stored data
The Function Identification of the objective function that mark, three's corresponding relationship of Function Identification and the receiving module receive and
The system banner of the system program of the terminal determines the execution for being suitable for the objective function of system program of the terminal
Data;
Sending module, the execution data for determining the determining module are sent to the terminal.
Optionally, the determining module, comprising:
First determines submodule, for the source code of each function in SDK according to the pre-stored data and pair of Function Identification
It should be related to and the Function Identification of the objective function, determine the source code of the objective function;
Second determines that submodule determines institute for the corresponding relationship of system banner according to the pre-stored data and program language
State the corresponding object program language of system banner of the system program of terminal;
Submodule is compiled, the source code of the objective function for determining the described first determining submodule compiles
At the code for the object program language that the described second determining submodule is determined, the system journey suitable for the terminal is obtained
The execution data of the objective function of sequence.
It, can be after receiving and executing request of data in the optional implementation, then the source code to objective function
It is compiled in real time, so as to save the storage resource of server.
Optionally, described device further include:
It obtains module and obtains each system journey for the corresponding relationship of system banner according to the pre-stored data and program language
The corresponding each program language of the system banner of sequence;
Collector, for the corresponding relationship of source code according to the pre-stored data and the code of each program language,
The source code of each function of the SDK is compiled into the generation for each program language that the acquisition module is got respectively
Code, respectively obtains the execution data of each function suitable for each system program;
Establish module, for according to the collector compile out described in be suitable for the described each of each system program
The Function Identification of the execution data of function, the program identification of each system program and each function, establishes each function
Execution data and system banner, Function Identification three's corresponding relationship.
In the optional implementation, the execution data of each function can be compiled out in advance, asked when receiving execution data
After asking, the execution data of objective function can be directly acquired according to above-mentioned three's corresponding relationship, be executed so as to improve to obtain
The efficiency of data.
Optionally, the sending module, is used for:
Compression processing is carried out to the execution data determined, the data after the compression processing are sent to the terminal.
In the optional implementation, user need to only download the data after compression processing, so as to reduce user's downloading
Data volume, and shorten data transmission period.
According to a fourth aspect of embodiments of the present disclosure, a kind of terminal is provided, the terminal includes:
Receiving module, for receiving executing instruction for objective function;
Sending module, for sending the execution request of data of the corresponding objective function, the execution data to server
The Function Identification of the objective function and the system banner of local system program are carried in request, so that the server root
Execution data according to each function in pre-stored Software Development Kit SDK are corresponding with the three of system banner, Function Identification
The system banner of the system program of the Function Identification and the terminal of relationship and the objective function determines described in being suitable for
The execution data of the objective function of system program;
Execution module, for receiving holding for the objective function suitable for the system program that the server is sent
Row data, and the execution data based on the objective function execute the objective function.
Optionally, the execution module, is used for:
Data after receiving the compression processing that the server is sent, unzip it the data after the compression processing
Processing obtains the execution data of the objective function suitable for the system program, and the execution based on the objective function
Data execute the objective function.
In the optional implementation, user need to only download the data after compression processing, so as to reduce user's downloading
Data volume, and shorten data transmission period.
According to a fifth aspect of the embodiments of the present disclosure, a kind of device of performance objective function is provided, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The execution request of data for the correspondence objective function that terminal is sent is received, is carried in the execution request of data described
The system banner of the Function Identification of objective function and the system program of the terminal;
The execution data of each function and system banner, Function Identification in Software Development Kit SDK according to the pre-stored data
Three's corresponding relationship and the objective function the Function Identification and terminal system program system banner, determine
The execution data of the objective function of system program suitable for the terminal;
The execution data determined are sent to the terminal.
According to a sixth aspect of an embodiment of the present disclosure, a kind of device of performance objective function is provided, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive executing instruction for objective function;
The execution request of data of the corresponding objective function is sent to server, is carried in the execution request of data
The Function Identification of objective function and the system banner of local system program are stated, so that the server is according to the pre-stored data soft
The three's corresponding relationship and the mesh of the execution data of each function and system banner, Function Identification in part development kit SDK
The system banner of the Function Identification of function and the system program of the terminal is marked, determines the mesh for being suitable for the system program
Mark the execution data of function;
The execution data for the objective function suitable for the system program that the server is sent are received, and are based on
The execution data of the objective function execute the objective function.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of system of performance objective function is provided, the system comprises clothes
Business device and terminal, in which:
The server, for receiving the execution request of data for the correspondence objective function that the terminal is sent, the execution
The system banner that the Function Identification of the objective function and the system program of the terminal are carried in request of data, according to preparatory
Three's corresponding relationship of the execution data of each function and system banner, Function Identification in the Software Development Kit SDK of storage, with
And the system banner of the system program of the Function Identification and terminal of the objective function, it is determining to be suitable for the terminal
The execution data determined are sent to the terminal by the execution data of the objective function of system program;
The terminal, for receiving executing instruction for objective function, Xiang Suoshu server sends the corresponding objective function
Execution request of data, receive the execution number for the objective function suitable for the system program that the server is sent
According to, and the execution data based on the objective function execute the objective function.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, the execution request of data for the correspondence objective function that terminal is sent is received, executes request of data
In carry the system banner of the Function Identification of objective function and the system program of terminal, software development work according to the pre-stored data
The execution data and system banner, three's corresponding relationship of Function Identification and the function of objective function of each function in tool packet SDK
The system banner of the system program of mark and terminal determines the execution data for being suitable for the objective function of system program of terminal,
The execution data determined are sent to terminal, in this way, terminal is not necessarily to store entire SDK data packet, so as to save terminal
Storage resource.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for performance objective function shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the method for performance objective function shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the method for performance objective function shown according to an exemplary embodiment;
Fig. 4 is a kind of application scenarios schematic diagram shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of the device of performance objective function shown according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of the device of performance objective function shown according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of the device of performance objective function shown according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of the device of performance objective function shown according to an exemplary embodiment;
Fig. 9 is a kind of structural schematic diagram of server shown according to an exemplary embodiment;
Figure 10 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
An exemplary embodiment of the present disclosure provides a kind of method of performance objective function, this method can be by terminal kimonos
Business device is realized jointly.
As shown in Figure 1, the process flow of server may include following step in this method:
In a step 101, the execution request of data for the correspondence objective function that terminal is sent is received, executes and is taken in request of data
The system banner of the system program of Function Identification and terminal with objective function.
In a step 102, the execution data of each function and system mark in Software Development Kit SDK according to the pre-stored data
The system banner of the system program of the Function Identification and terminal of knowledge, three's corresponding relationship of Function Identification and objective function, really
Surely the execution data suitable for the objective function of the system program of terminal.
In step 103, the execution data determined are sent to terminal.
As shown in Fig. 2, the process flow of terminal may include following step in this method:
In step 201, executing instruction for objective function is received.
In step 202, the execution request of data that corresponding objective function is sent to server, executes and carries in request of data
There are the Function Identification of objective function and the system banner of local system program, so that server software according to the pre-stored data is opened
Send out the execution data of each function and system banner, three's corresponding relationship of Function Identification and objective function in kit SDK
The system banner of Function Identification and the system program of terminal determines the execution data for being suitable for the objective function of system program.
In step 203, the execution data for the objective function suitable for system program that server is sent are received, and are based on
The execution data performance objective function of objective function.
In the embodiment of the present disclosure, the execution request of data for the correspondence objective function that terminal is sent is received, executes request of data
In carry the system banner of the Function Identification of objective function and the system program of terminal, software development work according to the pre-stored data
The execution data and system banner, three's corresponding relationship of Function Identification and the function of objective function of each function in tool packet SDK
The system banner of the system program of mark and terminal determines the execution data for being suitable for the objective function of system program of terminal,
The execution data determined are sent to terminal, in this way, terminal is not necessarily to store entire SDK data packet, so as to save terminal
Storage resource.
Disclosure another exemplary embodiment provides a kind of method of performance objective function, this method can by terminal and
Server is realized jointly.Wherein, terminal can be the mobile terminals such as mobile phone or tablet computer.At least one can be equipped in terminal
A application program, in use, certain functions need that the corresponding SDK of another application program is called to hold the application program
Row.The terminal may include transceiver, and the transceiver, which can be used for sending to server, executes request of data, then can be with
Receive the execution data that server is sent;The terminal may include processor, and processor can be used for based on objective function
Execute data performance objective function.In addition, terminal can also include display unit, memory, sensor, voicefrequency circuit, bluetooth,
The components such as WiFi (Wirelessfidelity, adopting wireless fidelity technology) and power supply.The server can be certain operator and mention
The server of confession, the server may include memory, for storing the execution data and each function of each function in SDK
Execution data and system banner, Function Identification three's corresponding relationship;The server may include transceiver, for receiving
Execute request of data;The server may include processor, be used for according to above-mentioned corresponding relationship, and the execution number received
According to request, corresponding execution data are determined.In addition, the server can also include network interface and power supply etc..
As shown in figure 3, the process flow of this method may include following step:
In step 301, terminal receives executing instruction for objective function.
In an implementation, SDK (Software Development Kit, Software Development Tools can store in server
Packet), which can be the SDK of some application program, can wrap this provided to other applications containing server in SDK
The data of function in application program, such as payment function, encryption function or calculation function etc., which is also provided with
Other applications access the interface of the server.The technical staff of application program can obtain the interface in advance, then can be with
The interface message of the interface is stored in the application program of exploitation, so that the application program can access the clothes by the interface
Business device.After the application program is downloaded to terminal by user, user can click the icon of the application program in terminal, and terminal then can
The open command for receiving the corresponding application program, then can run the application program.During running application program,
Terminal can receive executing instruction for some function (i.e. the objective function) provided by the server.User can click target function
The corresponding option of energy, so that terminal receives executing instruction for objective function, for example, objective function is payment function, then user can
To click the corresponding selection of payment in the application, then terminal can receive executing instruction for payment function.In addition, using
The execution condition of objective function can be preset in program, if reaching preset execution condition, terminal can receive mesh
Mark function executes instruction, for example, terminal can receive the execution of objective function when application program runs to some progress
Instruction.
In step 302, terminal to server sends the execution request of data of corresponding objective function, executes in request of data
Carry the Function Identification of objective function and the system banner of local system program.
In an implementation, after terminal receives the executing instruction of objective function, the Function Identification of available objective function, and can
To obtain the system banner of local system program, the system program of terminal can be Android, IOS (Internetworking
Operating System-Cisco, network configuration system) or WP (Windows Phone, Microsoft's mobile phone) in any one.
After terminal obtains the Function Identification of objective function and the system banner of local system program, the information that can be will acquire is added
Into execution request of data, and through pre-stored interface message, which is sent to server.
In step 303, the execution request of data for the correspondence objective function that server receiving terminal is sent executes data and asks
The system banner of the Function Identification of objective function and the system program of terminal is carried in asking.
In an implementation, after terminal to server sends the execution request of data of corresponding objective function, server can then be received
To the execution request of data, then the execution request of data can be parsed, obtain and carried in the execution request of data
The system banner of the system program of the Function Identification and terminal of objective function, to carry out subsequent processing.
In step 304, in server Software Development Kit SDK according to the pre-stored data the execution data of each function with
The system of the system program of the Function Identification and terminal of system banner, three's corresponding relationship of Function Identification and objective function
Mark determines the execution data for being suitable for the objective function of system program of terminal.
In an implementation, the execution data and system banner, Function Identification of each function in SDK can be stored in advance in server
Three's corresponding relationship, server gets the system for executing the Function Identification of objective function and terminal that carry in request of data
After the system banner of program, the corresponding execution data of Function Identification of objective function according to above-mentioned corresponding relationship, can be searched, so
It can determine the corresponding execution data of the system banner of the system program of terminal in the execution data found afterwards, be fitted
The execution data of the objective function of system program for terminal.
Optionally, execution data of each function in each system program of SDK can be stored in advance in server, establish each function
Execution data and system banner, Function Identification corresponding relationship, corresponding treatment process can be such that according to the pre-stored data
The corresponding relationship of system banner and program language obtains the corresponding each program language of system banner of each system program;According to pre-
The corresponding relationship of the code of the source code and each program language that first store, the source code of each function of SDK is compiled respectively
At the code of each program language, the execution data of each function suitable for each system program are respectively obtained;According to suitable for each system
The Function Identification of the execution data of each function of system program, the program identification of each system program and each function, establishes each function
Execute the corresponding relationship of data and system banner, Function Identification.
In an implementation, can be with the corresponding relationship of pre-stored system banner and program language in server, then server
According to the corresponding relationship, the system banner corresponding each program language of each system program can be obtained, for example, system program is peace
Zhuo, corresponding program language are Java.Technical staff can write the source code of each function of SDK, and by each function of SDK
The source code storage of energy is in the server.Pair of the code of source code and each program language can also be stored in advance in server
It should be related to, the source code for any function (such as A function) in SDK, server can be according to source code and each program
The function is compiled into the code of each program language by the corresponding relationship of the code of language, is obtained A function and is corresponded to each program language
Code.Source code for each function in SDK, can be carried out above-mentioned process of compilation, then available to be suitable for respectively
The execution data of each function of system program.Server can be each function distribution Function Identification in SDK, and available
The program identification of each system program, the execution data that then can establish each function are closed with system banner, the corresponding of Function Identification
System.The corresponding relationship can be as shown in the table:
Function Identification | System banner | Execute data |
A | a | Execute data 1 |
A | b | Execute data 2 |
A | c | Execute data 3 |
B | a | Execute data 4 |
B | b | Execute data 5 |
B | c | Execute data 6 |
Wherein, in Function Identification, A can indicate that function A, B can indicate function B;In system banner, a can indicate to pacify
Tall and erect system, b can indicate IOS system, and c can indicate WP system;It executes in data, executing data 1 can indicate to be suitable for peace
The execution data of the function A of tall and erect system, execution data ... of function A of IOS system and so on can be indicated by executing data 2.
For example, carrying Function Identification A and system banner b in the execution request of data that terminal is sent, then server can be with
It is searched by the table, data 2 will be executed and be sent to terminal, as shown in Figure 4.
Optionally, server can carry out the source code of objective function real-time after receiving execution request of data
Compiling, correspondingly, the treatment process of step 304 can be such that the source code of each function and function in SDK according to the pre-stored data
The corresponding relationship of energy mark and the Function Identification of objective function, determine the source code of objective function;It is according to the pre-stored data
The corresponding relationship of system banner and program language determines the corresponding object program language of the system banner of the system program of terminal;
The source code of objective function is compiled into the code of object program language, obtains the target function of the system program suitable for terminal
The execution data of energy.
In an implementation, technical staff can write the source code of each function of SDK, and by the original of each function of SDK
Code stores in the server.It is corresponding with Function Identification that the source code of each function in SDK can be stored in advance in server
Relationship can be according to execution request of data after server receives the execution request of data of the correspondence objective function of terminal transmission
The Function Identification of the objective function of middle carrying searches the source code of objective function in the above correspondence relationship.In server also
The corresponding relationship of system banner and program language can be stored in advance, server can be according to the end carried in execution request of data
The system banner of the system program at end searches the corresponding target journey of system banner of the system program of terminal in the corresponding relationship
Sequence language, and then the source code of objective function can be compiled into the code of object program language, it obtains suitable for terminal
The execution data of the objective function of system program.
In step 305, the execution data determined are sent to terminal by server.
In an implementation, server is determined after executing data, the execution data determined can be sent to terminal, so as to
Terminal executes corresponding function.
Optionally, server can be compressed to data are executed, correspondingly, the treatment process of step 305 can be such that
Compression processing is carried out to the execution data determined, the data after compression processing are sent to terminal.
In an implementation, the corresponding relationship of compressed format and system banner can be stored in advance in server, server determines
After executing data out, it can determine the corresponding compressed format of the system banner according to the above-mentioned system banner got, then may be used
Data compression will be executed into the compressed package of the compressed format, and then the compressed package can be sent to terminal.For example, for peace
Tall and erect system, server can will execute data compression into the compressed package of the format of .jar.
Within step 306, terminal receives the execution data for the objective function suitable for system program that server is sent, and
Execution data performance objective function based on objective function.
In an implementation, after the execution data determined are sent to terminal by server, terminal can then receive server
The execution data (successfully downloading the execution data) of the objective function suitable for system program sent, then can hold this
Row data are stored, and can load the execution data, performance objective function.In addition, after the terminal storage execution data, such as
Fruit does not receive executing instruction for corresponding objective function in preset duration, then can delete the execution data.For example, terminal
It does not receive executing instruction for corresponding A function in 3 days, then can delete the execution data of A function.
Optionally, for above-mentioned server to the case where data are compressed is executed, correspondingly, step 306 is processed
Journey can be such that the data after receiving the compression processing that server is sent, and unzip it processing to the data after compression processing,
Obtain the execution data of the objective function suitable for system program, and the execution data performance objective function based on objective function.
In an implementation, after the data after compression processing are sent to terminal by server, terminal then can receive server
Data after the compression processing of transmission such as receive the compressed package of server transmission, then can be to the data after compression processing
Processing is unziped it, obtains the execution data of the objective function suitable for system program, and then the execution data can be loaded,
And the execution data performance objective function can be based on.For example, objective function can be payment function, terminal can be held based on this
Row data call the interface of payment application, so that user can be paid the bill by the payment application;Objective function
It can be calculation function, terminal can carry out calculation process based on the operation function in the execution data.
In the embodiment of the present disclosure, the execution request of data for the correspondence objective function that terminal is sent is received, executes request of data
In carry the system banner of the Function Identification of objective function and the system program of terminal, software development work according to the pre-stored data
The execution data and system banner, three's corresponding relationship of Function Identification and the function of objective function of each function in tool packet SDK
The system banner of the system program of mark and terminal determines the execution data for being suitable for the objective function of system program of terminal,
The execution data determined are sent to terminal, in this way, terminal is not necessarily to store entire SDK data packet, so as to save terminal
Storage resource.
Disclosure another exemplary embodiment provides a kind of device of performance objective function, as shown in figure 5, the device can
Think server, which includes: receiving module 510, determining module 520 and sending module 530.
Receiving module 510 is configured as receiving the execution request of data for the correspondence objective function that terminal is sent, the execution
The system banner of the Function Identification of the objective function and the system program of the terminal is carried in request of data;
Determining module 520 is configured as the execution data of each function in Software Development Kit SDK according to the pre-stored data
The function of the objective function received with system banner, three's corresponding relationship of Function Identification and the receiving module 510
The system banner with the system program of the terminal can be identified, determines the target function for being suitable for the system program of the terminal
The execution data of energy;
Sending module 530 is configured as the execution data that the determining module 520 is determined being sent to the terminal.
Optionally, as shown in fig. 6, the determining module 520, comprising:
First determines submodule 521, is configured as the source code of each function and function mark in SDK according to the pre-stored data
The Function Identification of the corresponding relationship of knowledge and the objective function determines the source code of the objective function;
Second determines submodule 522, is configured as the corresponding relationship of system banner and program language according to the pre-stored data,
Determine the corresponding object program language of the system banner of the system program of the terminal;
Submodule 523 is compiled, the original for the objective function for determining the described first determining submodule 521 is configured as
The code for the object program language that beginning code compilation is determined at the described second determining submodule 522, obtains being suitable for institute
State the execution data of the objective function of the system program of terminal.
Optionally, as shown in fig. 7, described device further include:
Module 540 is obtained, the corresponding relationship of system banner and program language according to the pre-stored data is configured as, is obtained each
The corresponding each program language of the system banner of system program;
Collector 550 is configured as pair of the code of source code according to the pre-stored data and each program language
It should be related to, the source code of each function of the SDK is compiled into each program that the acquisition module 540 is got respectively
The code of language respectively obtains the execution data of each function suitable for each system program;
Establish module 560, be configured as according to the collector 550 compile out described in be suitable for each system journey
The Function Identification of the execution data of each function of sequence, the program identification of each system program and each function is established
Three's corresponding relationship of the execution data of each function and system banner, Function Identification.
Optionally, the sending module 530, is configured as:
Compression processing is carried out to the execution data determined, the data after the compression processing are sent to the terminal.
Based on the same technical idea, the embodiment of the invention also provides a kind of devices of performance objective function, such as Fig. 8 institute
Show, which can be terminal, and described device includes receiving module 810, sending module 820 and execution module 830.
Receiving module 810 is configured as receiving executing instruction for objective function;
Sending module 820 is configured as sending the execution request of data of the corresponding objective function to server, described to hold
The Function Identification of the objective function and the system banner of local system program are carried in row request of data, so that the clothes
It is engaged in three of executions data and the system banner, Function Identification of each function in device Software Development Kit SDK according to the pre-stored data
The system banner of the system program of the Function Identification and the terminal of person's corresponding relationship and the objective function is determined and is applicable in
In the execution data of the objective function of the system program;
Execution module 830, is configured as receiving that the server sends suitable is configured as the described of the system program
The execution data of objective function, and the execution data based on the objective function execute the objective function.
Optionally, the execution module 830, is configured as:
Data after receiving the compression processing that the server is sent, unzip it the data after the compression processing
Processing obtains the execution data of the objective function suitable for the system program, and the execution based on the objective function
Data execute the objective function.
If Fig. 5~device shown in Fig. 8 is for realizing above-mentioned method flow diagram as shown in FIG. 1 to 3, about above-mentioned reality
The device in example is applied, the concrete mode that wherein modules execute operation has carried out in detail in the embodiment of the method
Thin description, no detailed explanation will be given here.
In the embodiment of the present disclosure, the execution request of data for the correspondence objective function that terminal is sent is received, executes request of data
In carry the system banner of the Function Identification of objective function and the system program of terminal, software development work according to the pre-stored data
The execution data and system banner, three's corresponding relationship of Function Identification and the function of objective function of each function in tool packet SDK
The system banner of the system program of mark and terminal determines the execution data for being suitable for the objective function of system program of terminal,
The execution data determined are sent to terminal, in this way, terminal is not necessarily to store entire SDK data packet, so as to save terminal
Storage resource.
The another exemplary embodiment of the disclosure provides a kind of system of performance objective function, and the system comprises servers
And terminal, in which:
The server, for receiving the execution request of data for the correspondence objective function that the terminal is sent, the execution
The system banner that the Function Identification of the objective function and the system program of the terminal are carried in request of data, according to preparatory
Three's corresponding relationship of the execution data of each function and system banner, Function Identification in the Software Development Kit SDK of storage, with
And the system banner of the system program of the Function Identification and terminal of the objective function, it is determining to be suitable for the terminal
The execution data determined are sent to the terminal by the execution data of the objective function of system program;
The terminal, for receiving executing instruction for objective function, Xiang Suoshu server sends the corresponding objective function
Execution request of data, receive the execution number for the objective function suitable for the system program that the server is sent
According to, and the execution data based on the objective function execute the objective function.
In the embodiment of the present disclosure, the execution request of data for the correspondence objective function that terminal is sent is received, executes request of data
In carry the system banner of the Function Identification of objective function and the system program of terminal, software development work according to the pre-stored data
The execution data and system banner, three's corresponding relationship of Function Identification and the function of objective function of each function in tool packet SDK
The system banner of the system program of mark and terminal determines the execution data for being suitable for the objective function of system program of terminal,
The execution data determined are sent to terminal, in this way, terminal is not necessarily to store entire SDK data packet, so as to save terminal
Storage resource.
The another exemplary embodiment of the disclosure provides a kind of block diagram of device 1900 for performance objective function.Example
Such as, device 1900 may be provided as a server.Referring to Fig. 9, device 1900 includes processing component 1922, further comprises
One or more processors and memory resource represented by a memory 1932, can be by processing component 1922 for storing
Execution instruction, such as application program.The application program stored in memory 1932 may include one or more
Each corresponds to the module of one group of instruction.In addition, processing component 1922 is configured as executing instruction, made with executing above-mentioned display
With the method for record.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one
Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface
1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Device 1900 may include having perhaps one of them or one of more than one program of memory and one
Procedure above is stored in memory, and is configured to execute one or one by one or more than one processor
Procedure above includes the instruction for performing the following operation:
The execution request of data for the correspondence objective function that terminal is sent is received, is carried in the execution request of data described
The system banner of the Function Identification of objective function and the system program of the terminal;
The execution data of each function and system banner, Function Identification in Software Development Kit SDK according to the pre-stored data
Three's corresponding relationship and the objective function the Function Identification and terminal system program system banner, determine
The execution data of the objective function of system program suitable for the terminal;
The execution data determined are sent to the terminal.
Optionally, the execution data of each function and system banner in the SDK according to the pre-stored data, Function Identification three
The system banner of the system program of the Function Identification and the terminal of person's corresponding relationship and the objective function is determined and is applicable in
In the execution data of the objective function of the system program of the terminal, comprising:
The source code of each function and the corresponding relationship of Function Identification and the target in SDK according to the pre-stored data
The Function Identification of function determines the source code of the objective function;
The corresponding relationship of system banner and program language according to the pre-stored data, determine the system program of the terminal is
System identifies corresponding object program language;
The source code of the objective function is compiled into the code of the object program language, obtains being suitable for the end
The execution data of the objective function of the system program at end.
Optionally, the method also includes:
The corresponding relationship of system banner and program language according to the pre-stored data, obtains the system banner pair of each system program
Each program language answered;
The corresponding relationship of the code of source code according to the pre-stored data and each program language, by each of the SDK
The source code of function is compiled into the code of each program language respectively, respectively obtains the institute suitable for each system program
State the execution data of each function;
According to the execution data of each function suitable for each system program, the journey of each system program
The Function Identification of sequence mark and each function, establish the executions data of each function and system banner, Function Identification three
Person's corresponding relationship.
Optionally, the execution data that will be determined are sent to the terminal, comprising:
Compression processing is carried out to the execution data determined, the data after the compression processing are sent to the terminal.
In the embodiment of the present disclosure, the execution request of data for the correspondence objective function that terminal is sent is received, executes request of data
In carry the system banner of the Function Identification of objective function and the system program of terminal, software development work according to the pre-stored data
The execution data and system banner, three's corresponding relationship of Function Identification and the function of objective function of each function in tool packet SDK
The system banner of the system program of mark and terminal determines the execution data for being suitable for the objective function of system program of terminal,
The execution data determined are sent to terminal, in this way, terminal is not necessarily to store entire SDK data packet, so as to save terminal
Storage resource.
The another exemplary embodiment of the disclosure provides a kind of structural schematic diagram of terminal.The terminal can be mobile phone etc..
Referring to Fig.1 0, terminal 800 may include following one or more components: processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of the usual controlling terminal 800 of processing component 802, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing element 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 800.These data are shown
Example includes the instruction of any application or method for operating in terminal 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of terminal 800.Electric power assembly 806 may include power management system
System, one or more power supplys and other with for audio output apparatus 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the terminal 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When terminal 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when audio output apparatus 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, wheat
Gram wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or warp
It is sent by communication component 816.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for terminal 800 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of terminal 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of terminal 800, and sensor module 814 can also detect 800 1 components of terminal 800 or terminal
Position change, the existence or non-existence that user contacts with terminal 800,800 orientation of terminal or acceleration/deceleration and terminal 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of terminal 800 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal
When row, enable the terminal to execute above-mentioned method, this method comprises:
Receive executing instruction for objective function;
The execution request of data of the corresponding objective function is sent to server, is carried in the execution request of data
The Function Identification of objective function and the system banner of local system program are stated, so that the server is according to the pre-stored data soft
The three's corresponding relationship and the mesh of the execution data of each function and system banner, Function Identification in part development kit SDK
The system banner of the Function Identification of function and the system program of the terminal is marked, determines the mesh for being suitable for the system program
Mark the execution data of function;
The execution data for the objective function suitable for the system program that the server is sent are received, and are based on
The execution data of the objective function execute the objective function.
Optionally, the execution for receiving the objective function suitable for the system program that the server is sent
Data, and the objective function is executed based on the execution data, comprising:
Data after receiving the compression processing that the server is sent, unzip it the data after the compression processing
Processing obtains the execution data of the objective function suitable for the system program, and the execution based on the objective function
Data execute the objective function.
In the embodiment of the present disclosure, the execution request of data for the correspondence objective function that terminal is sent is received, executes request of data
In carry the system banner of the Function Identification of objective function and the system program of terminal, software development work according to the pre-stored data
The execution data and system banner, three's corresponding relationship of Function Identification and the function of objective function of each function in tool packet SDK
The system banner of the system program of mark and terminal determines the execution data for being suitable for the objective function of system program of terminal,
The execution data determined are sent to terminal, in this way, terminal is not necessarily to store entire SDK data packet, so as to save terminal
Storage resource.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (11)
1. a kind of method of performance objective function, which is characterized in that the described method includes:
The execution request of data for the correspondence objective function that terminal is sent is received, carries the target in the execution request of data
The system banner of the Function Identification of function and the system program of the terminal, wherein the Function Identification is by server according to SDK
In each function be allocated;
The three of the execution data of each function and system banner in Software Development Kit SDK according to the pre-stored data, Function Identification
The system banner of the system program of the Function Identification and the terminal of person's corresponding relationship and the objective function is determined and is applicable in
In the execution data of the objective function of the system program of the terminal;The execution data determined are sent to the end
End,
Three's corresponding relationship of the execution data of each function and system banner, Function Identification in the SDK according to the pre-stored data,
And the system banner of the system program of the Function Identification and terminal of the objective function, it determines and is suitable for the terminal
The execution data of the objective function of system program, comprising:
The function of the source code of each function and the corresponding relationship of Function Identification and objective function in SDK according to the pre-stored data
It can identify, determine the source code of objective function;
The corresponding relationship of system banner and program language according to the pre-stored data determines the system mark of the system program of the terminal
Know corresponding object program language;
The source code of objective function is compiled into the code of object program language, obtains the mesh of the system program suitable for terminal
Mark the execution data of function.
2. the method according to claim 1, wherein the method also includes:
The corresponding relationship of system banner and program language according to the pre-stored data, the system banner for obtaining each system program are corresponding
Each program language;
The corresponding relationship of the code of source code according to the pre-stored data and each program language, by each function of the SDK
Source code be compiled into the code of each program language respectively, respectively obtain suitable for the described each of each system program
The execution data of function;
According to the execution data of each function suitable for each system program, the program mark of each system program
Know the Function Identification with each function, establishes the execution data of each function and the three couple of system banner, Function Identification
It should be related to.
3. the method according to claim 1, wherein the execution data that will be determined are sent to the end
End, comprising:
Compression processing is carried out to the execution data determined, the data after the compression processing are sent to the terminal.
4. a kind of method of performance objective function, which is characterized in that the described method includes:
Receive executing instruction for objective function;
The execution request of data of the corresponding objective function is sent to server, carries the mesh in the execution request of data
The Function Identification of function and the system banner of local system program are marked, so that server software according to the pre-stored data is opened
Send out the three's corresponding relationship and the target function of the execution data of each function and system banner, Function Identification in kit SDK
The system banner of the system program of the Function Identification and terminal of energy, determines the objective function for being suitable for the system program
Execute data, wherein the Function Identification is allocated by server according to each function in SDK;
The execution data for the objective function suitable for the system program that the server is sent are received, and based on described
The execution data of objective function execute the objective function,
The execution data of each function and system banner, Function Identification in the Software Development Kit SDK according to the pre-stored data
Three's corresponding relationship and the objective function the Function Identification and terminal system program system banner, determine
The execution data of the objective function suitable for the system program, comprising:
The function of the source code of each function and the corresponding relationship of Function Identification and objective function in SDK according to the pre-stored data
It can identify, determine the source code of objective function;
The corresponding relationship of system banner and program language according to the pre-stored data determines the system mark of the system program of the terminal
Know corresponding object program language;
The source code of objective function is compiled into the code of object program language, obtains the mesh of the system program suitable for terminal
Mark the execution data of function.
5. according to the method described in claim 4, it is characterized in that, the reception server transmission is suitable for the system
The execution data of the objective function of system program, and the objective function is executed based on the execution data, comprising:
Data after the compression processing are unziped it place by the data after receiving the compression processing that the server is sent
Reason obtains the execution data of the objective function suitable for the system program, and the execution number based on the objective function
According to the execution objective function.
6. a kind of device of performance objective function, which is characterized in that described device includes:
Receiving module, the execution request of data of the correspondence objective function for receiving terminal transmission, in the execution request of data
Carry the system banner of the Function Identification of the objective function and the system program of the terminal, wherein the Function Identification
It is allocated by server according to each function in SDK;
Determining module, for each function in Software Development Kit SDK according to the pre-stored data execution data and system banner,
The Function Identification for the objective function that the three's corresponding relationship and the receiving module of Function Identification receive and the end
The system banner of the system program at end determines the execution data for being suitable for the objective function of system program of the terminal;
Sending module, the execution data for determining the determining module are sent to the terminal,
The determining module, further includes:
First determines submodule, and the source code for each function in SDK according to the pre-stored data is corresponding with Function Identification to close
The Function Identification of system and the objective function, determines the source code of the objective function;
Second determines that submodule determines the end for the corresponding relationship of system banner according to the pre-stored data and program language
The corresponding object program language of the system banner of the system program at end;
Submodule is compiled, the source code of the objective function for determining the described first determining submodule is compiled into institute
The code for stating the object program language that the second determining submodule is determined, obtains the system program suitable for the terminal
The execution data of the objective function.
7. device according to claim 6, which is characterized in that described device further include:
It obtains module and obtains each system program for the corresponding relationship of system banner according to the pre-stored data and program language
The corresponding each program language of system banner;
Collector, for the corresponding relationship of source code according to the pre-stored data and the code of each program language, by institute
The source code for stating each function of SDK is compiled into the code for each program language that the acquisition module is got respectively, point
The execution data of each function suitable for each system program are not obtained;
Establish module, for according to the collector compile out described in be suitable for each system program each function
Execution data, the program identification of each system program and each function Function Identification, establish holding for each function
Three's corresponding relationship of row data and system banner, Function Identification.
8. device according to claim 6, which is characterized in that the sending module is used for:
Compression processing is carried out to the execution data determined, the data after the compression processing are sent to the terminal.
9. a kind of device of performance objective function, which is characterized in that described device includes:
Receiving module, for receiving executing instruction for objective function;
Sending module, for sending the execution request of data of the corresponding objective function, the execution request of data to server
In carry the Function Identification of the objective function and the system banner of local system program so that the server is according in advance
Three's corresponding relationship of the execution data of each function and system banner, Function Identification in the Software Development Kit SDK first stored,
And the system banner of the system program of the Function Identification and terminal of the objective function, it determines and is suitable for the system program
The execution data of the objective function, wherein the Function Identification is allocated by server according to each function in SDK;
Execution module, for receiving the execution number for the objective function suitable for the system program that the server is sent
According to, and the execution data based on the objective function execute the objective function,
The execution data of each function and system banner, Function Identification in the Software Development Kit SDK according to the pre-stored data
Three's corresponding relationship and the objective function the Function Identification and terminal system program system banner, determine
The execution data of the objective function suitable for the system program, comprising:
The function of the source code of each function and the corresponding relationship of Function Identification and objective function in SDK according to the pre-stored data
It can identify, determine the source code of objective function;
The corresponding relationship of system banner and program language according to the pre-stored data determines the system mark of the system program of the terminal
Know corresponding object program language;
The source code of objective function is compiled into the code of object program language, obtains the mesh of the system program suitable for terminal
Mark the execution data of function.
10. device according to claim 9, which is characterized in that the execution module is used for:
Data after the compression processing are unziped it place by the data after receiving the compression processing that the server is sent
Reason obtains the execution data of the objective function suitable for the system program, and the execution number based on the objective function
According to the execution objective function.
11. a kind of system of performance objective function, which is characterized in that the system comprises servers and terminal, in which:
The server, for receiving the execution request of data for the correspondence objective function that the terminal is sent, the execution data
The system banner that the Function Identification of the objective function and the system program of the terminal are carried in request, according to being stored in advance
Software Development Kit SDK in each function execution data and system banner, Function Identification three's corresponding relationship, Yi Jisuo
The system banner of the Function Identification of objective function and the system program of the terminal is stated, determines the system journey for being suitable for the terminal
The execution data determined are sent to the terminal by the execution data of the objective function of sequence;
The terminal, for receiving executing instruction for objective function, Xiang Suoshu server sends holding for the corresponding objective function
Row request of data receives the execution data for the objective function suitable for the system program that the server is sent, and
Execution data based on the objective function execute the objective function,
The execution data of each function and system banner, Function Identification in the Software Development Kit SDK according to the pre-stored data
Three's corresponding relationship and the objective function the Function Identification and terminal system program system banner, determine
The execution data of the objective function suitable for the system program, comprising:
The function of the source code of each function and the corresponding relationship of Function Identification and objective function in SDK according to the pre-stored data
It can identify, determine the source code of objective function;
The corresponding relationship of system banner and program language according to the pre-stored data determines the system mark of the system program of the terminal
Know corresponding object program language;
The source code of objective function is compiled into the code of object program language, obtains the mesh of the system program suitable for terminal
The execution data of function are marked,
The server is also used to according to each function distribution Function Identification in SDK.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463204.3A CN105094830B (en) | 2015-07-31 | 2015-07-31 | A kind of method and apparatus of performance objective function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463204.3A CN105094830B (en) | 2015-07-31 | 2015-07-31 | A kind of method and apparatus of performance objective function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105094830A CN105094830A (en) | 2015-11-25 |
CN105094830B true CN105094830B (en) | 2019-07-09 |
Family
ID=54575358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510463204.3A Active CN105094830B (en) | 2015-07-31 | 2015-07-31 | A kind of method and apparatus of performance objective function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105094830B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066291A (en) * | 2017-02-09 | 2017-08-18 | 阿里巴巴集团控股有限公司 | Packaging method, device and the equipment of SDK, computer-readable recording medium |
CN107678750A (en) * | 2017-10-27 | 2018-02-09 | 北京腾云天下科技有限公司 | A kind of SDK packaging methods, computing device and SDK packaging systems |
CN108173813B (en) * | 2017-12-08 | 2021-07-20 | 国网北京市电力公司 | Vulnerability detection method and device |
CN108388424B (en) * | 2018-03-09 | 2021-09-21 | 北京奇艺世纪科技有限公司 | Method and device for calling interface data and electronic equipment |
CN110855750B (en) * | 2019-10-21 | 2023-02-28 | 深圳市元征科技股份有限公司 | Downloading method of software development kit and related equipment |
CN113014996B (en) * | 2021-02-18 | 2022-07-22 | 上海哔哩哔哩科技有限公司 | Video generation method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1416057A (en) * | 2001-10-31 | 2003-05-07 | 精工爱普生株式会社 | Dynamic Java loading for applied program execution |
CN102857524A (en) * | 2011-06-28 | 2013-01-02 | 腾讯科技(深圳)有限公司 | Assembly calling method and device |
CN104461618A (en) * | 2014-11-26 | 2015-03-25 | 北京国双科技有限公司 | Method and device for loading modules |
-
2015
- 2015-07-31 CN CN201510463204.3A patent/CN105094830B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1416057A (en) * | 2001-10-31 | 2003-05-07 | 精工爱普生株式会社 | Dynamic Java loading for applied program execution |
CN102857524A (en) * | 2011-06-28 | 2013-01-02 | 腾讯科技(深圳)有限公司 | Assembly calling method and device |
CN104461618A (en) * | 2014-11-26 | 2015-03-25 | 北京国双科技有限公司 | Method and device for loading modules |
Also Published As
Publication number | Publication date |
---|---|
CN105094830A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105094830B (en) | A kind of method and apparatus of performance objective function | |
CN104318741B (en) | Bluetooth equipment control method and device | |
KR101770931B1 (en) | Method, apparatus, program and computer-readable recording medium of generating communication module firmware and plug-in | |
CN104951335B (en) | The processing method and processing device of application program installation kit | |
CN106126685B (en) | Page loading method and device | |
CN105117337B (en) | Using adjustment method, client and debugging platform | |
CN105302615B (en) | Method for upgrading software and device | |
CN106792448A (en) | Bluetooth connecting method and device, system | |
CN104881304B (en) | Resource downloading method and device | |
EP3322227A1 (en) | Methods and apparatuses for controlling wireless connection, computer program and recording medium | |
CN115185717B (en) | Interface calling method and device, electronic equipment and storage medium | |
CN108600529A (en) | Information interacting method, device and computer readable storage medium | |
CN107463372B (en) | Data-driven page updating method and device | |
CN107562500B (en) | Debugging device, method and equipment | |
CN105183571A (en) | Function calling method and device | |
CN106612149B (en) | Radio frequency circuit testing method, device and system and mobile terminal | |
EP3142337A1 (en) | Method and apparatus for installing application and smart device using them | |
CN109344051B (en) | Data processing method and device, electronic equipment and storage medium | |
CN109388423A (en) | Method for upgrading software and device | |
CN105930266B (en) | Webpage adjustment method and device | |
CN108108206A (en) | Mobile payment cut-in method and device | |
CN104866349A (en) | Application updating method and device | |
CN108984417A (en) | Method for testing software, device, terminal and storage medium | |
CN110515623B (en) | Method and device for realizing graphic operation, electronic equipment and storage medium | |
CN104991857A (en) | Method and apparatus for trace debugging |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |