CN111190628B - Base station upgrading method, device, equipment and storage medium - Google Patents

Base station upgrading method, device, equipment and storage medium Download PDF

Info

Publication number
CN111190628B
CN111190628B CN201911420254.8A CN201911420254A CN111190628B CN 111190628 B CN111190628 B CN 111190628B CN 201911420254 A CN201911420254 A CN 201911420254A CN 111190628 B CN111190628 B CN 111190628B
Authority
CN
China
Prior art keywords
base station
file
upgrade
upgrading
version
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
CN201911420254.8A
Other languages
Chinese (zh)
Other versions
CN111190628A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201911420254.8A priority Critical patent/CN111190628B/en
Publication of CN111190628A publication Critical patent/CN111190628A/en
Application granted granted Critical
Publication of CN111190628B publication Critical patent/CN111190628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Abstract

The application relates to a base station upgrading method, a device, equipment and a storage medium, which delete a professional image file when receiving an upgrading request sent by a server, wherein the professional image file is a file obtained by decompressing when a base station is electrified and started, and then the server sends a downloading request, wherein the downloading request is used for indicating to obtain an upgrading file required by the base station for upgrading, and then the server receives the upgrading file returned by the server according to the downloading request and upgrades the base station according to the upgrading file, so that the professional image file is deleted before the base station receives the upgrading file returned by the server, the memory space corresponding to the professional image file is released, the condition of insufficient memory space is avoided, and the problem of upgrading failure caused by insufficient memory space is further avoided.

Description

