CN111831304A - Version upgrading method and device, electronic equipment and storage medium - Google Patents

Version upgrading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111831304A
CN111831304A CN202010563929.0A CN202010563929A CN111831304A CN 111831304 A CN111831304 A CN 111831304A CN 202010563929 A CN202010563929 A CN 202010563929A CN 111831304 A CN111831304 A CN 111831304A
Authority
CN
China
Prior art keywords
version
server
administrator
upgrading
pushing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010563929.0A
Other languages
Chinese (zh)
Inventor
单丽娜
刘宜平
黄翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN202010563929.0A priority Critical patent/CN111831304A/en
Publication of CN111831304A publication Critical patent/CN111831304A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a version upgrading method, a version upgrading device, electronic equipment and a storage medium, wherein the method is applied to an AC and comprises the following steps: when detecting that the new version information is stored in the version file server, pushing the new version information to an administrator through the message pushing server; receiving a version identifier fed back by an administrator through a message push server; and acquiring the version file corresponding to the version identification from the version file server, and upgrading the version according to the acquired version file and the upgrading time fed back by the administrator through the message push server. The embodiment of the application does not need manual participation, and labor cost is greatly saved.

Description

Version upgrading method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a version upgrade method and apparatus, an electronic device, and a storage medium.
Background
In wireless networking, a version file is generally manually configured on an Access Controller (AC), and the version file includes the AC and a version file of an Access Point (AP) managed by the AC.
When the version file needs to be upgraded, a new version file needs to be manually configured on the AC on site, and the AC is manually reset, so that the upgrade of the version file is realized. This upgrading requires manual intervention, which in turn results in higher labor costs.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a version upgrading method, a version upgrading device, an electronic device and a storage medium.
According to a first aspect of embodiments of the present application, there is provided a version upgrade method, which is applied to an AC, the method including:
when detecting that the new version information is stored in the version file server, pushing the new version information to an administrator through the message pushing server;
receiving a version identifier fed back by the administrator through the message push server, wherein the version identifier is the version identifier of the version file which needs the AC upgrade and is determined by the administrator according to the new version information;
and acquiring the version file corresponding to the version identification from the version file server, and upgrading the version according to the acquired version file and the upgrading time fed back by the administrator through the message push server.
According to a second aspect of embodiments of the present application, there is provided a version upgrade apparatus, which is applied to an AC, the apparatus including:
the pushing module is used for pushing the new version information to an administrator through the message pushing server when the fact that the new version information is stored in the version file server is detected;
a receiving module, configured to receive a version identifier fed back by the administrator through the message push server, where the version identifier is a version identifier of a version file that needs to be upgraded by the AC and is determined by the administrator according to the new version information;
and the upgrading module is used for acquiring the version file corresponding to the version identification from the version file server and upgrading the version according to the acquired version file and the upgrading time fed back by the administrator through the message push server.
According to a third aspect of embodiments herein, there is provided an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: and implementing the steps of the version upgrading method.
According to a fourth aspect of embodiments of the present application, there is provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of the version-up method described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, the AC can find the new version information in time by detecting the version server, and interacts with an administrator through the message push server to learn the version identification of the version file to be upgraded in time, subsequently acquires the corresponding version file from the version server, and finishes the version upgrading operation according to the upgrading time indicated by the administrator, so that the whole upgrading process does not need manual participation, and the labor cost is greatly saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a version upgrading method according to an embodiment of the present application;
fig. 2 is a second schematic flowchart of a version upgrading method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a version upgrading apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Next, examples of the present application will be described in detail.
An embodiment of the present application provides a version upgrading method, as shown in fig. 1, where the method is applied to an AC, and may include the following steps:
and S11, when detecting that the new version information exists on the version file server, sending the new version information to an administrator through the message push server.
In the embodiment of the application, the AC supports the version detection function, and can periodically detect whether the version server stores the new version information.
Specifically, the new version information may be one or more pieces. The new version information may include version release time, version identification, version size, version release reason, and the like.
The message pushing server can be a mail server, a short message server or a WeChat server. Of course, other communication servers may also be used, and are not specifically limited herein.
And S12, receiving the version identification fed back by the administrator through the message push server.
In this step, the version identifier is the version identifier of the version file which is determined by the administrator according to the new version information and needs to be upgraded by the AC.
And S13, acquiring the version file corresponding to the version identification from the version file server, and upgrading the version according to the acquired version file and the upgrading time fed back by the administrator through the message push server.
In this step, the AC is restarted after the version upgrade is completed, and then the version upgrade of the AP managed by the AC is completed according to the existing upgrade flow.
It should be noted that, in the embodiment of the present application, after receiving the new version information, the administrator may determine the version identifier and the upgrade time of the version file that needs to be upgraded by the AC according to the actual networking situation. Then, the version upgrading information can be fed back to the AC through the message push server at one time; or the version identifier may be fed back through the message push server, the corresponding version file is obtained by the AC, and after the version file is successfully obtained, the upgrade time is fed back through the message push server.
Further, in this embodiment of the application, the AC may also send version upgrade results of the AC and the AP managed by the AC to the administrator through the message push server, so that the administrator can know and record in time.
The following describes the version upgrading method in detail by taking the message push server as a mail server.
As shown in fig. 2, the version upgrade process performed by the AC is as follows:
1. the AC periodically detects whether the new version information is stored on the version server.
2. And after detecting that the new version information exists on the version server, the AC pushes the new version information to an administrator through the mail server.
Specifically, the format of the new version information in the mail content can be as shown in the following table one:
version release time Version identification Version size Reason for version release
2019-8-10 V101 510,103,552 bytes Solve the problem of A
2019-9-10 V102 518,434,816 bytes Solve the problem of B
2019-10-10 V103 574,376,960 bytes Solve the problem of C
Watch 1
3. The AC receives the version upgrading information fed back by the administrator through the mail server.
The content of the version upgrade information is as follows:
and (3) version identification: v103; upgrading time: 2019-10-2023:00:00.
4. The AC sends an acquisition request for acquiring the version file corresponding to V103 to the version server.
5. And the AC receives an acquisition response which is sent by the version server and carries the version file corresponding to the V103, stores the version file corresponding to the V103, and carries out version upgrading according to the version file corresponding to the V103 and the upgrading time.
And restarting the AC after the AC finishes the version upgrading, and then finishing the version upgrading of the AP managed by the AC according to the existing upgrading process.
It should be noted that, in order to ensure the security of the transmission between the AC and the version server and the mail server, the related information that interacts with each other may be encrypted, and a specific encryption manner may adopt a variety of existing encryption manners, which will not be described in detail herein.
According to the technical scheme, in the embodiment of the application, the AC can find the new version information in time by detecting the version server, interacts with an administrator through the message push server to know the version identification of the version file needing to be upgraded in time, subsequently acquires the corresponding version file from the version server, and finishes the version upgrading operation according to the upgrading time indicated by the administrator, so that the whole upgrading process is free from manual participation, and the labor cost is greatly saved.
Based on the same inventive concept, the present application further provides a version upgrading device, which is applied to an AC, and a schematic structural diagram of the version upgrading device is shown in fig. 3, and specifically includes:
the pushing module 31 is configured to, when it is detected that the new version information exists on the version file server, push the new version information to an administrator through the message pushing server;
a receiving module 32, configured to receive a version identifier fed back by the administrator through the message push server, where the version identifier is a version identifier of a version file that needs to be upgraded by the AC and is determined by the administrator according to the new version information;
and the upgrading module 33 is configured to acquire the version file corresponding to the version identifier from the version file server, and upgrade the version according to the acquired version file and the upgrading time fed back by the administrator through the message push server.
Preferably, the upgrade time is fed back by the administrator when the version identifier is fed back through the message push server.
Preferably, the pushing module 31 is further configured to:
and pushing the AC and the version upgrading result of the AP managed by the AC to the administrator through the message pushing server.
Preferably, the message pushing server is a mail server, a short message server or a WeChat server.
According to the technical scheme, in the embodiment of the application, the AC can find the new version information in time by detecting the version server, interacts with an administrator through the message push server to know the version identification of the version file needing to be upgraded in time, subsequently acquires the corresponding version file from the version server, and finishes the version upgrading operation according to the upgrading time indicated by the administrator, so that the whole upgrading process is free from manual participation, and the labor cost is greatly saved.
An electronic device is further provided in the embodiments of the present application, as shown in fig. 4, and includes a processor 41 and a machine-readable storage medium 42, where the machine-readable storage medium 42 stores machine-executable instructions that can be executed by the processor 41, and the processor 41 is caused by the machine-executable instructions to: and implementing the steps of the version upgrading method.
The machine-readable storage medium may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the machine-readable storage medium may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the version-up method described above.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A version upgrade method, applied to an Access Controller (AC), the method comprising:
when detecting that the new version information is stored in the version file server, pushing the new version information to an administrator through the message pushing server;
receiving a version identifier fed back by the administrator through the message push server, wherein the version identifier is the version identifier of the version file which needs the AC upgrade and is determined by the administrator according to the new version information;
and acquiring the version file corresponding to the version identification from the version file server, and upgrading the version according to the acquired version file and the upgrading time fed back by the administrator through the message push server.
2. The method according to claim 1, wherein the upgrade time is fed back together when the administrator feeds back the version identifier through the message push server.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and pushing the AC and the version upgrading result of the access point AP managed by the AC to the administrator through the message pushing server.
4. The method of claim 1, wherein the message push server is a mail server, a short message server, or a WeChat server.
5. A version upgrade apparatus, characterized in that it is applied to an access controller AC, said apparatus comprising:
the pushing module is used for pushing the new version information to an administrator through the message pushing server when the fact that the new version information is stored in the version file server is detected;
a receiving module, configured to receive a version identifier fed back by the administrator through the message push server, where the version identifier is a version identifier of a version file that needs to be upgraded by the AC and is determined by the administrator according to the new version information;
and the upgrading module is used for acquiring the version file corresponding to the version identifier from the version file server and upgrading the version according to the upgrading time fed back by the administrator through the message push server according to the version file of the AC included in the acquired version file.
6. The apparatus of claim 5, wherein the upgrade time is fed back together when the administrator feeds back the version identifier through the message push server.
7. The apparatus of claim 5 or 6, wherein the pushing module is further configured to:
and pushing the AC and the version upgrading result of the access point AP managed by the AC to the administrator through the message pushing server.
8. The apparatus of claim 5, wherein the message push server is a mail server, a short message server, or a WeChat server.
9. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4.
CN202010563929.0A 2020-06-19 2020-06-19 Version upgrading method and device, electronic equipment and storage medium Pending CN111831304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010563929.0A CN111831304A (en) 2020-06-19 2020-06-19 Version upgrading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010563929.0A CN111831304A (en) 2020-06-19 2020-06-19 Version upgrading method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111831304A true CN111831304A (en) 2020-10-27

