CN112783529B - Method and device for controlling pre-release and upgrading of application program and electronic equipment - Google Patents

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

Info

Publication number
CN112783529B
CN112783529B CN202110110045.4A CN202110110045A CN112783529B CN 112783529 B CN112783529 B CN 112783529B CN 202110110045 A CN202110110045 A CN 202110110045A CN 112783529 B CN112783529 B CN 112783529B
Authority
CN
China
Prior art keywords
version
upgrade
resource
application program
release
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.)
Active
Application number
CN202110110045.4A
Other languages
Chinese (zh)
Other versions
CN112783529A (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

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, a device and electronic equipment for controlling pre-release and upgrading of an application program, which comprise the following steps: acquiring upgrade resources; reading the upgrade resource and sending instruction information to the pre-release resource center; the pre-release resource center is matched with a pre-upgrading version corresponding to the instruction information 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 an application program; and the client compares the version information of the application program with the version information of the latest experience version, acquires a resource address of the latest experience version according to a comparison result, and pulls a resource increment packet according to the resource address to upgrade the version upgrade of the application program. The invention can accurately designate a certain version resource as the upgrade resource of the experience version and the release version, and is further normalized operation and flow control of the upgrade program.

Description

Method and device for controlling pre-release and upgrading of application program and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and an electronic device for controlling pre-release and upgrade of an application program.
Background
With the development of internet technology and the continuous increase of demands of clients on internet products, internet products such as web applications, client applications, etc. are required to be continuously upgraded to meet the increasing demands of clients. In order to reduce or even avoid the influence caused by the upgrade of the application program, a gray level release strategy is generally adopted, and the main idea is to firstly select part of the clients to release the application of the upgrade version, and to aim at concentrating the influence to one point, and comprehensively release the application of the upgrade version after solving the problems encountered in the upgrade process. However, in the aspect of re-upgrading the current application version, the process is not standard, and a certain version cannot be designated as the experience version in the upgrading process, if the test of the experience version is not performed, other problems exist after the version is online, and the experience of the user is affected.
Disclosure of Invention
The invention provides a method, a device and electronic equipment for controlling pre-release and upgrading of an application program, which are used for further normalized operation and flow control of the upgrading program.
The embodiment of the specification provides a method for controlling pre-release and upgrade of an application program, which comprises the following steps:
the pre-release resource center acquires upgrade resources constructed by the deployment platform;
the control center reads the upgrade resource through the pre-release resource center and sends instruction information to the pre-release resource center;
the control center obtains the latest experience version by matching the pre-upgrading version corresponding to the instruction information through the pre-release resource center;
the control center synchronizes the latest experience version to an online resource center;
the client acquires version information of an application program;
the client compares the version information of the application program with the version information of the latest experience version, and obtains the resource address of the latest experience version according to a comparison result;
and the client pulls the corresponding resource increment packet from the online resource center according to the resource address to upgrade the version of the application program.
Preferably, the pre-release resource center obtains upgrade resources constructed by the deployment platform, including:
deploying the upgrade resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and publishing the compiled upgrade resource to the pre-release resource center.
Preferably, the control center matches, through the pre-release resource center, a pre-upgrade version corresponding to the instruction information, including:
the pre-release resource center displays the version contained in the upgrade 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 upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrade version, and the upgraded experience version is the latest experience version.
Preferably, the control center synchronizes the latest experience version to an online resource center, including:
the pre-release resource center obtains 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 client compares version information of the application program with version information of the latest experience version, including:
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:
after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for next version information comparison reference.
The embodiment of the present disclosure also provides an apparatus for controlling pre-release and upgrade of an application program, which is characterized by comprising:
the upgrade resource acquisition module is used for acquiring upgrade resources constructed by the deployment platform by the pre-release resource center;
the control center reads the upgrade resource through the pre-release resource center and sends instruction information to the pre-release resource center;
the version matching module is used for enabling the control center to obtain the latest experience version by matching the pre-upgrading version corresponding to the instruction information through the pre-release resource center;
the version synchronization module is used for synchronizing the latest experience version to an online resource center by the control center;
the client acquires version information of the application program;
the version information comparison module is used for comparing the version information of the application program with the version information of the latest experience version, and acquiring a resource address of the latest experience version according to a comparison result;
and the version upgrading module is used for carrying out version upgrading on the application program by pulling the corresponding resource increment packet from the online resource center according to the resource address by the client.
Preferably, the pre-release resource center obtains upgrade resources constructed by the deployment platform, including:
deploying the upgrade resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and publishing the compiled upgrade resource to the pre-release resource center.
Preferably, the control center matches, through the pre-release resource center, a pre-upgrade version corresponding to the instruction information, including:
the pre-release resource center displays the version contained in the upgrade 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 upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrade version, and the upgraded experience version is the latest experience version.
Preferably, the control center synchronizes the latest experience version to an online resource center, including:
the pre-release resource center obtains 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 client compares version information of the application program with version information of the latest experience version, including:
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:
after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for next version information comparison 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 storing one or more programs which, when executed by a processor, implement the method of any of the preceding claims.
The beneficial effects are that:
the invention can accurately designate a certain version resource as the upgrade resource of the experience version and the release version, and is further normalized operation and flow control of the upgrade 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 embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a schematic diagram of 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 according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer readable medium according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can 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 in the drawings denote the same or similar elements, components or portions, and thus a repetitive description thereof will be omitted.
The features, structures, characteristics or other details described in a particular embodiment do not exclude that may be combined in one or more other embodiments in a suitable manner, without departing from the technical idea of the invention.
In the description of specific embodiments, features, structures, characteristics, or other details described in the present invention are provided to enable one skilled in the art to fully understand the embodiments. However, it is not excluded that one skilled in the art may practice the present invention without one or more of the specific features, structures, characteristics, or other details.
The drawings shown in the figures are merely exemplary and do not necessarily include all of the content and operations/steps nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
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-publishing and upgrading of an application program according to an embodiment of the present disclosure includes:
s101: the pre-release resource center acquires upgrade resources constructed by the deployment platform;
in the preferred embodiment of the invention, when version release and update are needed, new version resources are deployed firstly, then the deployment platform completes deployment, compiling and packaging of upgrade resources, then the pre-release resource center can remove the upgrade resources constructed by the deployment platform, and finally the pre-release resource center stores the read upgrade resources.
S102: 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 on-line resource center through communication broadcasting, and the control center sends out control instructions through the communication broadcasting and executes the control instructions through scripts to read the upgrade resources from the pre-release resource center.
S103: the control center obtains the latest experience version by matching the pre-upgrading version corresponding to the instruction information through the pre-release resource center;
in the preferred embodiment of the invention, the pre-release resource center displays the version contained in the upgrade resource according to the instruction information, a publisher can automatically formulate a certain version in the upgrade resource as an experience version or an online release version, a version to be selected can also be set 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 upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrade version, and the upgraded 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 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 an application program;
in the preferred embodiment of the invention, when the application program is started to display that version update is needed, the client side reads the configuration information of the application program and compares the configuration information of the new version based on the configuration information so as to realize version update and prevent 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 obtains the resource address of the latest experience version according to a comparison result;
in a preferred embodiment of the present invention, a client obtains a version number and configuration file information of an application program, a version number and configuration file information of the latest experience version, 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 difference exists in the comparison result, a resource address of the latest experience version is read and used for resource pulling of the latest experience version according to the resource address; and when the comparison result is always, the application program of the client is not updated.
S107: and the client pulls the corresponding resource increment packet 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, a corresponding resource increment packet is pulled from an online resource center to upgrade the version of the application program, so as to realize further normalized operation and flow control of the application program.
Further, the pre-release resource center obtains upgrade resources constructed by the deployment platform, including:
deploying the upgrade resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and publishing the compiled upgrade resource to the pre-release resource center.
In the preferred embodiment of the invention, the publisher builds and compiles the upgrade resource by the deployment platform in advance, so that the built and compiled resource is packaged and transmitted to the pre-release resource center, and the pre-release resource center provides the functions of version selection and resource storage of experience versions and responds and processes correspondingly according to script instructions.
Further, the control center matches, through the pre-release resource center, a pre-upgrade version corresponding to the instruction information, including:
the pre-release resource center displays the version contained in the upgrade 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 included in the upgrade resource according to the instruction information, provides an experience version selection operation button and an online release button, and simultaneously performs synchronization of the version resource corresponding to the selected version to the online resource center, and when the user needs to update the application program, pulls the upgrade resource from the online resource center.
Further, the obtaining the latest experience version includes:
and the experience version client upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrade version, and the upgraded experience version is the latest experience version.
In the preferred embodiment of the invention, the experience version client compares the version configuration file information of the client with the configuration file information of the pre-upgrading version, and upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrading version when the version information is different, so that the upgrade of the experience version is completed, and the upgraded experience version is the latest experience version.
Further, the control center synchronizes the latest experience version to an online resource center, including:
the pre-release resource center obtains 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 the preferred embodiment of the invention, when the latest experience version has no error problem on the version after experience, the experience version is started to be used for 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 up the upgrade resource through the online resource center to realize version update.
Further, the client compares the version information of the application program with the version information of the latest experience version, including:
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 the preferred embodiment of the invention, when the client pulls up the upgrade resource through the online resource center, the version number and the configuration file information of the client application program, the version number and the configuration file information of the latest experience version are required to be acquired first, then the version number of the application program and the version number of the latest experience version are compared, and the configuration file information of the application program and the configuration file information of the latest experience version are compared, when the comparison has different points, the upgrade resource package of the Mr resource center is pulled up to carry out version upgrade, and when the comparison results are the same, the upgrade of the client application program is not carried out, and the flow consumption is reduced.
Further, the method further comprises the following steps:
after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for next version information comparison reference.
In the preferred embodiment of the invention, after the version of the client application program is upgraded, the version of the upgraded application program is stored as the current version information, meanwhile, the historical version information is deleted, the storage space is saved, and meanwhile, the stored current version information can be used as a reference for comparing the version information when the next application program is upgraded.
The invention can accurately designate a certain version resource as the upgrade resource of the experience version and the release version, and is further normalized operation and flow control of the upgrade program.
Fig. 2 is a schematic structural diagram of an apparatus for controlling pre-release and upgrade of an application program according to an embodiment of the present disclosure, including:
an upgrade resource acquisition module 201, wherein a pre-release resource center acquires upgrade resources constructed by a deployment platform;
in the preferred embodiment of the invention, when version release and update are needed, new version resources are deployed firstly, then the deployment platform completes deployment, compiling and packaging of upgrade resources, then the pre-release resource center can remove the upgrade resources constructed by the deployment platform, and finally the pre-release resource center stores the read upgrade resources.
The instruction sending module 202 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 on-line resource center through communication broadcasting, and the control center sends out control instructions through the communication broadcasting and executes the control instructions through scripts to read the upgrade resources from the pre-release resource center.
The version matching module 203 is used for obtaining the latest experience version by the control center through matching the pre-upgrading version corresponding to the instruction information by the pre-release resource center;
in the preferred embodiment of the invention, the pre-release resource center displays the version contained in the upgrade resource according to the instruction information, a publisher can automatically formulate a certain version in the upgrade resource as an experience version or an online release version, a version to be selected can also be set 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 upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrade version, and the upgraded experience version is the latest experience version.
A version synchronization module 204, the control center synchronizing 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 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.
A version information acquisition module 205, in which the client acquires version information of the application program;
in the preferred embodiment of the invention, when the application program is started to display that version update is needed, the client side reads the configuration information of the application program and compares the configuration information of the new version based on the configuration information so as to realize version update and prevent repeated update caused by the same version content.
The version information comparison module 206 is configured to compare the version information of the application program with the version information of the latest experience version, and obtain a resource address of the latest experience version according to a comparison result;
in a preferred embodiment of the present invention, a client obtains a version number and configuration file information of an application program, a version number and configuration file information of the latest experience version, 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 difference exists in the comparison result, a resource address of the latest experience version is read and used for resource pulling of the latest experience version according to the resource address; and when the comparison result is always, the application program of the client is not updated.
And the version upgrading module 207 is used for the client to pull the corresponding resource increment package from the online resource center according to the resource address so as to upgrade the version of the application program.
In a preferred embodiment of the present invention, based on the obtained resource address, a corresponding resource increment packet is pulled from an online resource center to upgrade the version of the application program, so as to realize further normalized operation and flow control of the application program.
Further, the pre-release resource center obtains upgrade resources constructed by the deployment platform, including:
deploying the upgrade resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and publishing the compiled upgrade resource to the pre-release resource center.
Further, the control center matches, through the pre-release resource center, a pre-upgrade version corresponding to the instruction information, including:
the pre-release resource center displays the version contained in the upgrade 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 upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrade version, and the upgraded experience version is the latest experience version.
Further, the control center synchronizes the latest experience version to an online resource center, including:
the pre-release resource center obtains 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 client compares the version information of the application program with the version information of the latest experience version, including:
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, the method further comprises the following steps:
after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information for next version information comparison reference.
The invention can accurately designate a certain version resource as the upgrade resource of the experience version and the release version, and is further normalized operation and flow control of the upgrade program.
Based on the same inventive concept, the embodiments of the present specification also provide an electronic device.
The following describes an embodiment of an electronic device according to the present invention, which may be regarded as a specific physical implementation of the above-described embodiment of the method and apparatus according to the present invention. Details described in relation to the embodiments of the electronic device of the present invention should be considered as additions to the embodiments of the method or apparatus described above; for details not disclosed in the embodiments of the electronic device of the present invention, reference may be made to the above-described method or apparatus embodiments.
Referring to fig. 3, a schematic structural diagram of an electronic device according to an embodiment of the present disclosure is provided. An electronic device 300 according to this embodiment of the present invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 3, the electronic device 300 is embodied in the form of a general purpose computing device. 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 the 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 that is executable by the processing unit 310 such that the processing unit 310 performs the steps according to various exemplary embodiments of the invention described in the above processing method section of the present specification. For example, the processing unit 310 may perform the steps shown in fig. 1.
The memory unit 320 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 3201 and/or cache memory 3202, and may further include Read Only Memory (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: operating devices, one or more application programs, other program modules, and program data, each or some combination of which may include 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.), one or more devices that enable a user to interact with the electronic device 300, and/or any device (e.g., router, modem, etc.) that enables the electronic device 300 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 350. Also, electronic device 300 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 via the bus 330. It should be appreciated that although not shown in fig. 3, other hardware and/or software modules may be used in connection with electronic device 300, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, data backup storage devices, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the exemplary embodiments described herein may be implemented in software, or may be implemented in software in combination with necessary hardware. Thus, the technical solution according to the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer readable storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the above-mentioned method according to the present invention. The computer program, when executed by a data processing device, enables the computer readable medium to carry out the above-described method of the present invention, namely: such as the method shown in fig. 1.
Referring to fig. 4, a schematic diagram of a computer readable medium according to an embodiment of the present disclosure is provided.
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 can be, for example, but is not limited to, an apparatus, device, or means for electronic, magnetic, optical, electromagnetic, infrared, or semiconductor, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk 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 data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium 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 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, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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., connected via 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 accordance with embodiments of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
The above-described specific embodiments further describe the objects, technical solutions and advantageous effects of the present invention in detail, and it should be understood that the present invention is not inherently related to any particular computer, virtual device or electronic apparatus, and various general-purpose devices may also implement the present invention. The foregoing description of the embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (8)

1. A method for controlling pre-release and upgrade of an application program, comprising:
the pre-release resource center acquires upgrade resources constructed by the deployment platform;
the control center establishes communication connection with the pre-release resource center and the on-line resource center through communication broadcasting, and the control center sends out control instructions through the communication broadcasting and executes the control instructions through scripts, reads the upgrade resources from the pre-release resource center and sends instruction information to the pre-release resource center;
the pre-release resource center displays the version contained in the upgrade resource according to the instruction information and provides a selection operation button of the latest experience version and an online release button; the pre-release resource center matches a pre-upgrade version corresponding to the instruction information according to the instruction information 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 an application program;
the client compares the version information of the application program with the version information of the latest experience version, and obtains the resource address of the latest experience version according to a comparison result;
the client pulls the corresponding resource increment packet from the online resource center according to the resource address to upgrade the version of the application program;
after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information, deletes historical version information and is used for comparing the next version information with a benchmark.
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 the method comprises the following steps:
deploying the upgrade resources through the deployment platform;
compiling the upgrade resource through the deployment platform;
and publishing the compiled upgrade resource to the pre-release resource center.
3. The method for controlling pre-release and upgrade of an application program according to claim 1, wherein said obtaining the latest experience version comprises:
and the experience version client upgrades the configuration file information of the experience version according to the configuration file information of the pre-upgrade version, and the upgraded experience version is the latest experience version.
4. The method for controlling pre-release and upgrade of an application program according to claim 1, wherein the controlling center synchronizes the latest experience version to an online resource center, comprising:
the pre-release resource center obtains 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.
5. The method for controlling pre-release and upgrade of an application program according to claim 1, wherein the client compares version information of the application program with version information of the latest experience version, comprising:
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.
6. An apparatus for controlling pre-release and upgrade of an application program, comprising:
the upgrade resource acquisition module is used for acquiring upgrade resources constructed by the deployment platform by the pre-release resource center;
the control center sends out a control instruction through communication broadcasting and is executed through a script, reads the upgrade resource from the pre-release resource center, and sends instruction information to the pre-release resource center;
the version matching module is used for displaying the version contained in the upgrade resource according to the instruction information by the pre-release resource center and providing a selection operation button and an online release button of the latest experience version; the pre-release resource center matches a pre-upgrade version corresponding to the instruction information according to the instruction information 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 client acquires version information of the application program;
the version information comparison module is used for comparing the version information of the application program with the version information of the latest experience version, and acquiring a resource address of the latest experience version according to a comparison result;
the version upgrading module is used for pulling a corresponding resource increment packet from the online resource center according to the resource address by the client to upgrade the version of the application program;
after the version of the application program is upgraded, the client stores the upgraded version of the application program as current version information, deletes historical version information and is used for comparing the next version information with a benchmark.
7. 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-5.
8. 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-5.
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 CN112783529A (en) 2021-05-11
CN112783529B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853574B (en) * 2012-12-06 2015-09-16 腾讯科技(深圳)有限公司 A kind of method and system of software upgrading

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN112783529A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US8549490B2 (en) Static code analysis for packaged application customization
CN112685035B (en) Project development method and device, computer readable storage medium and electronic equipment
CN111381852A (en) Application dynamic updating method and device based on Flutter, storage medium and electronic equipment
CN109542445A (en) A kind of method and apparatus that Android plug-in unit melts hair
US20090193407A1 (en) Methods and Systems for Automatic Patch Creation for Client Updates
US8997085B2 (en) Image delta-based upgrade of complex stack in software appliance
CN112764792B (en) Method and device for upgrading associated server version application and electronic equipment
US8607191B2 (en) Automated discovery of programmatic resources
US10896109B2 (en) Non-monotonic eventual convergence for desired state configuration
CN113760324A (en) Method and device for constructing micro front-end application
CN111124454A (en) Mirror image construction method and device, electronic equipment and storage medium
CN112835568A (en) Project construction method and device
CN113296828A (en) Method, server and system for issuing application
CN112596854A (en) Method and device for continuously integrating running of assembly line
CN112783529B (en) Method and device for controlling pre-release and upgrading of application program and electronic equipment
CN110688140B (en) Code management method and terminal
CN111459506A (en) Deployment method, device, medium and electronic equipment of deep learning platform cluster
CN116820606A (en) Method, device, equipment and storage medium for configuring bootstrap program
CN116069366A (en) Client application program updating method and device, storage medium and electronic equipment
CN111209018B (en) Method and device for processing application upgrading prompt information and electronic equipment
CN112783528B (en) Resource online method and device and electronic equipment
CN116991355B (en) Method, system and device for supporting LED driving chip by modifying and iterating script
US20210034507A1 (en) Systems and methods for automated invocation of accessibility validations in accessibility scripts
CN114253615B (en) Method and device for setting bootstrap program, electronic equipment and storage medium
CN113220507B (en) Version consistency checking method and device for double-master control system

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