CN115599436A - Information processing method, device, equipment and computer readable storage medium - Google Patents

Information processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115599436A
CN115599436A CN202211298548.XA CN202211298548A CN115599436A CN 115599436 A CN115599436 A CN 115599436A CN 202211298548 A CN202211298548 A CN 202211298548A CN 115599436 A CN115599436 A CN 115599436A
Authority
CN
China
Prior art keywords
file
difference
version
target
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211298548.XA
Other languages
Chinese (zh)
Inventor
简景亮
傅向平
赵岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Everything Safety Technology Co ltd
Original Assignee
Shenzhen Everything Safety 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 Shenzhen Everything Safety Technology Co ltd filed Critical Shenzhen Everything Safety Technology Co ltd
Priority to CN202211298548.XA priority Critical patent/CN115599436A/en
Publication of CN115599436A publication Critical patent/CN115599436A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses an information processing method, an information processing device, information processing equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring first version information and local second version information in an intermediate station; comparing the first version information with the second version information to determine whether differential version information exists; if the difference version information exists, determining a difference file and a first target description file according to the difference version information; and upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and the preset time so as to obtain a second mirror image. According to the method and the device, whether the difference version information exists or not can be determined according to the comparison between the first version information in the intermediate station and the local second version information, when the difference file exists, the difference file and the description file are downloaded, the mirror image is reconstructed, the second mirror image of the latest version can be reconstructed without downloading the whole mirror image, and therefore the time for synchronizing the mirror images of all servers in the private cloud environment is saved.

Description

