CN107817985A - The control method and server of application program - Google Patents

The control method and server of application program Download PDF

Info

Publication number
CN107817985A
CN107817985A CN201711037386.3A CN201711037386A CN107817985A CN 107817985 A CN107817985 A CN 107817985A CN 201711037386 A CN201711037386 A CN 201711037386A CN 107817985 A CN107817985 A CN 107817985A
Authority
CN
China
Prior art keywords
version
server
user
switching command
assignment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711037386.3A
Other languages
Chinese (zh)
Inventor
沈文策
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Cnfol Information Technology Co Ltd
Original Assignee
Fujian Cnfol Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Cnfol Information Technology Co Ltd filed Critical Fujian Cnfol Information Technology Co Ltd
Priority to CN201711037386.3A priority Critical patent/CN107817985A/en
Publication of CN107817985A publication Critical patent/CN107817985A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application discloses the control method and server of a kind of application program, server obtains user's logging request, the server obtains Xian Shang version numbers according to user's logging request, the Xian Shang version numbers are used for the current version for indicating destination application to be updated, the server obtains the version number that reaches the standard grade of user's input, the version number that reaches the standard grade is used to indicate that the destination application is currently needed for the latest edition being updated to, when the server receives the switching command that the user sends, the server is supplied to the interface data of the destination application according to switching command renewal.

Description

The control method and server of application program
Technical field
The invention relates to the control method and server of the communications field, more particularly to application program.
Background technology
With the growing and popularization of internet and mobile Internet, to meet user's request and providing the user just Profit, the application APP of a large amount of offer various functions is emerged in large numbers.One APP is providing the user viability, APP exploitation Personnel can constantly optimize iteration to APP, update APP versions, preferably be serviced and brought preferably with providing the user with Experience.
APP in the process of running, it is necessary in server, especially server database support.In the prior art, APP Attendant can control APP version updatings by the application version control system of server.The application version control System processed provides the version number that reaches the standard grade that attendant of the control interface to APP inputs APP for attendant, reaches the standard grade version number to work as The preceding APP for needing to be updated to latest edition number.
During APP version updatings, attendant needs manually to go to look into using shop (such as Apple store or Android market) Ask the Xian Shang version numbers for determining the APP, Xian Shang version numbers be the APP current versions number, attendant's contrast reach the standard grade version number with Xian Shang version numbers, it is determined that after difference, input and reach the standard grade version number and click on switching restocking interface button, the control edition system receives The clicking operation of attendant and the version number that reaches the standard grade of input, renewal are supplied to APP interface data, realize APP versions more Newly.
In the prior art, it is necessary to manually go to inquire about using shop, operation when attendant determines APP Xian Shang version numbers Process is relatively complicated.
The content of the invention
The embodiment of the present application provides the control method and server of application program, and server can obtain version on line Number, version on the line using shop (such as Apple store or Android market) inquiry APP is manually removed without attendant Number, simplify operating process.
The embodiment of the present application provides a kind of control method of application program, including:
Server obtains user's logging request;
The server obtains Xian Shang version numbers according to user's logging request, and the Xian Shang version numbers treat for instruction The current version of the destination application of renewal;
The server obtains the version number that reaches the standard grade of user's input, and the version number that reaches the standard grade is used to indicate the target Application program is currently needed for the latest edition being updated to;
When the server receives the switching command that the user sends, the server is according to the switching command Renewal is supplied to the interface data of the destination application.
Optionally, before the server obtains user's logging request, methods described also includes:
The server preserves the data of the version of the destination application, and the version includes the current version And/or the latest edition;
The server-assignment first is assigned to the current version;
The server-assignment second is assigned to the latest edition.
Optionally, the server is supplied to the interface data of the destination application according to switching command renewal Including:
The server is entered as the second assignment according to the switching command renewal current version;
The server is entered as the first assignment according to the switching command renewal latest edition;
The interface data includes being entered as the data of the version of the first assignment.
Optionally, the server obtains Xian Shang version numbers according to user's logging request and included:
The server is looked into according to user's logging request from the data of the current version for being entered as the first assignment Ask the Xian Shang version numbers.
Optionally, the switching command includes the clicking operation of switching restocking interface button.
Optionally, the server is supplied to the interface data of the destination application according to switching command renewal Afterwards, methods described also includes:
The server obtains the old version number of user's input, and the old version number is used to indicate the target The old version of application program;
The old version of the destination application includes the current version;
When the server receives the second switching command that the user sends, the server is according to described second Switching command updates the interface data for being supplied to the destination application.
Optionally, the server is supplied to the interface of the destination application according to second switching command renewal Data include:
The server determines the second current version, and second current version is the version for being currently entered as the first assignment This;
The server is entered as the second assignment according to second switching command renewal, second current version;
The server is entered as the first assignment according to second switching command renewal old version.
Optionally, before the server obtains the old version number of user's input, methods described also includes:
The server obtains second user logging request;
The server obtains the second Xian Shang version numbers according to the second user logging request, version on second line Number it is used to indicate the 3rd current version of the destination application.
Optionally, the server obtains the second Xian Shang version numbers according to the second user logging request and included:
Data of the server according to the second user logging request from the current version for being entered as the first assignment Middle inquiry the second Xian Shang version numbers.
Optionally, second switching command includes the second clicking operation of switching restocking interface button.
The embodiment of the present application provides a kind of server, including:
First acquisition unit, for obtaining user's logging request;
Second acquisition unit, for obtaining Xian Shang version numbers according to user's logging request, the Xian Shang version numbers use In the current version for indicating destination application to be updated;
3rd acquiring unit, for obtaining the version number that reaches the standard grade of user's input, the version number that reaches the standard grade is used to indicate The destination application is currently needed for the latest edition being updated to;
First updating block, for when the server receives the switching command that the user sends, according to described Switching command updates the interface data for being supplied to the destination application.
Optionally, the server also includes:
Storage unit, the data of the version for preserving the destination application, the version include the current version Sheet and/or the latest edition;
First allocation unit, the current version is assigned to for distributing first;
Second allocation unit, the latest edition is assigned to for distributing second.
Optionally, first updating block includes:
First update module, for being entered as the second assignment according to the switching command renewal current version;
Second update module, for being entered as the first assignment according to the switching command renewal latest edition;
The interface data includes being entered as the data of the version of the first assignment.
Optionally, the second acquisition unit includes:
First enquiry module, for the number according to user's logging request from the current version for being entered as the first assignment According to the middle inquiry Xian Shang version numbers.
Optionally, the server also includes:
4th acquiring unit, for obtaining the old version number of user's input, the old version number is used to indicate The old version of the destination application;
The old version of the destination application includes the current version;
Second updating block, for when the server receives the second switching command that the user sends, according to The second switching command renewal is supplied to the interface data of the destination application.
Optionally, second updating block includes:
Determining module, for determining the second current version, second current version is currently to be entered as the first assignment Version;
3rd update module, for being entered as second according to second switching command renewal, second current version Assignment;
4th update module, for being entered as the first tax according to second switching command renewal old version Value.
Optionally, the server also includes:
5th acquiring unit, for obtaining second user logging request;
6th acquiring unit, for according to the second user logging request obtain the second Xian Shang version numbers, described second Xian Shang version numbers are used for the 3rd current version for indicating the destination application.
Optionally, the 6th acquiring unit includes:
Second enquiry module, for according to the second user logging request from the current version for being entered as the first assignment Data in inquire about the second Xian Shang version numbers.
The embodiment of the present application provides another server, including:
Processor, memory, input-output equipment and bus;
The processor, memory, input-output equipment are connected with the bus respectively;
The input-output equipment is used to obtain user's logging request;
The processor is used to obtain Xian Shang version numbers according to user's logging request, and the Xian Shang version numbers are used to refer to Show the current version of destination application to be updated;
The input-output equipment is additionally operable to obtain the version number that reaches the standard grade of user's input, and the version number that reaches the standard grade is used for Indicate that the destination application is currently needed for the latest edition being updated to;
The processor is additionally operable to when the input-output equipment receives the switching command that the user sends, according to The switching command renewal is supplied to the interface data of the destination application.
Optionally, the processor is additionally operable to preserve the data of the version of the destination application, and the version includes The current version and/or the latest edition;Distribution first is assigned to the current version;Distribution second be assigned to it is described most Redaction.
Optionally, the processor is specifically used for being entered as second according to the switching command renewal current version Assignment;First assignment is entered as according to the switching command renewal latest edition;The interface data includes being entered as The data of the version of first assignment.
Optionally, the processor is specifically used for according to user's logging request from current first assignment that is entered as The Xian Shang version numbers are inquired about in the data of version.
Optionally, the input-output equipment is additionally operable to obtain the old version number of user's input, the history version This number old version for being used to indicate the destination application;The old version of the destination application includes described current Version;
The processor is additionally operable to when the server receives the second switching command that the user sends, according to institute State the interface data that the renewal of the second switching command is supplied to the destination application.
Optionally, the processor is specifically used for determining the second current version, and second current version is current assignment For the version of the first assignment;Second assignment is entered as according to second switching command renewal, second current version;Root The first assignment is entered as according to second switching command renewal old version.
Optionally, the input-output unit is additionally operable to obtain second user logging request;
The processor is additionally operable to obtain the second Xian Shang version numbers, second line according to the second user logging request Upper version number is used for the 3rd current version for indicating the destination application.
Optionally, the processor is specifically used for being entered as the first tax from current according to the second user logging request The second Xian Shang version numbers are inquired about in the data of the version of value.
The embodiment of the present application provides a kind of computer program product for including instruction, when run on a computer, The computer program product includes computer software instructions, and the computer software instructions can be loaded by processor to realize The method flow of above-mentioned server.
The embodiment of the present application provides a kind of computer-readable recording medium, including instruction, when the instruction is in computer During upper operation so that computer performs the method flow of above-mentioned server.
As can be seen from the above technical solutions, the embodiment of the present application has advantages below:
After server obtains user's logging request, server obtains Xian Shang version numbers, institute according to user's logging request Shu Xianshang version numbers are used for the current version for indicating destination application to be updated, and the server obtains user's input The version number that reaches the standard grade, it is described reach the standard grade version number be used for indicate that the application program is currently needed for the latest edition being updated to, work as institute When stating server and receiving the switching command that the user sends, the server is supplied to institute according to switching command renewal The interface data of destination application is stated, realizes that APP updates, server can obtain Xian Shang version numbers, without safeguarding people The artificial Xian Shang version numbers gone using shop (such as Apple store or Android market) inquiry APP of member, simplify operating process.
Brief description of the drawings
Fig. 1 is that a kind of application version updates configuration diagram in the embodiment of the present application;
Fig. 2 is one embodiment schematic diagram of the control method of application program in the embodiment of the present application;
Fig. 3 is another embodiment schematic diagram of the control method of application program in the embodiment of the present application;
Fig. 4 is a kind of application version control system operation interface schematic diagram in the embodiment of the present application;
Fig. 5 is one embodiment schematic diagram of server in the embodiment of the present application;
Fig. 6 is that another embodiment of server in the embodiment of the present application is schematic diagram.
Embodiment
The embodiment of the present application provides the control method and server of a kind of application program, and server can be obtained on line Version number, manually gone without attendant on the line using shop (such as Apple store or Android market) inquiry APP Version number, simplify operating process.
Referring to Fig. 1, application version more new architecture includes terminal 101, server 102 and application program 103, Wherein, application program 103 is to be developed operation and the journey on operating system to complete a certain or a few items specific any Sequence, a large amount of appearance of various application programs 103, has provided the user miscellaneous service, meets the miscellaneous body of user Test, change leisure way, reading method, habits and customs of user etc..
Application program 103 can be interacted by terminal 101 and user, had visual user interface, be presented on end On end 101, after user downloads installation application program 103 in terminal 101, application program 103 is opened, user can be in terminal The operation such as inputted, clicked on, being scanned on 101 accordingly, application program 103 can make corresponding response, perform corresponding dynamic Make.
Server 102 is server corresponding to application program 103, and server 102 mainly realizes the algorithm logic of data Layer And the storage and transfer of data, interface is provided to application program 103 by server 102, to allow application program 103 to lead to Cross interface and access the data that server 102 obtains application program 103.
Application program 103 can have multiple versions, version updating be present, and the corresponding version number of each version is different Version is indicated to distinguish to show with different version numbers.Server 102 preserves the data of application program 103, and can preserve should With the data of 103 each version of program, the data of 103 1 versions of application program can also be only preserved, that is, work as application program 103 it is to be updated when, server 102 preserves the data of latest edition that application program 103 is currently needed for being updated to, and deletes former preserve The data of some current versions of application program 103, are not limited specifically herein.During 103 version updating of application program, server 102 can update interface data, to cause application program 103 to pass through the application program 103 of the interface access acquisition of server 102 Data, it is the data of latest edition, so as to realize the version updating of application program 103.
The user for being authorized to use the application version control system of server 102 can answering by server 102 APP version updatings etc. are controlled with program version control system, the application version control system of server 102 can provide Interface, the user for being authorized to use application version control system, which inputs and sent, to be instructed, and server 102 can be performed and referred to Operated corresponding to order, to control version updating of application program 103 etc..
One application program 103 can start in multiple terminals 101, and it is multiple that installation can be downloaded in a terminal 101 Application program 103, an application program 103 can correspond to multiple servers 102, and a server 102 can correspond to multiple answer With program 103, do not limit herein specifically.
Based on the more new architecture of the application version shown in above-mentioned Fig. 1, referring to Fig. 2, applying journey in the embodiment of the present application Control method one embodiment of sequence includes:
201st, server obtains user's logging request;
User can input user profile on the login interface that the application version control system of server provides, with Ask login service device application version control system, user profile can be password, can be user name or Username and password, do not limit herein specifically.The user is the user for being authorized to the application version control system, It can be the attendant or the developer of application program of the application program, can also be with special access right User, do not limit herein specifically;User can also ask login application program version control by speech recognition or image recognition System processed, is not limited specifically herein.
202nd, server obtains Xian Shang version numbers according to user's logging request;
After server gets user's logging request that above-mentioned steps 201 describe by application version control system, Server can obtain the Xian Shang version numbers of destination application to be updated, and the Xian Shang version numbers are used to indicate to be updated be somebody's turn to do The current version of destination application.
203rd, server obtains the version number that reaches the standard grade of user's input;
User can input to be updated be somebody's turn to do in the operation interface that the application version control system of server provides The version number that reaches the standard grade of destination application, the version number that reaches the standard grade are used to indicate that the destination application to be updated is currently needed for more Newly latest edition extremely;The mode of user's input can be word input or phonetic entry, not limit herein specifically.
204th, server receives the switching command that user sends;
User's input in the operation interface that the application version control system of server provides is reached the standard grade after version number, clothes Business device can receive the switching command of user's transmission.
205th, server is supplied to the interface data of destination application according to switching command renewal.
After server receives switching command, the interface for being supplied to destination application can be updated according to the switching command Data, to cause the destination application to be updated to access the number for the destination application that server obtains by interface again According to, be the latest edition that the destination application is updated to data, so as to realize the version updating of destination application.
In the embodiment of the present application, after server obtains user's logging request, server obtains according to user's logging request Xian Shang version numbers, the Xian Shang version numbers are used for the current version for indicating destination application to be updated, and the server obtains should The version number that reaches the standard grade of user's input, the version number that reaches the standard grade are used to indicate that the application program is currently needed for the latest edition being updated to, When the server receives the switching command of user transmission, the server is supplied to the target according to switching command renewal The interface data of application program, realize that APP updates, server can obtain Xian Shang version numbers, artificial without attendant The Xian Shang version numbers using shop (such as Apple store or Android market) inquiry APP are gone to, simplify operating process.
In the embodiment of the present application, user is the user for being authorized to the application version control system, can be this The attendant of application program or the developer of application program, can also be the user with special access right, specifically Do not limit herein, in subsequent embodiment, the example only using the attendant of application program as user illustrates.
In the embodiment of the present application, the developer of application program can build server by computer programming language Application version control system, application version control system can use HyperText Preprocessor (hypertext Preprocessor, PHP) structure, it can also be built using Python, do not limited herein specifically, in subsequent embodiment, only Illustrated using the example of PHP as the computer programming language of structure application version control system.Using PHP When building application version control system, a kind of PHP frameworks can be selected, can be Symfony, Laravel or Yii, have Body does not limit herein, in subsequent embodiment, is only used as the PHP frameworks of structure application version control system using Yii Example illustrates.
In the embodiment of the present application, server provides interface and accesses server by interface to application program, application program, adjusts The data for the program that is applied with interface parsing.Server can be by the data conversion of application program into JS object tags The data of (javascript object notation, JSON) form, i.e. interface are JSON data-interfaces, and server can also Number by the data conversion of application program into extensible markup language (extensible markup language, XML) form According to herein that is, interface is XML data interface, is not limited specifically, in subsequent embodiment, only using JSON data-interfaces as connecing The example of mouth illustrates.
In the embodiment of the present application, the data of application program are stored in the database of server, and the database of server can To be to be based on MySQL systems, it can also be based on DB2 systems, can also be based on SQL server systems, do not do herein specifically Limit, in subsequent embodiment, only illustrated using MySQL as the example of the Database Systems of server.Server can be with Various operations are carried out to the data of application program being stored in database by database language, operation include inquiry, change, Insertion etc., is not limited specifically herein.
In the embodiment of the present application, the data of each version of destination application can be preserved in server, can also be only The data of one version of destination application are preserved, i.e., when destination application is to be updated, server preserves intended application Program is currently needed for the data for the latest edition being updated to, and deletes the data of the former destination application current version preserved, Do not limit herein specifically, in subsequent embodiment, destination application is only preserved with server and preserves destination application The data of each version illustrate as an example.
Referring to Fig. 3, another embodiment of the control method of application program includes in the embodiment of the present application:
301st, server preserves the data of the version of destination application to be updated;
Server can preserve the data of the current version of destination application to be updated, when intended application determines have more New version, server can preserve the latest edition that destination application is currently needed for being updated to, i.e., can be protected in server There are the data of each version of destination application.
302nd, server-assignment first is assigned to current version;
Server can be by current version assignment of the database language to destination application, and server can distribute One is assigned to current version, and the first assignment can artificially be set, and can be character string or numeral, specifically herein Do not limit.First when being entered as character string, can be " version on line " or " current version ", not limit specifically.
303rd, server-assignment second is assigned to latest edition;
The latest edition assignment that server can be currently needed for being updated to by database language to destination application, clothes Business device can distribute second and be assigned to the latest edition for being currently needed for being updated to, and the second assignment can artificially be set, can be with It is character string or numeral, does not limit herein specifically.Second when being entered as character string, can be " version of reaching the standard grade ", It can be " latest edition ", not limit specifically.
There is no the execution sequencing of fixation in the present embodiment, between step 302 and step 303, step can be first carried out 302, step 303 can also be first carried out, or step 302 and 303 are performed simultaneously according to situation, do not limit herein specifically.
304th, server obtains attendant's logging request;
Login circle that the attendant of destination application can provide in the application version control system of server User profile is inputted on face, to ask the application version control system of login service device, user profile can be password, can To be user name or username and password, do not limit herein specifically;Attendant can also by speech recognition or Login application program version control system is asked in image recognition, is not limited herein specifically.
305th, server is looked into according to attendant's logging request from the data of the current version for being entered as the first assignment Xun Xianshang version numbers;
Server gets attendant's logging request of the description of above-mentioned steps 304 by application version control system Afterwards, server can by database language from the data of the current version for being entered as the first assignment version on information trunk Number, the Xian Shang version numbers are used for the current version for indicating the destination application to be updated.
In the present embodiment, server can show what is obtained in the operation interface that application version control system provides Xian Shang version numbers.
306th, server obtains the version number that reaches the standard grade of attendant's input;
Attendant can input to be updated in the operation interface that the application version control system of server provides The destination application the version number that reaches the standard grade, this reach the standard grade version number be used for indicate that the destination application to be updated currently needs The latest edition to be updated to.The mode of user's input can be word input or phonetic entry, not limit herein specifically.
307th, server receives the switching command that attendant sends;
Switching restocking interface button, attendant can be included in the operation interface that application version control system provides The switching restocking interface button can be clicked on to send switching command to server, i.e. switching command can be switching restocking interface The clicking operation of button;Switching command can also be that the phonetic entry of attendant or word input, server pass through using journey Sequence version control system receives the phonetic entry or word input, does not limit herein specifically.
308th, server is entered as the second assignment according to switching command renewal current version;
After server receives the switching command described in above-mentioned steps 308, server can be by database language more Change the assignment of the current version of destination application, server can change current version and be entered as retouching in above-mentioned steps 303 The second assignment stated.
309th, server is entered as the first assignment according to switching command renewal latest edition;
After server receives the switching command described in above-mentioned steps 308, server can be by database language more Change the assignment of the latest edition of destination application, server can change latest edition and be entered as retouching in above-mentioned steps 302 The first assignment stated.
There is no the execution sequencing of fixation in the present embodiment, between step 308 and step 309, step can be first carried out 308, step 309 can also be first carried out, or step 308 and 309 are performed simultaneously according to situation, do not limit herein specifically.
In the present embodiment, destination application can access server by JSON data-interfaces, call JSON data to connect Mouth parsing obtains the data of destination application.Server can will be entered as the data of the version of the first assignment as number of ports According to cause destination application to obtain the data of the version for being entered as the first assignment of destination application.
310th, server obtains attendant and logged off request;
Above-mentioned steps 305 to step 309 is the server after the application control system of attendant's login service device According to the instruction control targe application program update of attendant to the process for the latest edition for being currently needed for being updated to, this is completed After one process, attendant can ask to exit and this time log in, and attendant can provide in application version control system Operation interface on click on exit button or option is exited in selection, logged off application version control system with request;Dimension Shield personnel can also ask application version control system of logging off by phonetic entry, not limit herein specifically.
311st, server obtains second attendant's logging request;
Attendant can be again defeated on the login interface that the application version control system of server provides again Access customer information, with the application version control system of re-request login service device again, user profile can be password, It can be user name or username and password, not limit herein specifically;Attendant can also pass through speech recognition Or login application program version control system is asked in image recognition again again, is not limited herein specifically.
312nd, data of the server according to second attendant's logging request from the current version for being entered as the first assignment The second Xian Shang version numbers of middle inquiry;
The second attendant that server gets the description of above-mentioned steps 311 by application version control system logs in After request, server can inquire about the second line by database language from the data of the current version for being entered as the first assignment Upper version number, the second Xian Shang version numbers are used for the 3rd current version for indicating destination application.
In the present embodiment, server can show what is obtained in the operation interface that application version control system provides Second Xian Shang version numbers.
In the present embodiment, step 310 to step 312 is optional, and attendant can not also log off application program Version control system, server can continue the version updating again of the instruction control targe application program according to attendant, Do not limit herein specifically.
313rd, server obtains the old version number of attendant's input;
In the present embodiment, attendant can input target in the operation interface that application version control system provides The old version number of application program, the old version number are used for the old version for indicating destination application.The side of user's input Formula can be word input or phonetic entry, not limit herein specifically.
In the present embodiment, the current version described in above-mentioned steps 302 has been included in intended application after above-mentioned steps 309 The old version of program, the old version of the destination application of attendant input can include retouching in above-mentioned steps 302 The current version stated.
314th, server receives the second switching command that attendant sends;
Switching restocking interface button, attendant can be included in the operation interface that application version control system provides The switching restocking interface button can be again tapped on to send switching command to server again, i.e. the second switching command can be Switching restocking interface button again taps on operation again;Second switching command can also be the voice of attendant again again Input or word input, server receive the phonetic entry or word by application version control system and inputted, it is specific this Place does not limit.
315th, server determines the second current version;
After server receives the second switching command described in above-mentioned steps 314, server can determine that second is current Version, second current version are the version for being currently entered as the first assignment.
316th, server is entered as the second assignment according to the second switching command the second current version of renewal;
After server receives the second switching command described in above-mentioned steps 314, server can pass through database language Speech change destination application the second current version assignment, server can change the second current version be entered as it is above-mentioned The second assignment described in step 303.
317th, server is entered as the first assignment according to the second switching command renewal old version.
After server receives the second switching command described in above-mentioned steps 314, server can pass through database language The assignment of the old version of the destination application of speech change attendant's input, server can change the old version of input The first assignment being entered as described in above-mentioned steps 302.
There is no the execution sequencing of fixation in the present embodiment, between step 316 and step 317, step can be first carried out 316, step 317 can also be first carried out, or step 316 and 317 are performed simultaneously according to situation, do not limit herein specifically.
In the present embodiment, step 313 to step 317 is instruction control targe application program of the server according to attendant Version rollback is carried out, is renewed back to the process of old version, step 313 to step 317 is optional, and attendant can not also give Go out to instruct control targe application program to carry out version rollback, do not limit herein specifically.
In the present embodiment, step 310 to step 312 is optional, and attendant can not also log off application program Version control system, can perform step 313 after step 309, and server continues to carry out target according to the instruction of attendant The version rollback renewal of application program, is not limited specifically herein.
Refer to a kind of application version control system operation interface shown in Fig. 4, in the embodiment of the present application, target should It can be Android with the type of program or be iOS, not limit herein specifically.Attendant's login service device is answered With program version control system, into application version control system operation interface, attendant can be with selection target application The type of program, Xian Shang version numbers can be shown in application version control system operation interface, attendant can be upper The version number that reached the standard grade corresponding to the latest edition for being currently needed for being updated to is inputted after line version number, attendant inputs the version number that reaches the standard grade After can click on switching restocking interface button.
In the embodiment of the present application, after server obtains user's logging request, server obtains according to user's logging request Xian Shang version numbers, the Xian Shang version numbers are used for the current version for indicating destination application to be updated, and the server obtains should The version number that reaches the standard grade of user's input, the version number that reaches the standard grade are used to indicate that the application program is currently needed for the latest edition being updated to, When the server receives the switching command of user transmission, the server is supplied to the target according to switching command renewal The interface data of application program, realize that APP updates, server can obtain Xian Shang version numbers, artificial without attendant The Xian Shang version numbers using shop (such as Apple store or Android market) inquiry APP are gone to, simplify operating process.
The control method of the application program in the embodiment of the present application is described above, below to the embodiment of the present application In server be described, referring to Fig. 5, server one embodiment includes in the embodiment of the present application:
First acquisition unit 501, for obtaining user's logging request;
Second acquisition unit 502, for obtaining Xian Shang version numbers according to user's logging request, the Xian Shang version numbers are used for Indicate the current version of destination application to be updated;
3rd acquiring unit 503, for obtaining the version number that reaches the standard grade of user input, the version number that reaches the standard grade is used to indicate this Destination application is currently needed for the latest edition being updated to;
First updating block 504, for when the server receive the user transmission switching command when, according to the switching Instruction renewal is supplied to the interface data of the destination application.
In the present embodiment, described in the embodiment shown in flow and earlier figures 3 and Fig. 4 in server performed by each unit Server performed by method flow it is similar, here is omitted.
In the present embodiment, after first acquisition unit 501 obtains user's logging request, second acquisition unit 502 is according to the use Family logging request obtains Xian Shang version numbers, and the Xian Shang version numbers are used for the current version for indicating destination application to be updated, 3rd acquiring unit 503 obtains the version number that reaches the standard grade of user input, and the version number that reaches the standard grade is used to indicate that the application program is current The latest edition being updated to is needed, when the server receives the switching command of user transmission, the first updating block 504 The interface data of the destination application is supplied to according to switching command renewal, realizes that APP updates, server can be obtained on line Version number, manually gone without attendant on the line using shop (such as Apple store or Android market) inquiry APP Version number, simplify operating process.
In the present embodiment, the server also includes:
Storage unit 505, the data of the version for preserving the destination application, the version include the current version And/or the latest edition;
First allocation unit 506, the current version is assigned to for distributing first;
Second allocation unit 507, the latest edition is assigned to for distributing second.
In the present embodiment, the first updating block 504 is specifically used for the assignment that the current version is updated according to the switching command For the second assignment;The first assignment is entered as according to what the switching command updated the latest edition.
In the present embodiment, second acquisition unit 502 is specifically used for being entered as the from current according to user's logging request The Xian Shang version numbers are inquired about in the data of the version of one assignment.
In the present embodiment, the server also includes:
4th acquiring unit 508, for obtaining the old version number of user input, the old version number is used to indicate this The old version of destination application;
The old version of the destination application includes the current version;
Second updating block 509, for when the server receive the user transmission the second switching command when, according to this Second switching command updates the interface data for being supplied to the destination application.
In the present embodiment, the second updating block 509 is specifically used for determining the second current version, and second current version is to work as Before be entered as the version of the first assignment;The second assignment is entered as according to what second switching command updated second current version; The first assignment is entered as according to what second switching command updated the old version.
In the present embodiment, the server also includes:
5th acquiring unit 510, for obtaining second user logging request;
6th acquiring unit 511, for obtaining the second Xian Shang version numbers, second line according to the second user logging request Upper version number is used for the 3rd current version for indicating the destination application.
In the present embodiment, the 6th acquiring unit 511 is specifically used for according to the second user logging request from current assignment The second Xian Shang version numbers are inquired about in data for the version of the first assignment.
Referring to Fig. 6, server one embodiment includes in the embodiment of the present application:
The server 600 can produce bigger difference because configuration or performance are different, can include one or one with Upper central processing unit (central processing units, CPU) 601 (for example, one or more processors) and deposit Reservoir 605, one or more application program or data are stored with the memory 605.
Wherein, memory 605 can be volatile storage or persistently storage.Being stored in the program of memory 605 can wrap One or more modules are included, each module can include operating the series of instructions in server.Further, in Central processor 601 be could be arranged to communicate with memory 605, and the series of instructions in memory 605 is performed on server 600 Operation.
Server 600 can also include one or more power supplys 602, one or more wired or wireless networks Interface 603, one or more input/output interfaces 604, and/or, one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Flow performed by central processing unit 601 in the present embodiment in server 600 with shown in earlier figures 2 and Fig. 3 Method flow described in embodiment is similar, and here is omitted.
The embodiment of the present application also provides a kind of computer-readable storage medium, and the computer-readable storage medium is used to save as foregoing clothes The computer software instructions being engaged in used in device, it includes being used to perform the program designed by server.
The embodiment of the present application also provides a kind of computer program product, and the computer program product refers to including computer software Order, the computer software instructions can be loaded by processor to realize the method in earlier figures 2 and embodiment shown in Fig. 3 Flow.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the application Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Described above, above example is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to before Embodiment is stated the application is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application.