Family

ID=72898302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010563929.0A Pending CN111831304A (en) 2020-06-19 2020-06-19 Version upgrading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831304A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835616A (en) * 2021-02-26 2021-05-25 百度在线网络技术(北京)有限公司 Version upgrading method and device, electronic equipment and storage medium
CN113190256A (en) * 2021-05-27 2021-07-30 新华三技术有限公司 Upgrading method, device and equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835616A (en) * 2021-02-26 2021-05-25 百度在线网络技术(北京)有限公司 Version upgrading method and device, electronic equipment and storage medium
CN113190256A (en) * 2021-05-27 2021-07-30 新华三技术有限公司 Upgrading method, device and equipment
CN113190256B (en) * 2021-05-27 2023-03-28 新华三技术有限公司 Upgrading method, device and equipment

Similar Documents

Publication Publication Date Title
US9823920B2 (en) Method for updating firmware and configuration file and a firmware-configuration file management system therefor
CN106843957B (en) System firmware upgrading method and device
CN108121559B (en) Configuration file pushing method, server and storage medium
US10877935B2 (en) Stream computing system and method
CN108196878B (en) Method and device for generating application program installation package, electronic equipment and storage medium
US20180359140A1 (en) Method, device, and system for processing a terminal fault
CN110290049B (en) Message pushing method, server and computer readable storage medium
CN106484453B (en) Method and device for realizing system upgrading
CN106027644B (en) Service verification method and system
CN111831304A (en) Version upgrading method and device, electronic equipment and storage medium
CN108268272B (en) WSUS-based patch updating method and device
CN110968478B (en) Log acquisition method, server and computer storage medium
CN103530226A (en) Method and device for testing peripheral compatibility of electronic device
CN107220169B (en) Method and equipment for simulating server to return customized data
CN108170551B (en) Crawler system based front-end and back-end error processing method, server and storage medium
CN110851339A (en) Method and device for reporting buried point data, storage medium and terminal equipment
CN102917340A (en) Multimode terminal management upgrading method and device
US20160253383A1 (en) Management-information acquiring program, management information acquiring method, and management information acquiring apparatus
CN109271210A (en) A kind of check method and device of configuration file
CN111385613B (en) Television system repairing method, storage medium and application server
CN103152381A (en) Method and server system of processing browser corrupted data
CN105487894A (en) Remote updating method of distributed software system
CN106790269B (en) Recovery method and device for overtime login of application program
CN109040056A (en) A kind of user authentication method based on server
CN111796857B (en) Hot patch release method, device, equipment and storage medium

Legal Events

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