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

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

Info

Publication number
CN109348264B
CN109348264B CN201811351594.5A CN201811351594A CN109348264B CN 109348264 B CN109348264 B CN 109348264B CN 201811351594 A CN201811351594 A CN 201811351594A CN 109348264 B CN109348264 B CN 109348264B
Authority
CN
China
Prior art keywords
video
resource
mobile node
video resource
system member
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811351594.5A
Other languages
Chinese (zh)
Other versions
CN109348264A (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

Images

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 invention relates to a video resource sharing method, a video resource sharing device, a computer readable storage medium and an electronic device. The video resource sharing method in the embodiment of the invention is used for providing video resource sharing service for the mobile node in the mobile self-organizing network, and comprises the following steps: the method comprises the steps that a local server receives a video acquisition request aiming at a target video resource, which is sent by a first mobile node in a mobile self-organizing network; acquiring the access frequency of a target video resource, and judging whether the target video resource is a hot resource or a non-hot resource according to the access frequency; and if the target video resource is judged to be the hot resource, sending the video acquisition request to the cloud server so as to distribute a second mobile node capable of providing the target video resource for the first mobile node by the cloud server. The method not only can effectively relieve the pressure of the local server, but also can provide available bandwidth for the mobile node in time, thereby improving the expandability and the service quality of the video system.

Description

Video resource sharing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a video resource sharing method, a video resource sharing apparatus, a computer-readable storage medium, and an electronic device.
Background
With the development of mobile internet technology, the popularization of smart phones and tablet computers, and the increase of wireless network bandwidth, users of mobile clients have an increasing demand for watching video services in wireless networks. With the increasing number of mobile client nodes requesting video content, the expensive and limited video server resources are difficult to meet the demands of massive users for bandwidth and computing resources, which brings great challenges to the scalability and quality of service of video systems.
The P2P-based technology can utilize bandwidth, storage and computing resources of part of clients to provide services for other clients to solve the problem of limited resources of a server side, thereby improving the expandability of a video system to a certain extent. However, scalability and quality of service of video systems still present significant challenges due to the relatively limited storage, computing and bandwidth resources of mobile clients, which make the resources available to the clients limited. For example, the limited storage resources of the mobile client result in the video resources cached by the client needing to be replaced frequently to store new video resources. The high dynamic of the storage resource causes extremely unstable video resource distribution in the overlay network, thereby not only reducing the hit rate of the storage resource and the cruising ability of the client, increasing the search delay of the client for requesting the video resource, but also increasing the complexity of the server for scheduling the resource and processing the request, and generating great negative influence on the expandability and the service quality of the video system.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The present invention is directed to a video resource sharing method, a video resource sharing apparatus, a computer-readable storage medium, and an electronic device, so as to overcome the technical problems of poor scalability and low quality of service of a video system, which are caused by the limitations and disadvantages of the related art, at least to a certain extent.
According to an aspect of the present invention, there is provided a video resource sharing method for providing a video resource sharing service to a mobile node in a mobile ad hoc network, characterized in that the method comprises:
the method comprises the steps that a local server receives a video acquisition request aiming at a target video resource, which is sent by a first mobile node in the mobile ad hoc network;
acquiring the access frequency of the target video resource, and judging whether the target video resource is a hot resource or a non-hot resource according to the access frequency;
and if the target video resource is judged to be the hot resource, sending the video acquisition request to a cloud server so that the cloud server allocates a second mobile node capable of providing the target video resource to the first mobile node.
In this embodiment of the present invention, the acquiring the access frequency of the target video resource includes:
and counting the request frequency of the video acquisition request aiming at the target video resource received by the local server, and taking the request frequency as the access frequency of the target video resource.
In this embodiment of the present invention, the determining whether the target video resource is a hot resource or a non-hot resource according to the access frequency includes:
if the access frequency is greater than a preset threshold value, determining that the target video resource is a hot resource; otherwise, judging that the target video resource is a non-hotspot resource.
In an embodiment of the present invention, the method further comprises:
and if the target video resource is judged to be a non-hotspot resource, the local server allocates a third mobile node capable of providing the target video resource to the first mobile node.
In this embodiment of the present invention, the allocating, by the local server, a third mobile node capable of providing the target video resource to the first mobile node includes:
adding the first mobile node as a system member into a system member set, and acquiring system member information of each system member in the system member set;
screening a target system member storing the target video resource from the system member set according to the system member information;
assigning the third mobile node corresponding to the target system member to the first mobile node to provide the target video resource for the first mobile node by the third mobile node.
In the embodiment of the present invention, the system member information includes node information of a mobile node corresponding to the system member, video information of a video resource requested to be acquired by the system member, and time information of a video acquisition request sent by the system member.
In an embodiment of the present invention, the screening a target system member storing the target video resource from the system member set includes:
screening one or more candidate system members storing the target video resource from the system member set;
respectively acquiring the joining time of the first mobile node and each candidate system member joining the system member set;
and selecting the candidate system member with the shortest joining time interval with the first mobile node to join the system member set as the target system member.
According to an aspect of the present invention, there is provided a video resource sharing apparatus for providing a video resource sharing service to a mobile node in a mobile ad hoc network, characterized in that the apparatus comprises:
a local receiving module configured to receive, by a local server, a video acquisition request for a target video resource sent by a first mobile node in the mobile ad hoc network;
the judging module is configured to acquire the access frequency of the target video resource and judge whether the target video resource is a hot resource or a non-hot resource according to the access frequency;
the request forwarding module is configured to send the video acquisition request to a cloud server if the target video resource is determined to be a hotspot resource, so that the cloud server allocates a second mobile node capable of providing the target video resource to the first mobile node.
According to an aspect of the present invention, there is provided a video resource sharing method for providing a video resource sharing service to a mobile node in a mobile ad hoc network, characterized in that the method comprises:
the cloud server receives a video acquisition request aiming at a target video resource, which is sent by a first mobile node in the mobile self-organizing network and forwarded by a local server;
screening the mobile nodes in the mobile ad hoc network, which store the target video resources, and selecting all or part of the mobile nodes in which the target video resources are stored as video providing nodes to form a video providing node set;
respectively acquiring expected time for each video providing node in the video providing node set to process the video acquiring request, and screening a target video providing node from the video providing node set according to the expected time;
allocating a second mobile node corresponding to the target video providing node to the first mobile node to provide the target video resource for the first mobile node by the second mobile node.
In an embodiment of the present invention, after the target video resource is provided to the first mobile node by the second mobile node, the method further comprises:
adding the first mobile node as a video providing node to the video providing node set.
In an embodiment of the present invention, the method further comprises:
adjusting the number of video providing nodes in the set of video providing nodes.
In this embodiment of the present invention, the adjusting the number of video providing nodes in the video providing node set includes:
acquiring the dynamic change information of the number of video providing nodes in the video providing node set;
and adjusting the number of the video providing nodes in the video providing node set according to the number dynamic change information.
In this embodiment of the present invention, the adjusting the number of video providing nodes in the video providing node set includes:
and adjusting the number of the video providing nodes in the video providing node set according to the expected time for each video providing node in the video providing node set to process the video obtaining request.
In this embodiment of the present invention, the adjusting the number of video providing nodes in the video providing node set includes:
acquiring historical processing information of each video providing node in the video providing node set for processing a video acquisition request;
and adjusting the number of video providing nodes in the video providing node set according to the historical processing information.
According to an aspect of the present invention, there is provided a video resource sharing apparatus for providing a video resource sharing service to a mobile node in a mobile ad hoc network, characterized in that the apparatus comprises:
the cloud receiving module is configured to receive a video acquisition request aiming at a target video resource, wherein the video acquisition request is sent by a first mobile node in the mobile ad hoc network and forwarded by a local server;
the first screening module is configured to screen the mobile nodes in the mobile ad hoc network, which store the target video resources, and select all or part of the mobile nodes in which the target video resources are stored as video providing nodes to form a video providing node set;
the second screening module is configured to respectively acquire expected time for each video providing node in the video providing node set to process the video acquisition request, and screen a target video providing node from the video providing node set according to the expected time;
a node assignment module configured to assign a second mobile node corresponding to the target video providing node to the first mobile node so as to provide the target video resource for the first mobile node by the second mobile node.
According to an aspect of the present invention, there is provided a computer readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the video resource sharing method as described in any of the above.
According to an aspect of the present invention, there is provided an electronic device characterized by comprising a processor and a memory; wherein the memory is for storing executable instructions of the processor, the processor being configured to perform any of the video resource sharing methods described above via execution of the executable instructions.
In the video resource sharing method provided by the embodiment of the invention, when the local server provides video service for the mobile node in the mobile ad hoc network, the local server only needs to process the non-hot-spot resource with lower access frequency. The cloud server can assist the local server to manage popular hot spot resources so as to process large-scale and large-scale intensive requests, the pressure of the local server can be effectively relieved, and available bandwidth can be provided for the mobile node in time, so that the expandability and the service quality of the video system are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 schematically shows a flow chart of steps of a video resource sharing method in an embodiment of the present invention.
Fig. 2 is a flow chart schematically illustrating a part of the steps of a video resource sharing method according to another embodiment of the present invention.
Fig. 3 is a flow chart schematically illustrating a part of the steps of a video resource sharing method according to another embodiment of the present invention.
Fig. 4 schematically shows a block diagram of the video resource sharing apparatus according to the embodiment of the present invention.
Fig. 5 is a flow chart schematically illustrating the steps of a video resource sharing method according to another embodiment of the present invention.
Fig. 6 is a flow chart schematically illustrating a part of the steps of a video resource sharing method according to another embodiment of the present invention.
Fig. 7 is a flow chart schematically illustrating a part of the steps of a video resource sharing method according to another embodiment of the present invention.
Fig. 8 is a block diagram schematically illustrating the components of a video resource sharing apparatus according to another embodiment of the present invention.
Fig. 9 is a schematic view of a video system of a video resource sharing method in an application scenario according to an embodiment of the present invention.
Fig. 10 schematically shows a schematic view of a program product in an embodiment of the invention.
Fig. 11 schematically shows a module diagram of an electronic device in an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of embodiments of the invention, which are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The embodiment of the invention firstly provides a video resource sharing method which is used for providing video resource sharing service for a mobile node in a mobile self-organizing network. A mobile ad hoc network is a network system consisting of mobile nodes that are capable of moving freely within the coverage area of the network and maintaining communication with other mobile nodes, based on mobile networks and computer networks. The mobile node may correspond to various types of mobile terminal devices capable of accessing the mobile ad hoc network, such as a mobile phone, a notebook computer, or a tablet computer.
In this embodiment, the execution subject of the video resource sharing method may be a local server capable of network communication with each mobile node in the mobile ad hoc network, and the local server may store the initial video resource provided for the mobile node and may directly transmit the video resource to the mobile node if a certain condition is satisfied. As shown in fig. 1, the video resource sharing method in this embodiment may mainly include the following steps:
step S110, the local server receives a video acquisition request aiming at a target video resource, which is sent by a first mobile node in the mobile self-organizing network.
When a certain mobile node of the mobile ad hoc network needs to watch a video content, a video acquisition request may be sent to the local server through network communication. Therefore, this step is first to receive, by the local server, a video acquisition request for the target video resource sent by the first mobile node. The video acquisition request at least includes various basic information related to video request and transmission, such as node information, video information and/or time information. For example, the node information may be a network address of the first mobile node, the video information may be an identification code of the target video resource in the current video system, and the time information may be a timestamp of when the first mobile node sent the video capture request.
S120, obtaining the access frequency of the target video resource, and judging whether the target video resource is a hot resource or a non-hot resource according to the access frequency.
Based on the video acquisition request received in step S110, the video information of the target video resource requested to be acquired by the first mobile node may be obtained by analyzing the video acquisition request. Then, the access frequency of the target video resource can be obtained, and the target video resource is classified according to the access frequency, that is, whether the target video resource is a hot resource or a non-hot resource can be judged. The hotspot resource can be a current popular video resource with relatively high access frequency, and the non-hotspot resource is a video resource with relatively low access frequency and also low current popularity. The access frequency here may be video resource access data obtained by monitoring the traffic of the data access interface, or may also be video resource access data obtained by any other means such as network survey or statistics, which is not particularly limited in this embodiment of the present invention.
Step S130, if the target video resource is judged to be the hot resource, the video acquisition request is sent to the cloud server, so that the cloud server allocates a second mobile node capable of providing the target video resource to the first mobile node.
According to the judgment result in step S130, if it is determined that the target video resource requested to be acquired by the first mobile node is a hot resource, in this step, the local server may forward the video acquisition request sent by the first mobile node to the cloud server, so that the cloud server selects and allocates a second mobile node for the first mobile node from the mobile ad hoc network, and the second mobile node can provide the target video resource requested to be acquired by the second mobile node for the first mobile node, thereby implementing video resource sharing. The manner in which the target video asset is provided by the second mobile node to the first mobile node may be, for example: the cloud server sends the video acquisition request to the second mobile node, then the second mobile node returns a confirmation message to the first mobile node, the first mobile node can establish a connection channel with the second mobile node after receiving the confirmation message, and then the target video resource is acquired from the second mobile node by using the connection channel.
And S140, if the target video resource is judged to be the non-hotspot resource, the local server allocates a third mobile node capable of providing the target video resource to the first mobile node.
According to the determination result in step S130, if it is determined that the target video resource requested to be acquired by the first mobile node is a non-hotspot resource, in this step, the local server may allocate a third mobile node to the first mobile node, and the third mobile node may also provide the target video resource requested to be acquired by the third mobile node to the first mobile node, thereby implementing video resource sharing. In some other embodiments of the present invention, when it is determined that the target video resource is a non-hotspot resource, the local server may also directly transmit corresponding video data to the first mobile node when the condition allows, which is not particularly limited in the present invention.
In the video resource sharing method provided by the embodiment of the invention, when the local server provides video service for the mobile node in the mobile ad hoc network, the local server only needs to process the non-hot-spot resource with lower access frequency. The cloud server can assist the local server to manage popular hot spot resources so as to process large-scale and large-scale intensive requests, the pressure of the local server can be effectively relieved, and available bandwidth can be provided for the mobile node in time, so that the expandability and the service quality of the video system are improved.
On the basis of the above embodiment, the obtaining of the access frequency of the target video resource in step S120 may further include: and counting the request frequency of the video acquisition request aiming at the target video resource received by the local server, and taking the request frequency as the access frequency of the target video resource.
For example, the step may count the video acquisition requests for the target video resource received on the previous day or days, obtain the average daily request frequency of the target video resource, and use the request frequency as the access frequency of the target video resource. If the request frequency is high, the target video resource can be considered as a current popular hot spot resource. Therefore, the video acquisition request aiming at the target video resource can be delivered to the cloud server for processing, and the working pressure of the local server is relieved.
Accordingly, the step S120 of determining whether the target video resource is a hot resource or a non-hot resource according to the access frequency may further include: if the access frequency is greater than a preset threshold value, determining that the target video resource is a hot resource; otherwise, the target video resource is judged to be a non-hotspot resource.
For example, a preset threshold may be set in this step according to the historical request data and the service capability of the local server, and if the access frequency of the target video resource is greater than the preset threshold, the target video resource may be regarded as a hot resource, and the cloud server provides a video service. And if the access frequency of the target video resource is less than or equal to the preset threshold, the target video resource can be regarded as a non-hotspot resource, and the local server provides video service. The video service distribution mode can relieve the working pressure of the local server on the basis of saving the use cost of the cloud server, thereby effectively improving the expandability and the service quality of the video service system.
As shown in fig. 2, in another embodiment of the present invention, step s140. the local server allocates a third mobile node capable of providing the target video resource to the first mobile node, may include the following steps:
step S210, adding the first mobile node as a system member into a system member set, and acquiring system member information of each system member in the system member set.
After the first mobile node sends the video acquisition request to the local server, the local server may join the first mobile node as a system member in a system member set. The system member set is composed of mobile nodes using video sharing service in a mobile self-organizing network, and the local server can obtain system member information of each system member besides providing video service for each system member in the system member set. For example, the system member information may include node information of a mobile node corresponding to the system member, video information of a video resource requested to be acquired by the system member, and time information at which the system member transmits the video acquisition request.
S220, according to the system member information, a target system member storing the target video resource is screened from the system member set.
According to the system member information of each system member acquired in step S210, a target system member storing a target video resource may be screened from the system member set in this step. Generally, more than one system member storing the target video resource is obtained through screening, and the local server may perform secondary screening according to the current load and service capability of each system member, for example, a system member with stronger service capability (having higher bandwidth, storage, computation and endurance) may be selected as the target system member.
Step s230. a third mobile node corresponding to the target system member is assigned to the first mobile node so that the target video resource is provided for the first mobile node by the third mobile node.
After the target system member is obtained by screening in step S220, the third mobile node corresponding to the target system member may be assigned to the first mobile node in this step, so that the third mobile node provides the target video resource for the first mobile node. For example, in this step, the local server may forward the video acquisition request sent by the first mobile node to the third mobile node, and then the third mobile node returns an acknowledgement message to the first mobile node, and after receiving the acknowledgement message, the first mobile node establishes a connection with the third mobile node and acquires video data from the third mobile node, thereby completing the video sharing process.
As shown in fig. 3, based on the above embodiment, the step S220 of screening a target system member storing a target video resource from the system member set may further include the following steps:
and S310, screening one or more alternative system members with the target video resource stored in the system member set.
Based on the video information in the system member information, in this step, one or more candidate system members may be first screened from the system member set, and a target video resource requested to be acquired by the first mobile node should be stored in a mobile node corresponding to each candidate system member.
And S320, respectively acquiring the joining time of the first mobile node and each candidate system member joining the system member set.
Based on the time information in the system member information, the joining time of the first mobile node and each candidate system member joining the system member set can be respectively obtained in this step.
And S330, selecting the candidate system member with the shortest joining time interval with the first mobile node joining the system member set as the target system member.
According to the joining time obtained in step S320, the time interval between the first mobile node and each candidate system member in the joining time may be calculated, in this step, the candidate system member with the shortest time interval is selected as the target system member, and then the third mobile node corresponding to the target system member provides video sharing for the first mobile node. The short time interval for joining the system member set can ensure that the first mobile node and the third mobile node keep relative synchronization on a video playing point to a certain extent, and the stability of logical connection between the first mobile node and the third mobile node is improved.
Based on the above method embodiments, the embodiment of the present invention further provides a video resource sharing device, which is used for providing a video resource sharing service for a mobile node in a mobile ad hoc network, and the video resource sharing device may be erected at one end of a local server. As shown in fig. 4, the video resource sharing apparatus 400 in the embodiment of the present invention mainly includes: a local receiving module 410, a judging module 420 and a request forwarding module 430. Wherein the local receiving module 410 is configured to receive, by the local server, a video acquisition request for a target video resource sent by a first mobile node in the mobile ad hoc network; the determining module 420 is configured to obtain an access frequency of the target video resource, and determine whether the target video resource is a hotspot resource or a non-hotspot resource according to the access frequency; the request forwarding module 430 is configured to send the video obtaining request to the cloud server if it is determined that the target video resource is a hot resource, so that the cloud server allocates a second mobile node capable of providing the target video resource to the first mobile node.
The specific details of the video resource sharing apparatus have been described in detail in the corresponding video resource sharing method, and therefore are not described herein again.
The embodiment of the invention also provides another video resource sharing method which is used for providing video resource sharing service for the mobile node in the mobile self-organizing network. In this embodiment, the execution subject of the video resource sharing method may be a cloud server capable of performing network communication with each mobile node and a local server in the mobile ad hoc network.
As shown in fig. 5, the video resource sharing method in the embodiment of the present invention mainly includes the following steps:
step 510, the cloud server receives a video acquisition request aiming at a target video resource, wherein the video acquisition request is sent by a first mobile node in the mobile self-organizing network and forwarded by a local server.
As can be known from the related description in the foregoing embodiment, when it is determined that the target video resource is a hotspot resource, the video acquisition request may be forwarded to the cloud server. In this step, the cloud server may receive a video acquisition request for the target video resource, which is sent by the first mobile node in the mobile ad hoc network and forwarded by the local server.
Step S520, mobile nodes which store target video resources in the mobile self-organizing network are screened, and all or part of the mobile nodes which store the target video resources are selected as video providing nodes to form a video providing node set.
According to the video acquisition request received in step S510, in this step, mobile nodes in the mobile ad hoc network that store the target video resource may be screened, and at the same time, all or part of the mobile nodes that store the target video resource may be selected as video providing nodes to form a video providing node set. In order to save the use cost, the cloud server can evaluate and regulate the scale of the video providing node set.
Step S530, the expected time for each video providing node in the video providing node set to process the video obtaining request is obtained respectively, and a target video providing node is screened from the video providing node set according to the expected time.
After the video providing node set is formed in step S520, the service capability of each video providing node in the video providing node set may be evaluated, and the expected time for processing the video obtaining request may be used as an evaluation index of the service capability. In the step, the expected time for the video providing node to process the video obtaining request is respectively obtained, and a target video providing node can be obtained by screening from the video providing node set according to the expected time. For example, the video providing node whose expected time is the shortest may be selected as the target video providing node.
Step s540. allocating the second mobile node corresponding to the target video providing node to the first mobile node so as to provide the target video resource for the first mobile node by the second mobile node.
According to the screening result of step S530, this step may allocate the second mobile node corresponding to the screened target video providing node to the first mobile node, so that the second mobile node provides the target video resource for the first mobile node. The manner in which the target video asset is provided by the second mobile node to the first mobile node may be, for example: the cloud server sends the video acquisition request to the second mobile node, then the second mobile node returns a confirmation message to the first mobile node, the first mobile node can establish a connection channel with the second mobile node after receiving the confirmation message, and then the target video resource is acquired from the second mobile node by using the connection channel.
After the target video resource is provided by the second mobile node to the first mobile node, the first mobile node may also be added to the set of video providing nodes as a new video providing node. Generally, the newly added video providing nodes have a more stable playing state, and the stability in providing the video sharing service is stronger.
In the video resource sharing method provided by the embodiment of the invention, the cloud server can establish the video providing node set corresponding to the target video resource based on the received video obtaining request, and the cloud server can maintain and adjust the scale of the video providing node set. The cloud server assists the local server to provide video sharing service, so that the use cost of the cloud server is saved, and the expandability and the service quality of a video system can be improved to a certain extent.
On the basis of the above embodiment of the present invention, the video resource sharing method may further include the steps of: the number of video providing nodes in the set of video providing nodes is adjusted. For example, a video resource maintenance evaluation model capable of maintaining the dynamic balance relationship between the supply and the demand of the video resources facing the service quality can be established, and the use of the cloud resources is dynamically adjusted according to the distribution and the demand condition of the video resources in the network, so that the use cost of the cloud resources is reduced.
As shown in fig. 6, in another embodiment of the present invention, adjusting the number of video providing nodes in the video providing node set may further include the following steps:
and S610, acquiring the dynamic change information of the number of the video providing nodes in the video providing node set.
Since the mobile nodes in the mobile ad hoc network can randomly join or leave the video providing node set according to the interest change of the mobile nodes, the number of the video providing nodes in the video providing node set can be dynamically changed. The method can monitor the scale state of the video providing node set in real time and acquire the dynamic change information of the number of the video providing nodes.
And S620, adjusting the number of the video providing nodes in the video providing node set according to the dynamic change information of the number.
When the video providing node exits the video providing node set, the amount of available video resources in the video providing node set is reduced, so that each video providing node in the video providing node set maintained by the cloud server needs to bear more request message processing load and data transmission load. Therefore, in order to maintain the quality of service of the video sharing service, this step may adjust the number of video providing nodes in the video providing node set according to the number dynamic change information acquired in step S610. For example, when the leaving rate of the video providing nodes in the video providing node set is greater than the increasing rate of the video providing nodes, the cloud server may scale up the maintained video providing node set to keep the balance between the supply and the demand of the target video resource.
Besides the adjustment method in the above embodiment of the present invention, adjusting the number of video providing nodes in the video providing node set may further include: and adjusting the number of the video providing nodes in the video providing node set according to the expected time for each video providing node in the video providing node set to process the video obtaining request.
When the leaving rate of the video providing nodes in the video providing node set is smaller than the increasing rate of the video providing nodes, the scale of the video providing node set is continuously enlarged, so that not only can a certain degree of resource redundancy be caused, but also the use cost of the cloud server in the aspect of maintaining the video providing node set can be increased. In this case, the cloud server may adjust the number of video providing nodes in the video providing node set according to expected time for each video providing node to process the video obtaining request. For example, the video providing nodes may be sorted according to the expected time, and the video providing nodes with longer expected time are moved out of the video providing node set, so as to maintain the size of the video providing node set within a proper range.
When the departure rate of the video providing nodes in the video providing node set is substantially equal to the increase rate of the video providing nodes, the number of the video providing nodes is kept relatively stable. However, if the number of mobile nodes requesting to acquire the target video resource is increasing and the load of each video providing node increases to cause a request message processing delay, the cloud server may enlarge the scale of the maintained video providing node set and increase the number of video providing nodes, so as to maintain the quality of service of the video sharing service.
As shown in fig. 7, in another embodiment of the present invention, adjusting the number of video providing nodes in the video providing node set may include the following steps:
step S710, historical processing information of each video providing node in the video providing node set for processing the video obtaining request is obtained.
The cloud server may obtain a real-time state of each video providing node in the video providing node set for processing the video obtaining request, and thus may record historical processing information of each video providing node, which may include, for example, the number of requests of the video obtaining request received by the video providing node in a unit time, the average time of processing the request message, the average time of transmitting the video data, and the like.
And S720, adjusting the number of the video providing nodes in the video providing node set according to the historical processing information.
Based on the history processing information acquired in step S710, this step may make an adjustment to the number of video providing nodes in the video providing node set. For example, the request message processing rate and the request message arrival rate of a certain video providing node can be calculated according to the historical processing information of the video providing node, if the request message processing rate is lower than the request message arrival rate, the processing capability of the video providing node can be considered to be low, and the cloud server can move the video providing node out of the video providing node set. And after the processing capacity of the video providing node is improved, the cloud server can add the video providing node into the maintained video providing node set. The dynamic adjustment mode can ensure the video sharing service quality and reduce the scale of the video providing node set, thereby reducing the use cost of the cloud server.
Based on the above method embodiment, the embodiment of the present invention further provides a video resource sharing device, which is used for providing a video resource sharing service for a mobile node in a mobile ad hoc network, and the video resource sharing device may be erected at one end of a cloud server. As shown in fig. 8, the video resource sharing apparatus 800 in the embodiment of the present invention mainly includes: the cloud-side receiving module 810, the first screening module 820, the second screening module 830, and the node allocating module 840. The cloud receiving module 810 is configured to receive, by a cloud server, a video acquisition request for a target video resource, which is sent by a first mobile node in a mobile ad hoc network and forwarded by a local server; the first screening module 820 is configured to screen mobile nodes in the ad hoc network, which store target video resources, and select all or part of the mobile nodes storing the target video resources as video providing nodes to form a video providing node set; the second screening module 830 is configured to respectively obtain expected time for each video providing node in the video providing node set to process the video obtaining request, and screen a target video providing node from the video providing node set according to the expected time; the node assignment module 840 is configured to assign a second mobile node corresponding to the target video providing node to the first mobile node in order to provide the target video resource for the first mobile node by the second mobile node.
The specific details of the video resource sharing apparatus have been described in detail in the corresponding video resource sharing method, and therefore are not described herein again.
It should be noted that although the above embodiments of the invention describe the steps of the method in a particular order, this does not require or imply that these steps must be performed in that particular order, or that all of the steps must be performed, to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Additionally, although several modules or units of a device for action execution are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
The following describes the video sharing method provided by the embodiment of the present invention in detail with reference to a specific application scenario.
As shown in fig. 9, when the video system provides a video service for a mobile node 920 in a mobile ad hoc network 910, a cloud server 930 can assist a local server 940 to manage popular hot spot resources to process large-scale intensive requests, so that not only can the pressure of the video server be effectively relieved, but also an available bandwidth can be timely provided for the requesting node, thereby improving the scalability and the service quality of the video system. Based on the video sharing method and the video sharing device provided by the embodiment of the invention, firstly, a video resource maintenance evaluation model capable of maintaining the dynamic balance relation between the video resource supply and the demand facing the service quality is established, and the use of cloud resources is dynamically adjusted according to the distribution and the demand condition of the video resources in the network, so that the use cost of the cloud resources is reduced; and a dynamic scheduling mechanism of the video resource provider is further provided on the basis, and the video providers are dynamically distributed and scheduled for the video requester according to the load of the video provider, so that the video search delay is effectively reduced and the load among the video providers is balanced. Specifically, the application scenario mainly includes the following three aspects:
1. design of local server
The local server stores the initial video resources provided for the mobile node. When a mobile node a needs to watch a video content, a video request is sent to a local server, and a video request message comprises request node information, a request video ID and a request timestamp. And after the local server receives the request message of the node a, recording the video request message of the node a in the local, so that the node a becomes a system member. The local server then stores and maintains a list of the various system members, with the information for each system member recorded in the list including the requesting node information, the requested video ID, and the requested timestamp. When the local server receives the request message of the node a, the local server selects a node b which has the minimum time interval with the node a and stores the requested video resource from the local system member list as a video provider of the node a. The small time interval for adding the system can ensure that a and b keep relative synchronization at the playing point, and the stability of the logical connection between the a and the b is improved. In addition, in order to balance the load among the video providers and enhance the video sharing efficiency, the video server also needs to consider the service capability of the video providers. When the service capability of the video provider is strong (possessing high bandwidth, storage, calculation and endurance), the video provider does not frequently disconnect the connection with the video requester due to the high self load. When the video requester a receives the confirmation message returned from the video provider b, the connection between the video requester a and the video requester b is established by the video requester a, and the video data is acquired from the video requester b, so that the video requesting process is completed. If any node in the video system exits the system, an exit message needs to be sent to the local server. And after receiving the quit message, the local server deletes the node quitting the system from the member list of the local system.
The number of nodes added into the system is increased, so that the maintenance load of the server is increased, the server cannot bear the member state of the real-time maintenance system, and in order to solve the problem, the local server maintains the node state of the video content requesting high-frequency access through the cloud server, so that the pressure of the video server is relieved, and the expandability of the system is improved. When a system member requests a popular video resource, the request message of the nodes is forwarded to the cloud server, and the cloud server distributes a proper video provider to the nodes or directly transmits video data to a video requester.
2. Scale assessment of cloud server maintenance nodes
The cloud server maintains the scale of the system members at a proper level in order to use the cloud resources more economically. Due to the fact that the request resources are continuously changed and the storage resources of the mobile nodes are dynamically replaced due to the dynamic change of the user interests, the cloud server needs to maintain system members according to the supply and demand conditions of the video resources. Assuming that the set of all mobile nodes in the system that cache a certain video v is S, the set S provides a node set for the video of the video v. After receiving the request message forwarded by the cloud server, the video providing nodes in the video providing node set return confirmation messages to the video requester and transmit video data for the video requester, and each video providing node sequentially processes the request messages according to a first-come-first-serve principle aiming at the request message queue.
If the request processing rate is greater than the request arrival rate, the video provider will quickly process the request message and transmit video data for the video requester. Otherwise, it indicates that the video provider needs to process more request messages, and the request message processing delay is generated, so that the waiting delay of the video requester is increased. Because the system members can randomly quit the system and request the video according to the interest change of the system members, the number of elements in the S is dynamically changed, and therefore: if the number of elements in S decreased is greater than the number of elements increased per unit time, the cloud server should scale up the size of the elements in S to be maintained (i.e., increase the number of system members that need to maintain the stored video v). When the system members exit the system, their locally stored video resources are deleted, and the number of available video resources in the system is reduced, so that the candidate video providers maintained by the cloud server need to bear more request message processing load and data transmission load, therefore, when the leaving rate of the system members storing the video v is greater than the increasing rate of the system members, the cloud server should expand the scale of the system members to maintain the balance between the supply and the demand of the video v. When the number of system members storing the video v remains stable, but the number of system members requesting the video v increases and causes an increase in load of candidate video providers to generate a request message processing delay, the cloud server should expand the scale of system members maintained. Once the video requester receives video data from the video provider, the video requester caches the received video data locally, and becomes a candidate video provider, i.e. the number of elements in S increases with the increase of video requesters. When the cloud server needs to expand the maintenance scale of the elements in S, these newly added candidate video providers should be preferentially added to S because they have more stable playing states. If the video provider maintained by the cloud server is difficult to bear more processing messages and transmission number loads, and the cloud server does not increase the maintenance scale of the elements in the S, the cloud server directly transmits video data to the video requester.
3. Scheduling mechanism for video providers
The allocation and scheduling of video providers to video requesters depends on the service capabilities of the video providers. For the service capabilities of the candidate video providers, each candidate video provider utilizes the local request message processing queue length to calculate the expected time to process a request message and transmit video data. This expected time may be considered the service capability of the candidate video provider. The shorter the expected time for request message processing, the greater the service capabilities of the candidate video provider. When the cloud server receives the request message, a suitable candidate video provider is selected for the video requester from the maintained candidate video providers. This is because each mobile device has limited endurance, bandwidth, computing and storage capabilities, and the cloud server not only needs to forward request messages according to the service capabilities of the candidate video providers, but also balances the load among the candidate video providers.
The cloud server removes nodes with residual bandwidth which cannot meet the requirements of video requesters or nodes with request message processing rate lower than the request message arrival rate from the maintained candidate video provider list. If the bandwidth and processing power of the removed candidate video provider is restored, the cloud server may add it back to the maintained list of video providers. When the cloud server receives a request message, the cloud server selects the element with the largest service capability from the maintained video provider list as the video provider. At this point, the cloud server adds the video requestor to the maintained list of video providers (treating the video requestor as a new video provider). In the process of processing each video request message, the video provider b records the number and processing time of the received video request messages, and after the video data transmission to the video requester is completed, b records the total data transmission time and sends the message to the cloud server, wherein the sent message comprises: b number of requests received per unit time, average time to process request messages, average time to transmit video data, etc. And the cloud server calculates and updates the service capability of the b by using the information, and continuously distributes a video provider with strong service capability to the video requester by using the updated result.
In an embodiment of the present invention, a computer-readable storage medium is further provided, on which a computer program is stored, and the computer program, when executed by a processor, can implement the video resource sharing method of the embodiment of the present invention. In some possible embodiments, aspects of the present invention may also be implemented in the form of a program product including program code; the program product may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, or a removable hard disk, etc.) or on a network; when the program product is run on a computing device (which may be a personal computer, a server, a terminal device or a network device, etc.), the program code is configured to cause the computing device to perform the method steps in the above-described exemplary embodiments of the present invention.
Referring to fig. 10, a program product 1000 for implementing the above method according to an embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a computing device (e.g., a personal computer, a server, a terminal device, or a network device, etc.). However, the program product of the present invention is not limited thereto. In the exemplary embodiment, the computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium.
The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's computing device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), etc.; alternatively, the connection may be to an external computing device, such as through the Internet using an Internet service provider.
In an embodiment of the present invention, there is also provided an electronic device, including at least one processor and at least one memory for storing executable instructions of the processor; wherein the processor is configured to perform the method steps in the above-described embodiments of the invention via execution of the executable instructions.
The electronic device 1100 in this exemplary embodiment is described below with reference to fig. 11. The electronic device 1100 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
Referring to FIG. 11, an electronic device 1100 is shown in the form of a general purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one processing unit 1110, at least one memory unit 1120, a bus 1130 that connects the various system components (including the processing unit 1110 and the memory unit 1120), and a display unit 1140.
Wherein the memory unit 1120 stores program code which can be executed by the processing unit 1110 such that the processing unit 1110 performs the method steps in the above-described exemplary embodiments of the present invention.
The storage unit 1120 may include readable media in the form of volatile storage units, such as a random access storage unit 1121(RAM) and/or a cache storage unit 1122, and may further include a read-only storage unit 1123 (ROM).
Storage unit 1120 may also include a program/utility 1124 having a set (at least one) of program modules 1125, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1130 may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1100 may also communicate with one or more external devices 1200 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that allow a user to interact with the electronic device 1100, and/or with any devices (e.g., router, modem, etc.) that allow the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 1150. Also, the electronic device 1100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1160. As shown in FIG. 11, the network adapter 1160 may communicate with the other modules of the electronic device 1100 via the bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software may be referred to herein generally as a "circuit," module "or" system.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments, and the features discussed in connection with the embodiments are interchangeable, if possible. In the above description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.

Claims (10)

1. A video resource sharing method for providing a video resource sharing service to a mobile node in a mobile ad hoc network, the method comprising:
the method comprises the steps that a local server receives a video acquisition request aiming at a target video resource, which is sent by a first mobile node in the mobile ad hoc network;
acquiring the access frequency of the target video resource, and judging whether the target video resource is a hot resource or a non-hot resource according to the access frequency;
and if the target video resource is judged to be the hot resource, sending the video acquisition request to a cloud server so that the cloud server allocates a second mobile node capable of providing the target video resource to the first mobile node.
2. The video resource sharing method according to claim 1, wherein the obtaining the access frequency of the target video resource comprises:
and counting the request frequency of the video acquisition request aiming at the target video resource received by the local server, and taking the request frequency as the access frequency of the target video resource.
3. The video resource sharing method according to claim 1, wherein the determining whether the target video resource is a hotspot resource or a non-hotspot resource according to the access frequency includes:
if the access frequency is greater than a preset threshold value, determining that the target video resource is a hot resource; otherwise, judging that the target video resource is a non-hotspot resource.
4. The video resource sharing method according to claim 1, wherein the method further comprises:
and if the target video resource is judged to be a non-hotspot resource, the local server allocates a third mobile node capable of providing the target video resource to the first mobile node.
5. The video resource sharing method according to claim 4, wherein the local server allocates a third mobile node capable of providing the target video resource to the first mobile node, including:
adding the first mobile node as a system member into a system member set, and acquiring system member information of each system member in the system member set;
screening a target system member storing the target video resource from the system member set according to the system member information;
assigning the third mobile node corresponding to the target system member to the first mobile node to provide the target video resource for the first mobile node by the third mobile node.
6. The video resource sharing method according to claim 5, wherein the system member information includes node information of a mobile node corresponding to the system member, video information of a video resource requested to be acquired by the system member, and time information of a video acquisition request transmitted by the system member.
7. The method as claimed in claim 5, wherein the screening a target system member storing the target video resource from the system member set comprises:
screening one or more candidate system members storing the target video resource from the system member set;
respectively acquiring the joining time of the first mobile node and each candidate system member joining the system member set;
and selecting the candidate system member with the shortest joining time interval with the first mobile node to join the system member set as the target system member.
8. A video resource sharing apparatus for providing a video resource sharing service to a mobile node in a mobile ad hoc network, the apparatus comprising:
a local receiving module configured to receive, by a local server, a video acquisition request for a target video resource sent by a first mobile node in the mobile ad hoc network;
the judging module is configured to acquire the access frequency of the target video resource and judge whether the target video resource is a hot resource or a non-hot resource according to the access frequency;
the request forwarding module is configured to send the video acquisition request to a cloud server if the target video resource is determined to be a hotspot resource, so that the cloud server allocates a second mobile node capable of providing the target video resource to the first mobile node.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the video asset sharing method according to any one of claims 1 to 7.
10. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the video resource sharing method of any one of claims 1-7 via execution of the executable instructions.
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 CN109348264A (en) 2019-02-15
CN109348264B true 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)

