CN109766127A - Method for updating application version information - Google Patents
Method for updating application version information Download PDFInfo
- Publication number
- CN109766127A CN109766127A CN201910040407.XA CN201910040407A CN109766127A CN 109766127 A CN109766127 A CN 109766127A CN 201910040407 A CN201910040407 A CN 201910040407A CN 109766127 A CN109766127 A CN 109766127A
- Authority
- CN
- China
- Prior art keywords
- updated
- version information
- application program
- program
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The embodiment of the present application discloses the method for updating application version information.One specific embodiment of this method includes: to receive the version information update request of application program to be updated, and version information updates the update version information that request includes application program to be updated;The installation kit for obtaining application program to be updated determines the position of the program version information of application program to be updated in acquired installation kit;Program version information at identified position is updated to update version information.The embodiment directly updates the version information in the installation kit of application program to be updated, so as to avoid the operation of the source code to application program to be updated, improves the efficiency for updating application version information.
Description
Technical field
The invention relates to field of computer technology, and in particular to for updating the side of application version information
Method.
Background technique
With the development of internet technology, explosive growth, substantially every field is also presented in the quantity of application program, all
There is diversiform application program, these application programs facilitate the work and life of people.The issuing process of application program
In, in the case where the function control in order to realize such as application program, we often do not need to the function of application program into
Row updates, and needs the version information by last application program to update only to issue.
In the prior art, in the version information of more new application, it usually needs detect the source code of application program, so
After modify version information therein, finally compile the installation kit of modified code building application program.This method is answered in update
With the participation for needing research staff during the version information of program, heavy workload, and time-consuming.
Summary of the invention
The embodiment of the present application proposes the method for updating application version information.
In a first aspect, the embodiment of the present application provide it is a kind of for updating the method for application version information, comprising: connect
The version information for receiving application program to be updated updates request, and version information updates the more new edition that request includes application program to be updated
This information;The installation kit for obtaining application program to be updated determines the program of application program to be updated in acquired installation kit
The position of version information;Program version information at identified position is updated to update version information.
Second aspect, the embodiment of the present application provide a kind of for updating the device of application version information, comprising: connect
Unit is received, the version information for being configured to receive application program to be updated updates request, and it includes to more that version information, which updates request,
The update version information of new application;Determination unit is configured to obtain the installation kit of application program to be updated, acquired
Installation kit in determine application program to be updated program version information position;Updating unit, being configured to will be identified
Program version information at position is updated to update version information.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: include: one or more processors;It deposits
Storage device stores one or more programs thereon;When one or more programs are executed by one or more processors, so that one
Or multiple processors realize the method as described in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should
The method as described in first aspect is realized when computer program is executed by processor.
The method provided by the embodiments of the present application for being used to update application version information, receives application program to be updated
Version updating request, then obtains the installation kit of application program to be updated, and determines in acquired installation kit to be updated
Program version information at identified position is finally updated to version information by the position of the program version information of application program
The update version information in request is updated, updates to be updated answer to realize through the installation kit to application program to be updated
It with the program version information of program, avoids and the source code of application program to be updated is operated, improve update using journey
The efficiency of sequence version information.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for updating application version information of the application;
Fig. 3 is the process according to another embodiment of the method for updating application version information of the application
Figure;
Fig. 4 is the process according to another embodiment of the method for updating application version information of the application
Figure;
Fig. 5 is the structural representation according to one embodiment of the device for updating application version information of the application
Figure;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary system frame of the method for updating application version information of the application
Structure 100.
As shown in Figure 1, system architecture 100 may include terminal device 101, network 102 and server 103.Network 102 is used
To provide the medium of communication link between terminal device 101 and server 103.Network 102 may include various connection types,
Such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101 and be interacted by network 102 with server 103, to receive or send message etc..
Various application programs can be installed, such as instant messaging tools, mailbox client, web browser are answered on terminal device 101
With, shopping class application, searching class application, social platform software etc..
Terminal device 101 can be hardware, be also possible to software.When terminal device 101 is hardware, support version can be
This information update request etc. information send various electronic equipments, including but not limited to smart phone, tablet computer, it is on knee just
Take computer, desktop computer and server etc..When terminal device 101 is software, may be mounted at above-mentioned cited
In electronic equipment.Multiple softwares or software module (such as providing Distributed Services) may be implemented into it, also may be implemented
At single software or software module.It is not specifically limited herein.
Server 103 can be to provide the server of various services, such as server 103 can be to be to be updated using journey
The background server of sequence update version information.Background server can use the version letter of received application program to be updated
Breath updates the installation kit that request updates application program to be updated, obtains updated application program.It should be noted that the application
It is generally executed by server 103 provided by embodiment for updating the method for application version information.Correspondingly, for more
The device of new application version information is generally located in server 103.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented
At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software
To be implemented as multiple softwares or software module (such as providing Distributed Services), single software or software also may be implemented into
Module.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
It may also be noted that also can store the installation kit of application program to be updated in terminal device 101, for updating
The method of application version information can also be executed by terminal device, at this point, example system architecture 100 can there is no services
Device 105 and network 104.
With continued reference to Fig. 2, it illustrates according to one of the method for updating application version information of the application
The process 200 of embodiment.This is used to update the method for application version information, comprising the following steps:
Step 201, the version information for receiving application program to be updated updates request.
In the present embodiment, for update the method for application version information executing subject (such as shown in figure take
Business device) generation can be received by wired connection mode or radio connection or be previously stored with application program to be updated
The version information that version information updates application program to be updated transmitted by the terminal device of request updates request.Here, version
Information update requests the version information that can be used for requesting to update application program to be updated, and version information updates request to and less may be used
To include the update version information of application program to be updated.It should be pointed out that above-mentioned radio connection may include but not
Be limited to 3G/4G connection, WiFi connection, bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection,
And other currently known or exploitation in the future radio connections.
In some optional implementations of the present embodiment, the update version information of above-mentioned application program to be updated can be with
More new version number and/or update version name including the application program to be updated.It is understood that above-mentioned application to be updated
The update version information of program can also include other update version informations of the application program to be updated, not do here specifically
It limits.Those skilled in the art can update the content in version information according to actual demand sets itself, so that this Shen
The application range for the scheme that please be provided is wider.
Step 202, the installation kit for obtaining application program to be updated determines to be updated using journey in acquired installation kit
The position of the program version information of sequence.
In the present embodiment, the version information of the application program to be updated received based on step 201 updates request, above-mentioned
Executing subject (such as server shown in FIG. 1) can determine application program to be updated, and obtain application program to be updated
Installation kit.Then, above-mentioned executing subject can carry out the operation such as decompressing to the installation kit of acquired application program to be updated, with
Convenient for that can determine the position where the program version information of the application program to be updated in acquired installation kit.
Step 203, the program version information at identified position is updated to update version information.
In the present embodiment, where the program version information for the application program to be updated determined based on step 202
Version information at the determined position can be updated to version information and update the more new edition in requesting by position, above-mentioned executing subject
Original version information in application program to be updated is updated to new version information to realize by this information.
In some optional implementations of the present embodiment, above-mentioned executing subject is by the version at identified position
Information update is that can compress the file where updating version information after updating version information, so that installation
Version text information in packet is updated version information.Then, above-mentioned executing subject can update the peace of application program to be updated
The signature of packet is filled, so as to obtain the installation kit for having and updating version information.It can be seen that above-mentioned executing subject update to
After the version information of more new application, the text updated where version information in application program installation kit to be updated is directly replaced
It signs after part, it can obtain the installation kit of updated application program, be not related to the modification of source code, method is simple.
In the prior art, when carrying out version information update to application program to be updated, it usually needs detection is to be updated to answer
With the source code of program, then the version information in detected source code is revised as to update version information, in order to right
Updated source code is compiled the installation kit for generating updated application program.As it can be seen that existing application program to be updated
The update method of version information need research staff to participate in, and step is many and diverse, takes a long time.And above-described embodiment of the application
Information update in the original installation kit of application program to be updated at version information position can be directly more by the method for offer
New version information is operated without the source code to application program to be updated, and there is no need to research staff's participation, method letters
It is single, it is high-efficient.Further, the method provided by the above embodiment of the application is without repacking peace to application program to be updated
Dress packet, so as to avoid the occurrence of because of translation and compiling environment variation caused by function of application to be updated variation, improve update
The safety of application version information.
The method provided by the above embodiment for updating using journey version sequence version information of the application, receives to be updated answer
It is requested with the version updating of program, then obtains the installation kit of application program to be updated, and determined in acquired installation kit
Version information at identified position is finally updated to version information by the position of the version information of application program to be updated out
The update version information in request is updated, application to be updated is updated by the installation kit to application program to be updated to realize
The version information of program is avoided and is operated to the source code of application program to be updated, improves update application version
The efficiency of information.
With further reference to Fig. 3, it illustrates according to the another of the method for updating application version information of the application
The process 300 of one embodiment.This is used to update the method for application version information, comprising the following steps:
Step 301, the version information for receiving application program to be updated updates request.
In the present embodiment, for update the method for application version information executing subject (such as shown in figure take
Business device) version for generating or being stored with application program to be updated can be received by wired connection mode or radio connection
The version information of application program to be updated transmitted by the terminal device of information update request updates request.Here, version information
Updating request can be used for requesting to update the version information of application program to be updated, and version information is updated request to and be can wrap less
Include the update version information of application program to be updated.It should be noted that it not only includes to more that above-mentioned version information, which updates request,
The update version information of new application can also include the original version information of the application program to be updated.
In some optional implementations of the present embodiment, the original version information of above-mentioned application program to be updated be can wrap
Include the original version number and/or original version title of the application program to be updated.It is understood that version information updates institute in request
Including application program to be updated update version information can with it is to be updated corresponding using the original version information of journey.That is, if
Need to update the version number of application program to be updated, the original version information of above-mentioned application program to be updated may include that this is to be updated
The original version number of application program and more new version number;If desired the version name of application program to be updated is updated, it is above-mentioned to be updated
The original version information of application program may include the original version title and update version name of the application program to be updated;If desired
Version number and the version name of application program to be updated are updated, the original version information of above-mentioned application program to be updated may include this
Original version number, original version title and the more new version number of application program to be updated update version name.It is understood that
The content that those skilled in the art can need the original version information updated to be included according to actual demand sets itself, makes
The application range for obtaining scheme provided by the present application is wider.
Step 302, the installation kit for obtaining application program to be updated, the original version information for generating application program to be updated are corresponding
Binary code.
In the present embodiment, the version information of the application program to be updated received based on step 301 updates request, above-mentioned
Executing subject (such as server shown in FIG. 1) can determine application program to be updated, and obtain application program to be updated
Installation kit.Further, the version information based on application program to be updated received by step 301 updates the master in request
This information, above-mentioned executing subject can be handled received original version information, generate above-mentioned application program to be updated
The corresponding binary code of original version information.
Step 303, according to the corresponding binary code of original version information of application program to be updated in acquired installation kit
Middle matching object binary code.
In the present embodiment, above-mentioned executing subject, can be based on step after the installation kit for obtaining application program to be updated
The rapid 302 corresponding binary codes of original version information generated, match original version information generated in acquired installation kit
Corresponding binary code, and the binary code being matched to is determined as object binary code.Specifically, above-mentioned executing subject exists
After the installation kit for obtaining application program to be updated, the installation kit of acquisition can be decompressed, it is to be updated using journey in order to determine
File where the original version information of sequence, and the binary code of original version information is matched in the file determined to determine mesh
Mark binary code.
Step 304, the position for determining matched object binary code is the program version letter of application program to be updated
The position of breath.
In the present embodiment, the object binary code matched based on step 303, above-mentioned executing subject can be by the targets
The position of binary code is determined as position of the original version information of application program to be updated in installation kit.
Step 305, the program version information at identified position is updated to update version information.
In the present embodiment, the position of the original version information for the application program to be updated determined based on step 304, and
Based on the update version information of application program to be updated received by step 301, above-mentioned executing subject can be by determined position
The original version information update of the application program to be updated at place is set to update version information.
In some optional implementations of the present embodiment, above-mentioned executing subject will can determine as follows
Position at version information be updated to update version information: the update version information for firstly generating application program to be updated is corresponding
Binary code, then by the corresponding binary code of original version information at identified position be updated to update version information pair
The binary code answered.Alternatively, the update version information of application program to be updated can by directly for binary code in the form of, this
When, the original version information update of the application program to be updated at the determined position can be directly more new edition by above-mentioned executing subject
This information.
From figure 3, it can be seen that being used for more new application version in the present embodiment compared with the corresponding embodiment of Fig. 2
The process 300 of the method for this information highlights the step of position for determining the version information of application program to be updated.This reality as a result,
The scheme for applying example description can determine what application program to be updated needed to update by the matched mode of simple binary code
The position of version information, to further increase the efficiency of the version information of more new application.
With reference next to Fig. 4, it illustrates according to the method for updating application version information of the application again
The process 400 of one embodiment.This is used to update the method for application version information, comprising the following steps:
Step 401, the version information for receiving application program to be updated updates request.
In the present embodiment, for update the method for application version information executing subject (such as shown in figure take
Business device) version for generating or being stored with application program to be updated can be received by wired connection mode or radio connection
The version information of application program to be updated transmitted by the terminal device of information update request updates request.Here, version information
Updating request can be used for requesting to update the version information of application program to be updated, and version information is updated request to and be can wrap less
Include the update version information of application program to be updated.
Step 402, the installation kit for obtaining application program to be updated decompresses the installation kit of application program to be updated, from installation
The file where the program version information of application program to be updated is obtained in packet.
In the present embodiment, above-mentioned executing subject (such as server shown in FIG. 1) receive it is to be updated using journey
After version information updates request, application program to be updated can be determined, in order to obtain the installation of the application program to be updated
Packet.Then, above-mentioned executing subject can decompress the installation kit of application program to be updated, in order to obtain from the installation kit to more
File where the version information of new application.As an example, above-mentioned application program to be updated can be Android (Android)
Application program, version number and version name of the version information of application program to be updated for the Android application program are to be updated
File where the program version information of application program is in the installation kit of the application program to be updated
AndroidManifest.xml file.
Step 403, obtained file is parsed with the position of the program version information of determination application program to be updated.
In the present embodiment, be based on the obtained file of step 402, above-mentioned executing subject can to obtained file into
Row parsing, and the attribute of the version information of application program to be updated is determined in file after parsing, so that it is determined that going out to more
The position of the version information of new application.
As an example, above-mentioned application program to be updated is Android (Android) application program, the version of application program to be updated
This information is version number and the version name of the Android application program, and the file that above-mentioned executing subject is parsed is should be to more
AndroidManifest.xml file in the installation kit of new application, and determine the version number to be updated using journey and
The position of the corresponding value attribute of version name.It is understood that after compiling of application to be updated
AndroidManifest.xml file generally can not be parsed with the method for standard, and above-mentioned executing subject can be from Android
The method that parsing AndroidManifest.xml file is determined in the source code of compilation tool, so that it is determined that be updated out apply journey
Version number and the corresponding value attribute of version name position.It is understood that above-mentioned application program to be updated can be with
For currently known or exploitation in the future the other types of application program in addition to Android application program.
Step 404, the program version information at identified position is updated to update version information.
In the present embodiment, based on the position determined in step 403, above-mentioned executing subject can this determine to
The version information for needing to update in more new application, and the program version information that the needs determined update is updated to version
Update version information in the request of this information update.
In some optional implementations of the present embodiment, above-mentioned executing subject can be as follows by institute
Version information at determining position is updated to update version information: firstly generating the update version information of application program to be updated
Corresponding binary code, the content at the position of the program version information of identified application program to be updated, which is then repaired this, is
The corresponding binary code of update version information generated.Alternatively, the update version information of application program to be updated can also be straight
It is connected in the form of binary code, at this point, the content update at the determined position can be directly more new edition by above-mentioned executing subject
This information.
Figure 4, it is seen that being used for more new application version in the present embodiment compared with the corresponding embodiment of Fig. 2
The process 400 of the method for this information highlights the step of position for determining the version information of application program to be updated.This reality as a result,
The scheme for applying example description can accurately determine out the position for the version information that application program to be updated needs to update, to improve
Update the accuracy of application version information.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind to answer for updating
With one embodiment of the device of program version information, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, the dress
Setting specifically can be applied in various electronic equipments.
As shown in figure 5, the present embodiment includes: receiving unit for updating the device 500 of application version information
501, determination unit 502 and updating unit 503.Wherein, receiving unit 501 are configured to receive application program to be updated
Version information updates request, and version information updates the update version information that request includes application program to be updated.Determination unit
502, it is configured to obtain the installation kit of application program to be updated, application program to be updated is determined in acquired installation kit
The position of program version information.Updating unit 503 is configured to for the program version information at identified position being updated to more
New version information.
In the present embodiment, in the device 500 for updating application version information: receiving unit 501, determination unit
502 and the specific implementation of updating unit 503 and its brought technical effect can be respectively with reference to the step in Fig. 2 corresponding embodiment
201, the related description of step 202 and step 203, details are not described herein.
In some optional implementations of the present embodiment, the version information of application program to be updated updates request and also wraps
Include the original version information of application program to be updated;Determination unit 502 is further configured to generate the original of application program to be updated
The corresponding binary code of version information;According to the corresponding binary code of original version information of application program to be updated acquired
Object binary code is matched in installation kit;The position for determining matched object binary code is the journey of application program to be updated
The position of sequence version information.
In some optional implementations of the present embodiment, updating unit 503 is further configured to: being generated to be updated
The corresponding binary code of update version information of application program;By the corresponding binary system of original version information at identified position
Code is updated to update the corresponding binary code of version information.
In some optional implementations of the present embodiment, the original version information of application program to be updated includes to be updated
The original version number and/or original version title of application program.
In some optional implementations of the present embodiment, determination unit 502 is further configured to decompress to be updated
The installation kit of application program, the file where the program version information for obtaining application program to be updated in installation kit;Parsing institute
Obtained file is with the position of the program version information of determination application program to be updated.
In some optional implementations of the present embodiment, updating unit 503 is further configured to: being generated to be updated
The corresponding binary code of update version information of application program;By the program version information of identified application program to be updated
Content modification at position is the corresponding binary code of update version information generated.
In some optional implementations of the present embodiment, the update version information of application program to be updated includes to more
The more new version number and/or update version name of new application.
In some optional implementations of the present embodiment, device 500 further include: compression unit, being configured to will more
File where new version information is compressed, and the signature of the installation kit of application program to be updated is updated.
In some optional implementations of the present embodiment, application program to be updated is Android application program.Join below
Examine Fig. 6, it illustrates be suitable for be used to realize the embodiment of the present application electronic equipment (such as terminal device shown in FIG. 1 101 or clothes
Be engaged in device 103) computer system 600 structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, should not be to this
The function and use scope for applying for embodiment bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer-readable medium either the two any combination.Computer-readable medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example of machine readable medium can include but is not limited to: electrical connection, portable meter with one or more conducting wires
Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In this application, computer-readable medium, which can be, any includes or storage program has
Shape medium, the program can be commanded execution system, device or device use or in connection.And in the application
In, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, wherein
Carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to electric
Magnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Jie
Any computer-readable medium other than matter, the computer-readable medium can be sent, propagated or transmitted for being held by instruction
Row system, device or device use or program in connection.The program code for including on computer-readable medium
It can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any conjunction
Suitable combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof
Machine program code, described program design language include object-oriented programming language-such as Java, Smalltalk, C+
+, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include receiving unit, determination unit and updating unit.Wherein, the title of these units is not constituted under certain conditions to the unit
The restriction of itself, for example, receiving unit is also described as, " version information for receiving application program to be updated updates request
Unit ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the electronic equipment
When row, so that the electronic equipment: the version information for receiving application program to be updated updates request, wherein application program to be updated
Version information update request include application program to be updated update version information;Obtain the installation of application program to be updated
Packet determines the position of application version information to be updated in acquired installation kit;By the version at identified position
Information update is to update version information.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (11)
1. a kind of for updating the method for application version information characterized by comprising
The version information for receiving application program to be updated updates request, and it includes described to be updated answer that the version information, which updates request,
With the update version information of program;
The installation kit for obtaining the application program to be updated determines the application program to be updated in acquired installation kit
The position of program version information;
Program version information at identified position is updated to the update version information.
2. the method according to claim 1, wherein the version information of the application program to be updated updates request
It further include the original version information of the application program to be updated;
The position of the program version information that the application program to be updated is determined in acquired installation kit, comprising:
Generate the corresponding binary code of original version information of the application program to be updated;
Mesh is matched in acquired installation kit according to the corresponding binary code of original version information of the application program to be updated
Mark binary code;
The position for determining matched object binary code is the position of the program version information of the application program to be updated.
3. according to the method described in claim 2, it is characterized in that, the program version information by identified position more
It is newly the update version information, comprising:
Generate the corresponding binary code of update version information of the application program to be updated;
The corresponding binary code of original version information at identified position is updated to the update version information corresponding two
Ary codes.
4. according to the method in claim 2 or 3, which is characterized in that the original version packet of the application program to be updated
Include the original version number and/or original version title of the application program to be updated.
5. the method according to claim 1, wherein the determination in acquired installation kit is described to be updated
The position of the program version information of application program, comprising:
The installation kit for decompressing the application program to be updated obtains the program of the application program to be updated from the installation kit
File where version information;
Obtained file is parsed with the position of the program version information of the determination application program to be updated.
6. according to the method described in claim 5, it is characterized in that, the program version information by identified position more
It is newly the update version information, comprising:
Generate the corresponding binary code of update version information of the application program to be updated;
It is more new edition generated by the content modification at the position of the program version information of identified application program to be updated
The corresponding binary code of this information.
7. method described in one of -6 according to claim 1, which is characterized in that the more new version of the application program to be updated is believed
Breath includes the more new version number and/or update version name of the application program to be updated.
8. method described in one of -7 according to claim 1, which is characterized in that the method also includes:
File where the update version information is compressed, the label of the installation kit of the application program to be updated are updated
Name.
9. method described in one of -8 according to claim 1, which is characterized in that the application program to be updated is Android application journey
Sequence.
10. a kind of electronic equipment, comprising:
One or more processors;
Storage device stores one or more programs thereon;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-9.
11. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
Method of the Shi Shixian as described in any in claim 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910040407.XA CN109766127B (en) | 2019-01-16 | 2019-01-16 | Method for updating application version information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910040407.XA CN109766127B (en) | 2019-01-16 | 2019-01-16 | Method for updating application version information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109766127A true CN109766127A (en) | 2019-05-17 |
CN109766127B CN109766127B (en) | 2022-06-28 |
Family
ID=66452362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910040407.XA Active CN109766127B (en) | 2019-01-16 | 2019-01-16 | Method for updating application version information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109766127B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413262A (en) * | 2019-07-23 | 2019-11-05 | 北京启迪区块链科技发展有限公司 | A kind of management method of business function, apparatus and system |
CN110427214A (en) * | 2019-07-29 | 2019-11-08 | 苏州亿歌网络科技有限公司 | A kind of dissemination method of application program, device, equipment and storage medium |
CN110990038A (en) * | 2019-11-29 | 2020-04-10 | 中化信息技术有限公司 | Method, apparatus, electronic device, and medium for applying local updates |
CN112732314A (en) * | 2020-12-30 | 2021-04-30 | 北京一亩田新农网络科技有限公司 | Plug-in differential packaging method and device based on android, electronic equipment and computer readable medium |
CN112860288A (en) * | 2021-01-29 | 2021-05-28 | 上海二三四五网络科技有限公司 | Control method and device for updating program versions in batch |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016188059A1 (en) * | 2015-05-22 | 2016-12-01 | 华为技术有限公司 | Method, device, and system for achieving java application installation by cloud compilation |
CN106648795A (en) * | 2016-12-29 | 2017-05-10 | 北京奇虎科技有限公司 | Updating method and device of application program |
CN107291481A (en) * | 2016-03-30 | 2017-10-24 | 腾讯科技(深圳)有限公司 | A kind of component update method, device and system |
CN108111331A (en) * | 2017-11-06 | 2018-06-01 | 北京趣拿软件科技有限公司 | Acquisition methods, device, storage medium, processor and the system of updated data package |
CN108845816A (en) * | 2018-06-22 | 2018-11-20 | 平安科技(深圳)有限公司 | Application program update method, system, computer equipment and storage medium |
-
2019
- 2019-01-16 CN CN201910040407.XA patent/CN109766127B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016188059A1 (en) * | 2015-05-22 | 2016-12-01 | 华为技术有限公司 | Method, device, and system for achieving java application installation by cloud compilation |
CN107291481A (en) * | 2016-03-30 | 2017-10-24 | 腾讯科技(深圳)有限公司 | A kind of component update method, device and system |
CN106648795A (en) * | 2016-12-29 | 2017-05-10 | 北京奇虎科技有限公司 | Updating method and device of application program |
CN108111331A (en) * | 2017-11-06 | 2018-06-01 | 北京趣拿软件科技有限公司 | Acquisition methods, device, storage medium, processor and the system of updated data package |
CN108845816A (en) * | 2018-06-22 | 2018-11-20 | 平安科技(深圳)有限公司 | Application program update method, system, computer equipment and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413262A (en) * | 2019-07-23 | 2019-11-05 | 北京启迪区块链科技发展有限公司 | A kind of management method of business function, apparatus and system |
CN110427214A (en) * | 2019-07-29 | 2019-11-08 | 苏州亿歌网络科技有限公司 | A kind of dissemination method of application program, device, equipment and storage medium |
CN110990038A (en) * | 2019-11-29 | 2020-04-10 | 中化信息技术有限公司 | Method, apparatus, electronic device, and medium for applying local updates |
CN110990038B (en) * | 2019-11-29 | 2023-08-22 | 中化信息技术有限公司 | Method, apparatus, electronic device and medium for applying local update |
CN112732314A (en) * | 2020-12-30 | 2021-04-30 | 北京一亩田新农网络科技有限公司 | Plug-in differential packaging method and device based on android, electronic equipment and computer readable medium |
CN112860288A (en) * | 2021-01-29 | 2021-05-28 | 上海二三四五网络科技有限公司 | Control method and device for updating program versions in batch |
Also Published As
Publication number | Publication date |
---|---|
CN109766127B (en) | 2022-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109766127A (en) | Method for updating application version information | |
CN110019350B (en) | Data query method and device based on configuration information | |
US8949378B2 (en) | Method and system for providing a state model of an application program | |
CN108846753B (en) | Method and apparatus for processing data | |
CN108574604B (en) | Test method and device | |
CN109766082B (en) | Method and device for application program page jump | |
CN109766148B (en) | Method and apparatus for processing interface method calls | |
CN110865889A (en) | Method and apparatus for transferring events between components | |
CN113010405A (en) | Application program testing method and device | |
CN109582317A (en) | Method and apparatus for debugging boarding application | |
CN110019242A (en) | Processing method, device and system for tables of data | |
CN107347093A (en) | Collocation method and device for distributed server system | |
CN113760438A (en) | Page display method and device for webpage application | |
CN111787041B (en) | Method and device for processing data | |
CN112559024A (en) | Method and device for generating transaction code change list | |
CN113779004A (en) | Data verification method and device | |
CN109145591A (en) | The plug-in loading method of application program | |
CN108804442B (en) | Serial number generation method and device | |
CN112486482A (en) | Page display method and device | |
CN113656050B (en) | Method and apparatus for generating version number | |
US11315161B2 (en) | Method, medium, and system for generating information | |
CN109889402B (en) | Method and apparatus for generating information | |
CN109298831B (en) | Information storage method and device | |
CN112579428A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN108459890A (en) | Interface display method and device for application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |