CN112039718A - Upgrade state detection method, server, device and storage medium - Google Patents

Upgrade state detection method, server, device and storage medium Download PDF

Info

Publication number
CN112039718A
CN112039718A CN202010688815.9A CN202010688815A CN112039718A CN 112039718 A CN112039718 A CN 112039718A CN 202010688815 A CN202010688815 A CN 202010688815A CN 112039718 A CN112039718 A CN 112039718A
Authority
CN
China
Prior art keywords
upgrading
network equipment
state
version information
upgrade
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.)
Granted
Application number
CN202010688815.9A
Other languages
Chinese (zh)
Other versions
CN112039718B (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010688815.9A priority Critical patent/CN112039718B/en
Publication of CN112039718A publication Critical patent/CN112039718A/en
Application granted granted Critical
Publication of CN112039718B publication Critical patent/CN112039718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Cardiology (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an upgrade state detection method, a server, equipment and a storage medium. The upgrade state detection method comprises the following steps: the management and control server side sends an upgrading instruction to the network equipment, and the upgrading instruction is used for instructing the network equipment to download an upgrading file for upgrading; receiving a heartbeat message sent by the network equipment, and judging whether the network equipment is upgraded; when the upgrading of the network equipment is finished, acquiring current version information of the network equipment from the heartbeat message, and comparing the current version information with historical version information of the network equipment; when the current version information is different from the historical version information, determining that the upgrading state of the network equipment is successful; and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure. The invention can realize that the management and control server can know the upgrading state of the network equipment under the condition that the network equipment does not report the upgrading state.

Description

Upgrade state detection method, server, device and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an upgrade status detection method, a server, a device, and a storage medium.
Background
A network device is a physical entity connected to a network. The variety of network devices is great and increasing. The network devices are usually distributed in a local area network, and a management and control server is also configured in the local area network, and manages the network devices in the local area network.
In practical applications, it is usually necessary to upgrade these network devices, so as to eliminate the problems existing in the network devices, and improve the performance of the network devices. At present, upgrading of network equipment is generally controlled through a management and control server. However, after the network device is upgraded, the management and control server cannot know the upgrade state of the network device.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide an upgrade status detection method, a server, a device, and a storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention discloses an upgrade status detection method, which is applied to a management and control server, and the method includes:
sending an upgrading instruction to network equipment, wherein the upgrading instruction is used for instructing the network equipment to download an upgrading file for upgrading;
receiving a heartbeat message sent by the network equipment, and judging whether the network equipment is upgraded;
when the upgrading of the network equipment is finished, acquiring the current version information of the network equipment from the heartbeat message, and comparing the current version information with the historical version information of the network equipment;
when the current version information is different from the historical version information, determining that the upgrading state of the network equipment is successful;
and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure.
Optionally, the method further comprises: after receiving a notification message sent by the network equipment, acquiring the downloading state of the upgrade file from the notification message; when the download status is downloading, adding one to the equipment count; when the downloading state is downloading success or downloading failure, the equipment count is reduced by one; when the equipment count is zero, sending a live broadcast stopping instruction to a live broadcast server; and the live broadcast server is used for releasing the upgrade file in a live broadcast releasing mode.
Optionally, after sending the upgrade instruction to the network device, the method further includes: adding an upgrading identifier for the network equipment; after the upgrade status of the network device is determined to be successful, the method further includes: deleting the upgrading identification of the network equipment; after determining that the upgrade status of the network device is upgrade failure, the method further includes: and deleting the upgrading identification of the network equipment.
Optionally, the determining whether the network device is upgraded includes: judging whether the network equipment has an upgrading identifier, whether the downloading state of the upgrading file is successful, and whether the state of the network equipment is changed from off-line to on-line; and when the network equipment has an upgrading identifier, the downloading state of the upgrading file is successful, and the state of the network equipment is changed from off-line to on-line, determining that the upgrading of the network equipment is finished.
Optionally, the method further comprises: when the state of the network equipment is changed from online to offline, judging whether the downloading state of the upgrade file is downloading; and when the downloading state of the upgrading file is downloading, determining that the upgrading state of the network equipment is upgrading failure.
Optionally, the method further comprises: after receiving a notification message sent by the network equipment, acquiring the downloading state of the upgrade file from the notification message; and when the downloading state is downloading failure, determining that the upgrading state of the network equipment is upgrading failure.
In a second aspect, an embodiment of the present invention discloses an upgrade status detection method, which is applied to a network device, and the method includes:
after an upgrading instruction sent by a management and control server is received, downloading an upgrading file according to the upgrading instruction for upgrading;
sending heartbeat messages to the management and control server at regular time; the heartbeat message carries current version information of the network equipment, and the current version information is used as a basis for the management and control server side to determine the upgrading state of the network equipment.
Optionally, the method further comprises: when the upgrade file starts to be downloaded, sending a notification message carrying a downloading state as starting to be downloaded to the control server; when the upgrade file fails to be downloaded, sending a notification message carrying a downloading state as downloading failure to the control server; and when the upgrade file is downloaded successfully, sending a notification message carrying that the downloading state is successful to the management and control server.
In a third aspect, an embodiment of the present invention discloses a management and control server, where the management and control server includes:
the first sending module is used for sending an upgrading instruction to the network equipment, and the upgrading instruction is used for indicating the network equipment to download an upgrading file for upgrading;
the first judgment module is used for receiving the heartbeat message sent by the network equipment and judging whether the network equipment is upgraded;
the comparison module is used for acquiring the current version information of the network equipment from the heartbeat message when the upgrading of the network equipment is finished, and comparing the current version information with the historical version information of the network equipment;
the first determining module is used for determining that the upgrading state of the network equipment is successful when the current version information is different from the historical version information; and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure.
Optionally, the management and control server further includes: the acquisition module is used for acquiring the downloading state of the upgrade file from the notification message after receiving the notification message sent by the network equipment; the counting module is used for adding one to the equipment count when the downloading state is downloading; when the downloading state is downloading success or downloading failure, the equipment count is reduced by one; the second sending module is used for sending a live broadcast stopping instruction to the live broadcast server when the equipment count is zero; and the live broadcast server is used for releasing the upgrade file in a live broadcast releasing mode.
Optionally, the management and control server further includes: the adding module is used for adding an upgrading identifier for the network equipment after the first sending module sends an upgrading instruction to the network equipment; the deleting module is used for deleting the upgrading identifier of the network equipment after the first determining module determines that the upgrading state of the network equipment is successful; and deleting the upgrading identification of the network equipment after the first determining module determines that the upgrading state of the network equipment is upgrading failure.
Optionally, the first determining module is specifically configured to determine whether the network device has an upgrade identifier, whether a download state of the upgrade file is successful, and whether a state of the network device is changed from offline to online; and when the network equipment has an upgrading identifier, the downloading state of the upgrading file is successful, and the state of the network equipment is changed from off-line to on-line, determining that the upgrading of the network equipment is finished.
Optionally, the management and control server further includes: the second judgment module is used for judging whether the downloading state of the upgrade file is downloading or not when the state of the network equipment is changed from online to offline; and the second determining module is used for determining that the upgrading state of the network equipment is upgrading failure when the downloading state of the upgrading file is downloading.
Optionally, the management and control server further includes: the acquisition module is used for acquiring the downloading state of the upgrade file from the notification message after receiving the notification message sent by the network equipment; and the third determining module is used for determining that the upgrading state of the network equipment is upgrading failure when the downloading state is downloading failure.
In a fourth aspect, an embodiment of the present invention discloses a network device, where the network device includes:
the upgrading module is used for downloading an upgrading file according to an upgrading instruction for upgrading after receiving the upgrading instruction sent by the management and control server side;
the third sending module is used for sending heartbeat messages to the management and control server at regular time; the heartbeat message carries current version information of the network equipment, and the current version information is used as a basis for the management and control server side to determine the upgrading state of the network equipment.
Optionally, the network device further includes: the fourth sending module is used for sending a notification message carrying a downloading state as downloading starting to the control server side when the upgrade file is started to be downloaded; when the upgrade file fails to be downloaded, sending a notification message carrying a downloading state as downloading failure to the control server; and when the upgrade file is downloaded successfully, sending a notification message carrying that the downloading state is successful to the management and control server.
In a fifth aspect, an embodiment of the present invention discloses an electronic device, including: one or more processors; and one or more machine-readable media having instructions stored thereon; when executed by the one or more processors, the instructions cause the processors to perform any of the upgrade status detection methods performed by the governing service, or any of the upgrade status detection methods performed by the network device.
In a sixth aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements any one of the above upgrade status detection methods performed by a management and control server, or implements any one of the above upgrade status detection methods performed by a network device.
In the embodiment of the invention, when network equipment is upgraded, a management and control server sends an upgrade instruction to the network equipment, wherein the upgrade instruction is used for instructing the network equipment to download an upgrade file for upgrading; receiving a heartbeat message sent by the network equipment, and judging whether the network equipment is upgraded; when the upgrading of the network equipment is finished, acquiring the current version information of the network equipment from the heartbeat message, and comparing the current version information with the historical version information of the network equipment; when the current version information is different from the historical version information, determining that the upgrading state of the network equipment is successful; and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure. Therefore, in the embodiment of the present invention, the network device reports the current version information of the network device to the management and control server by sending the heartbeat message to the management and control server at regular time. After the management and control server determines that the upgrading of the network equipment is finished, the management and control server compares the current version information of the network equipment with the historical version information of the network equipment stored before, and then can determine whether the upgrading state of the network equipment is successful or failed. Therefore, the management and control server can also know the upgrading state of the network equipment under the condition that the network equipment does not report the upgrading state.
Drawings
Fig. 1 is a flowchart illustrating steps of an upgrade status detection method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of an upgrade status detection method according to a second embodiment of the present invention.
Fig. 3 is a flowchart illustrating an upgrade status detection method according to a third embodiment of the present invention.
Fig. 4 is a block diagram of a management and control server according to a fourth embodiment of the present invention.
Fig. 5 is a block diagram of a network device according to a fifth embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
In the embodiment of the invention, the current version information of the network equipment is reported to the management and control server at regular time through the network equipment, and after the management and control server determines that the upgrading of the network equipment is finished, the upgrading state of the network equipment is determined by comparing the current version information of the network equipment with the historical version information of the network equipment which is stored before.
Network devices may include personal computers, servers, switches, bridges, routers, access devices, and the like. For example, in an internet of view, the network device may be an internet of view router or the like.
The management and control platform may include a management and control front end, a management and control server (also referred to as a management and control back end), a Database (DB), a counter (redis), and the like. The control front end may be a Web (Web) end, and may provide a user interaction interface, etc. The management and control server may perform management control on the network device, such as controlling upgrading of the network device. The database may be used to store information such as version information, upgrade status, etc. of the network device.
Example one
Referring to fig. 1, a flowchart illustrating steps of an upgrade status detection method according to a first embodiment of the present invention is shown. The upgrade status detection method shown in fig. 1 may be applied to a management and control server.
As shown in fig. 1, the upgrade status detection method may include the steps of:
step 101, the management and control server sends an upgrade instruction to the network device.
When the network device needs to be upgraded, the management and control server sends an upgrade instruction to the network device, where the upgrade instruction is used to instruct the network device to download an upgrade file for upgrading. And after the network equipment receives the upgrading instruction, the network equipment responds to the upgrading instruction and starts to download the upgrading file for upgrading.
And 102, the management and control server receives the heartbeat message sent by the network equipment and judges whether the network equipment is upgraded.
After the network device establishes connection with the management and control server, the network device may send a heartbeat message to the management and control server at regular time. The heartbeat message may carry information such as current version information of the network device, a Media Access Control (MAC) address of the network device, and the like. The version information may be a version number, etc.
After receiving the heartbeat message, the management and control server can determine whether the network device is upgraded. If the network equipment is judged to be upgraded, executing step 103, and processing the heartbeat message received this time; and if the upgrading of the network equipment is not finished, the heartbeat message received this time is not processed.
Step 103, when the network device is upgraded, the management and control server acquires the current version information of the network device from the heartbeat message, and compares the current version information with the historical version information of the network device.
And when judging that the upgrading of the network equipment is finished, the management and control server side acquires the current version information of the network equipment from the heartbeat message received this time. The historical version information of the network device can be stored in the database of the management and control platform, so that the management and control server can acquire the historical version information of the network device from the database. And the management and control server compares the current version information of the network equipment with the historical version information of the network equipment.
104, when the current version information is different from the historical version information, the management and control server determines that the upgrading state of the network equipment is successful; and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure.
When the current version information is different from the historical version information, the network equipment is successfully upgraded, and therefore the management and control server side determines that the upgrading state of the network equipment is successfully upgraded. The management and control server stores the current version information of the network equipment into the database, replaces the historical version information of the network equipment with the current version information of the network equipment, and takes the current version information as the historical version information when judging next time.
When the current version information is the same as the historical version information, the upgrading of the network equipment is failed, and therefore the management and control server side determines that the upgrading state of the network equipment is upgrading failure.
Example two
Referring to fig. 2, a flowchart illustrating steps of an upgrade status detection method according to a second embodiment of the present invention is shown. The upgrade status detection method shown in fig. 2 may be applied to a network device.
As shown in fig. 2, the upgrade status detection method may include the steps of:
step 201, after receiving an upgrade instruction sent by a management and control server, a network device downloads an upgrade file according to the upgrade instruction for upgrading.
The upgrading instruction can carry upgrading information, and after the network equipment receives the upgrading instruction sent by the management and control server, the network equipment can start downloading the upgrading file according to the upgrading instruction and upgrade the upgrading file.
Step 202, the network device sends a heartbeat message to the management and control server periodically.
The heartbeat message may carry information such as current version information of the network device, MAC address of the network device, and the like. The management and control server can determine the upgrading state of the network equipment according to the current version information in the heartbeat message.
In the embodiment of the invention, any applicable numerical value can be set according to actual experience as to the specific numerical value of the timing time. For example, the timing time may be set to be 1 second, 2 seconds, 3 seconds, and the like, which is not limited in this embodiment of the present invention.
In the embodiment of the invention, the network equipment reports the current version information of the network equipment to the management and control server side by sending heartbeat messages to the management and control server side at regular time. After the management and control server determines that the upgrading of the network equipment is finished, the management and control server compares the current version information of the network equipment with the historical version information of the network equipment stored before, and then can determine whether the upgrading state of the network equipment is successful or failed. Therefore, the management and control server can also know the upgrading state of the network equipment under the condition that the network equipment does not report the upgrading state.
EXAMPLE III
Next, the upgrade status detection method is described in detail through the overall interaction process between devices. The embodiment of the invention takes an upgrade state detection method in a video network as an example for explanation.
Referring to fig. 3, a flowchart of an upgrade status detection method according to a third embodiment of the present invention is shown. As shown in fig. 3, the upgrade status detection process may include:
1. the user triggers the upgrade button on the page.
2. And the management and control front end transmits the related data to the management and control server.
After the network device is successfully connected with the management and control server, the management and control server can acquire the device information of the network device and store the device information of the network device in the database. The device information of the network device may include a MAC address of the network device, an internet of view number of the network device, historical version information (such as a version number) of the network device, a device name of the network device, a device model number of the network device, a device type of the network device, and so on. The management and control server side can transmit the equipment information of the network equipment to the management and control front end, and the management and control front end displays the equipment information through the page. When displayed, only a portion of the device information may be displayed. For example, the device names of the network devices may be displayed in a page, so that the user may select the target device name from the page for upgrading.
The user selects the equipment name of the network equipment to be upgraded in the page, the upgrade button is triggered, the management and control front end can assemble data, and the equipment name of the network equipment selected by the user is transmitted to the management and control server side. The device names of the network devices selected by the user can be multiple, and the multiple network devices are upgraded in batches. It should be noted that the device types of the network devices upgraded in batch are the same.
3. And the management and control server acquires the upgrading information from the database.
The database stores the upgrading information corresponding to each equipment type. The upgrade information may include version information of the upgrade file, an MD5(Message Digest Algorithm, fifth edition) value of the upgrade file (the MD5 value is an MD5 value generated when the upgrade file is uploaded), a path of the upgrade file, a file name of the upgrade file, and the like.
And the management and control server searches the equipment type corresponding to the equipment name from the database according to the equipment name transmitted by the management and control front end, and acquires the upgrade information of the network equipment corresponding to the searched equipment type.
4. The control server side issues the path of the upgrade file to the live broadcast server, and the live broadcast server issues the upgrade file in a live broadcast issuing mode.
In the embodiment of the invention, in consideration of batch upgrading of the network equipment, in order to simplify the processing process, the live broadcast server can be used for publishing the upgrade file in a live broadcast publishing mode. Therefore, after the management and control server side acquires the upgrade information, the management and control server side issues the path of the upgrade file to the live broadcast server. And after receiving the path of the upgrade file, the live broadcast server acquires the upgrade file from the path, distributes a live broadcast channel number and releases the upgrade file through a live broadcast channel corresponding to the live broadcast channel number.
5. And the management and control server sends the upgrading instruction to the video networking server.
The device needs to perform network access operation in order to communicate in the video network. After the network access is successful, the video networking server allocates a video networking number for the equipment, and the video networking number is an identifier for the equipment to communicate in the video networking. The video network server is a core device in the video network and is used for data forwarding, signaling forwarding and the like. Information transmitted between devices communicating based on the video networking protocol is forwarded through the video networking server.
The database stores the video networking number of the live broadcast server. And the management and control server generates an upgrading instruction after acquiring the upgrading information. The upgrade instruction may carry information such as a video networking number of the live broadcast server, an MD5 value of the upgrade file, a file name of the upgrade file, and version information of the upgrade file, where a destination video networking number of the upgrade instruction is a video networking number of the network device, and a destination MAC address is an MAC address of the network device. The management and control server sends an upgrade instruction to the network device. Because the instruction needs to be forwarded by the video network server in the video network, the management and control server sends the upgrading instruction to the video network server based on the video network protocol.
6. And the video network server forwards the upgrading instruction to the network equipment.
And after receiving the upgrading instruction, the video networking server analyzes the upgrading instruction to obtain a target video networking number and a target MAC address of the upgrading instruction. And the video network server forwards the upgrading instruction to the network equipment according to the target video network number and the target MAC address of the upgrading instruction based on the video network protocol.
7. And the network equipment sends the request for acquiring the live broadcast channel number to the video networking server.
After receiving the upgrading instruction, the network equipment analyzes the video networking number of the live broadcast server from the upgrading instruction. The network equipment generates a request for acquiring a live broadcast channel number, wherein the target video networking number of the request for acquiring the live broadcast channel number is the video networking number of the live broadcast server. The network equipment sends a request for acquiring the live broadcast channel number to a video networking server based on a video networking protocol.
8. And the video network server forwards the request for acquiring the live broadcast channel number to the live broadcast server.
And after receiving the request for acquiring the live broadcast channel number, the video networking server analyzes the request to obtain the target video networking number of the request for acquiring the live broadcast channel number. And the video network server forwards the request for acquiring the live broadcast channel number to the live broadcast server according to the target video network number of the request for acquiring the live broadcast channel number based on the video network protocol.
9. And the live broadcast server sends the response of acquiring the live broadcast channel number to the video networking server.
And after receiving the request for acquiring the live broadcast channel number, the live broadcast server acquires the live broadcast channel number distributed in the process 4, generates a response carrying the live broadcast channel number, and takes the target video networking number of the request for acquiring the live broadcast channel number as the video networking number of the network equipment. And the live broadcast server sends the response of acquiring the live broadcast channel number to the video networking server based on the video networking protocol.
10. The video network server transmits the response of acquiring the live broadcast channel number to the network equipment, and the network equipment downloads the upgrade file according to the live broadcast channel number.
And after receiving the response of acquiring the live broadcast channel number, the video networking server analyzes the response to obtain the target video networking number of the response of acquiring the live broadcast channel number. And the video network server forwards the response of acquiring the live broadcast channel number to the network equipment according to the video network number of the response purpose of acquiring the live broadcast channel number based on the video network protocol.
After receiving the response of acquiring the live broadcast channel number, the network equipment analyzes the response to acquire the live broadcast channel number, namely, the network equipment and the live broadcast channel number can download the upgrade file from the corresponding live broadcast channel.
11. And the network equipment sends the notification message carrying the download state of the upgrade file to the video networking server.
When the network equipment downloads the upgrade file, a notification message is generated, the notification message carries the download state of the upgrade file, and the target video networking number of the notification message is the video networking number of the management and control server. The network device sends the notification message to the management and control server, and because the notification message needs to be forwarded by the video network server in the video network, the network device sends the notification message to the video network server based on the video network protocol.
In implementation, when the network device starts to download the upgrade file, a notification message carrying the download state as start of downloading is generated, and the notification message carrying the download state as start of downloading is sent to the management and control server (forwarded via the video network server).
And when the upgrade file fails to be downloaded, the network equipment generates a notification message carrying the download state as download failure, and sends the notification message carrying the download state as download failure to the control server (forwarded by the video networking server). In one case, a download failure may refer to an abnormal interruption of the download process, and the upgrade file has not yet been downloaded. In another case, the download failure may refer to a verification failure in the process of verifying the upgrade file after the download of the upgrade file is completed, and the download of the upgrade file is also considered to be failed. After the network equipment downloads the upgrade file, the MD5 value of the downloaded upgrade file is generated, and the MD5 value of the upgrade file carried in the received upgrade instruction is obtained. The network device compares the MD5 value of the downloaded upgrade file with the MD5 value of the upgrade file in the upgrade order. If the comparison result is consistent, the upgrading file is successfully downloaded; if the comparison result is not consistent, the upgrading file downloading is failed.
And when the upgrade file is successfully downloaded, the network equipment generates a notification message carrying the download state as successful download, and sends the notification message carrying the download state as successful download to the control server (forwarded by the video networking server).
12. And the video network server forwards the notification message to the control server.
And after receiving the notification message, the video network server analyzes the notification message to obtain a target video network number of the notification message. And the video network server forwards the notification message to the control server side according to the destination video network number of the notification message based on the video network protocol.
13. And after the management and control server receives the notification message, updating the device count of the Redis counter.
In the embodiment of the invention, one network device can be upgraded, and a plurality of network devices can be upgraded in batch. Therefore, the live broadcast server can stop issuing live broadcast in time after all network equipment does not download the upgrade file any more, so as to save network bandwidth.
Therefore, in the embodiment of the present invention, the device count may be performed by a Redis counter. And after receiving the notification message sent by the network equipment, the management and control server acquires the download state of the upgrade file from the notification message. When the downloading state of a certain network device is downloading, the network device still needs to continuously download the upgrade file, so that the device count is increased by one; when the downloading state of a certain network device is downloading success or downloading failure, the network device is indicated not to continue downloading the upgrade file, and therefore the device count is reduced by one.
14. The management and control server polls the counting of the monitoring equipment.
15. And when the equipment count is zero, the control server sends a live broadcast stopping instruction to the live broadcast server.
And the control server polls and monitors the equipment count of the Redis counter, and sends a live broadcast stopping instruction to the live broadcast server when the equipment count is zero. And after receiving the instruction of stopping issuing, the live broadcast server stops issuing the upgrade file in a live broadcast issuing mode.
16. The network equipment sends heartbeat messages to the video network server at regular time.
The network device also generates heartbeat messages at regular time, and the heartbeat messages carry the MAC address of the network device, the current version information of the network device and the like. The target video networking number of the heartbeat message is the video networking number of the management and control server side. And after the network equipment generates the heartbeat message, sending the heartbeat message to the management and control server side. Because the heartbeat message needs to be forwarded by the video network server in the video network, the network device sends the heartbeat message to the video network server based on the video network protocol.
17. And the video network server forwards the heartbeat message to the management and control server side. And after receiving the heartbeat message, the management and control server judges whether the network equipment is upgraded.
And after receiving the heartbeat message, the video network server analyzes the heartbeat message to obtain a target video network number of the heartbeat message. And the video networking server forwards the heartbeat message to the control server side according to the target video networking number of the heartbeat message based on a video networking protocol.
And after receiving the heartbeat message, the management and control server judges whether the network equipment is upgraded. At the end of the upgrade, the following process 18 is performed to process the heartbeat message received this time. And when the upgrading is not finished, the heartbeat message received this time is not processed.
In an optional implementation manner, after sending the upgrade instruction to the network device, the management and control server may further add an upgrade identifier to the network device, where the upgrade identifier may indicate that the network device is upgraded. After receiving the notification message sent by the network device, the management and control server obtains the download state of the upgrade file from the notification message, and the management and control server may record the download state of the upgrade file corresponding to the network device.
The process of determining whether the network device is upgraded may include: judging whether the network equipment has an upgrading identifier, whether the downloading state of the upgrading file is successful, and whether the state of the network equipment is changed from off-line to on-line; and when the network equipment has an upgrading identifier, the downloading state of the upgrading file is successful, and the state of the network equipment is changed from off-line to on-line, determining that the upgrading of the network equipment is finished. If the network equipment does not have the upgrading identification, the network equipment is not upgraded, so that the condition of upgrading ending does not exist; if the download state of the upgrade file is not successful, the upgrade is not finished; after the upgrade is finished, the network device needs to be restarted, so that the network device is changed from online to offline and then from offline to online, and if the state of the network device is changed from offline to online, the network device is successfully restarted. Therefore, when the network device has the upgrade identifier, the download state of the upgrade file is successful, and the state of the network device is changed from offline to online, it may be determined that the upgrade of the network device is finished, otherwise, it is determined that the upgrade of the network device is not finished.
18. The management and control server side obtains historical version information of the network equipment from a database, obtains current version information of the network equipment from the heartbeat message, compares the current version information with the historical version information of the network equipment, and determines the upgrading state of the network equipment.
And when judging that the upgrading of the network equipment is finished, the management and control server side acquires historical version information of the network equipment from the database, acquires current version information of the network equipment from the heartbeat message, and compares the current version information with the historical version information of the network equipment. And when the current version information is different from the historical version information, determining that the upgrading state of the network equipment is successful. And when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure.
After the upgrade state of the network equipment is determined, the network equipment is not upgraded. Therefore, after determining that the upgrade state of the network device is successful, the management and control server deletes the upgrade identifier of the network device; and after determining that the upgrading state of the network equipment is upgrading failure, the management and control server deletes the upgrading identification of the network equipment.
In an optional implementation manner, the management and control server may further determine whether the state of the network device changes from online to offline in real time; when the state of the network equipment is changed from online to offline, judging whether the downloading state of the upgrade file is downloading; and when the downloading state of the upgrading file is downloading, determining that the upgrading state of the network equipment is upgrading failure. If the management and control server side does not receive the heartbeat message sent by a certain network device for the continuous preset time, it can be determined that the state of the network device is changed from online to offline, and if the downloading state of the upgrade file is downloading at the moment, the network device can be considered to be failed in upgrading after being offline. And after determining that the upgrading state of the network equipment is upgrading failure, the management and control server deletes the upgrading identification of the network equipment.
In an optional implementation manner, after receiving a notification message sent by the network device, the management and control server obtains a download state of the upgrade file from the notification message; when the download status is download failure, it may be determined that the upgrade status of the network device is upgrade failure. And after determining that the upgrading state of the network equipment is upgrading failure, the management and control server deletes the upgrading identification of the network equipment.
19. And the management and control server side stores the updated upgrade state to the database.
And after determining the upgrading state of the network equipment, the management and control server stores the upgrading state of the network equipment into the database.
20. And the management and control server side sends the upgrade state to the management and control front end.
21. And the management and control front end transmits the upgrading state to the page for displaying.
In the embodiment of the invention, the upgrade state of the managed network equipment on the management and control platform is detected, the upgrade state of the network equipment can be detected in real time under the condition that the network equipment does not report the upgrade state, and the network equipment can be found to successfully download the upgrade file in time, so that the live broadcast server is controlled to stop releasing live broadcast, and the bandwidth occupied by releasing live broadcast is avoided.
Example four
Referring to fig. 4, a block diagram of a management and control server according to a third embodiment of the present invention is shown.
As shown in fig. 4, the management server may include the following modules:
a first sending module 401, configured to send an upgrade instruction to a network device, where the upgrade instruction is used to instruct the network device to download an upgrade file for upgrading;
a first determining module 402, configured to receive a heartbeat message sent by the network device, and determine whether the network device is upgraded;
a comparing module 403, configured to obtain, when the network device is upgraded, current version information of the network device from the heartbeat message, and compare the current version information with historical version information of the network device;
a first determining module 404, configured to determine that the upgrade status of the network device is successful when the current version information is different from the historical version information; and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure.
Optionally, the management and control server further includes: the acquisition module is used for acquiring the downloading state of the upgrade file from the notification message after receiving the notification message sent by the network equipment; the counting module is used for adding one to the equipment count when the downloading state is downloading; when the downloading state is downloading success or downloading failure, the equipment count is reduced by one; the second sending module is used for sending a live broadcast stopping instruction to the live broadcast server when the equipment count is zero; and the live broadcast server is used for releasing the upgrade file in a live broadcast releasing mode.
Optionally, the management and control server further includes: an adding module, configured to add an upgrade identifier to a network device after the first sending module 401 sends an upgrade instruction to the network device; a deleting module, configured to delete the upgrade identifier of the network device after the first determining module 404 determines that the upgrade state of the network device is successful, and delete the upgrade identifier of the network device after the first determining module 404 determines that the upgrade state of the network device is unsuccessful.
Optionally, the first determining module 402 is specifically configured to determine whether the network device has an upgrade identifier, whether a download state of the upgrade file is successful, and whether a state of the network device is changed from offline to online; and when the network equipment has an upgrading identifier, the downloading state of the upgrading file is successful, and the state of the network equipment is changed from off-line to on-line, determining that the upgrading of the network equipment is finished.
Optionally, the management and control server further includes: the second judgment module is used for judging whether the downloading state of the upgrade file is downloading or not when the state of the network equipment is changed from online to offline; and the second determining module is used for determining that the upgrading state of the network equipment is upgrading failure when the downloading state of the upgrading file is downloading.
Optionally, the management and control server further includes: the acquisition module is used for acquiring the downloading state of the upgrade file from the notification message after receiving the notification message sent by the network equipment; and the third determining module is used for determining that the upgrading state of the network equipment is upgrading failure when the downloading state is downloading failure.
EXAMPLE five
Referring to fig. 5, a block diagram of a network device according to a fourth embodiment of the present invention is shown.
As shown in fig. 5, the network device may include the following modules:
the upgrading module 501 is configured to download an upgrading file according to an upgrading instruction for upgrading after receiving the upgrading instruction sent by the management and control server;
a third sending module 502, configured to send a heartbeat message to the management and control server at regular time; the heartbeat message carries current version information of the network equipment, and the current version information is used as a basis for the management and control server side to determine the upgrading state of the network equipment.
Optionally, the network device further includes: the fourth sending module is used for sending a notification message carrying a downloading state as downloading starting to the control server side when the upgrade file is started to be downloaded; when the upgrade file fails to be downloaded, sending a notification message carrying a downloading state as downloading failure to the control server; and when the upgrade file is downloaded successfully, sending a notification message carrying that the downloading state is successful to the management and control server.
In the embodiment of the invention, the network equipment reports the current version information of the network equipment to the management and control server side by sending heartbeat messages to the management and control server side at regular time. After the management and control server determines that the upgrading of the network equipment is finished, the management and control server compares the current version information of the network equipment with the historical version information of the network equipment stored before, and then can determine whether the upgrading state of the network equipment is successful or failed. Therefore, the management and control server can also know the upgrading state of the network equipment under the condition that the network equipment does not report the upgrading state.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In an embodiment of the invention, an electronic device is also provided. The electronic device may include one or more processors and one or more machine-readable media having instructions, such as an application program, stored thereon. When the instructions are executed by the one or more processors, the processors are enabled to execute the upgrade state detection method executed by the management and control server, or execute the upgrade state detection method executed by the network device.
In an embodiment of the present invention, there is also provided a non-transitory computer-readable storage medium having stored thereon a computer program executable by a processor of an electronic device to perform the above-described upgrade status detection method performed by a management and control server or the above-described upgrade status detection method performed by a network device. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The upgrade status detection method, the server, the device and the storage medium provided by the present invention are introduced in detail, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. The upgrade state detection method is applied to a management and control server side, and comprises the following steps:
sending an upgrading instruction to network equipment, wherein the upgrading instruction is used for instructing the network equipment to download an upgrading file for upgrading;
receiving a heartbeat message sent by the network equipment, and judging whether the network equipment is upgraded;
when the upgrading of the network equipment is finished, acquiring the current version information of the network equipment from the heartbeat message, and comparing the current version information with the historical version information of the network equipment;
when the current version information is different from the historical version information, determining that the upgrading state of the network equipment is successful;
and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure.
2. The method of claim 1, further comprising:
after receiving a notification message sent by the network equipment, acquiring the downloading state of the upgrade file from the notification message;
when the download status is downloading, adding one to the equipment count;
when the downloading state is downloading success or downloading failure, the equipment count is reduced by one;
when the equipment count is zero, sending a live broadcast stopping instruction to a live broadcast server; and the live broadcast server is used for releasing the upgrade file in a live broadcast releasing mode.
3. The method of claim 1,
after sending the upgrade instruction to the network device, the method further includes: adding an upgrading identifier for the network equipment;
after the upgrade status of the network device is determined to be successful, the method further includes: deleting the upgrading identification of the network equipment;
after determining that the upgrade status of the network device is upgrade failure, the method further includes: and deleting the upgrading identification of the network equipment.
4. The method of claim 3, wherein the determining whether the network device is upgraded includes:
judging whether the network equipment has an upgrading identifier, whether the downloading state of the upgrading file is successful, and whether the state of the network equipment is changed from off-line to on-line;
and when the network equipment has an upgrading identifier, the downloading state of the upgrading file is successful, and the state of the network equipment is changed from off-line to on-line, determining that the upgrading of the network equipment is finished.
5. The method of claim 1, further comprising:
when the state of the network equipment is changed from online to offline, judging whether the downloading state of the upgrade file is downloading;
and when the downloading state of the upgrading file is downloading, determining that the upgrading state of the network equipment is upgrading failure.
6. The method of claim 1, further comprising:
after receiving a notification message sent by the network equipment, acquiring the downloading state of the upgrade file from the notification message;
and when the downloading state is downloading failure, determining that the upgrading state of the network equipment is upgrading failure.
7. An upgrade status detection method applied to a network device, the method comprising:
after an upgrading instruction sent by a management and control server is received, downloading an upgrading file according to the upgrading instruction for upgrading;
sending heartbeat messages to the management and control server at regular time; the heartbeat message carries current version information of the network equipment, and the current version information is used as a basis for the management and control server side to determine the upgrading state of the network equipment.
8. The method of claim 1, further comprising:
when the upgrade file starts to be downloaded, sending a notification message carrying a downloading state as starting to be downloaded to the control server;
when the upgrade file fails to be downloaded, sending a notification message carrying a downloading state as downloading failure to the control server;
and when the upgrade file is downloaded successfully, sending a notification message carrying that the downloading state is successful to the management and control server.
9. The utility model provides a management and control server side, its characterized in that, management and control server side includes:
the first sending module is used for sending an upgrading instruction to the network equipment, and the upgrading instruction is used for indicating the network equipment to download an upgrading file for upgrading;
the first judgment module is used for receiving the heartbeat message sent by the network equipment and judging whether the network equipment is upgraded;
the comparison module is used for acquiring the current version information of the network equipment from the heartbeat message when the upgrading of the network equipment is finished, and comparing the current version information with the historical version information of the network equipment;
the first determining module is used for determining that the upgrading state of the network equipment is successful when the current version information is different from the historical version information; and when the current version information is the same as the historical version information, determining that the upgrading state of the network equipment is upgrading failure.
10. A network device, characterized in that the network device comprises:
the upgrading module is used for downloading an upgrading file according to an upgrading instruction for upgrading after receiving the upgrading instruction sent by the management and control server side;
the third sending module is used for sending heartbeat messages to the management and control server at regular time; the heartbeat message carries current version information of the network equipment, and the current version information is used as a basis for the management and control server side to determine the upgrading state of the network equipment.
11. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon;
the instructions, when executed by the one or more processors, cause the processors to perform the upgrade status detection method of any one of claims 1 to 6, or the upgrade status detection method of any one of claims 7 to 8.
12. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements an upgrade status detection method according to any one of claims 1 to 6, or implements an upgrade status detection method according to any one of claims 7 to 8.
CN202010688815.9A 2020-07-16 2020-07-16 Upgrade state detection method, server, equipment and storage medium Active CN112039718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010688815.9A CN112039718B (en) 2020-07-16 2020-07-16 Upgrade state detection method, server, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010688815.9A CN112039718B (en) 2020-07-16 2020-07-16 Upgrade state detection method, server, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112039718A true CN112039718A (en) 2020-12-04
CN112039718B CN112039718B (en) 2023-07-25

Family

ID=73579616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010688815.9A Active CN112039718B (en) 2020-07-16 2020-07-16 Upgrade state detection method, server, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112039718B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887146A (en) * 2021-01-28 2021-06-01 杭州迪普科技股份有限公司 Network node upgrading method and device and electronic equipment
CN114389949A (en) * 2022-01-20 2022-04-22 网宿科技股份有限公司 Route upgrading method, electronic equipment and storage medium
CN115665779A (en) * 2022-12-27 2023-01-31 北京迪为双兴通讯技术有限公司 Method, device, equipment and medium for managing, upgrading and detecting 5G network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150103644A1 (en) * 2013-10-11 2015-04-16 Cisco Technology, Inc. Unconstrained supervisor switch upgrade
CN105610627A (en) * 2016-01-11 2016-05-25 上海斐讯数据通信技术有限公司 Method and device for upgrading network device
CN110768817A (en) * 2018-07-27 2020-02-07 视联动力信息技术股份有限公司 Upgrading method and device for video networking terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150103644A1 (en) * 2013-10-11 2015-04-16 Cisco Technology, Inc. Unconstrained supervisor switch upgrade
CN105610627A (en) * 2016-01-11 2016-05-25 上海斐讯数据通信技术有限公司 Method and device for upgrading network device
CN110768817A (en) * 2018-07-27 2020-02-07 视联动力信息技术股份有限公司 Upgrading method and device for video networking terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887146A (en) * 2021-01-28 2021-06-01 杭州迪普科技股份有限公司 Network node upgrading method and device and electronic equipment
CN114389949A (en) * 2022-01-20 2022-04-22 网宿科技股份有限公司 Route upgrading method, electronic equipment and storage medium
CN114389949B (en) * 2022-01-20 2024-04-12 网宿科技股份有限公司 Route upgrading method, electronic equipment and storage medium
CN115665779A (en) * 2022-12-27 2023-01-31 北京迪为双兴通讯技术有限公司 Method, device, equipment and medium for managing, upgrading and detecting 5G network equipment

Also Published As

Publication number Publication date
CN112039718B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN112039718B (en) Upgrade state detection method, server, equipment and storage medium
CN105099988B (en) Method, access method and device and system for supporting gray scale to issue
CN108183950B (en) Method and device for establishing connection of network equipment
US10313452B2 (en) Migrating a chat message service provided by a chat server to a new chat server
CN108881354B (en) Push information storage method and device, server and computer storage medium
US8667114B2 (en) Program update management server and program update management method
CN108259618B (en) Synchronous data interaction processing method and device
CN108540505B (en) Content updating method and device
CN106993043B (en) Data communication system and method based on agency
CN112367345A (en) Data processing method, server device and computer readable storage medium
CN108156024B (en) Method, system and storage medium for detecting availability based on distributed website
CN112398797B (en) Data transmission method, receiving device, transmitting device, medium, equipment and system
CN111885103B (en) Resource processing method, server, electronic device and storage medium
CN111064798B (en) Node network access method, device, client node and storage medium
CN113407555A (en) Operation data updating method and system of equipment handheld terminal
CN111008209B (en) Data reconciliation method, device and system, storage medium and electronic device
CN108880913B (en) traffic characteristic management method and device and central node server
CN112995266A (en) Information pushing method and related equipment
CN114422576B (en) Session cleaning method and device, computer equipment and readable storage medium
CN107608722B (en) Application program downloading method and device
CN114466321B (en) Message sending method and device, electronic equipment and storage medium
CN112437146B (en) Equipment state synchronization method, device and system
CN110971669B (en) Message notification method, device, server, electronic equipment and readable storage medium
CN108574622B (en) Instant message processing method and device based on XMPP
CN106911749B (en) Method and device for notifying user of online and offline

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