CN108934033B - Base station upgrading and returning method and device - Google Patents

Base station upgrading and returning method and device Download PDF

Info

Publication number
CN108934033B
CN108934033B CN201710382029.4A CN201710382029A CN108934033B CN 108934033 B CN108934033 B CN 108934033B CN 201710382029 A CN201710382029 A CN 201710382029A CN 108934033 B CN108934033 B CN 108934033B
Authority
CN
China
Prior art keywords
target
main control
software management
hot patch
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710382029.4A
Other languages
Chinese (zh)
Other versions
CN108934033A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201710382029.4A priority Critical patent/CN108934033B/en
Publication of CN108934033A publication Critical patent/CN108934033A/en
Application granted granted Critical
Publication of CN108934033B publication Critical patent/CN108934033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method and a device for upgrading and backing off a base station, which comprise the following steps: the software management main control module acquires a hot patch software package; the software management main control module determines a target baseband board card from one or more baseband board cards according to the hot patch software package; the software management main control module generates a synchronization request message aiming at the target baseband board card; the software management main control module sends the synchronization request message to a target software management agent module corresponding to the target baseband board card; the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package. Therefore, patch upgrading can be quickly carried out on a base station with problems in the existing network, dynamic loading and dynamic effective patch upgrading is carried out on the target baseband board card, and meanwhile other baseband board cards normally work, so that the base station does not need to be reset when patch upgrading is carried out, service is not influenced, and user perception is not influenced.

Description

Base station upgrading and returning method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for upgrading a base station, a method for backing up a base station, an apparatus for upgrading a base station, and an apparatus for backing up a base station.
Background
A base station refers to a radio transceiver station for information transfer with a mobile phone terminal through a mobile communication switching center in a certain radio coverage area.
With the rapid development and technological updating of mobile communications, technicians often need to maintain and update base stations. In the existing scheme, when a technician maintains or updates the base station, the technician generally integrates a plurality of problems, then intensively solves the problems, then uniformly distributes a complete large packet to the outside, and then upgrades the whole base station, and the base station is generally required to be reset by the upgrading mode. In the resetting process, the phenomena of poor user perception, long service quit time and the like are caused by the fact that a cell quits service, service interruption and various related alarms are reported to a network manager, and the communication quality is seriously influenced.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a method for upgrading a base station, a method for backing off a base station, an apparatus for upgrading a base station, and an apparatus for backing off a base station, which overcome the problem that a service is interrupted due to resetting a base station during upgrading a base station.
In order to solve the above problem, an embodiment of the present invention discloses a method for upgrading a base station, where the base station includes: the software management system comprises a software management main control module, one or more baseband board cards and a software management agent module corresponding to the one or more baseband board cards respectively, wherein the method comprises the following steps:
the software management main control module acquires a hot patch software package;
the software management main control module determines a target baseband board card from the one or more baseband board cards according to the hot patch software package;
the software management main control module generates a synchronization request message aiming at the target baseband board card;
the software management main control module sends the synchronization request message to a target software management agent module corresponding to the target baseband board card; and the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package.
Preferably, the base station further includes: the method comprises the following steps:
and the software management main control module adopts the hot patch software package to upgrade the main control board card.
Preferably, the main control board card comprises one or more processors;
the hot-patch software package comprises: a hot patch file, and a configuration file;
the software management main control module adopts the hot patch software package, and the step of upgrading the main control board card comprises the following steps:
the software management main control module adopts a configuration file to determine a first target processor in the main control board card;
the software management main control module determines a first target file in the first target processor;
and the software management main control module adopts the hot patch file to upgrade the first target file of the first target processor.
Preferably, the step of determining, by the software management main control module, a target baseband board card among the one or more baseband boards according to the hot patch software package includes:
and the software management main control module determines a target baseband board card in the one or more baseband boards by adopting the configuration file.
Preferably, the baseband board card comprises one or more processors;
the target software management agent module is used for determining a second target processor in the one or more processors of the corresponding target board card by adopting the configuration file; determining a second target file in the second target processor; and upgrading a second target file of the second target processor by adopting the hot patch file.
Preferably, the step of acquiring the hot patch software package by the software management main control module includes:
the software management main control module acquires hot patch version information; the software management main control module judges whether the hot patch version information is matched with the current software main version information of a preset base station;
and if the hot patch software package is matched with the hot patch software package, the software management main control module acquires the hot patch software package.
According to another aspect of the present invention, a method for backing off a base station is also disclosed, the base station includes: the software management system comprises a software management main control module, one or more baseband board cards and a software management agent module corresponding to the one or more baseband board cards respectively, wherein the method comprises the following steps:
the software management main control module determines a target baseband board card from the one or more baseband board cards, wherein the target baseband board card is a board card upgraded by a hot patch software package;
the software management main control module generates rollback notification information for the target baseband board card;
the software management main control module sends the rollback notification information to a software management agent module corresponding to the target baseband board card; and the software management agent module is used for backing the hot patch according to the backing notification information.
Preferably, the method further comprises the following steps:
and the software management main control module deletes the hot patch software package obtained in advance.
According to another aspect of the present invention, an upgrade apparatus for a base station is also disclosed, where the base station includes one or more baseband boards, and the apparatus includes: the software management main control module and the software management agent modules respectively correspond to the one or more baseband board cards;
the software management main control module comprises:
the hot patch software package acquisition submodule is used for acquiring a hot patch software package;
the target baseband board card determining submodule is used for determining a target baseband board card in the one or more baseband board cards according to the hot patch software package;
a synchronization request message generation submodule, configured to generate a synchronization request message for the target baseband board card;
the synchronous request message sending submodule is used for sending the synchronous request message to a target software management agent module corresponding to the target baseband board card; and the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package.
Preferably, the base station further includes: the main control board card, software management host system still includes:
and the main control board card upgrading submodule is used for upgrading the main control board card by adopting the hot patch software package.
Preferably, the main control board card comprises one or more processors;
the hot-patch software package comprises: a hot patch file, and a configuration file;
the master control board card upgrading submodule comprises:
the first target processor determining unit is used for determining a first target processor in the main control board card by adopting a configuration file;
a first target file determining unit, configured to determine a first target file in the first target processor;
and the first target file upgrading unit is used for upgrading the first target file of the first target processor by the software management main control module by adopting the hot patch file.
Preferably, the target baseband board card determining sub-module includes:
and the target baseband board card determining unit is used for determining the target baseband board card in the one or more baseband boards by adopting the configuration file.
Preferably, the baseband board card comprises one or more processors;
the target software management agent module is used for determining a second target processor in the one or more processors of the corresponding target board card by adopting the configuration file; determining a second target file in the second target processor; and upgrading a second target file of the second target processor by adopting the hot patch file.
Preferably, the hot-patch software package obtaining sub-module includes:
the hot patch version information acquisition unit is used for acquiring hot patch version information;
the hot patch version adapting unit is used for judging whether the hot patch version information is adapted to the current software main version information of a preset base station;
and the hot patch software package obtaining unit is used for obtaining the hot patch software package if the hot patch version information is matched with the preset current software main version information of the base station.
According to another aspect of the present invention, a fallback apparatus for a base station is also disclosed, where the base station includes: one or more baseband cards, the apparatus comprising: the software management main control module and the software management agent modules respectively correspond to the one or more baseband board cards;
the software management main control module comprises:
a target baseband board card determining submodule, configured to determine a target baseband board card from the one or more baseband board cards, where the target baseband board card is a board card upgraded by a hot patch software package;
a backspacing notification information generating submodule, configured to generate backspacing notification information for the target baseband board card;
the backspacing notification information sending submodule is used for sending the backspacing notification information to a software management agent module corresponding to the target baseband board card; and the software management agent module is used for backing the hot patch according to the backing notification information.
Preferably, the software management main control module further includes:
and the hot patching software package deleting submodule is used for deleting the hot patching software package obtained in advance.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the base station comprises a software management main control module and a software management agent module corresponding to the baseband board card; the software management main control module acquires the hot patch software package and informs the software management agent module; and the software management agent module adopts a hot patch taking software package to upgrade the baseband board card needing to be upgraded. By the method, patch upgrading can be quickly carried out on a base station with problems in the existing network, dynamic loading and dynamically effective patch upgrading can be carried out on the target baseband board card, and other baseband board cards can normally work, so that the base station does not need to be reset when patch upgrading is carried out, service is not influenced, and user perception is not influenced.
Drawings
Fig. 1 is a flowchart of steps of an embodiment 1 of an upgrade method for a base station according to the present invention;
fig. 2 is a flowchart of steps of an upgrade method embodiment 2 of a base station of the present invention;
FIG. 3 is a flow chart of a hot patch upgrade of an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of an embodiment of a back-off method of a base station according to the present invention;
FIG. 5 is a flow chart of a hot patch fallback method according to an embodiment of the present invention;
fig. 6 is a flowchart of processing a hot patch when a baseband board card is started according to an embodiment of the present invention;
FIG. 7 is a block diagram of an embodiment of an upgrade apparatus for a base station according to the present invention;
fig. 8 is a block diagram of a fallback apparatus of a base station according to an 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.
Referring to fig. 1, a flowchart illustrating steps of embodiment 1 of a method for upgrading a base station according to the present invention is shown, which may specifically include the following steps:
step 101, the software management main control module obtains a hot patch software package.
It should be noted that the base station includes: the system comprises a software management main control module, one or more baseband board cards and software management agent modules corresponding to the one or more baseband board cards respectively; the hot patching software package comprises: a hot patch file, and a configuration file.
And step 102, the software management main control module determines a target baseband board card from one or more baseband board cards according to the hot patch software package.
The hot patch software package contains configuration files which identify the processor and the information of the files which need to be upgraded. Through the configuration file in the hot patch software package, the software management main control module can determine the target baseband board card.
And 103, the software management main control module generates a synchronization request message aiming at the target baseband board card.
And the software management main control template determines a target baseband board card needing hot patch upgrading according to the configuration file, sends a message to the target baseband board card and informs the target baseband board card of the hot patch upgrading.
Step 104, the software management main control module sends the synchronization request message to a target software management agent module corresponding to the target baseband board card; the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package.
After receiving the synchronization request message, the software management agent module downloads the hot patch software package from the hard disk of the software management main control module, and through the configuration file in the hot patch software package, the software management agent module can determine the baseband board card which needs to be subjected to hot patch upgrading and upgrade the baseband board card.
In the embodiment of the invention, the base station comprises a software management main control module and a software management agent module corresponding to the baseband board card; the software management main control module acquires the hot patch software package and informs the software management agent module; and the software management agent module adopts a hot patch taking software package to upgrade the baseband board card needing to be upgraded. By the method, patch upgrading can be quickly carried out on a base station with problems in the existing network, dynamic loading and dynamically effective patch upgrading can be carried out on the target baseband board card, and other baseband board cards can normally work, so that the base station does not need to be reset when patch upgrading is carried out, service is not influenced, and user perception is not influenced.
Referring to fig. 2, a flowchart of steps of an embodiment 2 of a method for upgrading a base station according to the present invention is shown. Wherein, the base station includes: the system comprises a software management main control module, one or more baseband board cards and a software management agent module corresponding to the one or more baseband board cards respectively. The method may specifically comprise the steps of:
step 201, the software management main control module obtains a hot patch software package.
When the administrator needs to upgrade the hot patch version of the base station, the administrator operates the management station to add a hot patch software planning table to the software management main control module of the base station, and then the software management main control module enters a hot patch version upgrading process.
It should be noted that the hot patch software planning table includes a hot patch software package required for the upgrade, and a node is preset in the hot patch software package to indicate a dependency version number of the hot patch software package. The dependency version number refers to a software version number that can be upgraded by applying a hot-patch software package.
The software running in the base station has a version number. If the version number currently operated by the base station is the dependency relationship version number of the hot patch software package, the base station can upgrade by using the hot patch software package.
For example, if a node preset in a hot-patch package indicates that its dependency version number is V3.0.2.4, the hot-patch package can only be used if and only if the base station runs a version number of V3.0.2.4.
In this embodiment of the present invention, the step 201 may specifically include the following sub-steps:
in the substep S11, the software management main control module acquires hot patch version information;
the hot patch version information may specifically be a dependency version number of a hot patch software package.
The sub-step S12, the software management main control module determines whether the hot patch version information matches with the current software main version information of the preset base station;
the current software major version information of the base station may specifically be a version number currently running by the base station. And if the version number of the current operation of the base station is the same as the dependency relationship version number of the hot patch software package, judging that the hot patch version information is adaptive to the preset current software main version information of the base station.
And a substep S13, if the software package is adapted, the software management main control module obtains the hot-patch software package.
And if the version number of the current operation of the base station is the same as the dependency relationship version number of the hot patch software package, the software management main control module acquires the hot patch software package. And if the version number of the current operation of the base station is different from the dependency relationship version number of the hot patch software package, not acquiring the hot patch software package.
And after the software management main control module obtains the hot patch software package, copying the hot patch software package to a hot ATCH directory of the hard disk.
It should be noted that, when the management station detects that the software management main control module completes downloading the hot patch software package, it sends an activation command to the software management main control module to activate the hot patch software package; meanwhile, the software management main control module sends an activation response message to the management station.
Step 202, the software management main control module adopts the hot patch software package to upgrade the main control board card.
In the embodiment of the present invention, the main control board card includes one or more processors;
the main control board card is used for connecting each baseband board card and controlling the baseband board cards to carry out hot patch upgrading.
The hot-patch software package comprises: a hot patch file, and a configuration file;
the step 202 may specifically include the following sub-steps:
in the substep S21, the software management main control module determines a first target processor in the main control board card by using a configuration file;
the configuration file records information of the processor needing to be upgraded in the main control board card, and the software management main control module determines the processor needing to be upgraded according to the information recorded in the configuration file.
Sub-step S22, the software management main control module determining a first target file in the first target processor;
a processor includes a number of files, which are code files that enable the processor to perform specific operations.
More specifically, the configuration file records information of the files to be upgraded in the processor to be upgraded.
And the software management main control module determines the files needing to be upgraded in the processor according to the configuration files.
And a substep S23, the software management main control module upgrading the first target file of the first target processor by using the hot patch file.
The hot patch file is a file for upgrade. And the software management main control module adopts the hot patch file to upgrade the first target file of the first target processor.
In step 203, the software management main control module determines a target baseband board card from the one or more baseband board cards according to the hot patch software package.
In an embodiment of the present invention, the step 202 may include the following sub-steps:
in sub-step S31, the software management main control module determines a target baseband board card in the one or more baseband boards by using the configuration file.
The information of the baseband board card to be upgraded is recorded in the configuration file, and the software management main control module determines the baseband board card to be upgraded according to the information recorded in the configuration file.
And step 204, the software management main control module generates a synchronization request message aiming at the target baseband board card.
The software management main control module generates a corresponding synchronization request message for each target baseband board card.
Step 205, the software management main control module sends the synchronization request message to a target software management agent module corresponding to the target baseband board card; the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package.
In the embodiment of the present invention, the baseband board may include one or more processors;
the target software management agent module is used for determining a second target processor in the one or more processors of the corresponding target board card by adopting the configuration file; determining a second target file in the second target processor; and upgrading a second target file of the second target processor by adopting the hot patch file.
The second target processor refers to a processor needing to be upgraded in the baseband board card.
Specifically, the information of the processor to be upgraded in the baseband board card is recorded in the configuration file. And the target software management agent module determines the information of the processor needing to be upgraded in the corresponding baseband board card according to the information recorded by the configuration file.
More specifically, the configuration file records information of the files to be upgraded in the processor to be upgraded. And the target software management agent module determines the files needing to be upgraded in the processor according to the configuration files.
After receiving the synchronization request message, the target software agent management module downloads the file needing the hot patch from the hard disk of the software management main control module to the virtual memory of the software management main control module.
And the target software agent management module calls the bottom layer interface to upgrade the second target processor and the second target file in the second target processor. And after the upgrading is finished, the target software agent management module deletes the hot patch file in the virtual memory.
In the embodiment of the invention, the base station comprises a software management main control module and a software management agent module corresponding to the baseband board card; the software management main control module acquires the hot patch software package and informs the software management agent module; and the software management agent module adopts a hot patch software package to upgrade the baseband board card needing to be upgraded. By the method, patch upgrading can be quickly carried out on a base station with problems in the existing network, dynamic loading and dynamically effective patch upgrading can be carried out on the target baseband board card, and other baseband board cards can normally work, so that the base station does not need to be reset when patch upgrading is carried out, service is not influenced, and user perception is not influenced.
Referring to fig. 3, a flow chart of hot patch upgrade according to an embodiment of the present invention is shown.
The base station includes: the system comprises a software management main control module, one or more baseband board cards and software management agent modules corresponding to the one or more baseband board cards respectively; the hot patching software package comprises: the system comprises a hot patch file and a configuration file, wherein the configuration file contains information of a processor and a file which need hot patch upgrading. A node is preset in the hot patch software package and used for marking the dependency version number of the hot patch software package, and the hot patch software package can be used for upgrading only when the running version number of the base station is consistent with the dependency version number of the hot patch software package; OMC/LMT represents management station for managing base station; ramdisk represents virtual memory.
When a manager needs to upgrade the base station, a hot patch software plan is added to the software management main control module through the management station.
After receiving the hot patch software planning, the software management main control module compares whether the dependency version number in the hot patch package is consistent with the current operation version number of the base station, and if not, returns a message of a dependency version error to the management station; if yes, downloading the hot patch software package from the management station, and storing the hot patch software package in a hot ATCH directory of a hard disk in the software management main control module.
When the management station detects that the software management main control module finishes downloading the hot patch software package, an activation command is sent to the software management main control module.
After receiving the activation command issued by the management station, the software management module returns an activation response message to the management station, which indicates that the software management main control module is about to perform hot patch upgrade.
The software management main control module obtains the information of the processor and the file which need hot patch upgrading by reading the configuration file under the hot patch control directory.
And according to the processor information needing hot patch upgrading, the software management main control module sends a synchronization request message to a software management agent module corresponding to the board card where the processor is located.
And the software management main control module and the software management agent module enter a synchronous process.
The software management agent module downloads the hot patch file from the hard disk of the software management main control module and stores the hot patch file in the virtual memory of the board card where the processor needing hot patch upgrading is located.
And the software management agent module calls a bottom layer interface according to the configuration file to upgrade the processor and the file which need hot patch upgrade.
And after finishing the hot patch upgrading, the software management agent module deletes the hot patch file in the virtual memory and sends a hot patch synchronization result to the software management main control module.
Referring to fig. 4, a flowchart illustrating steps of an embodiment of a fallback method for a base station of the present invention is shown. Wherein the base station includes: the system comprises a software management main control module, one or more baseband board cards and a software management agent module corresponding to the one or more baseband board cards respectively. The method may specifically comprise the steps of:
step 301, a software management main control module determines a target baseband board card in one or more baseband board cards, wherein the target baseband board card is a board card upgraded by a hot patch software package;
when the administrator considers that the base station needs to do hot patch rollback, the administrator operates the management station to send a hot patch rollback command to a software management main control module of the base station, the software management main control module returns a hot patch rollback response to the management station after receiving the hot patch command, and then the software management main control module starts to execute a hot patch rollback flow.
Step 302, a software management main control module generates rollback notification information for the target baseband board card;
and the software management main control module generates corresponding rollback notification information for each target baseband board card.
Step 303, the software management main control module sends the rollback notification information to a software management agent module corresponding to the target baseband board card; and the software management agent module is used for backing the hot patch according to the backing notification information.
Specifically, after receiving the rollback notification information, the software management agent module invokes a preset bottom layer interface to rollback the hot patch version of the target baseband board.
And step 304, the software management main control module deletes the hot patch software package obtained in advance.
And the software management main control module deletes the hot patch software package stored in the hot patch catalog in the hard disk of the main control module.
In the embodiment of the invention, the base station comprises a software management main control module and a software management agent module corresponding to the baseband board card; the software management main control module acquires a hot patch rollback command and informs a software management agent module; and the software management agent module backs the baseband board card needing to be backed by adopting a hot patch software package. By the method, patch rollback can be quickly performed on a base station with problems after the current network is upgraded, dynamic loading and dynamically effective patch upgrading can be performed on the target baseband board card, and meanwhile, other baseband board cards normally work, so that the base station does not need to be reset when patch upgrading is performed, service is not affected, and user perception is not affected.
Referring to fig. 5, a hot patch fallback flow diagram according to an embodiment of the present invention is shown.
The base station includes: the system comprises a software management main control module, one or more baseband board cards and software management agent modules corresponding to the one or more baseband board cards respectively; the hot patching software package comprises: the system comprises a hot patch file and a configuration file, wherein the configuration file contains information of a processor and a file which need hot patch upgrading. A node is preset in the hot patch software package and used for marking the dependency version number of the hot patch software package, and the hot patch software package can be used for upgrading only when the running version number of the base station is consistent with the dependency version number of the hot patch software package; OMC/LMT represents management station for managing base station; ramdisk represents virtual memory.
When a manager needs to back off the base station, a hot patch back-off command is sent to the software management main control module through the management station.
After receiving the hot patch rollback command, the software management main control module returns a hot patch rollback response message to the management station; and then reading a configuration file under a hot patch control (HOTPATCH) directory in the hard disk, wherein the configuration file contains information of a processor and a file which need hot patch upgrading.
And the software management main control module sends hot patch rollback notification information to a software management agent module corresponding to a board card where the processor needing hot patch upgrade is located according to the processor information needing hot patch upgrade in the configuration file, and deletes all files in the hot atch directory in the hard disk.
And the software management agent module calls a bottom layer interface according to the configuration file and backs up the processor and the file which need hot patch upgrading.
And the software management agent module sends a hot patch rollback result to the software management main control module.
Referring to fig. 6, a flowchart of processing a hot patch when a baseband board is started according to an embodiment of the present invention is shown.
The base station includes: the device management system comprises a device management main control module, a device management agent module, a software management main control module, one or more baseband boards and software management agent modules corresponding to the one or more baseband boards respectively; the hot patching software package comprises: the system comprises a hot patch file and a configuration file, wherein the configuration file contains information of a processor and a file which need hot patch upgrading. The hot patch software package is provided with a node in advance for marking the dependency version number of the hot patch software package, and the hot patch software package can be used for upgrading only when the running version number of the base station is consistent with the dependency version number of the hot patch software package.
When the board card is started, the equipment management agent module sends an agent service processor access request to the equipment management main control module.
The device management main control module sends an agent service processor access response to the device management agent module.
The device management agent module then sends a software update notification to the software management agent module.
And the software management agent module sends a software update notification to the software management main control module.
The software management main control module searches a hot patch software package under a hot patch control (HOTPATCH) directory in a hard disk and the current running version number of the base station in a main version directory.
The software management main control module obtains the dependency version number of the hot patch software package through a node which is preset in the hot patch software package and used for marking the dependency version number of the hot patch software package, compares the dependency version number of the hot patch software package with the current running version number of the base station, and sends a software updating result notice to the software management agent module.
Particularly, if the dependency version number of the hot patch software package is consistent with the current running version number of the base station, the software of the software management main control module, the version and the file information of the hot patch file are obtained and filled in the software updating result notice sent to the software management agent module.
The software management agent module compares whether the software information of the software management main control module in the software updating notice is consistent with the software information of the software management main control module;
if not, downloading the software and firmware version and resetting, and repeating all the processes.
If yes, the information of the processor and the file which need hot patch upgrading is inquired in the configuration file.
And if the software management agent module does not have a processor and a file which need hot patch upgrading, sending a version updating result to the equipment management agent module.
Particularly, if the software management agent module has a processor and a file which need hot patch upgrading, the hot patch file is downloaded and a bottom layer interface is called to activate a main processor of the software management agent module, the hot patch upgrading result of the processor is filled into a version updating result notice sent to the equipment management agent module, and the upgrading result is successful or failed.
After receiving the version update result notification, the device management agent module searches whether the software management agent module has slave processors (if a board has multiple processors, one master processor exists, and the other slave processors exist).
If the slave processor exists, the device management module sends a processor loading request message to the software management agent module.
And after receiving the processor loading request message, the software management agent module calls a bottom layer interface to activate the slave processor.
The software management agent module judges whether the slave processor needs hot patch upgrading according to the processor information needing hot patch upgrading in the configuration file;
if yes, calling a bottom layer interface, loading a hot patch file of the processor needing hot patch upgrading, and upgrading.
The software agent module fills the upgrade result of the slave processor into a processor activation response message sent to the device management agent module, and the upgrade result is 'success' or 'failure'.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, a block diagram of an upgrade apparatus of a base station according to an embodiment of the present invention is shown. The base station includes one or more baseband boards, and the apparatus may specifically include: a software management main control module 71 and a software management agent module 72 respectively corresponding to the one or more baseband boards;
the software management main control module 71 may include:
a hot patch software package obtaining sub-module 711 for obtaining a hot patch software package;
a target baseband board determination sub-module 712, configured to determine a target baseband board from the one or more baseband boards according to the hot patch software package;
a synchronization request message generation sub-module 713, configured to generate a synchronization request message for the target baseband board card;
a synchronization request message sending sub-module 714, configured to send the synchronization request message to a target software management agent module corresponding to the target baseband board; and the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package.
In this embodiment of the present invention, the base station may further include: the main control board card, software management host system still includes:
and the main control board card upgrading submodule is used for upgrading the main control board card by adopting the hot patch software package.
In the embodiment of the present invention, the main control board card may include one or more processors;
the hot-patch software package comprises: a hot patch file, and a configuration file;
the master control board card upgrading submodule may include:
the first target processor determining unit is used for determining a first target processor in the main control board card by adopting a configuration file;
a first target file determining unit, configured to determine a first target file in the first target processor;
and the first target file upgrading unit is used for upgrading the first target file of the first target processor by the software management main control module by adopting the hot patch file.
In this embodiment of the present invention, the target baseband board card determining sub-module 712 may include:
and the target baseband board card determining unit is used for determining the target baseband board card in the one or more baseband boards by adopting the configuration file.
In the embodiment of the present invention, the baseband board may include one or more processors;
the target software management agent module is used for determining a second target processor in the one or more processors of the corresponding target board card by adopting the configuration file; determining a second target file in the second target processor; and upgrading a second target file of the second target processor by adopting the hot patch file.
In this embodiment of the present invention, the hot patch software package obtaining sub-module 711 may include:
the hot patch version information acquisition unit is used for acquiring hot patch version information;
the hot patch version adapting unit is used for judging whether the hot patch version information is adapted to the current software main version information of a preset base station;
and the hot patch software package obtaining unit is used for obtaining the hot patch software package if the hot patch version information is matched with the preset current software main version information of the base station.
Referring to fig. 8, a block diagram of a fallback apparatus of a base station according to an embodiment of the present invention is shown. The base station includes one or more baseband boards, and the apparatus may specifically include: a software management main control module 81 and a software management agent module 82 respectively corresponding to the one or more baseband boards;
the software management main control module 81 may include:
a target baseband board determination submodule 811 configured to determine a target baseband board from among the one or more baseband boards, where the target baseband board is a board upgraded by a hot patch software package;
a rollback notification information generating sub-module 812, configured to generate rollback notification information for the target baseband board;
the rollback notification information sending submodule 813 is configured to send the rollback notification information to a software management agent module corresponding to the target baseband board; the software management agent module 82 is configured to rollback the hot patch according to the rollback notification information.
In this embodiment of the present invention, the software management main control module 81 may further include:
and the hot patching software package deleting submodule is used for deleting the hot patching software package obtained in advance.
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.
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 method for upgrading a base station, the method for backing off a base station, the device for upgrading a base station and the device for backing off a base station provided by the present invention are described in detail above, and specific examples are applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method of the present invention and the core idea thereof; 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. A method for upgrading a base station, the base station comprising: the software management system comprises a software management main control module, one or more baseband board cards and a software management agent module corresponding to the one or more baseband board cards respectively, wherein the method comprises the following steps:
the software management main control module acquires a hot patch software package;
the software management main control module determines a target baseband board card from the one or more baseband board cards according to the hot patch software package;
the software management main control module generates a synchronization request message aiming at the target baseband board card;
the software management main control module sends the synchronization request message to a target software management agent module corresponding to the target baseband board card; the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package;
wherein the base station further comprises: the method comprises the following steps:
the software management main control module adopts the hot patch software package to upgrade the main control board card;
the main control board card comprises one or more processors;
the hot-patch software package comprises: a hot patch file, and a configuration file;
the software management main control module adopts the hot patch software package, and the step of upgrading the main control board card comprises the following steps:
the software management main control module adopts a configuration file to determine a first target processor in the main control board card;
the software management main control module determines a first target file in the first target processor;
and the software management main control module adopts the hot patch file to upgrade the first target file of the first target processor.
2. The method of claim 1, wherein the step of determining, by the software management host module, a target baseband board among the one or more baseband boards according to the hot-patch software package comprises:
and the software management main control module determines a target baseband board card in the one or more baseband boards by adopting the configuration file.
3. The method of claim 1, wherein the baseband board comprises one or more processors;
the target software management agent module is used for determining a second target processor in the one or more processors of the corresponding target board card by adopting the configuration file; determining a second target file in the second target processor; and upgrading a second target file of the second target processor by adopting the hot patch file.
4. The method as claimed in claim 1, wherein the step of the software management main control module obtaining the hot-patch software package comprises:
the software management main control module acquires hot patch version information; the software management main control module judges whether the hot patch version information is matched with the current software main version information of a preset base station;
and if the hot patch software package is matched with the hot patch software package, the software management main control module acquires the hot patch software package.
5. A method for backing off a base station, the base station comprising: the software management system comprises a software management main control module, one or more baseband board cards and a software management agent module corresponding to the one or more baseband board cards respectively, wherein the method comprises the following steps:
the software management main control module determines a target baseband board card from the one or more baseband board cards, wherein the target baseband board card is a board card upgraded by a hot patch software package;
the software management main control module generates rollback notification information for the target baseband board card;
the software management main control module sends the rollback notification information to a software management agent module corresponding to the target baseband board card; the software management agent module is used for backing the hot patch according to the backing notification information;
the software management main control module sends the rollback notification information to a software management agent module corresponding to the target baseband board card, and the software management agent module comprises:
the software management main control module sends hot patch rollback notification information to a software management agent module corresponding to a board card where a processor needing hot patch upgrade is located according to processor information needing hot patch upgrade in a configuration file;
the configuration file contains information of a processor and a file which need hot patch upgrading;
the software management agent module is also used for calling a bottom layer interface according to the configuration file, backing the processor and the file which need hot patch upgrading, and sending a hot patch backing result to the software management main control module.
6. The method of claim 5, further comprising:
and the software management main control module deletes the hot patch software package obtained in advance.
7. An upgrade apparatus for a base station, the base station comprising one or more baseband boards, the apparatus comprising: the software management main control module and the software management agent modules respectively correspond to the one or more baseband board cards;
the software management main control module comprises:
the hot patch software package acquisition submodule is used for acquiring a hot patch software package;
the target baseband board card determining submodule is used for determining a target baseband board card in the one or more baseband board cards according to the hot patch software package;
a synchronization request message generation submodule, configured to generate a synchronization request message for the target baseband board card;
the synchronous request message sending submodule is used for sending the synchronous request message to a target software management agent module corresponding to the target baseband board card; the target software management agent module is used for acquiring the hot patch software package by adopting the synchronous request message and upgrading the target baseband board card by adopting the hot patch software package;
wherein the base station further comprises: the main control board card, software management host system still includes:
the main control board card upgrading submodule is used for upgrading the main control board card by adopting the hot patch software package;
the main control board card comprises one or more processors;
the hot-patch software package comprises: a hot patch file, and a configuration file;
the master control board card upgrading submodule comprises:
the first target processor determining unit is used for determining a first target processor in the main control board card by adopting a configuration file;
a first target file determining unit, configured to determine a first target file in the first target processor;
and the first target file upgrading unit is used for upgrading the first target file of the first target processor by the software management main control module by adopting the hot patch file.
8. The apparatus of claim 7, wherein the target baseband card determination sub-module comprises:
and the target baseband board card determining unit is used for determining the target baseband board card in the one or more baseband boards by adopting the configuration file.
9. The apparatus of claim 7, wherein the baseband board comprises one or more processors;
the target software management agent module is used for determining a second target processor in the one or more processors of the corresponding target board card by adopting the configuration file; determining a second target file in the second target processor; and upgrading a second target file of the second target processor by adopting the hot patch file.
10. The apparatus of claim 7, wherein the hotpatch software package obtaining sub-module comprises:
the hot patch version information acquisition unit is used for acquiring hot patch version information;
the hot patch version adapting unit is used for judging whether the hot patch version information is adapted to the current software main version information of a preset base station;
and the hot patch software package obtaining unit is used for obtaining the hot patch software package if the hot patch version information is matched with the preset current software main version information of the base station.
11. A backoff device of a base station, wherein the base station comprises: one or more baseband cards, the apparatus comprising: the software management main control module and the software management agent modules respectively correspond to the one or more baseband board cards;
the software management main control module comprises:
a target baseband board card determining submodule, configured to determine a target baseband board card from the one or more baseband board cards, where the target baseband board card is a board card upgraded by a hot patch software package;
a backspacing notification information generating submodule, configured to generate backspacing notification information for the target baseband board card;
the backspacing notification information sending submodule is used for sending the backspacing notification information to a software management agent module corresponding to the target baseband board card; the software management agent module is used for backing the hot patch according to the backing notification information;
the rollback notification information sending sub-module is further used for sending hot patch rollback notification information to a software management agent module corresponding to a board where the processor needing hot patch upgrade is located according to processor information needing hot patch upgrade in the configuration file;
the configuration file contains information of a processor and a file which need hot patch upgrading;
the software management agent module is also used for calling a bottom layer interface according to the configuration file, backing the processor and the file which need hot patch upgrading, and sending a hot patch backing result to the software management main control module.
12. The apparatus of claim 11, wherein the software management master module further comprises:
and the hot patching software package deleting submodule is used for deleting the hot patching software package obtained in advance.
CN201710382029.4A 2017-05-26 2017-05-26 Base station upgrading and returning method and device Active CN108934033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710382029.4A CN108934033B (en) 2017-05-26 2017-05-26 Base station upgrading and returning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710382029.4A CN108934033B (en) 2017-05-26 2017-05-26 Base station upgrading and returning method and device

