CN105893073A - Update method and system used for application program, and business server and pushing server used for updating application program - Google Patents

Update method and system used for application program, and business server and pushing server used for updating application program Download PDF

Info

Publication number
CN105893073A
CN105893073A CN201510919714.7A CN201510919714A CN105893073A CN 105893073 A CN105893073 A CN 105893073A CN 201510919714 A CN201510919714 A CN 201510919714A CN 105893073 A CN105893073 A CN 105893073A
Authority
CN
China
Prior art keywords
application program
renewal
file
update
content
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
CN201510919714.7A
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.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201510919714.7A priority Critical patent/CN105893073A/en
Publication of CN105893073A publication Critical patent/CN105893073A/en
Pending legal-status Critical Current

Links

Classifications

    • 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)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an update method and system used for an application program, and a business server and a pushing server used for updating the application program. The update method comprises the following steps: receiving an update file corresponding to contents which need to be updated in the application program of a client side from the pushing server; replacing corresponding contents in the application program with the contents which need to be updated and are contained in the update file in the application program to obtain an updated application program; and sending the updated application program to the pushing server. The embodiment of the invention can be adopted to cause the business server to finish the update of the application program under the state that business is not stopped, and the working efficiency of the server and the update rate of the server are improved.

Description

The update method of application program, service server, push server and system
Technical field
The present invention relates to computer technology, particularly relate to the update method of a kind of application program, business Server, push server and system.
Background technology
Server generally comprises the program code of multiple webpage, the journey that i.e. website is being currently used Sequence code.If needing the program code of the webpage in this website is updated, then need again Write the program code of this webpage, the operation of device the most out of service, use the program generation newly write Code replaces the original program code in this webpage, and the program code newly write is tested by technical staff, After test, obvious problem does not occurs, then can start server, and server is connected into normally In operational network, to provide the user corresponding service.
But, device out of service is generally required when the code data in server is updated Run, and the time suspended be often more than half an hour, thus bring loss to corresponding operator, And need again to write code during more new data and complete, reduce server operating efficiency and The speed of server update.
Summary of the invention
It is an object of the invention to, it is provided that a kind of method that application program is updated, and Realize service server and the push server of the method, by push server to service server Middle push need update content corresponding update file thus complete the renewal to application program, from And so that service server completes the renewal of application program when not withdrawing, improve The operating efficiency of server and the speed of server update.
According to an aspect of the present invention, it is provided that the update method of a kind of application program.Described renewal side Method includes, receiving from push server needs the content updated corresponding the application program of client Update file;Replace by the content updating the needs renewal that file includes described in described application program Corresponding contents in described application program, obtains the application program updated;Application by described renewal Program is sent to described push server.
Preferably, described update method also includes: the application program of described renewal is sent to client End.
Preferably, the described content needing to update is at least one renewal code entry, described with described The content updating the needs renewal that file includes described in application program is replaced in described application program The process of corresponding contents includes: at least one included with renewal file described in described application program Update code entry and replace the respective code item in described application program.
According to a further aspect in the invention, it is provided that the update method of a kind of application program.Described renewal Method includes, obtains the renewal file that the content needing to update in the application program of client is corresponding; The renewal file needing the content updated corresponding in described application program is sent to service server; Receive what renewal file corresponding to content based on described needs renewal obtained from described service server The application program updated.
Preferably, described update method also includes: use the application program of described renewal to replace in advance The application program being stored in presetting database.
Preferably, described described application program will need renewal file corresponding to content updated send out The process giving service server includes: the content that the needs that relatively described renewal file includes update With the corresponding contents in the described application program prestored;If the need that described renewal file includes Content to be updated is different from the corresponding contents in the described application program prestored, then by described The renewal file needing the content updated corresponding in application program is sent to service server.
According to another aspect of the invention, it is provided that the business service of a kind of renewal for application program Device.Described service server includes, updates file reception module, for receiving from push server The application program of client needs the renewal file that the content of renewal is corresponding;Update file and replace mould Block, for replacing institute by the content updating the needs renewal that file includes described in described application program State the corresponding contents in application program, obtain the application program updated;First program sending module, For the application program of described renewal is sent to described push server.
Preferably, described service server also includes: the second program sending module, for by described The application program updated is sent to client.
Preferably, the described content needing to update is at least one renewal code entry, described renewal literary composition Part replacement module is used for: with updating at least one renewal that file includes described in described application program Code entry replaces the respective code item in described application program.
According to another aspect of the invention, it is provided that the Push Service of a kind of renewal for application program Device.Described push server includes, updates file acquisition module, for obtaining the application of client Program needs the renewal file that the content of renewal is corresponding;Update file sending module, for by institute The renewal file stating the content needing to update in application program corresponding is sent to service server;Program Receiver module, for receiving based on the described content needing to update corresponding from described service server Update the application program of the renewal that file obtains.
Preferably, described push server also includes: program replacement module, be used for using described in more New application program replaces the application program being stored in advance in presetting database.
Preferably, described renewal file sending module is used for: the need that relatively described renewal file includes Content to be updated and the corresponding contents in the described application program prestored;If described renewal The content that the needs that file includes update is with the corresponding contents in the described application program prestored not With, then the renewal file needing the content updated corresponding in described application program is sent to business clothes Business device.
According to another aspect of the invention, it is provided that a kind of renewal system for application program, described Renewal system includes being provided with the terminal device of the client being updated application program, above-mentioned reality Service server and the push server of above-described embodiment offer that example provides are provided.
The update method of the application program provided according to embodiments of the present invention, service server, propelling movement Server and system, need the content updated corresponding by receiving from push server in application program Renewal file, and the content that the needs included with renewal file update replaces the phase in application program Answer content, obtain the application program updated, thus complete the renewal of application program, meanwhile, by institute The application program stating renewal is sent to the described push server renewal process with simplification subsequent server, So that service server completes the renewal of application program when not withdrawing, improve The operating efficiency of server and the speed of server update.
Accompanying drawing explanation
Fig. 1 is the flow chart of the update method of the application program illustrating according to embodiments of the present invention;
Fig. 2 is the flow chart of the update method of the application program illustrating according to embodiments of the present invention;
Fig. 3 is the flow chart of the update method of the application program illustrating according to embodiments of the present invention two;
Fig. 4 is the illustrative diagram of the renewal system illustrating application program;
Fig. 5 is the business service of the renewal for application program illustrating according to embodiments of the present invention three The logic diagram of device;
Fig. 6 is the business service of the renewal for application program illustrating according to embodiments of the present invention three The logic diagram of device;
Fig. 7 is the Push Service of the renewal for application program illustrating according to embodiments of the present invention four The logic diagram of device;
Fig. 8 is the Push Service of the renewal for application program illustrating according to embodiments of the present invention four The logic diagram of device;
Fig. 9 is the structure of the renewal system for application program illustrating according to embodiments of the present invention five Schematic diagram.
Detailed description of the invention
The inventive concept of this programme is to provide a kind of technical scheme being updated application program, By receiving, from push server, the renewal file that the content needing to update in application program is corresponding, and The content that the needs included with renewal file update replaces the corresponding contents in application program, obtains more New application program, thus complete the renewal of application program, meanwhile, by the application journey of described renewal Sequence is sent to the described push server renewal process with simplification subsequent server, so that Service server completes the renewal of application program when not withdrawing, and improves the work of server Make the speed of efficiency and server update.
Describe the exemplary embodiment of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
Fig. 1 is the flow chart of the update method of the application program illustrating according to embodiments of the present invention. Described update method is performed by the computer system including service server as shown in Figure 5.Its In, service server can be that (Java Management Extension, Java manage based on JMX Reason extension) server of framework establishment.JMX is one and plants for application program, equipment, system etc. Enter to manage the framework of function.JMX System Framework include mechanical floor (MBean: standard MBean, Dynamically MBean, open MBean and model M Bean), Agent layer (MBean Server), Distributed layer and additional management agreement.In JMX System Framework, the function and application of each layer is existing Technology, does not repeats them here.
With reference to Fig. 1, in step S110, receive the application program of client from push server and need The renewal file that content to be updated is corresponding.
Wherein, push server could be for target terminal equipment (such as mobile phone, panel computer Or notebook computer etc.) or the server of destination server propelling movement relevant information.Application program is permissible The program for realizing certain or several functions being made up of web page code.Updating file can be For updating the file of corresponding information, update in file and can include a string program code, it is possible to To include character or multiple characters etc..
Specifically, service server would generally store substantial amounts of program code, be used for providing use Client or the program code of the data of browse request, such as certain webpage are passed through in family, when user needs When browsing this webpage, webpage can be sent by corresponding client or browser to service server Request, the program code of this webpage can be sent to this client or browser by service server, should Client or browser will represent this webpage by this program code.In order to improve Consumer's Experience, industry Program code in service server can be irregularly updated, in order to carry out journey by business provider During sequence code update, service server can continue to provide service to client or browser, And do not stop service, client and push server that service server updates can be provided for, Wherein, client can be used for proposing more newly requested, and push server can be used for each business service Device pushes the data needing to update.When needing certain character, character string or the literary composition in service server When part is updated, can start this client by terminal device, client receives and shows should By the renewal homepage of program, can include updating button and cancelling button etc. in this homepage, user can point Hitting renewal button, client obtains and updates the page, can input and need to update in this renewal page Character or character string etc., or can need, beforehand through predetermined programming language, the literary composition that updates Part, then, can will need the character, character string or the file that update to be sent to push away by this client Sending server, push server can detect whether to receive in the application program that client sends in real time Need the renewal file that the content of renewal is corresponding, if receiving renewal file, then by this application journey The renewal file needing the content updated corresponding in sequence is sent to service server, and service server can Receive this renewal file, and then the process of following steps S120 can be performed, if not receiving renewal File, then push server and service server can be left intact.
In step S120, with updating described in described application program in the needs renewal that file includes Hold the corresponding contents replaced in described application program, obtain the application program updated.
Specifically, service server needs in receiving the application program that push server sends to update Renewal file corresponding to content after, the content needing to update in this renewal file can be obtained, so After, the raw content relevant to the content that these needs update can be searched in service server, search This raw content can be deleted after to, this renewal file will need the program of the content of renewal simultaneously Code is arranged on the program code position of raw content, thus service server obtains answering of renewal Use program.
In step S130, by push server described in the application program of described renewal.
Specifically, in order to make the renewal process of subsequent applications program can more simplify, update efficiency Higher, the application program of renewal can be sent to push server by service server.Push Service The application program storage that device can will update, needs when push server receives in application program again During renewal file corresponding to content updated, it can be determined that whether the application program of renewal comprises this Update the content that the needs comprised in file update, if the application program updated comprises this renewal The content that the needs comprised in file update, then can send it to service server, on performing State the process of step S110~step S130, if the application program updated does not comprises this renewal literary composition The content that the needs comprised in part update, then can send prompting message to client, to point out user Check whether this renewal file exists mistake etc..
Fig. 2 is the flow chart of the update method of the application program illustrating according to embodiments of the present invention. Described update method is performed by the computer system including push server as shown in Figure 7.
With reference to Fig. 2, in step S210, obtain the content needing to update in the application program of client Corresponding renewal file.
Wherein, application program can be by web page code form for realizing certain or several functions Program, as web page code constitute for representing the program etc. of corresponding web page.Can in application program Including some, each part may be used for realizing one or more function, such as, application Program can include for realizing user's login feature and submit to certain to believe for realization to service server The function etc. of breath.
Specifically, in order to make the program code in service server irregularly to update, and During carrying out program code renewal, service server can continue to client or browser Service is provided, the client updated for service server can be pre-set.When needs are to business When certain character, character string or file in server is updated, can be started by terminal device This client, client receives and shows the renewal homepage of application program, and user can click on this renewal Renewal button in homepage, client obtains and updates the page, can input and need in this renewal page Character to be updated or character string etc., or can need more beforehand through predetermined programming language New file, then, can will need character and/or the character string etc. that update to need by this client The renewal file that the content of renewal is corresponding is sent to push server, and push server can receive this should With renewal file corresponding to the content needing renewal in program.
In step S220, the renewal file needing the content updated corresponding in described application program is sent out Give service server.
Specifically, push server can detect whether to receive the application program that client sends in real time The renewal file that the middle content needing to update is corresponding, if receiving renewal file, then by this application The renewal file needing the content updated corresponding in program is sent to service server, service server Can receive this renewal file, and then the process of above-mentioned steps S120 can be performed, if do not received more New file, then push server and service server can be left intact.Service server receives After needing renewal file corresponding to content updated in the application program that push server sends, can To search in service server and the corresponding raw content of content needing renewal in this renewal file, This raw content can be deleted after finding, and this renewal file will need the content updated corresponding Program code be arranged on the program code position that raw content is corresponding, thus service server obtains To the application program updated.
In step S230, receive based on the described content needing to update corresponding from described service server Update the application program of the renewal that file obtains.
Specifically, in order to improve the renewal efficiency of application program, push server can be answered receiving With when program needs the renewal file of content updated, it is judged that whether the application program of renewal wraps Containing this renewal file, if the application program updated comprises this renewal file, then can be sent to To service server, to perform the process of above-mentioned steps S220~step S230, if update should With program does not comprise the content needing to update in this renewal file, then can send prompting to client Message, to point out user to check whether this renewal file exists mistake etc..To this end, service server The application program of renewal can be sent to push server.The application that push server can will update Program stores, in order to need the renewal that the content of renewal is corresponding in the follow-up application program to receiving File processes accordingly, specifically can be found in above-mentioned related content, does not repeats them here.
The update method of the application program that the embodiment of the present invention provides, by receiving from push server Application program needs the renewal file that the content of renewal is corresponding, and the needs included with renewal file The content updated replaces the corresponding contents in application program, obtains the application program updated, thus complete Become the renewal of application program, meanwhile, the application program of described renewal is sent to described Push Service Device is to simplify the renewal process of subsequent server, so that service server is not being withdrawn Complete the renewal of application program under state, improve the operating efficiency of server and server update Speed.
Embodiment two
Fig. 3 is the flow chart of the update method of the application program illustrating according to embodiments of the present invention two, Described embodiment can be considered another concrete implementation scheme that Fig. 1 and Fig. 2 combines.This enforcement The service server related in example can be based on JMX (Java Management Extension, Java administration extensions) server of framework establishment.
With reference to Fig. 3, in step S310, the more new interface that push server is passed through to preset is from client Receive the renewal file that the content needing to update in application program is corresponding.
Specifically, more new interface can be set in push server, be used for receiving client and send Renewal file, accordingly, when writing client-side program, can be by this more new interface by corresponding Program language (such as Java language etc.) be programmed in this client-side program, and client peace Can register in terminal device during dress and this corresponding client-side interface of more new interface.When needs are to industry Certain character and/or character string in business server need the content updated when being updated, and can pass through Terminal device starts this client, and clicks on the renewal button in the renewal homepage of client, client End represents the renewal page, and user can input the character or character needing to update in this renewal page String etc., or the file of renewal can be needed beforehand through predetermined programming language, input completes After, user can click on the determination button updated in the page, client obtain user's input character, Character string or file, then, find the renewal pre-set from the program code of client and connect The mark of mouth, character, character string or literary composition user inputted by the client-side interface pre-set What part was sent in push server updates the more new interface that interface identifier is corresponding, and push server can Receive this character, character string or file, and as application program needs the content pair of renewal The renewal file answered.
In step S320, push server will need the content updated corresponding in described application program Update file and be sent to service server.
Wherein, in the step content of step S320 and above-described embodiment one in the step of step S220 Hold identical, do not repeat them here.
It should be noted that in order to reduce frequently accessing or to wherein data service server Frequent amendment, the process of above-mentioned steps S320 can also be: when push server is by presetting More new interface, when client receives renewal file corresponding to content needing to update, can push The described application program prestored in server is searched related content, then, comparable described The content updating the needs renewal that file includes is corresponding to the described application program prestored interior Hold;If the content that the needs that described renewal file includes update and the described application journey prestored Corresponding contents in sequence is different, then by renewal corresponding for the content needing renewal in described application program File is sent to service server.
In step S330, service server is with updating the need that file includes described in described application program Content to be updated replaces the corresponding contents in described application program, obtains the application program updated.
Wherein, in the step content of step S330 and above-described embodiment one in the step of step S120 Hold identical, can be found in the related content of step S120.
Additionally, for service server in step S330 with updating file described in described application program Including need the content updated to replace the process of the corresponding contents in described application program can be multiple Various, two kinds of optional processing modes presented below, specifically can be found in the description below:
Mode one is complete by the content updating the needs renewal that file includes described in described application program Portion replaces the corresponding contents in described application program.
Specifically, if certain or multiple function need all to remove in application program, and it is used His function replaces, or, need the program code to certain or multiple function are corresponding to repair in a large number Change, then program code corresponding for corresponding function can be replaced with the program code needing to change, tool Body processes and comprises the steps that and can write certain respectively by predetermined program language (such as Java language etc.) Or the program code that multiple function is corresponding, after having write, can be encapsulated as this program code updating File is stored in this locality, and wherein, updating file can be made up of one or more character strings.Business takes Business device receives the renewal literary composition that the content needing to update in the application program that push server sends is corresponding After part, the raw content relevant to the content that these needs update can be searched in service server, and It is deleted, the program code needing the content updated corresponding is arranged on simultaneously in this renewal file The program code position that original content is corresponding, thus service server obtains the application of renewal Program.
Mode two, needing the content updated can be at least one renewal code entry, correspondingly, uses institute State and described in application program, update at least one renewal code entry described application journey of replacement that file includes Respective code item in sequence.
Wherein, updating code entry can be made up of one or more characters, updates code entry and can be Certain attribute item in application program, such as, the startup that boot program Program starts in function is suitable Sequence attribute item etc..
Specifically, such as, as shown in Figure 4, the function of certain in application program in service server The property value of attribute item OrderType is 1, i.e. OrderType=1, if user needs attribute The property value of item OrderType changes to 2, then can be used for by programming language such as Java will The property value of attribute item OrderType changes to 2 more new procedures, after having write, can will write Program code be sent to push server by client, push server can be by this program code It is sent to service server, after service server receives this program code, can be to this program code Resolve, obtain changing to the property value of attribute item OrderType the instruction of 2, then, Service server can by the property value of attribute item OrderType in application program by original 1 more Change 2 into, now, the OrderType=2 in application program, thus service server is updated After application program.
In step S340, the application program of described renewal is sent to described propelling movement and takes by service server Business device.
Wherein, in the step content of step S340 and above-described embodiment one in the step of step S130 Hold identical, do not repeat them here.
In order to make the renewal process of subsequent applications program more to simplify, update in hgher efficiency, industry Application program after the renewal of OrderType=2 can be sent to push server by business server. It should be noted that in order to reduce the amount of storage of data in push server, service server can obtain Take attribute item predetermined in application program and corresponding property value constitutes configuration information and is sent to push clothes Business device, can be as shown in Figure 4.Wherein, configuration information removes can be that predetermined attribute item is with corresponding Outside property value, it is also possible to be out of Memory, such as systematic parameter etc..
In step S350, the application program of described renewal is sent to client by service server.
Specifically, when client asks this application program to service server, service server can Obtain the program code of the application program updated, and send it to client.Client receives After this program code, can resolve this program code, the application program obtaining updating is corresponding The page or handling process.
In step S360, push server uses the application program of described renewal to replace and is stored in advance in Application program in presetting database.
Specifically, push server can be previously provided with database, be used for storing application program. If storage has the former application program updated before application program, then Push Service in push server Former application program in presetting database can be deleted by device, and is stored in pre-by the application program of renewal If in database.Based on above-mentioned such as the situation of configuration information in Fig. 4, push server can will configure Information is stored in presetting database.
It should be noted that above-mentioned steps S350 and step S360 are according to successively in the present embodiment Order is carried out, and in actual applications, step S350 and step S360 can also be to perform simultaneously , it is also possible to being to first carry out step S360, then perform step S350, the embodiment of the present invention is to this not It is construed as limiting.
The update method of the application program that the embodiment of the present invention provides, on the one hand, by from pushing clothes Business device receives renewal file corresponding to the content needing to update in application program or at least one and updates generation Corresponding contents in code item, and the content replacement application program that updates of needs included with renewal file, Or corresponding code entry is replaced with renewal code entry, obtains the application program updated, thus complete Become the renewal of application program, meanwhile, the application program of described renewal is sent to described Push Service Device is to simplify the renewal process of subsequent server, so that service server is not being withdrawn Complete the renewal of application program under state, improve the operating efficiency of server and server update Speed;On the other hand, the program code of the application program that request application can be updated by service server It is sent to client so that user can check the page after renewal, and, push server will The application program updated is stored in presetting database, thus improves the operating efficiency of server.
Embodiment three
Based on identical technology design, Fig. 5 be illustrate according to embodiments of the present invention three for applying The logic diagram of the service server of the renewal of program.The service server related in the present embodiment can Being based on JMX (Java Management Extension, Java administration extensions) framework establishment Server.With reference to Fig. 5, described service server includes updating file reception module 510, updating File replacement module 520 and the first program sending module 530.Wherein, file reception module is updated 510 are connected with updating file replacement module 520, update file replacement module 520 and the first journey Sequence sending module 530 is connected.
Update file reception module 510 for the application program receiving client from push server Need the renewal file that the content of renewal is corresponding.
Update file replacement module 520 for updating what file included described in described application program Need the content updated to replace the corresponding contents in described application program, obtain the application program updated.
First program sending module 530 is for being sent to described propelling movement by the application program of described renewal Server.
The service server of the renewal for application program that the embodiment of the present invention provides, by from pushing away Send the renewal file that the content needing to update in server reception application program is corresponding, and with updating literary composition The content that the needs that part includes update replaces the corresponding contents in application program, obtains the application updated Program, thus complete the renewal of application program, the application program of described renewal is sent to meanwhile Described push server is to simplify the renewal process of subsequent server, so that business service Device completes the renewal of application program when not withdrawing, improve server operating efficiency and The speed of server update.
Further, based on the embodiment shown in Fig. 5, service server as shown in Figure 6 also wraps Include: the second program sending module 540, for the application program of described renewal is sent to client.
Preferably, the described content needing to update is at least one renewal code entry, updates file and replaces Die change block 520 is used for: with updating at least one renewal that file includes described in described application program Code entry replaces the respective code item in described application program.
Further, in the embodiment of the present invention, on the one hand, by receiving application from push server The renewal file or at least one needing the content updated corresponding in program updates code entry, and with more The content that the needs that new file includes update replaces the corresponding contents in application program, or will be corresponding Code entry replace with renewal code entry, obtain the application program updated, thus complete application program Renewal, meanwhile, the application program of described renewal is sent to described push server with simplify after The renewal process of continuous server, so that service server completes when not withdrawing The renewal of application program, improves the operating efficiency of server and the speed of server update;Another Aspect, the program code of the application program that request application can be updated by service server is sent to client End so that user can check the page after renewal, and, the application that push server will update Program is stored in presetting database, thus improves the operating efficiency of server.
Embodiment four
Based on identical technology design, Fig. 7 be illustrate according to embodiments of the present invention four for applying The logic diagram of the push server of the renewal of program.With reference to Fig. 7, described push server includes Update file acquisition module 710, update file sending module 720 and program receiver module 730.Its In, update file acquisition module 710 and be connected with updating file sending module 720, update file Sending module 720 is connected with program receiver module 730.
Update file acquisition module 710 in the application program obtaining client, need the interior of renewal Hold corresponding renewal file.
Update file sending module 720 for described application program needing the content updated corresponding Renewal file be sent to service server.
Program receiver module 730 is based on described needs renewal for receiving from described service server The application program updating the renewal that file obtains that content is corresponding.
The push server of the renewal for application program that the embodiment of the present invention provides, by obtaining Application program needs the renewal file that the content of renewal is corresponding, and will described application program need The renewal file that the content of renewal is corresponding is sent to service server so that service server can be right Application program is updated, so that service server completes when not withdrawing to answer With the renewal of program, improve the operating efficiency of server and the speed of server update.
Further, based on the embodiment shown in Fig. 7, push server as shown in Figure 8 is also wrapped Include: program replacement module 740, be stored in advance in for using the application program of described renewal to replace Application program in presetting database.
Preferably, described push server also includes more new interface, described renewal file acquisition module For: receive, from client, the content needing to update described application program by described more new interface Corresponding renewal file.
It addition, the needs that renewal file sending module 720 includes for comparing described renewal file are more New content and the corresponding contents in the described application program prestored;If described renewal file Including need update content different from the corresponding contents in the described application program prestored, Then the renewal file needing the content updated corresponding in described application program is sent to service server.
Further, in the embodiment of the present invention, on the one hand, by receiving application from push server The renewal file or at least one needing the content updated corresponding in program updates code entry, and with more The content that the needs that new file includes update replaces the corresponding contents in application program, or will be corresponding Code entry replace with renewal code entry, obtain the application program updated, thus complete application program Renewal, meanwhile, the application program of described renewal is sent to described push server with simplify after The renewal process of continuous server, so that service server completes when not withdrawing The renewal of application program, improves the operating efficiency of server and the speed of server update;Another Aspect, the program code of the application program that request application can be updated by service server is sent to client End so that user can check the page after renewal, and, the application that push server will update Program is stored in presetting database, thus improves the operating efficiency of server.
Embodiment five
Based on identical technology design, Fig. 9 be illustrate according to embodiments of the present invention five for applying The structural representation of the renewal system of program.With reference to Fig. 9, described system includes being provided with application The business service that the terminal device 910 of the client that program is updated, above-described embodiment three provide The push server 930 that device 920 and above-described embodiment four provide.Wherein, 910 points of terminal device It is not connected with service server 920 and push server 930, service server 920 and propelling movement Server 930 is connected.
The renewal system for application program that the embodiment of the present invention provides, by obtaining application program Middle renewal file corresponding to content needing to update, and in described application program needing to update Hold corresponding renewal file and be sent to service server so that service server can be to application program It is updated, so that service server completes application program when not withdrawing Update, improve the operating efficiency of server and the speed of server update.
It may be noted that according to the needs implemented, each step/parts described in this application can be torn open It is divided into more multi-step/parts, it is possible to by two or more step/parts or the part of step/parts Step/parts that operational group synthesis is new, to realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as depositing Store up the software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) Or computer code, or be implemented through original storage that network downloads at remotely record medium or In nonvolatile machine readable media and the computer code in local recording medium will be stored in, from And method described here can be stored in use all-purpose computer, application specific processor or able to programme Or the such software on the record medium of specialized hardware (such as ASIC or FPGA) processes.Can To understand, computer, processor, microprocessor controller or programmable hardware include storing or Receive software or the storage assembly (such as, RAM, ROM, flash memory etc.) of computer code, when When described software or computer code are by computer, processor or hardware access and execution, it is achieved This processing method described.Additionally, when all-purpose computer accesses for realizing the process being shown in which Code time, all-purpose computer is converted to for performing the process being shown in which by the execution of code Special-purpose computer.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not Be confined to this, any those familiar with the art in the technical scope that the invention discloses, Change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, originally The protection domain of invention should be as the criterion with described scope of the claims.

Claims (13)

1. the update method of an application program, it is characterised in that described update method includes:
The renewal that the content needing to update the application program of client is corresponding is received from push server File;
Described answering is replaced by the content updating the needs renewal that file includes described in described application program With the corresponding contents in program, obtain the application program updated;
The application program of described renewal is sent to described push server.
Update method the most according to claim 1, it is characterised in that described update method is also Including:
The application program of described renewal is sent to client.
Update method the most according to claim 1, it is characterised in that described needs update Content is at least one renewal code entry,
The content that the described needs included with renewal file described in described application program update replaces institute The process stating the corresponding contents in application program includes:
At least one renewal code entry included with renewal file described in described application program replaces institute State the respective code item in application program.
4. the update method of an application program, it is characterised in that described update method includes:
Obtain the renewal file that the content needing to update in the application program of client is corresponding;
The renewal file needing the content updated corresponding in described application program is sent to business service Device;
The renewal file received based on the described content needing to update is corresponding from described service server obtains The application program of the renewal arrived.
Update method the most according to claim 4, it is characterised in that described update method is also Including:
The application program using described renewal replaces the application program being stored in advance in presetting database.
Update method the most according to claim 4, it is characterised in that described by described application The renewal file needing the content updated corresponding in program is sent to the process of service server and includes:
The content of the needs renewal that relatively described renewal file includes and the described application journey prestored Corresponding contents in sequence;
If the content that the needs that described renewal file includes update and the described application journey prestored Corresponding contents in sequence is different, then by renewal corresponding for the content needing renewal in described application program File is sent to service server.
7. the service server for the renewal of application program, it is characterised in that described business Server includes:
Update file reception module, need for the application program receiving client from push server The renewal file that content to be updated is corresponding;
Update file replacement module, for updating the need that file includes described in described application program Content to be updated replaces the corresponding contents in described application program, obtains the application program updated;
First program sending module, takes for the application program of described renewal is sent to described propelling movement Business device.
Service server the most according to claim 7, it is characterised in that described business service Device also includes:
Second program sending module, for being sent to client by the application program of described renewal.
Service server the most according to claim 7, it is characterised in that described needs updates Content be at least one renewal code entry,
Described renewal file replacement module is used for:
At least one renewal code entry included with renewal file described in described application program replaces institute State the respective code item in application program.
10. the push server of renewal for application program, it is characterised in that described in push away Server is sent to include:
Update file acquisition module, in the application program obtaining client, need the content updated Corresponding renewal file;
Update file sending module, for described application program needing the content updated corresponding Update file and be sent to service server;
Program receiver module, for receiving based in described needs renewal from described service server Hold the corresponding application program updating the renewal that file obtains.
11. push server according to claim 10, it is characterised in that described propelling movement takes Business device also includes:
Program replacement module, for using the application program replacement of described renewal to be stored in advance in default Application program in database.
12. push server according to claim 10, it is characterised in that described renewal literary composition Part sending module is used for:
The content of the needs renewal that relatively described renewal file includes and the described application journey prestored Corresponding contents in sequence;If the content that needs that described renewal file includes update with prestore Described application program in corresponding contents different, then in described application program needing to update Hold corresponding renewal file and be sent to service server.
13. 1 kinds of renewal systems for application program, it is characterised in that described renewal system bag Include to be provided with in the terminal device of the client that application program is updated, claim 7-9 and appoint Push server according to any one of one described service server and claim 10-12.
CN201510919714.7A 2015-12-11 2015-12-11 Update method and system used for application program, and business server and pushing server used for updating application program Pending CN105893073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510919714.7A CN105893073A (en) 2015-12-11 2015-12-11 Update method and system used for application program, and business server and pushing server used for updating application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510919714.7A CN105893073A (en) 2015-12-11 2015-12-11 Update method and system used for application program, and business server and pushing server used for updating application program

