The content of the invention
The embodiment of the present application provides the update method of application program, device and electronic equipment in client, it is intended to realizes
Accurately and efficiently application program update.
The embodiment of the present application uses following technical proposals:
In a first aspect, the embodiment of the present application provides a kind of update method of application program in client, including:
To service server initiating business request, and the service request response message that the service server returns is received,
The service request response message includes the version identifier of the first version of application program in client, and the first version is
The minimum version for the application program that the service server allows;
According to the service request response message, when first version and the version identifier of the second edition represent that the second edition is low
When first version, according to the third edition, this is updated to the application program;Wherein, the second edition be the application program more
Version before new, third edition sheet are not less than first version.
Preferably, in the method for the first aspect that the embodiment of the present application provides, the version identifier of first version, by
The gateway of the service server side is write in the head response of the service request response message corresponding with the service request.
Preferably, the embodiment of the present application provide first aspect method in, according to the third edition this to the application
Before program is updated, methods described also includes:
The version of the third edition sheet of the application program is obtained from the renewal administrative center corresponding with the application program
Mark;Wherein, the version identifier of third edition sheet and first version represents that third edition sheet is not less than first version.
Preferably, in the method for the first aspect that the embodiment of the present application provides, according to the third edition, this applies journey to described
Sequence is updated, including:
The renewal installation kit of third edition sheet is pulled from the renewal administrative center;
The renewal installation kit according to third edition sheet updates the application program.
Preferably, in the method for the first aspect that the embodiment of the present application provides, according to the third edition, this applies journey to described
After sequence is updated, methods described also includes:
When this is updated unsuccessfully to the application program according to the third edition, turkey is recorded to improper update and arranged
In table;
Then to service server initiating business request, specifically include:
When entering the application program, if record has the turkey in the improper update list, to business
Server initiating business request, to be updated to the application program.
Preferably, in the method for the first aspect that the embodiment of the present application provides, if remembering in the improper update list
Record has the turkey, then to service server initiating business request, after being updated to the application program, institute
Stating method also includes:
If this is updated success to the application program according to the third edition, by the turkey from the exception more
Deleted in new list.
Preferably, in the method for the first aspect that the embodiment of the present application provides, in the service request response message also
Include the information of online address, methods described also includes:
When this is updated unsuccessfully to the application program according to the third edition, the business is accessed by online address and taken
Business device.
Preferably, in the method for the first aspect that the embodiment of the present application provides, the version identifier includes application management
Mark,
Then according to the service request response message, when first version and the version identifier of the second edition represent the second edition
During less than first version, according to the third edition, this is updated to the application program, including:
According to the service request response message, when the application management mark in first version and the second edition represents second
When version is less than first version, the application program is updated according to the application management information of third edition sheet;Wherein, the 3rd
Application management mark in version and first version represents that third edition sheet is not less than first version.
Preferably, in the method for the first aspect that the embodiment of the present application provides, in the application management according to third edition sheet
Before information is updated to the application program, methods described also includes:
The version that third edition sheet is obtained using subcenter from the renewal administrative center corresponding with the application program
Application management mark in mark;Wherein, the application management mark of third edition sheet and first version represents that the third edition is originally not less than
First version.
Preferably, in the method for the first aspect that the embodiment of the present application provides, the version identifier also includes installation kit
Management mark,
Then after being updated according to the application management information of third edition sheet to the application program, methods described is also wrapped
Include:
When the installation kit management mark in first version and the second edition represents that the second edition is less than first version, according to
The installation kit of third edition sheet is updated to the application program;Wherein, the installation kit management in third edition sheet and first version
Mark represents that third edition sheet is not less than first version.
Preferably, in the method for the first aspect that the embodiment of the present application provides, in the installation kit pair according to third edition sheet
Before the application program is updated, methods described also includes:
The installation in the version identifier of third edition sheet is obtained from the installation kit management subcenter in the renewal administrative center
Assure reason mark;Wherein, the installation kit management mark of third edition sheet and first version represents that third edition sheet is not less than first version.
Second aspect, the embodiment of the present application also provide a kind of update method of application program in client, including:
Service server receives the service request that client is initiated, and returns to service request response letter to the client
Breath, the service request response message include the version identifier of the first version of application program in client, the first edition
The minimum version of this application program allowed for the service server.
Preferably, in the method for the second aspect that the embodiment of the present application provides, client hair is received in service server
Before the service request risen, methods described also includes:
In the gateway of service server, the version identifier of first version is configured relative with the service request
In the parameter answered.
Preferably, in the method for the third aspect that the embodiment of the present application provides, service request is returned to the client
Response message, including:
The version identifier of first version is write to the service request response message corresponding with the service request
In head response, wherein, the version identifier of the first version is configured in the parameter corresponding with the service request.
The third aspect, the embodiment of the present application provide a kind of updating device of application program in client, applied to client,
Including:
Service request initiation module, to service server initiating business request;
Response message receiving module, receives the service request response message that the service server returns, and the business please
Response message is asked to include the version identifier of the first version of application program in client, the first version takes for the business
The minimum version for the application program that business device allows;
Program update module, according to the service request response message, when first version and the version identifier of the second edition
When representing that the second edition is less than first version, according to the third edition, this is updated to the application program;Wherein, the second edition is
Version before the application program update, third edition sheet are not less than first version.
Fourth aspect, the embodiment of the present application provide a kind of updating device of application program in client, are taken applied to business
Business device, including:
Service request receiving module, receive the service request that client is initiated;
Response message sending module, service request response message, the service request response letter are returned to the client
Breath includes the version identifier of the first version of application program in client, and the first version allows for the service server
The application program minimum version.
Preferably, in the device for the fourth aspect that the embodiment of the present application provides, in addition to:
Gateway configuration module, in the gateway of service server, by the configuration of the version identifier of first version with institute
State in the corresponding parameter of service request.
5th aspect, the embodiment of the present application provides a kind of electronic equipment, applied to client, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed
Manage device and perform following operate:
To service server initiating business request, and the service request response message that the service server returns is received,
The service request response message includes the version identifier of the first version of application program in client, and the first version is
The minimum version for the application program that the service server allows;
According to the service request response message, when first version and the version identifier of the second edition represent that the second edition is low
When first version, according to the third edition, this is updated to the application program;Wherein, the second edition be the application program more
Version before new, third edition sheet are not less than first version.
6th aspect, the embodiment of the present application provides another electronic equipment, applied to service server, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed
Manage device and perform following operate:
Service server receives the service request that client is initiated, and returns to service request response letter to the client
Breath, the service request response message include the version identifier of the first version of application program in client, the first edition
The minimum version of this application program allowed for the service server.
Above-mentioned at least one technical scheme that the embodiment of the present application uses can reach following beneficial effect:
In the embodiment of the present application, the version identifier of first version is added in service request response message, to reflect industry
The minimum version for the application program that business server allows.Therefore, when the current version (i.e. the second edition) of client application
Less than service server allow minimum version (i.e. first version) when, can by application program updating extremely be not less than first version
Third edition sheet, so as to realize the renewal of application program in client.The scheme provided using the embodiment of the present application, only needs to change
The version identifier of the minimum version write in service request response message, it becomes possible to after adjusting the application program update in client
The floor level of version, so as to accurately and efficiently control the more redaction of application program in client, meet user and industry
The demand of business platform.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application provides is described in detail.
Shown in Figure 1, the embodiment of the present application provides a kind of update method of application program in client, suitable for visitor
Family side, may particularly include:
S101:To service server initiating business request;
S103:The service request response message that service server returns is received, service request response message includes client
The version identifier of the first version of application program on end, first version are the minimum version for the application program that service server allows
This;
S105:According to service request response message, when first version and the version identifier of the second edition represent the second edition
During less than first version, by application program update to third edition sheet;Wherein, the second edition is the version before application program update,
Third edition sheet is not less than first version.
Ground is corresponded, after service server receives the service request that client is initiated, returning to business to client please
Response message is sought, service request response message includes the version identifier of the first version of application program in client, the first edition
The minimum version of this application program allowed for service server, so that client is updated to application program.
In the embodiment of the present application, the version identifier of first version is added in service request response message, to reflect industry
The minimum version for the application program that business server allows.Therefore, when the current version (i.e. the second edition) of client application
Less than service server allow minimum version (i.e. first version) when, can by application program updating extremely be not less than first version
Third edition sheet, so as to realize the renewal of application program in client.The scheme provided using the embodiment of the present application, only needs to change
The version identifier of the minimum version write in service request response message, it becomes possible to after adjusting the application program update in client
The floor level of version, so as to accurately and efficiently control the more redaction of application program in client, meet user and industry
The demand of business platform.
It should be noted that the version identifier of above-mentioned each version of application program, can reflect that the priority of each version issue is suitable
Sequence.Alleged first version in above-described embodiment, the minimum version for the application program that service server is allowed is taken as, represents industry
Business server would not allow for application program of the issuing time before first version to be continuing with, and require user by client
Application program update to the version issued after first version.Also, the current version of application program is (namely using journey
Version before sequence renewal, the i.e. second edition) it is less than first version, represent that the second edition is the version older than first version, issue
Before first version.
It should also be noted that, version identifier can use letter, numeral or other characters etc. independently to represent or carry out group
Close, by the size of version identifier or order reflection the new and old of version, height, issuing time the information such as priority.Above-mentioned
In embodiment, when first version and the version identifier of the second edition represent that the second edition is less than first version, by application program
The third edition sheet not less than first version is updated to, to meet business demand.
Specifically, the version identifier of the above-mentioned first version being embedded in service request response message, can be taken by business
The gateway of business device is configured in the head response of the service request response message corresponding with service request.In the specific implementation, may be used
To be configured in advance in gateway, the lower configuration custom parameter of specified services request, the data of version identifier are write in a gateway
In the head response for entering response message, to reflect the minimum version of application program that service server it is expected or allowed client to use
This.
The version identifier of minimum version is transmitted in this way, is sent out dependent on client by gateway to service server
The service request risen (can be specially RPC, full name Remote Procedure Call Protocol, be translated into remote procedure call
Agreement) itself, the head response corresponding with service request is directly configured in gateway, without all being carried out each into before applying
Preposition detection is to determine whether the current version of client is latest edition, so as to avoid this unnecessary mandatory detection institute
The problem of caused service request wastes.Also, the cost of system configuration is reduced, saves network traffics, and can be accurate
The information of true transmission version, and then enable to application program accurately to upgrade to desired version.In addition, when should
Gone wrong with the installation kit of program or business break down when, only the version identifier of the new minimum version allowed need to be write
Enter head response, you can so that application program, which is timely updated to, meets expected new version, so as to efficiently be answered
With the issue and renewal of program.
In the above-described embodiments, the version identifier of third edition sheet and the installation kit needed for more new application, may be from
Update administrative center.Specifically, before by application program update to third edition sheet, the method for above-described embodiment can also wrap
Include:The version identifier of the third edition sheet of application program is obtained from renewal administrative center.Then, performing application program update to the
During the step of three versions, can be specially:When the version identifier of third edition sheet and first version represents that third edition sheet is not less than first
During version, by application program update to third edition sheet.More specifically, can be according to the application program obtained from renewal administrative center
Third edition sheet, by application program update to third edition sheet by the way of synchronized update.
Can be specially from more it should be noted that obtaining the third edition this when of application program from renewal administrative center
New management center pulls the renewal installation kit of third edition sheet, and then can install the renewal installation kit of third edition sheet so that application
Program is updated to third edition sheet.
The foregoing describing will when the current version (i.e. the second edition) of application program is less than expectation version (first version)
Application program update is extremely not less than the process for the third edition sheet for it is expected version.And work as application program update to this failure of the third edition
When, turkey can be recorded into improper update list;And then it can judge that improper update arranges when entering application program
Whether turkey is recorded in table, if record has turkey in improper update list, can perform step S101 to business
Server initiating business request, so as to by application program update to third edition sheet.In the case, if successfully by application program
Third edition sheet is updated to, then turkey can be deleted from improper update list.
As a preferred scheme in the above embodiments of the present application, if application program update is to the third edition, this when, fails,
Client can by configuring and being stored in the online address access service server in the configuration information of client in advance, from
And can when application program update fails, still traffic affecting is not carried out persistently, be advantageous to lifted Consumer's Experience.
In some scenarios, the application management information of application program and installation kit management information can manage respectively, also may be used
With unified management.Wherein, application management information can reflect the entrance configuration information of application program, and service server should in issue
During with the different editions of program, above-mentioned entrance configuration information may be changed, therefore, the entrance configuration information of application program also can
Different versions be present, the application management mark of reflection application management information different editions also just becomes the version of application program
The necessary component of mark.On this basis, shown in Figure 2, then above-mentioned steps S103 is according to service request response message,
When first version and the version identifier of the second edition represent that the second edition is less than first version, by application program update to the 3rd
Version, it may particularly include:
S1051:According to service request response message, when the application management mark in first version and the second edition represents the
When two versions are less than first version, the application management information of application program is updated to third edition sheet;Wherein, third edition sheet and
Application management mark in one version represents that third edition sheet is not less than first version.
Further, can be first from renewal before the application management information of application program is updated into third edition sheet
The application management in the version identifier that third edition sheet is obtained using subcenter in administrative center identifies.Then answering application program
Third edition sheet is updated to management information, can be specially:When the application management mark of first version and third edition sheet represents the 3rd
When version is not less than first version, the application management information of application program is updated to third edition sheet.
It should be noted that in practical business system, the installation kit of certain applications program is by updating in administrative center
Directly issued using subcenter, and the installation kit of certain applications program is born by the installation kit management subcenter updated in administrative center
Duty issues.In this case, the version identifier of application program also needs to include installation kit management mark, is stored in for reflecting
The different editions of each installation kit in installation kit management subcenter.
For needing to pull the application program that installation kit is updated from installation kit management subcenter, by application program
Application management information is updated to after third edition sheet, shown in Figure 3, and the method for embodiment also includes:
S1053:When the installation kit management mark in first version and the second edition represents that the second edition is less than first version
When, the installation kit of application program is updated to third edition sheet;Wherein, the installation kit management mark in third edition sheet and first version
Represent that third edition sheet is not less than first version.
More specifically, before the installation kit of application program is updated into third edition sheet, can be first from renewal administrative center
In installation kit management subcenter obtain third edition sheet version identifier in installation kit management mark, then by the peace of application program
Dress bag is updated to third edition sheet, can be specially:When the installation kit management mark of first version and third edition sheet represents third edition sheet
During not less than first version, the installation kit of application program is updated to third edition sheet.
With the update method of above-mentioned client-side accordingly, the embodiment of the present application additionally provides to be applied in a kind of client
The update method of program, suitable for service server side, it may particularly include:
Service server receives the service request that client is initiated, and returns to service request response message, industry to client
Business request response message includes the version identifier of the first version of application program in client, and first version is service server
The minimum version of the application program of permission.
It is highly preferred that in the gateway of service server, by the version identifier configuration of first version with the industry
Business is asked in the head response of corresponding service request response message.
The version identifier of minimum version is transmitted in this way, is sent out dependent on client by gateway to service server
The service request risen (can be specially RPC, full name Remote Procedure Call Protocol, be translated into remote procedure call
Agreement) itself, the head response corresponding with service request is directly configured in gateway, without all being carried out each into before applying
Preposition detection is to determine whether the current version of client is latest edition, so as to avoid this unnecessary mandatory detection institute
The problem of caused service request wastes.Also, the cost of system configuration is reduced, saves network traffics, and can be accurate
The information of true transmission version, and then enable to application program accurately to upgrade to desired version.In addition, when should
Gone wrong with the installation kit of program or business break down when, only the version identifier of the new minimum version allowed need to be write
Enter head response, you can so that application program, which is timely updated to, meets expected new version, so as to efficiently be answered
With the issue and renewal of program.
Shown in Figure 4, one or more embodiments that present specification provides are related to client and business service
Device.More specifically, client-side can be subdivided into page front end and bottom container, service server side can be subdivided into business clothes
Business device and preposition gateway.When to service server initiating business request, by container JSAPI, (JS is applied client for front end
Routine call interface) triggering RPC (remote procedure call protocol), and then container initiates RPC by gateway to service server.Industry
The service request response message that business server returns to client when being sent via gateway, gateway according in the case where specifying RPC in advance
The custom parameter (version identifier of minimum version allowed is embodied as in the embodiment of the present application) first configured, such as in Fig. 5
Shown entitled operationTYPE self-defined return parameters, above-mentioned make by oneself is added into above-mentioned service request response message
Adopted parameter, you can allow service server the version identifier of the minimum version of application program to add service request response letter
Breath, sends to client.
Client, will be minimum after the service request response message for including the version identifier for allowing minimum version is received
The version identifier of version extracts, the version identifier of the version (i.e. the second edition) for the application program being currently installed on client
It is compared, it is shown in Figure 5.If current version not less than allow minimum version, can not do any renewal or with
Relevant prompting is updated, directly ignores the revision identification information in this service request response message, and only processing business is related
Information.And if current version needs to trigger the renewal to application program less than the minimum version allowed.
Specifically, when being updated to application program, the mode of synchronized update can be taken:Obtained from renewal administrative center
The version identifier of the application program of storage is taken, if the version identifier of third edition sheet represents third edition sheet not less than minimum version (i.e.
First version), then directly pull the renewal installation kit of third edition sheet, the renewal installation of installation third edition sheet from renewal administrative center
Bag, just can be by application program update to third edition sheet.It is shown in Figure 5, if synchronized update fails, turkey can be recorded
Into improper update list, to trigger synchronized update when entering application program next time.
More preferably, it is shown in Figure 5, when updating failure, if client is configured with for emergency access service server
Online address (onlineURL i.e. in figure), then client can pass through this online address access service server.
The version identifier of each version of application program, depending on the different and different of Application Type.If the installation of application program
Bag is by updating directly being issued using subcenter in administrative center, then the version identifier of this kind of application program only includes application management
Mark (" applying center version " as shown in Figure 6);If the installation kit of application program is by updating the installation kit in administrative center
Management subcenter is responsible for issuing, then the version identifier of this kind of application program (alleged Nebula applications in such as Fig. 6) is removed and included
It is outer to state application management mark, in addition to installation kit management mark (" Nebula versions " as shown in Figure 6).
The update mode of above-mentioned two classes application program is otherwise varied.Specifically, when implementing to update, first from more new management
Application subcenter in the heart, which obtains, meets the expected application management mark for requiring the third edition sheet (i.e. not less than minimum version), so
The application management information using third edition sheet in subcenter is pulled afterwards, so as to which the application management information of application program is updated into
Three versions.Then, the type of application program need to be judged, if Nebula applications (namely by updating the installation in administrative center
Assure the application program that reason subcenter is responsible for issuing installation kit), then obtained from the installation kit management subcenter in renewal administrative center
The installation kit management mark (i.e. the version identifier of third edition sheet) for meeting anticipated release is taken, and then by the installation kit of application program more
Newly to third edition sheet.
In one or more embodiments of present specification, first version is added in service request response message
Version identifier, to reflect the minimum version of the application program of service server permission.Therefore, working as when client application
, can be by application program liter when preceding version (i.e. the second edition) is less than minimum version (i.e. the first version) that service server allows
Level is to the third edition sheet for being not less than first version, so as to realize the renewal of application program in client.Using the embodiment of the present application
The scheme of offer, it need to only change the version identifier of the minimum version write in service request response message, it becomes possible to adjust client
The floor level of version after application program update on end, so as to accurately and efficiently control application program in client
More redaction, meets the needs of user and business platform.
Shown in Figure 7, the embodiment of the present application also provides a kind of updating device of application program in client, applied to visitor
Family end, including:
Service request initiation module 101, to service server initiating business request;
Response message receiving module 103, receive the service request response message that the service server returns, the business
Request response message includes the version identifier of the first version of application program in client, and the first version is the business
The minimum version for the application program that server allows;
Program update module 105, according to the service request response message, when first version and the version mark of the second edition
When knowledge represents that the second edition is less than first version, by the application program update to third edition sheet;Wherein, the second edition is described
Version before application program update, third edition sheet are not less than first version.
Shown in Figure 8, the embodiment of the present application also provides a kind of updating device of application program in client, applied to industry
Business server, including:
Service request receiving module 201, receive the service request that client is initiated;
Response message sending module 203, service request response message, the service request response are returned to the client
Information includes the version identifier of the first version of application program in client, and the first version is that the service server is permitted
Perhaps the minimum version of the application program.
Further, in Fig. 8 shown devices, may also include:
Gateway configuration module 205, in the gateway of service server, by the configuration of the version identifier of first version with
In the head response of the corresponding service request response message of the service request.
Fig. 9 is the structural representation of one embodiment electronic equipment of the application.Fig. 9 is refer to, in hardware view, the electricity
Sub- equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may include interior
Deposit, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to also including non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of representing, only represented in Fig. 9 with a four-headed arrow, it is not intended that an only bus or a type of
Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating
Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
The updating device of application program in client is formed on face.Processor, the program that memory is deposited is performed, and specifically for holding
Row is following to be operated:
To service server initiating business request, and the service request response message that the service server returns is received,
The service request response message includes the version identifier of the first version of application program in client, and the first version is
The minimum version for the application program that the service server allows;
According to the service request response message, when first version and the version identifier of the second edition represent that the second edition is low
When first version, by the application program update to third edition sheet;Wherein, the second edition is before the application program update
Version, third edition sheet are not less than first version.
The method that the updating device of application program performs in client disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application can
To be realized applied in processor, or by processor.Processor is probably a kind of IC chip, has the processing of signal
Ability.In implementation process, each step of the above method can pass through the integrated logic circuit or soft of the hardware in processor
The instruction of part form is completed.Above-mentioned processor can be general processor, including central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be Digital Signal Processing
Device (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated
Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.It can realize or perform the application implementation
Disclosed each method, step and logic diagram in example.General processor can be that microprocessor or the processor can also
It is any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding
Computing device is completed, or performs completion with the hardware in decoding processor and software module combination.Software module can position
In random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register
Deng in the ripe storage medium in this area.The storage medium is located at memory, and processor reads the information in memory, with reference to it
Hardware completes the step of above method.
The electronic equipment can also carry out the method that the updating device of application program in client in Fig. 1 performs, and realize visitor
In the function of embodiment illustrated in fig. 1, the embodiment of the present application will not be repeated here the updating device of application program on the end of family.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs
During row, the electronic equipment can be made to perform the method that the updating device of application program in client in embodiment illustrated in fig. 1 performs,
And specifically for performing:
To service server initiating business request, and the service request response message that the service server returns is received,
The service request response message includes the version identifier of the first version of application program in client, and the first version is
The minimum version for the application program that the service server allows;
According to the service request response message, when first version and the version identifier of the second edition represent that the second edition is low
When first version, by the application program update to third edition sheet;Wherein, the second edition is before the application program update
Version, third edition sheet are not less than first version.
Figure 10 is the structural representation of one embodiment electronic equipment of the application.Figure 10 is refer to, should in hardware view
Electronic equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may include interior
Deposit, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to also including non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of representing, only represented in Figure 10 with a four-headed arrow, it is not intended that an only bus or a type of
Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating
Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
The updating device of application program in client is formed on face.Processor, the program that memory is deposited is performed, and specifically for holding
Row is following to be operated:
Service server receives the service request that client is initiated, and returns to service request response letter to the client
Breath, the service request response message include the version identifier of the first version of application program in client, the first edition
The minimum version of this application program allowed for the service server.
The updating device of application program performs in the above-mentioned client applied to service server as disclosed in the application
Method can apply in processor, or be realized by processor.Processor is probably a kind of IC chip, has signal
Disposal ability.In implementation process, each step of the above method can pass through the integrated logic circuit of the hardware in processor
Or the instruction of software form is completed.Above-mentioned processor can be general processor, including central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be Digital Signal Processing
Device (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated
Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.It can realize or perform the application implementation
Disclosed each method, step and logic diagram in example.General processor can be that microprocessor or the processor can also
It is any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding
Computing device is completed, or performs completion with the hardware in decoding processor and software module combination.Software module can position
In random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register
Deng in the ripe storage medium in this area.The storage medium is located at memory, and processor reads the information in memory, with reference to it
Hardware completes the step of above method.
What the updating device that the electronic equipment can also carry out application program in the client applied to service server performed
Method, and the function of the updating device of application program in the client applied to service server is realized, the embodiment of the present application exists
This is repeated no more.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs
During row, the electronic equipment can be made to perform the side that the updating device of application program in the client applied to service server performs
Method, and specifically for performing:
Service server receives the service request that client is initiated, and returns to service request response letter to the client
Breath, the service request response message include the version identifier of the first version of application program in client, the first edition
The minimum version of this application program allowed for the service server.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art
For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal
Replace, improve etc., it should be included within the scope of claims hereof.