Publications (2)

Publication Number Publication Date
CN108934033A CN108934033A (en) 2018-12-04
CN108934033B true CN108934033B (en) 2020-11-06

Family

ID=64450950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710382029.4A Active CN108934033B (en) 2017-05-26 2017-05-26 Base station upgrading and returning method and device

Country Status (1)

Country Link
CN (1) CN108934033B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209417A (en) * 2019-06-11 2019-09-06 北京三中科技有限公司 A kind of base station and base station update method
CN110704081A (en) * 2019-09-23 2020-01-17 超讯通信股份有限公司 Remote software upgrading system and method based on 5G distributed small base station
CN112769589B (en) * 2019-11-06 2022-03-11 大唐移动通信设备有限公司 Base station upgrading method and device
CN112100093B (en) * 2020-08-18 2023-11-21 海光信息技术股份有限公司 Method for maintaining consistency of multiprocessor shared memory data and multiprocessor system
CN114189895B (en) * 2020-09-14 2023-10-27 大唐移动通信设备有限公司 Base station board card upgrading method and device
CN113596870A (en) * 2021-06-30 2021-11-02 广州市瀚云信息技术有限公司 Method and device for upgrading repeater software

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164363B (en) * 2011-04-14 2014-05-07 新邮通信设备有限公司 Base station version updating realization method and base station
CN103546912A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Method, device and system for upgrading version of base station
CN103490927A (en) * 2013-09-10 2014-01-01 中兴通讯股份有限公司 Firmware upgrading method, equipment and communication system
CN105373410B (en) * 2015-12-22 2019-04-30 京信通信系统(中国)有限公司 Base station software difference upgrade method and its device

Also Published As

Publication number Publication date
CN108934033A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN108934033B (en) Base station upgrading and returning method and device
CN110365502B (en) Service upgrade management method, device and storage medium
CN105681060B (en) virtualized network function management upgrading method, device and server
EP2456257B1 (en) Method and system for upgrading wireless data card
US20120165001A1 (en) Method, system and base station for configuring multi-mode base station
WO2016015558A1 (en) Method and apparatus for applying for license
CN110865842B (en) OTA upgrading method and equipment
CN111143023B (en) Resource changing method and device, equipment and storage medium
CN105577381B (en) Certificate management method and device under virtualization
CN107005435B (en) Network service descriptor shelving method and device
CN112615747B (en) Method and device for automatically deploying and configuring network equipment
CN107643898A (en) Terminal staging method and device
EP4050850A1 (en) Service upgrading method, device and system
CN108667641A (en) Distributed system upgrade method, distributed system and updating and management equipment
CN111683114A (en) Method and device for upgrading equipment program, terminal equipment and storage medium
CN105704296A (en) Application environment cloning method and device
CN110392080B (en) Deployment method and device based on distributed system and distributed system
CN105549995B (en) A kind of audio frequency apparatus upgrade method and device
US9854429B2 (en) Mobile terminal configuration method and system
KR101587030B1 (en) System and method for api call policy management of m2m application
CN104111862A (en) Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform
CN106506197B (en) Method and device for managing core service platform
CN110968646A (en) Embedded system database synchronization method, device and storage medium
CN110266501B (en) Block chain node device and block chain network system
CN114513414B (en) Method for managing AP, AC and AP

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