Publications (1)

Publication Number Publication Date
CN105893073A true CN105893073A (en) 2016-08-24

Family

ID=57002920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510919714.7A Pending CN105893073A (en) 2015-12-11 2015-12-11 Update method and system used for application program, and business server and pushing server used for updating application program

Country Status (1)

Country Link
CN (1) CN105893073A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569844A (en) * 2016-09-23 2017-04-19 北京五八信息技术有限公司 Processing method, processing device and equipment for program code update
CN107196848A (en) * 2017-05-09 2017-09-22 腾讯科技(深圳)有限公司 Information push method and device
CN107273172A (en) * 2017-07-14 2017-10-20 银联商务有限公司 A kind of data handling system based on business packet, method and device
CN107276838A (en) * 2017-08-18 2017-10-20 无锡江南影视传播有限公司 A kind of user interface display control method, apparatus and system
CN107390983A (en) * 2017-04-28 2017-11-24 阿里巴巴集团控股有限公司 Service order performs method, client and storage medium
CN108021408A (en) * 2016-11-01 2018-05-11 阿里巴巴集团控股有限公司 Upgrade method and device
CN108111551A (en) * 2016-11-23 2018-06-01 北京国双科技有限公司 Connection processing method and device
CN108196908A (en) * 2017-12-29 2018-06-22 北京五八信息技术有限公司 A kind of method, apparatus, equipment and computer readable storage medium for updating APP
CN110413262A (en) * 2019-07-23 2019-11-05 北京启迪区块链科技发展有限公司 A kind of management method of business function, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8527992B2 (en) * 2009-09-30 2013-09-03 Sap Ag HTTP request preservation
CN103581182A (en) * 2013-10-30 2014-02-12 汉柏科技有限公司 Web message releasing method and device
CN104104707A (en) * 2013-04-12 2014-10-15 腾讯科技(深圳)有限公司 Webpage data update method, terminal, cache server and system
CN104809019A (en) * 2015-05-19 2015-07-29 郑州悉知信息技术有限公司 Web page code publishing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8527992B2 (en) * 2009-09-30 2013-09-03 Sap Ag HTTP request preservation
CN104104707A (en) * 2013-04-12 2014-10-15 腾讯科技(深圳)有限公司 Webpage data update method, terminal, cache server and system
CN103581182A (en) * 2013-10-30 2014-02-12 汉柏科技有限公司 Web message releasing method and device
CN104809019A (en) * 2015-05-19 2015-07-29 郑州悉知信息技术有限公司 Web page code publishing method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569844A (en) * 2016-09-23 2017-04-19 北京五八信息技术有限公司 Processing method, processing device and equipment for program code update
CN106569844B (en) * 2016-09-23 2020-05-12 北京五八信息技术有限公司 Processing method, device and equipment for updating program code
CN108021408A (en) * 2016-11-01 2018-05-11 阿里巴巴集团控股有限公司 Upgrade method and device
CN108111551A (en) * 2016-11-23 2018-06-01 北京国双科技有限公司 Connection processing method and device
CN107390983A (en) * 2017-04-28 2017-11-24 阿里巴巴集团控股有限公司 Service order performs method, client and storage medium
CN107196848A (en) * 2017-05-09 2017-09-22 腾讯科技(深圳)有限公司 Information push method and device
CN107196848B (en) * 2017-05-09 2018-09-04 腾讯科技(深圳)有限公司 Information push method and device
CN107273172A (en) * 2017-07-14 2017-10-20 银联商务有限公司 A kind of data handling system based on business packet, method and device
CN107276838A (en) * 2017-08-18 2017-10-20 无锡江南影视传播有限公司 A kind of user interface display control method, apparatus and system
CN108196908A (en) * 2017-12-29 2018-06-22 北京五八信息技术有限公司 A kind of method, apparatus, equipment and computer readable storage medium for updating APP
CN110413262A (en) * 2019-07-23 2019-11-05 北京启迪区块链科技发展有限公司 A kind of management method of business function, apparatus and system

Similar Documents

Publication Publication Date Title
CN105893073A (en) Update method and system used for application program, and business server and pushing server used for updating application program
CN106569783B (en) Method and device for executing task script
US8381181B2 (en) Updating a workflow when a user reaches an impasse in the workflow
CN104572114B (en) A kind of binding device, using updating device and method
KR101547194B1 (en) Method and application for managing cookie-information
CN109656889B (en) File system implementation method, device, equipment and storage medium based on block chain
CN111596965A (en) Project engineering initialization method, device, computer equipment and storage medium
US11176169B2 (en) Recommending visual and execution templates to enable automation of control and data exploration across systems
US8176097B2 (en) Maintaining data coherency within related multi-perspective user interfaces via session-less queries
CN105205072B (en) The methods of exhibiting and system of webpage information
EP3738047B1 (en) Interactive and non-interactive execution and rendering of templates to automate control and exploration across systems
CN105335132A (en) Method, apparatus and system for user-defined application function
CN108055320A (en) Processing method, terminal device and the computer readable storage medium of resource downloading
US11824717B2 (en) Multi-region virtual data center template
US9703848B2 (en) Caching linked queries for optimized compliance management
CN105094857A (en) Method and system used for loading applications
CN109101429B (en) Method and device for debugging browser page of set top box
CN104461509A (en) Information interaction framework and method
CN105893445A (en) Data processing method, server and terminal device
CN113010811B (en) Webpage acquisition method and device, electronic equipment and computer readable storage medium
JP2007264027A (en) Learning system, and history information managing method therefor
EP3762821B1 (en) Neural network systems and methods for application navigation
JP5659737B2 (en) Server apparatus and program
US8655910B1 (en) Methods and systems for coupling client-side and server-side persistence frameworks
US20240231838A1 (en) Methods for generating configuration data packet and file, processing method, device and medium

Legal Events

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

Application publication date: 20160824

WD01 Invention patent application deemed withdrawn after publication