CN109348264A - Video resource sharing method, device, storage medium and electronic equipment - Google Patents

Video resource sharing method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109348264A
CN109348264A CN201811351594.5A CN201811351594A CN109348264A CN 109348264 A CN109348264 A CN 109348264A CN 201811351594 A CN201811351594 A CN 201811351594A CN 109348264 A CN109348264 A CN 109348264A
Authority
CN
China
Prior art keywords
video
node
resource
video resource
mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811351594.5A
Other languages
Chinese (zh)
Other versions
CN109348264B (en
Inventor
张树娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201811351594.5A priority Critical patent/CN109348264B/en
Publication of CN109348264A publication Critical patent/CN109348264A/en
Application granted granted Critical
Publication of CN109348264B publication Critical patent/CN109348264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6131Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of video resource sharing method, video resource sharing means, computer readable storage medium and electronic equipments.Video resource sharing method in the embodiment of the present invention is used to provide video resource shared service for the mobile node in mobile ad-hoc network, comprising: local server is received is requested by the video acquisition for target video resource that the first movement node in mobile ad-hoc network is sent;The access frequency of target video resource is obtained, and judges whether target video resource is hot point resource or non-hot resource according to access frequency;If it is determined that target video resource is hot point resource, then video acquisition request is sent to cloud server, to be capable of providing the second mobile node of target video resource for the distribution of first movement node by cloud server.Local server pressure can not only be effectively relieved in this method, and can provide in time available bandwidth for mobile node, to promote the scalability and service quality of video system.

Description

Video resource sharing method, device, storage medium and electronic equipment
Technical field
The present invention relates to field of computer technology, and in particular to the shared dress of a kind of video resource sharing method, video resource It sets, computer readable storage medium and electronic equipment.
Background technique
With the development of development of Mobile Internet technology, universal and wireless network bandwidth the increasing of smart phone, tablet computer Add, demand of the user of mobile client to Video service is watched in the wireless network is increasing.With request video content Mobile client node quantity be continuously increased, expensive and limited video server resource is difficult to meet mass users for band Wide and computing resource demand brings huge challenge for the scalability and service quality of video system.
Bandwidth, storage and the computing resource that can use part client based on P2P technology provide clothes for other clients Business carrys out the limited problem of settlement server end resource, to improve the scalability of video system to a certain extent.But by It is relatively limited in the storage, calculating and bandwidth resources of mobile client, so that the available resource of client is limited, video system Scalability and service quality still remain huge challenge.For example, the limited storage resource of mobile client leads to client The video resource of caching needs frequently replacement to store new video resource.The high dynamic of this storage resource leads to nerve of a covering Video resource distribution is extremely unstable in network, not only reduces the cruising ability of storage resource hit rate and client, increases visitor The search delay of video resource is requested at family end, and increases server to the complexity of scheduling of resource and request processing, to view The scalability and service quality of display system generate greatly negative effect.
It should be noted that information is only used for reinforcing the reason to background of the invention disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The purpose of the present invention is to provide a kind of video resource sharing methods, video resource sharing means, computer-readable Storage medium and electronic equipment, and then regarded caused by overcoming the limitation and defect due to the relevant technologies at least to a certain extent The technical problems such as poor expandability, the service quality of display system is low.
According to an aspect of the present invention, a kind of video resource sharing method is provided, for in mobile ad-hoc network Mobile node provide video resource shared service, be characterized in that, which comprises
Local server, which is received, is directed to target video by what the first movement node in the mobile ad-hoc network was sent The video acquisition of resource is requested;
The access frequency of the target video resource is obtained, and the target video resource is judged according to the access frequency It whether is hot point resource or non-hot resource;
If it is determined that the target video resource is hot point resource, then video acquisition request is sent to cloud service Device, to be moved by the cloud server for first movement node distribution is capable of providing the target video resource second Dynamic node.
In embodiments of the present invention, the access frequency for obtaining the target video resource, comprising:
Count the request frequency for the video acquisition request for the target video resource that the local server receives Rate, and using the request frequency as the access frequency of the target video resource.
In embodiments of the present invention, described to judge whether the target video resource is hot spot money according to the access frequency Source or non-hot resource, comprising:
If the access frequency is greater than a preset threshold, determine that the target video resource is hot point resource;Otherwise, sentence The fixed target video resource is non-hot resource.
In embodiments of the present invention, the method also includes:
If it is determined that the target video resource is non-hot resource, then the local server is the first movement node Distribution is capable of providing the third mobile node of the target video resource.
In embodiments of the present invention, the local server is that first movement node distribution is capable of providing the target The third mobile node of video resource, comprising:
DBMS member set is added using the first movement node as DBMS member, and obtains DBMS member's collection DBMS member's information of each DBMS member in conjunction;
According to DBMS member's information, screening one is stored with the target video resource from DBMS member set Goal systems member;
The third mobile node corresponding with the goal systems member is distributed into the first movement node, so as to The target video resource is provided by the third mobile node for the first movement node.
In embodiments of the present invention, DBMS member's information includes the section of mobile node corresponding with the DBMS member The video information of the video resource of point information, DBMS member's request and the DBMS member send video acquisition and ask The temporal information asked.
In embodiments of the present invention, the screening one from DBMS member set is stored with the target video resource Goal systems member, comprising:
Screening is stored with one or more alternative system of the target video resource from DBMS member set Member;
The first movement node is obtained respectively and DBMS member's set is added in each alternative system member The addition time;
The shortest alternative system of addition time interval of DBMS member's set will be added with the first movement node Member is elected to be the goal systems member.
According to an aspect of the present invention, a kind of video resource sharing means are provided, for in mobile ad-hoc network Mobile node provide video resource shared service, be characterized in that, described device includes:
Local reception module is configured as local server and receives by the first movement section in the mobile ad-hoc network The video acquisition for target video resource that point is sent is requested;
Judgment module is configured as obtaining the access frequency of the target video resource, and is sentenced according to the access frequency Whether the target video resource of breaking is hot point resource or non-hot resource;
Request forwarding module, be configured as if it is determined that the target video resource be hot point resource, then the video is obtained Request is taken to be sent to cloud server, to be described in first movement node distribution is capable of providing by the cloud server Second mobile node of target video resource.
According to an aspect of the present invention, a kind of video resource sharing method is provided, for in mobile ad-hoc network Mobile node provide video resource shared service, be characterized in that, which comprises
Cloud server, which is received, to be sent by the first movement node in the mobile ad-hoc network and by local server The video acquisition for target video resource of forwarding is requested;
The mobile node for being stored with the target video resource in the mobile ad-hoc network is screened, and will be stored The all or part of mobile node for stating target video resource is elected to be video and provides node to form video offer node set;
Each video that the video is provided in node set is obtained respectively, and the request of video acquisition described in node processing is provided Expected time, and according to the expected time from the video provide node set in screen a target video provide node;
Corresponding second mobile node of node will be provided with the target video and distribute to the first movement node, so as to The target video resource is provided by second mobile node for the first movement node.
In embodiments of the present invention, the target view is being provided for the first movement node by second mobile node After frequency resource, the method also includes:
The first movement node being provided to the node addition video as video, node set is provided.
In embodiments of the present invention, the method also includes:
It adjusts the video that the video is provided in node set and the quantity of node is provided.
In embodiments of the present invention, the adjustment video provides the video in node set and provides the quantity of node, Include:
It obtains the video that the video is provided in node set and the Number dynamics change information of node is provided;
According to the Number dynamics change information, adjusts the video that the video is provided in node set and the number of node is provided Amount.
In embodiments of the present invention, the adjustment video provides the video in node set and provides the quantity of node, Include:
Each video in node set is provided according to the video, and the phase that video acquisition described in node processing is requested is provided It hopes the time, adjusts the video that the video is provided in node set and the quantity of node is provided.
In embodiments of the present invention, the adjustment video provides the video in node set and provides the quantity of node, Include:
It obtains the video and the history processing of each video offer node processing video acquisition request in node set is provided Information;
The quantity that information adjusts the video offer node that the video is provided in node set is handled according to the history.
According to an aspect of the present invention, a kind of video resource sharing means are provided, for in mobile ad-hoc network Mobile node provide video resource shared service, be characterized in that, described device includes:
Cloud receiving module is configured as cloud server and receives by the first movement section in the mobile ad-hoc network Point sends and is requested by the video acquisition for target video resource of local server forwarding;
First screening module, is configured as screening and is stored with the target video resource in the mobile ad-hoc network Mobile node, and all or part of mobile node for being stored with the target video resource is elected to be video and provides node with shape Node set is provided at a video;
Second screening module, each video for being configured to obtain in the video offer node set provide node The expected time of the video acquisition request is handled, and is provided in node set and is screened from the video according to the expected time One target video provides node;
Node distribution module, corresponding second mobile node of node will be provided with the target video by, which being configured as, distributes to The first movement node provides to provide the target video by second mobile node for the first movement node Source.
According to an aspect of the present invention, a kind of computer readable storage medium is provided, computer program is stored thereon with, It is characterized in that, the video resource of any description above shared side is realized when the computer program is executed by processor Method.
According to an aspect of the present invention, a kind of electronic equipment is provided, is characterized in that, including processor and storage Device;Wherein, memory is used to store the executable instruction of the processor, the processor is configured to via can described in execution It executes instruction to execute the video resource sharing method of any description above.
In video resource sharing method provided in an embodiment of the present invention, when local server is in mobile ad-hoc network Mobile node provide Video service when, local server only needs to handle the lower non-hot resource of access frequency.And cloud Server can assist in the popular hot point resource of local server management, can not only to handle extensive intensive request Local server pressure is enough effectively relieved, and available bandwidth can be provided in time for mobile node, to promote video system Scalability and service quality.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 schematically shows the step flow chart of video resource sharing method in the embodiment of the present invention.
Fig. 2 schematically shows the part steps flow chart of video resource sharing method in another embodiment of the present invention.
Fig. 3 schematically shows the part steps flow chart of video resource sharing method in another embodiment of the present invention.
Fig. 4 schematically shows the composition block diagram of video resource sharing means in the embodiment of the present invention.
Fig. 5 schematically shows the step flow chart of video resource sharing method in another embodiment of the present invention.
Fig. 6 schematically shows the part steps flow chart of video resource sharing method in another embodiment of the present invention.
Fig. 7 schematically shows the part steps flow chart of video resource sharing method in another embodiment of the present invention.
Fig. 8 schematically shows the composition block diagram of video resource sharing means in another embodiment of the present invention.
Fig. 9 schematically shows video system of the video resource sharing method under an application scenarios in the embodiment of the present invention and shows It is intended to.
Figure 10 schematically shows a kind of schematic diagram of program product in the embodiment of the present invention.
Figure 11 schematically shows the module diagram of a kind of electronic equipment in the embodiment of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms It applies, and is not understood as limited to example set forth herein;On the contrary, these embodiments are provided so that the present invention will more comprehensively and Completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, structure or characteristic It can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the embodiment of the present invention, it is not necessarily drawn to scale.It is identical in figure Appended drawing reference indicates same or similar part, thus will omit repetition thereof.Some boxes shown in the drawings Figure is functional entity, not necessarily must be corresponding with physically or logically independent entity.It can be realized using software form These functional entitys, or these functional entitys are realized in one or more hardware modules or integrated circuit, or in heterogeneous networks And/or these functional entitys are realized in processor device and/or microcontroller device.
The embodiment of the present invention provides a kind of video resource sharing method first, for for the movement in mobile ad-hoc network Node provides video resource shared service.Mobile ad-hoc network be it is a kind of by mobile node form by mobile network and based on Calculation machine network carries out the network system of network communication, wherein each mobile node can arbitrarily move in network coverage And keep being in communication with each other between other mobile nodes.Mobile node can correspond to a mobile phone, laptop or Various types of mobile terminal devices for having access to mobile ad-hoc network such as tablet computer.
In the present embodiment, the executing subject of video resource sharing method can be can in mobile ad-hoc network Each mobile node carries out the local server of network communication, can store on local server provided for mobile node it is initial Video resource, and video resource directly can be transmitted to mobile node in the case where meeting certain condition.As shown in Figure 1, Video resource sharing method in the present embodiment mainly may comprise steps of:
Step S110. local server, which is received, is directed to target by what the first movement node in mobile ad-hoc network was sent The video acquisition of video resource is requested.
When a certain mobile node of mobile ad-hoc network needs to watch a video content, network communication can be passed through A video acquisition is sent to local server to request, and the mobile node of request video is denoted as first movement in the present embodiment Node, while the video content of first movement node request is denoted as target video resource.Therefore, this step is first by this Ground server receives the video acquisition request being directed to for target video resource that first movement node is sent.Wherein, video obtains Taking request at least may include that nodal information, video information and/or temporal information etc. are various relevant to video request and transmission Essential information.For example, nodal information can be the network address of first movement node, video information can be target video resource Identification code in current video system, temporal information can be the time that first movement node sends video acquisition request Stamp.
Step S120. obtains the access frequency of target video resource, and judges that target video resource is according to access frequency No is hot point resource or non-hot resource.
Based on the video acquisition request received in step S110, can request to obtain first by parsing the video acquisition The video information for the target video resource that mobile node request obtains.Then, the visit of the available target video resource of this step It asks frequency, and category division is carried out to target video resource according to the access frequency, it can judge that the target video resource is No is hot point resource or non-hot resource.Wherein, hot point resource can be the relatively high current more prevalence of access frequency Video resource, rather than hot point resource is then the relatively low video resource of the relatively low current popular degree of access frequency.This In access frequency can be the video resource as obtained from the traffic monitoring to data access interface access data, in addition It can be and data are accessed by the video resource that any other approach such as network surveying or statistics obtains, the embodiment of the present invention is to this Do not do particular determination.
Step S130. if it is determined that target video resource be hot point resource, then by video acquisition request be sent to cloud service Device, to be capable of providing the second mobile node of target video resource for the distribution of first movement node by cloud server.
According to the judging result in step S130, if it is decided that the target video resource of first movement node request is Hot point resource, then in this step, the video acquisition request that first movement node is sent can be forwarded to by local server Cloud server, for first movement node selection and to distribute the second movement from mobile ad-hoc network by cloud server Node, the second mobile node can provide the target video resource of its request for first movement node, to realize video Resource-sharing.It for example may is that cloud takes from the second mobile node to the mode that first movement node provides target video resource Video acquisition request is sent to the second mobile node by business device, and then the second mobile node returns to a confirmation to first movement node Message, first movement node receives the interface channel that can establish after the confirmation message with the second mobile node, and then utilizes The interface channel obtains target video resource from the second mobile node.
Step S140. is if it is determined that target video resource is non-hot resource, then local server is first movement node point With the third mobile node for being capable of providing target video resource.
According to the judging result in step S130, if it is decided that the target video resource of first movement node request is Non-hot resource, then in this step, local server can distribute third mobile node for first movement node, third is moved Dynamic node can provide the target video resource of its request equally for first movement node, to realize that video resource is total It enjoys.In some other inventive embodiments, when determining target video resource is non-hot resource, when conditions permit It directly can also be that first movement node transmits corresponding video data by local server, the present invention does not do special limit to this It is fixed.
In video resource sharing method provided in an embodiment of the present invention, when local server is in mobile ad-hoc network Mobile node provide Video service when, local server only needs to handle the lower non-hot resource of access frequency.And cloud Server can assist in the popular hot point resource of local server management, can not only to handle extensive intensive request Local server pressure is enough effectively relieved, and available bandwidth can be provided in time for mobile node, to promote video system Scalability and service quality.
On the basis of above embodiments, the access frequency of the acquisition target video resource in step S120 can be into one Step includes: to count the request frequency for the video acquisition request for target video resource that local server receives, and will ask Ask frequency as the access frequency of target video resource.
For example, the video acquisition for target video resource that this step can count proxima luce (prox. luc) or receive a few days ago Request obtains every per day request frequency of the target video resource, using the request frequency as the visit of target video resource Ask frequency.If request frequency is higher, it is considered that target video resource is hot point resource currently popular.Such one Come, cloud server can be transferred to handle the video acquisition request for the target video resource, to alleviate this The operating pressure of ground server.
Correspondingly, in step S120 according to access frequency judge target video resource whether be hot point resource or Non-hot resource, may further include: if access frequency is greater than a preset threshold, determine target video resource for hot spot money Source;Otherwise, it is determined that target video resource is non-hot resource.
For example, this step can set a preset threshold according to historical requests data and the service ability of local server, If the access frequency of target video resource is greater than the preset threshold, it can be regarded as hot point resource, mentioned by cloud server For Video service.And if the access frequency of target video resource is less than or equal to the preset threshold, it can be regarded as non- Hot point resource provides Video service by local server.This video service distribution mode can make saving cloud server On the basis of cost, alleviate the operating pressure of local server, thus effectively improve video service system scalability and Service quality.
As shown in Fig. 2, in an alternative embodiment of the invention, step S140. local server is the distribution of first movement node It is capable of providing the third mobile node of target video resource, may comprise steps of:
DBMS member set is added by step S210. for first movement node, and obtains DBMS member DBMS member's information of each DBMS member in set.
After first movement node, which sends video acquisition to local server, requests, local server can be by first movement DBMS member set is added as DBMS member in node.The DBMS member is gathered by being total in mobile ad-hoc network using video The mobile node for enjoying service is constituted, and local server is in addition to providing Video service for each DBMS member in DBMS member's set In addition, DBMS member's information of each DBMS member can also be obtained.For example, DBMS member's information may include and DBMS member The nodal information of corresponding mobile node, the video information of the video resource of DBMS member's request and DBMS member send The temporal information of video acquisition request.
Step S220. is according to DBMS member's information, and screening one is stored with target video resource from DBMS member's set Goal systems member.
According to DBMS member's information of each DBMS member got in step S210, this step can be from DBMS member Screening one is stored with the goal systems member of target video resource in set.In general, the target that is stored with that screening obtains regards DBMS member's more than one of frequency resource, local server can according to the present load of each DBMS member and service ability into Row postsearch screening, for example, can by the system of service ability relatively strong (possessing higher bandwidth, storage, calculating and cruising ability) at Member is elected to be goal systems member.
Third mobile node corresponding with goal systems member is distributed to first movement node by step S230., so as to by Third mobile node provides target video resource for first movement node.
By after screening in step S220 and obtaining goal systems member, this step can will corresponding with goal systems member the Three mobile nodes distribute to first movement node, to provide target video money by third mobile node for first movement node Source.For example, the video acquisition request that first movement node is sent can be forwarded to third movement by local server by this step Node, then third mobile node returns to a confirmation message to first movement node, and first movement node receives the confirmation message Connection is established with third mobile node afterwards and obtains video data from third mobile node, to complete video shared procedure.
As shown in figure 3, one storage of screening from DBMS member's set on the basis of above embodiments, in step S220 There is the goal systems member of target video resource, may further include following steps:
Step S310. screening from DBMS member's set is stored with one or more alternative system of target video resource Member.
Based on the video information in DBMS member's information, this step can first from DBMS member's set screening one or The multiple alternative system members of person should be stored with first movement node on the corresponding mobile node of each alternative system member and ask Seek the target video resource of acquisition.
Step S320. obtains first movement node respectively and adding for DBMS member's set is added in each alternative system member The angle of incidence.
Based on the temporal information in DBMS member's information, this step can obtain first movement node and each standby respectively Select DBMS member that the addition time of DBMS member's set is added.
The shortest alternative system of addition time interval of DBMS member's set will be added in step S330. with first movement node Member is elected to be goal systems member.
According to the addition time got in step S320, first movement node and each alternative system member can be calculated Temporal time interval is being added, the shortest alternative system member of time interval is elected to be goal systems member by this step, so Video is provided by the corresponding third mobile node of goal systems member afterwards for first movement node to share.Shorter addition system at The time interval of member's set, can ensure first movement node and third mobile node on video playing point to a certain extent Relative synchronization is kept, the stability of logical connection between the two is promoted.
Based on above method embodiment, the embodiment of the present invention also provides a kind of video resource sharing means, for being movement Mobile node in self-organizing network provides video resource shared service, which can be set up in local clothes Business device one end.As shown in figure 4, the video resource sharing means 400 in the embodiment of the present invention mainly may include: local reception mould Block 410, judgment module 420 and request forwarding module 430.Wherein, local reception module 410 is configured as local server reception It is requested by the video acquisition for target video resource that the first movement node in mobile ad-hoc network is sent;Judgment module 420 are configured as obtaining the access frequency of target video resource, and judge whether target video resource is heat according to access frequency Point resource or non-hot resource;Request forwarding module 430 be configured as if it is determined that target video resource be hot point resource, then will Video acquisition request is sent to cloud server, to be that the distribution of first movement node is capable of providing target view by cloud server Second mobile node of frequency resource.
The detail of above-mentioned video resource sharing means has carried out in corresponding video resource sharing method in detail Thin description, therefore details are not described herein again.
Another video resource sharing method is also provided in the embodiment of the present invention, for for the shifting in mobile ad-hoc network Dynamic node provides video resource shared service.In the present embodiment, can be can for the executing subject of video resource sharing method With the cloud server of each mobile node and local server progress network communication in mobile ad-hoc network.
As shown in figure 5, the video resource sharing method in the embodiment of the present invention mainly may comprise steps of:
Step S510. cloud server, which is received, to be sent by the first movement node in mobile ad-hoc network and by local The video acquisition for target video resource of server forwarding is requested.
It, can be with by the associated description in previous embodiment it is known that when determining target video resource for hot point resource Video acquisition request is forwarded to cloud server.In this step, cloud server is ready to receive by mobile ad-hoc network In first movement node send and by local server forwarding for target video resource video acquisition request.
It is stored with the mobile node of target video resource in step S520. screening mobile ad-hoc network, and will be stored with The all or part of mobile node of target video resource is elected to be video and provides node to form video offer node set.
According to the video acquisition request received in step S510, this step can be screened in mobile ad-hoc network and be stored There is the mobile node of target video resource, while all or part of movable joint for being stored with target video resource can be clicked Make video and provides node to form video offer node set.In order to save use cost, cloud server can be to video The scale for providing node set is assessed and is regulated and controled.
Step S530. obtains each video that video is provided in node set respectively and provides the request of node processing video acquisition Expected time, and according to the expected time from video provide node set in screen a target video provide node.
After forming video offer node set by step S520, this step can provide the video each in node set The service ability that a video provides node is assessed, and the expected time for handling video acquisition request can be used as service ability A kind of evaluation index.This step obtains video respectively and provides the expected time of node processing video acquisition request, and can root Screening in node set is provided from video according to the expected time, and target video offer node is provided.Such as it can be by the expected time most Short video provides node and is elected to be target video offer node.
Step S540. will provide corresponding second mobile node of node with target video and distribute to first movement node, with Just target video resource is provided for first movement node by the second mobile node.
According to the selection result of step S530, it is corresponding that this step can provide the target video obtained with screening to node The second mobile node distribute to first movement node, to provide target video by the second mobile node for first movement node Resource.It for example may is that cloud server from the second mobile node to the mode that first movement node provides target video resource Video acquisition request is sent to the second mobile node, then the second mobile node returns to a confirmation to first movement node and disappears Breath, first movement node receive the interface channel that can establish after the confirmation message with the second mobile node, and then using should Interface channel obtains target video resource from the second mobile node.
It, can also be by first movement section after providing target video resource by the second mobile node for first movement node Point provides node as new video and is added into video offer node set.In general, the video newly increased provides node Possess relatively stable broadcast state, the stability in terms of providing video sharing service is also stronger.
In video resource sharing method provided in an embodiment of the present invention, cloud server can be based on the video received Acquisition request establishes video corresponding with target video resource and provides node set, and can be mentioned by cloud server to video It is safeguarded and is adjusted for the scale of node set.Local server is assisted to provide video sharing service by cloud server, While saving cloud server use cost, the scalability and Service Quality of video system can be promoted to a certain extent Amount.
On the basis of the above inventive embodiments, video resource sharing method can be comprising steps of adjustment video be provided Video in node set provides the quantity of node.Such as it can establish one and can safeguard the video resource towards service quality The video resource of dynamic equilibrium relation safeguards assessment models between supply and demand, according to the distribution and demand of video resource in network Situation, dynamic adjusts the use of cloud resource, to reduce cloud resource use cost.
As shown in fig. 6, in an alternative embodiment of the invention, adjustment video provides the video in node set and provides node Quantity may further include following steps:
Step S610. obtains the video that video is provided in node set and provides the Number dynamics change information of node.
Since the mobile node in mobile ad-hoc network can be added or exit at random according to the interests change of itself Video provides node set, therefore dynamic change can occur for the quantity of the video offer node in video offer node set.This Step can monitor video in real time and provide the scale state of node set, obtain wherein video and provide the Number dynamics variation of node Information.
Step S620. adjusts the video that video is provided in node set and provides node according to Number dynamics change information Quantity.
When video, which provides node, exits video offer node set, video provides available video resource in node set Quantity will be reduced, so that the video of cloud server maintenance provides each video offer node needs in node set and undertakes More request message processing loads and data transfer loads.Therefore, in order to maintain the service quality of video sharing service, this step Suddenly it can adjust the video that video is provided in node set according to the Number dynamics change information got in step S610 and provide The quantity of node.For example, providing the departure rate of node greater than video offer node when video provides the video in node set When increment rate, the video that cloud server can expand maintenance provides node set scale, to keep the confession of target video resource It should be with the balance of demand.
In addition to the adjustment mode in the above inventive embodiments, adjustment video provides the video in node set and provides node Quantity, can also include: according to video provide node set in each video provide node processing video acquisition request Expected time, adjustment video provide the video in node set and provide the quantity of node.
When the departure rate that video provides the video offer node in node set, which is less than video, provides the increment rate of node, The scale that video provides node set will constantly expand, and not only result in a degree of resource redundancy, and will increase cloud Use cost of the server in terms of maintenance video provides node set.In this case, cloud server can be according to each A video provides the video that an expected time for processing video acquisition request is provided video in node set that picks and provides node Quantity be adjusted.For example, the length of can provide each video to node desirably time is ranked up, it would be desirable to when Between longer video node be provided remove video node set is provided, so that the scale that video provides node set is maintained one In a suitable range.
When the increment rate that video provides the departure rate of the video offer node in node set and video provides node is basic Equal, the quantity that video provides node will also keep relative stability.But the if movable joint of request target video resource When point quantity is continuously increased and each video is caused to provide node due to loading increase and generating request message processing delay, cloud The video that server can expand maintenance provides the scale of node set, increases video and provides the quantity of node, to maintain to regard The service quality of frequency shared service.
As shown in fig. 7, in an alternative embodiment of the invention, adjustment video provides the video in node set and provides node Quantity may comprise steps of:
Step S710. obtains video and provides the history of each video offer node processing video acquisition request in node set Handle information.
The available video of cloud server provides each video in node set and provides the request of node processing video acquisition Real-time status, thus can also to each video provide node history processing information record, such as may include view Frequency provides the number of requests for the video acquisition request that node receives within the unit time, handles the average time of request message, passes The average time etc. of defeated video data.
Step S720. handles the quantity for the video offer node that information adjustment video is provided in node set according to history.
Information is handled based on the history got in step S710, this step can provide video the view in node set The quantity that frequency provides node adjusts.For example, can be calculated according to the history processing information that a certain video provides node The video provides the request message handling rate and request message arrival rate of node, if request message handling rate is lower than request message Arrival rate, then cloud server can be moved out video and mention it is considered that the processing capacity of video offer node is lower For node set.And after its processing capacity improves, cloud server can provide the video to node again and be added to maintenance Video is provided in node set.The mode of this dynamic adjustment can reduce view while guaranteeing video sharing service quality Frequency provides the scale of node set, to reduce the use cost of cloud server.
Based on above method embodiment, the embodiment of the present invention also provides a kind of video resource sharing means, for being movement Mobile node in self-organizing network provides video resource shared service, which can be set up in cloud clothes Business device one end.As shown in figure 8, the video resource sharing means 800 in the embodiment of the present invention mainly may include: that cloud receives mould Block 810, the first screening module 820, the second screening module 830 and node distribution module 840.Wherein, 810 quilt of cloud receiving module Cloud server is configured to receive by the first movement node transmission in mobile ad-hoc network and by local server forwarding For the video acquisition request of target video resource;First screening module 820 is configured as depositing in screening mobile ad-hoc network The mobile node of target video resource is contained, and all or part of mobile node for being stored with target video resource is elected to be view Frequency provides node and provides node set to form a video;Second screening module 830 is configured to obtain video offer section Each video in point set provides the expected time of node processing video acquisition request, and is provided according to the expected time from video A target video is screened in node set, and node is provided;Node distribution module 840 is configured as that node will be provided with target video Corresponding second mobile node distributes to first movement node, to provide target by the second mobile node for first movement node Video resource.
The detail of above-mentioned video resource sharing means has carried out in corresponding video resource sharing method in detail Thin description, therefore details are not described herein again.
It should be noted that, although the above inventive embodiments describe each of method in the embodiment of the present invention with particular order A step, still, this does not require that perhaps hint must execute these steps in this particular order or have to carry out complete The step of portion, is just able to achieve desired result.Additionally or alternatively, it is convenient to omit certain steps merge into multiple steps One step executes, and/or a step is decomposed into execution of multiple steps etc..
In addition, although being referred to several modules or unit for acting the equipment executed in the above detailed description, But it is this divide it is not enforceable.In fact, embodiment according to the present invention, two or more above-described modules Either the feature and function of unit can embody in a module or unit.Conversely, an above-described module or The feature and function of person's unit can be to be embodied by multiple modules or unit with further division.
Video sharing method provided in an embodiment of the present invention is described in detail below with reference to a concrete application scene.
As shown in figure 9, when video system provides Video service for the mobile node 920 in mobile ad-hoc network 910, Cloud server 930 can assist in local server 940 to manage popular hot point resource, intensively be requested on a large scale with handling, Video server pressure can not only be effectively relieved, and available bandwidth can be provided in time for requesting node, to promote view The scalability and service quality of display system.Video sharing method and video sharing means based on the embodiment of the present invention, Initially set up the video resource of dynamic equilibrium relation between the video resource supply and demand that one can safeguard towards service quality Safeguard assessment models, according to the distribution of video resource in network and demand status, dynamic adjusts the use of cloud resource, to drop Low clouds end resource use cost;And the dynamic dispatching machine of a video resource supplier is further provided on this basis System is video request person's dynamic allocation and schedule video supplier according to the load of video vendor itself, to be effectively reduced Load between video search delay and balance video supplier.Specifically, the application scenarios mainly include following three aspect Content:
1. the design of local server
Local server stores the initial video resource provided for mobile node.When a mobile node a needs to watch When one video content, video request is sent to local server, video request message includes requesting node information, request view Frequency ID and request time stamp.After local server receives the request message of node a, by the video request Message Record of node a In local, then a becomes DBMS member.So, local server storage and maintenance is made of list each DBMS member, in list The information of each DBMS member of record includes requesting node information, the video ID of request and the timestamp of request.Work as local After server receives the request message of node a, local server selects one and a system is being added from local system members list Time interval of uniting is the smallest and stores video vendor of the node b of the video resource of request as a.When lesser addition system Between interval can ensure that a and b keep relative synchronization on broadcast point, promote the stability of logical connection between the two.In addition, being Load and enhancing video sharing efficiency, video server between balance video supplier also need to consider video vendor Service ability.When the service ability of video vendor relatively strong (possessing higher bandwidth, storage, calculating and cruising ability), depending on Frequency supplier will not frequently cut off and the connection between video request person since own load is excessively high.When video request person a is received After the confirmation message that video vendor b is returned, a establishes the connection between b, and obtains video data from b, to complete Video request process.If any node logs off in video system, need to send exit message to local server.It is local Server after receiving exit message, delete from local system members list by the node that will move out system.
The number of nodes increase of addition system will increase the maintenance load of server, can not undertake reality so as to cause server When maintenance system member condition, to solve this problem, local server is accessed by cloud server come maintenance request high frequency The node state of video content, thus alleviate the pressure of video server, the scalability of lifting system.When DBMS member requests When one popular video resource, the request message of these nodes can be forwarded to cloud server, and cloud server is its point It with suitable video vendor or is directly video request person's transmitting video data.
2. the Scale Revenue Ratio of cloud server maintenance node
The money of the video resource for being stored in DBMS member local and scheduling DBMS member is safeguarded by lease cloud resource Source can generate high cost, and in order to more economic use cloud resource, the scale of cloud server maintenance system member is answered The holding is suitably horizontal.Due to the dynamic change of user interest cause request resource constantly change and mobile node storage provide The dynamic in source substitutes, and cloud server needs the supply and demand situation maintenance system member according to video resource.Assuming that system The collection of the middle all mobile nodes for having cached some video v is combined into S, then set S just provides node collection for the video of video v It closes.Video provides the video offer node in node set and is receiving after the request message of cloud server forwarding, to Video request person returns to confirmation message and is its transmitting video data, each video provide node for request message queue according to Frist come,frist serve successively handles request message.
If handling rate is requested to be greater than request arriving rate, video vendor can quickly handle request message and be video request Person's transmitting video data.Conversely, then showing to need to handle more request message due to video vendor, generate at request message Reason delay, to increase the waiting delay of video request person.Since DBMS member can be random according to the interests change of itself Video is logged off and requested, causes number of elements in S to generate dynamic change, therefore: if element subtracts in S within the unit time Few quantity is greater than the increased quantity of element, then the scale that cloud server should expand element in the S of being safeguarded (increases need Safeguard DBMS member's quantity of storage video v).When DBMS member logs off, they are in the video resource being locally stored It will be deleted, the available video resource quantity in system will be reduced, so that the candidate video of cloud server maintenance provides Person needs to undertake more request messages processing load and data transfer loads, therefore, when storage video v DBMS member from When opening increment rate of the rate greater than DBMS member, cloud server should expand DBMS member's scale of maintenance, to keep video v's The balance of supply and demand.When DBMS member's quantity of storage video v keeps stabilization, but DBMS member's quantity of request video v When increasing and candidate video supplier being caused to load increase generation request message processing delay, cloud server should expand maintenance DBMS member's scale.When video request person receives video data from video vendor, video request person will be received Video data is cached to local, then just becoming a candidate video vendor, i.e., number of elements can be with video in S at this time The increase of requestor and increase.When cloud server needs expansion to newly increase the maintenance scale of element in S due to these Candidate video supplier possesses relatively stable broadcast state, should be preferentially added in S.If cloud server is safeguarded Video vendor be difficult to carry more processing message and transmit number load and cloud server does not increase the maintenance of element in S Scale, then cloud server is directly to video request person's transmitting video data.
3. the scheduling mechanism of video vendor
The service ability of video vendor is depended on for video request person's distribution and schedule video supplier.Candidate is regarded For the service ability of frequency supplier, each candidate video supplier is calculated using local request message processing queue length Handle the expected time of a request message and transmitting video data.This expected time can be considered as candidate video supplier Service ability.The request message processing expected time is shorter, illustrates that the service ability of candidate video supplier is stronger.When cloud takes After business device receives request message, suitable candidate video can be selected to mention for video request person from the candidate video supplier of maintenance Donor.This is because the continuation of the journey of each mobile device, bandwidth, calculating and storage capacity are limited, cloud server not only needs root Request message is forwarded according to candidate video supplier's service ability, and to balance the load between candidate video supplier.
Cloud server will remove remaining bandwidth from candidate video supplier's list of maintenance and be unable to satisfy video request Node or request message handling rate that person needs are lower than the node of request message arrival rate.If removed candidate video mentions The bandwidth and processing capacity of donor are restored again, then it can be added to the video vendor column of maintenance by cloud server again In table.When cloud server has received a request message, cloud server selects clothes from the video vendor list of maintenance The maximum element of business ability is as video vendor.At this point, cloud server mentions the video that video request person is added to maintenance (video request person is considered as to new video vendor) in donor list.During handling each video request message, depending on The quantity for the video request message that frequency supplier b record receives and processing time complete to the video data of video request person After transmission, b will record total data transmission period, and send a message to cloud server, include in the message of transmission: when unit The number of requests that interior b is received handles the average time of request message, the average time etc. of transmitting video data.Cloud service Device calculates and updates the service ability of b using these information, and continues as video request person using updated result and distribute clothes The strong video vendor of business ability.
In embodiments of the present invention, a kind of computer readable storage medium is also provided, computer program is stored thereon with, institute State the above-mentioned video resource sharing method that the embodiment of the present invention can be realized when computer program is executed by processor.It is some can In the embodiment of energy, various aspects of the invention are also implemented as a kind of form of program product comprising program code; The program product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk or mobile hard disk etc.) or On network;When described program product (can be personal computer, server, terminal installation or network in a calculating equipment Equipment etc.) on when running, said program code is for making the calculatings equipment execute above-mentioned each exemplary embodiment in of the invention In method and step.
Shown in Figure 10, the program product 1000 according to an embodiment of the present invention for realizing the above method can be with Using portable compact disc read-only memory (CD-ROM) and including program code, and can be to calculate equipment (such as personal Computer, server, terminal installation or network equipment etc.) on run.However, program product of the invention is without being limited thereto.? In the present exemplary embodiment, computer readable storage medium can be any tangible medium for including or store program, the program Execution system, device or device use or in connection can be commanded.
Described program product can use any combination of one or more readable medium.Readable medium can be readable Signal media or readable storage medium storing program for executing.
Readable storage medium storing program for executing for example can be but be not limited to the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device Or device or any above combination.The more specific example (non exhaustive list) of readable storage medium storing program for executing includes: with one The electrical connection of a or multiple conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable type Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical memory Part, magnetic memory device or above-mentioned any appropriate combination.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal Or above-mentioned any appropriate combination.Readable signal medium can also be any readable medium other than readable storage medium storing program for executing, should Readable medium can send, propagate or transmit for by instruction execution system, device or device use or it is in connection The program used.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language, Java, C++ etc., further include conventional mistake Formula programming language, such as C language or similar programming language.Program code can be calculated fully in user and be set Standby upper execution is partly executed on the user computing device, is set as an independent software package execution, partially in user's calculating Standby upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely In the situation for calculating equipment, remote computing device can pass through the network of any kind (including local area network (LAN) or wide area network (WAN) etc.) it is connected to user calculating equipment;Or, it may be connected to external computing device, such as provided using Internet service Quotient is connected by internet.
In embodiments of the present invention, a kind of electronic equipment is also provided, the electronic equipment include at least one processor with And the memory of at least one executable instruction for being used to store the processor;Wherein, the processor is configured to via The executable instruction is executed to execute the method and step in the present invention in the various embodiments described above.
The electronic equipment 1100 in this illustrative embodiment is described below with reference to Figure 110 0.Electronic equipment 1100 An only example, should not function to the embodiment of the present invention and use scope bring any restrictions.
Shown in Figure 11, electronic equipment 1100 is showed in the form of universal computing device.The component of electronic equipment 1100 It can include but is not limited to: at least one processing unit 1110, at least one storage unit 1120, the different system components of connection The bus 1130 of (including processing unit 1110 and storage unit 1120), display unit 1140.
Wherein, storage unit 1120 is stored with program code, and said program code can be executed with unit 1110 processed, be made It obtains processing unit 1110 and executes the method and step in the present invention in above-mentioned each exemplary embodiment.
Storage unit 1120 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit 1121 (RAM) and/or cache memory unit 1122 can further include read-only memory unit 1123 (ROM).
Storage unit 1120 can also include program/utility with one group of (at least one) program module 1125 1124, such program module includes but is not limited to: operating system, one or more application program, other program modules with And program data, it may include the realization of network environment in each of these examples or certain combination.
Bus 1130 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in various bus structures Local bus.
Electronic equipment 1100 can also be with one or more external equipments 1200 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, the equipment communication that user can also be allowed to interact with the electronic equipment 1100 with one or more, and/or With enable the electronic equipment 1100 and one or more other calculate any equipment that equipment are communicated (such as router, Modem etc.) communication.This communication can be carried out by input/output (I/O) interface 1150.Also, electronic equipment 1100 can also by network adapter 1160 and one or more network (such as local area network (LAN), wide area network (WAN) and/ Or public network, such as internet) communication.As shown in figure 11, network adapter 1160 can be set by bus 1130 with electronics Standby 1100 other modules communicate.It should be understood that although not shown in the drawings, other hardware can be used in conjunction with electronic equipment 1100 And/or software module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
It will be appreciated by those skilled in the art that various aspects of the invention can be implemented as system, method or program product. Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete software The embodiment that embodiment (including firmware, microcode etc.) or hardware and software combine, may be collectively referred to as here " circuit ", " module " or " system ".
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by appended Claim is pointed out.
Above-mentioned described feature, structure or characteristic can be incorporated in one or more embodiment party in any suitable manner In formula, if possible, it is characterized in discussed in each embodiment interchangeable.In the above description, it provides many specific thin Section fully understands embodiments of the present invention to provide.It will be appreciated, however, by one skilled in the art that this can be practiced The technical solution of invention, or can be using other methods, component, material without one or more in specific detail Deng.In other cases, known features, material or operation are not shown in detail or describe to avoid each side of the invention is obscured Face.