Information processing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an information processing method, an information processing apparatus, an information processing device, and a computer-readable storage medium.
Background
In a strictly-regulated enterprise-level private network, a physical machine is deployed into the network and cannot access the internet, files cannot be transmitted to the internet, the files can be transmitted into the private network but are strictly regulated, large-volume files are transmitted into the private network and need to be examined and approved through a multi-level process, service upgrading of the private cloud is generally upgrading docker mirror images, but micro-service docker mirror images generally have hundreds of sizes, and sometimes only a few lines of codes are modified, and also offline mirror images with hundreds of megabytes are transmitted into the private network.
In the scene of the remote cluster, the same project needs to be used more than once; bandwidth is occupied when downloading of the image version needs to be acquired from the same image warehouse.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an information processing method, an information processing device, information processing equipment and a computer readable storage medium, and aims to solve the technical problem that when each server in the existing private cloud environment synchronously updates an image, the whole image needs to be downloaded by each server, so that the synchronization speed is slow.
In order to achieve the above object, the present invention provides an information processing method including the steps of:
acquiring first version information and local second version information in an intermediate station;
comparing the first version information and the second version information to determine whether differential version information exists;
if the difference version information exists, determining a difference file and a first target description file according to the difference version information;
and upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and preset time to obtain a second mirror image.
Further, the first version information includes: the first code version, the first dependent version and the first basic mirror version, and the second version information includes: a second code version, a second dependent version, and a second base image version, the step of comparing the first version information and the second version information to determine whether differential version information exists comprising:
comparing the first code version with the second code version, comparing the first dependent version with the second dependent version, and comparing the first base image version with the second base image version to determine whether differential version information exists.
Further, the step of determining a difference file and a first target description file according to the difference version information includes:
and downloading a difference file corresponding to the difference version information and a first target description file of the difference file to a preset local warehouse at the intermediate station according to the difference version information, wherein the difference file comprises a difference code file, a difference dependency file and a difference basic image file.
Further, the first target description file includes a first description file, a second description file, and a third description file, and the step of upgrading the first image corresponding to the difference file according to the difference file, the first target description file, and the preset time to obtain the second image includes:
when the preset time is up, acquiring the difference file and the first target description file in a preset local warehouse;
determining whether a difference code file exists in the difference file or not according to a first description file, if so, taking the difference code file as a target source code file, and if not, acquiring the target source code file;
determining whether a difference dependent file exists in the difference file or not according to a first description file, if so, taking the difference dependent file as a target dependent file, and if not, acquiring the target dependent file in a preset dependent warehouse;
and constructing a target source code according to the target source code file, the target dependency file and the first description file, and upgrading the first mirror image according to the target source code, the second description file and the third description file to obtain a second mirror image.
Further, the step of upgrading the first image according to the target source code, the second description file and the third description file to obtain a second image includes:
determining whether a difference basic mirror image file exists in the difference files or not according to a second description file, if so, taking the difference basic mirror image file as a target basic mirror image file, and if not, acquiring the target basic mirror image file in a preset mirror image warehouse according to the second description file;
and constructing a target basic image according to the second description file, the target source code and the target basic image file, acquiring deployment parameters in a preset image version warehouse according to the third description file, and deploying the target basic image according to the deployment parameters to acquire a second image after the first image is upgraded.
Further, the second version information includes: the step of upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and the preset time to obtain a second mirror image includes:
when a difference code file exists in a difference file, uploading a code version of the difference code file to a second file list so as to update the second code version;
when a difference dependent file exists in the difference file, uploading a dependent version of the difference dependent file to a second file list so as to update the second dependent version, and pushing the difference dependent file to a preset dependent warehouse;
when a difference basic image file exists in the difference file, uploading a basic image version of the difference basic image file to a second file list so as to update the second basic image version, and pushing the difference basic image file to a preset image warehouse.
Further, the information processing method includes:
acquiring a latest version of an image file, and upgrading a third image to be updated according to a fourth description file of the image file to construct a fourth image locally;
comparing the fourth mirror image with the third mirror image to obtain a target difference file, and uploading the target difference file and a second target description file corresponding to the target difference file to an intermediate station;
and uploading the version information of the target difference file to a first file list in an intermediate station so as to update the first file list.
Further, to achieve the above object, the present invention also provides an information processing apparatus comprising:
the acquisition module is used for acquiring first version information and local second version information in the intermediate station;
a first determining module, configured to compare the first version information and the second version information to determine whether there is differential version information;
the second determining module is used for determining a difference file and a first target description file according to the difference version information if the difference version information exists;
and the upgrading module is used for upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and preset time so as to obtain a second mirror image.
Further, to achieve the above object, the present invention also provides an information processing apparatus comprising: the information processing system comprises a memory, a processor and an information processing program which is stored on the memory and can run on the processor, wherein the information processing program realizes the steps of the information processing method when being executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon an information processing program which, when executed by a processor, realizes the steps of the aforementioned information processing method.
According to the method, the first version information and the local second version information in the intermediate station are obtained, then the first version information and the second version information are compared to determine whether difference version information exists or not, if the difference version information exists, a difference file and a first target description file are determined according to the difference version information, finally a first mirror image corresponding to the difference file is upgraded according to the difference file, the first target description file and preset time to obtain a second mirror image, whether the difference version information exists or not can be determined through comparison of the first version information and the local second version information in the intermediate station, when the difference file exists, the difference file and the description file are downloaded to reconstruct the mirror image, the second mirror image of the latest version can be reconstructed without downloading the whole mirror image, and the time for synchronizing the mirror images of all servers in the private cloud environment is saved.
Drawings
FIG. 1 is a schematic diagram of an information processing apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of an information processing method according to the present invention;
FIG. 3 is a functional block diagram of an information processing apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an information processing apparatus in a hardware operating environment according to an embodiment of the present invention.
The information processing device in the embodiment of the present invention may be a PC, or may be a mobile terminal device having a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a portable computer, or the like.
As shown in fig. 1, the information processing apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Alternatively, the information processing apparatus may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that turns off the display screen and/or the backlight when the information processing apparatus is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the device is stationary, and can be used for applications of recognizing the posture of the information processing device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; of course, the information processing apparatus may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described in detail herein.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an information processing program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to call up an information processing program stored in the memory 1005.
In this embodiment, an information processing apparatus includes: the information processing method comprises a memory 1005, a processor 1001 and an information processing program which is stored on the memory 1005 and can run on the processor 1001, wherein when the processor 1001 calls the information processing program stored in the memory 1005, the steps of the information processing method in each embodiment are executed.
The invention also provides an information processing method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the method of the invention.
In this embodiment, the information processing method includes the steps of:
step S101, acquiring first version information and local second version information in an intermediate station;
in this embodiment, first version information is first obtained in an intermediate station, where the intermediate station refers to a file service or a static site, the first version information includes a first code version, a first dependent version, and a first basic image version, and specifically, the first code file, the first dependent version file, and the first basic image file of multiple images may be stored in different folders, and the first code version of the first code file, the first dependent version of the first dependent version file, and the first basic image version of the first basic image file are determined, and then, second version information is obtained locally, and the second version information includes a second code version, a second dependent version, and a second basic image version.
Step S102, comparing the first version information with the second version information to determine whether difference version information exists;
in the present embodiment, the first version information is compared with the second version information to determine whether there is difference version information, and specifically, the version numbers of the first version information and the second version information may be compared.
Further, in an embodiment, step S102 includes:
step a, comparing the first code version with the second code version, comparing the first dependent version with the second dependent version, and comparing the first basic mirror image version with the second basic mirror image version to determine whether difference version information exists.
It should be noted that the first version information includes: the first code version, the first dependent version and the first basic mirror version, and the second version information includes: a second code version, a second dependent version, and a second base mirrored version.
In this embodiment, first, a first code version is compared with a second code version, if there is a difference, a difference code version is obtained, a first dependent version is compared with a second dependent version, if there is a difference, a difference dependent version is obtained, a first basic mirror version is compared with a second basic mirror version, and if there is a difference, a difference basic mirror version is obtained.
Specifically, the difference version information may be one, two, or three of a difference code version, a difference dependent version, and a difference base mirror version.
Step S103, if the difference version information exists, determining a difference file and a first target description file according to the difference version information;
in this embodiment, when it is determined that there is difference version information, a difference file is obtained according to the difference version information, where the difference file includes a difference code file, a difference dependent file, and a difference base image file, and then a first target description file of the difference file is obtained, where the first target description file includes a first description file, a second description file, and a third description file.
Further, in an embodiment, the step S103 includes:
and b, downloading a difference file corresponding to the difference version information and a first target description file of the difference file to a preset local warehouse at the intermediate station according to the difference version information, wherein the difference file comprises a difference code file, a difference dependency file and a difference basic image file.
In this embodiment, according to the difference version information, a difference file corresponding to the difference version information is determined in the intermediate station, a first object description file of the difference file is determined, and the difference file and the first object description file are downloaded to a local preset local warehouse. The difference code file refers to a source code file of a language used for building the application, the difference dependency file refers to various plug-in dependencies required for running the source code file, and the difference basic image file refers to a container environment for running the application.
And step S104, upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and preset time so as to obtain a second mirror image.
In this embodiment, when the preset time is reached, the mirror image is reconstructed according to the difference file and the first object description file, and a second mirror image is obtained, so as to complete upgrading of the first mirror image.
Further, in an embodiment, the step S104 includes:
step c, when the preset time is up, acquiring the difference file and the first target description file in a preset local warehouse;
step d, determining whether a difference code file exists in the difference file or not according to the first description file, if so, taking the difference code file as a target source code file, and if not, acquiring the target source code file;
step e, determining whether the difference dependent file exists in the difference file or not according to the first description file, if so, taking the difference dependent file as a target dependent file, and if not, acquiring the target dependent file in a preset dependent warehouse;
and f, constructing a target source code according to the target source code file, the target dependency file and the first description file, and upgrading the first mirror image according to the target source code, the second description file and the third description file to obtain a second mirror image.
In this embodiment, when a preset time arrives, the difference file and the first target description file are obtained in a preset local warehouse, whether the difference code file exists in the difference file is determined according to the description in the first description file, if the difference code file exists, the difference code file is used as a target source code file, and if the difference code file does not exist, the target source code file is obtained.
And then, determining whether the difference dependent file exists in the difference file according to the description of the first description file, if so, taking the difference dependent file as a target dependent file, and if not, acquiring the target dependent file in a preset dependent warehouse.
And finally, upgrading the first mirror image according to the target source code, the second description file and the third description file to obtain a second mirror image.
Further, in one embodiment, step f includes:
step f1, determining whether a difference basic image file exists in the target difference file or not according to a second description file, if so, taking the difference basic image file as a target basic image file, and if not, acquiring the target basic image file in a preset image warehouse according to the second description file;
step f2, a target basic mirror image is constructed according to the second description file, the target source code and the target basic mirror image file, deployment parameters are obtained in a preset mirror image version warehouse according to the third description file, and the target basic mirror image is deployed according to the deployment parameters so as to obtain a second mirror image after the first mirror image is upgraded.
In this embodiment, according to the second description file, it is determined whether a difference basic image file exists in the difference file, if the difference basic image file exists, the difference basic image file is used as a target basic image file, and if the difference basic image file does not exist, the target basic image file is obtained in a preset image warehouse according to the second description file;
and finally, constructing a target basic image according to the second description file, the target source code and the target basic image file, acquiring deployment parameters in a preset image version warehouse according to the third description file, and deploying the target basic image according to the deployment parameters so as to acquire a second image after the first image is upgraded.
In the information processing method provided by this embodiment, first version information and local second version information in an intermediate station are obtained, then the first version information and the second version information are compared to determine whether difference version information exists, then if the difference version information exists, a difference file and a first target description file are determined according to the difference version information, finally, a first mirror image corresponding to the difference file is updated according to the difference file, the first target description file and preset time to obtain a second mirror image, whether the difference version information exists or not can be determined through comparison of the first version information and the local second version information in the intermediate station, when the difference file exists, the difference file and the description file are downloaded, the mirror image is reconstructed, the latest version of the second mirror image can be reconstructed without downloading the whole mirror image, and time for synchronizing mirror images of servers in a private cloud environment is saved.
A second embodiment of the information processing method of the present invention is proposed based on the first embodiment, and in this embodiment, step S104 is followed by:
step S201, when a difference code file exists in a difference file, uploading a code version of the difference code file to a second file list so as to update the second code version;
step S202, when a difference dependent file exists in the difference file, uploading a dependent version of the difference dependent file to a second file list to update the second dependent version, and pushing the difference dependent file to a preset dependent warehouse;
step S203, when a difference basic image file exists in the difference file, uploading a basic image version of the difference basic image file to a second file list so as to update the second basic image version, and pushing the difference basic image file to a preset image warehouse.
In this embodiment, whether a difference code file exists in a difference file is determined, when the difference code file exists in the difference file, a code version of the difference code file is uploaded to a second file list to update a second code version, then, whether a difference dependent file exists in the difference file is determined, when the difference dependent file exists in the difference file, the dependent version of the difference dependent file is uploaded to the second file list to update the second dependent version, and the difference dependent file is pushed to a preset dependent repository, finally, whether a difference basic image file exists in the difference file is determined, when the difference basic image file exists in the difference file, a basic image version of the difference basic image file is uploaded to the second file list to update the second basic image version, and the difference basic image file is pushed to the preset image repository.
According to the information processing method provided by the embodiment, when a difference code file exists in a difference file, a code version of the difference code file is uploaded to a second file list to update the second code version, then when a difference dependent file exists in the difference file, a dependent version of the difference dependent file is uploaded to the second file list to update the second dependent version, the difference dependent file is pushed to a preset dependent warehouse, and finally when a difference basic image file exists in the difference file, a basic image version of the difference basic image file is uploaded to the second file list to update the second basic image version, the difference basic image file is pushed to the preset image warehouse, so that version information in the difference file can be updated to the second file list according to the second image file with the latest version after the second image file is built, the difference file is synchronized to the corresponding warehouse, and repeated updating is avoided.
Based on the first embodiment, a third embodiment of the information processing method of the present invention is proposed, in which the information processing method further includes:
step S301, acquiring a mirror image file of the latest version, and upgrading a third mirror image to be updated according to a fourth description file of the mirror image file to construct a fourth mirror image locally;
step S302, comparing the fourth mirror image with the third mirror image to obtain a target difference file, and uploading the target difference file and a second target description file corresponding to the target difference file to an intermediate station;
step S303, uploading the version information of the target differential file to a first file list in the intermediate station, so as to update the first file list.
In this embodiment, after the image file of the latest version is acquired, the third image to be updated is upgraded according to the fourth description file of the image file, so as to construct a fourth image corresponding to the image file locally, then the fourth image is compared with the third image, so as to obtain a target difference file, the target difference file and a second target description file corresponding to the target difference file are uploaded to the intermediate station, and finally, the version information of the target difference file is uploaded to the first file list in the intermediate station, so as to update the first file list.
According to the information processing method provided by the embodiment, the latest version of the image file is acquired, the third image to be updated is updated according to the fourth description file of the image file, the fourth image is constructed locally, the fourth image is compared with the third image to acquire the target difference file, the target difference file and the second target description file corresponding to the target difference file are uploaded to the intermediate station, the version information of the target difference file is uploaded to the first file list in the intermediate station to update the first file list, the latest version of the fourth image file can be acquired according to the latest version of the image file acquired locally, and is synchronized to the target difference file and the second target description in the intermediate station, so that other servers in a private cloud environment can download the target difference file and the second target description, and follow the new version of the target difference file and the second target description.
The present invention also provides an information processing apparatus, referring to fig. 3, comprising:
an obtaining module 10, configured to obtain first version information and local second version information in an intermediate station;
a first determining module 20, configured to compare the first version information and the second version information to determine whether there is differential version information;
a second determining module 30, configured to determine a difference file and a first target description file according to the difference version information if the difference version information exists;
and the upgrading module 40 is configured to upgrade the first image corresponding to the difference file according to the difference file, the first target description file, and preset time to obtain a second image.
Further, the first determining module 20 is further configured to:
comparing the first code version with the second code version, comparing the first dependent version with the second dependent version, and comparing the first base image version with the second base image version to determine whether differential version information exists.
Further, the second determining module 30 is further configured to:
and downloading a difference file corresponding to the difference version information and a first target description file of the difference file to a preset local warehouse at the intermediate station according to the difference version information, wherein the difference file comprises a difference code file, a difference dependency file and a difference basic image file.
Further, the upgrade module 40 is further configured to:
when the preset time is up, acquiring the difference file and the first target description file in a preset local warehouse;
determining whether a difference code file exists in the difference file or not according to a first description file, if so, taking the difference code file as a target source code file, and if not, acquiring the target source code file;
determining whether a difference dependent file exists in the difference file or not according to a first description file, if so, taking the difference dependent file as a target dependent file, and if not, acquiring the target dependent file in a preset dependent warehouse;
and constructing a target source code according to the target source code file, the target dependency file and the first description file, and upgrading the first mirror image according to the target source code, the second description file and the third description file to obtain a second mirror image.
Further, the upgrade module 40 is further configured to:
determining whether a difference basic image file exists in the difference file or not according to a second description file, if so, taking the difference basic image file as a target basic image file, and if not, acquiring the target basic image file in a preset image warehouse according to the second description file;
and constructing a target basic image according to the second description file, the target source code and the target basic image file, acquiring deployment parameters in a preset image version warehouse according to the third description file, and deploying the target basic image according to the deployment parameters to acquire a second image after the first image is upgraded.
Further, the information processing apparatus is further configured to:
when a difference code file exists in a difference file, uploading a code version of the difference code file to a second file list so as to update the second code version;
when a difference dependent file exists in the difference file, uploading a dependent version of the difference dependent file to a second file list to update the second dependent version, and pushing the difference dependent file to a preset dependent warehouse;
when a difference basic image file exists in the difference file, uploading a basic image version of the difference basic image file to a second file list so as to update the second basic image version, and pushing the difference basic image file to a preset image warehouse.
Further, the information processing apparatus is further configured to:
acquiring a mirror image file of the latest version, and upgrading a third mirror image to be updated according to a fourth description file of the mirror image file to construct a fourth mirror image locally;
comparing the fourth mirror image with the third mirror image to obtain a target difference file, and uploading the target difference file and a second target description file corresponding to the target difference file to an intermediate station;
and uploading the version information of the target difference file to a first file list in an intermediate station so as to update the first file list.
The methods executed by the program units can refer to the embodiments of the information processing method of the present invention, and are not described herein again.
Furthermore, an embodiment of the present invention also provides an information processing apparatus, including: a memory, a processor and an information processing program stored on the memory and executable on the processor, the information processing program, when executed by the processor, implementing the steps of the information processing method as described above.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which an information processing program is stored, and the information processing program, when executed by a processor, implements the steps of the information processing method described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An information processing method characterized by comprising the steps of:
acquiring first version information and local second version information in an intermediate station;
comparing the first version information and the second version information to determine whether there is differential version information;
if the difference version information exists, determining a difference file and a first target description file according to the difference version information;
and upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and preset time so as to obtain a second mirror image.
2. The information processing method according to claim 1, wherein the first version information includes: the first code version, the first dependent version and the first basic mirror version, and the second version information includes: a second code version, a second dependent version, and a second base image version, the step of comparing the first version information and the second version information to determine whether differential version information exists comprising:
comparing the first code version with the second code version, comparing the first dependent version with the second dependent version, and comparing the first base mirrored version with the second base mirrored version to determine whether differential version information exists.
3. The information processing method according to claim 1, wherein the step of determining a difference file and a first object description file based on the difference version information comprises:
and downloading a difference file corresponding to the difference version information and a first target description file of the difference file to a preset local warehouse at the intermediate station according to the difference version information, wherein the difference file comprises a difference code file, a difference dependency file and a difference basic image file.
4. The information processing method according to claim 1, wherein the first object description file includes a first description file, a second description file, and a third description file, and the step of upgrading the first image corresponding to the difference file according to the difference file, the first object description file, and a preset time to obtain a second image includes:
when the preset time is up, acquiring the difference file and the first target description file in a preset local warehouse;
determining whether a difference code file exists in the difference file or not according to a first description file, if so, taking the difference code file as a target source code file, and if not, acquiring the target source code file;
determining whether a difference dependent file exists in the difference file or not according to a first description file, if so, taking the difference dependent file as a target dependent file, and if not, acquiring the target dependent file in a preset dependent warehouse;
and constructing a target source code according to the target source code file, the target dependency file and the first description file, and upgrading the first mirror image according to the target source code, the second description file and the third description file to obtain a second mirror image.
5. The information processing method of claim 4, wherein the step of upgrading the first image to obtain a second image according to the target source code, the second description file, and the third description file comprises:
determining whether a difference basic mirror image file exists in the difference files or not according to a second description file, if so, taking the difference basic mirror image file as a target basic mirror image file, and if not, acquiring the target basic mirror image file in a preset mirror image warehouse according to the second description file;
and constructing a target basic image according to the second description file, the target source code and the target basic image file, acquiring deployment parameters in a preset image version warehouse according to the third description file, and deploying the target basic image according to the deployment parameters to acquire a second image after the first image is upgraded.
6. The information processing method according to claim 1, wherein the second version information includes: the step of upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and the preset time to obtain a second mirror image includes:
when a difference code file exists in the difference file, uploading the code version of the difference code file to a second file list so as to update the second code version;
when a difference dependent file exists in the difference file, uploading a dependent version of the difference dependent file to a second file list so as to update the second dependent version, and pushing the difference dependent file to a preset dependent warehouse;
when the difference basic image file exists in the difference file, uploading the basic image version of the difference basic image file to a second file list so as to update the second basic image version, and pushing the difference basic image file to a preset image warehouse.
7. The information processing method according to claims 1 to 5, wherein the information processing method includes:
acquiring a mirror image file of the latest version, and upgrading a third mirror image to be updated according to a fourth description file of the mirror image file to construct a fourth mirror image locally;
comparing the fourth mirror image with the third mirror image to obtain a target difference file, and uploading the target difference file and a second target description file corresponding to the target difference file to an intermediate station;
and uploading the version information of the target difference file to a first file list in an intermediate station so as to update the first file list.
8. An information processing apparatus characterized by comprising:
the acquisition module is used for acquiring first version information and local second version information in the intermediate station;
a first determining module, configured to compare the first version information and the second version information to determine whether there is differential version information;
the second determining module is used for determining a difference file and a first target description file according to the difference version information if the difference version information exists;
and the upgrading module is used for upgrading the first mirror image corresponding to the difference file according to the difference file, the first target description file and preset time so as to obtain a second mirror image.
9. An information processing apparatus characterized by comprising: memory, processor and information processing program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the information processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that an information processing program is stored thereon, which when executed by a processor implements the steps of the information processing method according to any one of claims 1 to 7.
CN202211298548.XA 2022-10-20 2022-10-20 Information processing method, device, equipment and computer readable storage medium Pending CN115599436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211298548.XA CN115599436A (en) 2022-10-20 2022-10-20 Information processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211298548.XA CN115599436A (en) 2022-10-20 2022-10-20 Information processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115599436A true CN115599436A (en) 2023-01-13

Family

ID=84847931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211298548.XA Pending CN115599436A (en) 2022-10-20 2022-10-20 Information processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115599436A (en)

Similar Documents

Publication Publication Date Title
CN108768875B (en) Application gray level publishing method and device and computer readable storage medium
US20140380295A1 (en) Method and system for updating application, and computer storage medium thereof
CN108562024B (en) Centralized control method and system for multi-split air conditioning system and computer readable storage medium
CN107679072B (en) User behavior information acquisition method, terminal and storage medium
CN108427546B (en) Full screen adaptation method of display device, display device and storage medium
US8365158B2 (en) Update of software in a portable radio communication equipment
CN102932523A (en) Systems and methods for incorporating a control connected media frame
CN107291481B (en) Component updating method, device and system
EP2713272A1 (en) Method, device and system for presenting augmented reality contents
CN111599020B (en) House display method and device and electronic equipment
CN110851032A (en) Display style adjustment method and device for target device
CN110990038B (en) Method, apparatus, electronic device and medium for applying local update
CN111131861B (en) Upgrading method, terminal and storage medium for recovering partitions
CN115599436A (en) Information processing method, device, equipment and computer readable storage medium
CN114020850B (en) Database data synchronization method, device, equipment and readable storage medium
CN112364249A (en) Terminal information display control method, device, terminal and storage medium
CN109032651B (en) Application updating method, intelligent terminal and computer readable storage medium
CN114640727B (en) Protocol analysis method, device and computer readable storage medium
CN108572985B (en) Page display method and device
CN110620808A (en) Method and device for pushing information
CN109885326B (en) Method and device for upgrading auxiliary screen control system and computer readable storage medium
CN102622181A (en) Display terminal menu achieving method, television and television system
CN110580166A (en) system application installation method and device and storage medium
CN112650530A (en) Multi-class library integration method and device, electronic equipment and readable storage medium
CN112527233A (en) Volume control method, device, terminal and computer readable storage medium

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