Families Citing this family (5)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9325786B2 (en) * 2006-07-27 2016-04-26 The Hong Kong University Of Science And Technology Peer-to-peer interactive media-on-demand

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN109348264A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN109348264B (en) Video resource sharing method and device, storage medium and electronic equipment
Goian et al. Popularity-based video caching techniques for cache-enabled networks: A survey
US9571540B2 (en) Broadcast/multicast offloading and recommending of infrastructural changes based on usage tracking
US8539079B2 (en) Edge-based resource spin-up for cloud computing
US8973005B2 (en) Information processing apparatus, information processing method, recording medium and information processing system
US9621620B2 (en) Apparatus and method for providing content with a distributed architecture, and system for providing content with the said apparatus
US8849976B2 (en) Dynamic route requests for multiple clouds
WO2018133306A1 (en) Dispatching method and device in content delivery network
US9813936B2 (en) System and method for scheduling time-shifting traffic in a mobile cellular network
JP4679584B2 (en) Routing service queries in overlay networks
WO2022222755A1 (en) Service processing method and apparatus, and storage medium
EP3257233B1 (en) Dynamic content delivery network allocation system
CN101540775A (en) Method and device for distributing contents and network system for distributing contents
WO2013049079A2 (en) Dynamic request handling using cloud-computing capabilities
Li et al. Method of resource estimation based on QoS in edge computing
KR20180124419A (en) Application excution system based on distributed cloud, apparatus and control method thereof using the system
CN110008050B (en) Method and device for processing information
US20050005019A1 (en) Service management using multiple service location managers
CN102377662A (en) Routing cache negotiation method and system facing to bandwidth adaptation in video monitoring
US10691700B1 (en) Table replica allocation in a replicated storage system
CN110191362B (en) Data transmission method and device, storage medium and electronic equipment
Li et al. Video caching and scheduling with edge cooperation
WO2023001083A1 (en) Service providing method and system, gateway, device, and storage medium
CN110996114A (en) Live broadcast scheduling method and device, electronic equipment and storage medium
Vance et al. Edgecache: a game-theoretic edge-based content caching system for crowd video sharing

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