CN109995840A - CDN method of data synchronization, device, equipment and computer storage medium - Google Patents
CDN method of data synchronization, device, equipment and computer storage medium Download PDFInfo
- Publication number
- CN109995840A CN109995840A CN201810001690.0A CN201810001690A CN109995840A CN 109995840 A CN109995840 A CN 109995840A CN 201810001690 A CN201810001690 A CN 201810001690A CN 109995840 A CN109995840 A CN 109995840A
- Authority
- CN
- China
- Prior art keywords
- node
- content
- destination node
- location information
- data
- 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.)
- Pending
Links
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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0022—Control or signalling for completing the hand-off for data sessions of end-to-end connection for transferring data sessions between adjacent core network technologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of content distributing network (CDN) method of data synchronization, device, equipment and computer storage mediums.The described method includes: obtaining the content metadata of first node;The content metadata includes the location information of the first node;The location information that destination node is determined based on the location information, the location information based on the destination node synchronize the content-data of the first node to destination node instruction.
Description
Technical field
The present invention relates to Internet technologies, and in particular to a kind of content distributing network (CDN, Content Delivery
Network) method of data synchronization, device, equipment and computer storage medium.
Background technique
CDN is made of the node server disposed in network different zones, one on existing internet layer
Stacking network, can be by the content distribution in source server in the node server nearest apart from user, and can real-time basis
The connection of network flow and each node, load state and the request of user is re-directed to integrated informations such as the distances of user
To optimal node server.Content needed for family obtains nearby can be used in CDN, effectively promotes user's access speed, reduces network
Flow attack accelerates service deployment, has become the important infrastructure of internet and Operator Specific Service, is widely adopted.When
Preceding traditional backbone network CDN major deployments are saving net, as shown in Figure 1.
With the growth of userbase and network flow, CDN node is continued to sink down into Metropolitan Area Network (MAN) or even be connect by province's net core
It networks, has become industry common recognition closer to the position of user.As shown in Fig. 2, base station side/RAN is that mobile network disposes most
Edge sinks down into base station side by CDN node, and the internet access that mobile subscriber initiates can be directly hit in marginal position,
Experience is accessed so as to further promote mobile subscriber, mitigates flow and returns pressure.
When CDN node sinks down into base station side, since the content storage between node depends on the access feelings of local user
Condition causes user so other nodes newly accessed after switching may not store Current Content when user terminal switches
Access is not hit by, and the node newly cut at this time needs superior node or source website to re-initiate request, is caused to cause
The problems such as access time increases, and user experience is affected, seriously reduces the validity of CDN service.Therefore, how in movement
CDN base station side carries out mobile management, and when user occurs to switch between base station/cell, guarantee business is not interrupted, the prior art
In, it there is no effective solution at present.
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of CDN method of data synchronization, device, sets
Standby and computer storage medium.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of CDN method of data synchronization, which comprises
Obtain the content metadata of first node;The content metadata includes the location information of the first node;
The location information that destination node is determined based on the location information, the location information based on the destination node is to institute
State the content-data that destination node instruction synchronizes the first node.
In above scheme, the location information based on the destination node synchronizes described the to destination node instruction
The content-data of one node, comprising:
Location information based on the destination node sends synchronic command to the destination node, so that the destination node
Synchronizing content data are requested to the first node based on the synchronic command.
In above scheme, the location information based on the destination node synchronizes described the to destination node instruction
The content-data of one node, comprising: the location information based on the destination node sends synchronic command to the destination node;
The content-data synchronization request of the destination node is obtained, is based on the content-data synchronization request to the purpose
Node synchronizing content data.
In above scheme, the location information that destination node is determined based on the location information, comprising:
Based on the mapping relations of place information inquiry storage, the associated destination node of the location information is obtained
Location information;Wherein, the corresponding cell of the destination node is the adjacent cell of the corresponding cell of the first node.
In above scheme, the location information that destination node is determined based on the location information, comprising:
The location information of the associated destination node of the location information, the destination node pair are determined based on preset strategy
The region answered is terminal destination region to be moved.
In above scheme, the content metadata further includes content information;The position letter based on the destination node
Cease the content-data that the first node is synchronized to destination node instruction, comprising:
Judge whether to meet synchronous condition based on the content information;When determination meets synchronous condition, it is based on the mesh
The location information of node synchronize the content-data of the first node to destination node instruction.
The embodiment of the invention also provides a kind of CDN data synchronization unit, described device includes: acquiring unit, determines list
Member and synchronization unit;Wherein,
The acquiring unit, for obtaining the content metadata of first node;The content metadata includes first node
Location information;
The determination unit, the location information for being obtained based on the acquiring unit determine the position of destination node
Information;
The synchronization unit, the location information of the destination node determined for unit based on the determination is to the mesh
Node instruction synchronize the content-data of the first node.
In above scheme, the synchronization unit, for the location information based on the destination node to the destination node
Synchronic command is sent, so that the destination node, which is based on the synchronic command, requests synchronizing content data to the first node.
In above scheme, the synchronization unit, for the location information based on the destination node to the destination node
Send synchronic command;The content-data synchronization request of the destination node is obtained, is based on the content-data synchronization request to institute
State destination node synchronizing content data.
In above scheme, the determination unit, the mapping relations for being stored based on the place information inquiry obtain institute
The location information of the associated destination node of rheme confidence manner of breathing;Wherein, the corresponding cell of the destination node is the first segment
The adjacent cell of the corresponding cell of point.
In above scheme, the determination unit, for determining the associated purpose of the location information based on preset strategy
The location information of node, the corresponding region of the destination node are terminal destination region to be moved.
In above scheme, the content metadata further includes content information;
The determination unit is also used to judge whether to meet synchronous condition based on the content information;
The synchronization unit, for when the determination unit determine meet synchronous condition when, based on the destination node
Location information synchronizes the content-data of the first node to destination node instruction.
The embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer instruction, the instruction quilt
The step of the method for the embodiment of the present invention is realized when processor executes.
The embodiment of the invention also provides a kind of CDN data synchronization unit, including memory, processor and it is stored in storage
On device and the computer program that can run on a processor, the processor realize institute of the embodiment of the present invention when executing described program
The step of stating method.
The embodiment of the invention also provides a kind of node device, the node includes CDN number described in the embodiment of the present invention
According to synchronizing device.
The embodiment of the invention also provides a kind of content registration unit, the node includes described in the embodiment of the present invention
CDN data synchronization unit.
CDN method of data synchronization, device, equipment and computer storage medium provided in an embodiment of the present invention, the method
It include: the content metadata for obtaining first node;The content metadata includes the location information of the first node;Based on institute
The location information that location information determines destination node is stated, the location information based on the destination node is indicated to the destination node
Synchronize the content-data of the first node.Using the technical solution of the embodiment of the present invention, pass through the automation pipe of content-data
Reason and synchronization mechanism guarantee the continuity of business, improve the experience of user when user switches base station or cell.
Detailed description of the invention
Fig. 1 is CDN group-network construction schematic diagram;
Fig. 2 is the overall network architecture schematic diagram of CDN base station side deployment;
Fig. 3 is the flow diagram of the CDN method of data synchronization of the embodiment of the present invention one;
Fig. 4 is the flow diagram of the CDN method of data synchronization of the embodiment of the present invention two;
Fig. 5 is the flow diagram of the CDN method of data synchronization of the embodiment of the present invention three;
Fig. 6 is the logical architecture schematic diagram of the CDN data synchronization unit of the embodiment of the present invention;
Fig. 7 is the composed structure schematic diagram of the CDN data synchronization unit of the embodiment of the present invention;
Fig. 8 is the hardware composed structure schematic diagram of the CDN data synchronization unit of the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
Embodiment one
The embodiment of the invention provides a kind of CDN method of data synchronization.Fig. 3 is that the CDN data of the embodiment of the present invention one are same
The flow diagram of one step process;As shown in Figure 3, which comprises
Step 101: obtaining the content metadata of first node;The content metadata includes the position of the first node
Information.
Step 102: the location information of destination node is determined based on the location information, the position based on the destination node
Information synchronizes the content-data of the first node to destination node instruction.
The CDN method of data synchronization of the embodiment of the present invention is applied in CDN data synchronization unit, CDN data synchronization unit
Data interaction is carried out with CDN node, CDN node reports the user content data of this node to CDN data synchronization unit, by CDN
Data synchronization unit collects user content data, it will be understood that node in the present embodiment (including first node and mesh
Node) be CDN node server.Wherein, CDN node specifically can be edge as shown in Figure 2 (Edge) CDN section
Point, namely the CDN node positioned at base station side.
In the present embodiment, CDN data synchronization unit can be realized at least through following two mode, and a kind of mode is CDN number
It is located in first node according to synchronizing device, it will be understood that CDN data synchronization unit is all had in each node, it can between node
Data interaction is carried out by CDN data synchronization unit, that is, the content metadata for obtaining first node, comprising: first segment
Point obtains the content metadata of itself;Another way is, CDN data synchronization unit be located at content registration unit (MCR,
Mobile Content Register Unit) in, it will be understood that MCR is realized by new node server.
In the present embodiment, by node be first node for, first node have content analysis, content metadata generate,
Interface reports, issues function, specifically, first node can terminal situation to current service and terminal access situation carry out it is real
When tracking and statistics, additionally it is possible to according to the service ability of node itself, memory capacity, obtained in hot spot data by algorithm equilibrium
The information of appearance;In addition, for the business of bulky grain degree, it is desirable to be able to support to arrive the information of URL and file-level;Finally, node
Be stored with present position mark (such as node identification, Base Station Identification, cell ID, node position information in
At least one mark), generate the content metadata of packet content information and location information.Wherein, the content metadata includes
The location information of first node, the location information of the first node can specifically pass through the node identification of the first node,
At least one of cell ID, first node position where the associated Base Station Identification of one node, first node information
It indicates, the node identification is specifically as follows node ID.
As an implementation, the location information that destination node is determined based on the location information, comprising: be based on
The mapping relations of the place information inquiry storage, obtain the location information of the associated destination node of the location information;Its
In, the corresponding cell of the destination node is the adjacent cell of the corresponding cell of the first node.
As another embodiment, the location information that destination node is determined based on the location information, comprising: base
The location information of the associated destination node of the location information is determined in preset strategy, and the corresponding region of the destination node is
Terminal destination region to be moved.
In the embodiment of the present invention, determine that the location information of destination node can specifically pass through based on the location information of first node
Two ways is realized:
A kind of mode be in advance include mapping relations in CDN data synchronization unit, the mapping relations may include node with
The mapping relations of base station, the mapping relations of base station base station adjacent thereto;Alternatively, the mapping relations include: that node and base station are small
The mapping relations of the mapping relations in area, base station cell cell adjacent thereto.After the location information for then obtaining the first node, tool
After body is the node identification for obtaining the first node, the mapping relations are inquired, obtain the node mark with the first node
Sensible corresponding base station information further obtains target BS information associated with the base station information;Or obtain and institute
The corresponding base station cell information of node identification of first node is stated, is further obtained associated with the base station cell information
Target BS cell information.It is to be understood that target BS is the adjacent all base stations in base station where the first node, or
Target BS cell is the adjacent all base station cells of cell where the first node;
It may include the path data of user in another embodiment, in CDN data synchronization unit;Under normal conditions, greatly
The movement routine of most users has certain regularity, such as workaday path is mostly family-company-family etc., then fills
The movement routine of terminal can be predicted based on the path data of acquisition, binding time by setting, and determine that terminal works as proparea leaving
Another region that will be reached behind domain, so that it is determined that the purpose base station information of terminal.This mode is not necessarily to content-data is synchronous
To all nodes, content-data is only synchronized to the corresponding node in region that terminal may be moved to, can be improved synchronous and is deposited
Store up efficiency.In practical application, purpose base station information, the number of determining purpose base station information can be determined by way of probability statistics
Amount can be at least one.
In the present embodiment, the position letter of the destination node of acquisition can be indicated by destination address.
In the present embodiment, as an implementation, the location information based on the destination node is to the purpose
Node indicates to synchronize the content-data of the first node, comprising: the location information based on the destination node is to the purpose
Node sends synchronic command, so that the destination node, which is based on the synchronic command, requests synchronizing content number to the first node
According to.
In present embodiment, CDN data synchronization unit is located in MCR, i.e., CDN data synchronization unit is taken by new node
Business device is realized.Then location information of the CDN data synchronization unit based on the destination node synchronizes to destination node transmission and refers to
It enables, so that the destination node requests synchronizing content data to the first node.
As another embodiment, the location information based on the destination node is same to destination node instruction
Walk the content-data of the first node, comprising: the location information based on the destination node sends same to the destination node
Step instruction;The content-data synchronization request of the destination node is obtained, is based on the content-data synchronization request to the purpose
Node synchronizing content data.
In present embodiment, CDN data synchronization unit is located in first node, then first node is based on the destination node
Location information to the destination node send synchronic command;Content-data synchronization request is issued based on destination node, described the
One node obtains the content-data synchronization request of the destination node, is based on the content-data synchronization request to the purpose section
Point synchronizing content data.
Based on this, in the case where terminal is moved to new cell, the node of new camupus side obtains in advance and stores terminal visit at this time
When the content-data asked, then the content-data directly can provide service for terminal, and user can be quickly obtained the content-data of access,
To improve the service ability of CDN system, the experience of user is improved.
In one embodiment, the content metadata further includes content information;The position based on the destination node
Information synchronizes the content-data of the first node to destination node instruction, comprising: is based on content information judgement
It is no to meet synchronous condition;When determining that the location information based on the destination node is to the destination node when meeting synchronous condition
Instruction synchronizes the content-data of the first node.
In the present embodiment, synchronization policy, for example synchronous hot spot of the synchronization policy are pre-configured in CDN data synchronization unit
Content-data;The Hot Contents data are specifically as follows the content-data that access number reaches preset threshold.Then obtain first
After the content metadata of node, analysis identifies that the content metadata obtains the content information that the content metadata includes;Institute
State the access information that content information may include terminal user, such as the website of access, the type of service of access etc..With described same
Step strategy is synchronous Hot Contents data instance, then CDN data synchronization unit analyzes the content information, judges the content information
Whether corresponding content-data is hot spot data;If hot spot data, then CDN data synchronization unit is based on the destination node
Location information synchronizes the content-data of the first node to destination node instruction;Correspondingly, if not hot spot data, then
CDN data synchronization unit is not necessarily to indicative purpose node synchronizing content data.
Using the technical solution of the embodiment of the present invention, automatic management and synchronization mechanism by content-data, in user
When switching base station or cell, guarantees the continuity of business, improve the experience of user.
Embodiment two
The embodiment of the invention also provides a kind of CDN method of data synchronization, the CDN method of data synchronization is applied to MCR
In.Fig. 4 is the flow diagram of the CDN method of data synchronization of the embodiment of the present invention two;As shown in Figure 4, which comprises
Step 201: user accesses the corresponding node in region by user equipment (UE, User Equipment), this
In assume accessed node A.
Step 202: node A generates content metadata according to the access data of UE, may include interior in the content metadata
Hold information and location information;Wherein, the location information may include node ID, can also include the cell ID (CELL_ at place
ID)。
Step 203: node A sends content metadata to MCR.
On the one hand step 204:MCR (may also include the cell where terminal based on the node ID carried in content metadata
ID it) is verified, determines that access data are normal;On the other hand, destination node information is determined based on location information;The third aspect,
It is synchronous with synchronization policy to determine whether data content needs based on content information.
Wherein it is determined that destination node information can be the adjacent base station corresponding destination node letter of node A own base station
The corresponding destination node information in neighboring community of breath or the place node A cell.In another embodiment, determining mesh
Nodal information can also be the corresponding nodal information in region that terminal may be moved to.In the present embodiment, it is assumed that determining mesh
Nodal information correspond to node B and node C.
Step 205:MCR sends synchronic command to node B and node C respectively.
Step 206: node B is based on synchronic command to Node A requests data content, and node A is same by the data content of the UE
It walks to node B.On the other hand, node C can be based on synchronic command to the data content of content center requests UE;Content center tool
Body is server belonging to UE access business, for example, UE, which accesses a webpage, plays video, then content center can be this access
The server of corresponding network belonging.Then content center can be by the synchronization of data content of the UE to node C.It is appreciated that node
Can be to start node request data content, it can also be to data content source (such as content center) request data content.
Step 207: with the movement of UE, UE switches to the coverage area of another base station.Correspondingly, the node of UE access
Accordingly switched, it is assumed here that accessed node switches to node B.
Step 208:UE is to Node B requests data content, in the case where node B is to request and obtain data content, section
Point B is stored with the data content of UE.
Step 209:UE obtains data content from node B.
Embodiment three
The embodiment of the invention also provides a kind of CDN method of data synchronization, the CDN method of data synchronization is applied to node
In.Fig. 5 is the flow diagram of the CDN method of data synchronization of the embodiment of the present invention three;As shown in Figure 5, which comprises
Step 301: user accesses the corresponding node in region by UE, it is assumed here that accessed node A.
Step 302: node A generates content metadata according to the access data of UE, may include interior in the content metadata
Hold information and location information;Wherein, the location information may include node ID, can also include the cell ID (CELL_ at place
ID)。
Step 303: on the one hand based on the node ID (may also include the cell ID where terminal) carried in content metadata
It is verified, determines that access data are normal;On the other hand, destination node information is determined based on location information;The third aspect is based on
It is synchronous that content information with synchronization policy determines whether data content needs.
Wherein it is determined that destination node information can be the adjacent base station corresponding destination node letter of node A own base station
The corresponding destination node information in neighboring community of breath or the place node A cell.In another embodiment, determining mesh
Nodal information can also be the corresponding nodal information in region that terminal may be moved to.In the present embodiment, it is assumed that determining mesh
Nodal information correspond to node B and node C.
Step 304: node A sends synchronic command to node B and node C respectively.
Step 305: node B is based on synchronic command to Node A requests data content, and node A is same by the data content of the UE
It walks to node B.On the other hand, node C can be based on synchronic command to the data content of content center requests UE;Content center tool
Body is server belonging to UE access business, for example, UE, which accesses a webpage, plays video, then content center can be this access
The server of corresponding network belonging.Then content center can be by the synchronization of data content of the UE to node C.It is appreciated that node
Can be to start node request data content, it can also be to data content source (such as content center) request data content.
Step 306: with the movement of UE, UE switches to the coverage area of another base station.Correspondingly, the node of UE access
Accordingly switched, it is assumed here that accessed node switches to node B.
Step 307:UE is to Node B requests data content, in the case where node B is to request and obtain data content, section
Point B is stored with the data content of UE.
Step 308:UE obtains data content from node B.
By foregoing description, Fig. 6 is the logical architecture schematic diagram of the CDN data synchronization unit of the embodiment of the present invention;Such as Fig. 6
Shown, CDN data synchronization unit includes at least content managing module, shift strategy module, content synchronization module and content deposit
Node/base station information storage services module;Wherein,
Content managing module is mainly used for obtaining the content metadata of node, and analysis obtains content information and location information;
Shift strategy module, is mainly used for track terminal, is analyzed according to the historical path of terminal, may arrive to terminal
The position reached predicted, the synchronous destination node location of intelligent decision;
Content synchronization module is mainly used for carrying out destination node the active synchronization of content, issues synchronic command;
Content deposits node/base station information storage services module, is mainly used for storage mapping relationship, which can wrap
Include at least one of following mapping relations: the adjoining between the mapping pass of CDN node ID and base station LAC, Cell-ID, Cell-ID
Mapping relations between relationship, Cell-ID and corresponding position region.
When CDN data synchronization unit is realized by MCR, CDN data synchronization unit further includes intercommunication interface module, mainly
For carrying out data interaction with node.
Example IV
The embodiment of the invention also provides a kind of CDN data synchronization unit, Fig. 7 is that the CDN data of the embodiment of the present invention are same
Walk the composed structure schematic diagram of device;As shown in fig. 7, described device includes: acquiring unit 41, determination unit 42 and synchronization unit
43;Wherein,
The acquiring unit 41, for obtaining the content metadata of first node;The content metadata includes first segment
The location information of point;
The determination unit 42, the location information for being obtained based on the acquiring unit 41 determine destination node
Location information;
The synchronization unit 43, the location information of the destination node determined for unit 42 based on the determination is to institute
State the content-data that destination node instruction synchronizes the first node.
In one embodiment, the synchronization unit 43, for the location information based on the destination node to the purpose
Node sends synchronic command, so that the destination node, which is based on the synchronic command, requests synchronizing content number to the first node
According to.
In another embodiment, the synchronization unit 43, for the location information based on the destination node to the mesh
Node send synchronic command;The content-data synchronization request for obtaining the destination node, is synchronized based on the content-data and is asked
It asks to the destination node synchronizing content data.
As an implementation, the determination unit 42, the mapping for being stored based on the place information inquiry are closed
System, obtains the location information of the associated destination node of the location information;Wherein, the corresponding cell of the destination node is institute
State the adjacent cell of the corresponding cell of first node.
As another embodiment, the determination unit 42, for determining the location information phase based on preset strategy
The location information of associated destination node, the corresponding region of the destination node are terminal destination region to be moved.
In one embodiment, the content metadata further includes content information;
The determination unit 42 is also used to judge whether to meet synchronous condition based on the content information;
The synchronization unit 43, for being based on the purpose section when the determination unit 42 determines and meets synchronous condition
The location information of point synchronizes the content-data of the first node to destination node instruction.
In the embodiment of the present invention, determination unit 42 in the CDN data synchronization unit in practical applications can be by center
Processor (CPU, Central Processing Unit), digital signal processor (DSP, Digital Signal
Processor), micro-control unit (MCU, Microcontroller Unit) or programmable gate array (FPGA, Field-
Programmable Gate Array) it realizes;Synchronization unit 43 in the CDN data synchronization unit, in practical applications may be used
Pass through communications module (including: Base communication external member, operating system, communication module, standard interface and agreement etc.) and transmitting-receiving day
Line is realized;Acquiring unit 41 in the CDN data synchronization unit, in one embodiment can by CPU, DSP, MCU or
FPGA is realized, can (include: Base communication external member, operating system, communication mould by communications module in another embodiment
Block, standard interface and agreement etc.) and dual-mode antenna realization.
It should be understood that CDN data synchronization unit provided by the above embodiment carry out data it is synchronous when, only with above-mentioned
The division progress of each program module can according to need for example, in practical application and distribute above-mentioned processing by different
Program module is completed, i.e., the internal structure of device is divided into different program modules, with complete it is described above whole or
Part is handled.In addition, CDN data synchronization unit provided by the above embodiment belong to CDN method of data synchronization embodiment it is same
Design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
The embodiment of the invention also provides a kind of node device, the node device is specially CDN node server;It is described
Node device includes the CDN data synchronization unit of the embodiment of the present invention, and the comprising modules of the node device can refer to aforementioned CDN
The description of data synchronization unit, which is not described herein again.
The embodiment of the invention also provides a kind of MCR, the MCR includes the CDN data synchronization unit of the embodiment of the present invention,
The comprising modules of the MCR can refer to the description of aforementioned CDN data synchronization unit, and which is not described herein again.
Embodiment five
The embodiment of the invention also provides a kind of CDN data synchronization unit, Fig. 8 is that the CDN data of the embodiment of the present invention are same
The hardware composed structure schematic diagram for walking device, as shown in figure 8, CDN data synchronization unit includes memory 72, processor 71 and deposits
The computer program that can be run on memory 72 and on processor 71 is stored up, the processor 71 executes real when described program
It is existing: to obtain the content metadata of first node;The content metadata includes the location information of the first node;Based on described
Location information determines the location information of destination node, and the location information based on the destination node is same to destination node instruction
Walk the content-data of the first node.
In one embodiment, it is realized when the processor 71 executes described program: the position letter based on the destination node
It ceases to the destination node and sends synchronic command, so that the destination node is based on the synchronic command and asks to the first node
It seeks common ground and walks content-data.
In one embodiment, it is realized when the processor 71 executes described program: the position letter based on the destination node
It ceases to the destination node and sends synchronic command;The content-data synchronization request of the destination node is obtained, the content is based on
Data synchronization request is to the destination node synchronizing content data.
In one embodiment, it realizes when the processor 71 executes described program: being stored based on the place information inquiry
Mapping relations, obtain the location information of the associated destination node of the location information;Wherein, the destination node is corresponding
Cell is the adjacent cell of the corresponding cell of the first node.
In one embodiment, it is realized when the processor 71 executes described program: the position is determined based on preset strategy
The location information of the associated destination node of information, the corresponding region of the destination node are terminal destination region to be moved.
In one embodiment, it is realized when the processor 71 executes described program: including based on the content metadata
Content information judges whether to meet synchronous condition;When determination meets synchronous condition, the location information based on the destination node
The content-data of the first node is synchronized to destination node instruction.
It is appreciated that further including communication interface 73 and bus system 74, the synchronous dress of CDN data in CDN data synchronization unit
Various components in setting are coupled by bus system 74.It is understood that bus system 74 is for realizing between these components
Connection communication.Bus system 74 further includes that power bus, control bus and status signal are total in addition to including data/address bus
Line.But for the sake of clear explanation, various buses are all designated as bus system 74 in fig. 8.
It is appreciated that memory 72 can be volatile memory or nonvolatile memory, may also comprise volatibility and
Both nonvolatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory),
Programmable read only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM
(EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory
The storage of (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access
Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited
Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be
Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access
Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as
Static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory
(SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM,
Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous
Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM,
Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random
Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links
Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus
Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited
Reservoir 72 is intended to include but is not limited to the memory of these and any other suitable type.
The method that the embodiments of the present invention disclose can be applied in processor 71, or be realized by processor 71.Place
Managing device 71 may be a kind of IC chip, the processing capacity with signal.During realization, each step of the above method
It can be completed by the integrated logic circuit of the hardware in processor 71 or the instruction of software form.Above-mentioned processor 71 can
To be general processor, DSP or other programmable logic device, discrete gate or transistor logic, discrete hardware group
Part etc..Processor 71 may be implemented or execute disclosed each method, step and logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or any conventional processor etc..The step of the method in conjunction with disclosed in the embodiment of the present invention
Suddenly, hardware decoding processor can be embodied directly in and execute completion, or with the hardware and software module group in decoding processor
Conjunction executes completion.Software module can be located in storage medium, which is located at memory 72, and processor 71 reads storage
Information in device 72, in conjunction with the step of its hardware completion preceding method.
Embodiment six
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer storage mediums, for example including calculating
The memory 72 of machine program, above-mentioned computer program can be executed by the processor 71 of CDN data synchronization unit, to complete aforementioned side
Step described in method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic
The memories such as memory surface, CD or CD-ROM;It is also possible to include that one of above-mentioned memory or the various of any combination set
It is standby, such as mobile phone, computer, tablet device, personal digital assistant.
Computer storage medium provided in an embodiment of the present invention, is stored thereon with computer instruction, and the instruction is by processor
It is realized when execution: obtaining the content metadata of first node;The content metadata includes the location information of the first node;
The location information that destination node is determined based on the location information, the location information based on the destination node is to the purpose section
Point instruction synchronizes the content-data of the first node.
In one embodiment, realization when which is executed by processor: the location information based on the destination node is to institute
It states destination node and sends synchronic command, request to synchronize to the first node so that the destination node is based on the synchronic command
Content-data.
In one embodiment, realization when which is executed by processor: the location information based on the destination node is to institute
It states destination node and sends synchronic command;The content-data synchronization request of the destination node is obtained, it is same based on the content-data
Step is requested to the destination node synchronizing content data.
In one embodiment, realization when which is executed by processor: the mapping based on place information inquiry storage
Relationship obtains the location information of the associated destination node of the location information;Wherein, the corresponding cell of the destination node is
The adjacent cell of the corresponding cell of the first node.
In one embodiment, the location information phase realization when which is executed by processor: is determined based on preset strategy
The location information of associated destination node, the corresponding region of the destination node are terminal destination region to be moved.
In one embodiment, realization when which is executed by processor: the content letter for including based on the content metadata
Breath judges whether to meet synchronous condition;When determining that the location information based on the destination node is to described when meeting synchronous condition
Destination node indicates to synchronize the content-data of the first node.
In several embodiments provided herein, it should be understood that disclosed device, device and method, it can be with
It realizes by another way.Apparatus embodiments described above are merely indicative, for example, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can be tied
It closes, or is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each group
Can be through some interfaces at the mutual coupling in part or direct-coupling or communication connection, equipment or unit it is indirect
Coupling or communication connection, can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also
To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned
Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, ROM,
The various media that can store program code such as RAM, magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product
When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.
And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (16)
1. a kind of content distributing network CDN method of data synchronization, which is characterized in that the described method includes:
Obtain the content metadata of first node;The content metadata includes the location information of the first node;
The location information that destination node is determined based on the location information, the location information based on the destination node is to the mesh
Node instruction synchronize the content-data of the first node.
2. the method according to claim 1, wherein the location information based on the destination node is to described
Destination node indicates to synchronize the content-data of the first node, comprising:
Location information based on the destination node sends synchronic command to the destination node, so that the destination node is based on
The synchronic command requests synchronizing content data to the first node.
3. the method according to claim 1, wherein the location information based on the destination node is to described
Destination node indicates to synchronize the content-data of the first node, comprising: the location information based on the destination node is to described
Destination node sends synchronic command;
The content-data synchronization request of the destination node is obtained, is based on the content-data synchronization request to the destination node
Synchronizing content data.
4. method according to any one of claims 1 to 3, which is characterized in that described to determine mesh based on the location information
Node location information, comprising:
Based on the mapping relations of place information inquiry storage, the position of the associated destination node of the location information is obtained
Information;Wherein, the corresponding cell of the destination node is the adjacent cell of the corresponding cell of the first node.
5. method according to any one of claims 1 to 3, which is characterized in that described to determine mesh based on the location information
Node location information, comprising:
The location information of the associated destination node of the location information is determined based on preset strategy, the destination node is corresponding
Region is terminal destination region to be moved.
6. method according to any one of claims 1 to 3, which is characterized in that the content metadata further includes content letter
Breath;The location information based on the destination node synchronizes the content number of the first node to destination node instruction
According to, comprising:
Judge whether to meet synchronous condition based on the content information;When determination meets synchronous condition, it is based on the purpose section
The location information of point synchronizes the content-data of the first node to destination node instruction.
7. a kind of CDN data synchronization unit, which is characterized in that described device includes: acquiring unit, determination unit and synchronous list
Member;Wherein,
The acquiring unit, for obtaining the content metadata of first node;The content metadata includes the position of first node
Confidence breath;
The determination unit, the location information for being obtained based on the acquiring unit determine the position letter of destination node
Breath;
The synchronization unit, the location information of the destination node determined for unit based on the determination is to the purpose section
Point instruction synchronizes the content-data of the first node.
8. device according to claim 7, which is characterized in that the synchronization unit, for based on the destination node
Location information sends synchronic command to the destination node, so that the destination node is based on the synchronic command to described first
Node requests synchronizing content data.
9. device according to claim 7, which is characterized in that the synchronization unit, for based on the destination node
Location information sends synchronic command to the destination node;The content-data synchronization request of the destination node is obtained, institute is based on
Content-data synchronization request is stated to the destination node synchronizing content data.
10. device according to any one of claims 7 to 9, which is characterized in that the determination unit, for based on described
The mapping relations of place information inquiry storage, obtain the location information of the associated destination node of the location information;Wherein, institute
State the adjacent cell that the corresponding cell of destination node is the corresponding cell of the first node.
11. device according to any one of claims 7 to 9, which is characterized in that the determination unit, for based on default
Strategy determines the location information of the associated destination node of location information, and the corresponding region of the destination node is waited for for terminal
Mobile destination region.
12. device according to any one of claims 7 to 9, which is characterized in that the content metadata further includes content letter
Breath;
The determination unit is also used to judge whether to meet synchronous condition based on the content information;
The synchronization unit, for when the determination unit determine meet synchronous condition when, the position based on the destination node
Information synchronizes the content-data of the first node to destination node instruction.
13. a kind of computer storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is executed by processor
The step of any one of Shi Shixian claim 1 to 6 the method.
14. a kind of CDN data synchronization unit, including memory, processor and storage can transport on a memory and on a processor
Capable computer program, which is characterized in that the processor is realized described in any one of claim 1 to 6 when executing described program
The step of method.
15. a kind of node device, which is characterized in that the node includes that the described in any item CDN data of claim 7 to 12 are same
Walk device.
16. a kind of content registration unit, which is characterized in that the node includes the described in any item CDN numbers of claim 7 to 12
According to synchronizing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810001690.0A CN109995840A (en) | 2018-01-02 | 2018-01-02 | CDN method of data synchronization, device, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810001690.0A CN109995840A (en) | 2018-01-02 | 2018-01-02 | CDN method of data synchronization, device, equipment and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109995840A true CN109995840A (en) | 2019-07-09 |
Family
ID=67128947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810001690.0A Pending CN109995840A (en) | 2018-01-02 | 2018-01-02 | CDN method of data synchronization, device, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995840A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110958656A (en) * | 2019-11-25 | 2020-04-03 | 中国联合网络通信集团有限公司 | CDN redirection method and system |
CN112333108A (en) * | 2019-08-05 | 2021-02-05 | 南京中兴新软件有限责任公司 | Service scheduling method and device |
CN112804313A (en) * | 2020-12-31 | 2021-05-14 | 杭州雾联科技有限公司 | Data synchronization method, device, equipment and medium based on cross-domain edge node |
CN113194122A (en) * | 2021-04-15 | 2021-07-30 | 厦门亿联网络技术股份有限公司 | Network disk scheduling synchronization method and system for conference recording files |
CN115174690A (en) * | 2022-09-08 | 2022-10-11 | 中国人民解放军国防科技大学 | System and method for accelerating high-flow service under weak network or broken network condition |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1170493A (en) * | 1994-10-26 | 1998-01-14 | 艾利森电话股份有限公司 | Method and apparatus for detecting and predicting motion of mobile terminals |
CN101047967A (en) * | 2006-03-30 | 2007-10-03 | 华为技术有限公司 | Method and device for processing data at switchover procedure |
CN101115007A (en) * | 2007-08-21 | 2008-01-30 | 中国科学院计算技术研究所 | Mobile switch method of wireless packet network |
CN101141815A (en) * | 2007-09-28 | 2008-03-12 | 北京航空航天大学 | Air-ground wireless link fast switching method with switch protection |
CN101741731A (en) * | 2009-12-03 | 2010-06-16 | 中兴通讯股份有限公司 | Content metadata storing, inquiring method and managing system in content delivery network (CDN) |
CN102027731A (en) * | 2008-05-20 | 2011-04-20 | 阿尔卡特朗讯美国公司 | Method and apparatus for pre-fetching data in a mobile network environment using edge data storage |
CN103369020A (en) * | 2012-03-27 | 2013-10-23 | Sk电信有限公司 | Cache synchronization system, cache synchronization method and apparatus thereof |
-
2018
- 2018-01-02 CN CN201810001690.0A patent/CN109995840A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1170493A (en) * | 1994-10-26 | 1998-01-14 | 艾利森电话股份有限公司 | Method and apparatus for detecting and predicting motion of mobile terminals |
CN101047967A (en) * | 2006-03-30 | 2007-10-03 | 华为技术有限公司 | Method and device for processing data at switchover procedure |
CN101115007A (en) * | 2007-08-21 | 2008-01-30 | 中国科学院计算技术研究所 | Mobile switch method of wireless packet network |
CN101141815A (en) * | 2007-09-28 | 2008-03-12 | 北京航空航天大学 | Air-ground wireless link fast switching method with switch protection |
CN102027731A (en) * | 2008-05-20 | 2011-04-20 | 阿尔卡特朗讯美国公司 | Method and apparatus for pre-fetching data in a mobile network environment using edge data storage |
CN101741731A (en) * | 2009-12-03 | 2010-06-16 | 中兴通讯股份有限公司 | Content metadata storing, inquiring method and managing system in content delivery network (CDN) |
CN103369020A (en) * | 2012-03-27 | 2013-10-23 | Sk电信有限公司 | Cache synchronization system, cache synchronization method and apparatus thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333108A (en) * | 2019-08-05 | 2021-02-05 | 南京中兴新软件有限责任公司 | Service scheduling method and device |
CN110958656A (en) * | 2019-11-25 | 2020-04-03 | 中国联合网络通信集团有限公司 | CDN redirection method and system |
CN112804313A (en) * | 2020-12-31 | 2021-05-14 | 杭州雾联科技有限公司 | Data synchronization method, device, equipment and medium based on cross-domain edge node |
CN113194122A (en) * | 2021-04-15 | 2021-07-30 | 厦门亿联网络技术股份有限公司 | Network disk scheduling synchronization method and system for conference recording files |
CN113194122B (en) * | 2021-04-15 | 2023-10-31 | 厦门亿联网络技术股份有限公司 | Network disk scheduling synchronization method and system for conference recording files |
CN115174690A (en) * | 2022-09-08 | 2022-10-11 | 中国人民解放军国防科技大学 | System and method for accelerating high-flow service under weak network or broken network condition |
CN115174690B (en) * | 2022-09-08 | 2022-12-23 | 中国人民解放军国防科技大学 | System and method for accelerating high-flow service under weak network or broken network condition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109995840A (en) | CDN method of data synchronization, device, equipment and computer storage medium | |
Jia et al. | Double-matching resource allocation strategy in fog computing networks based on cost efficiency | |
RU2141738C1 (en) | Method and device for detection and estimation of movement of mobile sets | |
Qazi et al. | Optimal content caching in content‐centric networks | |
Maiti et al. | QoS-aware fog nodes placement | |
CN112134959B (en) | Heterogeneous edge resource sharing method based on block chain | |
CN102711237B (en) | The method to mobile unit distribution tracing area is carried out based on location update frequencies | |
CN105517067B (en) | Switching method and system based on carrier wave polymerization | |
CN104601680B (en) | A kind of method for managing resource and device | |
CN109525426B (en) | FV-based service control system and method for open MEC platform | |
CN108495112A (en) | Data transmission method and terminal, computer storage media | |
JP2012506212A (en) | Method and system for broadcasting QoS information to support admission control in a wireless communication system | |
KR20180124419A (en) | Application excution system based on distributed cloud, apparatus and control method thereof using the system | |
CN102238202B (en) | Method and device for storing and searching index information | |
US20170171114A1 (en) | Method and apparatus for data caching in a communications network | |
JP7345645B2 (en) | A system that provides accurate communication delay guarantees for request responses to distributed services. | |
Zhang et al. | Reducing the network overhead of user mobility–induced virtual machine migration in mobile edge computing | |
CN109672698A (en) | Content distribution method, equipment and system | |
EP2442596B1 (en) | Method and apparatus for providing distributed mobility management in a network | |
CN102917287A (en) | Intelligent optical network exchange device and edge cashing method facing content center | |
TWI627872B (en) | Control method for network communication system including base station network management server and multi-access edge computing ecosystem device | |
DasBit et al. | Challenges of computing in mobile cellular environment—a survey | |
CN106304307B (en) | A kind of resource allocation methods under heterogeneous network converged | |
US20200167357A1 (en) | Query enhancement system and method for constructing elastic field based on time delay | |
Tang et al. | A WiFi‐aware method for mobile data offloading with deadline constraints |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190709 |
|
RJ01 | Rejection of invention patent application after publication |