Base station upgrading method, device, equipment and storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for upgrading a base station.
Background
The base station is used as an important component link in wireless communication, and in the operation and maintenance process of the base station, the function of the base station is generally increased, or the existing software defect of the base station is repaired, and when the function is increased or the software defect is repaired, the version of the base station is required to be updated.
When the version of the base station is updated, the server generally sends an upgrade compression packet to the base station, and after the base station receives the upgrade compression packet, the upgrade compression packet is decompressed to obtain an upgrade file, so that the base station is upgraded. However, some small storage base stations, such as distributed base stations, enterprise base stations, and home gateways, have smaller memory space. When the voice service and the data service of the small base station occupy a large amount of memory space and the small base station needs to be upgraded, upgrade failure caused by insufficient memory space is easy to occur.
Disclosure of Invention
Based on the foregoing, it is necessary to provide a base station upgrading method, device, equipment and storage medium for solving the problem that the upgrade failure is caused by insufficient memory space when upgrading the base station.
In a first aspect, a method for upgrading a base station, the method comprising:
deleting the professional mirror image file when receiving the upgrade request sent by the server; the professional mirror image file is a file obtained by decompression when the base station is powered on and started;
sending a downloading request to a server; the downloading request is used for indicating to acquire an upgrade file required by the upgrade of the base station;
and receiving an upgrade file returned by the server according to the download request, and upgrading the base station according to the upgrade file.
In one embodiment, after receiving the upgrade request sent by the server, the method further includes:
transferring the current service of the base station;
and deleting the protocol stack process corresponding to the current service, and releasing the memory space corresponding to the protocol stack process.
In one embodiment, the transferring the current traffic of the base station includes:
if the current service is a data transmission task, switching the current data transmission task of the base station to other base stations;
if the current service is the user terminal access base station, the user terminal is accessed to other base stations.
In one embodiment, after the transferring the current service of the base station, the method includes:
acquiring access information of the current service to other base stations;
if the access information indicates that the current service is successfully accessed to other base stations, the base stations are upgraded according to the upgrade files.
In one embodiment, the method further comprises:
and closing an alarm switch of the protocol stack process.
In one embodiment, the updating the base station according to the update file includes:
acquiring configuration information of an upgrade file, wherein the configuration information is used for indicating a software version corresponding to the upgrade file;
if the software version of the upgrade file is inconsistent with the current software version of the base station, the base station is upgraded according to the upgrade file.
In one embodiment, the configuration information is further used for indicating a device model corresponding to the upgrade file; the base station is upgraded according to the upgrade file, and further comprises:
if the equipment model corresponding to the upgrade file is matched with the equipment model of the base station, the base station is upgraded according to the upgrade file.
In one embodiment, the upgrade file is a compressed file, and the upgrading base station according to the upgrade file includes:
decompressing the upgrade file to obtain a decompressed upgrade file;
and upgrading the base station according to the decompressed upgrade file.
In one embodiment, the updating the base station according to the update file includes:
updating the base station version through the upgrade file to obtain an updated base station version;
updating the operation parameters of the base station to obtain updated operation parameters;
and operating the updated base station version by calling the updated operation parameters.
In one embodiment, before the updating the base station version by the updating file to obtain the updated base station version, the method further includes:
storing initial operation parameters of the base station in a backup area; the initial operation parameters are parameters called when the base station operates before upgrading;
correspondingly, updating the operation parameters of the base station to obtain updated operation parameters, including:
And calling the initial operation parameters, and updating the initial operation parameters to obtain updated operation parameters.
In one embodiment, the upgrade file includes at least one of an application layer version file, a kernel version file, and a root file; the priority of upgrading the application layer version is lowest, and the priority of the kernel version file is highest.
In one embodiment, the method further comprises:
acquiring configuration information of an application layer version file, a kernel version file and a root file, wherein the configuration information of the application layer version file is used for indicating a software version of the application layer version file, the configuration information of the kernel version file is used for indicating the software version of the kernel version file, and the configuration information of the root file is used for indicating the software version of the root file;
and upgrading the base station according to the configuration information of the application layer version file, the kernel version file and the root file.
In one embodiment, the updating the base station according to the configuration information of the application layer version file, the kernel version file and the root file includes:
if one or more of the software version of the application layer version file, the software version of the kernel version file and the software version of the root file are consistent with the current corresponding software version of the base station, deleting the software version consistent with the current corresponding software version of the base station in the upgrade file, and upgrading the base station according to the remaining version files in the upgrade file.
In a second aspect, a base station upgrade apparatus, the apparatus comprising:
the deleting module is used for deleting the professional mirror image file when receiving the upgrading request sent by the server; the professional mirror image file is a file obtained by decompression when the base station is powered on and started;
the request module is used for sending a downloading request to the server; the downloading request is used for indicating to acquire an upgrade file required by the upgrade of the base station;
and the upgrading module is used for receiving the upgrading file returned by the server according to the downloading request and upgrading the base station according to the upgrading file.
In a third aspect, a computer device includes a memory storing a computer program and a processor implementing the method steps of the base station upgrade method described above when the processor executes the computer program.
In a fourth aspect, a computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method steps of the base station upgrade method described above.
According to the base station upgrading method, device, equipment and storage medium, when the upgrading request sent by the server is received, the professional image file is deleted, wherein the professional image file is a file obtained by decompression when the base station is electrified and started, and then the server sends a downloading request, wherein the downloading request is used for indicating to obtain the upgrading file required by the base station upgrading, and then the upgrading file returned by the server according to the downloading request is received, and the base station is upgraded according to the upgrading file, so that the professional image file is deleted before the base station receives the upgrading file returned by the server, the memory space corresponding to the professional image file is released, the condition of insufficient memory space is avoided, and the problem of upgrading failure caused by insufficient memory space is further avoided.
Drawings
FIG. 1 is a schematic diagram of an application environment of a base station upgrade method in one embodiment;
FIG. 2 is a flow chart of a method for upgrading a base station according to an embodiment;
FIG. 3 is a flow chart of a method for upgrading a base station according to another embodiment;
FIG. 4 is a flowchart of a method for upgrading a base station according to another embodiment;
FIG. 5 is a flowchart of a method for upgrading a base station according to another embodiment;
FIG. 6 is a flowchart of a method for upgrading a base station according to another embodiment;
FIG. 7 is a flowchart of a method for upgrading a base station according to another embodiment;
FIG. 8 is a flowchart of a method for upgrading a base station according to another embodiment;
FIG. 9 is a flowchart of a method for upgrading a base station according to another embodiment;
fig. 10 is a schematic structural diagram of a base station upgrade apparatus provided in one embodiment;
fig. 11 is a schematic structural diagram of a base station upgrade apparatus provided in another embodiment;
fig. 12 is a schematic structural diagram of a base station upgrade apparatus provided in another embodiment;
fig. 13 is a schematic structural diagram of a base station upgrade apparatus provided in another embodiment;
fig. 14 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The application provides a base station upgrading method, a device, equipment and a storage medium, which aim to solve the problem that upgrading failure is easily caused by insufficient memory space when a small base station is upgraded. The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail by examples and with reference to the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
The base station upgrading method provided by the embodiment can be suitable for an application environment as shown in fig. 1. Wherein the base station 102 communicates with the server 104 via a network. Base station 102 may be, but is not limited to, a distributed base station, an enterprise base station, and a home gateway. The server 104 may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
It should be noted that, in the base station upgrading method provided by the embodiment of the present application, the execution body may be a base station upgrading device, and the device may be implemented as part or all of a terminal of a base station upgrade by software, hardware or a combination of software and hardware.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application.
Fig. 2 is a flow chart of a base station upgrade method in one embodiment. The embodiment relates to a specific process of implementing base station upgrading by deleting a professional image file. As shown in fig. 2, the method comprises the steps of:
S101, deleting a professional mirror image file when receiving an upgrade request sent by a server; the professional image file is a file obtained by decompression when the base station is powered on and started.
When the base station needs to be upgraded, the server sends an upgrade request to the base station. When the base station receives the upgrade request, the professional image file may be deleted. The professional image file may be a file obtained by decompressing when the base station is powered on, and may be an installation file of an application program in the base station or an upgrade file when the base station is upgraded last time. The professional image file is obtained by starting the base station in a power-on mode, and the base station generally needs to be restarted in a power-on mode after finishing upgrading, and the base station can automatically decompress again to obtain the professional image file after finishing upgrading, so that the normal use of the base station is not affected by deleting the professional image file when the base station is upgraded. In general, the professional mirror file generally occupies about 40MB of memory space, and by deleting the professional mirror file, about 40MB of memory space can be released.
S102, sending a downloading request to a server; the download request is used for indicating to acquire an upgrade file required by the base station upgrade.
After deleting the professional image file, the base station confirms that a memory space corresponding to the professional image file has been released, where the memory space may be a random-access memory (ram) space. When there is a memory space in the base station that can be used to upgrade the base station, the base station may send a download request to the server for indicating to obtain an upgrade file required for upgrading the base station. Generally, for example, the upgrade file is around 28 MB.
S103, receiving an upgrade file returned by the server according to the download request, and upgrading the base station according to the upgrade file.
After the server receives the download request sent by the base station, the corresponding upgrade file can be returned to the base station, and the base station can receive the upgrade file returned by the server by starting the ftp server. When the upgrade file is received, the upgrade file can be cached in a memory space corresponding to the original professional mirror image file, and when the upgrade file is received, the base station is upgraded according to the upgrade file. When a base station is specifically upgraded according to an upgrade file, whether the version of the upgrade file is the version to be upgraded at this time can be judged first, and when the correct upgrade version is confirmed, the base station is upgraded; the kernel version and the root file version of the base station can be upgraded first, and then the application layer version can be upgraded, and the embodiment of the application is not limited to the upgrade.
According to the base station upgrading method, the professional image file is deleted when the upgrading request sent by the server is received, wherein the professional image file is the file obtained by decompression when the base station is electrified and started, and then the server sends the downloading request, wherein the downloading request is used for indicating to obtain the upgrading file required by the base station for upgrading, then the upgrading file returned by the server according to the downloading request is received, and the base station is upgraded according to the upgrading file, so that the professional image file is deleted before the upgrading file returned by the server is received by the base station, the memory space corresponding to the professional image file is released, the condition of insufficient memory space is avoided, and the problem of upgrading failure caused by insufficient memory space is avoided. Meanwhile, in some scenes, the situation that the capacity of the base station is expanded due to insufficient memory space of the base station is avoided, and further the cost increased due to the capacity expansion of the base station is avoided.
In one embodiment, the base station may also release more memory space for the base station upgrade by transferring the current service, so that the protocol stack process corresponding to the current service is closed and deleted. Described in detail below with reference to fig. 3.
Fig. 3 is a flow chart of a base station upgrade method in another embodiment, where the embodiment relates to a specific process that after receiving an upgrade request sent by a server, a base station may further transfer a current service and further release more memory space, and as shown in fig. 3, the method further includes the following steps:
S201, transferring the current service of the base station.
As can be seen from the above embodiments, a memory space of about 40MB can be released by deleting the professional image file, and the upgrade file generally occupies a memory space of about 28 MB. In an extreme case, the base station is in full load operation, the remaining available memory space is only about 20MB, and the maximum memory space occupied by the base station in the upgrading process is 90MB, so that the current service of the base station needs to be transferred to ensure the memory space required by the base station upgrading. The current service of the base station may refer to a service in progress by the base station, for example, the current service may be a data transmission task, or a service that the user terminal accesses the base station, which is not limited in the embodiment of the present application. On the basis of the embodiment, when the base station needs to be upgraded, the current service can be transferred out, and the memory space is further released for the base station to upgrade. The base station may immediately transfer the current service of the base station when receiving the upgrade request sent by the server, or may transfer the current service of the base station after the base station deletes the professional image file. Generally, the base station will send a deactivation command to the upper layer protocol software L3, and the current traffic of the base station is transferred out through L3.
Optionally, if the current service is a data transmission task, switching the current data transmission task of the base station to other base stations; if the current service is the user terminal access base station, the user terminal is accessed to other base stations.
If the current service is a data transmission task, the current data transmission task of the base station can be directly switched to other base stations in the same coverage area. For example, the coverage area of the base station is area 1, and in general, in network planning, other base stations with the same coverage area as the base station are planned, that is, other base stations with the coverage area of area 1 exist, if the current service is a data transmission task, the base station can directly switch the current data transmission task to other base stations with the same coverage area. If the current service is that the user terminal accesses the base station, the base station can release the user terminal to the macro network, and allocate other accessed base stations for the user terminal again, and access the user terminal to other base stations.
S202, deleting a protocol stack process corresponding to the current service, and releasing a memory space corresponding to the protocol stack process.
When the current service of the base station is transferred to other base stations, the base station can delete the protocol stack process corresponding to the current service and release the memory space corresponding to the protocol stack process. In general, the protocol stack process corresponding to the current service is an upper protocol software process, about 120M of memory space is released by deleting the upper protocol software process, and enough memory space is released for upgrading the base station by deleting the mirror image file of the ram memory space and deleting the related process.
According to the base station upgrading method, the base station transfers the current service of the base station, deletes the protocol stack process corresponding to the current service, and releases the memory space corresponding to the protocol stack process, so that more memory space can be used for upgrading in the base station, and further the situation of upgrading failure caused by insufficient memory space of the base station is avoided.
Optionally, an alarm switch of the protocol stack process is turned off.
Generally, after the protocol stack is closed and deleted, the base station will send an alarm message to the server, so that the server records whether the working state of the base station is normal. Based on the above embodiment, the base station transfers the current service, and closes and deletes the protocol stack process, but not when the base station fails. Therefore, the base station can not report the information of closing and deleting the protocol stack to the server by closing the alarm switch of the protocol stack process.
According to the base station upgrading method, the alarm switch of the protocol stack process is closed, so that the protocol stack process which is closed and deleted during upgrading of the base station is not reported to the server, and further the server is prevented from recording the information of closing and deleting the protocol stack process caused by upgrading of the base station.
Based on the above embodiment, after the base station transfers the current service, it may also determine whether the current service is successfully accessed to other base stations by acquiring the access information, and after confirming that the current service is successfully accessed to other base stations, upgrade the base station to ensure that the current service is not affected, which will be described in detail below with reference to fig. 4.
Fig. 4 is a flow chart of a base station upgrading method in another embodiment, and the embodiment relates to a specific process of upgrading a base station after the base station confirms that a current service has been accessed to another base station, as shown in fig. 4, and the method further includes the following steps:
s301, obtaining access information of the current service to other base stations.
S302, if the access information indicates that the current service is successfully accessed to other base stations, the base stations are upgraded according to the upgrade files.
The access information is used for indicating whether the current service is successfully accessed to other base stations, and if so, the other base stations return access information for indicating whether the current service is successfully accessed to the other base stations to the base stations. If the access information indicates that the current service has successfully accessed other base stations, the base station starts to upgrade the base station according to the upgrade file.
According to the base station upgrading method, the base station acquires the access information of the current service to other base stations, if the access information indicates that the current service is successfully accessed to other base stations, the base station is upgraded according to the upgrading file, the current service is ensured to be successfully accessed to other base stations when the base station is upgraded, and the situation of service interruption caused by the fact that the current service is not accessed to other base stations when the base station is upgraded is avoided.
The above embodiments focus on the specific process of how the base station frees up memory space for upgrading the base station after receiving the upgrade request, and the following describes in detail how the base station upgrades by means of the embodiments shown in fig. 5-7.
Fig. 5 is a flow chart of a base station upgrading method in another embodiment, and the embodiment relates to a specific process of upgrading a base station according to an upgrade file, as shown in fig. 5, the possible implementation method of S103 "upgrading a base station according to an upgrade file" further includes the following steps:
s401, acquiring configuration information of an upgrade file, wherein the configuration information is used for indicating a software version corresponding to the upgrade file.
S402, if the software version of the upgrade file is inconsistent with the current software version of the base station, the base station is upgraded according to the upgrade file.
When receiving the upgrade file returned by the server, the base station can acquire configuration information of the upgrade file carried in the upgrade file, where the configuration information is used to indicate a software version corresponding to the upgrade file. When the software version of the upgrade file indicated by the configuration information of the upgrade file is consistent with the current software version of the base station, the base station does not carry out upgrade and cancels the prompt of upgrade, for example, a user can be reminded of canceling the upgrade by displaying that the version of the upgrade file is consistent with the current version of the base station; when the software version of the upgrade file indicated by the configuration information of the upgrade file is inconsistent with the current software version of the base station, the base station upgrades the base station according to the upgrade file. It should be noted that, the software version of the upgrade file indicated by the configuration information of the upgrade file is inconsistent with the current software version of the base station, which may be that the software version of the upgrade file is higher than the current software version of the base station, or that the software version of the upgrade file is lower than the current software version of the base station. The base station upgrading method avoids the situation of repeatedly upgrading the base station when the software version of the upgrading file is consistent with the current software version of the base station.
In an embodiment, the configuration information is further used to indicate a device model corresponding to the upgrade file. Optionally, if the equipment model corresponding to the upgrade file is matched with the equipment model of the base station, the base station is upgraded according to the upgrade file.
On the basis of the embodiment, the configuration information is also used for indicating the equipment signal corresponding to the upgrade file, and when the equipment model corresponding to the upgrade file indicated by the configuration information is matched with the equipment model of the base station, the base station upgrades the base station according to the upgrade file; and when the equipment model corresponding to the upgrade file indicated by the configuration information is not matched with the equipment model of the base station, the base station is not upgraded.
According to the base station upgrading method, the equipment signals corresponding to the upgrading files used in the base station upgrading process are the upgrading files matched with the equipment model of the base station, so that the situation that the base station is upgraded by using the upgrading files which are not matched with the equipment model of the base station is avoided, and further, the wrong base station upgrading is avoided.
In one embodiment, the upgrade file is a compressed file, and the base station may also upgrade the base station by decompressing the upgrade file. Optionally, as shown in fig. 6, one possible implementation method of S103 "upgrade base station according to upgrade file" includes the following steps:
S501, decompressing the upgrade file to obtain the decompressed upgrade file.
S502, upgrading the base station according to the decompressed upgrade file.
According to the base station upgrading method, the upgrading file returned by the server is the compressed file, after the base station receives the upgrading file, the upgrading file is decompressed to obtain the decompressed upgrading file, and the base station is upgraded according to the decompressed upgrading file. The data transmission quantity between the server and the base station is smaller, and the efficiency of acquiring the upgrade file is improved.
Fig. 7 is a flow chart of a base station upgrading method in another embodiment, which relates to a specific process of upgrading a base station according to an upgrade file, as shown in fig. 7, the above-mentioned S103 "upgrade base station according to upgrade file" one possible implementation method further includes the following steps:
s601, updating the base station version through the upgrade file to obtain the updated base station version.
On the basis of the above embodiment, the upgrade file generally includes a software version for updating the base station version, and after receiving the upgrade file returned by the server, the base station may update the base station version by calling the software version for updating the base station version in the upgrade file, to obtain the updated base station version.
S602, updating the operation parameters of the base station to obtain updated operation parameters.
On the basis of the embodiment, the upgrade file may further include an operation parameter of the base station, where the operation parameter is a parameter that needs to be invoked by the base station in operation. After the base station upgrades the base station version, the new operation parameters contained in the upgrade file can be called to obtain updated operation parameters. In one possible case, the updated operating parameters may also be obtained by running the initial operating parameters through the updated base station version. Alternatively, updated operating parameters may be obtained by the embodiment shown in FIG. 8.
Fig. 8 is a flow chart of a base station upgrading method in another embodiment, where the embodiment relates to a specific process of backing up initial operating parameters of a base station before upgrading a base station version by an upgrade file to obtain an updated base station version, and then upgrading, as shown in fig. 8, the method further includes the following steps:
s701, storing initial operation parameters of a base station in a backup area; the initial operation parameters are parameters called when the base station operates before upgrading.
S702, calling the initial operation parameters, and updating the initial operation parameters to obtain updated operation parameters.
The initial operation parameters are parameters called by the base station when the base station is operated before upgrading, when the base station needs to be upgraded, the initial operation parameters of the base station can be stored in a backup area, for example, a current operation area database can be backed up into a data.xml configuration file to be stored in a flash directory. After the version upgrading of the base station is completed, when the base station is restarted, importing the data.xml of the database configuration file backed up into the flash into the updated database file of the current operation area to obtain updated operation parameters, and ensuring the consistency of the operation parameters before and after the upgrading of the base station.
S603, operating the updated base station version by calling the updated operation parameters.
Optionally, the upgrade file includes at least one of an application layer version file, a kernel version file and a root file; the priority of upgrading the application layer version is lowest, and the priority of the kernel version file is highest.
The application layer version file is used for upgrading application software in the base station, the kernel version file is used for upgrading the kernel version of the base station, and the root file is used for upgrading the root file version of the base station.
When the upgrade file only comprises the application layer version file, the application software in the upgrade base station finishes upgrading the base station according to the upgrade file, and when the upgrade file also comprises the kernel version file and/or the root file, the upgrade sequence of each software version can be determined according to the priority of each software version file. For example, when the upgrade file includes a kernel version file, a root file, and an application layer version file, the kernel version should be upgraded first, then the root file version should be upgraded, and finally the application layer version should be upgraded.
Based on this, in one embodiment, as shown in fig. 9, the method further comprises the steps of:
s801, acquiring configuration information of an application layer version file, a kernel version file and a root file.
The configuration information of the application layer version file is used for indicating the software version of the application layer version file, the configuration information of the kernel version file is used for indicating the software version of the kernel version file, and the configuration information of the root file is used for indicating the software version of the root file.
S802, upgrading the base station according to the configuration information of the application layer version file, the kernel version file and the root file.
On the basis of the embodiment, when the configuration information of the application layer version file, the configuration information of the kernel version file and the configuration information of the root file are obtained, the software version of the application layer version file, the software version of the kernel version file and the software version of the root file can be determined. Based on the above, when upgrading the base station, it can be compared whether the software version of the application layer version file is consistent with the current application layer version of the base station; whether the software version of the kernel version file is consistent with the current kernel version of the base station or not; whether the software version of the root file is consistent with the current software version of the root file of the base station. And when one of the files is inconsistent, upgrading the base station according to the inconsistent application layer version file, the kernel version file or the root file. For example, the upgrade file includes an application layer version file and a kernel version file, and if the software version of the kernel version file is consistent with the current kernel version of the base station, the base station is upgraded according to the application layer version file when the application layer version file is inconsistent with the current application layer version of the base station. Optionally, deleting the kernel version file to release the memory space of the base station.
Optionally, if one or more of the software version of the application layer version file, the software version of the kernel version file and the software version of the root file are consistent with the current corresponding software version of the base station, deleting the software version in the upgrade file, which is consistent with the current corresponding software version of the base station, and upgrading the base station according to the remaining version files in the upgrade file.
When one or more of the software version of the application layer version file, the software version of the kernel version file and the software version of the root file are consistent with the current corresponding software version of the base station, the software version of the application layer version file is consistent with the current application layer version of the base station, the kernel version file is consistent with the current kernel version of the base station, and the software version of the root file is consistent with the current software version of the base station. Further, the software version of the application layer version file is consistent with the current application layer version of the base station, and the kernel version file is consistent with the current kernel version of the base station; or the software version of the application layer version file is consistent with the current application layer version of the base station, and the software version of the root file is consistent with the current follow-up file software version of the base station; or when the kernel version file is consistent with the current kernel version of the base station, the software version of the root file is consistent with the current software version of the root file of the base station; the embodiments of the present application are not limited in this regard. When one or more of the software version of the application layer version file, the software version of the kernel version file and the software version of the root file are consistent with the current corresponding software version of the base station, deleting the software version consistent with the current corresponding software version of the base station, and upgrading the base station according to the remaining version files. For example, when the kernel version file is consistent with the current kernel version of the base station, the software version of the root file is also consistent with the current software version of the root file of the base station, the kernel version file and the root file are deleted, and the base station is upgraded according to the application layer version file.
According to the base station upgrading method, the configuration information of the application layer version file and the configuration information of the kernel version file and/or the root file are obtained, wherein the configuration information of the application layer version file is used for indicating the software version of the application layer version file, the configuration information of the kernel version file is used for indicating the software version of the kernel version file, the configuration information of the root file is used for indicating the software version of the root file, and the base station is upgraded according to the configuration information of the application layer version file, the configuration information of the kernel version file and/or the configuration information of the root file. In the process of upgrading the base station, if the version of any one of the application layer version file, the kernel version file or the root file is repeated, the corresponding file can be deleted, and the memory space is further released, namely, the situation that the base station is expanded due to insufficient memory space of the base station is further avoided, and the cost increased due to the expansion of the base station is avoided.
It should be understood that, although the steps in the flowcharts of fig. 2-9 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-9 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Fig. 10 is a schematic structural diagram of a base station upgrade apparatus provided in one embodiment, as shown in fig. 10, the base station upgrade apparatus includes: a delete module 10, a request module 20, and an upgrade module 30, wherein:
the deleting module 10 is used for deleting the professional mirror image file when receiving the upgrade request sent by the server; the professional mirror image file is a file obtained by decompression when the base station is powered on and started;
a request module 20, configured to send a download request to a server; the downloading request is used for indicating to acquire an upgrade file required by the upgrade of the base station;
and the upgrading module 30 is used for receiving the upgrading file returned by the server according to the downloading request and upgrading the base station according to the upgrading file.
The base station upgrading device provided by the embodiment of the application can execute the method embodiment, and the implementation principle and the technical effect are similar, and are not repeated here.
Fig. 11 is a schematic structural diagram of a base station upgrade apparatus provided in another embodiment, and on the basis of the embodiment shown in fig. 10, as shown in fig. 11, the base station upgrade apparatus further includes: a transfer module 40, wherein:
the transfer module 40 is specifically configured to transfer the current service of the base station; and deleting the protocol stack process corresponding to the current service, and releasing the memory space corresponding to the protocol stack process.
In one embodiment, the transfer module 40 is specifically configured to switch the current data transmission task of the base station to another base station if the current service is a data transmission task; if the current service is the user terminal access base station, the user terminal is accessed to other base stations.
The base station upgrading device provided by the embodiment of the application can execute the method embodiment, and the implementation principle and the technical effect are similar, and are not repeated here.
Fig. 12 is a schematic structural diagram of a base station upgrade apparatus provided in another embodiment, and on the basis of the embodiment shown in fig. 10 or fig. 11, as shown in fig. 12, the base station upgrade apparatus further includes: a validation module 50, wherein:
the confirmation module 50 is used for acquiring access information of the current service to other base stations; if the access information indicates that the current service is successfully accessed to other base stations, the base stations are upgraded according to the upgrade files.
Fig. 12 is based on fig. 11, but fig. 12 may be based on fig. 10, which is only an example.
The base station upgrading device provided by the embodiment of the application can execute the method embodiment, and the implementation principle and the technical effect are similar, and are not repeated here.
Fig. 13 is a schematic structural diagram of a base station upgrade apparatus provided in another embodiment, and on the basis of the embodiment shown in any one of fig. 10 to 12, as shown in fig. 13, the base station upgrade apparatus further includes: an alarm module 60, wherein:
and the alarm module 60 is used for closing an alarm switch of the protocol stack process.
In one embodiment, the upgrade module 30 is specifically configured to obtain configuration information of an upgrade file, where the configuration information is used to indicate a software version corresponding to the upgrade file; if the software version of the upgrade file is inconsistent with the current software version of the base station, the base station is upgraded according to the upgrade file.
In one embodiment, the configuration information is further used for indicating a device model corresponding to the upgrade file; the upgrade module 30 is specifically configured to upgrade the base station according to the upgrade file if the equipment model corresponding to the upgrade file matches the equipment model of the base station.
In one embodiment, the upgrade file is a compressed file, and the upgrade module 30 is specifically configured to decompress the upgrade file to obtain a decompressed upgrade file; and upgrading the base station according to the decompressed upgrade file.
In one embodiment, the upgrade module 30 is specifically configured to update the base station version through the upgrade file, to obtain an updated base station version; updating the operation parameters of the base station to obtain updated operation parameters; and operating the updated base station version by calling the updated operation parameters.
In one embodiment, the upgrade module 30 is specifically configured to store initial operating parameters of the base station in the backup area; the initial operation parameters are parameters called when the base station operates before upgrading; and calling the initial operation parameters, and updating the initial operation parameters to obtain updated operation parameters.
In one embodiment, the upgrade file includes at least one of an application layer version file, a kernel version file, and a root file; the priority of upgrading the application layer version is lowest, and the priority of the kernel version file is highest.
In one embodiment, the upgrade module 30 is specifically configured to obtain configuration information of an application layer version file, a kernel version file, and a root file, where the configuration information of the application layer version file is used to indicate a software version of the application layer version file, the configuration information of the kernel version file is used to indicate a software version of the kernel version file, and the configuration information of the root file is used to indicate a software version of the root file; and upgrading the base station according to the configuration information of the application layer version file, the kernel version file and the root file.
In one embodiment, the upgrade module 30 is specifically configured to delete a software version in the upgrade file that is consistent with the current corresponding software version of the base station if one or more of the software version of the application layer version file, the software version of the kernel version file, and the software version of the root file are consistent with the current corresponding software version of the base station, and upgrade the base station according to the remaining version files in the upgrade file.
Fig. 13 is based on fig. 12, but fig. 13 may be based on fig. 10 or fig. 11, which is only an example.
The base station upgrading device provided by the embodiment of the application can execute the method embodiment, and the implementation principle and the technical effect are similar, and are not repeated here.
For a specific limitation of the base station upgrading device, reference may be made to the limitation of the base station upgrading method hereinabove, and the description thereof will not be repeated here. The respective modules in the above-described base station upgrade apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal device, and the internal structure thereof may be as shown in fig. 14. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a base station upgrade method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 14 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements are applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory storing a computer program and a processor implementing the following steps when executing the computer program:
deleting the professional mirror image file when receiving the upgrade request sent by the server; the professional mirror image file is a file obtained by decompression when the base station is powered on and started;
sending a downloading request to a server; the downloading request is used for indicating to acquire an upgrade file required by the upgrade of the base station;
and receiving an upgrade file returned by the server according to the download request, and upgrading the base station according to the upgrade file.
In one embodiment, after receiving the upgrade request sent by the server, the processor further performs the following steps when executing the computer program: transferring the current service of the base station; and deleting the protocol stack process corresponding to the current service, and releasing the memory space corresponding to the protocol stack process.
In one embodiment, the processor when executing the computer program further performs the steps of: if the current service is a data transmission task, switching the current data transmission task of the base station to other base stations; if the current service is the user terminal access base station, the user terminal is accessed to other base stations.
In one embodiment, after the above-mentioned transferring the current traffic of the base station, the processor further implements the following steps when executing the computer program: acquiring access information of the current service to other base stations; if the access information indicates that the current service is successfully accessed to other base stations, the base stations are upgraded according to the upgrade files.
In one embodiment, the processor when executing the computer program further performs the steps of: and closing an alarm switch of the protocol stack process.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring configuration information of an upgrade file, wherein the configuration information is used for indicating a software version corresponding to the upgrade file; if the software version of the upgrade file is inconsistent with the current software version of the base station, the base station is upgraded according to the upgrade file.
In one embodiment, the configuration information is further used for indicating a device model corresponding to the upgrade file; the processor when executing the computer program also implements the steps of: if the equipment model corresponding to the upgrade file is matched with the equipment model of the base station, the base station is upgraded according to the upgrade file.
In one embodiment, the upgrade file is a compressed file, and the processor when executing the computer program further performs the steps of: decompressing the upgrade file to obtain a decompressed upgrade file; and upgrading the base station according to the decompressed upgrade file.
In one embodiment, the processor when executing the computer program further performs the steps of: updating the base station version through the upgrade file to obtain an updated base station version; updating the operation parameters of the base station to obtain updated operation parameters; and operating the updated base station version by calling the updated operation parameters.
In one embodiment, before the updating the base station version by the updating file and obtaining the updated base station version, the processor executes the computer program to further implement the following steps: storing initial operation parameters of the base station in a backup area; the initial operation parameters are parameters called when the base station operates before upgrading; and calling the initial operation parameters, and updating the initial operation parameters to obtain updated operation parameters.
In one embodiment, the upgrade file includes at least one of an application layer version file, a kernel version file, and a root file; the priority of upgrading the application layer version is lowest, and the priority of the kernel version file is highest.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring configuration information of an application layer version file, a kernel version file and a root file, wherein the configuration information of the application layer version file is used for indicating a software version of the application layer version file, the configuration information of the kernel version file is used for indicating the software version of the kernel version file, and the configuration information of the root file is used for indicating the software version of the root file; and upgrading the base station according to the configuration information of the application layer version file, the kernel version file and the root file.
In one embodiment, the processor when executing the computer program further performs the steps of: if one or more of the software version of the application layer version file, the software version of the kernel version file and the software version of the root file are consistent with the current corresponding software version of the base station, deleting the software version consistent with the current corresponding software version of the base station in the upgrade file, and upgrading the base station according to the remaining version files in the upgrade file.
The computer device provided in this embodiment has similar implementation principles and technical effects to those of the above method embodiment, and will not be described herein.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Deleting the professional mirror image file when receiving the upgrade request sent by the server; the professional mirror image file is a file obtained by decompression when the base station is powered on and started;
sending a downloading request to a server; the downloading request is used for indicating to acquire an upgrade file required by the upgrade of the base station;
and receiving an upgrade file returned by the server according to the download request, and upgrading the base station according to the upgrade file.
In one embodiment, after receiving the upgrade request sent by the server, the computer program when executed by the processor performs the following steps: transferring the current service of the base station; and deleting the protocol stack process corresponding to the current service, and releasing the memory space corresponding to the protocol stack process.
In one embodiment, the computer program when executed by a processor performs the steps of: if the current service is a data transmission task, switching the current data transmission task of the base station to other base stations; if the current service is the user terminal access base station, the user terminal is accessed to other base stations.
In one embodiment, after the above-mentioned transferring the current traffic of the base station, the computer program when executed by the processor implements the steps of: acquiring access information of the current service to other base stations; if the access information indicates that the current service is successfully accessed to other base stations, the base stations are upgraded according to the upgrade files.
In one embodiment, the computer program when executed by a processor performs the steps of: and closing an alarm switch of the protocol stack process.
In one embodiment, the computer program when executed by a processor performs the steps of: acquiring configuration information of an upgrade file, wherein the configuration information is used for indicating a software version corresponding to the upgrade file; if the software version of the upgrade file is inconsistent with the current software version of the base station, the base station is upgraded according to the upgrade file.
In one embodiment, the configuration information is further used for indicating a device model corresponding to the upgrade file; the computer program when executed by a processor performs the steps of: if the equipment model corresponding to the upgrade file is matched with the equipment model of the base station, the base station is upgraded according to the upgrade file.
In one embodiment, the upgrade file is a compressed file, and the computer program when executed by the processor performs the steps of: decompressing the upgrade file to obtain a decompressed upgrade file; and upgrading the base station according to the decompressed upgrade file.
In one embodiment, the computer program when executed by a processor performs the steps of: updating the base station version through the upgrade file to obtain an updated base station version; updating the operation parameters of the base station to obtain updated operation parameters; and operating the updated base station version by calling the updated operation parameters.
In one embodiment, before the updating the base station version by the updating file and obtaining the updated base station version, the computer program when executed by the processor implements the following steps: storing initial operation parameters of the base station in a backup area; the initial operation parameters are parameters called when the base station operates before upgrading; and calling the initial operation parameters, and updating the initial operation parameters to obtain updated operation parameters.
In one embodiment, the upgrade file includes at least one of an application layer version file, a kernel version file, and a root file; the priority of upgrading the application layer version is lowest, and the priority of the kernel version file is highest.
In one embodiment, the computer program when executed by a processor performs the steps of: acquiring configuration information of an application layer version file, a kernel version file and a root file, wherein the configuration information of the application layer version file is used for indicating a software version of the application layer version file, the configuration information of the kernel version file is used for indicating the software version of the kernel version file, and the configuration information of the root file is used for indicating the software version of the root file; and upgrading the base station according to the configuration information of the application layer version file, the kernel version file and the root file.
In one embodiment, the computer program when executed by a processor performs the steps of: if one or more of the software version of the application layer version file, the software version of the kernel version file and the software version of the root file are consistent with the current corresponding software version of the base station, deleting the software version consistent with the current corresponding software version of the base station in the upgrade file, and upgrading the base station according to the remaining version files in the upgrade file.
The computer readable storage medium provided in this embodiment has similar principles and technical effects to those of the above method embodiment, and will not be described herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), interface dynamic random access memory (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (15)

1. A method for upgrading a base station, the method comprising:
deleting the professional mirror image file when receiving the upgrade request sent by the server; the professional image file is a file obtained by decompression when the base station is electrified and started, and comprises an installation file of an application program in the base station or an upgrade file when the base station is upgraded last time;
Transferring the current service of the base station, deleting the protocol stack process corresponding to the current service, and releasing the memory space corresponding to the protocol stack process, wherein the current service of the base station is the service in progress of the base station;
sending a downloading request to the server; the downloading request is used for indicating to acquire an upgrade file required by the base station upgrade;
and receiving the upgrade file returned by the server according to the download request, and upgrading the base station according to the upgrade file.
2. The base station upgrade method according to claim 1, wherein said transferring the current traffic of the base station comprises:
if the current service is a data transmission task, switching the current data transmission task of the base station to other base stations;
and if the current service is the access base station of the user terminal, accessing the user terminal to other base stations.
3. A base station upgrade method according to claim 1 or 2, characterized in that after said transferring the current traffic of the base station, the method comprises:
acquiring access information of the current service to other base stations;
if the access information indicates that the current service is successfully accessed to the other base stations, upgrading the base stations according to the upgrading file.
4. The base station upgrade method according to claim 1 or 2, characterized in that the method further comprises:
and closing an alarm switch of the protocol stack process.
5. The base station upgrade method according to any one of claims 1-2, wherein said upgrading a base station according to said upgrade file comprises:
acquiring configuration information of the upgrade file, wherein the configuration information is used for indicating a software version corresponding to the upgrade file;
if the software version of the upgrade file is inconsistent with the current software version of the base station, the base station is upgraded according to the upgrade file.
6. The base station upgrading method according to claim 5, wherein the configuration information is further used for indicating a device model corresponding to the upgrade file; the base station upgrading method according to the upgrade file further comprises the following steps:
and if the equipment model corresponding to the upgrade file is matched with the equipment model of the base station, upgrading the base station according to the upgrade file.
7. The base station upgrade method according to any one of claims 1-2, wherein the upgrade file is a compressed file, and the upgrading the base station according to the upgrade file comprises:
decompressing the upgrade file to obtain a decompressed upgrade file;
And upgrading the base station according to the decompressed upgrade file.
8. The base station upgrade method according to any one of claims 1-2, wherein said upgrading the base station according to the upgrade file comprises:
updating the base station version through the upgrade file to obtain an updated base station version;
updating the operation parameters of the base station to obtain updated operation parameters;
and operating the updated base station version by calling the updated operation parameters.
9. The base station upgrade method according to claim 8, wherein before the upgrading of the base station version by the upgrade file to obtain an updated base station version, the method further comprises:
storing initial operation parameters of the base station in a backup area; the initial operation parameters are parameters called when the base station operates before upgrading;
correspondingly, the updating the operation parameters of the base station to obtain updated operation parameters includes:
and calling the initial operation parameters, and updating the initial operation parameters to obtain updated operation parameters.
10. The base station upgrade method according to any one of claims 1-2, wherein the upgrade file includes at least one of an application layer version file, a kernel version file, and a root file; and upgrading the application layer version with the lowest priority, wherein the kernel version file with the highest priority.
11. The base station upgrade method according to claim 10, further comprising:
acquiring configuration information of the application layer version file, the kernel version file and the root file, wherein the configuration information of the application layer version file is used for indicating a software version of the application layer version file, the configuration information of the kernel version file is used for indicating the software version of the kernel version file, and the configuration information of the root file is used for indicating the software version of the root file;
and upgrading the base station according to the configuration information of the application layer version file, the kernel version file and the root file.
12. The base station upgrade method according to claim 11, wherein the upgrading the base station according to the configuration information of the application layer version file, the kernel version file, and the root file comprises:
if one or more of the software version of the application layer version file, the software version of the kernel version file and the software version of the root file are consistent with the current corresponding software version of the base station, deleting the software version consistent with the current corresponding software version of the base station in the upgrading file, and upgrading the base station according to the remaining version files in the upgrading file.
13. A base station upgrade apparatus, the apparatus comprising:
the deleting module is used for deleting the professional mirror image file when receiving the upgrading request sent by the server; the professional image file is a file obtained by decompression when the base station is electrified and started, and comprises an installation file of an application program in the base station or an upgrade file when the base station is upgraded last time;
the transfer module is used for transferring the current service of the base station, deleting the protocol stack process corresponding to the current service, and releasing the memory space corresponding to the protocol stack process, wherein the current service of the base station is the service in progress of the base station;
the request module is used for sending a downloading request to the server; the downloading request is used for indicating to acquire an upgrade file required by the base station upgrade;
and the upgrading module is used for receiving the upgrading file returned by the server according to the downloading request and upgrading the base station according to the upgrading file.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1-12 when the computer program is executed.
15. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1-12.
CN201911420254.8A 2019-12-31 2019-12-31 Base station upgrading method, device, equipment and storage medium Active CN111190628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911420254.8A CN111190628B (en) 2019-12-31 2019-12-31 Base station upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911420254.8A CN111190628B (en) 2019-12-31 2019-12-31 Base station upgrading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111190628A CN111190628A (en) 2020-05-22
CN111190628B true CN111190628B (en) 2023-10-20

Family

ID=70707975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911420254.8A Active CN111190628B (en) 2019-12-31 2019-12-31 Base station upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111190628B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697310B (en) * 2020-12-30 2023-04-28 大唐移动通信设备有限公司 Upgrade file distribution method, scheduling server, device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)
CN101888653A (en) * 2009-05-15 2010-11-17 中兴通讯股份有限公司 Firmware updating method, base station and network management center
CN102915249A (en) * 2012-11-02 2013-02-06 苏州科达科技股份有限公司 Method and device for remotely realizing firmware updating
CN103685552A (en) * 2013-12-25 2014-03-26 烽火通信科技股份有限公司 Software upgrading method for small memory device
CN103761106A (en) * 2014-02-07 2014-04-30 张战 Process control method and process engine
CN104063257A (en) * 2014-07-23 2014-09-24 武汉邮电科学研究院 System and method for FPGA automatic loading
CN105373410A (en) * 2015-12-22 2016-03-02 京信通信技术(广州)有限公司 Differential upgrading method and device for base station software
CN109391497A (en) * 2017-08-10 2019-02-26 大唐移动通信设备有限公司 A kind of method, base station and the management station of version file upgrading
CN109831394A (en) * 2017-11-23 2019-05-31 杭州华为数字技术有限公司 Data processing method, terminal and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2541412A4 (en) * 2010-02-23 2013-04-10 Fujitsu Ltd Update method, update device, and update program
US8997085B2 (en) * 2011-06-24 2015-03-31 International Business Machines Corporation Image delta-based upgrade of complex stack in software appliance

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888653A (en) * 2009-05-15 2010-11-17 中兴通讯股份有限公司 Firmware updating method, base station and network management center
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)
CN102915249A (en) * 2012-11-02 2013-02-06 苏州科达科技股份有限公司 Method and device for remotely realizing firmware updating
CN103685552A (en) * 2013-12-25 2014-03-26 烽火通信科技股份有限公司 Software upgrading method for small memory device
CN103761106A (en) * 2014-02-07 2014-04-30 张战 Process control method and process engine
CN104063257A (en) * 2014-07-23 2014-09-24 武汉邮电科学研究院 System and method for FPGA automatic loading
CN105373410A (en) * 2015-12-22 2016-03-02 京信通信技术(广州)有限公司 Differential upgrading method and device for base station software
CN109391497A (en) * 2017-08-10 2019-02-26 大唐移动通信设备有限公司 A kind of method, base station and the management station of version file upgrading
CN109831394A (en) * 2017-11-23 2019-05-31 杭州华为数字技术有限公司 Data processing method, terminal and computer storage medium

Also Published As

Publication number Publication date
CN111190628A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN100541430C (en) Oftware updating method, equipment and system
US7836444B2 (en) Mobile communication terminal having embedded system for software download and method for software download
CN101026848B (en) Mobile terminal and software update method
US7793283B2 (en) Communication terminal software updating method, communication terminal, and software updating method
US8539471B2 (en) Updating firmware of an electronic device
CN104252370B (en) Information processing unit and its control method
CN108322533A (en) Configuration and synchronization method between distributed type assemblies node based on operation log
JPH09247259A (en) Equipment and method for transferring information
CN112162773B (en) Differential upgrading method and device, storage medium and terminal
US20050193390A1 (en) Program downloading method, program switching method and network apparatus
CN111190628B (en) Base station upgrading method, device, equipment and storage medium
CN109086078A (en) Android system upgrade method, device, server and mobile terminal
US11914871B2 (en) Electronic control device and program-update method
CN1327649C (en) Mobile communication system and mobile terminal device
CN113190619B (en) Data read-write method, system, equipment and medium for distributed KV database
US20210173634A1 (en) Vehicle control device and program update system
US11836045B2 (en) Electronic control device having a non-volatile memory with a reserved area storing failure data
CN115134238A (en) Business system publishing method, device, computer equipment and storage medium
JP2003122574A (en) Communication system, software update method, and software update program
JP2015153128A (en) Call processing control device and software update method of the same, call processing system, and computer program
JP3589433B2 (en) Database guarantee method
CN113641449B (en) Mirror image downloading control method and device, equipment and storage medium
JP2002073361A (en) Electronic device whose software is remotely renewed and method for remotely renewing software
CN111176886B (en) Database mode switching method and device and electronic equipment
JP2005078502A (en) System and method for rewriting differentials of portable terminal software, portable terminal, and program

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

GR01 Patent grant
GR01 Patent grant