CN103984541A - Method and system for generating application procedure based on terminal source codes - Google Patents
Method and system for generating application procedure based on terminal source codes Download PDFInfo
- Publication number
- CN103984541A CN103984541A CN201410149070.3A CN201410149070A CN103984541A CN 103984541 A CN103984541 A CN 103984541A CN 201410149070 A CN201410149070 A CN 201410149070A CN 103984541 A CN103984541 A CN 103984541A
- Authority
- CN
- China
- Prior art keywords
- source code
- application
- terminal
- compiling
- receiving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a method and a system for generating an application procedure based on terminal source codes. The method comprises the following steps of when a server receives a compiling instruction of the application program sent from a terminal, sending the source codes to the terminal, and controlling the terminal to enter a compiling interface of the application program, so a user can compile the codes of the application program according to the source codes and the compiling interface of the application program; when the server receives the sent codes of the application program according to the source codes and the compiling interface of the application program, compiling the received codes of the application program to generate the applicable application program and store, enabling the server to uniformly store the source codes, and compiling the application program of the terminal based on the uniform source codes, so the application programs of switch valves are uniform, and are uniform with the basic control codes of the terminal, and the compatibility of the terminal application program is improved.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and system that generates application program based on terminal source code.
Background technology
Development along with intelligent control technology, the function that people will realize for intelligent terminal, develop the application program of various intelligent terminals, and due to the control source code disunity of terminal, the intelligent terminal source code that developer can have according to it is developed the application program of terminal, may cause the incompatible situation of application program of terminal.
Foregoing only, for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method and system that generates application program based on terminal source code, is intended to improve the compatibility of end application.
For achieving the above object, the present invention proposes a kind of method that generates application program based on terminal source code, comprising:
While receiving the compiling of application instruction that terminal sends, to terminal transmission source code and and control terminal enter compiling of application interface, for user based on described source code and compiling of application interface compiling application code;
While receiving the application source code that terminal sends based on described source code and compiling of application interface, the application source code receiving is compiled to generate corresponding program codes and preserved.
Preferably, described while receiving the compiling of application instruction that terminal sends, to terminal transmission source code control terminal, enter compiling of application interface, the step for user based on described source code and compiling of application interface compiling application code comprises:
While receiving the compiling of application instruction of terminal transmission, to terminal sending function item, select interface;
Receiving the function items selection instruction of terminal based on described function items selection interface transmission, determine user-selected function items;
According to the mapping relations of default function items and source code, obtain the corresponding source code of definite function items;
To terminal, send definite source code and control terminal enters compiling of application interface, for user based on described definite source code and compiling of application interface compiling application source code.
Preferably, described while receiving the application source code that terminal sends based on described source code and compiling of application interface, after the application source code receiving is compiled to generate the step of corresponding program codes preservation, the method comprises:
While receiving the application program update instruction of terminal transmission, determine the application source code corresponding with described application program update instruction in the application program of preserving;
Send to terminal control terminal to enter compiling of application interface definite application source code, for user, based on described definite application program and compiling of application interface, upgrade described definite application source code.
Preferably, the method also comprises:
While receiving source code update instruction, to terminal, send user profile inputting interface, for user, based on described user profile inputting interface, input user profile;
When receiving the user profile of terminal transmission, user profile is verified;
After user profile is verified, to terminal transmission source code control terminal, enter compilation of source code interface, for user, based on described compilation of source code interface and source code, upgrade the source code of preserving.
Preferably, described in while receiving the application code that terminal sends based on described source code and compiling of application interface, to the application code compiling receiving generate corresponding application program and the step of preserving after, the method comprises:
While receiving the application program update instruction of described terminal transmission, confirm the application program of the latest edition of preservation;
To described terminal, send the application program of confirming.
The present invention also proposes a kind of system that generates application program based on terminal source code, comprising:
Sending and receiving module, when receiving the compiling of application instruction that terminal sends, enters compiling of application interface to terminal transmission source code control terminal, for user based on described source code and compiling of application interface compiling application code;
Generation module, when receiving the application source code that terminal sends based on described source code and compiling of application interface, compiles to generate corresponding program codes to the application source code receiving;
Memory module, for preserving the program codes of generation.
Preferably, described sending and receiving module also when receiving the compiling of application instruction that terminal sends, is selected interface to terminal sending function item; This system also comprises the first determination module and acquisition module, and described the first determination module, for receiving the function items selection instruction of terminal based on described function items selection interface transmission, is determined user-selected function items; Described acquisition module, for according to the mapping relations of default function items and source code, obtains the corresponding source code of definite function items; Described sending and receiving module also enters compiling of application interface for send definite source code control terminal to terminal, for user, based on described definite source code and compiling of application interface, compiles application source code.
Preferably, this system also comprises the second determination module, when receiving the application program update instruction that terminal sends, determines the application source code corresponding with described application program update instruction in the application program of preserving; Described sending and receiving module also enters compiling of application interface for send definite application source code control terminal to terminal, for user, based on described definite application program and compiling of application interface, upgrade described definite application source code.
Preferably, described sending and receiving module also when receiving source code update instruction, sends user profile inputting interface to terminal, for user based on described user profile inputting interface input user profile; This system also comprises that authentication module, for when receiving the user profile that terminal sends, verifies user profile; Described sending and receiving module, also for after user profile is verified, enters compilation of source code interface to terminal transmission source code control terminal, for user, based on described compilation of source code interface and source code, upgrades the source code of preserving.
Preferably, this system also comprise the 3rd determination module for receive described terminal and send application program update instruction time, determine the application program of the latest edition of preserving; Described sending and receiving module is also for sending the application program of confirming to described terminal
The method and system based on terminal source code generation application program that the present invention proposes, when server receives the compiling of application instruction of terminal transmission, to terminal transmission source code control terminal, enter compiling of application interface, for user, based on described source code and compiling of application interface, compile application code; When server receives the application code that terminal sends based on described source code and compiling of application interface, the application code compiling receiving is generated corresponding application program and preserved, by the unified source code of preserving of server, application program based on this unified compilation of source code terminal, make the application-consistent of switch valve, and consistent with the basic controlling code of terminal, the compatibility of raising end application.
Accompanying drawing explanation
Fig. 1 is the illustrative view of functional configuration of server preferred embodiment of the present invention;
Fig. 2 the present invention is based on the high-level schematic functional block diagram that terminal source code generates the system preferred embodiment of application program;
Fig. 3 the present invention is based on the schematic flow sheet that terminal source code generates method first embodiment of application program;
Fig. 4 is the refinement schematic flow sheet of step S10 in Fig. 1;
Fig. 5 the present invention is based on the schematic flow sheet that terminal source code generates method second embodiment of application program;
Fig. 6 the present invention is based on the schematic flow sheet that terminal source code generates method the 3rd embodiment of application program;
Fig. 7 the present invention is based on the schematic flow sheet that terminal source code generates method the 4th embodiment of application program.
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Below in conjunction with drawings and the specific embodiments, with regard to technical scheme of the present invention, be described further.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the illustrative view of functional configuration of server preferred embodiment of the present invention.
This server 10 comprises processing unit 11, storage unit 12, sending and receiving unit 13, system 14 and compiling system 15 based on terminal source code generation application program in the present embodiment.
Described storage unit 12 generates the system 14 of application program and service data thereof, the source code of terminal, the compiling interface of application program and the application program of terminal for storing based on terminal source code; It is emphasized that this storage unit 12 can be both an independent memory storage, can be also the general designation of a plurality of different memory storages, and therefore not to repeat here.
Described sending and receiving unit 13 is for when processing unit 11 operations generate the system 14 of application program based on terminal source code, while receiving the compiling of application instruction of terminal transmission, to terminal transmission source code control terminal, enter compiling of application interface, for user, based on described source code and compiling of application interface, compile application code.
Described processing unit 11 generates the system 14 of application program for calling and carry out this based on terminal source code, and while receiving the application source code that terminal sends based on described source code and compiling of application interface in sending and receiving unit 13, call 15 pairs of application source code that receive of compiling system and compile to generate corresponding program codes, storage unit 12 storages simultaneously generate corresponding program codes.
With reference to Fig. 2, Fig. 2 the present invention is based on the high-level schematic functional block diagram that terminal source code generates the system preferred embodiment of application program.
The present embodiment proposes a kind of system that generates application program 14 based on terminal source code, comprising:
Sending and receiving module 141, when receiving the compiling of application instruction that terminal sends, enters compiling of application interface to terminal transmission source code control terminal, for user based on described source code and compiling of application interface compiling application code;
Control on the web page that user can provide by server or Application Program Interface (as APP interface) sends compiling of application instruction to server, source code and compiling of application interface that its memory module 143 of server calls is preserved, and enter easy-to-use program compilation interface to terminal transmission source code and control terminal.The compilation of source code application source code that user can show according to terminal, the basic controlling code that the source code of this terminal is terminal, comprises the calling interface of each function of terminal.
In other variant embodiment, for guaranteeing that the application source code of preserving in server is not revealed, sending and receiving module 141 is when receiving the compiling of application instruction of terminal transmission, sending and receiving module 141 is sent user profile inputting interface to terminal, for user, based on this user profile inputting interface, input user profile, and when receiving the user profile of terminal transmission, the user profile receiving is verified, when being proved to be successful, this sending and receiving module 141 enters compiling of application interface to terminal transmission source code control terminal; When authentication failed, can push to terminal the information of authentication failed, to point out user to re-enter user profile, and when the number of times of authentication failed surpasses pre-set threshold value, to predetermined communication terminal, send warning message.
Generation module 142, when receiving the application source code that the source code of terminal based on described and compiling of application interface send, compiles to generate corresponding program codes to the application source code receiving;
The source code showing on the compiling of application interface of user based on terminal, compile corresponding application source code, and after compiling completes, by the control on this compiling of application interface, to server, send application source code, generation module is when receiving application source code, application programs source code compiles, and generates machine recognizable program codes, and this program codes is binary file.
Memory module 143, for preserving the program codes of generation.
In the present embodiment, when sending application source code by compiling of application interface, can name the corresponding application program of this application source code, memory module is when the program codes of this generation of storage, can according to the title receiving, name this program codes file, or also this program codes file and the names associate receiving can be preserved, so that user's program codes file corresponding according to the name lookup of application program.
The system based on terminal source code generation application program that the present embodiment proposes, when server receives the compiling of application instruction of terminal transmission, to terminal transmission source code control terminal, enter compiling of application interface, for user, based on described source code and compiling of application interface, compile application code; When server receives the application code that terminal sends based on described source code and compiling of application interface, the application code compiling receiving is generated corresponding application program and preserved, by the unified source code of preserving of server, application program based on this unified compilation of source code terminal, make the application-consistent of switch valve, and consistent with the basic controlling code of terminal, the compatibility of raising end application.
Further, be guaranteeing the convenience that application program generates and improve user experience, described sending and receiving module 141 also when receiving the compiling of application instruction that terminal sends, is selected interface to terminal sending function item; This system also comprises the first determination module 144 and acquisition module 145, and described the first determination module 144, for receiving the function items selection instruction of terminal based on described function items selection interface transmission, is determined user-selected function items; Described acquisition module 145, for according to the mapping relations of default function items and source code, obtains the corresponding source code of definite function items; Described sending and receiving module 141 also enters compiling of application interface for send definite source code control terminal to terminal, for user, based on described definite source code and compiling of application interface, compiles application code.
In the present embodiment, visible source code is divided into a plurality of functional modules and preserves, when receiving the compiling of application instruction of terminal transmission, to terminal sending function item, select interface, this function items selects interface to comprise the title of each functional module of source code, as image display etc., user can be according to oneself needing the function of the application program of compiling select corresponding functional module; The function items selection instruction that the first determination module 144 receives according to sending and receiving module 141, determines user-selected function items, and acquisition module 145, for according to the mapping relations of default function items and source code, obtains the corresponding source code of definite function items; Described sending and receiving module 141 also enters compiling of application interface for send definite source code control terminal to terminal, for user, based on described definite source code and compiling of application interface, compiles application source code.
In other variant embodiment, sending and receiving module 141 is when receiving the compiling of application instruction of terminal transmission, directly control terminal sends and enters compiling of application interface, and when receiving source code that user sends based on this compiling of application interface and obtain request, to terminal push function item, select interface; When sending and receiving module 141 receives terminal and selects based on function items function items selection instruction that interface sends, the first determination module 144 is for receiving the function items selection instruction of terminal based on described function items selection interface transmission, determine user-selected function items, to improve user, experience.
Further, for making the efficiency of application program update higher, this system also comprises the second determination module 146, when receiving the application program update instruction that terminal sends, determines the application program corresponding with described application program update instruction in the application program of preserving; Described sending and receiving module 141, also for sending to terminal control terminal to enter compiling of application interface definite application program, based on described definite application program and compiling of application interface, is upgraded described definite application code for user.
When user carries out version updating in the application program that need to preserve server, the service-oriented device of the web page that can provide based on server or applications pages sends application program update instruction, the second determination module 146, while being used for receiving the application program update instruction of terminal transmission, determine the application program corresponding with described application program update instruction in the application program of preserving, if now preserve a plurality of versions of this application program in server, the second determination module 146 is determined the highest application source code file of version, or the application object code file that definite version is the highest, and this object code file is resolved to obtain corresponding application source code, the application source code that sending and receiving module 141 obtains definite application source code file or parsing sends to terminal control terminal to enter compiling of application interface, for user based on described definite application program and compiling of application interface, upgrade described definite application code, if only only have the application file of a version, directly obtain application source code file or this object code file is resolved to obtain corresponding application source code, sending and receiving module 141 sends to terminal control terminal to enter compiling of application interface the application source code getting, for user, based on described definite application program and compiling of application interface, upgrade described definite application code.In the present embodiment, can according to version number's order, preserve the source code file of identical application program and object code file, the second determination module 146 can be determined very soon according to this order application source code and the application object code of highest version.
User is based on described definite application program and compiling of application interface, while upgrading described definite application source code, and the operation that can this source code be modified, be deleted and increase and decrease source code.
Further, for guaranteeing upgrading in time and security of terminal source code, described sending and receiving module 141 also when receiving source code update instruction, sends user profile inputting interface to terminal, for user based on described user profile inputting interface input user profile; This system also comprises that authentication module 147, for when receiving the user profile that terminal sends, verifies user profile; Described sending and receiving module 141, also for after user profile is verified, enters compilation of source code interface to terminal transmission source code control terminal, for user, based on described compilation of source code interface and source code, upgrades the source code of preserving.
For making the function of terminal abundanter, when the basic structure of new terminal more, also need the more control source code of new terminal, for example terminal has increased image display function newly, need increase and decrease to show relevant source code to image, to realize the renewal of source code, guarantee the compatibility of each application program of terminal; For guaranteeing that source code is not revealed, sending and receiving module 141 is when receiving source code update instruction, to terminal, send user profile inputting interface, for user, based on described user profile inputting interface, input user profile, authentication module 147 is for when receiving the user profile of terminal transmission, user profile is verified, when being proved to be successful, this sending and receiving module 141 enters compilation of source code interface to terminal transmission source code control terminal; When authentication failed, can push to terminal the information of authentication failed, to point out user to re-enter user profile, and when the number of times of authentication failed surpasses pre-set threshold value, to predetermined communication terminal, send warning message.
Further, for making the function of application program abundanter, this system also comprise the 3rd determination module 148 for receive described terminal and send application program update instruction time, determine the application program of the latest edition of preserving; Described sending and receiving module 141 is also for sending the application program of confirming to described terminal.
Terminal can be when opening, can obtain to server the latest version information (as version number) of the application program of its loading, the application version information of the version information getting and preservation is compared, take and determine whether the application program of current preservation is latest edition, if the application program of current preservation is not latest edition, point out user whether to upgrade, when receiving user's confirmation, to server, send application program update instruction, the 3rd determination module 148 for receive described terminal and send application program update instruction time, determine the application program of the latest edition of preserving, described sending and receiving module 141 is also for sending the application program of confirming to described terminal.
In other variant embodiment, terminal can be added the application version number that will upgrade in application program update instruction, server resolves to obtain application version number to this application program update instruction when receiving application program update instruction, according to the version number that is applied to getting, determine corresponding application program, definite application program is sent to terminal, for terminal, according to the application program receiving, upgrade, can guarantee the compatibility of terminal.
With reference to Fig. 3, Fig. 3 the present invention is based on the schematic flow sheet that terminal source code generates method first embodiment of application program.
The present embodiment proposes a kind of system that generates application program based on terminal source code, comprising:
Step S10, while receiving the compiling of application instruction of terminal transmission, enters compiling of application interface to terminal transmission source code control terminal, for user, based on described source code and compiling of application interface, compiles application code;
Control on the web page that user can provide by server or Application Program Interface (as APP interface) sends compiling of application instruction to server, source code and compiling of application interface that its memory module 143 of server calls is preserved, send to terminal control terminal to enter compiling of application interface this source code.The compilation of source code application source code that user can show according to terminal, the basic controlling code that the source code of this terminal is terminal, comprises the calling interface of each function of terminal.
In other variant embodiment, for guaranteeing that the application source code of preserving in server is not revealed, server is when receiving the compiling of application instruction of terminal transmission, server send user profile inputting interface to terminal, for user, based on this user profile inputting interface, input user profile, and when receiving the user profile of terminal transmission, the user profile receiving is verified, when being proved to be successful, server enters compiling of application interface to terminal transmission source code control terminal; When authentication failed, can push to terminal the information of authentication failed, to point out user to re-enter user profile, and when the number of times of authentication failed surpasses pre-set threshold value, to predetermined communication terminal, send warning message.
Step S20, while receiving the application source code that terminal sends based on described source code and compiling of application interface, compiles to generate corresponding program codes and preserves the application source code receiving.
The source code showing on the compiling of application interface of user based on terminal, compile corresponding application source code, and after compiling completes, by the control on this compiling of application interface, to server, send application source code, generation module is when receiving application source code, application programs source code compiles, and generates machine recognizable program codes, and this program codes is binary file.
In the present embodiment, when sending application source code by compiling of application interface, can name the corresponding application program of this application source code, memory module is when the program codes of this generation of storage, can according to the title receiving, name this program codes file, or also this program codes file and the names associate receiving can be preserved, so that user's program codes file corresponding according to the name lookup of application program.
The method based on terminal source code generation application program that the present embodiment proposes, when server receives the compiling of application instruction of terminal transmission, to terminal transmission source code control terminal, enter compiling of application interface, for user, based on described source code and compiling of application interface, compile application code; When server receives the application code that terminal sends based on described source code and compiling of application interface, the application code compiling receiving is generated corresponding application program and preserved, by server, agree to preserve source code, application program based on this unified compilation of source code terminal, make the application-consistent of switch valve, and consistent with the basic controlling code of terminal, the compatibility of raising end application.
With reference to Fig. 4, Fig. 4 is the refinement schematic flow sheet of step S10 in Fig. 1.
In the present invention is based on method first embodiment of terminal source code generation application program, step S10 comprises:
Step S11, while receiving the compiling of application instruction of terminal transmission, selects interface to terminal sending function item;
Step S12, receiving the function items selection instruction of terminal based on described function items selection interface transmission, determines user-selected function items;
Step S13, according to the mapping relations of default function items and source code, obtains the corresponding source code of definite function items;
Step S14, sends definite source code and control terminal enters compiling of application interface to terminal, for user based on described definite source code and compiling of application interface compiling application source code.
In the present embodiment, visible source code is divided into a plurality of functional modules and preserves, when receiving the compiling of application instruction of terminal transmission, to terminal sending function item, select interface, this function items selects interface to comprise the title of each functional module of source code, as image display etc., user can be according to oneself needing the function of the application program of compiling select corresponding functional module; Server, according to the function items selection instruction receiving, is determined user-selected function items, and according to the mapping relations of default function items and source code, is obtained the corresponding source code of definite function items; To terminal, send definite source code and control terminal enters compiling of application interface, for user based on described definite source code and compiling of application interface compiling application source code.
In other variant embodiment, server is when receiving the compiling of application instruction of terminal transmission, directly control terminal enters compiling of application interface, and when receiving source code that user sends based on this compiling of application interface and obtain request, to terminal push function item, select interface; Server, when receiving terminal and select based on function items function items selection instruction that interface sends, is determined user-selected function items, to improve user, experiences.
With reference to Fig. 5, Fig. 5 the present invention is based on the schematic flow sheet that terminal source code generates method second embodiment of application program.
Based on the first embodiment, propose the present invention is based on method the second embodiment that terminal source code generates application program, after step S20, comprise in the present embodiment:
Step S30, while receiving the application program update instruction of terminal transmission, determines the application source code corresponding with described application program update instruction in the application program of preserving;
Step S40, sends to terminal control terminal to enter compiling of application interface definite application source code, for user, based on described definite application program and compiling of application interface, upgrades described definite application source code.
When user carries out version updating in the application program that need to preserve server, the service-oriented device of the web page that can provide based on server or applications pages sends application program update instruction, when server receives the application program update instruction of terminal transmission, determine the application program corresponding with described application program update instruction in the application program of preserving, if now preserve a plurality of versions of this application program in server, server is determined the application source code file that version is the highest, or the application object code file that definite version is the highest, and this object code file is resolved to obtain corresponding application source code, the application source code that server obtains definite application source code file or parsing sends to terminal control terminal to enter compiling of application interface, for user based on described definite application program and compiling of application interface, upgrade described definite application code, if only only have the application file of a version, directly obtain application source code file or this object code file is resolved to obtain corresponding application source code, server sends to terminal control terminal to enter compiling of application interface the application source code getting, for user, based on described definite application program and compiling of application interface, upgrade described definite application code.In the present embodiment, can according to version number's order, preserve the source code file of identical application program and object code file, server can be determined very soon according to this order application source code and the application object code of highest version.
User is based on described definite application program and compiling of application interface, while upgrading described definite application source code, and the operation that can this source code be modified, be deleted and increase and decrease source code.
With reference to Fig. 6, Fig. 6 the present invention is based on the schematic flow sheet that terminal source code generates method the 3rd embodiment of application program.
Based on the first embodiment and the second embodiment, propose to the present invention is based on method the 3rd embodiment that terminal source code generates application program, the method also comprises in the present embodiment:
Step S50, while receiving source code update instruction, sends user profile inputting interface to terminal, for user, based on described user profile inputting interface, inputs user profile;
Step S60, when receiving the user profile of terminal transmission, verifies user profile;
Step S70, after user profile is verified, enters compilation of source code interface to terminal transmission source code control terminal, for user, based on described compilation of source code interface and source code, upgrades the source code of preserving.
For making the function of terminal abundanter, when the basic structure of new terminal more, also need the more control source code of new terminal, for example terminal has increased image display function newly, need increase and decrease to show relevant source code to image, to realize the renewal of source code, guarantee the compatibility of each application program of terminal; For guaranteeing that source code is not revealed, server is when receiving source code update instruction, to terminal, send user profile inputting interface, for user, based on described user profile inputting interface, input user profile, and when receiving the user profile of terminal transmission, user profile is verified, when being proved to be successful, this server enters compilation of source code interface to terminal transmission source code control terminal; When authentication failed, can push to terminal the information of authentication failed, to point out user to re-enter user profile, and when the number of times of authentication failed surpasses pre-set threshold value, to predetermined communication terminal, send warning message.
With reference to Fig. 7, Fig. 7 the present invention is based on the schematic flow sheet that terminal source code generates method the 4th embodiment of application program.
Based on the first embodiment to the three embodiment, propose the present invention is based on method the 4th embodiment that terminal source code generates application program, after step S20, comprise in the present embodiment:
Step S80, while receiving the application program update instruction of described terminal transmission, confirms the application program of the latest edition of preservation;
Step S90, sends the application program of confirming to described terminal.
Terminal can be when opening, can obtain to server the latest version information (as version number) of the application program of its loading, the application version information of the version information getting and preservation is compared, take and determine whether the application program of current preservation is latest edition, if the application program of current preservation is not latest edition, point out user whether to upgrade, when receiving user's confirmation, to server, send application program update instruction, when server receives the application program update instruction of described terminal transmission, determine the application program of the latest edition of preserving, and the application program of confirming to described terminal transmission.
In other variant embodiment, terminal can be added the application version number that will upgrade in application program update instruction, server resolves to obtain application version number to this application program update instruction when receiving application program update instruction, according to the version number that is applied to getting, determine corresponding application program, definite application program is sent to terminal, for terminal, according to the application program receiving, upgrade, can guarantee the compatibility of terminal.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions are with so that a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure transformation that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. based on terminal source code, generate a method for application program, it is characterized in that, comprising:
While receiving the compiling of application instruction of terminal transmission, to terminal transmission source code control terminal, enter compiling of application interface, for user, based on described source code and compiling of application interface, compile application code;
While receiving the application source code that terminal sends based on described source code and compiling of application interface, the application source code receiving is compiled to generate corresponding program codes and preserved.
2. the method for claim 1, it is characterized in that, described while receiving the compiling of application instruction that terminal sends, to terminal transmission source code control terminal, enter compiling of application interface, the step for user based on described source code and compiling of application interface compiling application code comprises:
While receiving the compiling of application instruction of terminal transmission, to terminal sending function item, select interface;
Receiving the function items selection instruction of terminal based on described function items selection interface transmission, determine user-selected function items;
According to the mapping relations of default function items and source code, obtain the corresponding source code of definite function items;
To terminal, send definite source code and control terminal enters compiling of application interface, for user based on described definite source code and compiling of application interface compiling application source code.
3. the method for claim 1, it is characterized in that, described while receiving the application source code that terminal sends based on described source code and compiling of application interface, after the application source code receiving is compiled to generate the step of corresponding program codes preservation, the method comprises:
While receiving the application program update instruction of terminal transmission, determine the application source code corresponding with described application program update instruction in the application program of preserving;
To terminal, send definite source code and control terminal enters compiling of application interface, for user, based on described definite application program and compiling of application interface, upgrade described definite application source code.
4. the method for claim 1, is characterized in that, the method also comprises:
While receiving source code update instruction, to terminal, send user profile inputting interface, for user, based on described user profile inputting interface, input user profile;
When receiving the user profile of terminal transmission, user profile is verified;
After user profile is verified, to terminal transmission source code control terminal, enter compilation of source code interface, for user, based on described compilation of source code interface and source code, upgrade the source code of preserving.
5. the method for claim 1, it is characterized in that, described while receiving the application code that terminal sends based on described source code and compiling of application interface, to the application code compiling receiving generate corresponding application program and the step of preserving after, the method comprises:
While receiving the application program update instruction of described terminal transmission, confirm the application program of the latest edition of preservation;
To described terminal, send the application program of confirming.
6. based on terminal source code, generate a system for application program, it is characterized in that, comprising:
Sending and receiving module, when receiving the compiling of application instruction that terminal sends, enters compiling of application interface to terminal transmission source code control terminal, for user based on described source code and compiling of application interface compiling application code;
Generation module, when receiving the application source code that terminal sends based on described source code and compiling of application interface, compiles to generate corresponding program codes to the application source code receiving;
Memory module, for preserving the program codes of generation.
7. method as claimed in claim 6, is characterized in that, described sending and receiving module also when receiving the compiling of application instruction that terminal sends, is selected interface to terminal sending function item; This system also comprises the first determination module and acquisition module, and described the first determination module, for receiving the function items selection instruction of terminal based on described function items selection interface transmission, is determined user-selected function items; Described acquisition module, for according to the mapping relations of default function items and source code, obtains the corresponding source code of definite function items; Described sending and receiving module also enters compiling of application interface for send definite source code control terminal to terminal, for user, based on described definite source code and compiling of application interface, compiles application source code.
8. method as claimed in claim 6, it is characterized in that, this system also comprises the second determination module, when receiving the application program update instruction that terminal sends, determines the application source code corresponding with described application program update instruction in the application program of preserving; Described sending and receiving module also enters compiling of application interface for send definite application source code control terminal to terminal, for user, based on described definite application program and compiling of application interface, upgrade described definite application source code.
9. method as claimed in claim 6, is characterized in that, described sending and receiving module also when receiving source code update instruction, sends user profile inputting interface to terminal, for user based on described user profile inputting interface input user profile; This system also comprises that authentication module, for when receiving the user profile that terminal sends, verifies user profile; Described sending and receiving module, also for after user profile is verified, enters compilation of source code interface to terminal transmission source code control terminal, for user, based on described compilation of source code interface and source code, upgrades the source code of preserving.
10. method as claimed in claim 6, is characterized in that, this system also comprise the 3rd determination module for receive described terminal and send application program update instruction time, determine the application program of the latest edition of preserving; Described sending and receiving module is also for sending the application program of confirming to described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410149070.3A CN103984541B (en) | 2014-04-14 | 2014-04-14 | Method and system based on terminal source code building application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410149070.3A CN103984541B (en) | 2014-04-14 | 2014-04-14 | Method and system based on terminal source code building application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103984541A true CN103984541A (en) | 2014-08-13 |
CN103984541B CN103984541B (en) | 2018-04-27 |
Family
ID=51276535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410149070.3A Expired - Fee Related CN103984541B (en) | 2014-04-14 | 2014-04-14 | Method and system based on terminal source code building application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103984541B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104965687A (en) * | 2015-06-04 | 2015-10-07 | 北京东方国信科技股份有限公司 | Big data processing method and apparatus based on instruction set generation |
CN112272820A (en) * | 2018-07-30 | 2021-01-26 | 欧姆龙株式会社 | Support device and support program |
CN117453202A (en) * | 2023-12-21 | 2024-01-26 | 深圳市芊熠智能硬件有限公司 | Visual function module editing method for Linux C program source code |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011494A1 (en) * | 2005-06-21 | 2007-01-11 | International Business Machines Corporation | System and method for building software package for embedded system |
CN102667717A (en) * | 2009-12-21 | 2012-09-12 | 诺基亚公司 | A method, apparatuses and a system for compilation |
CN103176774A (en) * | 2011-12-21 | 2013-06-26 | 中国移动通信集团广东有限公司 | Compiling method, compiling device and compiling system of application program |
CN103207791A (en) * | 2012-01-17 | 2013-07-17 | 深圳市宏电技术股份有限公司 | Method, system and data terminal for remote updating |
CN103677814A (en) * | 2013-11-29 | 2014-03-26 | 广州视源电子科技股份有限公司 | Program acquisition method, device and system |
-
2014
- 2014-04-14 CN CN201410149070.3A patent/CN103984541B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011494A1 (en) * | 2005-06-21 | 2007-01-11 | International Business Machines Corporation | System and method for building software package for embedded system |
CN102667717A (en) * | 2009-12-21 | 2012-09-12 | 诺基亚公司 | A method, apparatuses and a system for compilation |
CN103176774A (en) * | 2011-12-21 | 2013-06-26 | 中国移动通信集团广东有限公司 | Compiling method, compiling device and compiling system of application program |
CN103207791A (en) * | 2012-01-17 | 2013-07-17 | 深圳市宏电技术股份有限公司 | Method, system and data terminal for remote updating |
CN103677814A (en) * | 2013-11-29 | 2014-03-26 | 广州视源电子科技股份有限公司 | Program acquisition method, device and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104965687A (en) * | 2015-06-04 | 2015-10-07 | 北京东方国信科技股份有限公司 | Big data processing method and apparatus based on instruction set generation |
CN104965687B (en) * | 2015-06-04 | 2017-12-08 | 北京东方国信科技股份有限公司 | Big data processing method and processing device based on instruction set generation |
CN112272820A (en) * | 2018-07-30 | 2021-01-26 | 欧姆龙株式会社 | Support device and support program |
CN112272820B (en) * | 2018-07-30 | 2023-09-08 | 欧姆龙株式会社 | Support device and recording medium for supporting program |
CN117453202A (en) * | 2023-12-21 | 2024-01-26 | 深圳市芊熠智能硬件有限公司 | Visual function module editing method for Linux C program source code |
Also Published As
Publication number | Publication date |
---|---|
CN103984541B (en) | 2018-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331135B (en) | A kind of part interface update method, system, client and server-side | |
CN105303112B (en) | The detection method and device of component call loophole | |
US20160179495A1 (en) | Device and method for packaging application | |
CN105389177A (en) | Software version confirmation method, device and system | |
CN107729014B (en) | Page jump method and structure based on Android | |
CN105162841A (en) | Domestic appliance control method and system | |
CN103699408A (en) | Software updating method and equipment | |
CN105307195B (en) | A kind of method and device updating access point name parameter | |
CN107637110B (en) | Method for loading configuration files | |
CN109669692B (en) | Source code sharing method, server, computer readable storage medium and system | |
CN104063225A (en) | Locked screen theme development method and locked screen theme development system | |
CN105530130A (en) | Method and device for upgrading Over-The-Air downloading technology | |
CN106569863B (en) | Resource and code modularization-based android app resource updating and repairing method | |
CN103686821A (en) | Control method for application program traffic statistics according to unique identification of mobile terminal | |
CN113296742A (en) | APP data processing method and device and mobile terminal | |
CN105700900B (en) | A kind of method and device optimizing wireless lan function | |
CN103984541A (en) | Method and system for generating application procedure based on terminal source codes | |
WO2016041499A1 (en) | Application downloading method and mobile terminal | |
CN107526584B (en) | Data access method and device | |
CN106325896A (en) | Method and device for processing shared function library file of installation package | |
CN108989428B (en) | Bluetooth terminal upgrading method, server, computer readable storage medium and system | |
CN108170760B (en) | Intelligent hardware management system and equipment | |
KR101930056B1 (en) | Method and apparatus for mobile terminal management supporting security policy | |
CN106502728B (en) | Management method and device for downloading application program and electronic equipment | |
US8374593B2 (en) | Method of providing mobile application |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180427 Termination date: 20210414 |