WO2021031889A1 - Upgrade method, communication device and computer-readable storage medium - Google Patents
Upgrade method, communication device and computer-readable storage medium Download PDFInfo
- Publication number
- WO2021031889A1 WO2021031889A1 PCT/CN2020/107883 CN2020107883W WO2021031889A1 WO 2021031889 A1 WO2021031889 A1 WO 2021031889A1 CN 2020107883 W CN2020107883 W CN 2020107883W WO 2021031889 A1 WO2021031889 A1 WO 2021031889A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- upgraded
- upgrade
- communication device
- communication
- communication devices
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 318
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000004590 computer program Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000009792 diffusion process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Definitions
- the embodiments of the present invention relate to the technical field of communication device upgrades, and more specifically, to an upgrade method, a communication device, and a computer-readable storage medium.
- Communication equipment has high requirements for safety, reliability, efficiency, and real-time performance.
- Traditional communication equipment upgrade methods are increasingly unable to meet the needs of 5G network development.
- communication The equipment has to be updated at a high frequency.
- Figure 1 the existing traditional C/S upgrade mode. All connected communication equipment is upgraded through a server, which has the following obvious defects:
- the reliability is low.
- the server has to upgrade all communication equipment.
- the load is large and it is prone to failures, causing the communication equipment to freeze, crash, and repeat resets during the upgrade, and the reliability is low.
- the equipment upgrade time is long.
- the current communication equipment upgrade method supports parallel upgrades.
- the number of communication devices that can be upgraded in parallel at the same time is limited, resulting in a long upgrade time, which is not suitable for large-scale communication equipment. upgrade.
- the traditional upgrade method takes a long time and is low in efficiency and reliability. It can be seen that, in the prior art, the upgrade time of communication equipment is long, the server load is heavy, and the efficiency is low.
- the upgrade method, communication device, and computer-readable storage medium provided by the embodiments of the present invention mainly solve the technical problems that the communication device in the prior art has a long upgrade time, a heavy server load, and low efficiency.
- an embodiment of the present invention provides an upgrade method, including:
- the part of the communication equipment to be upgraded is successfully upgraded, it is regarded as the upgraded communication equipment, and the upgrade file is sent to the adjacent communication equipment to be upgraded;
- the adjacent communication device to be upgraded is upgraded according to the upgrade file.
- the embodiment of the present invention also provides a communication device, which includes a processor, a memory, and a communication bus;
- the communication bus is configured to realize connection and communication between the processor and the memory
- the processor is configured to execute one or more computer programs stored in the memory to implement the steps of the upgrade method described above.
- the embodiment of the present invention also provides a computer-readable storage medium, and the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the upgrade method described above A step of.
- the upgrade method, communication device, and computer-readable storage medium provided by the embodiment of the present invention are upgraded by selecting part of the communication devices to be upgraded among the communication devices to be upgraded.
- some communication devices to be upgraded are regarded as upgraded communication devices after being successfully upgraded.
- the upgrade file is sent to the adjacent communication device to be upgraded.
- the adjacent communication device to be upgraded is upgraded according to the upgrade file; it solves the problem of long upgrade time, heavy server load and low efficiency of communication equipment in the prior art. problem.
- part of the communication device to be upgraded is first upgraded, and then the upgraded communication device is used to share the upgrade load and balance the load, which greatly improves the upgrade Efficiency, while improving the reliability and availability of communication equipment.
- Figure 1 is a schematic structural diagram of upgrading existing communication equipment
- Embodiment 1 of the present invention is a schematic diagram of the basic flow of an upgrade method provided by Embodiment 1 of the present invention
- FIG. 3 is a schematic structural diagram of an upgrade method provided by Embodiment 2 of the present invention.
- Embodiment 4 is a schematic diagram of the basic flow of an upgrade method provided by Embodiment 2 of the present invention.
- FIG. 5 is a schematic diagram of a process of obtaining an upgrade file through a get method according to Embodiment 3 of the present invention.
- FIG. 6 is a schematic diagram of a process for obtaining an upgrade file in a put mode according to Embodiment 3 of the present invention.
- FIG. 7 is a schematic structural diagram of a first communication device according to Embodiment 4 of the present invention.
- FIG. 8 is a schematic structural diagram of a second communication device according to Embodiment 4 of the present invention.
- FIG. 9 is a schematic structural diagram of a third communication device provided by Embodiment 4 of the present invention.
- an upgrade method is provided in the embodiment of the present invention, by selecting part of the communication devices to be upgraded for upgrading, Optionally, some of the communication devices to be upgraded are successfully upgraded as upgraded communication devices, and the upgrade file is sent to the adjacent communication devices to be upgraded. Optionally, the adjacent communication devices to be upgraded are upgraded according to the upgrade file; see Figure 2 As shown, FIG. 2 is a schematic diagram of the basic flow of the upgrade method provided in this embodiment.
- S201 Select part of the communication devices to be upgraded among the communication devices to be upgraded for upgrade.
- the communication equipment in this embodiment includes, but is not limited to, any form of communication equipment such as network elements. In actual applications, it can be flexibly adjusted according to specific application scenarios.
- the method before selecting some of the communication devices to be upgraded for upgrading, the method further includes:
- selecting part of the communication devices to be upgraded for upgrading in the communication devices to be upgraded includes:
- the 90 communication devices to be upgraded are divided into three categories based on the same device model.
- the communication devices to be upgraded with numbers 1-30 are the first type, and those with numbers 31-60
- the communication device to be upgraded is of the second type, and the communication devices to be upgraded with reference numbers 61-90 are of the third type; optionally, some of the communication devices to be upgraded are selected from the first, second, and third types of communication devices to be upgraded.
- the communication equipment is upgraded.
- the communication equipment to be upgraded with label 1 is selected from the communication equipment to be upgraded of the first type for upgrade
- the communication equipment to be upgraded with label 31 is selected from the communication equipment to be upgraded of the second type for upgrade
- the communication device to be upgraded with the number 61 is selected from the communication device to be upgraded of the third type to be upgraded.
- part refers to the number of communication devices to be upgraded in the first type, second type, and third type. As in the above example, “part” should be greater than or equal to 1 and less than 30. It is worth noting that in actual applications, “parts” need to be flexibly adjusted according to specific application scenarios.
- selecting part of the communication devices to be upgraded for upgrading in the communication devices to be upgraded includes:
- some communication devices to be upgraded are selected from the communication devices to be upgraded, and the server performs the upgrade.
- some communication devices to be upgraded are selected from the communication devices to be upgraded, and the upgrade is performed manually.
- part of the communication equipment to be upgraded in this embodiment is successfully upgraded as an upgraded communication equipment, and the upgrade file is sent to the adjacent communication equipment to be upgraded, where “adjacent” refers to the upgraded communication equipment and
- the communication equipment to be upgraded is connected through optical fiber, network cable, etc., or through wireless Vlan. It is worth noting that what are listed here are only several common connection modes, and the embodiment of the present invention is not limited to these several connection modes. In actual applications, it can be flexibly adjusted according to specific application scenarios.
- the upgraded communication device compares the device model and software version number of the upgraded communication device and the adjacent communication device to be upgraded. When the device model is the same and the software version number is different, it is determined that the upgrade conditions are met, and the upgrade file is sent to the adjacent communication device to be upgraded .
- the device models and software version numbers of some communication devices to be upgraded and adjacent communication devices to be upgraded before comparing the device models and software version numbers of some communication devices to be upgraded and adjacent communication devices to be upgraded, it further includes:
- the upgraded communication device sends a request for the device model and software version to the adjacent communication device to be upgraded;
- the neighboring communication device to be upgraded After receiving the device model and software version request, the neighboring communication device to be upgraded sends the device model and software version number to the upgraded communication device.
- the upgraded communication device sends an upgrade request to the adjacent communication device to be upgraded
- the adjacent communication device to be upgraded When the adjacent communication device to be upgraded receives the upgrade request, it sends a request to obtain the upgrade file to the upgraded communication device;
- the upgraded communication device When the upgraded communication device receives the upgrade file request, it sends the upgrade file to the adjacent communication device to be upgraded.
- S203 The adjacent communication device to be upgraded is upgraded according to the upgrade file.
- the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade fails, it further includes:
- the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade fails/successfully, it further includes:
- the upgrade failure/success notification is sent to the upgraded communication device, and the upgraded communication device sends the upgrade failure/success notification to the server; thus, the staff can solve the upgrade exception correspondingly according to the upgrade failure notification.
- an upgrade failure/success notification is sent to the server; thus, the staff can resolve the upgrade exception according to the upgrade failure notification.
- the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade is successful, it is regarded as an upgraded communication device, which further includes:
- the neighboring communication devices to be upgraded will be upgraded according to the upgrade files, and iteratively, until all the communication devices to be upgraded are successfully upgraded; that is, S202 and S203 need to be repeated until all the The upgraded communication equipment was successfully upgraded.
- the upgraded communication device labeled 1 sends the upgrade file to the adjacent communication devices labeled 2 and 3 to be upgraded, and the communication devices labeled 2 and 3 to be upgraded are upgraded according to the upgrade file.
- the upgraded communication device labeled 2 will send the upgrade file to the adjacent communication devices labeled 5, 6, 7 to be upgraded, labeled 5, 6, 7
- the communication device to be upgraded is upgraded according to the upgrade file, and it will be regarded as the upgraded communication device after the upgrade is successful; at the same time, the upgraded communication device with label 3 will send the upgrade file to the adjacent waiting communication device with labels 8, 9, 10 Upgrade communication equipment.
- the communication equipment to be upgraded with labels 8, 9, and 10 are upgraded according to the upgrade file. After the upgrade is successful, they will be regarded as upgraded communication equipment.
- the cycle is similar. The process is similar. This time I will not repeat it until 30 to be upgraded.
- the communication equipment has been upgraded.
- the number of cycles is determined by the number of selected communication devices to be upgraded from the communication devices to be upgraded and the neighbor relationship between the communication devices. In actual applications, it needs to be flexibly adjusted according to specific application scenarios.
- the upgrade method provided by the embodiment of the present invention first upgrades part of the communication equipment to be upgraded, and then uses the upgraded communication equipment to upgrade other communication equipment to be upgraded, which solves the problem of the long upgrade time and server load of the communication equipment in the prior art. Compared with the existing upgrade method, it has at least the following advantages:
- the traditional upgrade method is limited by the performance of the server, and the number of devices that can be upgraded in parallel at the same time is small, and it takes a long time to upgrade the equipment. Not limited by server performance, it can upgrade a large number of devices at the same time, especially suitable for scenarios with many devices to be upgraded.
- the dependence on the server becomes smaller. Even if the server fails during the upgrade process, the successfully upgraded communication device can still complete the upgrade of the communication device to be upgraded.
- the distributed intelligent diffusion upgrade utilizes multiple communication devices to share the upgrade load and balance the load, which not only solves the bottleneck problem of single server upgrade in traditional communication equipment, but also improves the reliability and availability of the network system .
- the embodiment of the present invention takes a more specific upgrade method process as an example for description.
- This embodiment is described by taking the communication device as a network element as an example.
- Figure 3 is a schematic structural diagram of the upgrade method provided in this embodiment, including the following steps:
- Step 1 The server upgrades the network element 1.
- Step two the first network element is successfully upgraded, and the first network element sends the upgrade file to its neighboring network element two, network element three, network element four, network element five, network element two, network element three, network element four, network Yuan five upgraded according to the upgrade file, and the upgrade was successful.
- Step 3 The network element four sends the upgrade file to the adjacent network element n, and the network element n is upgraded according to the upgrade file.
- the upgrade is successful, and all network elements are upgraded.
- FIG. 4 is a schematic flowchart of the upgrade method provided in this embodiment, including the following steps:
- the server upgrades the network element A to be upgraded.
- the network element A sends a request for the device model and software version number to the neighboring network element B.
- the neighboring network element B After receiving the request for the device model and software version number of the network element A, the neighboring network element B sends its own device model and software version number message to the network element A.
- Network element A receives the message of its own device model and software version number of network element B, and compares the device model and software version number of the two.
- the network element B sends a request to obtain the upgrade file to the network element A.
- the network element A After receiving the request from the network element B to obtain the upgrade file, the network element A sends the upgrade file to the network element B through the transmission service.
- the network element B activates the upgrade file, performs the upgrade according to the upgrade file, and the upgrade is completed.
- a part of the network elements to be upgraded is selected for upgrading among the network elements to be upgraded.
- some of the network elements to be upgraded are successfully upgraded as the upgraded network elements, and the upgrade file is sent to the adjacent
- the network element to be upgraded optionally, the adjacent network element to be upgraded is upgraded according to the upgrade file; this solves the problems of long network element upgrade time, heavy server load, and low efficiency in the prior art.
- the upgrade method provided by the embodiment of the present invention first upgrades some of the network elements to be upgraded, and then uses the upgraded network elements to upgrade its neighboring network elements, and loops in turn until all network elements are successfully upgraded, thereby realizing load sharing of the server ,
- the rapid spread of the upgrade package enables rapid upgrade of large-scale network elements. Even if the server fails during the upgrade process, the upgraded network element can still be upgraded to the neighboring network element to be upgraded, and the reliability is greatly enhanced.
- the embodiment of the present invention uses the C/S mode to transmit the upgrade file, and there are two transmission methods:
- the first transmission method is that the upgraded communication device serves as the server, and the adjacent communication device that meets the upgrade conditions serves as the client;
- the second transmission method is that the upgraded communication device serves as the client, and the adjacent communication device that meets the upgrade conditions serves as the server.
- FIG. 5 is a schematic diagram of the process of obtaining the upgrade file through the get method provided in this embodiment, including the following steps:
- the communication device A sends an upgrade request to the neighboring communication device B to be upgraded.
- the communication device B After receiving the upgrade request, the communication device B configures itself as a client.
- the communication device B sends a request for obtaining an upgrade file to the communication device A.
- the communication device B receives the upgrade file, and performs the upgrade according to the upgrade file.
- FIG. 6 is a schematic diagram of the process of obtaining the upgrade file through put method provided in this embodiment, including the following steps:
- S602 Send an upgrade request to the neighboring communication device B to be upgraded.
- the communication device B After receiving the upgrade request, the communication device B configures itself as a server.
- the communication device B sends a confirmation upgrade request to the communication device A.
- the communication device B receives the upgrade file, and performs the upgrade according to the upgrade file.
- the communication equipment provided in this embodiment includes processing 701 and memory 702.
- processor 701 in this embodiment is configured to execute one or more programs stored in the memory 702 to implement the following steps:
- the adjacent communication equipment to be upgraded is upgraded according to the upgrade file.
- the communication device further includes a communication bus 703, where the communication bus 703 is configured to implement connection and communication between the processor 701 and the memory 702.
- the processor 701 and the memory 702 can also communicate in a wireless manner. In actual applications, they can be flexibly adjusted according to specific application scenarios.
- the same communication device serves as the communication device to be upgraded before the upgrade, and can be upgraded after obtaining the upgrade file, and it is regarded as the upgraded communication device after the upgrade.
- the communication equipment in this embodiment includes, but is not limited to, any form of communication equipment such as network elements. In actual applications, it can be flexibly adjusted according to specific application scenarios.
- the method before selecting part of the communication devices to be upgraded for upgrading among the communication devices to be upgraded, the method further includes:
- selecting part of the communication devices to be upgraded for upgrading in the communication devices to be upgraded includes:
- part refers to the number of communication devices to be upgraded, and it should be greater than or equal to 1 and less than the number of communication devices to be upgraded. It is worth noting that in actual applications, “parts” need to be flexibly adjusted according to specific application scenarios.
- selecting part of the communication devices to be upgraded for upgrading in the communication devices to be upgraded includes:
- some communication devices to be upgraded are selected from the communication devices to be upgraded, and the server performs the upgrade.
- some communication devices to be upgraded are selected from the communication devices to be upgraded, and the upgrade is performed manually.
- part of the communication equipment to be upgraded in this embodiment is successfully upgraded as an upgraded communication equipment, and the upgrade file is sent to the adjacent communication equipment to be upgraded, where “adjacent” refers to the upgraded communication equipment and
- the communication equipment to be upgraded is connected through optical fiber, network cable, etc., or through wireless Vlan. It is worth noting that what are listed here are only several common connection modes, and the embodiment of the present invention is not limited to these several connection modes. In actual applications, it can be flexibly adjusted according to specific application scenarios.
- the upgraded communication device compares the device model and software version number of the upgraded communication device and the adjacent communication device to be upgraded. When the device model is the same and the software version number is different, it is determined that the upgrade conditions are met, and the upgrade file is sent to the adjacent communication device to be upgraded .
- the device models and software version numbers of some communication devices to be upgraded and adjacent communication devices to be upgraded before comparing the device models and software version numbers of some communication devices to be upgraded and adjacent communication devices to be upgraded, it further includes:
- the upgraded communication device sends a request for the device model and software version to the adjacent communication device to be upgraded;
- the neighboring communication device to be upgraded After receiving the device model and software version request, the neighboring communication device to be upgraded sends the device model and software version number to the upgraded communication device.
- the upgraded communication device sends an upgrade request to the adjacent communication device to be upgraded
- the adjacent communication device to be upgraded When the adjacent communication device to be upgraded receives the upgrade request, it sends a request to obtain the upgrade file to the upgraded communication device;
- the upgraded communication device When the upgraded communication device receives the upgrade file request, it sends the upgrade file to the adjacent communication device to be upgraded.
- the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade fails, it further includes:
- the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade fails/successfully, it further includes:
- the upgrade failure/success notification is sent to the upgraded communication device, and the upgraded communication device sends the upgrade failure/success notification to the server; thus, the staff can solve the upgrade exception correspondingly according to the upgrade failure notification.
- an upgrade failure/success notification is sent to the server; thus, the staff can resolve the upgrade exception according to the upgrade failure notification.
- the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade is successful, it is regarded as an upgraded communication device, which further includes:
- the upgrade file is sent to its neighboring communication device to be upgraded, and the neighboring communication device to be upgraded is upgraded according to the upgrade file, and the cycle is repeated until all the communication devices to be upgraded are successfully upgraded.
- the number of cycles is determined by the number of selected communication devices to be upgraded from the communication devices to be upgraded and the neighbor relationship between the communication devices. In actual applications, it needs to be flexibly adjusted according to specific application scenarios.
- the communication device includes a message module 901, a comparison module 902, an upgrade module 903, and a fallback module 904;
- the message module 901 set to communicate messages between the upgraded communication device and the communication device to be upgraded, for example, the upgraded communication device sends a request message for the device model and software version number, upgrade request, etc., and the communication device to be upgraded sends its own device model And software version number message, get upgrade file request, etc.
- the comparison module 902 is configured to compare the received device model and software version number of the adjacent communication device (communication device to be upgraded, the same below), and send the comparison result to the upgrade module 903.
- the upgrade module 903 is configured to determine whether to upgrade the adjacent communication device according to the comparison result. When the comparison result is that the upgrade condition is satisfied, the communication device to be upgraded upgrades according to the upgrade file obtained by the message module 901 to complete the upgrade.
- the rollback module 904 is set to obtain configuration information and business data from the database when the upgrade fails, so as to roll back to the previous software version according to the configuration information and business data.
- the communication equipment provided by the embodiment of the present invention first upgrades part of the communication equipment to be upgraded, and then uses the upgraded communication equipment to upgrade other communication equipment to be upgraded, which solves the problem of the long upgrade time and server load of the communication equipment in the prior art. Compared with the existing upgrade methods, it has at least the following advantages:
- the traditional upgrade method is limited by the performance of the server, and the number of devices that can be upgraded in parallel at the same time is small, and it takes a long time to upgrade the equipment. Not limited by server performance, it can upgrade a large number of devices at the same time, especially suitable for scenarios with many devices to be upgraded.
- the dependence on the server becomes smaller. Even if the server fails during the upgrade process, the successfully upgraded communication device can still complete the upgrade of the communication device to be upgraded.
- the distributed intelligent diffusion upgrade utilizes multiple communication devices to share the upgrade load and balance the load, which not only solves the bottleneck problem of single server upgrade in traditional communication equipment, but also improves the reliability and availability of the network system .
- the embodiment of the present invention also provides a computer-readable storage medium.
- the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned embodiments.
- the computer-readable storage medium includes volatile or non-volatile, removable, or removable or non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules, or other data).
- Non-removable media Computer readable storage media include but are not limited to RAM (Random Access Memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory, charged Erasable Programmable Read-Only Memory) ), flash memory or other storage technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or any other medium that can be used to store desired information and can be accessed by a computer.
- the functional modules/units in the system, and the device can be implemented as software (which can be implemented by program code executable by a computing device) , Firmware, hardware and their appropriate combination.
- the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. The components are executed cooperatively.
- Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
- the computer-readable medium may include computer storage Medium (or non-transitory medium) and communication medium (or temporary medium).
- computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data).
- flexible, removable and non-removable media are examples of flexible, removable and non-removable media.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media . Therefore, the embodiments of the present invention are not limited to any specific combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims (10)
- 一种升级方法,包括:An upgrade method including:在待升级通信设备中选择部分待升级通信设备进行升级;Select part of the communication equipment to be upgraded in the communication equipment to be upgraded for upgrading;所述部分待升级通信设备升级成功后作为已升级通信设备,将升级文件发送至相邻待升级通信设备;After the part of the communication equipment to be upgraded is successfully upgraded, it is regarded as the upgraded communication equipment, and the upgrade file is sent to the adjacent communication equipment to be upgraded;所述相邻待升级通信设备根据所述升级文件进行升级。The adjacent communication device to be upgraded is upgraded according to the upgrade file.
- 如权利要求1所述的升级方法,其中,所述将升级文件发送至相邻待升级通信设备之前,还包括:The upgrade method according to claim 1, wherein before sending the upgrade file to a neighboring communication device to be upgraded, the method further comprises:所述已升级通信设备比较所述已升级通信设备和所述相邻待升级通信设备的设备型号和软件版本号,在设备型号相同且软件版本号不同时判定满足升级条件,将所述升级文件发送至相邻待升级通信设备。The upgraded communication device compares the device model and software version number of the upgraded communication device and the adjacent communication device to be upgraded, determines that the upgrade condition is met when the device model is the same and the software version number is different, and the upgrade file Send to neighboring communication equipment to be upgraded.
- 如权利要求2所述的升级方法,其中,所述在比较部分待升级通信设备和相邻待升级通信设备的设备型号和软件版本号之前,还包括:The upgrade method according to claim 2, wherein, before comparing the device models and software version numbers of the part of the communication device to be upgraded and the adjacent communication device to be upgraded, the method further comprises:所述已升级通信设备向所述相邻待升级通信设备发送设备型号和软件版本请求;The upgraded communication device sends a device model and software version request to the adjacent communication device to be upgraded;所述相邻待升级通信设备接收到所述设备型号和软件版本请求后,将设备型号和软件版本号发送至所述已升级通信设备。After receiving the request for the device model and software version, the neighboring communication device to be upgraded sends the device model and software version number to the upgraded communication device.
- 如权利要求2所述的升级方法,其中,所述将所述升级文件发送至相邻待升级通信设备之前,还包括:The upgrade method according to claim 2, wherein, before sending the upgrade file to a neighboring communication device to be upgraded, the method further comprises:所述已升级通信设备向所述相邻待升级通信设备发送升级请求;The upgraded communication device sends an upgrade request to the adjacent communication device to be upgraded;所述相邻待升级通信设备接收到所述升级请求时,向所述已升级通信设备发送获取升级文件请求;When the adjacent communication device to be upgraded receives the upgrade request, sending a request for obtaining an upgrade file to the upgraded communication device;所述已升级通信设备接收到所述获取升级文件请求时,将所述升级文件发送至所述相邻待升级通信设备。When the upgraded communication device receives the upgrade file acquisition request, it sends the upgrade file to the adjacent communication device to be upgraded.
- 如权利要求1-4任一项所述的升级方法,其中,所述相邻待升级 通信设备根据所述升级文件进行升级,升级失败之后,还包括:The upgrade method according to any one of claims 1-4, wherein the adjacent communication device to be upgraded upgrades according to the upgrade file, and after the upgrade fails, the method further comprises:从数据库获取配置信息以及业务数据,以根据所述配置信息以及业务数据回退到之前的软件版本。Obtain configuration information and business data from the database, so as to roll back to the previous software version according to the configuration information and business data.
- 如权利要求1-4任一项所述的升级方法,其中,所述相邻待升级通信设备根据所述升级文件进行升级,升级失败/成功之后,还包括:The upgrade method according to any one of claims 1-4, wherein the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade fails/successfully, it further comprises:向所述已升级通信设备发送升级失败/成功通知,由所述已升级通信设备将所述升级失败/成功通知发送至服务器;Sending an upgrade failure/success notification to the upgraded communication device, and the upgraded communication device sends the upgrade failure/success notification to the server;或,or,向服务器发送升级失败/成功通知。Send notification of upgrade failure/success to the server.
- 如权利要求1-4任一项所述的升级方法,其中,所述相邻待升级通信设备根据所述升级文件进行升级,升级成功之后作为已升级通信设备,还包括:The upgrade method according to any one of claims 1 to 4, wherein the adjacent communication device to be upgraded is upgraded according to the upgrade file, and after the upgrade is successful, it is regarded as an upgraded communication device, further comprising:将所述升级文件发送至相邻待升级通信设备,所述相邻待升级通信设备根据所述升级文件进行升级,依次循环,直至所有待升级通信设备升级成功。The upgrade file is sent to a neighboring communication device to be upgraded, and the neighboring communication device to be upgraded is upgraded according to the upgrade file, and loops in turn until all the communication devices to be upgraded are successfully upgraded.
- 如权利要求7所述的升级方法,其中,所述在待升级通信设备中选择部分待升级通信设备进行升级之前,还包括:8. The upgrade method according to claim 7, wherein, before selecting a part of the communication devices to be upgraded for upgrading, the method further comprises:根据设备型号对待升级通信设备进行分类,将设备型号相同的待升级通信设备划分为同一类型;Classify the communication devices to be upgraded according to the device model, and classify the communication devices to be upgraded with the same device model into the same type;所述在待升级通信设备中选择部分待升级通信设备进行升级,包括:Said selecting part of the communication equipment to be upgraded for upgrading in the communication equipment to be upgraded includes:从各类型的待升级通信设备中分别选择部分待升级通信设备进行升级。Select part of the communication devices to be upgraded from various types of communication devices to be upgraded for upgrade.
- 一种通信设备,所述通信设备包括处理器及存储器;A communication device including a processor and a memory;所述处理器设置为执行所述存储器中存储的一个或者多个计算机程 序,以实现如权利要求1-8中任一项所述的升级方法的步骤。The processor is configured to execute one or more computer programs stored in the memory to implement the steps of the upgrading method according to any one of claims 1-8.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个计算机程序,所述一个或者多个计算机程序可被一个或者多个处理器执行,以实现如权利要求1-8中任一项所述的升级方法的步骤。A computer-readable storage medium, the computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors, so as to implement claims 1-8 The steps of any one of the upgrade methods.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910760047.0A CN112398673A (en) | 2019-08-16 | 2019-08-16 | Upgrading method, communication equipment and computer readable storage medium |
CN201910760047.0 | 2019-08-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021031889A1 true WO2021031889A1 (en) | 2021-02-25 |
Family
ID=74602875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/107883 WO2021031889A1 (en) | 2019-08-16 | 2020-08-07 | Upgrade method, communication device and computer-readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112398673A (en) |
WO (1) | WO2021031889A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114172875A (en) * | 2021-12-03 | 2022-03-11 | 深圳小湃科技有限公司 | Remote upgrading method and system for network camera and readable storage medium |
CN114465894A (en) * | 2021-12-28 | 2022-05-10 | 湖北华中光电科技有限公司 | Software upgrading method for laser alarm equipment |
CN116414416A (en) * | 2023-02-08 | 2023-07-11 | 北京富润成照明系统工程有限公司 | Method and device for remotely upgrading street lamp controller |
WO2023185390A1 (en) * | 2022-03-28 | 2023-10-05 | 中兴通讯股份有限公司 | Base station version downloading method, network management server, base station, device and medium |
CN117055922A (en) * | 2023-08-14 | 2023-11-14 | 北京小米机器人技术有限公司 | OTA upgrading method, OTA upgrading device, robot and storage medium |
CN114172875B (en) * | 2021-12-03 | 2024-06-25 | 深圳小湃科技有限公司 | Remote upgrading method and system for network camera and readable storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112835608A (en) * | 2021-02-24 | 2021-05-25 | 珠海奔图电子有限公司 | Firmware upgrading method, image forming apparatus and system |
CN113489610A (en) * | 2021-06-30 | 2021-10-08 | 中国民航信息网络股份有限公司 | Method and device for upgrading departure front end, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686145A (en) * | 2008-09-26 | 2010-03-31 | 深圳华为通信技术有限公司 | Equipment capable of upgrading, upgrading method and system |
CN101895575A (en) * | 2010-07-08 | 2010-11-24 | 中兴通讯股份有限公司 | Method, device and system for downloading base station versions |
CN103152206A (en) * | 2013-03-25 | 2013-06-12 | 安科智慧城市技术(中国)有限公司 | Method and system for updating multiple devices |
CN103607456A (en) * | 2013-11-21 | 2014-02-26 | 厦门雅迅网络股份有限公司 | Remote software upgrade method for clustered mobile terminals |
WO2016090846A1 (en) * | 2014-12-11 | 2016-06-16 | 中兴通讯股份有限公司 | Network version upgrade method and apparatus |
CN109032644A (en) * | 2018-07-27 | 2018-12-18 | 蔚来汽车有限公司 | The upgrade method and device, controller and medium of charging pile, the pile group that charges |
-
2019
- 2019-08-16 CN CN201910760047.0A patent/CN112398673A/en active Pending
-
2020
- 2020-08-07 WO PCT/CN2020/107883 patent/WO2021031889A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686145A (en) * | 2008-09-26 | 2010-03-31 | 深圳华为通信技术有限公司 | Equipment capable of upgrading, upgrading method and system |
CN101895575A (en) * | 2010-07-08 | 2010-11-24 | 中兴通讯股份有限公司 | Method, device and system for downloading base station versions |
CN103152206A (en) * | 2013-03-25 | 2013-06-12 | 安科智慧城市技术(中国)有限公司 | Method and system for updating multiple devices |
CN103607456A (en) * | 2013-11-21 | 2014-02-26 | 厦门雅迅网络股份有限公司 | Remote software upgrade method for clustered mobile terminals |
WO2016090846A1 (en) * | 2014-12-11 | 2016-06-16 | 中兴通讯股份有限公司 | Network version upgrade method and apparatus |
CN109032644A (en) * | 2018-07-27 | 2018-12-18 | 蔚来汽车有限公司 | The upgrade method and device, controller and medium of charging pile, the pile group that charges |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114172875A (en) * | 2021-12-03 | 2022-03-11 | 深圳小湃科技有限公司 | Remote upgrading method and system for network camera and readable storage medium |
CN114172875B (en) * | 2021-12-03 | 2024-06-25 | 深圳小湃科技有限公司 | Remote upgrading method and system for network camera and readable storage medium |
CN114465894A (en) * | 2021-12-28 | 2022-05-10 | 湖北华中光电科技有限公司 | Software upgrading method for laser alarm equipment |
CN114465894B (en) * | 2021-12-28 | 2023-09-12 | 湖北华中长江光电科技有限公司 | Software upgrading method of laser alarm equipment |
WO2023185390A1 (en) * | 2022-03-28 | 2023-10-05 | 中兴通讯股份有限公司 | Base station version downloading method, network management server, base station, device and medium |
CN116414416A (en) * | 2023-02-08 | 2023-07-11 | 北京富润成照明系统工程有限公司 | Method and device for remotely upgrading street lamp controller |
CN117055922A (en) * | 2023-08-14 | 2023-11-14 | 北京小米机器人技术有限公司 | OTA upgrading method, OTA upgrading device, robot and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112398673A (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021031889A1 (en) | Upgrade method, communication device and computer-readable storage medium | |
US10983775B2 (en) | System and method for creating and deploying a release package | |
US9207929B2 (en) | Integrated system and firmware update method | |
US11403269B2 (en) | Versioning validation for data transfer between heterogeneous data stores | |
US10595204B2 (en) | Flexible remote server validation | |
US20060095435A1 (en) | Configuring and deploying portable application containers for improved utilization of server capacity | |
US10476959B2 (en) | Cloud resource provisioning using blueprint chaining | |
CN104220987A (en) | Application installation | |
US8862937B2 (en) | Method and system for migrating data from multiple sources | |
CN112351051A (en) | Cloud service processing method and device, cloud server, cloud service processing system and storage medium | |
CN104850416A (en) | Upgrading system, method and device and cloud computing node | |
US11281452B2 (en) | Tenant declarative deployments | |
WO2021003677A1 (en) | Service upgrade method and apparatus in distributed system, and distributed system | |
CN103812945A (en) | Method for upgrading data and central server | |
CN101877655A (en) | Network management system, network management server and method | |
WO2016116013A1 (en) | Software upgrade method and system | |
US11386153B1 (en) | Flexible tagging and searching system | |
CN103780433B (en) | Self-healing type virtual resource configuration management data architecture | |
CN114070889B (en) | Configuration method, traffic forwarding device, storage medium, and program product | |
CN115604271A (en) | Micro-service-based software and hardware complementary load balancing method | |
CN114860505A (en) | Object storage data asynchronous backup method and system | |
CN111431951B (en) | Data processing method, node equipment, system and storage medium | |
CN112711466A (en) | Hanging affair inspection method and device, electronic equipment and storage medium | |
US11922160B2 (en) | Validated state control in edge computing | |
WO2021259240A1 (en) | Distributed transaction processing method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20855365 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20855365 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20855365 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.09.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20855365 Country of ref document: EP Kind code of ref document: A1 |