CN108958759A - A kind of method and device storing software package - Google Patents

A kind of method and device storing software package Download PDF

Info

Publication number
CN108958759A
CN108958759A CN201710375298.8A CN201710375298A CN108958759A CN 108958759 A CN108958759 A CN 108958759A CN 201710375298 A CN201710375298 A CN 201710375298A CN 108958759 A CN108958759 A CN 108958759A
Authority
CN
China
Prior art keywords
master control
control borad
software package
storage medium
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710375298.8A
Other languages
Chinese (zh)
Other versions
CN108958759B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and devices for storing software package; applied to dual-mode base station; wherein; the dual-mode base station includes the first master control borad and the second master control borad; it include the storage medium for storage file in first master control borad and second master control borad; and first master control borad is main master control borad, second master control borad is from master control borad.The software package is stored in shared storage medium, the shared storage medium is the storage medium that first master control borad can be accessed directly in the storage medium that second master control borad includes by first master control borad by obtaining software package to be stored.Scheme through the invention can be realized when the storage medium of the first master control borad storage software package in dual-mode base station is filled with or will be filled with; the software package received can be stored into shared storage medium; the dual-mode base station is increased for storing the storage medium space of the software package, and then alleviates the storage pressure of dual-mode base station.

Description

A kind of method and device storing software package
Technical field
The present invention relates to technical field of memory more particularly to a kind of method and devices for storing software package.
Background technique
Dual-mode base station, is that the mobile communication system based on two kinds of different systems designs, such as time division synchronous code division is more Location (Time Division-Synchronous Code Division Multiple Access, TD-SCDMA) and time-division are long Two kinds of standards of phase evolution (Time Division-Long Term Evolution, TD-LTE) pass through difference on same base station Board is realized, the dual-mode base station of one of type can be obtained, wherein TD-SCDMA and TD-LTE respectively correspond dual-mode base station Different master control borads, master control borad can control the inside board work of dual-mode base station.Fig. 1 shows a kind of workflow of dual-mode base station Journey, as shown in Figure 1, it is assumed that dual-mode base station is that the mobile communication system based on two kinds of standards of standard A and standard B designs in Fig. 1, Then the dual-mode base station can connect the core net of standard A and standard B, it is assumed that and the master control borad of connection standard A core net is master control borad A, The master control borad for connecting standard B core net is master control borad B, and with the management station for BTS management (for example, operation and maintenance center (Local Maintenance is safeguarded in (Operation and Maintenance Center, OMC), local terminal Terminal, LMT etc.)) the master control borad A of direct communication is mainboard, another piece of master control borad B is then the master of each standard from plate Control plate handles the business datum of corresponding standard core net, and the Operation and Maintenance that the master control borad A as mainboard is issued by management station Signaling controls the inside board of two kinds of standards, the complicated multiplicity of the inner panel card type class that dual-mode base station includes in practical application, in Fig. 1 Only with schematically illustrate for baseband board and two kinds of Remote Radio Unit (Radio Remote Unit, RRU) internal boards.
Currently, the whole series can be used to update the software package of base station when the management station for BTS management triggers upgrading base station It is sent to base station, base station is saved to storage medium.For dual-mode base station, one of master control borad is responsible for logical with management station Letter, software package is sent to dual-mode base station by management station, and stores to this storage medium for being responsible for the master control borad communicated with management station, As the type of inside board that dual-mode base station is supported increases, the software package for upgrading dual-mode base station becomes increasingly complex and more next Bigger, the storage medium space for being currently used for the master control borad of storage software package is limited, and the limited master control borad in storage medium space can The storage of software package can not be supported, and if selection certainly will will cause the play of cost with the master control borad of large-capacity storage media Increase, therefore how effectively to store the software package that dual-mode base station receives is urgent problem.
Summary of the invention
The object of the present invention is to provide a kind of method and devices for storing software package, soft to solve existing dual-mode base station storage The storage medium space that part packet occupies master control borad is big, causes the storage medium of master control borad of the dual-mode base station for storing software package empty Between wretched insufficiency the problem of.
The purpose of the present invention is what is be achieved through the following technical solutions:
In a first aspect, providing a kind of method for storing software package, it is applied to dual-mode base station, wherein the dual-mode base station packet The first master control borad and the second master control borad are included, includes for storage file in first master control borad and second master control borad Storage medium, and first master control borad be main master control borad, second master control borad be from master control borad, it is in the method, described First master control borad obtains software package to be stored, and the software package is stored in shared storage medium, wherein described shared Storage medium is that the storage that first master control borad can be accessed directly in the storage medium that second master control borad includes is situated between Matter.
In the embodiment of the present invention, first master control borad passes through the software package to be stored that will acquire, and stores to described In the storage medium that first master control borad can be accessed directly in the storage medium that second master control borad includes, increase described Dual-mode base station is used to store the storage medium space of the software package, and then alleviates the storage pressure of dual-mode base station.
Preferably, depositing of can directly being accessed in the storage medium that second master control borad includes of first master control borad Storage media determines in the following way:
First master control borad is established in the case where determining first master control borad and the available situation of second master control borad With the shared agreement between second master control borad;First master control borad is according to the shared agreement of foundation, by described Part storage medium or whole storage mediums in the storage medium that two master control borads include, being mapped as first master control borad can The storage medium directly accessed.
Preferably, after first master control borad determines that second master control borad is available, further includes:
Second master control borad flag bit set is state in place by first master control borad;Wherein, the second master control borad mark Whether will position is in place for identifying second master control borad, and the second master control borad flag bit set is described in state in place expression Second master control borad has been turned on.By being state in place by the second master control borad flag bit set in first master control borad, with after an action of the bowels It is continuous directly to judge that second master control borad has been turned on by the second master control borad flag bit state in place, it is not necessarily to described the Two master control borads frequently send starting instruction information to first master control borad.
Preferably, the software package is stored in shared storage medium by first master control borad, comprising:
First master control borad storage location according to indicated by file storage configuration table, the software package is stored to institute It states in shared storage medium;Wherein, the file storage configuration table is configured simultaneously by the management station for managing the dual-mode base station It is sent to first master control borad, and the file storage configuration table is used to indicate to store the software package to described share and deposit In storage media.
Preferably, the file storage configuration table is also used to indicate to store the software package to the first master control borad packet In the storage medium included;After the software package is stored in shared storage medium by first master control borad, further includes: described First master control borad storage location according to indicated by file storage configuration table, will be not stored to described total in software package to be stored The software package in storage medium is enjoyed to store in the storage medium for including to first master control borad.
Preferably, after the software package is stored in shared storage medium by first master control borad, further includes:
First master control borad receives the solicited message sent by the inside board that first master control borad controls, described to ask Ask information for request software package, the requested software package of solicited message is used to update the software of the internal board Packet content;After first master control borad receives the solicited message, the file storage configuration table is inquired, determines the request The storage address of the requested software package of information;First master control borad according to the storage address of the software package, determine described in Software package is stored in the shared storage medium;First master control borad obtains described soft in the shared storage medium Part packet;First master control borad sends the software package got to the internal board.
In the embodiment of the present invention, the internal board is obtained from first master control borad for carrying out to the inner panel card The software package of update gets software package and is compared later with the software package of self-operating, when the software package received and certainly When the software package of body operation is inconsistent, then original software package is replaced using the software package got, and run the software got Packet guarantees that the software package of operation is the dual-mode base station currently newest software package.
Second aspect provides a kind of device for storing software package, is applied to dual-mode base station, wherein the dual-mode base station packet The first master control borad and the second master control borad are included, includes for storage file in first master control borad and second master control borad Storage medium, and first master control borad is main master control borad, second master control borad is from master control borad, and described device includes obtaining Unit and processing unit, in which:
Acquiring unit, for obtaining software package to be stored;
Processing unit, the software package for getting the acquiring unit are stored in shared storage medium, institute Stating shared storage medium is that first master control borad can be accessed directly in the storage medium that second master control borad includes Storage medium.
Preferably, the processing unit storage medium that specifically determination includes in second master control borad in the following way Described in the storage medium that can directly access of the first master control borad:
In the case where determining first master control borad and the available situation of second master control borad, first master control borad is established With the shared agreement between second master control borad;According to the shared agreement of foundation, include by second master control borad Part storage medium or whole storage mediums in storage medium, are mapped as the storage that first master control borad can be accessed directly Medium.
Preferably, the processing unit is also used to:
After determining that first master control borad and second master control borad can be used, by the second master control borad flag bit set For state in place;Wherein, whether the second master control borad flag bit is in place for identifying second master control borad, and described second is main Control plate flag bit set is that state in place indicates that second master control borad has been turned on.
Preferably, the software package is specifically stored in shared storage medium by the processing unit in the following way:
According to storage location indicated by file storage configuration table, the software package is stored to the shared storage medium In;
Wherein, the file storage configuration table is sent by management station's configuration concurrency for managing the dual-mode base station to described First master control borad, and the file storage configuration table is used to indicate and stores the software package into the shared storage medium.
Preferably, the file storage configuration table is also used to indicate to store the software package to the first master control borad packet In the storage medium included;
The processing unit is also used to:
After the software package is stored in shared storage medium, according to storage indicated by file storage configuration table Software package in the shared storage medium is stored the storage medium for including to first master control borad by position In.
Preferably, the processing unit is also used to:
After the software package is stored in shared storage medium, the inside controlled by first master control borad is received The solicited message that board is sent, the solicited message are used for request software package, the requested software package of solicited message For updating the package content of the internal board;After receiving the solicited message, the file storage configuration table is inquired, The storage address for determining the requested software package of the solicited message determines described soft according to the storage address of the software package Part packet is stored in the shared storage medium;In the shared storage medium, the software package is obtained;To the inner panel Card, sends the software package got.
Detailed description of the invention
Fig. 1 is a kind of existing workflow schematic diagram of dual-mode base station;
Fig. 2 is a kind of method flow diagram for storing software package provided in an embodiment of the present invention;
Fig. 3 is provided in an embodiment of the present invention a kind of to be determined to directly visit in the storage medium that the second master control borad includes The method flow diagram for the storage medium asked;
Fig. 4 is to establish NFS between a kind of first master control borad and the second master control borad provided in an embodiment of the present invention to share agreement Schematic diagram;
Fig. 5 is that software package is stored in showing in shared storage medium by a kind of first master control borad provided in an embodiment of the present invention It is intended to;
Fig. 6 is a kind of software package requesting method flow chart provided in an embodiment of the present invention;
Fig. 7 is provided in an embodiment of the present invention a kind of according to updated file storage configuration table update software package storage position Set schematic diagram;
Fig. 8 is a kind of schematic diagram that software package is stored according to file storage configuration table provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic device for storing software package provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is retouched in detail It states, it is clear that described embodiments are only a part of the embodiments of the present invention, is not whole embodiments.Based on the present invention In embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The storage medium space that method to solve existing dual-mode base station storage software package occupies master control borad is big, causes double The problem of storage medium space wretched insufficiency for the master control borad that mould base station is used to store software package, the embodiment of the present invention provides one kind The method for storing software package is applied to dual-mode base station, but does not regard it as and be limited, and the storage that can also provide the embodiment of the present invention is soft The method of part packet is applied to Multi-Mode Base Station.
In the embodiment of the present invention, it should be noted that dual-mode base station refers to including the first master control borad and the second master control borad, It include the storage medium for storage file in one master control borad and the second master control borad, and the first master control borad is main master control borad, the Two master control borads are from the base station of master control borad.
Fig. 2 show a kind of method flow diagram for storing software package provided in an embodiment of the present invention, as shown in Figure 2, comprising:
S101: first master control borad obtains software package to be stored.
S102: the software package is stored in shared storage medium by first master control borad, the shared storage medium The storage medium that can be directly accessed in the storage medium that second master control borad includes for first master control borad.
In the embodiment of the present invention, when software package that the first master control borad that dual-mode base station includes receives is more and receives When software package is larger, software package is stored into the first master control borad using the method for the prior art, the first master control borad is will lead to and deposits Storage media space wretched insufficiency, and use the scheme in the embodiment of the present invention that can store software package into shared storage medium, The dual-mode base station is increased for storing the storage medium space of the software package, and then alleviates the storage of dual-mode base station Pressure.
In the embodiment of the present invention, it should be noted that storage medium can be non-volatile memory medium, for example, can be with It is hard disk.
In the embodiment of the present invention, first master control borad can be used mode shown in Fig. 3 and determine in second master control borad Including storage medium in the storage medium that can directly access, as shown in Figure 3, comprising:
S201: first master control borad is determining first master control borad and the available situation of second master control borad Under, establish the shared agreement between second master control borad.
In the embodiment of the present invention, when being interacted between the first master control borad and the second master control borad that dual-mode base station includes, it is The first master control borad and the second master control borad start i.e. it is available on the basis of carry out, therefore, establish first master control borad with Before shared agreement between second master control borad, first master control borad need to determine first master control borad and described second Master control borad is available.
S202: the shared agreement of first master control borad according to foundation, the storage for including by second master control borad Part storage medium or whole storage mediums in medium, are mapped as the storage that first master control borad can be accessed directly and are situated between Matter.
In the embodiment of the present invention, it should be noted that be not especially limited to the shared protocol type of foundation.
It include the second master control borad flag bit in first master control borad in the embodiment of the present invention, wherein described second is main Whether control plate flag bit is in place for identifying second master control borad, and the second master control borad flag bit set is state table in place Show that second master control borad has been turned on, first master control borad is after determining that second master control borad is available, by described second Master control borad flag bit set is state in place, can be straight when so as to subsequent first master control borad and second master control borad interaction Connecting the second master control borad flag bit, state in place judges that second master control borad has been turned on, without described second Master control borad frequently sends starting notice.
In the embodiment of the present invention, below to establish network file system between first master control borad and second master control borad It unites for (Network File System, NFS) shared agreement, includes in second master control borad to first master control borad Storage medium in be determined to the process of the storage medium directly accessed and be described in detail, as shown in figure 4, described first is main Control plate receives the starting instruction information for being used to indicate second master control borad and whether having been turned on that second master control borad is sent, and It by the second master control borad flag bit set is state in place according to starting instruction information, first master control borad is to described second Master control borad transmission is used to indicate the available first master control borad available information of first master control borad, and first master control borad determines institute State the first master control borad and second master control borad it is available after, establish between first master control borad and second master control borad NFS share agreement, agreement is shared by NFS, the part storage medium in storage medium for including by second master control borad Or whole storage mediums, it is mapped as the storage medium that first master control borad can be accessed directly.
In the embodiment of the present invention, what the management station that software package to be stored can be for managing the dual-mode base station issued Software package for being updated to dual-mode base station.Since software package is usually all bigger, management station under dual-mode base station to feeling like jelly Before part packet, software package can be split into multiple small software packets, small software packet is issued to that dual-mode base station includes later first Master control borad, the first master control borad are cut and are stored to the software package received according to board planning.
In the embodiment of the present invention, settable file storage configuration table indicates software package by this document storage configuration table Storage location passes through for example, this document storage configuration table can be sent by management station's configuration concurrency for managing the dual-mode base station This document storage configuration table indicates that first master control borad stores the software package received to the shared storage medium In;Or it is used to indicate first master control borad and stores the software package received to described in the shared storage medium neutralization In the storage medium that first master control borad includes.First master control borad receives the file storage configuration table of management station's transmission, can According to storage location indicated by file storage configuration table, the software package is stored into the shared storage medium, it will be to Software package in the software package of storage in not stored to shared storage medium, which is stored to the storage that first master control borad includes, to be situated between In matter.
It will be described soft it should be noted that not limiting how file storage configuration table specifically to indicate in the embodiment of the present invention Part packet is stored into the shared storage medium;Or instruction stores the software package to described in the shared storage medium neutralization In the storage medium that first master control borad includes.For example, can will be described soft by the way that different store path realizations are arranged for software package In the storage medium that part packet is stored into the shared storage medium or shared storage medium and the first master control borad include.It is a kind of In implementation, the store path of software package can be set in file storage configuration table to store to shared storage medium, or The store path that software package is arranged is to store in the storage medium for including to shared storage medium and the first master control borad.It is another real In existing mode, it is to store to the setting of shared storage medium that the store path of software package can also be arranged in file storage configuration table In memory space, or the store path of setting software package is to store the storage for including to shared storage medium and the first master control borad In the setting memory space of medium, for example, the specific store path that can be indicated according to file storage configuration table, software package is stored Into shared storage medium in the memory space of the entitled ata3 of storage medium.
Fig. 5 shows a kind of first master control borad provided in an embodiment of the present invention and software package is stored in shared storage medium Schematic diagram, as shown in figure 5, the software package is unziped to the first master control borad after management station's downloading software package by dual-mode base station, the After one master control borad cuts the software package received according to board planning, deposited according to indicated by file storage configuration table Storage space, which is set, to be judged whether to store software package to be stored to shared storage medium, if desired by software package to be stored store to Shared storage medium, then first master control borad is matched in the case where determining the available situation of the second master control borad according to file storage Storage location indicated by table is set to store software package to be stored into shared storage medium.
In the embodiment of the present invention, it should be noted that, can be with dual-mode base station for convenient for configuring the file storage configuration table The type of middle internal board is unit, determines that software package is stored to the first master control borad or shared storage medium.For example, can be by type The storage medium for including to the first master control borad is stored for the corresponding software package of inside board of A, B, is the inner panel of C, D by type Block corresponding software package to store to shared storage medium.
In the embodiment of the present invention, it can select to store software package to be stored to shared storage medium according to the actual situation And/or first master control borad include storage medium in.For example, when the software package to be stored that dual-mode base station receives is less and compares When smaller, dual-mode base station can be stored software package in the storage medium for including to shared storage medium or the first master control borad.Example again Such as, the software package received when dual-mode base station is larger and relatively more, and the storage medium space of the first master control borad be not able to satisfy it is soft When the storage demand of part packet, software package can be stored to shared storage medium, or stored to shared storage medium and the first master control In the storage medium that plate includes.
In the embodiment of the present invention, dual-mode base station further includes other other than including the first master control borad and the second master control borad Internal board (for example, baseband board card).It is right after the software package is stored in shared storage medium by first master control borad Inner panel card in dual-mode base station on startup, needs to request to update to first master control borad software of the internal board Packet.It wherein, can for the update of inner panel card software packet if storing software package in the storage medium for including to the first master control borad By existing implementation, the present invention is repeated no more, and is only stored below to by software package into shared storage medium, realizes inner panel The realization process that card software packet updates is illustrated.
Fig. 6 is a kind of software package requesting method flow chart provided in an embodiment of the present invention, as shown in Figure 6, comprising:
S301: first master control borad receives the solicited message sent by the inside board that first master control borad controls.
In the embodiment of the present invention, the solicited message is used for request software package, and the solicited message is requested soft Part packet is used to update the package content of the internal board.
S302: after first master control borad receives the solicited message, the file storage configuration table is inquired, determines institute State the storage address of the requested software package of solicited message.
S303: it is described to determine that the software package is stored according to the storage address of the software package for first master control borad In shared storage medium.
S304: first master control borad obtains the software package in the shared storage medium.
S305: first master control borad sends the software package got to the internal board.
In the embodiment of the present invention, Fig. 7 shows a kind of dual-mode base station and is matched according to the updated file storage that management station issues It sets table and updates software package storage location schematic diagram, as shown in fig. 7, first master control borad will according to the determination of file storage configuration table After the software package storage, if the updated file storage configuration table that management station issues is received, according to updated File storage configuration table stores the software package to updated storage location.
In the embodiment of the present invention, Fig. 8 shows a kind of file storage configuration table storage that dual-mode base station is issued according to management station Software package schematic diagram, as shown in figure 8, software package to be stored stores before the second master control borad does not access the first master control borad To the first master control borad, the second master control borad is accessed after the first master control borad, and the first master control borad and the second master control borad can be according to files Storage configuration table stores software package, i.e., stores before access to the software package of the first master control borad, after access, may partially deposit Storage is into the shared storage medium determined in the second master control borad.
Based on inventive concept identical with the storage method of software package of above-mentioned offer, one is also provided in the embodiment of the present invention The device of kind storage software package, is applied to dual-mode base station, wherein the dual-mode base station includes the first master control borad and the second master control It include the storage medium for storage file in plate, first master control borad and second master control borad, and described first is main Control plate is main master control borad, and second master control borad is that the composition and purposes of the device is described more fully below from master control borad.
Fig. 9 is a kind of schematic device for storing software package provided in an embodiment of the present invention, as shown in figure 9, the device packet Include acquiring unit 101 and processing unit 102, in which:
Acquiring unit 101, for obtaining software package to be stored.
Processing unit 102, the software package for getting the acquiring unit 101 are stored in shared storage medium In, the shared storage medium is that first master control borad can be visited directly in the storage medium that second master control borad includes The storage medium asked.
In the embodiment of the present invention, the processing unit 102 is determined in second master control borad in the following way includes The storage medium that the first master control borad can be accessed directly described in storage medium:
In the case where determining first master control borad and the available situation of second master control borad, first master control borad is established With the shared agreement between second master control borad;According to the shared agreement of foundation, include by second master control borad Part storage medium or whole storage mediums in storage medium, are mapped as the storage that first master control borad can be accessed directly Medium.
In the embodiment of the present invention, the processing unit 102 is also used to:
After determining that first master control borad and second master control borad can be used, by the second master control borad flag bit set For state in place.Wherein, whether the second master control borad flag bit is in place for identifying second master control borad, and described second is main Control plate flag bit set is that state in place indicates that second master control borad has been turned on.
In the embodiment of the present invention, the software package is stored in shared storage in the following way by the processing unit 102 In medium:
According to storage location indicated by file storage configuration table, the software package is stored to the shared storage medium In.Wherein, the file storage configuration table is sent by management station's configuration concurrency for managing the dual-mode base station to described first Master control borad, and the file storage configuration table is used to indicate and stores the software package into the shared storage medium.
In the embodiment of the present invention, the file storage configuration table is also used to indicate to store the software package to described first In the storage medium that master control borad includes.
The processing unit 102 is also used to:
After the software package is stored in shared storage medium, according to storage indicated by file storage configuration table Software package in the shared storage medium is stored the storage medium for including to first master control borad by position In.
In the embodiment of the present invention, the processing unit 102 is also used to:
After the software package is stored in shared storage medium, the inside controlled by first master control borad is received The solicited message that board is sent, the solicited message are used for request software package, the requested software package of solicited message For updating the package content of the internal board;After receiving the solicited message, the file storage configuration table is inquired, The storage address for determining the requested software package of the solicited message determines described soft according to the storage address of the software package Part packet is stored in the shared storage medium;In the shared storage medium, the software package is obtained;To the inner panel Card, sends the software package got.
In the embodiment of the present invention, first master control borad passes through the software package to be stored that will acquire, and stores to described In the storage medium that first master control borad can be accessed directly in the storage medium that second master control borad includes, increase described Dual-mode base station is used to store the storage medium space of the software package, and then alleviates storage pressure.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of method for storing software package, which is characterized in that be applied to dual-mode base station, wherein the dual-mode base station includes the It include the storage for storage file in one master control borad and the second master control borad, first master control borad and second master control borad Medium, and first master control borad is main master control borad, second master control borad is from master control borad, which comprises
First master control borad obtains software package to be stored;
The software package is stored in shared storage medium by first master control borad, and the shared storage medium is described first The storage medium that master control borad can be accessed directly in the storage medium that second master control borad includes.
2. the method as described in claim 1, which is characterized in that first master control borad is deposited what second master control borad included The storage medium that can directly access in storage media, determines in the following way:
First master control borad is in the case where determining first master control borad and the available situation of second master control borad, foundation and institute State the shared agreement between the second master control borad;
The shared agreement of first master control borad according to foundation, the portion in storage medium for including by second master control borad Divide storage medium or whole storage mediums, is mapped as the storage medium that first master control borad can be accessed directly.
3. method according to claim 2, which is characterized in that first master control borad determines that second master control borad can use it Afterwards, the method also includes:
Second master control borad flag bit set is state in place by first master control borad;
Wherein, whether the second master control borad flag bit is in place for identifying second master control borad, the second master control borad mark Will position position is that state in place indicates that second master control borad has been turned on.
4. method as described in any one of claims 1 to 3, which is characterized in that first master control borad deposits the software package Storage is in shared storage medium, comprising:
First master control borad storage location according to indicated by file storage configuration table, the software package is stored to described total It enjoys in storage medium;
Wherein, the file storage configuration table is sent by management station's configuration concurrency for managing the dual-mode base station to described first Master control borad, and the file storage configuration table is used to indicate and stores the software package into the shared storage medium.
5. method as claimed in claim 4, which is characterized in that the file storage configuration table is also used to indicate the software Packet stores in the storage medium for including to first master control borad;
After the software package is stored in shared storage medium by first master control borad, the method also includes:
First master control borad storage location according to indicated by file storage configuration table, will be not stored in software package to be stored It is stored in the storage medium for including to first master control borad to the software package in the shared storage medium.
6. method as claimed in claim 4, which is characterized in that the software package is stored in shared deposit by first master control borad After in storage media, the method also includes:
First master control borad receives the solicited message sent by the inside board that first master control borad controls, the request letter Breath is used for request software package, and the requested software package of solicited message is used to update in the software package of the internal board Hold;
After first master control borad receives the solicited message, the file storage configuration table is inquired, determines the request letter Cease the storage address of requested software package;
First master control borad determines that the software package is stored in the shared storage and is situated between according to the storage address of the software package In matter;
First master control borad obtains the software package in the shared storage medium;
First master control borad sends the software package got to the internal board.
7. a kind of device for storing software package, which is characterized in that be applied to dual-mode base station, wherein the dual-mode base station includes the It include the storage for storage file in one master control borad and the second master control borad, first master control borad and second master control borad Medium, and first master control borad is main master control borad, second master control borad is from master control borad, and described device includes:
Acquiring unit, for obtaining software package to be stored;
Processing unit, the software package for getting the acquiring unit is stored in shared storage medium, described total Enjoying storage medium is the storage that first master control borad can be accessed directly in the storage medium that second master control borad includes Medium.
8. device as claimed in claim 7, which is characterized in that the processing unit is determined described second in the following way The storage medium that the first master control borad can be accessed directly described in the storage medium that master control borad includes:
In the case where determining first master control borad and the available situation of second master control borad, first master control borad and institute are established State the shared agreement between the second master control borad;
According to the shared agreement of foundation, the part storage medium in storage medium or complete that includes by second master control borad Portion's storage medium is mapped as the storage medium that first master control borad can be accessed directly.
9. device as claimed in claim 8, which is characterized in that the processing unit is also used to:
After determining that first master control borad and second master control borad are available, by the second master control borad flag bit set be Position state;
Wherein, whether the second master control borad flag bit is in place for identifying second master control borad, the second master control borad mark Will position position is that state in place indicates that second master control borad has been turned on.
10. such as the described in any item devices of claim 7 to 9, which is characterized in that the processing unit is in the following way by institute Software package is stated to be stored in shared storage medium:
According to storage location indicated by file storage configuration table, the software package is stored into the shared storage medium;
Wherein, the file storage configuration table is sent by management station's configuration concurrency for managing the dual-mode base station to described first Master control borad, and the file storage configuration table is used to indicate and stores the software package into the shared storage medium.
11. device as claimed in claim 10, which is characterized in that the file storage configuration table is also used to indicate will be described soft Part packet stores in the storage medium for including to first master control borad;
The processing unit is also used to:
After the software package is stored in shared storage medium, according to storage position indicated by file storage configuration table It sets, the software package in shared storage medium not stored to described in software package to be stored is stored to the first master control borad packet In the storage medium included.
12. device as claimed in claim 10, which is characterized in that the processing unit is also used to:
After the software package is stored in shared storage medium, the inside board controlled by first master control borad is received The solicited message of transmission, the solicited message are used for request software package, and the requested software package of solicited message is used for Update the package content of the internal board;
After receiving the solicited message, the file storage configuration table is inquired, determines the requested software of the solicited message The storage address of packet;
According to the storage address of the software package, determine that the software package is stored in the shared storage medium;
In the shared storage medium, the software package is obtained;
To the internal board, the software package got is sent.
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 true CN108958759A (en) 2018-12-07
CN108958759B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110392452A (en) * 2019-08-12 2019-10-29 京信通信系统(中国)有限公司 Multi-standard base station system and data processing method
CN111475171A (en) * 2019-01-23 2020-07-31 阿里巴巴集团控股有限公司 Application program component downloading method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100157014A1 (en) * 2008-12-19 2010-06-24 Samsung Electronics Co., Ltd. Method for storing data of video telephony call in mobile terminal and system thereof
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100157014A1 (en) * 2008-12-19 2010-06-24 Samsung Electronics Co., Ltd. Method for storing data of video telephony call in mobile terminal and system thereof
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475171A (en) * 2019-01-23 2020-07-31 阿里巴巴集团控股有限公司 Application program component downloading method and device and electronic equipment
CN111475171B (en) * 2019-01-23 2024-04-12 阿里巴巴集团控股有限公司 Application program component downloading method and device and electronic equipment
CN110392452A (en) * 2019-08-12 2019-10-29 京信通信系统(中国)有限公司 Multi-standard base station system and data processing method

