Agent system updating method and device, equipment and medium
By obtaining and analyzing the update status of the proxy system, determining the data packets to be installed, and updating them, the problem of inefficient human updates is solved, and more accurate and efficient proxy system updates are achieved.
Patent Information
- Application Number
- CN202411819660.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-03-18
AI Technical Summary
In the prior art, artificially updating the proxy system one by one is low efficiency and cannot meet the needs of modern proxy system updates.
By obtaining the current version, current installation package, target version and target installation package corresponding to the current identity; obtaining the update status of the agent system corresponding to the current identity; according to the update status, determine the data packet to be installed in the current installation package and the target installation package corresponding to the update status; according to the data packet to be installed, update the proxy system corresponding to the current identity.
The operation of agent system updates has been refined, the accuracy and efficiency of agent system updates have been improved, and the update tasks under different update states can be handled more accurately.
Smart Images

Figure CN119645463A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an agent system updating method, device, equipment and medium. Background Art
[0002] Nowadays, more and more servers are gradually used in all aspects of people's lives. The proxy system can monitor the operating status of the server. With the rapid development of science and technology, the proxy system is gradually updated and needs to be updated.
[0003] Currently, agent systems are updated manually one by one.
[0004] However, the efficiency of manually updating the proxy system is low and does not meet the update requirements of the proxy system. Summary of the invention
[0005] The present invention provides an agent system update method, device, equipment and medium to improve the accuracy of agent system update.
[0006] In a first aspect, an embodiment of the present invention provides a proxy system update method, the method comprising:
[0007] Get the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier;
[0008] Get the update status of the proxy system corresponding to the current identifier;
[0009] According to the update status, determine the data package to be installed corresponding to the update status in the current installation package and the target installation package;
[0010] According to the data package to be installed, the proxy system corresponding to the current identifier is updated.
[0011] In a second aspect, an embodiment of the present invention further provides an agent system update device, the device comprising:
[0012] A data acquisition module is used to obtain the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier;
[0013] A status acquisition module is used to obtain the update status of the proxy system corresponding to the current identifier;
[0014] An installation package determination module, used to determine, according to the update status, a data package to be installed corresponding to the update status in the current installation package and the target installation package;
[0015] The system update module is used to update the proxy system corresponding to the current identifier according to the data package to be installed.
[0016] In a third aspect, an embodiment of the present invention further provides an agent system update device, the agent system update device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor can execute the agent system updating method according to any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the agent system update method of any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention obtains the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier; obtains the update status of the proxy system corresponding to the current identifier; determines the data package to be installed corresponding to the update status in the current installation package and the target installation package according to the update status; updates the proxy system corresponding to the current identifier according to the data package to be installed, performs different operations for different update statuses, refines the operation of proxy system update, and improves the accuracy of proxy system update.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a flow chart of an agent system updating method provided according to the first embodiment of the present invention;
[0025] Figure 2 is a flow chart of an agent system updating method provided according to Embodiment 2 of the present invention;
[0026] Figure 3 is a structural diagram of an agent system updating device provided according to an embodiment of the present invention;
[0027] Figure 4 It is a structural diagram of an agent system update device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] In the technical solution of the embodiment of the present invention, the acquisition, storage and application of the engine types involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0031] The information collected is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0032] Embodiment 1
[0033] Figure 1 This is a flow chart of an agent system update method provided in the first embodiment of the present invention. The embodiment of the present invention is applicable to the case of agent system update, and the method can be executed by an agent system update device, and the agent system update device can be implemented in the form of hardware and / or software.
[0034] See also Figure 1 The proxy system update method shown includes:
[0035] S101, obtaining a current identifier and a current version, a current installation package, a target version, and a target installation package corresponding to the current identifier.
[0036] The current identifier may be an identifier of the proxy system to be updated. The current version may be a version identifier of the proxy system to be updated. The current installation package may be an installation package corresponding to the current version of the proxy system to be updated. The target version may be a version of the system to which the proxy system to be updated is to be updated. The target installation package may be a target installation package corresponding to the target version of the proxy system to be updated.
[0037] Specifically, when completing the job tasks for at least one server in batches, an agent system can be used. The agent system corresponds to the server one-to-one. The agent system can monitor the server's operating data or transmit data with the server to complete the job tasks. The agent system is a program that needs to update the iterative function, and the agent system on at least one server needs to be updated. One server can be selected from each server, and the agent system corresponding to the server is used as the current system for update detection. The screening method includes but is not limited to: the order of the agent systems to be processed, the urgency of the agent systems to be processed, or the geographical location of the agent systems to be processed. The current version, current installation package, target version and target installation package corresponding to the current identifier and the current identifier are obtained. The acquisition method includes but is not limited to: sequential search algorithm, block search algorithm, tree table search algorithm or hash search algorithm, etc., and the embodiment of the present invention does not limit this.
[0038] S102: Obtain the update status of the proxy system corresponding to the current identifier.
[0039] The update status may be description information of the running status of the proxy system corresponding to the current identifier.
[0040] Specifically, when the proxy system is in different update states, different log information will be generated. The proxy system corresponding to the current identifier can detect its log information, obtain the current log information, identify the current log information, determine the update state corresponding to the proxy system corresponding to the current identifier, and perform different operations for different update states.
[0041] S103: According to the update status, determine the data package to be installed corresponding to the update status in the current installation package and the target installation package.
[0042] The data package to be installed may be an installation package to be installed on the proxy system corresponding to the current identifier.
[0043] Specifically, the update status includes: not updated, updating or update failed. If the update status is not updated, it means that the version of the proxy system corresponding to the current identifier is still the current version and has not been updated. In this case, the proxy system corresponding to the current identifier is in a ready state and can be updated. If the update status is updating, it means that the update process of the proxy system corresponding to the current identifier is occupied. In this case, the proxy system corresponding to the current identifier can wait for the update to complete before updating. If the update status is update failed, it means that the proxy system corresponding to the current identifier has been updated but failed to update due to some reason. For example, the update may fail because of a sudden network disconnection or because resources are occupied. In this case, the proxy system corresponding to the current identifier cannot be updated. According to the update status, the data package to be installed corresponding to the update status is determined in the current installation package and the target installation package.
[0044] S104: updating the proxy system corresponding to the current identifier according to the data package to be installed.
[0045] Specifically, different update states correspond to different installation packages installed on the proxy system corresponding to the current identifier. After determining the data package to be installed corresponding to the update state according to the update state, the data file to be updated by the proxy system is determined according to the determined data package to be installed, and the proxy system corresponding to the current identifier is updated. Different data packages to be installed are determined for different update states, and the data updated for the proxy system corresponding to the current identifier is refined.
[0046] The technical solution of the embodiment of the present invention obtains the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier; obtains the update status of the proxy system corresponding to the current identifier; determines the data package to be installed corresponding to the update status in the current installation package and the target installation package according to the update status; updates the proxy system corresponding to the current identifier according to the data package to be installed, performs different operations for different update statuses, refines the operation of proxy system update, and improves the accuracy of proxy system update.
[0047] Embodiment 2
[0048] Figure 2 This is a flow chart of a proxy system update method provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment of the present invention optimizes and improves the proxy system update operation.
[0049] Furthermore, "according to the update status, determine the data package to be installed corresponding to the update status in the current installation package and the target installation package" is refined to "if the update status is not updated or updating, determine the target installation package as the data package to be installed; if the update status is update failure, determine the current installation package as the data package to be installed" to improve the operation of proxy system update.
[0050] It should be noted that for the parts not described in detail in the embodiments of the present invention, reference may be made to the descriptions of other embodiments.
[0051] See also Figure 2 The proxy system update method shown includes:
[0052] S201. Obtain a current identifier and a current version, a current installation package, a target version, and a target installation package corresponding to the current identifier.
[0053] S202: Obtain the update status of the proxy system corresponding to the current identifier.
[0054] S203: If the update status is not updated or updating, the target installation package is determined as the data package to be installed.
[0055] Specifically, the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier are obtained. If the update status is not updated, it means that the proxy system corresponding to the current identifier has not been updated, which means that the proxy system is in a ready state and can be updated, and the current version is updated to the target version through the target installation package; if the update status is updating, it means that the proxy system corresponding to the current identifier is performing a file upgrade, which means that the update process of the proxy system is being occupied, indicating that the update process of the proxy system can run normally, and you can wait for its update to be completed, and update it through the target installation package, and update the current version to the target version.
[0056] S204: If the update status is update failure, determine the current installation package as the data package to be installed.
[0057] Specifically, if the update status is update failure, indicating that the proxy system corresponding to the current identifier has an abnormality and cannot install new data files and installation packages, the current installation package is determined to be a data package to be installed, and the current installation package is installed on the proxy system corresponding to the current identifier.
[0058] S205: Update the proxy system corresponding to the current identifier according to the data package to be installed.
[0059] The embodiment of the present invention determines the target installation package as the data package to be installed if the update status is not updated or updating; if the update status is update failure, the current installation package is determined as the data package to be installed. Different operations are performed for different update statuses, thereby refining the steps of proxy system update and improving the accuracy of proxy system update.
[0060] Optionally, based on the data package to be installed, the proxy system corresponding to the current identifier is updated, including: obtaining a preset installation path; parsing the data package to be installed to obtain at least one service item to be closed and a driver file; after closing each service item to be closed, storing the driver file in the preset installation path, and running the driver file to update the proxy system corresponding to the current identifier.
[0061] The driver file may be a program file that enables the operating system to correctly identify and manage the hardware device. The driver is a bridge between the hardware device and the operating system, ensuring that the hardware device can be correctly identified and used normally by the system. Each hardware device requires a corresponding driver to support its functions. The preset installation path may be a preset storage path for the driver file. The service item to be closed may be a service that needs to be closed when the proxy system is updated through the package to be installed.
[0062] Specifically, a preset installation path is obtained, the data package to be installed is parsed, the services that need to be closed for installing the data package to be installed are determined, at least one service item to be closed and a driver file are obtained, and after each service item to be closed is closed, the driver file is stored in the preset installation path, the proxy system runs the driver file, and the driver file updates the proxy system corresponding to the current identifier according to the data of the data package to be installed.
[0063] By obtaining the preset installation path; parsing the data package to be installed to obtain at least one service item to be closed and a driver file; after closing each service item to be closed, storing the driver file in the preset installation path, and running the driver file, updating the proxy system corresponding to the current identifier, and fine-graining the installation method of the data package to be installed, the accuracy of installing the data package to be installed is improved.
[0064] Optionally, obtaining the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier includes: obtaining at least one update identifier, the update version and update installation package corresponding to each update identifier; obtaining the current identifier and the current version and current installation package corresponding to the current identifier; comparing the current identifier with each update identifier respectively, and determining the update identifier among each update identifier that is identical to the current identifier as the target identifier corresponding to the current identifier; determining the update version corresponding to the target identifier as the target version; determining the update installation package corresponding to the target identifier as the target installation package.
[0065] The update identifier may be an identifier of a proxy system that generates a new version. The update version may be an identifier of a version of the proxy system corresponding to the update identifier. The update installation package may be an installation package corresponding to the update version corresponding to the update identifier. The target identifier may be an identifier of a proxy system to be updated.
[0066] Specifically, there is a storage system, and each server and the agent system corresponding to each server can communicate with the storage system. The update information of each agent system can be stored in the storage system, and the update information includes the agent system identifier, the version number corresponding to the agent system, and the installation package corresponding to the version number of the agent system. The agent reads the latest version number from the storage module. When the latest version number is greater than the current version number, the agent upgrades itself to realize the function production. The storage system only stores the update information of the agent system that has been updated, and the storage system can store the update information corresponding to at least one agent system. At least one update identifier, the update version corresponding to each update identifier, and the update installation package can be obtained. The agent system can detect its own files one by one, and obtain the current version and current installation package installed by the agent system under the preset storage path. The current identifier is compared with each update identifier respectively, and the update identifier in each update identifier that is the same as the current identifier is determined as the target identifier corresponding to the current identifier, and the update version corresponding to the target identifier is determined as the target version. If there are multiple target versions, the latest version is determined as the target version, and the update installation package corresponding to the target identifier is determined as the target installation package.
[0067] By obtaining at least one update identifier, an update version and an update installation package corresponding to each update identifier; obtaining a current identifier and a current version and a current installation package corresponding to the current identifier; comparing the current identifier with each update identifier respectively, and determining the update identifier among the update identifiers that is identical to the current identifier as the target identifier corresponding to the current identifier; determining the update version corresponding to the target identifier as the target version; and determining the update installation package corresponding to the target identifier as the target installation package, the target installation package can be determined through multi-dimensional data, thereby improving the accuracy of determining the target installation package.
[0068] Optionally, the data package to be installed is parsed to obtain at least one service item to be closed and a driver file, including: obtaining a preset driver suffix, at least one installation item and at least one configuration service corresponding to each installation item; parsing the data package to be installed to obtain at least one item to be installed and at least one configuration file name; for each item to be installed, querying each configuration service corresponding to the item to be installed to determine the service item to be closed corresponding to the data package to be installed; determining the driver file according to each configuration file name and the preset driver suffix.
[0069] The preset driver suffix name may be a suffix name of a driver file to be searched. The installation item may be a data file that can be installed on the agent system. The configuration service may be a service required when installing the installation item. The item to be installed may be a data file prepared to be installed on the agent system. The configuration file name may be an identifier of a file in a data package to be installed.
[0070] Specifically, a preset driver suffix name, at least one installation item, and at least one configuration service corresponding to each installation item are obtained. The acquisition method can be obtained through industry experience. The installation data package is parsed to obtain at least one installation item to be installed on the agent system, and each file in the installation data package is identified to obtain at least one configuration file name; for each installation item, each configuration service corresponding to the installation item is queried, and the service item to be closed corresponding to the installation data package is determined according to each configuration service. Match each configuration file name with the preset driver suffix name, and determine the configuration file with the same suffix name as the preset driver suffix name as the driver file.
[0071] By obtaining a preset driver suffix, at least one installation item and at least one configuration service corresponding to each installation item; parsing the data package to be installed to obtain at least one item to be installed and at least one configuration file name; for each item to be installed, querying each configuration service corresponding to the item to be installed, and determining the service item to be closed corresponding to the data package to be installed; determining the driver file according to each configuration file name and the preset driver suffix, and fine-graining the proxy system update method, the proxy system update is more accurate.
[0072] Optionally, after updating the proxy system corresponding to the current identifier according to the data package to be installed, it also includes: obtaining at least one software to be updated corresponding to the current identifier and a software installation package corresponding to each software to be updated; the proxy system corresponding to the current identifier transmits the software installation package corresponding to each software to be updated to the server corresponding to the current identifier and drives it to update each software to be updated corresponding to the current identifier.
[0073] The software to be updated may be software to be updated corresponding to the server, and the software installation package may be an installation package for updating the software.
[0074] Specifically, when the proxy system corresponding to the current identifier becomes more detailed, it can update the software on the server where it is located. The proxy system can obtain at least one software to be updated corresponding to the current identifier and the software installation package corresponding to each software to be updated. The proxy system corresponding to the current identifier transmits the software installation package corresponding to each software to be updated to the server corresponding to the current identifier and drives the driver file corresponding to each software to update the software to be updated corresponding to the current identifier.
[0075] By obtaining at least one software to be updated corresponding to the current identifier and the software installation package corresponding to each software to be updated; the agent system corresponding to the current identifier transmits the software installation package corresponding to each software to be updated to the server corresponding to the current identifier and drives it to update each software to be updated corresponding to the current identifier. The agent system can assist in managing data on the server and improve the information processing efficiency on the server.
[0076] Optionally, the current identifier is the IP address of the server. The server is configured with a proxy system, which is used to monitor the running status of the server and update the software installed on the server.
[0077] Specifically, the current identifier is the IP address of the server. The server is configured with a proxy system. The identifier of the proxy system is the same as the identifier of the server where it is located. One server corresponds to one proxy system, and different proxy systems have different identifiers. The proxy system is used to monitor the operating status of the server and update the software installed on the server.
[0078] The current identifier is the IP address of the server. The server is configured with a proxy system. The proxy system is used to monitor the operating status of the server and update the software installed on the server. The update information of the proxy system can be obtained based on the server's identifier to ensure the accuracy of the installation package corresponding to the proxy system. The software on the server can be updated in batches, which improves the efficiency of software updates.
[0079] Embodiment 3
[0080] Figure 3 This is a schematic diagram of the structure of an agent system update device provided in Embodiment 3 of the present invention. The embodiment of the present invention is applicable to the case of agent system update, the device can execute the agent system update method, and the device can be implemented in the form of hardware and / or software.
[0081] See also Figure 3 The proxy system update device shown includes: a data acquisition module 301, a status acquisition module 302, an installation package determination module 303 and a system update module 304, wherein:
[0082] The data acquisition module 301 is used to acquire the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier;
[0083] A status acquisition module 302, used to acquire the update status of the proxy system corresponding to the current identifier;
[0084] An installation package determination module 303 is used to determine, according to the update status, a data package to be installed corresponding to the update status in the current installation package and the target installation package;
[0085] The system update module 304 is used to update the proxy system corresponding to the current identifier according to the data package to be installed.
[0086] The technical solution of the embodiment of the present invention obtains the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier; obtains the update status of the proxy system corresponding to the current identifier; determines the data package to be installed corresponding to the update status in the current installation package and the target installation package according to the update status; updates the proxy system corresponding to the current identifier according to the data package to be installed, performs different operations for different update statuses, refines the operation of proxy system update, and improves the accuracy of proxy system update.
[0087] Optionally, the installation package determination module 303 is specifically configured to:
[0088] If the update status is not updated or updating, the target installation package is determined as the data package to be installed;
[0089] If the update status is update failure, the current installation package is determined as the data package to be installed.
[0090] Optionally, the system update module 304 includes:
[0091] A path acquisition unit, used to acquire a preset installation path;
[0092] A data parsing unit, used for parsing the data package to be installed, and obtaining at least one service item to be closed and a driver file;
[0093] The file driving unit is used to store the driving file in a preset installation path after closing each service item to be closed, and to run the driving file to update the proxy system corresponding to the current identifier.
[0094] Optionally, the data acquisition module 301 is specifically used for:
[0095] Obtain at least one update identifier, an update version corresponding to each update identifier, and an update installation package;
[0096] Get the current identifier and the current version and installation package corresponding to the current identifier;
[0097] Compare the current identifier with each update identifier respectively, and determine the update identifier that is the same as the current identifier among the update identifiers as the target identifier corresponding to the current identifier;
[0098] Determine the updated version corresponding to the target identifier as the target version;
[0099] The update installation package corresponding to the target identifier is determined as the target installation package.
[0100] Optionally, a data parsing unit is used to:
[0101] Obtaining a preset driver suffix, at least one installation item, and at least one configuration service corresponding to each installation item;
[0102] Parsing the data package to be installed to obtain at least one item to be installed and at least one configuration file name;
[0103] For each item to be installed, query each configuration service corresponding to the item to be installed, and determine the service item to be closed corresponding to the data package to be installed;
[0104] Determine the driver file based on the configuration file name and the preset driver suffix.
[0105] Optionally, the proxy system updating device further includes:
[0106] A software package acquisition module, used to acquire at least one to-be-updated software corresponding to the current identifier and a software installation package corresponding to each to-be-updated software after updating the proxy system corresponding to the current identifier according to the to-be-installed data package;
[0107] The software update module is used for the proxy system corresponding to the current identification to transmit the software installation packages corresponding to each software to be updated to the server corresponding to the current identification and drive it to update each software to be updated corresponding to the current identification.
[0108] Optionally, the current identifier is the IP address of the server. The server is configured with a proxy system, which is used to monitor the running status of the server and update the software installed on the server.
[0109] The proxy system updating device provided in the embodiment of the present invention can execute the proxy system updating method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the proxy system updating method.
[0110] Embodiment 4
[0111] Figure 4 A schematic diagram of the structure of an agent system updating device 400 that can be used to implement an embodiment of the present invention is shown.
[0112] like Figure 4As shown, the agent system update device 400 includes at least one processor 401, and a memory connected to the at least one processor 401, such as a read-only memory (ROM) 402, a random access memory (RAM) 403, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 401 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 402 or the computer program loaded from the storage unit 408 to the random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the agent system update device 400 can also be stored. The processor 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0113] A number of components in the agent system update device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the agent system update device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0114] Processor 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of processor 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. Processor 501 executes the various methods and processes described above, such as the agent system update method.
[0115] In some embodiments, the agent system update method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the agent system update device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the processor 401, one or more steps of the agent system update method described above may be performed. Alternatively, in other embodiments, the processor 401 may be configured to execute the agent system update method in any other appropriate manner (e.g., by means of firmware).
[0116] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0117] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0118] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0119] To provide interaction with a user, the systems and techniques described herein may be implemented on an agent system update device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the agent system update device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0120] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0121] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS (Virtual Private Server) services.
[0122] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0123] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A proxy system updating method, characterized in that: The method comprises: Obtain the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier; Obtaining an update status of the proxy system corresponding to the current identifier; According to the update status, determining a data packet to be installed corresponding to the update status in the current installation package and the target installation package; According to the data package to be installed, the proxy system corresponding to the current identifier is updated.
2. The method according to claim 1, characterized in that The determining, according to the update status, in the current installation package and the target installation package, a data packet to be installed corresponding to the update status, comprises: If the update status is not updated or updating, the target installation package is determined as a data package to be installed; If the update status is update failure, the current installation package is determined as a data package to be installed.
3. The method according to claim 1, characterized in that The updating of the proxy system corresponding to the current identifier according to the data package to be installed includes: Get the default installation path; Parsing the data package to be installed to obtain at least one service item to be closed and a driver file; After each of the to-be-closed service items is closed, the driver file is stored in the preset installation path, and the driver file is run to update the proxy system corresponding to the current identifier.
4. The method according to claim 1, characterized in that The obtaining of the current identifier and the current version, current installation package, target version and target installation package corresponding to the current identifier includes: Obtain at least one update identifier, an update version corresponding to each update identifier, and an update installation package; Obtain the current identifier and the current version and current installation package corresponding to the current identifier; Compare the current identifier with each of the update identifiers respectively, and determine the update identifier that is the same as the current identifier among the update identifiers as the target identifier corresponding to the current identifier; Determine the updated version corresponding to the target identifier as the target version; The update installation package corresponding to the target identifier is determined as the target installation package.
5. The method according to claim 3, characterized in that: The step of parsing the data package to be installed to obtain at least one service item to be closed and a driver file includes: Obtaining a preset driver suffix, at least one installation item, and at least one configuration service corresponding to each of the installation items; Parsing the data package to be installed to obtain at least one item to be installed and at least one configuration file name; For each of the items to be installed, query each of the configuration services corresponding to the item to be installed, and determine the service item to be closed corresponding to the data package to be installed; A driver file is determined according to each of the configuration file names and the preset driver suffix name.
6. The method according to claim 1, characterized in that After the proxy system corresponding to the current identifier is updated according to the data package to be installed, the method further includes: Acquire at least one software to be updated corresponding to the current identifier and a software installation package corresponding to each software to be updated; The proxy system corresponding to the current identifier transmits the software installation packages corresponding to the software to be updated to the server corresponding to the current identifier and drives the server to update the software to be updated corresponding to the current identifier.
7. The method according to claim 1, characterized in that The current identifier is the IP address of the server. The server is configured with a proxy system, which is used to monitor the running status of the server and update the software installed on the server.
8. An agent system updating device, characterized in that: The device comprises: A data acquisition module is used to acquire a current identifier and a current version, a current installation package, a target version, and a target installation package corresponding to the current identifier; A status acquisition module, used to acquire the update status of the proxy system corresponding to the current identifier; An installation package determination module, configured to determine, according to the update status, a data packet to be installed corresponding to the update status in the current installation package and the target installation package; The system update module is used to update the proxy system corresponding to the current identifier according to the data package to be installed.
9. An agent system update device, characterized in that: The proxy system update device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the agent system updating method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the agent system updating method according to any one of claims 1 to 7 when executed.