Claims (17)

1. a kind of video resource sharing method, for providing video resource shared clothes for the mobile node in mobile ad-hoc network Business, which is characterized in that the described method includes:
Local server, which is received, is directed to target video resource by what the first movement node in the mobile ad-hoc network was sent Video acquisition request;
The access frequency of the target video resource is obtained, and whether the target video resource is judged according to the access frequency For hot point resource or non-hot resource;
If it is determined that the target video resource is hot point resource, then video acquisition request is sent to cloud server, with Just the second movable joint of the target video resource is capable of providing for first movement node distribution by the cloud server Point.
2. video resource sharing method according to claim 1, which is characterized in that described to obtain the target video resource Access frequency, comprising:
The request frequency for the video acquisition request for the target video resource that the local server receives is counted, and Using the request frequency as the access frequency of the target video resource.
3. video resource sharing method according to claim 1, which is characterized in that described to be judged according to the access frequency Whether the target video resource is hot point resource or non-hot resource, comprising:
If the access frequency is greater than a preset threshold, determine that the target video resource is hot point resource;Otherwise, it is determined that institute Stating target video resource is non-hot resource.
4. video resource sharing method according to claim 1, which is characterized in that the method also includes:
If it is determined that the target video resource is non-hot resource, then the local server is first movement node distribution It is capable of providing the third mobile node of the target video resource.
5. video resource sharing method according to claim 4, which is characterized in that the local server is described first Mobile node distributes the third mobile node for being capable of providing the target video resource, comprising:
DBMS member set is added using the first movement node as DBMS member, and obtains in DBMS member's set Each DBMS member DBMS member's information;
According to DBMS member's information, screening one is stored with the mesh of the target video resource from DBMS member set Mark system member;
The third mobile node corresponding with the goal systems member is distributed into the first movement node, so as to by institute It states third mobile node and provides the target video resource for the first movement node.
6. video resource sharing method according to claim 5, which is characterized in that DBMS member's information includes and institute State the nodal information of the corresponding mobile node of DBMS member, the video resource of DBMS member's request video information with And the DBMS member sends the temporal information of video acquisition request.
7. video resource sharing method according to claim 5, which is characterized in that described from DBMS member set Screening one is stored with the goal systems member of the target video resource, comprising:
Screening is stored with one or more alternative system member of the target video resource from DBMS member set;
The first movement node is obtained respectively and adding for DBMS member's set is added in each alternative system member The angle of incidence;
The shortest alternative system member of addition time interval of DBMS member's set will be added with the first movement node It is elected to be the goal systems member.
8. a kind of video resource sharing means, for providing video resource shared clothes for the mobile node in mobile ad-hoc network Business, which is characterized in that described device includes:
Local reception module is configured as local server and receives by the first movement node hair in the mobile ad-hoc network The video acquisition for target video resource sent is requested;
Judgment module is configured as obtaining the access frequency of the target video resource, and judges institute according to the access frequency State whether target video resource is hot point resource or non-hot resource;
Request forwarding module, be configured as if it is determined that the target video resource be hot point resource, then the video acquisition is asked It asks and is sent to cloud server, to be that first movement node distribution is capable of providing the target by the cloud server Second mobile node of video resource.
9. a kind of video resource sharing method, for providing video resource shared clothes for the mobile node in mobile ad-hoc network Business, which is characterized in that the described method includes:
Cloud server, which receives, to be sent by the first movement node in the mobile ad-hoc network and is forwarded by local server For target video resource video acquisition request;
The mobile node for being stored with the target video resource in the mobile ad-hoc network is screened, and the mesh will be stored with The all or part of mobile node of mark video resource is elected to be video and provides node to form video offer node set;
Each video that the video is provided in node set is obtained respectively, and the phase of the request of video acquisition described in node processing is provided It hopes the time, and is provided according to the expected time from the video and target video offer node is provided in node set;
Corresponding second mobile node of node will be provided with the target video and distribute to the first movement node, so as to by institute It states the second mobile node and provides the target video resource for the first movement node.
10. video resource sharing method according to claim 9, which is characterized in that be by second mobile node After the first movement node provides the target video resource, the method also includes:
The first movement node being provided to the node addition video as video, node set is provided.
11. video resource sharing method according to claim 9, which is characterized in that the method also includes:
It adjusts the video that the video is provided in node set and the quantity of node is provided.
12. video resource sharing method according to claim 11, which is characterized in that the adjustment video provides section Video in point set provides the quantity of node, comprising:
It obtains the video that the video is provided in node set and the Number dynamics change information of node is provided;
According to the Number dynamics change information, adjusts the video that the video is provided in node set and the quantity of node is provided.
13. video resource sharing method according to claim 11, which is characterized in that the adjustment video provides section Video in point set provides the quantity of node, comprising:
When the expectation that video acquisition described in each video offer node processing provided in node set according to the video is requested Between, it adjusts the video that the video is provided in node set and the quantity of node is provided.
14. video resource sharing method according to claim 11, which is characterized in that the adjustment video provides section Video in point set provides the quantity of node, comprising:
It obtains the video and the history processing information of each video offer node processing video acquisition request in node set is provided;
The quantity that information adjusts the video offer node that the video is provided in node set is handled according to the history.
15. a kind of video resource sharing means, shared for providing video resource for the mobile node in mobile ad-hoc network Service, which is characterized in that described device includes:
Cloud receiving module is configured as cloud server and receives by the first movement node hair in the mobile ad-hoc network It send and is requested by the video acquisition for target video resource of local server forwarding;
First screening module is configured as screening the movement for being stored with the target video resource in the mobile ad-hoc network Node, and all or part of mobile node for being stored with the target video resource is elected to be video and provides node to form one Video provides node set;
Second screening module, each video for being configured to obtain in the video offer node set provide node processing The expected time of the video acquisition request, and provided in node set according to the expected time from the video and screen a mesh It marks video and node is provided;
Node distribution module, be configured as by with the target video provide corresponding second mobile node of node distribute to it is described First movement node, to provide the target video resource by second mobile node for the first movement node.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Video resource sharing method described in any one of claim 1-7 or 9-14 is realized when being executed by processor.
17. a kind of electronic equipment characterized by comprising
Processor;
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to coming in perform claim requirement 1-7 or 9-14 to appoint via the executable instruction is executed Video resource sharing method described in meaning one.
CN201811351594.5A 2018-11-14 2018-11-14 Video resource sharing method and device, storage medium and electronic equipment Active CN109348264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811351594.5A CN109348264B (en) 2018-11-14 2018-11-14 Video resource sharing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811351594.5A CN109348264B (en) 2018-11-14 2018-11-14 Video resource sharing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109348264A true CN109348264A (en) 2019-02-15
CN109348264B CN109348264B (en) 2021-06-18

Family

ID=65315408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811351594.5A Active CN109348264B (en) 2018-11-14 2018-11-14 Video resource sharing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109348264B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099292A (en) * 2019-06-12 2019-08-06 北京奇艺世纪科技有限公司 A kind of data center's node determines method, apparatus and electronic equipment
CN110430437A (en) * 2019-06-21 2019-11-08 国网天津市电力公司 The adaptive method for cloud storage of remote viewing system
CN111935781A (en) * 2020-06-28 2020-11-13 中国科学院深圳先进技术研究院 Control method of data sharing network, network system and related device
CN112130909A (en) * 2019-06-24 2020-12-25 杭州海康威视系统技术有限公司 Software framework and method of function execution
CN112311689A (en) * 2019-07-31 2021-02-02 上海幻电信息科技有限公司 Burst flow shunting method, computer equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037527A1 (en) * 2006-07-27 2008-02-14 The Hong Kong University Of Science And Technology Peer-to-Peer Interactive Media-on-Demand
CN101959054A (en) * 2009-07-14 2011-01-26 中国电信股份有限公司 Integrated P2P (Peer-To-Peer) VOD (Video-On-Demand) system and partner node selecting method
CN103686198A (en) * 2013-12-30 2014-03-26 优视科技有限公司 Video data processing method, device and system
CN104683485A (en) * 2015-03-25 2015-06-03 重庆邮电大学 C-RAN based internet content caching and preloading method and system
CN107169048A (en) * 2017-04-25 2017-09-15 北京威动科技有限公司 A kind of film assets extension, film demand information sending method and device
CN108124168A (en) * 2017-12-28 2018-06-05 洛阳师范学院 A kind of video sharing method perceived under mobile radio network based on user interest

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037527A1 (en) * 2006-07-27 2008-02-14 The Hong Kong University Of Science And Technology Peer-to-Peer Interactive Media-on-Demand
CN101959054A (en) * 2009-07-14 2011-01-26 中国电信股份有限公司 Integrated P2P (Peer-To-Peer) VOD (Video-On-Demand) system and partner node selecting method
CN103686198A (en) * 2013-12-30 2014-03-26 优视科技有限公司 Video data processing method, device and system
CN104683485A (en) * 2015-03-25 2015-06-03 重庆邮电大学 C-RAN based internet content caching and preloading method and system
CN107169048A (en) * 2017-04-25 2017-09-15 北京威动科技有限公司 A kind of film assets extension, film demand information sending method and device
CN108124168A (en) * 2017-12-28 2018-06-05 洛阳师范学院 A kind of video sharing method perceived under mobile radio network based on user interest

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099292A (en) * 2019-06-12 2019-08-06 北京奇艺世纪科技有限公司 A kind of data center's node determines method, apparatus and electronic equipment
CN110099292B (en) * 2019-06-12 2021-04-30 北京奇艺世纪科技有限公司 Data center node determination method and device and electronic equipment
CN110430437A (en) * 2019-06-21 2019-11-08 国网天津市电力公司 The adaptive method for cloud storage of remote viewing system
CN110430437B (en) * 2019-06-21 2021-09-21 国网天津市电力公司 Self-adaptive cloud storage method of remote vision system
CN112130909A (en) * 2019-06-24 2020-12-25 杭州海康威视系统技术有限公司 Software framework and method of function execution
CN112130909B (en) * 2019-06-24 2023-03-24 杭州海康威视系统技术有限公司 System and method for function execution
CN112311689A (en) * 2019-07-31 2021-02-02 上海幻电信息科技有限公司 Burst flow shunting method, computer equipment and readable storage medium
CN112311689B (en) * 2019-07-31 2024-03-05 上海幻电信息科技有限公司 Burst traffic distribution method, computer device and readable storage medium
CN111935781A (en) * 2020-06-28 2020-11-13 中国科学院深圳先进技术研究院 Control method of data sharing network, network system and related device
CN111935781B (en) * 2020-06-28 2023-04-25 中国科学院深圳先进技术研究院 Control method, network system and related device of data sharing network

Also Published As

Publication number Publication date
CN109348264B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN109348264A (en) Video resource sharing method, device, storage medium and electronic equipment
CN110198275B (en) Flow control method, system, server and storage medium
Wei et al. QoS-aware resource allocation for video transcoding in clouds
US9621620B2 (en) Apparatus and method for providing content with a distributed architecture, and system for providing content with the said apparatus
CN102202050B (en) Intended response pre-cached
US9571540B2 (en) Broadcast/multicast offloading and recommending of infrastructural changes based on usage tracking
US8973005B2 (en) Information processing apparatus, information processing method, recording medium and information processing system
Li et al. CaaS: Caching as a service for 5G networks
EP4379545A1 (en) Data processing method and system, related device, storage medium and product
EP3547625B1 (en) Method and system for sending request for acquiring data resource
JP3970902B2 (en) Server / client system, load distribution apparatus, load distribution method, and load distribution program
CN108370306A (en) It is layered spectral coordination
US11200211B2 (en) Method and system for managing mutual distributed ledgers in a system of interconnected devices
Cui et al. Interference-aware SaaS user allocation game for edge computing
CN105703927A (en) Resource allocation method, network device and network system
US11750711B1 (en) Systems and methods for adaptively rate limiting client service requests at a blockchain service provider platform
Guan et al. The value of cooperation: Minimizing user costs in multi-broker mobile cloud computing networks
CN110149603A (en) A kind of policy control method, equipment and system
CN108881379A (en) The synchronous method and apparatus of data between a kind of server cluster
Al-Hilo et al. Vehicle-assisted RSU caching using deep reinforcement learning
CN102377662A (en) Routing cache negotiation method and system facing to bandwidth adaptation in video monitoring
CN113840330B (en) Connection establishment method, gateway equipment, network system and dispatching center
CN108616600B (en) Resource scheduling method, client server, node device, network system, and medium
CN110191362B (en) Data transmission method and device, storage medium and electronic equipment
Peng et al. Value‐aware cache replacement in edge networks for Internet of Things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant