CN112783529A - Method and device for controlling pre-release and upgrade of application program and electronic equipment - Google Patents

Method and device for controlling pre-release and upgrade of application program and electronic equipment Download PDF

Info

Publication number
CN112783529A
CN112783529A CN202110110045.4A CN202110110045A CN112783529A CN 112783529 A CN112783529 A CN 112783529A CN 202110110045 A CN202110110045 A CN 202110110045A CN 112783529 A CN112783529 A CN 112783529A
Authority
CN
China
Prior art keywords
version
release
resource
application program
upgrade
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
Application number
CN202110110045.4A
Other languages
Chinese (zh)
Other versions
CN112783529B (en
Inventor
欧阳志刚
丘晓强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Qiyue Information Technology Co Ltd
Original Assignee
Shanghai Qiyue Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Qiyue Information Technology Co Ltd filed Critical Shanghai Qiyue Information Technology Co Ltd
Priority to CN202110110045.4A priority Critical patent/CN112783529B/en
Publication of CN112783529A publication Critical patent/CN112783529A/en
Application granted granted Critical
Publication of CN112783529B publication Critical patent/CN112783529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of computers, in particular to a method and a device for controlling pre-release and upgrade of an application program and electronic equipment, wherein the method comprises the following steps: obtaining upgrading resources; reading the upgrade resource and sending instruction information to the pre-release resource center; matching a pre-upgrading version corresponding to the instruction information through the pre-release resource center to obtain a latest experience version; the control center synchronizes the latest experience version to an online resource center; the client acquires version information of the application program; and the client compares the version information of the application program with the version information of the latest experience version, acquires the resource address of the latest experience version according to the comparison result, and pulls a resource increment package according to the resource address to upgrade the version upgrade of the application program. The method and the device can accurately designate certain version resources as the upgrading resources of the experience version and the release version, and are further normative operation and flow control of the upgrading program.

Description

Method and device for controlling pre-release and upgrade of application program and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for controlling pre-release and upgrade of an application program and electronic equipment.
Background
With the development of internet technology and the increasing demand of clients for internet products, internet products such as web applications, client applications, etc. need to be upgraded to meet the increase of client demand. In order to reduce or even avoid the influence caused by upgrading the application program, a strategy of gray release is generally adopted, and the main idea is to select a part of clients to release the application of the upgraded version, and aim to concentrate the influence on one point, and then fully release the application of the upgraded version after solving the problems encountered in the upgrading process. However, the current application version upgrading aspect has non-standard flow and a certain version cannot be designated as an experience version in the upgrading process, and if the experience version is not tested, other problems exist after the version is online, and the user experience is affected.
Disclosure of Invention
The invention provides a method and a device for controlling pre-release and upgrade of an application program and electronic equipment, which are used for further normative operation and flow control of the upgrade program.
An embodiment of the present specification provides a method for controlling pre-release and upgrade of an application program, including:
the pre-release resource center acquires upgrade resources constructed by the deployment platform;
the control center reads the upgrading resource through the pre-release resource center and sends instruction information to the pre-release resource center;
the control center matches a pre-upgrading version corresponding to the instruction information through the pre-release resource center to obtain a latest experience version;
the control center synchronizes the latest experience version to an online resource center;
the client acquires version information of the application program;
the client compares the version information of the application program with the version information of the latest experience version, and acquires the resource address of the latest experience version according to the comparison result;
and the client pulls the corresponding resource increment package from the online resource center according to the resource address to upgrade the version of the application program.
Preferably, the obtaining of the upgrade resource constructed by the deployment platform by the pre-release resource center includes:
deploying the upgraded resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and issuing the compiled upgrade resources to the pre-release resource center.
Preferably, the matching, by the control center through the pre-release resource center, of the pre-upgrade version corresponding to the instruction information includes:
the pre-release resource center displays the version contained in the upgrading resource according to the instruction information;
and the pre-release resource center matches a pre-upgrading version corresponding to the instruction information according to the instruction information.
Preferably, the obtaining the latest experience version includes:
and the experience version client side upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgraded version, and the upgraded experience version is the latest experience version.
Preferably, the synchronizing, by the control center, the latest experience version to the online resource center includes:
the pre-release resource center acquires the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information;
and the pre-release resource center synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center.
Preferably, the comparing, by the client, the version information of the application program with the version information of the latest experience version includes:
the client acquires the version number and the configuration file information of the application program, and the version number and the configuration file information of the latest experience version;
the client compares the version number of the application program with the version number of the latest experience version;
and the client compares the configuration file information of the application program with the configuration file information of the latest experience version.
Preferably, the method further comprises the following steps:
and after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for comparing the next version information with a reference.
An embodiment of the present specification further provides an apparatus for controlling pre-release and upgrade of an application program, where the apparatus includes:
the upgrading resource acquisition module is used for acquiring upgrading resources constructed by the deployment platform by the pre-release resource center;
the instruction sending module is used for reading the upgrading resources by the control center through the pre-release resource center and sending instruction information to the pre-release resource center;
the version matching module is used for matching a pre-upgrading version corresponding to the instruction information through the pre-release resource center by the control center to obtain a latest experience version;
the version synchronization module is used for synchronizing the latest experience version to an online resource center by the control center;
the version information acquisition module is used for acquiring the version information of the application program by the client;
the client compares the version information of the application program with the version information of the latest experience version, and acquires a resource address of the latest experience version according to a comparison result;
and the client pulls the corresponding resource increment package from the online resource center according to the resource address to upgrade the version of the application program.
Preferably, the obtaining of the upgrade resource constructed by the deployment platform by the pre-release resource center includes:
deploying the upgraded resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and issuing the compiled upgrade resources to the pre-release resource center.
Preferably, the matching, by the control center through the pre-release resource center, of the pre-upgrade version corresponding to the instruction information includes:
the pre-release resource center displays the version contained in the upgrading resource according to the instruction information;
and the pre-release resource center matches a pre-upgrading version corresponding to the instruction information according to the instruction information.
Preferably, the obtaining the latest experience version includes:
and the experience version client side upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgraded version, and the upgraded experience version is the latest experience version.
Preferably, the synchronizing, by the control center, the latest experience version to the online resource center includes:
the pre-release resource center acquires the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information;
and the pre-release resource center synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center.
Preferably, the comparing, by the client, the version information of the application program with the version information of the latest experience version includes:
the client acquires the version number and the configuration file information of the application program, and the version number and the configuration file information of the latest experience version;
the client compares the version number of the application program with the version number of the latest experience version;
and the client compares the configuration file information of the application program with the configuration file information of the latest experience version.
Preferably, the method further comprises the following steps:
and after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for comparing the next version information with a reference.
An electronic device, wherein the electronic device comprises:
a processor and a memory storing computer executable instructions that, when executed, cause the processor to perform the method of any of the above.
A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of the above.
The beneficial effects are that:
the method and the device can accurately designate certain version resources as the upgrading resources of the experience version and the release version, and are further normative operation and flow control of the upgrading program.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram illustrating a method for controlling pre-release and upgrade of an application according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an apparatus for controlling pre-release and upgrade of an application according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The diagrams depicted in the figures are exemplary only, and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
Referring to fig. 1, a schematic diagram of a method for controlling pre-release and upgrade of an application according to an embodiment of the present disclosure includes:
s101: the pre-release resource center acquires upgrade resources constructed by the deployment platform;
in a preferred embodiment of the present invention, when version release and update are required, a new version resource should be deployed first, then the deployment platform completes deployment, compilation and packaging of the upgraded resource, then the pre-release resource center can go to deploy the upgraded resource constructed by the platform, and finally the pre-release resource center stores the read upgraded resource.
S102: the control center reads the upgrading resource through the pre-release resource center and sends instruction information to the pre-release resource center;
in the preferred embodiment of the invention, the control center establishes communication connection with the pre-release resource center and the online resource center through communication broadcast, and the control center sends out a control instruction through the communication broadcast and executes the control instruction through a script to read the upgrade resources from the pre-release resource center.
S103: the control center matches a pre-upgrading version corresponding to the instruction information through the pre-release resource center to obtain a latest experience version;
in a preferred embodiment of the present invention, the pre-release resource center displays the version included in the upgraded resource according to the instruction information, and the publisher can set a certain version in the upgraded resource as an experience version or an online release version, or set a version to be selected in the information in the release instruction, and then the pre-release resource center matches the pre-upgrade version corresponding to the instruction information according to the instruction information. And then when the experience version client needs to be updated, the experience version client updates the configuration file information of the experience version according to the configuration file information of the pre-updated version, and the updated experience version is the latest experience version.
S104: the control center synchronizes the latest experience version to an online resource center;
in a preferred embodiment of the present invention, the pre-release resource center reads the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information, and then synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center for setting the latest experience version as the online version for release.
S105: the client acquires version information of the application program;
in a preferred embodiment of the present invention, when the application program is started to display that the version needs to be updated, the client reads the configuration information of the application program itself, and compares the configuration information of the new version based on the configuration information, so as to implement the update of the version and prevent the repeated update caused by the same version content.
S106: the client compares the version information of the application program with the version information of the latest experience version, and acquires the resource address of the latest experience version according to the comparison result;
in a preferred embodiment of the invention, a client acquires the version number and the configuration file information of an application program, the version number of the latest experience version and the configuration file information, then the client compares the version number of the application program with the version number of the latest experience version, and compares the configuration file information of the application program with the configuration file information of the latest experience version, and when a comparison result has a difference, a resource address of the latest experience version is read for pulling the resource of the latest experience version according to the resource address; and when the comparison result is constant, the application program of the client is not updated.
S107: and the client pulls the corresponding resource increment package from the online resource center according to the resource address to upgrade the version of the application program.
In a preferred embodiment of the present invention, based on the obtained resource address, the corresponding resource increment package is pulled from the online resource center to perform the version upgrade of the application program, thereby implementing further normative operation and flow control on the application program.
Further, the pre-release resource center acquiring the upgrade resource constructed by the deployment platform includes:
deploying the upgraded resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and issuing the compiled upgrade resources to the pre-release resource center.
In a preferred embodiment of the present invention, a publisher constructs and compiles the upgrade resource through the deployment platform first, and then packages and transmits the constructed and compiled resource to the pre-release resource center, and the pre-release resource center provides the experience version for version selection and resource storage, and performs corresponding response and processing according to the script instruction.
Further, the matching, by the control center through the pre-release resource center, of the pre-upgrade version corresponding to the instruction information includes:
the pre-release resource center displays the version contained in the upgrading resource according to the instruction information;
and the pre-release resource center matches a pre-upgrading version corresponding to the instruction information according to the instruction information.
In a preferred embodiment of the present invention, the pre-release resource center displays all versions contained in the upgraded resource according to the instruction information, provides an experience version selection operation button and an online release button, and synchronizes the version resource corresponding to the selected version to the online resource center, and when the user needs to update the application program, the user pulls the upgraded resource from the online resource center.
Further, the obtaining the latest experience version includes:
and the experience version client side upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgraded version, and the upgraded experience version is the latest experience version.
In a preferred embodiment of the present invention, the experience version client compares the version configuration file information of the experience version client with the configuration file information of the pre-upgrade version in advance, and updates the configuration file information of the experience version according to the configuration file information of the pre-upgrade version when the version information is different, so as to complete the upgrade of the experience version, wherein the upgraded experience version is the latest experience version.
Further, the control center synchronizing the latest experience version to an online resource center includes:
the pre-release resource center acquires the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information;
and the pre-release resource center synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center.
In a preferred embodiment of the present invention, when the latest experience version has no error in version after the experience, the experience version is used in the formal version, the pre-release resource center acquires the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information, and synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center, and the client pulls the upgrade resource through the online resource center to realize the version update.
Further, the comparing, by the client, the version information of the application program with the version information of the latest experience version includes:
the client acquires the version number and the configuration file information of the application program, and the version number and the configuration file information of the latest experience version;
the client compares the version number of the application program with the version number of the latest experience version;
and the client compares the configuration file information of the application program with the configuration file information of the latest experience version.
In a preferred embodiment of the present invention, when the client pulls the upgrade resource through the online resource center, it needs to first obtain the version number and configuration file information of the application program of the client, the version number and configuration file information of the latest experience version, then compare the version number of the application program with the version number of the latest experience version, and compare the configuration file information of the application program with the configuration file information of the latest experience version, when there are different points in comparison, the upgrade resource package of the mr resource center is pulled to perform version upgrade, and when the comparison results are the same, the upgrade of the application program of the client is not performed, so that the traffic consumption is reduced.
Further, still include:
and after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for comparing the next version information with a reference.
In a preferred embodiment of the present invention, after the version of the application program at the client is upgraded, the upgraded version of the application program is stored as the current version information, and meanwhile, the historical version information is deleted, so that the storage space is saved.
The method and the device can accurately designate certain version resources as the upgrading resources of the experience version and the release version, and are further normative operation and flow control of the upgrading program.
Fig. 2 is a schematic structural diagram of an apparatus for controlling pre-release and upgrade of an application according to an embodiment of the present disclosure, where the apparatus includes:
an upgrade resource acquisition module 201, configured to acquire an upgrade resource constructed by a deployment platform by a pre-release resource center;
in a preferred embodiment of the present invention, when version release and update are required, a new version resource should be deployed first, then the deployment platform completes deployment, compilation and packaging of the upgraded resource, then the pre-release resource center can go to deploy the upgraded resource constructed by the platform, and finally the pre-release resource center stores the read upgraded resource.
The instruction sending module 202, the control center reads the upgrade resource through the pre-release resource center and sends instruction information to the pre-release resource center;
in the preferred embodiment of the invention, the control center establishes communication connection with the pre-release resource center and the online resource center through communication broadcast, and the control center sends out a control instruction through the communication broadcast and executes the control instruction through a script to read the upgrade resources from the pre-release resource center.
The version matching module 203, the control center matches the pre-upgraded version corresponding to the instruction information through the pre-release resource center, so as to obtain the latest experience version;
in a preferred embodiment of the present invention, the pre-release resource center displays the version included in the upgraded resource according to the instruction information, and the publisher can set a certain version in the upgraded resource as an experience version or an online release version, or set a version to be selected in the information in the release instruction, and then the pre-release resource center matches the pre-upgrade version corresponding to the instruction information according to the instruction information. And then when the experience version client needs to be updated, the experience version client updates the configuration file information of the experience version according to the configuration file information of the pre-updated version, and the updated experience version is the latest experience version.
A version synchronization module 204, wherein the control center synchronizes the latest experience version to an online resource center;
in a preferred embodiment of the present invention, the pre-release resource center reads the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information, and then synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center for setting the latest experience version as the online version for release.
The version information acquisition module 205, the client acquires the version information of the application program;
in a preferred embodiment of the present invention, when the application program is started to display that the version needs to be updated, the client reads the configuration information of the application program itself, and compares the configuration information of the new version based on the configuration information, so as to implement the update of the version and prevent the repeated update caused by the same version content.
The version information comparison module 206, the client compares the version information of the application program with the version information of the latest experience version, and acquires the resource address of the latest experience version according to the comparison result;
in a preferred embodiment of the invention, a client acquires the version number and the configuration file information of an application program, the version number of the latest experience version and the configuration file information, then the client compares the version number of the application program with the version number of the latest experience version, and compares the configuration file information of the application program with the configuration file information of the latest experience version, and when a comparison result has a difference, a resource address of the latest experience version is read for pulling the resource of the latest experience version according to the resource address; and when the comparison result is constant, the application program of the client is not updated.
And the version upgrading module 207 is used for pulling the corresponding resource increment package from the online resource center by the client according to the resource address to upgrade the version of the application program.
In a preferred embodiment of the present invention, based on the obtained resource address, the corresponding resource increment package is pulled from the online resource center to perform the version upgrade of the application program, thereby implementing further normative operation and flow control on the application program.
Further, the pre-release resource center acquiring the upgrade resource constructed by the deployment platform includes:
deploying the upgraded resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and issuing the compiled upgrade resources to the pre-release resource center.
Further, the matching, by the control center through the pre-release resource center, of the pre-upgrade version corresponding to the instruction information includes:
the pre-release resource center displays the version contained in the upgrading resource according to the instruction information;
and the pre-release resource center matches a pre-upgrading version corresponding to the instruction information according to the instruction information.
Further, the obtaining the latest experience version includes:
and the experience version client side upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgraded version, and the upgraded experience version is the latest experience version.
Further, the control center synchronizing the latest experience version to an online resource center includes:
the pre-release resource center acquires the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information;
and the pre-release resource center synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center.
Further, the comparing, by the client, the version information of the application program with the version information of the latest experience version includes:
the client acquires the version number and the configuration file information of the application program, and the version number and the configuration file information of the latest experience version;
the client compares the version number of the application program with the version number of the latest experience version;
and the client compares the configuration file information of the application program with the configuration file information of the latest experience version.
Further, still include:
and after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for comparing the next version information with a reference.
The method and the device can accurately designate certain version resources as the upgrading resources of the experience version and the release version, and are further normative operation and flow control of the upgrading program.
Based on the same inventive concept, the embodiment of the specification further provides the electronic equipment.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as specific physical implementations for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification. An electronic device 300 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting different device components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
Wherein the storage unit stores program code executable by the processing unit 310 to cause the processing unit 310 to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned processing method section of the present specification. For example, the processing unit 310 may perform the steps as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache storage unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating device, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in FIG. 3, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices, to name a few.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to implement the above-described method of the invention, namely: such as the method shown in fig. 1.
Fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present disclosure.
A computer program implementing the method shown in fig. 1 may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor device, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution apparatus, device, or apparatus. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for controlling pre-release and upgrade of an application program is characterized by comprising the following steps:
the pre-release resource center acquires upgrade resources constructed by the deployment platform;
the control center reads the upgrading resource through the pre-release resource center and sends instruction information to the pre-release resource center;
the control center matches a pre-upgrading version corresponding to the instruction information through the pre-release resource center to obtain a latest experience version;
the control center synchronizes the latest experience version to an online resource center;
the client acquires version information of the application program;
the client compares the version information of the application program with the version information of the latest experience version, and acquires the resource address of the latest experience version according to the comparison result;
and the client pulls the corresponding resource increment package from the online resource center according to the resource address to upgrade the version of the application program.
2. The method for controlling pre-release and upgrade of an application program according to claim 1, wherein the pre-release resource center obtains upgrade resources constructed by a deployment platform, and includes:
deploying the upgraded resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and issuing the compiled upgrade resources to the pre-release resource center.
3. The method for controlling the pre-release and upgrade of the application program according to claim 1 or 2, wherein the control center matches the pre-upgrade version corresponding to the instruction information through the pre-release resource center, including:
the pre-release resource center displays the version contained in the upgrading resource according to the instruction information;
and the pre-release resource center matches a pre-upgrading version corresponding to the instruction information according to the instruction information.
4. A method for controlling application pre-release and upgrade as claimed in any one of claims 1-3, wherein said obtaining a latest experience version comprises:
and the experience version client side upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgraded version, and the upgraded experience version is the latest experience version.
5. The method for controlling application pre-release and upgrade of any one of claims 1-4, wherein the control center synchronizing the latest experience version to an online resource center comprises:
the pre-release resource center acquires the version number of the latest experience version and the configuration file information corresponding to the latest experience version according to the instruction information;
and the pre-release resource center synchronizes the version number of the latest experience version and the configuration file information corresponding to the latest experience version to the online resource center.
6. The method for controlling application pre-release and upgrade of any one of claims 1-5, wherein the client compares the version information of the application with the version information of the latest experience version, and comprises:
the client acquires the version number and the configuration file information of the application program, and the version number and the configuration file information of the latest experience version;
the client compares the version number of the application program with the version number of the latest experience version;
and the client compares the configuration file information of the application program with the configuration file information of the latest experience version.
7. The method for controlling pre-release and upgrade of an application program according to any one of claims 1-6, further comprising:
and after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for comparing the next version information with a reference.
8. An apparatus for controlling pre-release and upgrade of an application program, comprising:
the upgrading resource acquisition module is used for acquiring upgrading resources constructed by the deployment platform by the pre-release resource center;
the instruction sending module is used for reading the upgrading resources by the control center through the pre-release resource center and sending instruction information to the pre-release resource center;
the version matching module is used for matching a pre-upgrading version corresponding to the instruction information through the pre-release resource center by the control center to obtain a latest experience version;
the version synchronization module is used for synchronizing the latest experience version to an online resource center by the control center;
the version information acquisition module is used for acquiring the version information of the application program by the client;
the client compares the version information of the application program with the version information of the latest experience version, and acquires a resource address of the latest experience version according to a comparison result;
and the client pulls the corresponding resource increment package from the online resource center according to the resource address to upgrade the version of the application program.
9. An electronic device, wherein the electronic device comprises:
a processor and a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-7.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-7.
CN202110110045.4A 2021-01-27 2021-01-27 Method and device for controlling pre-release and upgrading of application program and electronic equipment Active CN112783529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110110045.4A CN112783529B (en) 2021-01-27 2021-01-27 Method and device for controlling pre-release and upgrading of application program and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110110045.4A CN112783529B (en) 2021-01-27 2021-01-27 Method and device for controlling pre-release and upgrading of application program and electronic equipment

Publications (2)

Publication Number Publication Date
CN112783529A true CN112783529A (en) 2021-05-11
CN112783529B CN112783529B (en) 2024-03-29

Family

ID=75757804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110110045.4A Active CN112783529B (en) 2021-01-27 2021-01-27 Method and device for controlling pre-release and upgrading of application program and electronic equipment

Country Status (1)

Country Link
CN (1) CN112783529B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237462A1 (en) * 2012-12-06 2014-08-21 Tencent Technology (Shenzhen) Company Limited Method and system for software upgrade
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device
CN107678759A (en) * 2017-09-11 2018-02-09 上海斐讯数据通信技术有限公司 A kind of method and system of upgrade applications
CN108509211A (en) * 2018-02-07 2018-09-07 深圳壹账通智能科技有限公司 Application program updating method, apparatus, mobile terminal and storage medium
CN109471649A (en) * 2018-11-20 2019-03-15 北京千丁互联科技有限公司 The gray scale delivery system and method for firmware upgrade
CN111209018A (en) * 2019-12-20 2020-05-29 上海淇玥信息技术有限公司 Application upgrading prompt information processing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237462A1 (en) * 2012-12-06 2014-08-21 Tencent Technology (Shenzhen) Company Limited Method and system for software upgrade
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device
CN107678759A (en) * 2017-09-11 2018-02-09 上海斐讯数据通信技术有限公司 A kind of method and system of upgrade applications
CN108509211A (en) * 2018-02-07 2018-09-07 深圳壹账通智能科技有限公司 Application program updating method, apparatus, mobile terminal and storage medium
CN109471649A (en) * 2018-11-20 2019-03-15 北京千丁互联科技有限公司 The gray scale delivery system and method for firmware upgrade
CN111209018A (en) * 2019-12-20 2020-05-29 上海淇玥信息技术有限公司 Application upgrading prompt information processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN112783529B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN109358858B (en) Automatic deployment method, device, medium and electronic equipment
US10114637B1 (en) Automatically updating a shared project build platform
KR100952251B1 (en) Servicing a component base software product
EP3249526B1 (en) Generating native code from intermediate language code for an application
US8612947B2 (en) System and method for remotely compiling multi-platform native applications for mobile devices
CN112685035B (en) Project development method and device, computer readable storage medium and electronic equipment
US9411571B2 (en) Method and apparatus for deploying software as a service
US20090193407A1 (en) Methods and Systems for Automatic Patch Creation for Client Updates
JP2008090840A (en) Method for using virtualization software for shipment of software product
CN103701856A (en) Method for defining and acquiring upgrade package of terminal equipment
CN105867973A (en) Loading method and system for so file in application program
CN112764792B (en) Method and device for upgrading associated server version application and electronic equipment
EP2503449A2 (en) Single development test environment
CN113064630B (en) Mobile terminal APP automatic packaging method, system, electronic equipment and storage medium
CN110730090A (en) Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment
US10896109B2 (en) Non-monotonic eventual convergence for desired state configuration
CN111124454A (en) Mirror image construction method and device, electronic equipment and storage medium
CN109857444B (en) Application program updating method and device, electronic equipment and readable storage medium
CN112835568A (en) Project construction method and device
CN107608672B (en) UI module manager, UI module management method and system
CN110688140B (en) Code management method and terminal
CN112783529A (en) Method and device for controlling pre-release and upgrade of application program and electronic equipment
CN116069366A (en) Client application program updating method and device, storage medium and electronic equipment
CN109697080B (en) Online upgrading method for operating system of Internet of things
CN112783528B (en) Resource online method and device and electronic equipment

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