Also Published As

Publication number Publication date
CN108958759B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN108510389B (en) Intelligent contract calling method and device based on block chain and readable storage medium
CN105812171B (en) A kind of the network function VNF control method and equipment of virtualization
CN110166409A (en) Equipment cut-in method, related platform and computer storage medium
CN108400945B (en) Arranging management system and network slice processing method
CN104951353A (en) VNF (virtual network function) acceleration method and device
CN110365502A (en) A kind of method, apparatus and storage medium of service upgrade management
CN109845303A (en) The management method and administrative unit of network slice
JP2016535895A (en) Software update method, system and device
WO2018072503A1 (en) Method for initiating software modification, method and device for publishing metadata
CN104780071A (en) Method and device for upgrading virtual switch
CN103441935B (en) Automatically method and the device of the syntople of identified server and access switch
CN101257406B (en) Method and system for discovering net elements
CN109600760B (en) Network management method, equipment and system
CN110413418A (en) Cache synchronization device and method, cache synchronization system, electronic equipment
CN110012534A (en) Equipment state synchronous method, device, equipment and computer readable storage medium
CN110213391A (en) A kind of configuration method and device of internet protocol address
CN112688814A (en) Equipment access method, device, equipment and machine readable storage medium
CN107734017A (en) Data service method and system
CN116800616B (en) Management method and related device of virtualized network equipment
CN108958759A (en) A kind of method and device storing software package
CN102752215A (en) Processing method for VDP (vertical data processing) request messages and edge switch
CN114285695B (en) Communication method, device, apparatus, system and storage medium
CN105812178B (en) A kind of terminal staging method and terminal
CN105827496A (en) Method and apparatus for managing PE device
CN112052104A (en) Message queue management method based on multi-computer-room realization and electronic equipment

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