CN105871972A - Video resource distributed cathe method, device and system - Google Patents
Video resource distributed cathe method, device and system Download PDFInfo
- Publication number
- CN105871972A CN105871972A CN201510781374.6A CN201510781374A CN105871972A CN 105871972 A CN105871972 A CN 105871972A CN 201510781374 A CN201510781374 A CN 201510781374A CN 105871972 A CN105871972 A CN 105871972A
- Authority
- CN
- China
- Prior art keywords
- video
- resource
- server
- transmission behavior
- video resource
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- 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/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a video resource distributed cathe method, device and system, and relates to the field of the video cathe. The objective of the invention is to mainly solve the problems that the a lots of bandwidths are occupied to perform video cathe in a traditional network system configuration and the rate of the efficiency and the cost of updating the bandwidth is low. The technical scheme of the embodiment of the invention is that: a resource server forwards the user video access to a business server so as to allow the business server to process the video access and configure corresponding sending behavior indication, and the sending behavior is configured to indicate the sending behavior of the video resource sent by the resource server to the user; the video access request response information returned back by the business server is received, and the response information carries the sending behavior indication and the position information of the video resource; the video resource is obtained according to the position information of the video resource; and the video resource is sent to the user according to the sending behavior corresponding to the sending behavior indication. The video resource distributed cathe method, device and system are mainly used for video resource cathe.
Description
Technical field
The present embodiments relate to video cache field, particularly relate to the distributed caching of a kind of video resource
Method, Apparatus and system.
Background technology
Content distributing network, i.e. CDN, full name is Content Delivery Network.Its objective is to lead to
Cross one layer of new network architecture of increase in existing Internet, the content of website is published to closest to use
The network " edge " at family, makes user can obtain required content nearby, solves the congested shape of Internet network
Condition, improves user and accesses the response speed of website.CDN framework is mainly by two large divisions, in being divided into
The heart and edge two parts, center refers to that CDN network management center and DNS redirect analytical center, is responsible for the overall situation
Load balancing, device systems is arranged on administrative center's machine room, and edge refers mainly to strange land node, and CDN distributes
Carrier, be mainly made up of cache Cache and load equalizer etc..
In current CDN application, in order to share the access pressure of fringe node, common
Way is the storage of the process business of access request with resource to be divided into two servers it is configured,
The access request of fringe node is first sent to service server, by service server according to access request
Content configure corresponding business tine, meanwhile, further according to the resource needed for access request to resource take
The resource data that business device request is corresponding.After receiving the resource data returned by Resource Server, then
It is sent to ask user by resource data according to the business tine mated.Such mode please by access
The process asked carries out with the storage of resource separating the treatment effeciency that can also be effectively improved fringe node.But
It is which is owing to being for having become two terminals to process by fringe node function, and takes in business
The transmission of resource data is carried out between business device and Resource Server.When the type of resource data be text,
During the less file of the data volumes such as picture, due to the distance between service server and Resource Server relatively
Closely, under certain bandwidth, the speed issue of data transmission is negligible.And work as resource data
Type when being the large-data documents such as video, the service server in existing fringe node and resource
Server will be affected by bandwidth deficiency and be reduced the response speed to access request.And to ensure
Original response efficiency is accomplished by increasing the bandwidth between service server and Resource Server, and will be
All fringe nodes in CDN carry out bandwidth upgrading, and are increased by the produced cost of upgrading
To be huger, thus reduce the efficiency-cost ratio of system.
Summary of the invention
The embodiment of the present invention provides the distributed caching method of a kind of video resource, Apparatus and system, in order to
Solve video cache in existing CDN system architecture and need to take substantial amounts of bandwidth, and upgrade bandwidth
The problem that efficiency-cost ratio is low.
For reaching above-mentioned purpose, present invention generally provides following technical scheme:
On the one hand, the embodiment of the present invention provides the distributed caching method of a kind of video resource, the method bag
Include:
The video access of user is asked to be transmitted to service server by Resource Server, in order to by described business
Video access described in server process is asked and configures corresponding transmission behavior instruction, and described transmission behavior refers to
Show for determining that described Resource Server sends the transmission behavior of video resource to described user;
Receiving the video access request response message that described service server returns, described video access is asked
Response message carries described transmission behavior instruction and the positional information of video resource;
Positional information according to described video resource obtains video resource;
According to the transmission behavior corresponding to described transmission behavior instruction, described video resource is sent to described use
Family.
Optionally, described according to described transmission behavior instruction corresponding to transmission behavior by described video resource
It is sent to described user include:
Indicate according to described transmission behavior, determine the transmission behavior of described video resource;
Described video resource is sent to described user according to described transmission behavior.
Optionally, after receiving the video access request response message that described service server returns, described
Method also includes:
Resolve described video access request response message, obtain the positional information of video resource and described transmission
Behavior indicates.
Optionally, the transmission behavior of described video resource at least includes: judge the authority that video access is asked,
Select to send the bandwidth of video resource, code check, additional value-added services in video resource.
On the other hand, the embodiment of the present invention also provides for the distributed caching method of a kind of video resource, the party
Method includes:
Service server receives Resource Server and forwards the video access request of user;
The position letter of corresponding transmission behavior instruction and video resource is determined according to the request of described video access
Breath;
The positional information of described transmission behavior instruction and described video resource is asked as described video access
Response message sends to Resource Server.
Optionally, described according to described video access request determine corresponding transmission behavior instruction and video money
The positional information in source includes:
Resolve the request of described video access, obtain video resource solicited message and send behavior solicited message,
Described transmission behavior solicited message includes user profile and the transmission behavior request of described user;
Described video resource position in described Resource Server is determined according to described video resource solicited message
Confidence ceases;
According to preset Service configuration strategy and described transmission behavior solicited message, determine described video access
Request is corresponding sends behavior instruction.
On the other hand, the embodiment of the present invention provides the distributed caching device of a kind of video resource, this device
Including:
Retransmission unit, asks to be transmitted to service server by the video access of user for Resource Server,
To be processed described video access by described service server ask and configure corresponding transmission behavior instruction,
Described transmission behavior instruction is for determining that described Resource Server sends the transmission of video resource to described user
Behavior;
Receive unit, for receiving the video access request response message that described service server returns, institute
State video access request response message and carry the position letter of described transmission behavior instruction and video resource
Breath;
Acquiring unit, the positional information of the video resource for receiving according to described reception unit obtains video
Resource;
Transmitting element, for obtaining list according to the transmission behavior corresponding to described transmission behavior instruction by described
The video resource that unit obtains is sent to described user.
Optionally, described transmitting element includes:
Determine module, for indicating according to described transmission behavior, determine the transmission behavior of described video resource;
Sending module, for sending described according to the described transmission behavior determining that module determines to described user
Video resource.
Optionally, described device also includes:
Resolution unit, for receiving, at described reception unit, the video access request sound that service server returns
After answering information, resolve described video access request response message, obtain positional information and the institute of video resource
State transmission behavior instruction.
Optionally, the transmission behavior of the video resource in described device at least includes: judge that video access please
The authority asked, selects to send the bandwidth of video resource, code check, additional value-added services in video resource.
On the other hand, the embodiment of the present invention also provides for the distributed caching device of a kind of video resource, this dress
Put and include:
Receive unit, receive Resource Server for service server and forward the video access request of user;
Determine unit, determine corresponding transmission for the video access request received according to described reception unit
Behavior instruction and the positional information of video resource;
Transmitting element, for by the described transmission behavior instruction and the position of video resource determining that unit determines
Information sends to Resource Server as described video access request response message.
Optionally, described determine that unit includes:
Parsing module, is used for resolving the request of described video access, obtains video resource solicited message and transmission
Behavior solicited message, includes user profile and the transmission of described user in described transmission behavior solicited message
Behavior is asked;
Determine module, the video resource solicited message for resolving according to described parsing module determine described in regard
Frequently resource positional information in described Resource Server;
Described determine module, be additionally operable to resolve according to preset Service configuration strategy and described parsing module
Transmission behavior solicited message, determines that described video access asks corresponding transmission behavior instruction.
On the other hand, the embodiment of the present invention provides the distributed cache system of a kind of video resource, including containing
There are the Resource Server of the distributed caching device of above-mentioned video resource and the distribution containing above-mentioned video resource
The service server of formula buffer storage;
Wherein, described Resource Server, for forwarding the video access of user to ask to described service server
Ask, and the video access request response message returned according to described service server sends video money to user
Source;
Described service server, forwards the video access request of user for receiving described Resource Server,
And behavior instruction and the positional information of video resource will be sent determined by the request of described video access,
Send to described Resource Server.
The distributed caching method of a kind of video resource of embodiment of the present invention offer, Apparatus and system are logical
Cross and existing CDN system architecture will be used for the Resource Server of video cache and be used for processing video
The service server of access request position in request responding process is interchangeable, straight by Resource Server
Receive the video access request of user, and forward the request to service server and process, by industry
Business server carries out Business Processing according to the request of user, and by the positional information of video resource and transmission
Behavior instruction feeds back to Resource Server as the response message of video access request, then by Resource Server
Obtain concrete video resource, and according to corresponding transmission behavior, this video resource is sent to user.Phase
For the cache way of existing video resource, the video access request of user is directly entered by Resource Server
Row receives, and the simply request of transmission video access and response between Resource Server and service server
The message file of this request, without sending video resource information, therefore, greatly reduces resource
The demand of bandwidth between server and service server so that the bandwidth in existing system architecture be enough to full
The relevant treatment responsive operation of foot video access request.Meanwhile, in embodiments of the present invention, also by original
The first pass workload partition sending behavior in service server is in Resource Server, therefore, and the present invention
Service server in embodiment can be used for the configuration work to the behavior of transmission by more processing resource
In so that the speed of Business Processing is faster, also is able to increase the motility of Business Processing simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to make to introduce simply, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The distributed caching method flow chart of a kind of video resource that Fig. 1 provides for the embodiment of the present invention;
The distributed caching method flow chart of the another kind of video resource that Fig. 2 provides for the embodiment of the present invention;
The distributed caching method flow chart of the third video resource that Fig. 3 provides for the embodiment of the present invention;
The structure composition of the distributed caching device of a kind of video resource that Fig. 4 provides for the embodiment of the present invention
Block diagram;
The structure group of the distributed caching device of the another kind of video resource that Fig. 5 provides for the embodiment of the present invention
Become block diagram;
The structure group of the distributed caching device of the third video resource that Fig. 6 provides for the embodiment of the present invention
Become block diagram;
The structure group of the distributed caching device of the 4th kind of video resource that Fig. 7 provides for the embodiment of the present invention
Become block diagram;
The distributed cache system schematic diagram of a kind of video resource that Fig. 8 provides for the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiments provide the distributed caching method of video resource, as it is shown in figure 1, the method
Being applied in CDN system in the Resource Server of buffered video resource, concrete steps include:
101, the video access of user is asked to be transmitted to service server by Resource Server.
In the network system of CDN framework, the embodiment of the present invention is different from and existing is connect by service server
Receive the flow process of user video access request, be to be region be directly facing user by Resource Server to accept corresponding video
Access request, but ask not process to the video access of user, but be transmitted to service server and enter
The further Business Processing of row, including configuring corresponding transmission behavior instruction and determining the position of video resource
The operation such as put.
102, the video access request response message that service server returns is received.
Resource Server is after asking to be forwarded to service server by the video access of user, to this user's
Video access request is marked, and latency services server returns the response message of this video access request.
In the response message that this video access is asked, at least carry the transmission behavior instruction of video resource and regard
Frequently the positional information of resource.Wherein, the transmission behavior instruction of video resource is handled by service server
Main content, the request of corresponding video access is configured not by service server according to the information of different user
Same transmission behavior, such as, it is judged that whether this user has permission the video of the required program request of viewing, it is judged that
The video of any code check is sent, if advertisement etc. will be added in this video, broadly fall into this user
Service server carries out configuring the content of transmission behavior instruction.
103, video resource is obtained according to the positional information of video resource.
Resource Server is after receiving the video access request response message that service server returns, by root
Corresponding video resource is obtained according to the positional information of video resource entrained in this response message.For
Concrete acquisition mode, owing to being widely used in existing technical implementation way, therefore,
This acquisition mode is not specifically limited herein.
104, according to the transmission behavior corresponding to transmission behavior instruction, video resource is sent to user.
Resource Server, please according to the video access that service server returns while obtaining video resource
Ask transmission behavior instruction entrained in response message, Resource Server obtains corresponding
See off for, and acquired video resource is sent to, according to concrete transmission behavior, the user that request is corresponding.
In this step, Resource Server is compared and existing server, and it increases acquisition and sends row
For function, and this function is performed by service server in the prior art.Implement in the present invention
Resource Server in example is not only the video access request receiving user, always according to the place of service server
Video resource is directly sent to user by the behavior command of reason call by result this locality.Eliminate in prior art
The massive band width shared by video resource is sent to service server by Resource Server.
With said method accordingly, the embodiment of the present invention additionally provides the distributed slow of a kind of video resource
Deposit method, as in figure 2 it is shown, the method is applied to carry out in CDN system the industry of traffic assignments process
In business server, concrete steps include:
201, service server receives Resource Server and forwards the video access request of user.
Compared to prior art, the service server in the embodiment of the present invention towards object have terminal to use
Family has changed Resource Server into, and Resource Server is then the video access request forwarding user.Therefore,
Being consistent in the content of the video access request received, the object simply sent is different.For
The concrete mode of reception process, the embodiment of the present invention is not specifically limited.
202, the position letter of corresponding transmission behavior instruction and video resource is determined according to video access request
Breath.
This step is identical with the handling process of service server in prior art, and being both for video access please
Ask and be analyzed processing.Wherein, main is to perform for the transmission behavior that this request configuration is corresponding, and
Determine the position in Resource Server of the video resource required for user.
203, the response that the positional information sending behavior instruction and video resource is asked as video access
Information sends to Resource Server.
Service server, can be by corresponding result with information after having processed a video access request
Form feed back to the response results that Resource Server is asked as this video access.
In embodiments of the present invention, service server relative to the difference of existing server be towards right
As difference, and, the service server in the embodiment of the present invention is only responsible for the process to video access request
Work, and need not go to call concrete transmission behavior further according to the configuration result of business and send video to user
Resource, therefore, it can save reception video resource and call the process resource sending behavior command, will
It can improve the treatment effeciency of service server for Business Processing, thus improves video access request
Response speed.
In conjunction with above-mentioned implementation it can be seen that the distribution of video resource that used of the embodiment of the present invention
Formula caching method, is by the Resource Server by being used for video cache in existing CDN system architecture
It is interchangeable with the position in request responding process of the service server for processing video access request,
Directly received the video access request of user by Resource Server, and forward the request to service server
Process, service server carry out Business Processing according to the request of user, and by the position of video resource
The response message that confidence breath and transmission behavior instruction are asked as video access feeds back to Resource Server,
Obtained concrete video resource by Resource Server again, and send behavior by this video resource according to corresponding
It is sent to user.Relative to the cache way of existing video resource, the video access request of user is directly
There is Resource Server to be received, and simply transmission video is visited between Resource Server and service server
Ask the message file asking and responding this request, without sending video resource information, therefore,
Greatly reduce the demand of bandwidth between Resource Server and service server so that existing system architecture
In bandwidth be sufficient for video access request relevant treatment responsive operation.Meanwhile, implement in the present invention
In example, also by the first pass workload partition sending behavior in original service server in Resource Server,
Therefore, the service server in the embodiment of the present invention can be used for more processing resource sending row
For configuration work in so that the speed of Business Processing is faster, also is able to increase Business Processing simultaneously
Motility.
In order to the distributed caching side of video resource that the embodiment of the present invention proposed is explained in more detail
Method, is comprehensively illustrated, as it is shown on figure 3, the method exists below with reference to two kinds of above-mentioned methods
When caching video resource, included step is:
301, the video access of user is asked to be transmitted to service server by Resource Server.
The embodiment of the present invention receive user video access request process compared with prior art, money
Source server is equivalent to the relaying between service server, and what user was sent by Resource Server regards
Frequently access request does not processes, and is directly forwarded to service server and processes.
302, by service server according to receive video access request determine corresponding transmission behavior instruction and
The positional information of video resource.
Service server, can be with existing when locating the user video access request that reason Resource Server forwards
Some processing modes are identical, and the implementation that the embodiment of the present invention is used is asked for resolving this video access,
Obtain video resource solicited message and send behavior solicited message.Wherein, video resource solicited message is to use
The solicited message of the specified video resource obtained in family, according to this solicited message, service server can be true
Fixed this video resource particular location in Resource Server, and generate a corresponding positional information and be available for
Resource Server is identified and searches concrete video resource, and concrete mode can be at service server
One mapping table of middle storage, in this table, storage has the code of all video resources in Resource Server and is somebody's turn to do
Video resource position code, the video money that service server will be asked in video resource solicited message
Source information is converted into the code of video resource in this mapping table, and finds out the position code of correspondence.And send out
See off as solicited message contains user profile and transmission behavior request, the use of user profile such as this user
Name in an account book, rank, if for information such as members, according to these information, service server may determine that it please
The video resource asked is the most qualified to be watched or downloads, and is combining transmission behavior request simultaneously, as with
Family requires to see the video of high definition code check, or requires to carry out high-speed downloads etc., and service server will be according in advance
The Service configuration strategy put is the most legal to the request judging this user, and provides corresponding transmission behavior and refer to
Show.It should be noted that the particular content of Service configuration strategy is flexibility and changeability, according to concrete need
Ask and can be adjusted by system manager.Therefore, the embodiment of the present invention tool to Service configuration strategy
Internal appearance does not limits.
User video access request, after the above-mentioned Business Processing of service server, has just drawn transmission row
The service processing result on the bases such as the positional information for instruction and video resource, according to these contents, resource
Server just can find the video resource needed for user and the concrete behavior sent to user.
303, service server using send behavior instruction and video resource positional information as video access
The response message of request sends to Resource Server.
Owing to being the service server response message to Resource Server transmission video access request, relatively
Video resource, service server and resource service is sent by Resource Server to service server in existing
Bandwidth demand between device will diminish, in the case of same band, and the implementation of the embodiment of the present invention
The request of more video access can be processed, to improve the speed of request response.
It should be noted that when service server sends response message to Resource Server, used
Communications protocol can be general, such as ICP/IP protocol etc., it is possible to use for sending content customization
Communications protocol, uses the former advantage to be the compatibility of agreement, uses the latter then can improve data
The instantaneity of transmission, thus more improve the speed of response of request.
304, resolved video access request response message by Resource Server, obtain the position letter of video resource
Breath and the behavior of transmission instruction.
After video access request response message is received by Resource Server, by parsing, this rings Resource Server
Answer information, obtain the positional information of video resource and the transmission behavior instruction generated by service server.
305, Resource Server obtains video resource according to the positional information of video resource.
Resource Server utilizes the positional information resolving obtained video resource in 304 steps to position and regards
Frequently resource.
306, video resource is sent to by Resource Server according to the transmission behavior corresponding to transmission behavior instruction
User.
Resource Server utilizes the transmission behavior instruction obtained by resolving in 304 steps to obtain corresponding transmission
Behavior, these transmission behaviors are originally to be stored in service server calling for service server.And
In embodiments of the present invention, this part work be transferred in Resource Server, by Resource Server according to
Corresponding transmission behavior is called in transmission behavior instruction, the video resource got is sent in 305 steps
To user.
The idiographic flow of the embodiment of the present invention is described below by way of concrete example:
User A clicks on broadcasting video B in video platform, at the CDN net that this video platform is built
In network, the Resource Server that distance users A is nearest receive the request of its video playback, and this request is turned
Issue corresponding service server, service server carry out concrete business configuration, including differentiating this use
Whether family A is member, if can watch video B, judges Gao Yun according to the network state of user A
Permitted to watch the video of which kind of code check, at the same time it can also be judge whether to need to increase advertisement in playing process
Deng value-added service, by a series of configuration, obtain one group of transmission behavior with regard to video B and indicate, meanwhile,
Video B positional information in Resource Server also can be given, by this positional information in service server
Carry out integrating with aforesaid transmission behavior instruction and feed back to Resource Server the most again, by Resource Server solution
The positional information of precipitation video resource, to obtain video B, calls further according to transmission behavior instruction and is preset at money
Transmission behavior in source server, sends video B according to certain code check to user A by video B.
Further, as the realization to said method, embodiments provide a kind of video resource
Distributed caching device, this device is arranged in the Resource Server in CDN system, such as Fig. 4
Shown in, this device includes: retransmission unit, reception unit, acquiring unit and transmitting element;
Retransmission unit 41, for asking to be transmitted to service server by the video access of user, in order to by institute
State the described video access of service server process ask and configure corresponding transmission behavior instruction, described transmission
Behavior instruction, should for determining that described Resource Server sends the transmission behavior of video resource to described user
Retransmission unit 41 user oriented and service server, the video access sending user begs off from doing process.
Receive unit 42, for receiving the video access request response message that described service server returns,
Described video access request response message carries the position letter of described transmission behavior instruction and video resource
Breath.
Acquiring unit 43, the positional information of the video resource for receiving according to described reception unit 42 obtains
Take video resource.Acquiring unit 43 is the master obtaining the video resource file in Resource Server in this device
Want functional module.
Transmitting element 44, is used for described acquisition according to the transmission behavior corresponding to described transmission behavior instruction
The video resource that unit 43 obtains is sent to described user.This transmitting element 44 is in response to the video of user
The main functional modules of access request.
Further, as it is shown in figure 5, described transmitting element 44 includes:
Determine module 441, for indicating according to described transmission behavior, determine the transmission of described video resource
Behavior, this determines that module 441 is that the transmission behavior obtained in the response message received acquired in unit 42 refers to
Show, and the transmission behavior of correspondence will be found out.
According to described, sending module 442, for determining that transmission behavior that module 441 determines is to described user
Send described video resource.This video resource is by acquired in acquiring unit 43.
Further, as it is shown in figure 5, described device also includes:
Resolution unit 45, for receiving, at described reception unit 42, the video access that service server returns
After request response message, resolve described video access request response message, obtain the position letter of video resource
Breath and described transmission behavior indicate.Wherein, the positional information of video resource can be used for acquiring unit 43 and obtains
Video resource, and send behavior instruction can be used for transmitting element 44 obtain correspondence transmission behavior.
Further, the transmission behavior of the video resource in described device at least includes: judge video access
The authority of request, selects to send the bandwidth of video resource, code check, additional value-added services in video resource.
Further, the embodiment of the present invention additionally provides the distributed caching device of a kind of video resource,
This device is arranged in the service server in CDN system, as shown in Figure 6, and this device bag
Include:
Receive unit 61, forward the video access request of user for receiving Resource Server.
Determine unit 62, determine corresponding for the video access request received according to described reception unit 61
Send behavior instruction and the positional information of video resource.Wherein it is determined that unit 62 also needs to visit video
The request of asking resolves, and according to the content parsed carry out matching treatment with obtain transmission behavior instruction and
The positional information of video resource.
Transmitting element 63, for by the described transmission behavior instruction and video resource determining that unit 62 determines
Positional information as described video access request response message send to Resource Server.
Further, as it is shown in fig. 7, described determine that unit 62 includes:
Parsing module 621, is used for resolving the request of described video access, obtain video resource solicited message and
Transmission behavior solicited message, described transmission behavior solicited message includes described user user profile and
Transmission behavior is asked.
Determine module 622, true for the video resource solicited message resolved according to described parsing module 621
Fixed described video resource positional information in described Resource Server.
Described determine module 622, be additionally operable to according to preset Service configuration strategy and described parsing module 621
The transmission behavior solicited message resolved, determines that described video access asks corresponding transmission behavior instruction.Its
In, preset Service configuration strategy is adjustable according to business demand.
Further, the embodiment of the present invention additionally provides the distributed cache system of a kind of video resource,
As shown in Figure 8, described system includes the Resource Server 81 containing said apparatus and containing said apparatus
Service server 82;
Described Resource Server 81, for forwarding the video access of user to ask to described service server 82
Ask, and the video access request response message returned according to described service server 82 sends video to user
Resource.
Described service server 82, forwards the video access of user for receiving described Resource Server 81
Request, and behavior instruction and the position of video resource will be sent determined by the request of described video access
Information, sends to described Resource Server 81.
In sum, the embodiment of the present invention is used the distributed caching method of a kind of video resource, dress
Put and system, be by by existing CDN system architecture is used for video cache Resource Server and
For process video access request service server request responding process in position be interchangeable, by
Resource Server directly receives the video access request of user, and forwards the request to service server and enter
Row processes, service server carry out Business Processing according to the request of user, and by the position of video resource
The response message that information and transmission behavior instruction are asked as video access feeds back to Resource Server, then
Obtained concrete video resource by Resource Server, and according to corresponding transmission behavior, this video resource is sent out
Give user.Relative to the cache way of existing video resource, the video access request of user directly has
Resource Server is received, and simply transmits video access between Resource Server and service server
Ask and respond the message file of this request, without sending video resource information, therefore, greatly
Reduce greatly the demand of bandwidth between Resource Server and service server so that in existing system architecture
Bandwidth be sufficient for video access request relevant treatment responsive operation.Meanwhile, in the embodiment of the present invention
In, also by the first pass workload partition sending behavior in original service server in Resource Server,
Therefore, the service server in the embodiment of the present invention can be used for more processing resource sending row
For configuration work in so that the speed of Business Processing is faster, also is able to increase Business Processing simultaneously
Motility.
Device embodiment described above is only schematically, wherein said illustrates as separating component
Unit can be or may not be physically separate, the parts shown as unit can be or
Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network
On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment
The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible
Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality
The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly
Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words
Dividing and can embody with the form of software product, this computer software product can be stored in computer can
Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one
Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it
Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area
Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or
Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill
The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (9)
1. the distributed caching method of a video resource, it is characterised in that including:
The video access of user is asked to be transmitted to service server by Resource Server, in order to by described business
Video access described in server process is asked and configures corresponding transmission behavior instruction, and described transmission behavior refers to
Show for determining that described Resource Server sends the transmission behavior of video resource to described user;
Receiving the video access request response message that described service server returns, described video access is asked
Response message carries described transmission behavior instruction and the positional information of video resource;
Positional information according to described video resource obtains video resource;
According to the transmission behavior corresponding to described transmission behavior instruction, described video resource is sent to described use
Family.
Method the most according to claim 1, it is characterised in that the transmission behavior of described video resource
At least include: judge the authority that video access is asked, select to send the bandwidth of video resource, code check,
Additional value-added services in video resource.
3. the distributed caching method of a video resource, it is characterised in that including:
Service server receives Resource Server and forwards the video access request of user;
The position letter of corresponding transmission behavior instruction and video resource is determined according to the request of described video access
Breath;
The positional information of described transmission behavior instruction and described video resource is asked as described video access
Response message sends to Resource Server.
Method the most according to claim 3, it is characterised in that described ask according to described video access
Determine that the positional information of corresponding transmission behavior instruction and video resource includes:
Resolve the request of described video access, obtain video resource solicited message and send behavior solicited message,
Described transmission behavior solicited message includes user profile and the transmission behavior request of described user;
Described video resource position in described Resource Server is determined according to described video resource solicited message
Confidence ceases;
According to preset Service configuration strategy and described transmission behavior solicited message, determine described video access
Request is corresponding sends behavior instruction.
5. the distributed caching device of a video resource, it is characterised in that including:
Retransmission unit, asks to be transmitted to service server by the video access of user for Resource Server,
To be processed described video access by described service server ask and configure corresponding transmission behavior instruction,
Described transmission behavior instruction is for determining that described Resource Server sends the transmission of video resource to described user
Behavior;
Receive unit, for receiving the video access request response message that described service server returns, institute
State video access request response message and carry the position letter of described transmission behavior instruction and video resource
Breath;
Acquiring unit, the positional information of the video resource for receiving according to described reception unit obtains video
Resource;
Transmitting element, for obtaining list according to the transmission behavior corresponding to described transmission behavior instruction by described
The video resource that unit obtains is sent to described user.
Device the most according to claim 5, it is characterised in that the video resource in described device
Transmission behavior at least includes: judge the authority that video access is asked, select to send video resource bandwidth,
Code check, additional value-added services in video resource.
7. the distributed caching device of a video resource, it is characterised in that including:
Receive unit, receive Resource Server for service server and forward the video access request of user;
Determine unit, determine corresponding transmission for the video access request received according to described reception unit
Behavior instruction and the positional information of video resource;
Transmitting element, for by the described transmission behavior instruction and the position of video resource determining that unit determines
Information sends to Resource Server as described video access request response message.
Device the most according to claim 7, it is characterised in that described determine that unit includes:
Parsing module, is used for resolving the request of described video access, obtains video resource solicited message and transmission
Behavior solicited message, includes user profile and the transmission of described user in described transmission behavior solicited message
Behavior is asked;
Determine module, the video resource solicited message for resolving according to described parsing module determine described in regard
Frequently resource positional information in described Resource Server;
Described determine module, be additionally operable to resolve according to preset Service configuration strategy and described parsing module
Transmission behavior solicited message, determines that described video access asks corresponding transmission behavior instruction.
9. the distributed cache system of a video resource, it is characterised in that described system includes containing such as
The Resource Server of device described in claim 5 or 6 and containing device as described in claim 7 or 8
Service server;
Described Resource Server, for forwarding the video access request of user to described service server, and
Video resource is sent to user according to the video access request response message that described service server returns;
Described service server, forwards the video access request of user for receiving described Resource Server,
And behavior instruction and the positional information of video resource will be sent determined by the request of described video access,
Send to described Resource Server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510781374.6A CN105871972A (en) | 2015-11-13 | 2015-11-13 | Video resource distributed cathe method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510781374.6A CN105871972A (en) | 2015-11-13 | 2015-11-13 | Video resource distributed cathe method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105871972A true CN105871972A (en) | 2016-08-17 |
Family
ID=56624293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510781374.6A Pending CN105871972A (en) | 2015-11-13 | 2015-11-13 | Video resource distributed cathe method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105871972A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277153A (en) * | 2017-06-30 | 2017-10-20 | 百度在线网络技术(北京)有限公司 | Method, device and server for providing voice service |
CN110049348A (en) * | 2019-04-03 | 2019-07-23 | 网宿科技股份有限公司 | A kind of video analytic method, system and video resolution server |
CN112311525A (en) * | 2020-10-26 | 2021-02-02 | 深圳供电局有限公司 | Resource matching method for distributed terminal in power grid |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051980A (en) * | 2007-05-21 | 2007-10-10 | 华为技术有限公司 | File data distributing method and relative device |
CN101202749A (en) * | 2007-11-16 | 2008-06-18 | 华为技术有限公司 | Method, system and device for processing medium stream request in SIP network |
CN101651703A (en) * | 2008-08-14 | 2010-02-17 | 北京摩软科技有限公司 | Method and system for initiating business request to server by mobile terminal |
CN101965015A (en) * | 2009-07-21 | 2011-02-02 | 中国电信股份有限公司 | Distributed call center service control method and system |
WO2011143916A1 (en) * | 2011-01-19 | 2011-11-24 | 华为技术有限公司 | Media adaptation method and apparatus |
-
2015
- 2015-11-13 CN CN201510781374.6A patent/CN105871972A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051980A (en) * | 2007-05-21 | 2007-10-10 | 华为技术有限公司 | File data distributing method and relative device |
CN101202749A (en) * | 2007-11-16 | 2008-06-18 | 华为技术有限公司 | Method, system and device for processing medium stream request in SIP network |
CN101651703A (en) * | 2008-08-14 | 2010-02-17 | 北京摩软科技有限公司 | Method and system for initiating business request to server by mobile terminal |
CN101965015A (en) * | 2009-07-21 | 2011-02-02 | 中国电信股份有限公司 | Distributed call center service control method and system |
WO2011143916A1 (en) * | 2011-01-19 | 2011-11-24 | 华为技术有限公司 | Media adaptation method and apparatus |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277153A (en) * | 2017-06-30 | 2017-10-20 | 百度在线网络技术(北京)有限公司 | Method, device and server for providing voice service |
CN110049348A (en) * | 2019-04-03 | 2019-07-23 | 网宿科技股份有限公司 | A kind of video analytic method, system and video resolution server |
CN110049348B (en) * | 2019-04-03 | 2022-04-05 | 网宿科技股份有限公司 | Video analysis method and system and video analysis server |
CN112311525A (en) * | 2020-10-26 | 2021-02-02 | 深圳供电局有限公司 | Resource matching method for distributed terminal in power grid |
CN112311525B (en) * | 2020-10-26 | 2024-03-12 | 深圳供电局有限公司 | Resource matching method for distributed terminals in power grid |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106899680B (en) | The fragment treating method and apparatus of multi-tiling chain | |
CN106031130B (en) | Content distribution network framework with edge proxies | |
CN101326493B (en) | Method and device for distributing load of multiprocessor server | |
CN111913738B (en) | Access request processing method, device, computing equipment and medium | |
CN111163130B (en) | Network service system and data transmission method thereof | |
US11025738B2 (en) | Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute | |
CN107636722B (en) | Management method and management server for utilizing multiple SIM cards | |
CN104363507B (en) | A kind of video and audio recording and sharing method and system based on OTT set-top box | |
CN110557284A (en) | data aggregation method and device based on client gateway | |
CN103945000A (en) | Load balance method and load balancer | |
CN109618003B (en) | Server planning method, server and storage medium | |
CN109150936A (en) | The sharing method and device of session object Session in a kind of distributed type assemblies | |
CN103825923A (en) | Resource download method, business server and mobile phone client-terminal | |
CN112825524B (en) | Method, device and system for determining network service node | |
CN111245918A (en) | Service request transmission method and device | |
US20170279738A1 (en) | Method, apparatus, and system for transmitting data | |
CN105871972A (en) | Video resource distributed cathe method, device and system | |
CN109873855A (en) | A kind of resource acquiring method and system based on block chain network | |
US20130204964A1 (en) | Retrieving availability information from published calendars | |
CN107634854B (en) | Service data processing method and device | |
CN110798495A (en) | Method and server for end-to-end message push in cluster architecture mode | |
CN104702646A (en) | Data transmission method and device and communication system | |
CN110995890B (en) | Domain name request scheduling method and device | |
US10511454B2 (en) | Methods and systems for implementing differential pricing configurations | |
CN112954084B (en) | Edge computing processing method, network function example and edge service management and control center |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160817 |
|
WD01 | Invention patent application deemed withdrawn after publication |