CN108958759B - Method and device for storing software package - Google Patents

Method and device for storing software package Download PDF

Info

Publication number
CN108958759B
CN108958759B CN201710375298.8A CN201710375298A CN108958759B CN 108958759 B CN108958759 B CN 108958759B CN 201710375298 A CN201710375298 A CN 201710375298A CN 108958759 B CN108958759 B CN 108958759B
Authority
CN
China
Prior art keywords
control board
main control
software package
storage medium
stored
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
CN201710375298.8A
Other languages
Chinese (zh)
Other versions
CN108958759A (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 CN201710375298.8A priority Critical patent/CN108958759B/en
Publication of CN108958759A publication Critical patent/CN108958759A/en
Application granted granted Critical
Publication of CN108958759B publication Critical patent/CN108958759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention discloses a method and a device for storing a software package, which are applied to a dual-mode base station, wherein the dual-mode base station comprises a first main control board and a second main control board, the first main control board and the second main control board both comprise storage media for storing files, the first main control board is a main control board, and the second main control board is a slave main control board. The first main control board stores the software package in a shared storage medium by acquiring the software package to be stored, wherein the shared storage medium is a storage medium which can be directly accessed by the first main control board in a storage medium included by the second main control board. By the scheme of the invention, when the storage medium of the first main control board for storing the software package in the dual-mode base station is full or is about to be full, the received software package can be stored in the shared storage medium, namely, the storage medium space of the dual-mode base station for storing the software package is increased, thereby reducing the storage pressure of the dual-mode base station.

Description

Method and device for storing software package
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a method and an apparatus for storing a software package.
Background
The dual-mode base station is designed based on two mobile communication systems of different systems, for example, two systems of Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) and Time Division-Long Term Evolution (TD-LTE) are realized on the same base station through different board cards, so as to obtain one type of dual-mode base station, wherein the TD-SCDMA and the TD-LTE respectively correspond to different main control boards of the dual-mode base station, and the main control board can control the internal board cards of the dual-mode base station to work. Fig. 1 shows a working flow of a dual-mode base station, as shown in fig. 1, assuming that the dual-mode base station in fig. 1 is designed based on a mobile communication system having two systems, i.e., system a and system B, the dual-mode base station may connect core networks having system a and system B, assuming that a main control board connected to the core network having system a is a main control board a, a main control board connected to the core network having system B is a main control board B, and the main control board a directly communicating with a management station (e.g., Operation and Maintenance Center (OMC), Local Terminal Maintenance (Local Maintenance Terminal, LMT, etc.) for base station management is a main board, another main control board B is a slave board, the main control board of each system processes service data of the core network having corresponding system, and the main control board a as the main board controls internal boards of the two systems through an Operation Maintenance signaling issued by the management station, and in practical application, the dual-mode base station includes various internal boards, fig. 1 illustrates only two kinds of internal board cards, namely a baseband board and a Radio Remote Unit (RRU), as an example.
At present, when a management station for base station management triggers base station upgrade, a whole set of software packages for updating a base station is sent to the base station, and the base station stores the software packages into a storage medium. For a dual-mode base station, one main control board is responsible for communicating with a management station, a software package is sent to the dual-mode base station by the management station and stored in a storage medium of the main control board responsible for communicating with the management station, along with the increase of types of internal board cards supported by the dual-mode base station, the software package for upgrading the dual-mode base station is more and more complex and larger, the storage medium space of the existing main control board for storing the software package is limited, the main control board with the limited storage medium space may not support the storage of the software package, and if the main control board with a large-capacity storage medium is selected, the cost is inevitably increased greatly, so that how to effectively store the software package received by the dual-mode base station is a problem which needs to.
Disclosure of Invention
The invention aims to provide a method and a device for storing a software package, which are used for solving the problem that the storage medium space of a main control board used for storing the software package by a dual-mode base station is seriously insufficient due to the fact that the storage medium space of the main control board used for storing the software package is occupied by the existing dual-mode base station storage software package.
The purpose of the invention is realized by the following technical scheme:
in the method, the first main control board obtains a software package to be stored and stores the software package in a shared storage medium, wherein the shared storage medium is a storage medium that can be directly accessed by the first main control board in the storage medium included by the second main control board.
In the embodiment of the present invention, the first main control board stores the acquired software package to be stored in a storage medium that can be directly accessed by the first main control board in a storage medium included in the second main control board, so that a storage medium space for storing the software package by the dual-mode base station is increased, and further, the storage pressure of the dual-mode base station is reduced.
Preferably, the storage medium that can be directly accessed by the first main control board in the storage medium included in the second main control board is determined by the following method:
the first main control board establishes a sharing protocol with the second main control board under the condition that the first main control board and the second main control board are both available; and the first main control board maps part of or all of the storage media included in the second main control board into the storage media which can be directly accessed by the first main control board according to the established sharing protocol.
Preferably, after the first main control board determines that the second main control board is available, the method further includes:
the first main control board sets the flag bit of the second main control board to be in-place state; the flag bit of the second main control board is used for identifying whether the second main control board is in place or not, and the flag bit of the second main control board is in place state and indicates that the second main control board is started. The flag bit of the second main control board in the first main control board is set to be in-place state, so that the second main control board can be judged to be started subsequently and directly according to the in-place state of the flag bit of the second main control board, and the second main control board is not required to frequently send starting indication information to the first main control board.
Preferably, the storing the software package in a shared storage medium by the first main control board includes:
the first main control board stores the software package into the shared storage medium according to the storage position indicated by the file storage configuration table; the file storage configuration table is configured by a management station for managing the dual-mode base station and is sent to the first main control board, and the file storage configuration table is used for indicating that the software package is stored in the shared storage medium.
Preferably, the file storage configuration table is further configured to instruct to store the software package into a storage medium included in the first main control board; after the first main control board stores the software package in a shared storage medium, the method further includes: and the first main control board stores the software packages which are not stored in the shared storage medium in the software packages to be stored into a storage medium included by the first main control board according to the storage position indicated by the file storage configuration table.
Preferably, after the first main control board stores the software package in a shared storage medium, the method further includes:
the first main control board receives request information sent by an internal board card controlled by the first main control board, the request information is used for requesting to acquire a software package, and the software package requested by the request information is used for updating the software package content of the internal board card; after receiving the request information, the first main control board inquires the file storage configuration table and determines the storage address of the software package requested by the request information; the first main control board determines that the software package is stored in the shared storage medium according to the storage address of the software package; the first main control board obtains the software package in the shared storage medium; and the first main control board sends the acquired software package to the internal board card.
In the embodiment of the invention, the internal board card acquires the software package used for updating the internal board card from the first main control board, the acquired software package is compared with the software package operated by the internal board card, when the received software package is inconsistent with the software package operated by the internal board card, the acquired software package is used for replacing the original software package, and the acquired software package is operated, so that the operated software package is ensured to be the current latest software package of the dual-mode base station.
In a second aspect, an apparatus for storing a software package is provided, where the apparatus is applied to a dual-mode base station, where the dual-mode base station includes a first main control board and a second main control board, the first main control board and the second main control board both include a storage medium for storing a file, the first main control board is a main control board, the second main control board is a slave main control board, and the apparatus includes an obtaining unit and a processing unit, where:
the acquisition unit is used for acquiring the software package to be stored;
and the processing unit is configured to store the software package acquired by the acquisition unit in a shared storage medium, where the shared storage medium is a storage medium that can be directly accessed by the first main control board in a storage medium included in the second main control board.
Preferably, the processing unit specifically determines, from the storage media included in the second main control board, a storage medium that can be directly accessed by the first main control board, by using the following method:
under the condition that the first main control board and the second main control board are both available, establishing a sharing protocol between the first main control board and the second main control board; and mapping part of or all of the storage media included in the second main control board to the storage media which can be directly accessed by the first main control board according to the established sharing protocol.
Preferably, the processing unit is further configured to:
after determining that the first main control board and the second main control board are both available, setting a flag bit of the second main control board to be in-place state; the flag bit of the second main control board is used for identifying whether the second main control board is in place or not, and the flag bit of the second main control board is in place state and indicates that the second main control board is started.
Preferably, the processing unit stores the software package in a shared storage medium by specifically adopting the following method:
storing the software package into the shared storage medium according to the storage position indicated by the file storage configuration table;
the file storage configuration table is configured by a management station for managing the dual-mode base station and is sent to the first main control board, and the file storage configuration table is used for indicating that the software package is stored in the shared storage medium.
Preferably, the file storage configuration table is further configured to instruct to store the software package into a storage medium included in the first main control board;
the processing unit is further to:
after the software package is stored in the shared storage medium, the software package which is not stored in the shared storage medium is stored in the storage medium included in the first main control board according to the storage position indicated by the file storage configuration table.
Preferably, the processing unit is further configured to:
after the software package is stored in a shared storage medium, receiving request information sent by an internal board card controlled by the first main control board, wherein the request information is used for requesting to acquire the software package, and the software package requested by the request information is used for updating the software package content of the internal board card; after receiving the request information, inquiring the file storage configuration table, determining the storage address of the software package requested by the request information, and determining that the software package is stored in the shared storage medium according to the storage address of the software package; obtaining the software package in the shared storage medium; and sending the acquired software package to the internal board card.
Drawings
Fig. 1 is a schematic diagram of a working flow of a conventional dual-mode base station;
FIG. 2 is a flowchart of a method for storing a software package according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for determining a storage medium that can be directly accessed from among storage media included in a second main control board according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating that an NFS sharing protocol is established between a first main control board and a second main control board according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a first main control board storing a software package in a shared storage medium according to an embodiment of the present invention;
FIG. 6 is a flowchart of a software package requesting method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating an update of a storage location of a software package according to an updated file storage configuration table according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a software package stored according to a file storage configuration table according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an apparatus for storing a software package according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments, and not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem that the space of a storage medium of a main control board used by a dual-mode base station for storing a software package is seriously insufficient due to the fact that the existing method for storing the software package by the dual-mode base station occupies a large space of the storage medium of the main control board, the embodiment of the invention provides a method for storing the software package, which is applied to the dual-mode base station, but not limited thereto, and the method for storing the software package provided by the embodiment of the invention can also be applied to the multi-mode base station.
In the embodiment of the present invention, it should be noted that the dual-mode base station refers to a base station that includes a first main control board and a second main control board, where the first main control board and the second main control board both include storage media for storing files, and the first main control board is a main control board and the second main control board is a slave main control board.
Fig. 2 is a flowchart illustrating a method for storing a software package according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
s101: the first main control board obtains a software package to be stored.
S102: the first main control board stores the software package in a shared storage medium, wherein the shared storage medium is a storage medium which can be directly accessed in a storage medium included in the second main control board by the first main control board.
In the embodiment of the invention, when the first main control board included in the dual-mode base station receives more software packages and the received software packages are larger, the software packages are stored in the first main control board by using the method in the prior art, which causes the serious shortage of the storage medium space of the first main control board.
In the embodiment of the present invention, it should be noted that the storage medium may be a nonvolatile storage medium, for example, a hard disk.
In this embodiment of the present invention, the first main control board may determine, in a manner shown in fig. 3, a storage medium that can be directly accessed from among storage media included in the second main control board, as shown in fig. 3, where the method includes:
s201: and the first main control board establishes a sharing protocol with the second main control board under the condition that the first main control board and the second main control board are both available.
In the embodiment of the present invention, when the interaction is performed between the first main control board and the second main control board included in the dual-mode base station, the interaction is performed on the basis that the first main control board and the second main control board are both available when being started, so that the first main control board needs to determine that the first main control board and the second main control board are both available before the sharing protocol between the first main control board and the second main control board is established.
S202: and the first main control board maps part of or all of the storage media included in the second main control board into the storage media which can be directly accessed by the first main control board according to the established sharing protocol.
In the embodiment of the present invention, it should be noted that the type of the established sharing protocol is not specifically limited.
In the embodiment of the present invention, the first main control board includes a second main control board flag bit, where the second main control board flag bit is used to identify whether the second main control board is in place, and a flag bit of the second main control board is in-place state to indicate that the second main control board is started, and after the first main control board determines that the second main control board is available, the first main control board sets the flag bit of the second main control board to be in-place state, so that when the first main control board and the second main control board interact subsequently, it may directly determine that the second main control board is started through the flag bit of the second main control board, and it is not necessary for the second main control board to frequently send a start notification.
In the embodiment of the present invention, taking an example of establishing a Network File System (NFS) sharing protocol between the first main control board and the second main control board as an example, a process of determining a storage medium that can be directly accessed by the first main control board in a storage medium included in the second main control board is described in detail below, as shown in fig. 4, the first main control board receives start indication information that is sent by the second main control board and used for indicating whether the second main control board is started, and sets a flag bit of the second main control board to an on-position state according to the start indication information, the first main control board sends first main control board available information that indicates that the first main control board is available to the second main control board, after the first main control board determines that both the first main control board and the second main control board are available, the NFS sharing protocol between the first main control board and the second main control board is established, and mapping a part of or all of the storage media included in the second main control board to the storage media that can be directly accessed by the first main control board through an NFS (network file system) sharing protocol.
In the embodiment of the present invention, the software package to be stored may be a software package for updating the dual-mode base station, which is issued by a management station for managing the dual-mode base station. Because the software packages are usually large, before the management station issues the software packages to the dual-mode base station, the management station splits the software packages into a plurality of small software packages, and then issues the small software packages to a first main control board included in the dual-mode base station, and the first main control board cuts and stores the received software packages according to the board card planning.
In the embodiment of the present invention, a file storage configuration table may be set, and the file storage configuration table indicates a storage location of a software package, for example, the file storage configuration table may be configured and sent by a management station for managing the dual-mode base station, and the file storage configuration table indicates that the first main control board stores the received software package into the shared storage medium; or the first main control board is used for instructing the first main control board to store the received software package into the shared storage medium and a storage medium included in the first main control board. The first main control board receives a file storage configuration table sent by a management station, stores the software package into the shared storage medium according to a storage position indicated by the file storage configuration table, and stores a software package which is not stored into the shared storage medium in the to-be-stored software package into a storage medium included in the first main control board.
It should be noted that, in the embodiment of the present invention, how to specifically instruct to store the software package in the shared storage medium is not limited; or instructing to store the software package in the shared storage medium and a storage medium included in the first master control board. For example, the software package may be stored in the shared storage medium by setting different storage paths for the software package, or the shared storage medium and the storage medium included in the first main control board. In one implementation manner, the storage path of the software package may be set in the file storage configuration table to be stored in the shared storage medium, or the storage path of the software package may be set to be stored in the shared storage medium and the storage medium included in the first main control board. In another implementation manner, a storage path of the software package may also be set in the file storage configuration table to be stored in a set storage space of the shared storage medium, or the storage path of the software package may be set to be stored in a set storage space of the shared storage medium and a storage medium included in the first main control board, for example, the software package may be stored in a storage space of the shared storage medium, where the storage medium name is ata3, according to a specific storage path indicated by the file storage configuration table.
Fig. 5 is a schematic diagram illustrating that a first main control board stores a software package in a shared storage medium according to an embodiment of the present invention, as shown in fig. 5, after a dual-mode base station downloads a software package from a management station, decompresses the software package to the first main control board, after the first main control board cuts a received software package according to a board plan, determines whether to store the software package to be stored in the shared storage medium according to a storage location indicated by a file storage configuration table, and if it is necessary to store the software package to be stored in the shared storage medium, the first main control board stores the software package to be stored in the shared storage medium according to the storage location indicated by the file storage configuration table under the condition that the second main control board is determined to be available.
In the embodiment of the present invention, it should be noted that, in order to configure the file storage configuration table, it may be determined that a software package is stored in the first main control board or the shared storage medium by using the type of the internal board card in the dual-mode base station as a unit. For example, the software package corresponding to the internal board with the type of A, B may be stored in the storage medium included in the first main control board, and the software package corresponding to the internal board with the type of C, D may be stored in the shared storage medium.
In the embodiment of the invention, the software package to be stored can be selectively stored in the shared storage medium and/or the storage medium included in the first main control board according to the actual situation. For example, when the dual mode base station receives fewer and smaller software packages to be stored, the dual mode base station may store the software packages into the shared storage medium or the storage medium included in the first main control board. For another example, when the dual-mode base station receives a large and large number of software packages and the storage medium space of the first main control board cannot meet the storage requirement of the software packages, the software packages may be stored in the shared storage medium, or stored in the shared storage medium and the storage medium included in the first main control board.
In the embodiment of the present invention, the dual-mode base station further includes other internal boards (for example, baseband boards) in addition to the first main control board and the second main control board. After the first main control board stores the software package in a shared storage medium, when an internal board card in the dual-mode base station is started, the first main control board needs to request the first main control board to update the software package of the internal board card. If the software package is stored in the storage medium included in the first main control board, the update of the internal board software package can be realized according to the existing implementation manner, which is not described in detail herein, and only the implementation process of storing the software package in the shared storage medium to realize the update of the internal board software package is described below.
Fig. 6 is a flowchart of a software package requesting method according to an embodiment of the present invention, as shown in fig. 6, including:
s301: and the first main control board receives request information sent by the internal board card controlled by the first main control board.
In the embodiment of the present invention, the request information is used to request to acquire a software package, and the software package requested by the request information is used to update the software package content of the internal board card.
S302: and after receiving the request information, the first main control board inquires the file storage configuration table and determines the storage address of the software package requested by the request information.
S303: and the first main control board determines that the software package is stored in the shared storage medium according to the storage address of the software package.
S304: and the first main control board acquires the software package in the shared storage medium.
S305: and the first main control board sends the acquired software package to the internal board card.
In the embodiment of the present invention, fig. 7 is a schematic diagram illustrating that a dual-mode base station updates a storage location of a software package according to an updated file storage configuration table issued by a management station, as shown in fig. 7, after the first main control board determines to store the software package according to the file storage configuration table, if an updated file storage configuration table issued by the management station is received, the software package is stored to the updated storage location according to the updated file storage configuration table.
In the embodiment of the present invention, fig. 8 shows a schematic diagram of a dual-mode base station storing software packages according to a file storage configuration table issued by a management station, as shown in fig. 8, before a second main control board does not access a first main control board, all software packages to be stored are stored in the first main control board, after the second main control board accesses the first main control board, both the first main control board and the second main control board may store software packages according to the file storage configuration table, that is, all software packages stored to the first main control board before access, and after access, a part of the software packages may be stored in a shared storage medium determined in the second main control board.
Based on the same inventive concept as the method for storing a software package provided above, an embodiment of the present invention further provides a device for storing a software package, which is applied to a dual-mode base station, where the dual-mode base station includes a first main control board and a second main control board, the first main control board and the second main control board both include storage media for storing files, the first main control board is a main control board, the second main control board is a slave main control board, and the composition and the use of the device will be described in detail below.
Fig. 9 is a schematic diagram of an apparatus for storing a software package according to an embodiment of the present invention, and as shown in fig. 9, the apparatus includes an obtaining unit 101 and a processing unit 102, where:
an obtaining unit 101 is configured to obtain a software package to be stored.
A processing unit 102, configured to store the software package acquired by the acquiring unit 101 in a shared storage medium, where the shared storage medium is a storage medium that can be directly accessed by the first main control board in a storage medium included in the second main control board.
In this embodiment of the present invention, the processing unit 102 determines, in the storage media included in the second main control board, the storage media that can be directly accessed by the first main control board, by using the following method:
under the condition that the first main control board and the second main control board are both available, establishing a sharing protocol between the first main control board and the second main control board; and mapping part of or all of the storage media included in the second main control board to the storage media which can be directly accessed by the first main control board according to the established sharing protocol.
In this embodiment of the present invention, the processing unit 102 is further configured to:
and after determining that the first main control board and the second main control board are both available, setting the flag bit of the second main control board to be in-place state. The flag bit of the second main control board is used for identifying whether the second main control board is in place or not, and the flag bit of the second main control board is in place state and indicates that the second main control board is started.
In this embodiment of the present invention, the processing unit 102 stores the software package in a shared storage medium in the following manner:
and storing the software package into the shared storage medium according to the storage position indicated by the file storage configuration table. The file storage configuration table is configured by a management station for managing the dual-mode base station and is sent to the first main control board, and the file storage configuration table is used for indicating that the software package is stored in the shared storage medium.
In this embodiment of the present invention, the file storage configuration table is further configured to instruct to store the software package in a storage medium included in the first main control board.
The processing unit 102 is further configured to:
after the software package is stored in the shared storage medium, the software package which is not stored in the shared storage medium is stored in the storage medium included in the first main control board according to the storage position indicated by the file storage configuration table.
In this embodiment of the present invention, the processing unit 102 is further configured to:
after the software package is stored in a shared storage medium, receiving request information sent by an internal board card controlled by the first main control board, wherein the request information is used for requesting to acquire the software package, and the software package requested by the request information is used for updating the software package content of the internal board card; after receiving the request information, inquiring the file storage configuration table, determining the storage address of the software package requested by the request information, and determining that the software package is stored in the shared storage medium according to the storage address of the software package; obtaining the software package in the shared storage medium; and sending the acquired software package to the internal board card.
In the embodiment of the present invention, the first main control board stores the acquired software package to be stored in a storage medium that can be directly accessed in the storage medium included in the second main control board by the first main control board, so that a storage medium space for storing the software package by the dual-mode base station is increased, and further, the storage pressure is reduced.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A method for storing a software package is applied to a dual-mode base station, wherein the dual-mode base station comprises a first main control board and a second main control board, the first main control board and the second main control board both comprise storage media for storing files, the first main control board is a main control board, the second main control board is a slave main control board, and the method comprises the following steps:
the first main control board acquires a software package to be stored;
the method comprises the steps that after a received software package is cut by the first main control board, the cut software package is stored in a shared storage medium, the cut software package which is not stored in the shared storage medium is stored in the storage medium included by the first main control board, and the shared storage medium is a storage medium which can be directly accessed in the storage medium included by the second main control board.
2. The method of claim 1, wherein the storage media that the first master board can directly access among the storage media included in the second master board is determined by:
the first main control board establishes a sharing protocol with the second main control board under the condition that the first main control board and the second main control board are both available;
and the first main control board maps part of or all of the storage media included in the second main control board into the storage media which can be directly accessed by the first main control board according to the established sharing protocol.
3. The method of claim 2, wherein after the first master control board determines that the second master control board is available, the method further comprises:
the first main control board sets the flag bit of the second main control board to be in-place state;
the flag bit of the second main control board is used for identifying whether the second main control board is in place or not, and the flag bit of the second main control board is in place state and indicates that the second main control board is started.
4. The method according to any one of claims 1 to 3, wherein after the first master control board performs cutting on the received software package, storing the software package obtained after the cutting in a shared storage medium, and the method comprises:
the first main control board stores the software package obtained after cutting into the shared storage medium according to the storage position indicated by the file storage configuration table;
the file storage configuration table is configured by a management station for managing the dual-mode base station and is sent to the first main control board, and the file storage configuration table is used for indicating that the software package is stored in the shared storage medium.
5. The method of claim 4, wherein the file storage configuration table is further used for indicating that the software package obtained after the cutting is stored in a storage medium included in the first master control board;
after the first main control board cuts the received software package and stores the software package obtained after cutting in a shared storage medium, the method further comprises:
and the first main control board stores the software packages obtained after cutting, which are not stored in the shared storage medium, in the to-be-stored software packages obtained after cutting into the storage medium included in the first main control board according to the storage position indicated by the file storage configuration table.
6. The method of claim 4, wherein after the first master control board performs the clipping on the received software package and stores the software package obtained after the clipping in the shared storage medium, the method further comprises:
the first main control board receives request information sent by an internal board card controlled by the first main control board, the request information is used for requesting to acquire a software package, and the software package requested by the request information is used for updating the software package content of the internal board card;
after receiving the request information, the first main control board inquires the file storage configuration table and determines the storage address of the software package requested by the request information;
the first main control board determines that the software package is stored in the shared storage medium according to the storage address of the software package;
the first main control board obtains the software package in the shared storage medium;
and the first main control board sends the acquired software package to the internal board card.
7. The utility model provides a device for storing software package, its characterized in that is applied to dual mode base station, wherein, dual mode base station includes first main control board and second main control board, all include the storage medium that is used for the storage file in first main control board and the second main control board, and just first main control board is main control board, the second main control board is from main control board, the device includes:
the acquisition unit is used for acquiring the software package to be stored;
the processing unit is configured to, after the received software package is cut, store the cut software package in a shared storage medium, and store the cut software package, which is not stored in the shared storage medium, in the cut software package obtained after the cutting in the storage medium included in the first main control board, where the shared storage medium is a storage medium that can be directly accessed by the first main control board in the storage medium included in the second main control board.
8. The apparatus of claim 7, wherein the processing unit determines the storage medium that the first master board can directly access among the storage media included in the second master board by:
under the condition that the first main control board and the second main control board are both available, establishing a sharing protocol between the first main control board and the second main control board;
and mapping part of or all of the storage media included in the second main control board to the storage media which can be directly accessed by the first main control board according to the established sharing protocol.
9. The apparatus as recited in claim 8, said processing unit to further:
after determining that the first main control board and the second main control board are both available, setting a flag bit of the second main control board to be in-place state;
the flag bit of the second main control board is used for identifying whether the second main control board is in place or not, and the flag bit of the second main control board is in place state and indicates that the second main control board is started.
10. The apparatus of any of claims 7 to 9, wherein the processing unit is to store the software package resulting from the clipping in the shared storage medium in a manner that:
storing the software package obtained after cutting into the shared storage medium according to the storage position indicated by the file storage configuration table;
the file storage configuration table is configured by a management station for managing the dual-mode base station and is sent to the first main control board, and the file storage configuration table is used for indicating that the software package is stored in the shared storage medium.
11. The apparatus of claim 10, wherein the file storage configuration table is further configured to instruct to store the software package obtained after the clipping in a storage medium included in the first master control board;
the processing unit is further to:
after the software packages obtained after cutting are stored in the shared storage medium, the software packages obtained after cutting, which are not stored in the shared storage medium, in the software packages obtained after cutting to be stored are stored in the storage medium included in the first main control board according to the storage position indicated by the file storage configuration table.
12. The apparatus as recited in claim 10, said processing unit to further:
after storing the software package obtained after cutting in a shared storage medium, receiving request information sent by an internal board card controlled by the first main control board, wherein the request information is used for requesting to acquire the software package, and the software package requested by the request information is used for updating the software package content of the internal board card;
after receiving the request information, inquiring the file storage configuration table, and determining the storage address of the software package requested by the request information;
determining that the software package is stored in the shared storage medium according to the storage address of the software package;
obtaining the software package in the shared storage medium;
and sending the acquired software package to the internal board card.
CN201710375298.8A 2017-05-24 2017-05-24 Method and device for storing software package Active CN108958759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710375298.8A CN108958759B (en) 2017-05-24 2017-05-24 Method and device for storing software package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710375298.8A CN108958759B (en) 2017-05-24 2017-05-24 Method and device for storing software package

Publications (2)

Publication Number Publication Date
CN108958759A CN108958759A (en) 2018-12-07
CN108958759B true CN108958759B (en) 2021-03-12

Family

ID=64494310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710375298.8A Active CN108958759B (en) 2017-05-24 2017-05-24 Method and device for storing software package

Country Status (1)

Country Link
CN (1) CN108958759B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475171B (en) * 2019-01-23 2024-04-12 阿里巴巴集团控股有限公司 Application program component downloading method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020340A1 (en) * 2009-08-20 2011-02-24 中兴通讯股份有限公司 Method and device compatible with external access to storage device of wireless base station
CN102708060A (en) * 2012-05-14 2012-10-03 华为技术有限公司 Method, device and system for accessing image files
CN104158885A (en) * 2014-08-21 2014-11-19 中南大学 Method and system of streaming loading of application based on location information
CN104581737A (en) * 2014-12-24 2015-04-29 中兴通讯股份有限公司 Base band frame, base station as well as method for realizing multi-mode base station by utilizing single base band frame

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101595751B1 (en) * 2008-12-19 2016-02-22 삼성전자주식회사 Method for storing data of video telephony call in mobile terminal and system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020340A1 (en) * 2009-08-20 2011-02-24 中兴通讯股份有限公司 Method and device compatible with external access to storage device of wireless base station
CN102708060A (en) * 2012-05-14 2012-10-03 华为技术有限公司 Method, device and system for accessing image files
CN104158885A (en) * 2014-08-21 2014-11-19 中南大学 Method and system of streaming loading of application based on location information
CN104581737A (en) * 2014-12-24 2015-04-29 中兴通讯股份有限公司 Base band frame, base station as well as method for realizing multi-mode base station by utilizing single base band frame

Also Published As

Publication number Publication date
CN108958759A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN101217440B (en) An access method and access device of AP to AC in wireless LAN
CN110061871B (en) Base station opening method and device, computer storage medium and equipment
CN105744579B (en) Method, switching control and the access device that terminal switches between AP
CN104410665B (en) A kind of method for down loading and equipment upgrading bag
CN104539686A (en) Traffic-free application downloading method, terminals and server side
CN103188745A (en) Terminal wireless access capability reporting and switching resource allocation method, device and system
CN109547231B (en) Network slice management method and device
US20130148596A1 (en) Resource management system and method of centralized base station in mobile communication network
CN110267256B (en) SIM card resource management scheduling device, communication terminal and system
CN105657766A (en) Circuit switched (CS) fallback method and device, and terminal
CN103634346A (en) Data distribution method and system for network data center
CN103841625A (en) WLAN access method and WLAN access device
CN105100150A (en) Cloud desktop migration method and apparatus, and distributed cloud desktop system
CN108781189B (en) Load balancing method and related equipment
CN108958759B (en) Method and device for storing software package
CN104426816B (en) A kind of virtual machine communication method and device
EP3712768B1 (en) Management of services in an edge computing system
CN106131768A (en) Method, system and the platform of a kind of roaming number air card-writing
CN102185881A (en) Household digital equipment wireless multi-protocol space sharing storage manager and method
CN105630584A (en) Operation control method and system of application program and terminal
CN109800229B (en) Data access method and related equipment
EP3942782B1 (en) Management for managing resource allocation in an edge computing system
CN103415015A (en) Positioning method and device
CN111510949B (en) Data transmission method, device and storage medium
CN102457836B (en) Method, device and system for confirming priority information of user

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