Claims (18)

  1. A kind of 1. control method of application program, it is characterised in that including:
    Server obtains user's logging request;
    The server obtains Xian Shang version numbers according to user's logging request, and the Xian Shang version numbers are to be updated for indicating Destination application current version;
    The server obtains the version number that reaches the standard grade of user's input, and the version number that reaches the standard grade is used to indicate the intended application Program is currently needed for the latest edition being updated to;
    When the server receives the switching command that the user sends, the server updates according to the switching command It is supplied to the interface data of the destination application.
  2. 2. according to the method for claim 1, it is characterised in that described before the server obtains user's logging request Method also includes:
    The server preserves the data of the version of the destination application, the version include the current version and/or The latest edition;
    The server-assignment first is assigned to the current version;
    The server-assignment second is assigned to the latest edition.
  3. 3. according to the method for claim 2, it is characterised in that the server is supplied to according to switching command renewal The interface data of the destination application includes:
    The server is entered as the second assignment according to the switching command renewal current version;
    The server is entered as the first assignment according to the switching command renewal latest edition;
    The interface data includes being entered as the data of the version of the first assignment.
  4. 4. according to the method in claim 2 or 3, it is characterised in that the server obtains according to user's logging request Version number includes in line taking:
    The server inquires about institute according to user's logging request from the data of the current version for being entered as the first assignment Shu Xianshang version numbers.
  5. 5. according to the method in any one of claims 1 to 3, it is characterised in that the switching command includes switching restocking The clicking operation of interface button.
  6. 6. according to the method for claim 3, it is characterised in that the server is supplied to according to switching command renewal After the interface data of the destination application, methods described also includes:
    The server obtains the old version number of user's input, and the old version number is used to indicate the intended application The old version of program;
    The old version of the destination application includes the current version;
    When the server receives the second switching command that the user sends, the server is according to the described second switching Instruction renewal is supplied to the interface data of the destination application.
  7. 7. according to the method for claim 6, it is characterised in that the server carries according to second switching command renewal Supplying the interface data of the destination application includes:
    The server determines the second current version, and second current version is the version for being currently entered as the first assignment;
    The server is entered as the second assignment according to second switching command renewal, second current version;
    The server is entered as the first assignment according to second switching command renewal old version.
  8. 8. the method according to claim 6 or 7, it is characterised in that the server obtains the history of user's input Before version number, methods described also includes:
    The server obtains second user logging request;
    The server obtains the second Xian Shang version numbers according to the second user logging request, and the second Xian Shang version numbers use In the 3rd current version for indicating the destination application.
  9. 9. according to the method for claim 8, it is characterised in that the server obtains according to the second user logging request The second Xian Shang version numbers are taken to include:
    The server is looked into according to the second user logging request from the data of the current version for being entered as the first assignment Ask the second Xian Shang version numbers.
  10. 10. the method according to claim 6 or 7, it is characterised in that second switching command includes switching restocking interface Second clicking operation of button.
  11. A kind of 11. server, it is characterised in that including:
    First acquisition unit, for obtaining user's logging request;
    Second acquisition unit, for obtaining Xian Shang version numbers according to user's logging request, the Xian Shang version numbers are used to refer to Show the current version of destination application to be updated;
    3rd acquiring unit, for obtaining the version number that reaches the standard grade of user's input, the version number that reaches the standard grade is described for indicating Destination application is currently needed for the latest edition being updated to;
    First updating block, for when the server receives the switching command that the user sends, according to the switching Instruction renewal is supplied to the interface data of the destination application.
  12. 12. server according to claim 11, it is characterised in that the server also includes:
    Storage unit, the data of the version for preserving the destination application, the version include the current version and/ Or the latest edition;
    First allocation unit, the current version is assigned to for distributing first;
    Second allocation unit, the latest edition is assigned to for distributing second.
  13. 13. server according to claim 11, it is characterised in that first updating block includes:
    First update module, for being entered as the second assignment according to the switching command renewal current version;
    Second update module, for being entered as the first assignment according to the switching command renewal latest edition;
    The interface data includes being entered as the data of the version of the first assignment.
  14. 14. the server according to claim 12 or 13, it is characterised in that the second acquisition unit includes:
    First enquiry module, for according to user's logging request from the data of the current version for being entered as the first assignment Inquire about the Xian Shang version numbers.
  15. 15. server according to claim 13, it is characterised in that the server also includes:
    4th acquiring unit, for obtaining the old version number of user's input, the old version number is described for indicating The old version of destination application;
    The old version of the destination application includes the current version;
    Second updating block, for when the server receives the second switching command that the user sends, according to described Second switching command updates the interface data for being supplied to the destination application.
  16. 16. server according to claim 15, it is characterised in that second updating block includes:
    Determining module, for determining the second current version, second current version is the version for being currently entered as the first assignment;
    3rd update module, for being entered as the second tax according to second switching command renewal, second current version Value;
    4th update module, for being entered as the first assignment according to second switching command renewal old version.
  17. 17. the server according to claim 15 or 16, it is characterised in that the server also includes:
    5th acquiring unit, for obtaining second user logging request;
    6th acquiring unit, for obtaining the second Xian Shang version numbers according to the second user logging request, on second line Version number is used for the 3rd current version for indicating the destination application.
  18. 18. server according to claim 17, it is characterised in that the 6th acquiring unit includes:
    Second enquiry module, for the number according to the second user logging request from the current version for being entered as the first assignment According to middle inquiry the second Xian Shang version numbers.
CN201711037386.3A 2017-10-30 2017-10-30 The control method and server of application program Pending CN107817985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711037386.3A CN107817985A (en) 2017-10-30 2017-10-30 The control method and server of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711037386.3A CN107817985A (en) 2017-10-30 2017-10-30 The control method and server of application program

Publications (1)

Publication Number Publication Date
CN107817985A true CN107817985A (en) 2018-03-20

Family

ID=61604518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711037386.3A Pending CN107817985A (en) 2017-10-30 2017-10-30 The control method and server of application program

Country Status (1)

Country Link
CN (1) CN107817985A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375923A (en) * 2018-10-26 2019-02-22 网易(杭州)网络有限公司 Change data processing method, device, storage medium, processor and server
CN111192578A (en) * 2019-12-28 2020-05-22 惠州Tcl移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN112114856A (en) * 2020-09-15 2020-12-22 北京达佳互联信息技术有限公司 Hot updating method and device
CN113656100A (en) * 2021-08-17 2021-11-16 城云科技(中国)有限公司 Interface switching method and device, electronic device and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119479A1 (en) * 2009-11-17 2011-05-19 Robert Cowie EOOBE-Application to collect information for new computer and manufacturing process
CN102098662A (en) * 2009-12-09 2011-06-15 乐金电子(中国)研究开发中心有限公司 Method and system for updating software of mobile terminal
CN102546675A (en) * 2010-12-08 2012-07-04 鸿富锦精密工业(深圳)有限公司 Software upgrading system and method
CN102790961A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Update method of application program, mobile terminal and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119479A1 (en) * 2009-11-17 2011-05-19 Robert Cowie EOOBE-Application to collect information for new computer and manufacturing process
CN102098662A (en) * 2009-12-09 2011-06-15 乐金电子(中国)研究开发中心有限公司 Method and system for updating software of mobile terminal
CN102546675A (en) * 2010-12-08 2012-07-04 鸿富锦精密工业(深圳)有限公司 Software upgrading system and method
CN102790961A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Update method of application program, mobile terminal and server

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375923A (en) * 2018-10-26 2019-02-22 网易(杭州)网络有限公司 Change data processing method, device, storage medium, processor and server
CN109375923B (en) * 2018-10-26 2022-05-03 网易(杭州)网络有限公司 Method and device for processing change data, storage medium, processor and server
CN111192578A (en) * 2019-12-28 2020-05-22 惠州Tcl移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN111192578B (en) * 2019-12-28 2023-04-07 惠州Tcl移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN112114856A (en) * 2020-09-15 2020-12-22 北京达佳互联信息技术有限公司 Hot updating method and device
CN113656100A (en) * 2021-08-17 2021-11-16 城云科技(中国)有限公司 Interface switching method and device, electronic device and computer program product

Similar Documents

Publication Publication Date Title
CN107817985A (en) The control method and server of application program
US11449774B2 (en) Resource configuration method and apparatus for heterogeneous cloud services
CN110543946B (en) Method and apparatus for training a model
CN107944773A (en) Business process control method, device and storage medium
US20140180780A1 (en) Automated incentive computation in crowdsourcing systems
CN109614238A (en) A kind of recongnition of objects method, apparatus, system and readable storage medium storing program for executing
EP3306904B1 (en) System and method for automatic recharging of a virtual resource
CN105740331A (en) Information push method and device
US20220156454A1 (en) System and method for automated content annotation workflow
CN111008754A (en) Intelligent distribution method and system for home decoration designers
US20210264320A1 (en) Constructing an ensemble model from randomly selected base learners
CN111383724A (en) Auxiliary system and method for random grouping of subjects in multi-center cooperative clinical trial
CN107464049A (en) A kind of task distribution method, device and terminal device
CN109495536A (en) Dynamic computing environment distribution for liaison centre's interaction
CN107909164A (en) O&M processing method, system, electronic equipment and computer-readable medium
Alban et al. Learning personalized treatment strategies with predictive and prognostic covariates in adaptive clinical trials
CN109543928B (en) Information output method and device
CN112396325B (en) Case processing method, case processing device, case processing medium, and electronic apparatus
CN112966968B (en) List distribution method based on artificial intelligence and related equipment
US9870588B1 (en) Methods systems and articles of manufacture for adapting a finance program to a user of the finance program
CN107992318A (en) Application program updating method, apparatus, storage medium and processor
CN110378717B (en) Method and device for outputting information
CN114021473A (en) Training method and device of machine learning model, electronic equipment and storage medium
CN108460064B (en) Method for closing, device, storage medium and the terminal of task based access control dimension
CN112929165A (en) Dynamic authorization system and method based on remote vehicle

Legal Events

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

Application publication date: 20180320