CN104092776A - Method and system for accessing information - Google Patents

Method and system for accessing information Download PDF

Info

Publication number
CN104092776A
CN104092776A CN201410360821.6A CN201410360821A CN104092776A CN 104092776 A CN104092776 A CN 104092776A CN 201410360821 A CN201410360821 A CN 201410360821A CN 104092776 A CN104092776 A CN 104092776A
Authority
CN
China
Prior art keywords
information
server
mapping relations
edge
access
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
Application number
CN201410360821.6A
Other languages
Chinese (zh)
Inventor
张平
高伟
李登彪
陈烨
臧运港
郭韶呈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING CYCLE CENTURY DIGITAL TECHNOLOGY Co Ltd
Original Assignee
BEIJING CYCLE CENTURY DIGITAL TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING CYCLE CENTURY DIGITAL TECHNOLOGY Co Ltd filed Critical BEIJING CYCLE CENTURY DIGITAL TECHNOLOGY Co Ltd
Priority to CN201410360821.6A priority Critical patent/CN104092776A/en
Publication of CN104092776A publication Critical patent/CN104092776A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and system for accessing information. The method includes the steps of caching the information in a data source according to the one-to-one mapping relation, caching same contents into certain edge accessing servers, and storing one-to-one mapping relations between the information contents and the edge accessing servers to form a mapping relation table; based on the mode, when accessing requests of terminals are received, if requested information contents are contained in the table, representing that requested target information is cached in the servers, and directly obtaining the servers where the target information is cached from the table; if the requested information contents are not contained in the table, calculating the edge accessing servers corresponding to the target information, caching the target information in the data source into the servers, and meanwhile adding mapping relations between the information and the servers into the mapping relation table; then responding to the terminals, and informing the terminals of the servers where the target information is cached to enable the terminals and the servers to be in communication to achieve information accessing. By means of the method and system, multiple copies of the same contents are avoided, and cache space is saved.

Description

A kind of information access method and system
Technical field
The invention belongs to network information access, dispatching technique field, relate in particular to a kind of information access method and system.
Background technology
Along with the develop rapidly of computer network and development of Mobile Internet technology, people are growing to the requirements for access of Streaming Media, and the ratio that the access of the streaming medium content such as video immediately accounts for internet information access is more and more higher.
For meeting the growing requirements for access to Streaming Media of people, need be by the streaming medium content buffer memory in the data source of central store to edge access server cluster, each edge access server comprising by cluster provides Streaming Media access service for terminal use, to alleviate the pressure of backbone network.At present, the general mode of one-to-many that adopts is carried out buffer memory to streaming medium content, the same a streaming medium content copy in data source, buffer memory is to a plurality of edges access server, preserve streaming medium content simultaneously and it is carried out to the one-to-many mapping relations between a plurality of servers of buffer memory, follow-up when receiving terminal use's Streaming Media access request, content according to request, in one-to-many mapping relations between content and server and current server cluster, the loading condition of each server (concurrent request amount) is dispatched corresponding edge access server and is provided service for terminal use, response user's access request.Yet aforesaid way, owing to same flow media content being carried out to many parts of copies, buffer memory, has caused the significant wastage of spatial cache.
Therefore,, for overcoming the problems referred to above, a kind of information access method or the system that can save spatial cache that provide is provided badly in this area.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of information access method and system, to solve the problem of the waste spatial cache that existing Streaming Media access mode exists.
For this reason, the open following technical scheme of the present invention:
An information access method, comprising:
The Information Access request of receiving terminal, the message identification that wherein said Information Access request comprises asked target information;
Judge whether message identification in described Information Access request is present in the mapping relations table of the message identification that pre-establishes and server identification, wherein, described mapping relations table is for the mapping relations one to one between reflection information and the edge access server of the described information of storage;
If the determination result is YES, according to described mapping relations table, obtain the corresponding server identification of message identification in described Information Access request;
If the determination result is NO, adopt preset algorithm to fall into a trap and calculate the corresponding server identification of described target information from the standby server sign set of predetermining, and send buffer memory instruction, with by the target information buffer memory obtaining from data source to the corresponding edge of the described server identification access server calculating, and the mapping relations of the message identification of described target information and described server identification are added in described mapping relations table;
By the described server identification that obtains or calculate be sent to described terminal so that described terminal is by communicating and realize Information Access with the corresponding edge of described server identification access server.
Said method, preferred, also comprise:
If it is always not requested that in edge access server, the information of buffer memory surpasses default duration, send clearance order, described clearance order is for removing the described information of described edge access server buffer memory, and removes the described not requested information always that records in described mapping relations table and the corresponding relation of described edge access server.
Said method, preferred, also comprise:
If the concurrency of the Information Access request that edge access server receives reaches predefined threshold value, the server identification of described edge access server is deleted from the set of described standby server sign, be take no longer as described edge access server assignment information is carried out buffer memory.
Said method, preferred, described information is Streaming Media.
Said method, preferred, described preset algorithm is consistency hash algorithm.
Said method, preferred, described terminal is any one in Set Top Box, computer or mobile device, described mobile device comprises mobile phone, panel computer.
An Information Access system, comprises receiver module, judge module, acquisition module, computing module and sending module, wherein:
Described receiver module, for the Information Access request of receiving terminal, the message identification that wherein said Information Access request comprises asked target information;
Described judge module, for the message identification that judges described Information Access request, whether be present in the mapping relations table of the message identification that pre-establishes and server identification, wherein, described mapping relations table is for the mapping relations one to one between reflection information and the edge access server of the described information of storage;
Described acquisition module, for judgment result is that while being, obtains the corresponding server identification of message identification in described Information Access request according to described mapping relations table;
Described computing module, for when the determination result is NO, adopt preset algorithm to fall into a trap and calculate the corresponding server identification of described target information from the standby server sign set of predetermining, and send buffer memory instruction, with by the target information buffer memory obtaining from data source to the corresponding edge of the described server identification access server calculating, and the mapping relations of the message identification of described target information and described server identification are added in described mapping relations table;
Described sending module, for by the described server identification that obtains or calculate be sent to described terminal so that described terminal is by communicating and realize Information Access with the corresponding edge of described server identification access server.
Said system, preferred, also comprise:
Remove module, for surpassing default duration in the information of edge access server buffer memory when always requested, send clearance order, described clearance order is for removing the described information of described edge access server buffer memory, and removes the described not requested information always that records in described mapping relations table and the corresponding relation of described edge access server.
Said system, preferred, also comprise:
Load control module, while reaching predefined threshold value for the concurrency of the Information Access request that receives at edge access server, the server identification of described edge access server is deleted from the set of described standby server sign, be take no longer as described edge access server assignment information is carried out buffer memory.
The invention provides a kind of information access method and system, the method adopts man-to-man mapping relations to carry out buffer memory to the information in data source, by the same a information content buffer memory in data source in some edges access server, and preserve each information content, mapping relations one to one between edge access server, form mapping relations table, on this basis, when receiving the Information Access request of terminal, if comprise the information content of request in mapping relations table, characterize in edge access server the target information of cache request, the server of target information that directly obtained buffer memory from this table, if not, also characterize and the information content of request is not carried out to buffer memory, now, calculate the corresponding edge of target information access server, and copy targeting information is carried out buffer memory to the server calculating from data source, in mapping relations table, add the mapping relations of this information content and server simultaneously, afterwards, by buffer memory the server of target information inform terminal, make terminal by communicating and realize Information Access with server.
Visible, be different from the feature of in prior art, same content being carried out many parts of copies, buffer memory, the present invention adopts cache way one to one to have avoided many parts of copies with in part content caching to server, has saved spatial cache.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is a kind of flow chart of the embodiment of the present invention one disclosed information access method;
Fig. 2 is the another kind of flow chart of the embodiment of the present invention two disclosed information access methods;
Fig. 3 is another flow chart of the embodiment of the present invention three disclosed information access methods;
Fig. 4 is a kind of structural representation of the disclosed Information Access system of the embodiment of the present invention four;
Fig. 5 is the another kind of structural representation of the disclosed Information Access system of the embodiment of the present invention four;
Fig. 6 is another structural representation of the disclosed Information Access system of the embodiment of the present invention four;
Fig. 7 is the structure chart of the disclosed streaming medium content access system of the embodiment of the present invention four example.
Embodiment
For quote and know for the purpose of, the technical term hereinafter using, write a Chinese character in simplified form or abridge to sum up and be explained as follows:
Consistency hash algorithm: for the hash algorithm of load balancing and contents distribution.
1+1 backup: each file has and only have a copy, and two parts of files (original, backup file) of same content adopt load sharing work pattern.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment mono-
The embodiment of the present invention one public information access method, refers to Fig. 1, and the method comprises the steps:
S101: the Information Access request of receiving terminal, the message identification that wherein said Information Access request comprises asked target information.
Wherein, the information that terminal is asked can be various network information, and the present embodiment be take request streaming medium content and the inventive method described as example, and the sign that the Information Access request of terminal comprises asked streaming medium content, such as being video name etc.The present embodiment method utilizes HTTP (HTTP-Hypertext transfer protocol, HTML (Hypertext Markup Language)) by network access streaming medium content.
Wherein, described terminal can be Set Top Box, computer or mobile devices such as mobile phone, panel computer.
S102: judge whether message identification in described Information Access request is present in the mapping relations table of the message identification that pre-establishes and server identification, wherein, described mapping relations table is for the mapping relations one to one between reflection information and the edge access server of the described information of storage.
Particularly, the inventive method adopts man-to-man mapping relations to the information in the data source of central store, such as streaming medium content etc., carry out dynamic buffering, by the same a streaming medium content buffer memory in data source to the some edges access server calculating, and preserve man-to-man mapping relations between each streaming medium content, edge access server, form mapping relations table.
Wherein, standby server using each edge access server in server cluster as cache flow media content in advance, and the sign of obtaining each server forms standby server identification sets, on this basis, adopt consistency hash algorithm to calculate the corresponding server identification of streaming medium content, realization is chosen a destination server and is distributed to this streaming medium content from each standby server, afterwards, single part of copy of streaming medium content in data source buffer memory are extremely calculated, in the edge access server selecting, simultaneously, in mapping relations table, add mapping relations record between the two.
Because the present invention carries out dynamic buffering to the information in data source, therefore, when terminal use asks required streaming medium content, the streaming medium content that in edge access server, buffer memory is asked, does not also likely also carry out buffer memory to it.For this reason, the corresponding relation that whether this step S102 comprises asked streaming medium content and server in mapping relations table by judging judges whether required streaming medium content is buffered.
Compare with needing the feature of many-one relationship between stored stream media content and server in prior art, what in the present invention, in mapping relations table, store is man-to-man corresponding relation between streaming medium content and server, has reduced contents in table, has saved memory space.
S103: if the determination result is YES, obtain the corresponding server identification of message identification in described Information Access request according to described mapping relations table.
If the sign that comprises asked streaming medium content in mapping relations table, characterizes the streaming medium content that in edge access server, buffer memory is asked, now, direct basis mapping relations table obtains corresponding edge access server.
S104: if the determination result is NO, adopt preset algorithm to fall into a trap and calculate the corresponding server identification of described target information from the standby server sign set of predetermining, and send buffer memory instruction, with by the target information buffer memory obtaining from data source to the corresponding edge of the described server identification access server calculating, and the mapping relations of the message identification of described target information and described server identification are added in described mapping relations table.
If do not comprise the sign of asked streaming medium content in mapping relations table, characterize and also asked streaming medium content is not carried out to buffer memory, now, need to adopt consistency hash algorithm to calculate the corresponding server identification of streaming medium content, for asked streaming medium content distributes an edge access server, it is carried out to buffer memory, and add new map record in mapping relations table.
S105: by the described server identification that obtains or calculate be sent to described terminal so that described terminal is by communicating and realize Information Access with the corresponding edge of described server identification access server.
When having obtained the corresponding server identification of request content or calculate after server identification corresponding to this content by consistency hash algorithm from mapping relations table, the request of terminal is replied, this server identification is informed to terminal.Afterwards, terminal is initiated information acquisition request to edge access server given in replying, and follow-up this edge access server provides Streaming Media access service for terminal.
To sum up, the inventive method adopts man-to-man mapping relations to carry out buffer memory to the information in data source, by the same a information content buffer memory in data source in some edges access server, and preserve each information content, mapping relations one to one between edge access server, form mapping relations table, on this basis, when receiving the Information Access request of terminal, if comprise the information content of request in mapping relations table, characterize in edge access server the target information of cache request, the server of target information that directly obtained buffer memory from this table, if not, also characterize and the information content of request is not carried out to buffer memory, now, calculate the corresponding edge of target information access server, and copy targeting information is carried out buffer memory to the server calculating from data source, in mapping relations table, add the mapping relations of this information content and server simultaneously, afterwards, by buffer memory the server of target information inform terminal, make terminal by communicating and realize Information Access with server.
Visible, be different from the feature of in prior art, same content being carried out many parts of copies, buffer memory, the present invention adopts cache way one to one to have avoided many parts of copies with in part content caching to server, has saved spatial cache.
Embodiment bis-
The present embodiment two continues the information access method of embodiment mono-to be optimized, and asks for an interview Fig. 2, and the method also comprises:
S106: if the information of buffer memory is always not requested over default duration in edge access server, send clearance order, described clearance order is for removing the described information of described edge access server buffer memory, and removes the described not requested information always that records in described mapping relations table and the corresponding relation of described edge access server.
Wherein, the present embodiment for each mapping relations record in mapping relations table arranges survival period, and judges according to the survival period of setup times and setting whether corresponding record should be eliminated by real time.
Particularly, when the request that receives terminal, if from mapping relations table, inquired the corresponding relation of the streaming medium content of asking and server, according to the mapping relations record of finding, obtain and be required to be the server that terminal provides Streaming Media access service, terminal is replied, and the survival period of this record of simultaneously resetting is one day; If do not inquire the corresponding relation of this streaming medium content and edge access server, utilize consistency hash algorithm to calculate the corresponding edge of this content access server and realize buffer memory, and corresponding relation is write in mapping relations table, the survival period that this record is set is simultaneously one day; When the record in mapping relations table is not requested over one day, from table, delete this record, from edge access server, remove this and record corresponding streaming medium content, discharge corresponding spatial cache simultaneously.
It should be noted that, the size of default duration or survival period need not be confined to the concrete numerical value that the present embodiment provides, and applies when of the present invention, can according to actual demand, to it, be set voluntarily by those skilled in the art.
The present invention adopts the corresponding relation between mapping relations table record streaming medium content and Edge Server, is all to carry out consistency Hash operation one time for fear of each request, and then reduces whole computational complexity, improves reply efficiency and concurrent processing ability; And be that survival period set in every record, and remove corresponding contents when surpassing survival period, and be for when certain content is not accessed for a long time, remove buffer memory, further saved spatial cache.
Embodiment tri-
Three pairs of above disclosed information access methods of embodiment of the present embodiment are further optimized, and ask for an interview Fig. 3, and the method also comprises:
S107: if the concurrency of the Information Access request that edge access server receives reaches predefined threshold value, the server identification of described edge access server is deleted from the set of described standby server sign, be take no longer as described edge access server assignment information is carried out buffer memory.
In practical application, user distributes often extremely unbalanced to the access of streaming medium content, prior art is the equiblibrium mass distribution on different edges access server (being the roughly streaming medium content of buffer memory equal number of each server) by streaming medium content, guarantee the load balancing of each edge access server as far as possible, but this kind of mode effect is poor, cannot realize load balancing higher degree, adopt this kind of mode, same edge of table access server may be assigned with too much more popular streaming medium content, and cause this server stress excessive, even surpass its load.
For example, suppose to exist in network two edge access servers: edge access server 1 and edge access server 2, adopt aforesaid way, edge access server 1 cache flow media A, B, edge access server 2 cache flow media C, D, yet the concurrent request amount of Streaming Media A, B is about respectively 10 7, the concurrent request amount of Streaming Media C, D is about respectively 10 2, in such cases, aforesaid way can cause the extreme of two Edge Server loads unbalanced.
For addressing the above problem, avoid the uneven load imbalance that causes edge access server of cold and hot degree due to streaming medium content, the concurrency that the present invention is based on server is realized the load balancing of each server, particularly, concurrent ability according to each edge access server is a concurrent threshold value of each server setting respectively, when the concurrent request amount of a certain edge access server reaches this threshold value, the sign of this server is deleted from the set of standby server sign, make it not be re-used as the standby buffer memory device of new streaming medium content, thereby, follow-up is no longer the streaming medium content that this server-assignment is new by consistency hash algorithm, this server be only required to be buffer memory streaming medium content access service is provided, do not need again for new streaming medium content provides service, avoided the access request of new streaming medium content.
Still, with the above-mentioned example that is exemplified as, the concurrent threshold value of supposing edge access server 1 is 10 7, and suppose its buffer memory Streaming Media A, the concurrency of current Streaming Media A is 10 7.Now, when receiving user to the access request of the Streaming Media B of buffer memory not, the concurrency that edge access server 1 detected has reached concurrent threshold value, no longer for it distributes new streaming medium content, thereby Streaming Media B is dispensed to edge access server 2, carry out buffer memory, by edge access server 2, provide access service for Streaming Media B.
Visible, than prior art, the concurrency of the present embodiment based on server, by setting concurrent threshold value for each edge access server, realized the load balancing of higher degree.
It should be noted that, even if the concurrency of edge access server has reached concurrent threshold value, its concurrency still can increase due to the request amount of the streaming medium content of buffer memory, therefore, the setting of concurrent threshold value should not adopt the ceiling value of server load, and should adopt a numerical value lower than ceiling value.
Embodiment tetra-
The present embodiment discloses a kind of Information Access system, and this system is corresponding with the disclosed information access method of above each embodiment.
As shown in Figure 4, corresponding to embodiment mono-, this system comprises receiver module 100, judge module 200, acquisition module 300, computing module 400 and sending module 500.
Receiver module 100, for the Information Access request of receiving terminal, the message identification that wherein said Information Access request comprises asked target information.
Judge module 200, for the message identification that judges described Information Access request, whether be present in the mapping relations table of the message identification that pre-establishes and server identification, wherein, described mapping relations table is for the mapping relations one to one between reflection information and the edge access server of the described information of storage.
Acquisition module 300, for judgment result is that while being, obtains the corresponding server identification of message identification in described Information Access request according to described mapping relations table.
Computing module 400, for when the determination result is NO, adopt preset algorithm to fall into a trap and calculate the corresponding server identification of described target information from the standby server sign set of predetermining, and send buffer memory instruction, with by the target information buffer memory obtaining from data source to the corresponding edge of the described server identification access server calculating, and the mapping relations of the message identification of described target information and described server identification are added in described mapping relations table.
Sending module 500, for by the described server identification that obtains or calculate be sent to described terminal so that described terminal is by communicating and realize Information Access with the corresponding edge of described server identification access server.
Refer to Fig. 5, corresponding to embodiment bis-, said system also comprises removes module 600, this module is for surpassing default duration when always requested in the information of edge access server buffer memory, send clearance order, described clearance order is for removing the described information of described edge access server buffer memory, and removes the described not requested information always that records in described mapping relations table and the corresponding relation of described edge access server.
As shown in Figure 6, corresponding to embodiment tri-, said system also comprises load control module 700, this module is used for when the concurrency of the Information Access request of edge access server reception reaches predefined threshold value, the server identification of described edge access server is deleted from the set of described standby server sign, be take no longer as described edge access server assignment information is carried out buffer memory.
For the disclosed Information Access system of the embodiment of the present invention four, because it is corresponding with the above disclosed information access method of each embodiment, so that describes is fairly simple, relevant similarity refers to the explanation of information access method part in above each embodiment, no longer describes in detail herein.
Next, continue an application example of open the inventive method or system.
Fig. 7 shows a structure based on streaming medium content access system of the present invention, this system comprises GSLB (Global Server Load Banlance, GSLB) 1, central store 2, source access server 3, edge access server cluster 4 and terminal 5, wherein, edge access server cluster 4 comprises N edge access server, and N is greater than 1 natural number.The system of this example adopts http protocol by network access streaming medium content.
GSLB, be responsible for the access request of dispatch terminal, and realize the access request of terminal is replied for the streaming medium content allocations of edge access server of asking by query mappings relation table or by consistency hash algorithm, be responsible for safeguarding mapping relations table and the caching situation of safeguarding streaming medium content in edge access server.
Central store, is data source, for storing the streaming medium content of native system, by 1+1 backup, guarantees storage security, and Adoption Network file system guarantees that memory capacity and access capability can carry out linear smoothing expansion.
Source access server, is directly connected with central store.Edge access server carries out the streaming medium content in central store, in the process of buffer memory, by source access server, carrying out the streaming medium content in buffer memory central store.
Edge access server, for the streaming medium content of central store is carried out to buffer memory, and for the access request of terminal provides access service, can alleviate the pressure of backbone network, improves access efficiency.
Terminal, can be Set Top Box, computer, can be also the mobile devices such as mobile phone, flat board, and user can utilize terminal to realize the access to streaming medium content.
The operation principle of this system is as follows:
Terminal is initiated the access request to certain streaming medium content to GSLB, first GSLB searches mapping relations table, if found the corresponding relation of this streaming medium content and edge access server from table, using the edge access server providing in the corresponding relation of finding as the server of streaming medium content access service is provided for terminal, and provide and reply to terminal, the survival period of this corresponding relation place record of simultaneously resetting is one day; Otherwise, if do not inquire the corresponding relation of this streaming medium content and edge access server, GSLB is according to the content of terminal request access, utilize consistency hash algorithm to calculate the corresponding edge of this content access server, the content caching that takes out request from central store is to the server calculating, and its corresponding relation is write to mapping relations table, the survival period that this list item is set is simultaneously one day.
When the concurrency of some edges access server reaches predefined concurrent threshold value, GSLB no longer distributes new streaming medium content by consistency hash algorithm for it, thus this edge access server only for buffer memory streaming medium content access service is provided.Compared with prior art, native system, under the condition of equal hardware configuration, has improved concurrent ability, has improved the utilance of the network bandwidth.
In sum, the present invention, by by same content caching to Edge Server, has avoided the many parts of copies with part content, has saved spatial cache; Meanwhile, by setting concurrent threshold value for each edge access server, realize load balancing higher degree, avoided the uneven problem that causes occurring Edge Server load imbalance of cold and hot degree due to content.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.
While for convenience of description, describing above device, with function, be divided into various modules or unit is described respectively.Certainly, when implementing the application, the function of each module, unit can be realized in same or a plurality of software and/or hardware.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential general hardware platform by software and realizes.Understanding based on such, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. an information access method, is characterized in that, comprising:
The Information Access request of receiving terminal, the message identification that wherein said Information Access request comprises asked target information;
Judge whether message identification in described Information Access request is present in the mapping relations table of the message identification that pre-establishes and server identification, wherein, described mapping relations table is for the mapping relations one to one between reflection information and the edge access server of the described information of storage;
If the determination result is YES, according to described mapping relations table, obtain the corresponding server identification of message identification in described Information Access request;
If the determination result is NO, adopt preset algorithm to fall into a trap and calculate the corresponding server identification of described target information from the standby server sign set of predetermining, and send buffer memory instruction, with by the target information buffer memory obtaining from data source to the corresponding edge of the described server identification access server calculating, and the mapping relations of the message identification of described target information and described server identification are added in described mapping relations table;
By the described server identification that obtains or calculate be sent to described terminal so that described terminal is by communicating and realize Information Access with the corresponding edge of described server identification access server.
2. method according to claim 1, is characterized in that, also comprises:
If it is always not requested that in edge access server, the information of buffer memory surpasses default duration, send clearance order, described clearance order is for controlling the described information of removing described edge access server buffer memory, and removes the described not requested information always that records in described mapping relations table and the corresponding relation of described edge access server.
3. method according to claim 1, is characterized in that, also comprises:
If the concurrency of the Information Access request that edge access server receives reaches predefined threshold value, the server identification of described edge access server is deleted from the set of described standby server sign, be take no longer as described edge access server assignment information is carried out buffer memory.
4. method according to claim 1, is characterized in that, described preset algorithm is consistency hash algorithm.
5. method according to claim 1, is characterized in that, described information is Streaming Media.
6. according to the method described in claim 1-5 any one, it is characterized in that, described terminal is any one in Set Top Box, computer or mobile device, and described mobile device comprises mobile phone, panel computer.
7. an Information Access system, is characterized in that, comprises receiver module, judge module, acquisition module, computing module and sending module, wherein:
Described receiver module, for the Information Access request of receiving terminal, the message identification that wherein said Information Access request comprises asked target information;
Described judge module, for the message identification that judges described Information Access request, whether be present in the mapping relations table of the message identification that pre-establishes and server identification, wherein, described mapping relations table is for the mapping relations one to one between reflection information and the edge access server of the described information of storage;
Described acquisition module, for judgment result is that while being, obtains the corresponding server identification of message identification in described Information Access request according to described mapping relations table;
Described computing module, for when the determination result is NO, adopt preset algorithm to fall into a trap and calculate the corresponding server identification of described target information from the standby server sign set of predetermining, and send buffer memory instruction, with by the target information buffer memory obtaining from data source to the corresponding edge of the described server identification access server calculating, and the mapping relations of the message identification of described target information and described server identification are added in described mapping relations table;
Described sending module, for by the described server identification that obtains or calculate be sent to described terminal so that described terminal is by communicating and realize Information Access with the corresponding edge of described server identification access server.
8. system according to claim 7, is characterized in that, also comprises:
Remove module, for surpassing default duration in the information of edge access server buffer memory when always requested, send clearance order, described clearance order is for controlling the described information of removing described edge access server buffer memory, and removes the described not requested information always that records in described mapping relations table and the corresponding relation of described edge access server.
9. system according to claim 7, is characterized in that, also comprises:
Load control module, while reaching predefined threshold value for the concurrency of the Information Access request that receives at edge access server, the server identification of described edge access server is deleted from the set of described standby server sign, be take no longer as described edge access server assignment information is carried out buffer memory.
CN201410360821.6A 2014-07-25 2014-07-25 Method and system for accessing information Pending CN104092776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410360821.6A CN104092776A (en) 2014-07-25 2014-07-25 Method and system for accessing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410360821.6A CN104092776A (en) 2014-07-25 2014-07-25 Method and system for accessing information

Publications (1)

Publication Number Publication Date
CN104092776A true CN104092776A (en) 2014-10-08

Family

ID=51640456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410360821.6A Pending CN104092776A (en) 2014-07-25 2014-07-25 Method and system for accessing information

Country Status (1)

Country Link
CN (1) CN104092776A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483614A (en) * 2017-08-31 2017-12-15 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN Yu P2P networks
CN107872486A (en) * 2016-09-28 2018-04-03 华为技术有限公司 Communication means and device
WO2019019382A1 (en) * 2017-07-27 2019-01-31 上海壹账通金融科技有限公司 Cache handling method and device, computer device and storage medium
CN109788083A (en) * 2019-03-22 2019-05-21 网易(杭州)网络有限公司 Using method for down loading, device, storage medium and electronic device
CN110213349A (en) * 2019-05-17 2019-09-06 网宿科技股份有限公司 A kind of HTTP dispatching method and device
EP3534590A4 (en) * 2016-11-18 2019-11-20 Huawei Technologies Co., Ltd. Cache data requesting method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051980A (en) * 2007-05-21 2007-10-10 华为技术有限公司 File data distributing method and relative device
CN101610162A (en) * 2008-06-16 2009-12-23 华为技术有限公司 A kind of method, system and equipment that content is provided based on reciprocity storage networking
CN102137145A (en) * 2010-12-03 2011-07-27 华为技术有限公司 Method, device and system for managing distributed contents
CN102882939A (en) * 2012-09-10 2013-01-16 北京蓝汛通信技术有限责任公司 Load balancing method, load balancing equipment and extensive domain acceleration access system
US8612413B2 (en) * 2010-08-12 2013-12-17 Cdnetworks Co., Ltd. Distributed data cache for on-demand application acceleration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051980A (en) * 2007-05-21 2007-10-10 华为技术有限公司 File data distributing method and relative device
CN101610162A (en) * 2008-06-16 2009-12-23 华为技术有限公司 A kind of method, system and equipment that content is provided based on reciprocity storage networking
US8612413B2 (en) * 2010-08-12 2013-12-17 Cdnetworks Co., Ltd. Distributed data cache for on-demand application acceleration
CN102137145A (en) * 2010-12-03 2011-07-27 华为技术有限公司 Method, device and system for managing distributed contents
CN102882939A (en) * 2012-09-10 2013-01-16 北京蓝汛通信技术有限责任公司 Load balancing method, load balancing equipment and extensive domain acceleration access system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872486A (en) * 2016-09-28 2018-04-03 华为技术有限公司 Communication means and device
WO2018059026A1 (en) * 2016-09-28 2018-04-05 华为技术有限公司 Communication method and device
CN107872486B (en) * 2016-09-28 2020-06-02 华为技术有限公司 Communication method and device
EP3534590A4 (en) * 2016-11-18 2019-11-20 Huawei Technologies Co., Ltd. Cache data requesting method and related device
US11252251B2 (en) 2016-11-18 2022-02-15 Huawei Technologies Co., Ltd. Cache data request method and related device
WO2019019382A1 (en) * 2017-07-27 2019-01-31 上海壹账通金融科技有限公司 Cache handling method and device, computer device and storage medium
CN107483614A (en) * 2017-08-31 2017-12-15 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN Yu P2P networks
CN107483614B (en) * 2017-08-31 2021-01-22 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN (content delivery network) and P2P network
CN109788083A (en) * 2019-03-22 2019-05-21 网易(杭州)网络有限公司 Using method for down loading, device, storage medium and electronic device
CN109788083B (en) * 2019-03-22 2022-06-24 网易(杭州)网络有限公司 Application downloading method and device, storage medium and electronic device
CN110213349A (en) * 2019-05-17 2019-09-06 网宿科技股份有限公司 A kind of HTTP dispatching method and device

Similar Documents

Publication Publication Date Title
US11734125B2 (en) Tiered cloud storage for different availability and performance requirements
CN104092776A (en) Method and system for accessing information
CN103780679B (en) Long delay remote invocation method based on http protocol
CN101510219B (en) File data accessing method, apparatus and system
CN108023953B (en) High-availability implementation method and device for FTP service
CN102387220A (en) Offline downloading method and system based on cloud storage
CN104158891A (en) Method, device and system of cross-regional data transmission, and server
CN105488837A (en) Cloud computing based real-time off-screen rendering method, apparatus and system
CN103593147A (en) Data reading method and device
CN103530388A (en) Performance improving data processing method in cloud storage system
CN102137145A (en) Method, device and system for managing distributed contents
CN103024053A (en) Cloud storage method, resource scheduling system and cloud storage node and system
CN109151512A (en) The method and device of content is obtained in CDN network
CN103475682A (en) File transfer method and file transfer equipment
CN106817388B (en) Method and device for acquiring data by virtual machine and host machine and system for accessing data
CN102982116A (en) Multi-media transfer method and system based on cloud
CN104185036A (en) Video file source returning method and device
CN107734017B (en) Data service method and system
CN102710535B (en) A kind of data capture method and equipment
CN104683459A (en) Method for transmitting service data, and storage system
JP2014511129A (en) Deduplication of receiver-side data in data systems
CN103685517A (en) Storage hierarchical scheduling method and system based on service class characteristics
CN104142953A (en) Metadata dynamic management method and system
CN103561098A (en) Method, device and system for selecting storage resources
CN102572011A (en) Method, device and system for processing data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141008