CN116028078B - Software remote upgrading method based on VPN technology - Google Patents

Software remote upgrading method based on VPN technology Download PDF

Info

Publication number
CN116028078B
CN116028078B CN202211617189.XA CN202211617189A CN116028078B CN 116028078 B CN116028078 B CN 116028078B CN 202211617189 A CN202211617189 A CN 202211617189A CN 116028078 B CN116028078 B CN 116028078B
Authority
CN
China
Prior art keywords
software
upgrading
file
information
software upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211617189.XA
Other languages
Chinese (zh)
Other versions
CN116028078A (en
Inventor
曹连峰
何奎
杨雪鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lubangtong Intelligent Technology Co ltd
Original Assignee
Guangzhou Lubangtong Intelligent 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 Guangzhou Lubangtong Intelligent Technology Co ltd filed Critical Guangzhou Lubangtong Intelligent Technology Co ltd
Priority to CN202211617189.XA priority Critical patent/CN116028078B/en
Publication of CN116028078A publication Critical patent/CN116028078A/en
Application granted granted Critical
Publication of CN116028078B publication Critical patent/CN116028078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention provides a software remote upgrading method based on VPN technology, comprising the following steps: establishing a connection network of the software application equipment and the software upgrading management platform based on VPN technology; acquiring software upgrading information by using a software upgrading management platform, and generating a software upgrading information database; the software upgrading management platform compares the software upgrading information in the software upgrading information database with the software version information in the preset software version information database to obtain a comparison difference record; the software upgrading management platform downloads and evaluates the software upgrading file according to the comparison difference record to generate an evaluated qualified software upgrading file; and the software upgrading management platform sends the software upgrading file which is evaluated to be qualified to the software application equipment, and remotely controls to complete the software upgrading. The invention realizes the remote upgrade of the software by utilizing the VPN technology, can improve the efficiency of the upgrade of the software and provides the use efficiency of the software application equipment.

Description

Software remote upgrading method based on VPN technology
Technical Field
The invention relates to the technical field of VPN (virtual private network), in particular to a software remote upgrading method based on VPN technology.
Background
In the use process of the industrial Internet, the software installed in the industrial automation product needs to be remotely upgraded after being communicated with the Internet through a network in the processes of software failure, software upgrading and software replacement;
when the software installed in the current industrial automation product needs to be upgraded, a professional technician needs to be contacted to the site for operation, or a network line is established for downloading the software file at the expense of financial resources, so that the software upgrading period is long, the efficiency is low, and the usability of the industrial automation product is affected;
the VPN technology establishes a private data network on a public network, adopts a point-to-point communication mode, and can transmit a software upgrading file through an encryption tunnel, so that the VPN technology is used for software upgrading of industrial automation products;
therefore, it is necessary to provide a software remote upgrade method based on VPN technology.
Disclosure of Invention
The invention provides a software remote upgrading method based on VPN technology, which can improve the efficiency of software upgrading and provide the use efficiency of software application equipment by utilizing the VPN technology to realize software remote upgrading.
The invention provides a software remote upgrading method based on VPN technology, comprising the following steps:
s1: establishing a connection network of the software application equipment and the software upgrading management platform based on VPN technology;
s2: acquiring software upgrading information by using a software upgrading management platform, and generating a software upgrading information database;
s3: the software upgrading management platform compares the software upgrading information in the software upgrading information database with the software version information in the preset software version information database to obtain a comparison difference record;
s4: the software upgrading management platform downloads and evaluates the software upgrading file according to the comparison difference record to generate an evaluated qualified software upgrading file;
s5: and the software upgrading management platform sends the software upgrading file which is evaluated to be qualified to the software application equipment, and remotely controls to complete the software upgrading.
Further, S1 includes:
s101: acquiring first networking information of the software application equipment and second networking information of a software upgrading management platform;
s102: selecting a corresponding VPN gateway and a network server according to the first networking information and the second networking information, and configuring a main VPN network;
s103: configuring a standby VPN network matched with the VPN network, and setting working parameters of the standby VPN network and triggering conditions for switching the main VPN network to the standby VPN network;
s104: and generating the VPN networks of the software application equipment and the software upgrading management platform after network testing and parameter debugging are completed on the main VPN network and the standby VPN network based on the VPN network historical fault data.
Further, S2 includes:
s201: acquiring access address information of software downloading website software;
s202: establishing a network connection between a software downloading website and a software upgrading management platform, and setting a software upgrading information pushing condition;
s203: based on the software upgrading information pushing condition, the software upgrading management platform receives the software upgrading information pushed by the software downloading website;
s204: and summarizing the software upgrading information to generate a software upgrading information database.
Further, S3 further includes building a software version information base:
s301: acquiring name information of software and current version number information of the software;
s302: setting a numbering rule according to the name information of the software, numbering and sorting the software according to the numbering rule, and generating sorted software name information;
s303: setting a content replacement operation command, when new version number information exists, replacing the current version number information with the new version number information, and setting the current version number information as standby version number information;
s304: based on the ordered software name information and the current version number information of the software, respectively setting two preset blank databases as a current version number information base and a standby version number information base according to the content replacement operation command, merging the current version number information base and the standby version number information base, and generating a software version information base.
Further, in S3, comparing the software upgrade information in the software upgrade information database with the software version information in the preset software version information database, which specifically includes the steps of:
s305: acquiring software upgrading information in a software upgrading information database, and extracting at least one first version number in the software upgrading information;
s306: acquiring software version information in a software version information base, and extracting a second version number in the software version information;
s307: and comparing the first version number with the second version number based on a preset version number comparison template to generate at least one comparison difference record.
Further, S4 includes:
s401: acquiring at least one software upgrading file information corresponding to at least one comparison difference record;
s402: downloading at least one first software upgrading file according to the software upgrading file information and a preset file downloading path;
s403: evaluating the first software upgrading file based on a preset evaluation index to generate a file with qualified first evaluation and a file with unqualified first evaluation; the evaluation index comprises file format, file security and whether the file is readable or not;
s404: downloading a corresponding second software upgrading file according to a preset standby file downloading path aiming at the file with unqualified first evaluation;
s405: evaluating the second software upgrading file based on a preset evaluation index to generate a second qualified-evaluation file and a second unqualified-evaluation file;
s406: summarizing the first qualified-evaluation file and the second qualified-evaluation file to generate a qualified-evaluation software upgrading file; and storing the first unqualified file and the second unqualified file into a preset unqualified software database.
Further, S5 includes:
s501: based on a preset software upgrading file information importance rating standard, carrying out importance rating on at least one software upgrading file to obtain a software upgrading file with highest importance rating;
s502: the software upgrading management platform sends a software upgrading file with highest importance rating to the software application equipment;
s503: the software application equipment performs software upgrading according to the software upgrading file with the highest importance rating, and generates a software upgrading result;
s504: the software upgrading management platform obtains a software upgrading result; if the software upgrading result is successful, the software upgrading information is updated to a software version information base; if the software upgrading result is failure, successively sending a software upgrading file which is lower than the software upgrading file with the highest importance rating to the software application equipment;
s505: the software application equipment sequentially upgrades the software according to the software upgrade file which is lower than the software upgrade file with the highest importance rating, and generates a plurality of new software upgrade results;
s506: if the new software upgrading results are all failure, the software upgrading is terminated, or the fault of the software using equipment is detected, or the standby software upgrading strategy is used for upgrading.
Further, the method also comprises S6, wherein the method utilizes the software upgrading file in the unqualified software database for upgrading, and comprises the following specific steps:
s601: acquiring an unqualified software upgrading file in an abnormal software database;
s602: based on preset test software, the application evaluates the unqualified software upgrading file to upgrade; performing functional evaluation on the upgraded test software to obtain first evaluation data;
s603: comparing the historical function evaluation data with the first evaluation data based on the software in the software application equipment to obtain a first data comparison error;
s604: upgrading software in the software application equipment by using the unqualified software to generate an upgraded software file, and performing functional evaluation on the upgraded software file to obtain second evaluation data;
s605: comparing the first evaluation data with the second evaluation data to obtain a second data comparison error; if the difference value of the first data comparison error and the second data comparison error is within a preset difference value threshold range, upgrading software in the software application equipment by using the unqualified software upgrading file; if the difference value of the first data comparison error and the second data comparison error exceeds the preset difference value threshold range, upgrading the software in the software application equipment without using the unqualified software upgrading file.
Further, in S506, a standby software upgrade policy is used for upgrade, which specifically includes the steps of:
s5061: backing up current software in the software application device;
s5062: acquiring third evaluation data of the function evaluation of the current software in the software application equipment;
s5063: thoroughly uninstalling current software from the software application device;
s5064: at least one software upgrading file corresponding to failure of the new software upgrading results is respectively installed in the software application equipment for function evaluation, and at least one fourth evaluation data is generated;
s5065: comparing at least one fourth evaluation data with the third evaluation data respectively to obtain at least one comparison result;
s5066: and acquiring a software upgrading file corresponding to the comparison result with the smallest difference in the comparison results, and using the software upgrading file as a software file of the software application equipment for installation and use.
Further, the method also comprises S7, wherein the specific steps of processing the software faults are as follows:
s701: acquiring software operation abnormal state data of software using equipment through a VPN network;
s702: analyzing the software operation abnormal state data based on a preset software operation abnormal risk assessment mechanism, and determining the software operation abnormal risk level;
s703: if the abnormal risk level of the software running is lower than a preset risk level threshold, unloading the software, and sending a current version number software file in a current version number information base to software application equipment for installation and use;
and if the abnormal risk level of the software running is higher than a preset risk level threshold, unloading the software, and sending the standby software file in the standby version number information base to the software application equipment for installation and use.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of steps of a software remote upgrade method based on VPN technology according to the present invention;
FIG. 2 is a schematic diagram of method steps for establishing a connection network between a software application device and a software upgrade management platform based on VPN technology according to the present invention;
FIG. 3 is a schematic diagram of steps of a method for generating a software upgrade information database according to the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The invention provides a software remote upgrading method based on VPN technology, as shown in figure 1, comprising the following steps:
s1: establishing a connection network of the software application equipment and the software upgrading management platform based on VPN technology;
s2: acquiring software upgrading information by using a software upgrading management platform, and generating a software upgrading information database;
s3: the software upgrading management platform compares the software upgrading information in the software upgrading information database with the software version information in the preset software version information database to obtain a comparison difference record;
s4: the software upgrading management platform downloads and evaluates the software upgrading file according to the comparison difference record to generate an evaluated qualified software upgrading file;
s5: and the software upgrading management platform sends the software upgrading file which is evaluated to be qualified to the software application equipment, and remotely controls to complete the software upgrading.
The working principle of the technical scheme is as follows: establishing a connection network of the software application equipment and the software upgrading management platform based on VPN technology, and establishing a special network; the method comprises the steps of obtaining software upgrading information by using a software upgrading management platform, and generating a software upgrading information database for storing the software upgrading information; the software upgrading management platform compares the software upgrading information in the software upgrading information database with the software version information in the preset software version information database to obtain a comparison difference record which is used for obtaining the basis of whether the software needs to be upgraded or not; the software upgrading management platform downloads and evaluates the software upgrading file according to the comparison difference record, generates an evaluated qualified software upgrading file, and can ensure the file reliability of the software upgrading file; and the software upgrading management platform sends the software upgrading file which is evaluated to be qualified to the software application equipment, and remotely controls to complete the software upgrading.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the efficiency of software upgrading can be improved, and the use efficiency of the software application equipment is provided.
In one embodiment, as shown in fig. 2, S1 includes:
s101: acquiring first networking information of the software application equipment and second networking information of a software upgrading management platform;
s102: selecting a corresponding VPN gateway and a network server according to the first networking information and the second networking information, and configuring a main VPN network;
s103: configuring a standby VPN network matched with the VPN network, and setting working parameters of the standby VPN network and triggering conditions for switching the main VPN network to the standby VPN network;
s104: and generating the VPN networks of the software application equipment and the software upgrading management platform after network testing and parameter debugging are completed on the main VPN network and the standby VPN network based on the VPN network historical fault data.
The working principle of the technical scheme is as follows: the VPN network is established, networking information is required to be acquired firstly, and a main network and a standby network are established according to the networking information, so that the safe and reliable use of the VPN network can be ensured; s1 comprises the following steps:
s101: acquiring first networking information of the software application equipment and second networking information of a software upgrading management platform;
s102: selecting a corresponding VPN gateway and a network server according to the first networking information and the second networking information, and configuring a main VPN network;
s103: configuring a standby VPN network matched with the VPN network, and setting working parameters of the standby VPN network and triggering conditions for switching the main VPN network to the standby VPN network;
s104: and generating the VPN networks of the software application equipment and the software upgrading management platform after network testing and parameter debugging are completed on the main VPN network and the standby VPN network based on the VPN network historical fault data.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the main network and the standby network are established according to the networking information, so that the establishment of a safe and reliable VPN network can be ensured, and the smooth progress of software remote upgrading can be ensured.
In one embodiment, as shown in fig. 3, S2 includes:
s201: acquiring access address information of software downloading website software;
s202: establishing a network connection between a software downloading website and a software upgrading management platform, and setting a software upgrading information pushing condition;
s203: based on the software upgrading information pushing condition, the software upgrading management platform receives the software upgrading information pushed by the software downloading website;
s204: and summarizing the software upgrading information to generate a software upgrading information database.
The working principle of the technical scheme is as follows: the method comprises the steps of obtaining software access address information of a software downloading website and a software upgrading information pushing condition so as to ensure that software upgrading notification information is received in time; s2 comprises the following steps:
s201: acquiring access address information of software downloading website software;
s202: establishing a network connection between a software downloading website and a software upgrading management platform, and setting a software upgrading information pushing condition;
s203: based on the software upgrading information pushing condition, the software upgrading management platform receives the software upgrading information pushed by the software downloading website;
s204: and summarizing the software upgrading information to generate a software upgrading information database.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the latest software upgrading information can be acquired by acquiring the software access address information of the software downloading website and by the software upgrading information pushing condition, so that the software upgrading notification information can be timely received.
In one embodiment, S3 further comprises building a software version information library:
s301: acquiring name information of software and current version number information of the software;
s302: setting a numbering rule according to the name information of the software, numbering and sorting the software according to the numbering rule, and generating sorted software name information;
s303: setting a content replacement operation command, when new version number information exists, replacing the current version number information with the new version number information, and setting the current version number information as standby version number information;
s304: based on the ordered software name information and the current version number information of the software, respectively setting two preset blank databases as a current version number information base and a standby version number information base according to the content replacement operation command, merging the current version number information base and the standby version number information base, and generating a software version information base.
The working principle of the technical scheme is as follows: the method for constructing the software version information library comprises the following steps:
s301: acquiring name information of software and current version number information of the software;
s302: setting a numbering rule according to the name information of the software, numbering and sorting the software according to the numbering rule, and generating sorted software name information;
s303: setting a content replacement operation command, when new version number information exists, replacing the current version number information with the new version number information, and setting the current version number information as standby version number information;
s304: based on the ordered software name information and the current version number information of the software, respectively setting two preset blank databases as a current version number information base and a standby version number information base according to the content replacement operation command, merging the current version number information base and the standby version number information base, and generating a software version information base.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the software version information base with good performance can be established by setting the ordering rule and the content replacement operation command of the software version information base, so that the software version information base is convenient for remote upgrading.
In one embodiment, in S3, comparing software upgrade information in the software upgrade information database with software version information in a preset software version information database, the specific steps are as follows:
s305: acquiring software upgrading information in a software upgrading information database, and extracting at least one first version number in the software upgrading information;
s306: acquiring software version information in a software version information base, and extracting a second version number in the software version information;
s307: and comparing the first version number with the second version number based on a preset version number comparison template to generate at least one comparison difference record.
The working principle of the technical scheme is as follows: s3, comparing the software upgrading information in the software upgrading information database with the software version information in the preset software version information database, wherein the specific steps are as follows:
s305: acquiring software upgrading information in a software upgrading information database, and extracting at least one first version number in the software upgrading information;
s306: acquiring software version information in a software version information base, and extracting a second version number in the software version information;
s307: and comparing the first version number with the second version number based on a preset version number comparison template to generate at least one comparison difference record.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the files with different new version numbers can be searched by comparing the version number numbers, so that the software can be upgraded and used conveniently.
In one embodiment, S4 comprises:
s401: acquiring at least one software upgrading file information corresponding to at least one comparison difference record;
s402: downloading at least one first software upgrading file according to the software upgrading file information and a preset file downloading path;
s403: evaluating the first software upgrading file based on a preset evaluation index to generate a file with qualified first evaluation and a file with unqualified first evaluation; the evaluation index comprises file format, file security and whether the file is readable or not;
s404: downloading a corresponding second software upgrading file according to a preset standby file downloading path aiming at the file with unqualified first evaluation;
s405: evaluating the second software upgrading file based on a preset evaluation index to generate a second qualified-evaluation file and a second unqualified-evaluation file;
s406: summarizing the first qualified-evaluation file and the second qualified-evaluation file to generate a qualified-evaluation software upgrading file; and storing the first unqualified file and the second unqualified file into a preset unqualified software database.
The working principle of the technical scheme is as follows: the quality of the software upgrading file can be controlled in advance to ensure that the software upgrading file meeting the requirements is screened out; s4 comprises the following steps:
s401: acquiring at least one software upgrading file information corresponding to at least one comparison difference record;
s402: downloading at least one first software upgrading file according to the software upgrading file information and a preset file downloading path;
s403: evaluating the first software upgrading file based on a preset evaluation index to generate a file with qualified first evaluation and a file with unqualified first evaluation; the evaluation index comprises file format, file security and whether the file is readable or not;
s404: downloading a corresponding second software upgrading file according to a preset standby file downloading path aiming at the file with unqualified first evaluation;
s405: evaluating the second software upgrading file based on a preset evaluation index to generate a second qualified-evaluation file and a second unqualified-evaluation file;
s406: summarizing the first qualified-evaluation file and the second qualified-evaluation file to generate a qualified-evaluation software upgrading file; and storing the first unqualified file and the second unqualified file into a preset unqualified software database.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the quality of the software upgrading file can be ensured by evaluating the software upgrading file, so that necessary conditions are provided for successful software upgrading.
In one embodiment, S5 comprises:
s501: based on a preset software upgrading file information importance rating standard, carrying out importance rating on at least one software upgrading file to obtain a software upgrading file with highest importance rating;
s502: the software upgrading management platform sends a software upgrading file with highest importance rating to the software application equipment;
s503: the software application equipment performs software upgrading according to the software upgrading file with the highest importance rating, and generates a software upgrading result;
s504: the software upgrading management platform obtains a software upgrading result; if the software upgrading result is successful, the software upgrading information is updated to a software version information base; if the software upgrading result is failure, successively sending a software upgrading file which is lower than the software upgrading file with the highest importance rating to the software application equipment;
s505: the software application equipment sequentially upgrades the software according to the software upgrade file which is lower than the software upgrade file with the highest importance rating, and generates a plurality of new software upgrade results;
s506: if the new software upgrading results are all failure, the software upgrading is terminated, or the fault of the software using equipment is detected, or the standby software upgrading strategy is used for upgrading.
The working principle of the technical scheme is as follows: the method comprises the steps that files with a plurality of upgrading version numbers are subjected to upgrading, the upgrading content and the emphasis direction of each file are different, the importance of the software upgrading files is rated according to the use requirements of software application equipment, and the files with high ratings are used as confirmed target upgrading files; the method specifically comprises the following steps:
s501: based on a preset software upgrading file information importance rating standard, carrying out importance rating on at least one software upgrading file to obtain a software upgrading file with highest importance rating;
s502: the software upgrading management platform sends a software upgrading file with highest importance rating to the software application equipment;
s503: the software application equipment performs software upgrading according to the software upgrading file with the highest importance rating, and generates a software upgrading result;
s504: the software upgrading management platform obtains a software upgrading result; if the software upgrading result is successful, the software upgrading information is updated to a software version information base; if the software upgrading result is failure, successively sending a software upgrading file which is lower than the software upgrading file with the highest importance rating to the software application equipment;
s505: the software application equipment sequentially upgrades the software according to the software upgrade file which is lower than the software upgrade file with the highest importance rating, and generates a plurality of new software upgrade results;
s506: if the new software upgrading results are all failure, the software upgrading is terminated, or the fault of the software using equipment is detected, or the standby software upgrading strategy is used for upgrading.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the file with a plurality of upgrade version numbers is rated, and the file with high rating is used as the determined target upgrade file, so that the quality of software upgrade can be effectively ensured, and the practicability of software use is improved.
In one embodiment, the method further comprises S6, wherein the method comprises the following specific steps of:
s601: acquiring an unqualified software upgrading file in an abnormal software database;
s602: based on preset test software, the application evaluates the unqualified software upgrading file to upgrade; performing functional evaluation on the upgraded test software to obtain first evaluation data;
s603: comparing the historical function evaluation data with the first evaluation data based on the software in the software application equipment to obtain a first data comparison error;
s604: upgrading software in the software application equipment by using the unqualified software to generate an upgraded software file, and performing functional evaluation on the upgraded software file to obtain second evaluation data;
s605: comparing the first evaluation data with the second evaluation data to obtain a second data comparison error; if the difference value of the first data comparison error and the second data comparison error is within a preset difference value threshold range, upgrading software in the software application equipment by using the unqualified software upgrading file; if the difference value of the first data comparison error and the second data comparison error exceeds the preset difference value threshold range, upgrading the software in the software application equipment without using the unqualified software upgrading file.
The working principle of the technical scheme is as follows: and S6, upgrading by using a software upgrading file in the unqualified software database, wherein the specific steps are as follows:
s601: acquiring an unqualified software upgrading file in an abnormal software database;
s602: based on preset test software, the application evaluates the unqualified software upgrading file to upgrade; performing functional evaluation on the upgraded test software to obtain first evaluation data;
s603: comparing the historical function evaluation data with the first evaluation data based on the software in the software application equipment to obtain a first data comparison error;
s604: upgrading software in the software application equipment by using the unqualified software to generate an upgraded software file, and performing functional evaluation on the upgraded software file to obtain second evaluation data;
s605: comparing the first evaluation data with the second evaluation data to obtain a second data comparison error; if the difference value of the first data comparison error and the second data comparison error is within a preset difference value threshold range, upgrading software in the software application equipment by using the unqualified software upgrading file; if the difference value of the first data comparison error and the second data comparison error exceeds the preset difference value threshold range, upgrading the software in the software application equipment without using the unqualified software upgrading file.
In order to better monitor the effect of remote software upgrading, the completion accuracy of a software upgrading file is used as an index for evaluating the software upgrading, and the calculation formula is as follows:
in the above, P is the completion accuracy of the software upgrade file, M y Indicating the number of files successfully upgraded by adopting the files which are evaluated to be qualified, N y Representing the number of upgrade files, M, that are available for performing a software upgrade to qualify for evaluation ε Indicating the number of files successfully upgraded by adopting unqualified files, N y The number of unqualified upgrade files for software upgrade is represented, and alpha and beta respectively represent influence factors; the software can be further checked by calculating the accuracy of the completion of the software upgrade fileThe effect of remote upgrading provides data basis for improving the evaluation system of software upgrading.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the purpose of upgrading by using the standby software can be achieved by upgrading the software upgrading file in the unqualified software database, so that the successful upgrading of the software is realized under the condition that the qualified software is not successfully upgraded.
In one embodiment, the backup software upgrade strategy is used for upgrade in S506, which specifically includes the following steps:
s5061: backing up current software in the software application device;
s5062: acquiring third evaluation data of the function evaluation of the current software in the software application equipment;
s5063: thoroughly uninstalling current software from the software application device;
s5064: at least one software upgrading file corresponding to failure of the new software upgrading results is respectively installed in the software application equipment for function evaluation, and at least one fourth evaluation data is generated;
s5065: comparing at least one fourth evaluation data with the third evaluation data respectively to obtain at least one comparison result;
s5066: and acquiring a software upgrading file corresponding to the comparison result with the smallest difference in the comparison results, and using the software upgrading file as a software file of the software application equipment for installation and use.
The working principle of the technical scheme is as follows: the standby software upgrading strategy is set for software upgrading, so that the smooth progress of the software upgrading can be further ensured; the method comprises the following specific steps:
s5061: backing up current software in the software application device;
s5062: acquiring third evaluation data of the function evaluation of the current software in the software application equipment;
s5063: thoroughly uninstalling current software from the software application device;
s5064: at least one software upgrading file corresponding to failure of the new software upgrading results is respectively installed in the software application equipment for function evaluation, and at least one fourth evaluation data is generated;
s5065: comparing at least one fourth evaluation data with the third evaluation data respectively to obtain at least one comparison result;
s5066: and acquiring a software upgrading file corresponding to the comparison result with the smallest difference in the comparison results, and using the software upgrading file as a software file of the software application equipment for installation and use.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the software closest to the current software in the software application equipment can be determined according to the evaluation data by using the software function evaluation, so that the software can be ensured to be continuously used with better use performance.
In one embodiment, the method further comprises S7, wherein the method comprises the following specific steps of:
s701: acquiring software operation abnormal state data of software using equipment through a VPN network;
s702: analyzing the software operation abnormal state data based on a preset software operation abnormal risk assessment mechanism, and determining the software operation abnormal risk level;
s703: if the abnormal risk level of the software running is lower than a preset risk level threshold, unloading the software, and sending a current version number software file in a current version number information base to software application equipment for installation and use;
and if the abnormal risk level of the software running is higher than a preset risk level threshold, unloading the software, and sending the standby software file in the standby version number information base to the software application equipment for installation and use.
The working principle of the technical scheme is as follows: after the software fault occurs, acquiring abnormal state data of software operation through a VPN network, and performing corresponding software processing according to the possibly caused risk level so as to ensure the use efficiency of the software; the method comprises the following specific steps:
s701: acquiring software operation abnormal state data of software using equipment through a VPN network;
s702: analyzing the software operation abnormal state data based on a preset software operation abnormal risk assessment mechanism, and determining the software operation abnormal risk level;
s703: if the abnormal risk level of the software running is lower than a preset risk level threshold, unloading the software, and sending a current version number software file in a current version number information base to software application equipment for installation and use;
and if the abnormal risk level of the software running is higher than a preset risk level threshold, unloading the software, and sending the standby software file in the standby version number information base to the software application equipment for installation and use.
The beneficial effects of the technical scheme are as follows: by adopting the scheme provided by the embodiment, the software operation abnormal state data of the software using equipment is obtained through the VPN network, the software operation abnormal state data is analyzed, the risk level of the software operation abnormality is determined, and the corresponding software processing method is adopted according to the risk level, so that the effective processing of software faults can be ensured, and the use efficiency of the software is improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. The software remote upgrading method based on VPN technology is characterized by comprising the following steps:
s1: establishing a connection network of the software application equipment and the software upgrading management platform based on VPN technology;
s2: acquiring software upgrading information by using a software upgrading management platform, and generating a software upgrading information database;
s3: the software upgrading management platform compares the software upgrading information in the software upgrading information database with the software version information in the preset software version information database to obtain a comparison difference record;
s4: the software upgrading management platform downloads and evaluates the software upgrading file according to the comparison difference record to generate an evaluated qualified software upgrading file;
s5: the software upgrading management platform sends the software upgrading file which is evaluated to be qualified to the software application equipment, and the software upgrading is completed through remote control;
s4 comprises the following steps:
s401: acquiring at least one software upgrading file information corresponding to at least one comparison difference record;
s402: downloading at least one first software upgrading file according to the software upgrading file information and a preset file downloading path;
s403: evaluating the first software upgrading file based on a preset evaluation index to generate a file with qualified first evaluation and a file with unqualified first evaluation; the evaluation index comprises file format, file security and whether the file is readable or not;
s404: downloading a corresponding second software upgrading file according to a preset standby file downloading path aiming at the file with unqualified first evaluation;
s405: evaluating the second software upgrading file based on a preset evaluation index to generate a second qualified-evaluation file and a second unqualified-evaluation file;
s406: summarizing the first qualified-evaluation file and the second qualified-evaluation file to generate a qualified-evaluation software upgrading file; and storing the first unqualified file and the second unqualified file into a preset unqualified software database.
2. The method for remotely upgrading software based on VPN technology according to claim 1, wherein S1 includes:
s101: acquiring first networking information of the software application equipment and second networking information of a software upgrading management platform;
s102: selecting a corresponding VPN gateway and a network server according to the first networking information and the second networking information, and configuring a main VPN network;
s103: configuring a standby VPN network matched with the VPN network, and setting working parameters of the standby VPN network and triggering conditions for switching the main VPN network to the standby VPN network;
s104: and generating the VPN networks of the software application equipment and the software upgrading management platform after network testing and parameter debugging are completed on the main VPN network and the standby VPN network based on the VPN network historical fault data.
3. The method for remotely upgrading software based on VPN technology according to claim 1, S2 includes:
s201: acquiring access address information of software downloading website software;
s202: establishing a network connection between a software downloading website and a software upgrading management platform, and setting a software upgrading information pushing condition;
s203: based on the software upgrading information pushing condition, the software upgrading management platform receives the software upgrading information pushed by the software downloading website;
s204: and summarizing the software upgrading information to generate a software upgrading information database.
4. The method for remotely upgrading software based on VPN technology according to claim 1, S3 further comprising constructing a software version information base:
s301: acquiring name information of software and current version number information of the software;
s302: setting a numbering rule according to the name information of the software, numbering and sorting the software according to the numbering rule, and generating sorted software name information;
s303: setting a content replacement operation command, when new version number information exists, replacing the current version number information with the new version number information, and setting the current version number information as standby version number information;
s304: based on the ordered software name information and the current version number information of the software, respectively setting two preset blank databases as a current version number information base and a standby version number information base according to the content replacement operation command, merging the current version number information base and the standby version number information base, and generating a software version information base.
5. The method for remotely upgrading software based on VPN technology according to claim 1, wherein in S3, comparing software upgrading information in a software upgrading information database with software version information in a preset software version information database, the specific steps are:
s305: acquiring software upgrading information in a software upgrading information database, and extracting at least one first version number in the software upgrading information;
s306: acquiring software version information in a software version information base, and extracting a second version number in the software version information;
s307: and comparing the first version number with the second version number based on a preset version number comparison template to generate at least one comparison difference record.
6. The method for remotely upgrading software based on VPN technology according to claim 1, S5 includes:
s501: based on a preset software upgrading file information importance rating standard, carrying out importance rating on at least one software upgrading file to obtain a software upgrading file with highest importance rating;
s502: the software upgrading management platform sends a software upgrading file with highest importance rating to the software application equipment;
s503: the software application equipment performs software upgrading according to the software upgrading file with the highest importance rating, and generates a software upgrading result;
s504: the software upgrading management platform obtains a software upgrading result; if the software upgrading result is successful, the software upgrading information is updated to a software version information base; if the software upgrading result is failure, successively sending a software upgrading file which is lower than the software upgrading file with the highest importance rating to the software application equipment;
s505: the software application equipment sequentially upgrades the software according to the software upgrade file which is lower than the software upgrade file with the highest importance rating, and generates a plurality of new software upgrade results;
s506: if the new software upgrading results are all failure, the software upgrading is terminated, or the fault of the software using equipment is detected, or the standby software upgrading strategy is used for upgrading.
7. The method for remotely upgrading software based on VPN technology according to claim 1, further comprising S6, upgrading by using a software upgrading file in an evaluation disqualification software database, wherein the method comprises the following specific steps:
s601: acquiring an unqualified software upgrading file in an abnormal software database;
s602: based on preset test software, the application evaluates the unqualified software upgrading file to upgrade; performing functional evaluation on the upgraded test software to obtain first evaluation data;
s603: comparing the historical function evaluation data with the first evaluation data based on the software in the software application equipment to obtain a first data comparison error;
s604: upgrading software in the software application equipment by using the unqualified software to generate an upgraded software file, and performing functional evaluation on the upgraded software file to obtain second evaluation data;
s605: comparing the first evaluation data with the second evaluation data to obtain a second data comparison error; if the difference value of the first data comparison error and the second data comparison error is within a preset difference value threshold range, upgrading software in the software application equipment by using the unqualified software upgrading file; if the difference value of the first data comparison error and the second data comparison error exceeds the preset difference value threshold range, upgrading the software in the software application equipment without using the unqualified software upgrading file.
8. The method for remotely upgrading software based on VPN technology according to claim 6, wherein in S506, a standby software upgrading policy is used for upgrading, and the specific steps are as follows:
s5061: backing up current software in the software application device;
s5062: acquiring third evaluation data of the function evaluation of the current software in the software application equipment;
s5063: thoroughly uninstalling current software from the software application device;
s5064: at least one software upgrading file corresponding to failure of the new software upgrading results is respectively installed in the software application equipment for function evaluation, and at least one fourth evaluation data is generated;
s5065: comparing at least one fourth evaluation data with the third evaluation data respectively to obtain at least one comparison result;
s5066: and acquiring a software upgrading file corresponding to the comparison result with the smallest difference in the comparison results, and using the software upgrading file as a software file of the software application equipment for installation and use.
9. The method for remotely upgrading software based on VPN technology according to claim 4, further comprising S7, wherein the software fault is processed by the steps of:
s701: acquiring software operation abnormal state data of software using equipment through a VPN network;
s702: analyzing the software operation abnormal state data based on a preset software operation abnormal risk assessment mechanism, and determining the software operation abnormal risk level;
s703: if the abnormal risk level of the software running is lower than a preset risk level threshold, unloading the software, and sending a current version number software file in a current version number information base to software application equipment for installation and use;
and if the abnormal risk level of the software running is higher than a preset risk level threshold, unloading the software, and sending the standby software file in the standby version number information base to the software application equipment for installation and use.
CN202211617189.XA 2022-12-15 2022-12-15 Software remote upgrading method based on VPN technology Active CN116028078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211617189.XA CN116028078B (en) 2022-12-15 2022-12-15 Software remote upgrading method based on VPN technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211617189.XA CN116028078B (en) 2022-12-15 2022-12-15 Software remote upgrading method based on VPN technology

Publications (2)

Publication Number Publication Date
CN116028078A CN116028078A (en) 2023-04-28
CN116028078B true CN116028078B (en) 2023-10-03

Family

ID=86079077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211617189.XA Active CN116028078B (en) 2022-12-15 2022-12-15 Software remote upgrading method based on VPN technology

Country Status (1)

Country Link
CN (1) CN116028078B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072157A (en) * 2007-06-08 2007-11-14 迈普(四川)通信技术有限公司 Virtual special net load backup system and its establishing method and data forwarding method
CN112527339A (en) * 2019-09-17 2021-03-19 武汉海翼科技有限公司 VPN technology-based software remote upgrading method
CN113031997A (en) * 2021-02-26 2021-06-25 深圳壹账通创配科技有限公司 Upgrade package generation and management method and device, computer equipment and storage medium
CN114296771A (en) * 2021-12-28 2022-04-08 航天信息软件技术有限公司 Installation package increment upgrading method and device based on file comparison
CN114637675A (en) * 2022-03-18 2022-06-17 展讯通信(上海)有限公司 Software evaluation method and device and computer readable storage medium
CN115202680A (en) * 2022-02-22 2022-10-18 绿城科技产业服务集团有限公司 System and method for automatically upgrading local client on line in remote manner

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9043778B2 (en) * 2011-12-01 2015-05-26 Tencent Technology (Shenzhen) Company Limited Method and system for upgrading software

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072157A (en) * 2007-06-08 2007-11-14 迈普(四川)通信技术有限公司 Virtual special net load backup system and its establishing method and data forwarding method
CN112527339A (en) * 2019-09-17 2021-03-19 武汉海翼科技有限公司 VPN technology-based software remote upgrading method
CN113031997A (en) * 2021-02-26 2021-06-25 深圳壹账通创配科技有限公司 Upgrade package generation and management method and device, computer equipment and storage medium
CN114296771A (en) * 2021-12-28 2022-04-08 航天信息软件技术有限公司 Installation package increment upgrading method and device based on file comparison
CN115202680A (en) * 2022-02-22 2022-10-18 绿城科技产业服务集团有限公司 System and method for automatically upgrading local client on line in remote manner
CN114637675A (en) * 2022-03-18 2022-06-17 展讯通信(上海)有限公司 Software evaluation method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN116028078A (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US10048996B1 (en) Predicting infrastructure failures in a data center for hosted service mitigation actions
CN110178121B (en) Database detection method and terminal thereof
CN108170566A (en) Product failure information processing method, system, equipment and collaboration platform
US20230129123A1 (en) Monitoring and Management System for Automatically Generating an Issue Prediction for a Trouble Ticket
US9860109B2 (en) Automatic alert generation
CN105872127B (en) A kind of IP address management system
WO2016059484A1 (en) A method for managing subsystems of a process plant using a distributed control system
CN110088744A (en) A kind of database maintenance method and its system
CN109905268B (en) Network operation and maintenance method and device
CN117041029A (en) Network equipment fault processing method and device, electronic equipment and storage medium
CN112764956A (en) Database exception handling system, and database exception handling method and device
CN110737548A (en) Data request method and server
CN112311574A (en) Method, device and equipment for checking network topology connection
CN116028078B (en) Software remote upgrading method based on VPN technology
CN111338869B (en) Configuration parameter management method, device, equipment and storage medium
CN110609761B (en) Method and device for determining fault source, storage medium and electronic equipment
CN110930075B (en) Power equipment fault positioning method, device, computer equipment and storage medium
CN111897697A (en) Server hardware fault repairing method and device
CN110521233B (en) Method for identifying interrupt, access point, method for remote configuration, system and medium
CN112988444B (en) Processing method, processing device and processing equipment for server cluster fault diagnosis, method for server fault diagnosis and computer-readable storage medium
CN113242147B (en) Automatic operation and maintenance deployment method, device, equipment and storage medium of multi-cloud environment
CN110727538B (en) Fault positioning system and method based on model hit probability distribution
Hamdan et al. Digitalization of Protection Relay Management
US20220100594A1 (en) Infrastructure monitoring system
CN113629878B (en) Remote control verification method and system for three-remote switch of power distribution network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant