CN102298527B - A kind of method of CPE parallel upgrades version and realize system - Google Patents
A kind of method of CPE parallel upgrades version and realize system Download PDFInfo
- Publication number
- CN102298527B CN102298527B CN201110167200.2A CN201110167200A CN102298527B CN 102298527 B CN102298527 B CN 102298527B CN 201110167200 A CN201110167200 A CN 201110167200A CN 102298527 B CN102298527 B CN 102298527B
- Authority
- CN
- China
- Prior art keywords
- file
- fragment
- cpe
- request
- file fragment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 239000012634 fragment Substances 0.000 claims abstract description 158
- 238000013467 fragmentation Methods 0.000 claims abstract description 34
- 238000006062 fragmentation reaction Methods 0.000 claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims abstract 2
- 239000000872 buffer Substances 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 229920006235 chlorinated polyethylene elastomer Polymers 0.000 description 2
- 238000000136 cloud-point extraction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1873—Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provide a kind of CPE parallel upgrades version method and realize system, line card receives the request of the version file burst of at least one CPE transmissions, including at least title, the deviant of file fragmentation for having file fragmentation in the request, corresponding request address index is generated by the title of the file fragmentation included in the request and the deviant of file fragmentation;The line card mates the request address index according to locally stored address reference table, the CPE that the file fragmentation content stored in corresponding for the allocation index that the match is successful fragment cache memory area is sent to the request;The present invention can make the line card of local network element equipment under conditions of limited memory, realize the function to the parallel more redaction of multiple Type Cs PE, preferably alleviate the pressure of line card Installed System Memory, and the also realization for automatically updating function provides preferably basis.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a method for upgrading versions of CPE (customer premises equipment) in parallel and an implementation system.
Background
In the current communication device management system, a customer premises equipment cpe (customer premise equipment) is responsible for providing various services to a customer on a customer side. With the change of the user's demands for various services or the correction of the original version defects, the software version of the CPE often needs to be automatically updated remotely.
The current method for automatically updating version is realized based on local network element equipment. The local network element equipment adopts a distributed system and is divided into a main control board and a line card. The line cards are responsible for interfacing with the CPE over various channels. The main control board is responsible for carrying out centralized management on a plurality of line cards. Generally, the motherboard hardware conditions are better, with a larger flash and more abundant memory. The line card is generally not provided with a flash and has a small memory for saving cost. Therefore, the CPE software version file is stored on the flash equipment of the main control board. When the CPE is detected to be on-line, the line card can automatically select a proper version according to the information provided by the CPE and trigger the CPE to update the software version. At this point, the CPE will send a request for the file content to the line card. The parameters of the request include the file name, the offset of the file and the data length of the request. And after receiving the request, the line card side acquires the whole file content from the main control board through the FTP and then transmits the corresponding file content to the CPE according to the parameters of the request. And meanwhile, the version file is cached in the local memory of the line card. When the next CPE requests the file with the same version, the file content can be directly obtained in the memory.
However, this method has disadvantages in that: CPE software version files are large and occupy overlarge memory. And each CPE requires a different software release. This is a significant burden on line cards with relatively modest hardware conditions. Since the automatic update is triggered after the CPE comes online. Whereas on-line at a CPE is a discrete event and is not regularly recurring. If a plurality of types of CPE are on-line at the same time, all types of version files need to be stored in the memory to realize parallel upgrade of the line cards. This is not practical. Therefore, the line card can not support various types of parallel upgrading at present, and the adopted strategy is to give up the upgrading of the latter CPE. The latter CPE needs to wait until the next online time and then judges whether to upgrade or not. The method cannot meet the requirement of parallel upgrading of various types of CPE and the user experience is not good.
Disclosure of Invention
The invention aims to provide a method and a system for upgrading versions of CPE (customer premises equipment) in parallel, which can realize that upgrading of multiple types of CPE parallel versions can be completed quickly under the condition of a fixed memory.
The invention provides a method for upgrading versions of CPE (customer premises equipment) in parallel, which comprises the following steps:
the line card receives a request of a version file fragment sent by at least one CPE, wherein the request at least comprises the name of the file fragment and the deviant of the file fragment, and a corresponding request address index is generated according to the name of the file fragment and the deviant of the file fragment contained in the request;
the line card matches the request address index according to a locally stored address index table, and transmits the file fragmentation content stored in the fragmentation cache region corresponding to the successfully matched address index to the requested CPE; or,
when the matching is not successful, the line card acquires corresponding file fragment contents from a main control board according to a request sent by the CPE, stores the file fragment contents to the local and sends the file fragment contents to the requested CPE; and adding the request address index as an address index new record into the address index table, and establishing a corresponding relation between the new record and the stored corresponding file fragment content.
A realization system for CPE parallel upgrade version is based on local side net element equipment and customer premise equipment CPE, the local side net element equipment includes a line card and a main control board,
the CPE is used for sending a request of version file fragmentation, wherein the request at least comprises the name of the file fragmentation and the deviant of the file fragmentation, and receives the file fragmentation content corresponding to the request returned by the line card;
the line card is used for matching a request address index generated according to the name of the file fragment and the size of the file fragment in the request with a locally stored address index table and sending the file fragment content stored in the fragment cache region corresponding to the successfully matched address index to the requesting CPE; but also for the purpose of,
when the matching is not successful, according to the request sent by the CPE, acquiring the corresponding file fragment content from the main control board, storing the file fragment content to the local and sending the file fragment content to the requested CPE; and also for the purpose of,
adding the request address index serving as an address index new record into the address index table, and establishing a corresponding relation between the new record and the stored corresponding file fragment content;
and the main control board sends corresponding file fragment contents to the line card according to the request sent by the CPE when the matching is not successful.
The invention provides a method for upgrading version of CPE in parallel and a realizing system, which divides a reserved fixed cache region into a plurality of fragment cache regions by reserving a fixed cache on an on-line card, wherein each fragment cache region is internally provided with file fragment contents, a line card generates an address index according to the file name and the file offset of a stored file inquiry, and each file fragment content corresponds to one address index, so that when the CPE of different types sends a file fragment request of upgrading version, the request also comprises the required file name and the file offset, a request address index is also generated through the file name and the file offset in the request, the request address index is matched with the address index corresponding to each fragment cache region in the line card, if the matching is successful, the content of the local corresponding fragment cache region is sent to the CPE, thereby saving the interaction time between the CPE and a main control board, and if the multi-type CPE hits the file fragment content of the fragment cache region, the line card of the network element local side equipment can realize the function of updating versions of the multi-type CPE in parallel under the condition of limited memory. In addition, if the matching is not successful, the line card continues to acquire the corresponding file fragments from the master control according to the request, and then stores the acquired file fragments into the fragment cache region, so that the pressure of the memory of the line card system is well relieved, and a good basis is provided for realizing the automatic updating function.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a schematic diagram of an embodiment of the system of the present invention;
FIG. 3 is a flow chart of an embodiment of the method of the present invention;
fig. 4 is a flowchart of the specific operation of step 40 in fig. 3.
Detailed Description
The invention aims to provide a method and a system for upgrading versions of CPE (customer premises equipment) in parallel, which can realize that upgrading of multiple types of CPE parallel versions can be completed quickly under the condition of a fixed memory.
The invention provides a method for upgrading versions of multiple types of CPE (customer premises equipment) in parallel, which comprises the following steps as shown in figure 1:
100: the line card receives a request of a version file fragment sent by at least one CPE, wherein the request at least comprises the name of the file fragment and the deviant of the file fragment, and a corresponding request address index is generated according to the name of the file fragment and the deviant of the file fragment contained in the request;
200: the line card matches the request address index according to a locally stored address index table, and transmits the file fragmentation content stored in the fragmentation cache region corresponding to the successfully matched address index to the requested CPE; or,
300: when the matching is not successful, the line card acquires corresponding file fragment contents from a main control board according to a request sent by the CPE, stores the file fragment contents to the local and sends the file fragment contents to the requested CPE; and adding the request address index as an address index new record into the address index table, and establishing a corresponding relation between the new record and the stored corresponding file fragment content.
And each partitioned cache region is set to be a fixed size.
And the address index is a key value generated by a hash function according to the name of the file fragment and the offset value of the file fragment.
Before storing the acquired file fragment locally, the method further includes:
judging the sizes of the acquired file fragment contents and a local current idle fragment cache area, releasing a fragment cache area corresponding to part of original file fragment contents when the acquired file fragment contents are judged to be large, storing the acquired file fragment contents into the released fragment cache area, replacing an address index directory corresponding to the released fragment cache area with a corresponding new directory, and directly storing the acquired file fragment contents into the fragment cache area when the acquired file fragment contents are judged to be small.
The release of the fragment cache region corresponding to the fragment content of part of the original file specifically includes:
and selecting the partitioned cache area needing to be released in a least-recently-used selection mode.
The line card acquires corresponding file fragmentation content from a main control board according to the request sent by the CPE, and the method specifically comprises the following steps:
the line card can acquire corresponding file fragment contents from the main board through a network file system NFS or a file transfer protocol FTP, and when the line card acquires the corresponding file fragment contents through the FTP, the main control board provides FTP service and supports a breakpoint resume function.
A realization system for CPE parallel upgrade version is based on local side net element equipment and customer premise equipment CPE, the local side net element equipment includes a line card and a main control board,
the CPE is used for sending a request of version file fragmentation, wherein the request at least comprises the name of the file fragmentation and the deviant of the file fragmentation, and receives the file fragmentation content corresponding to the request returned by the line card;
the line card is used for matching a request address index generated according to the name of the file fragment and the size of the file fragment in the request with a locally stored address index table and sending the file fragment content stored in the fragment cache region corresponding to the successfully matched address index to the requesting CPE; but also for the purpose of,
when the matching is not successful, according to the request sent by the CPE, acquiring the corresponding file fragment content from the main control board, storing the file fragment content to the local and sending the file fragment content to the requested CPE; and also for the purpose of,
and adding the request address index serving as an address index new record into the address index table, and establishing a corresponding relation between the new record and the stored corresponding file fragment content.
And the main control board sends corresponding file fragment contents to the line card according to the request sent by the CPE when the matching is not successful.
The line card is further configured to:
judging the sizes of the acquired file fragment content and a local current idle fragment cache area, if the acquired file fragment content is judged to be large, releasing part of the fragment cache area corresponding to the stored original file fragment content, storing the acquired file fragment content into the released fragment cache area, replacing an address index directory corresponding to the released fragment cache area with a corresponding new directory, judging that the acquired file fragment content is small, and directly storing the acquired file fragment content into the fragment cache area.
The line card is also provided with a fragmentation buffer area module and a CPE management module,
the fragment cache region module is used for managing the division and the setting of the fragment cache region, wherein the setting comprises generating a key value through the file name and the file offset of the file fragment content stored in the fragment cache region; and the number of the first and second groups,
replacing file fragmentation content in the fragmentation cache, managing the address index and updating the hash table;
the CPE management module is used for receiving a file fragment request sent by the CPE, the request at least comprises the name of the file fragment and the size of the file fragment, and an address index is generated by the fragment name and the file offset in the request; but also for the purpose of,
and sending the file fragment content corresponding to the CPE sending request in the fragment cache region to the CPE.
A schematic system structure diagram of the embodiment of the present invention is shown in fig. 2, and includes a device based on a local side network element device 1 and a customer premises equipment CPE2, where the local side network element device 1 includes a line card 12 and a main control board 11, the main control board 11 is configured to store corresponding file contents in a request for upgrading a version file sent by CPE21, CPE22, CPE23, and CPE24 to a fragment cache area of the line card 12 through an NFS server 111 and an NFS client 121 on the line card 12, the line card 12 is provided with a fragment cache area module 122 and a CPE management module 123, and is configured to set the fragment cache area for a reserved memory area, and the CPE management module 123 is configured to manage a version file corresponding to CPE2 found by the fragment cache area module 122 on the line card 12 and is used to request for upgrading a version file sent by the CPE 2.
The method provided by the first embodiment of the invention can quickly finish the parallel version updating of a plurality of CPEs under the condition of limited memory. As shown in figure 3 of the drawings,
step 10: a fixed memory area is pre-allocated on the line card side, and the memory area is divided into cache area fragments with fixed size, which are called fragment cache areas. And establishing an index of the address of the fragment cache area, and enabling the index to adopt a data structure of a global hash table.
The size of the pre-allocated memory area needs to be adjusted according to the actual situation, the larger the memory area allocation is, the higher the probability that the CPE version file request hits the cache during parallel upgrading is, and the higher the upgrading speed is;
furthermore, in order to accelerate the search speed, an index of the address of the fragmentation cache area needs to be established, the index adopts a data structure of a global hash table, and a key value of the hash table is generated by a hash function through a character string consisting of a file name and file fragmentation offset.
Step 20: and (4) mounting flash equipment in a main control board through an NFS server side on a line card side.
The line card side acquires data from the main control board through the NFS client.
In addition, for the network element local side device which does not support NFS, the line card can also obtain data from the main control board through FTP.
Step 30: receiving a request of the CPE for auditing the version file, wherein parameters included in the request include a file name, a file offset, a length len of the content of the file requested this time and a file content storage address. If the length len of the file content requested by the CPE is larger than the size blocksize of a fixed-size cache region into which the memory region is divided in advance, the fragmentation cache region needs to be searched in the hash table for multiple times.
Step 40: according to the request parameters file name, file offset and length len of the content of the request file in step 30, one or more fragment cache regions are selected, and the content of the fragment cache regions is copied to the CPE corresponding to the address in the request in step 30.
As shown in fig. 4, step 40 may be further subdivided into the following steps:
step 401: according to the file offset in the request parameter step 30 and the size blocksize of the fixed-size cache area into which the memory area is divided in advance, the offset fileoffset of the file fragment to be acquired in this time in the file, and the offset copyoffset and the length copylen of the content required in the fragment request in the file fragment are determined.
The fileoffset can be obtained by the equation as Offset & (blocksize-1).
Wherein copyoffset is equal to the remainder of offset and blocksize.
If the remainder of offset and blocksize is 0. Copylen equals the smaller between len and blocksize. Otherwise, the offset file offset1 of the next file slice in the file is calculated. Copylen then equals the smaller of (fileoffset1-offset) and len.
Step 402: and forming a character string according to the name of the file name in the step 30 and the fileoffset in the step 401, and generating a key value through a hash function.
Step 403: and traversing in the global hash table according to the key value in the step 402, and if the key value is hit, directly executing the step 407.
Step 404: and if the version file of the partitioned cache region is not hit, selecting a proper partitioned cache region for replacement by using a replacement algorithm.
The replacement algorithm may adopt the least recently used method, and may also adopt other replacement algorithms.
Step 405: and reading the specified file offset fileoffset on the flash device in the memory of the main control board and the fragment with the length of blocksize to the fragment cache area selected in the step 404 through the NFS server, and updating the content of the corresponding hash table.
Step 406: and copying the content with the length of copylen in the selected slice cache area from the offset copyoffset to the address specified by the request in the step 30. And updates offset and len.
Wherein the offset needs to be added with copylen. The lens is subtracted from copylen.
Step 407: and judging whether the current request data is finished. Not completed, the process jumps to step 402 to continue execution.
In summary, a multi-type CPE type approach in accordance with the present invention. The line card of the local side equipment of the network element can complete the function of updating the parallel versions of various types of CPE under the condition of memory limitation. And the NFS is used for acquiring the file content from the main control board, and the line card can quickly acquire the fragments of the file content. The parallel upgrading speed of various CPEs is ensured. The method not only reduces the occupation of the memory at the line card side, but also improves the experience of the user on the CPE automatic version updating function.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
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 (9)
1. A method for upgrading versions of CPE in parallel is characterized by comprising the following steps:
the line card receives a request of a version file fragment sent by at least one CPE, wherein the request at least comprises the name of the file fragment and the deviant of the file fragment, and a corresponding request address index is generated according to the name of the file fragment and the deviant of the file fragment contained in the request;
the line card matches the request address index according to a locally stored address index table, and transmits the file fragmentation content stored in the fragmentation cache region corresponding to the successfully matched address index to the requested CPE; or,
when the matching is not successful, the line card acquires corresponding file fragment contents from a main control board according to a request sent by the CPE, stores the file fragment contents to the local and sends the file fragment contents to the requested CPE; and adding the request address index as an address index new record into the address index table, and establishing a corresponding relation between the new record and the stored corresponding file fragment content.
2. The method of claim 1, wherein each of the tile buffers is set to a fixed size.
3. The CPE parallel version upgrade method according to claim 1, wherein the address index is a key value generated by a hash function according to the name of the file fragment and the offset value of the file fragment.
4. The method for upgrading the version of the CPE in parallel as claimed in claim 1, wherein before storing the acquired file fragment locally, the method further comprises:
judging the sizes of the acquired file fragment contents and a local current idle fragment cache area, releasing a fragment cache area corresponding to part of original file fragment contents when the acquired file fragment contents are judged to be large, storing the acquired file fragment contents into the released fragment cache area, replacing an address index directory corresponding to the released fragment cache area with a corresponding new directory, and directly storing the acquired file fragment contents into the fragment cache area when the acquired file fragment contents are judged to be small.
5. The method for upgrading the version of the CPE in parallel according to claim 4, wherein the releasing of the fragment cache area corresponding to the fragment content of the partial original file specifically includes:
and selecting the partitioned cache area needing to be released in a least-recently-used selection mode.
6. The method for upgrading the version of the CPE in parallel according to claim 1, wherein the line card obtains the corresponding file fragmentation content from the main control board according to the request sent by the CPE, specifically:
the line card can acquire corresponding file fragment contents from the main control board through a network file system NFS or a File Transfer Protocol (FTP), and when the line card acquires the corresponding file fragment contents through the FTP, the main control board provides FTP service and supports a breakpoint continuous transmission function.
7. A realization system of CPE parallel upgrade version is based on local side net element equipment and customer premises equipment CPE, the local side net element equipment includes a line card and a main control board,
the CPE is used for sending a request of version file fragmentation, wherein the request at least comprises the name of the file fragmentation and the deviant of the file fragmentation, and receives the file fragmentation content corresponding to the request returned by the line card;
the line card is used for matching a request address index generated according to the name of the file fragment and the size of the file fragment in the request with a locally stored address index table and sending the file fragment content stored in the fragment cache region corresponding to the successfully matched address index to the requesting CPE; when the matching is not successful, according to the request sent by the CPE, the corresponding file fragment content is obtained from the main control board, stored to the local and sent to the requested CPE; and also for the purpose of,
adding the request address index serving as an address index new record into the address index table, and establishing a corresponding relation between the new record and the stored corresponding file fragment content;
and the main control board sends corresponding file fragment contents to the line card according to the request sent by the CPE when the matching is not successful.
8. The system for implementing a CPE parallel upgrade version of claim 7, wherein the line card is further configured to:
judging the sizes of the acquired file fragment content and a local current idle fragment cache area, if the acquired file fragment content is judged to be large, releasing part of the fragment cache area corresponding to the stored original file fragment content, storing the acquired file fragment content into the released fragment cache area, replacing an address index directory corresponding to the released fragment cache area with a corresponding new directory, judging that the acquired file fragment content is small, and directly storing the acquired file fragment content into the fragment cache area.
9. The system for implementing a CPE parallel upgrade version as claimed in claim 7 or 8, wherein the line card is further provided with a fragmentation buffer module and a CPE management module,
the fragment cache region module is used for managing the division and the setting of the fragment cache region, wherein the setting comprises generating a key value through the file name and the file offset of the file fragment content stored in the fragment cache region; and the number of the first and second groups,
replacing file fragmentation content in the fragmentation cache, managing the address index and updating a hash table;
the CPE management module is used for receiving a file fragment request sent by the CPE, the request at least comprises the name of the file fragment and the size of the file fragment, and an address index is generated by the fragment name and the file offset in the request; but also for the purpose of,
and sending the file fragment content corresponding to the CPE sending request in the fragment cache region to the CPE.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110167200.2A CN102298527B (en) | 2011-06-21 | 2011-06-21 | A kind of method of CPE parallel upgrades version and realize system |
PCT/CN2012/072857 WO2012174907A1 (en) | 2011-06-21 | 2012-03-22 | Method and implementation system for upgrading customer premises equipment (cpe) versions in parallel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110167200.2A CN102298527B (en) | 2011-06-21 | 2011-06-21 | A kind of method of CPE parallel upgrades version and realize system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102298527A CN102298527A (en) | 2011-12-28 |
CN102298527B true CN102298527B (en) | 2017-03-15 |
Family
ID=45358965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110167200.2A Active CN102298527B (en) | 2011-06-21 | 2011-06-21 | A kind of method of CPE parallel upgrades version and realize system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102298527B (en) |
WO (1) | WO2012174907A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298527B (en) * | 2011-06-21 | 2017-03-15 | 中兴通讯股份有限公司 | A kind of method of CPE parallel upgrades version and realize system |
CN104899053A (en) * | 2014-09-12 | 2015-09-09 | 安徽南瑞中天电力电子有限公司 | Remote upgrading method for power utilization information acquisition terminal |
CN106254440B (en) * | 2016-07-29 | 2019-12-06 | 杭州迪普科技股份有限公司 | AP upgrading method and device |
CN111309471B (en) * | 2018-12-11 | 2024-02-09 | 迈普通信技术股份有限公司 | Data processing method, device and distributed system |
CN111651407B (en) * | 2020-04-16 | 2024-10-01 | 广州南方卫星导航仪器有限公司 | Original observation data recording method, electronic equipment, storage medium and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877650A (en) * | 2010-05-20 | 2010-11-03 | 中兴通讯股份有限公司 | Method and system for updating software version automatically |
TW201208297A (en) * | 2010-08-12 | 2012-02-16 | Hon Hai Prec Ind Co Ltd | Customer premises equipment and method for updating equipment parameters of the customer premises equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100530186C (en) * | 2006-12-26 | 2009-08-19 | 腾讯科技(深圳)有限公司 | Method and system for processing buffer |
CN102055608A (en) * | 2009-11-04 | 2011-05-11 | 中国联合网络通信集团有限公司 | CPE (customer premise equipment) updating method, device and system |
KR20110068098A (en) * | 2009-12-15 | 2011-06-22 | 삼성전자주식회사 | Software upgrade apparatus and method of customer premise equipment |
CN102298527B (en) * | 2011-06-21 | 2017-03-15 | 中兴通讯股份有限公司 | A kind of method of CPE parallel upgrades version and realize system |
-
2011
- 2011-06-21 CN CN201110167200.2A patent/CN102298527B/en active Active
-
2012
- 2012-03-22 WO PCT/CN2012/072857 patent/WO2012174907A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877650A (en) * | 2010-05-20 | 2010-11-03 | 中兴通讯股份有限公司 | Method and system for updating software version automatically |
TW201208297A (en) * | 2010-08-12 | 2012-02-16 | Hon Hai Prec Ind Co Ltd | Customer premises equipment and method for updating equipment parameters of the customer premises equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102298527A (en) | 2011-12-28 |
WO2012174907A1 (en) | 2012-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102298527B (en) | A kind of method of CPE parallel upgrades version and realize system | |
EP2266043B1 (en) | Cache optimzation | |
US8068512B2 (en) | Efficient utilization of cache servers in mobile communication system | |
US10834191B2 (en) | Collaboration data proxy system in cloud computing platforms | |
CN106254561B (en) | real-time off-line downloading method and system for network resource file | |
EP2418809A1 (en) | Method and apparatus for processing and updating service contents in a distributed file system | |
CN109254733A (en) | Methods, devices and systems for storing data | |
US20110202633A1 (en) | Cache server control device, content distribution system, method of distributing content, and program | |
CN111221469B (en) | Method, device and system for synchronizing cache data | |
CN108566370B (en) | Method and device for returning data to source | |
CN107197359B (en) | Video file caching method and device | |
CN113032335A (en) | File access method, device, equipment and storage medium | |
CN108959122A (en) | A kind of store method, device and the terminal of upgrade package downloading | |
CN111054067A (en) | Game archive file storage method, electronic device and storage medium | |
CN103227826A (en) | Method and device for transferring file | |
JP2001218125A (en) | Memory management method for television receiver and the television receiver | |
CN105320676A (en) | Customer data query service method and device | |
CN110895515A (en) | Memory cache management method, multimedia server and computer storage medium | |
CN109582233A (en) | A kind of caching method and device of data | |
WO2016090985A1 (en) | Cache reading method and apparatus, and cache reading processing method and apparatus | |
CN106022161B (en) | A kind of data processing method and device | |
CN104850431A (en) | Stabilizing treatment method and device based on FOTA (Firmware Over-The-Air) upgrading | |
CN102291620A (en) | Content issuing and content obtaining method, content issuing device and content spreading system | |
US20120200951A1 (en) | Content duplication device and content duplication system | |
CN101819589B (en) | Method and device for controlling file to be input into/output from cache |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |