CN111246315B - Video interaction method, system, edge node, client and storage medium - Google Patents

Video interaction method, system, edge node, client and storage medium Download PDF

Info

Publication number
CN111246315B
CN111246315B CN202010070503.1A CN202010070503A CN111246315B CN 111246315 B CN111246315 B CN 111246315B CN 202010070503 A CN202010070503 A CN 202010070503A CN 111246315 B CN111246315 B CN 111246315B
Authority
CN
China
Prior art keywords
slice
client
target video
edge node
original
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
CN202010070503.1A
Other languages
Chinese (zh)
Other versions
CN111246315A (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.)
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Video Technology Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010070503.1A priority Critical patent/CN111246315B/en
Publication of CN111246315A publication Critical patent/CN111246315A/en
Application granted granted Critical
Publication of CN111246315B publication Critical patent/CN111246315B/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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

The present invention relates to the field of communications technologies, and in particular, to a video interaction method, a video interaction system, an edge node, a client, and a storage medium. The video interaction method is applied to the edge nodes; the method comprises the following steps: receiving a sharing link of a target video sent by a client; the sharing link comprises a storage address of a processing slice of the target video; acquiring the processing slice and the original slice of the target video according to the sharing link; and sending the original slice and the processed slice to the client. By adopting the embodiment of the invention, the personalized video content from other clients can be rapidly acquired, the process of providing service for the clients by the edge node is accelerated, and the convenience of interaction among the clients is improved.

Description

Video interaction method, system, edge node, client and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a video interaction method, a video interaction system, an edge node, a client, and a storage medium.
Background
A Content Delivery Network (CDN) is a layer of intelligent virtual Network added on the basis of a Network formed by nodes placed at various positions of the Network, and the CDN can direct a user's request to a node closest to the user, so that the user can obtain requested Content nearby, and the user access response speed is improved; the CDN nodes comprise edge nodes, intermediate nodes and source nodes, and the content acquired by the user from the edge nodes is the content uniformly distributed by the source nodes in the whole network. However, the inventors found that the following problems exist in the related art: when a user watches the acquired video at the client, the video can be processed for the second time to enrich the watching effect of the video; however, the video processed by the user at the client for the second time is not the video uniformly issued by the source node, and cannot be directly watched by other users, so that the user is inconvenient to share and propagate the personalized video, and the interactive experience of the user is influenced.
Disclosure of Invention
Embodiments of the present invention provide a video interaction method, a video interaction system, an edge node, a client, and a storage medium, which can quickly obtain personalized video content from other clients, accelerate the process of providing a service to the client by the edge node, and improve convenience of interaction between clients.
In order to solve the above technical problem, an embodiment of the present invention provides a video interaction method, which is applied to an edge node; the method comprises the following steps: receiving a sharing link of a target video sent by a client; the sharing link comprises a storage address of a processing slice of the target video; acquiring the processing slice and the original slice of the target video according to the sharing link; and sending the original slice and the processed slice to the client.
The embodiment of the invention also provides a video interaction method, which is applied to the edge node and comprises the following steps: sending the original slice of the target video to a client; receiving and storing the processing slices of the target video uploaded by the client according to the original slices; feeding back a storage address of the processing slice to the client, so that an edge node can obtain the processing slice according to a sharing link of a target video sent by the client; wherein the sharing link includes a storage address of the processing slice.
The embodiment of the invention also provides a video interaction method, which is applied to a client and comprises the following steps: generating a sharing link of a target video, and sending the sharing link to another client so that an edge node corresponding to the other client can acquire a processing slice of the target video according to the sharing link; wherein the sharing link includes a storage address of the processing slice.
The embodiment of the invention also provides a video interaction system, which comprises: the system comprises a first client, a first edge node, a second client and a second edge node, wherein the first client corresponds to the first edge node, and the second client corresponds to the second edge node; the first edge node sends an original slice of a target video to the first client; the first client uploads the processing slice of the target video to the first edge node according to the original slice; the first edge node receives and stores the processing slice, and feeds back a storage address of the processing slice to the first client; the first client generates a sharing link of the target video and sends the sharing link to the second client; the second client sends the sharing link to the second edge node; the second edge node acquires the processing slice and the original slice of the target video according to the sharing link; the second edge node sends the original slice and the processed slice to the second client; and the sharing link comprises a storage address of the processing slice of the target video.
An embodiment of the present invention further provides an edge node, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video interaction method described above.
An embodiment of the present invention further provides a client, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video interaction method described above.
An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to implement the above-mentioned video interaction method.
Compared with the prior art, the edge node receives the sharing link of the target video sent by the client; the sharing link comprises a storage address of a processing slice of the target video; acquiring the processing slice and the original slice of the target video according to the sharing link; sending the original slice and the processed slice to the client; it can be understood that, because the client acquires the target video through the service provided by the edge node, and the sharing link sent by the client includes the storage address of the processing slice, the edge node can quickly acquire the personalized processing slice according to the storage address of the processing slice, that is, the client can quickly acquire the target video processed by other clients without waiting for the process of uploading the processing slice to the source node and then uniformly issuing the processing slice to the edge node by the source node.
In addition, the obtaining the processing slice according to the sharing link includes: acquiring a slice index table of the target video according to the storage address; the slice index table is used for storing identification information of the processing slice; acquiring the processing slice according to the identification information of the processing slice; it can be understood that the stored processing slices are managed in the form of the index table, which is beneficial for the edge nodes to clearly and quickly acquire the processing slices of the target video.
In addition, the sharing link comprises an address of the description file; the obtaining of the original slice of the target video according to the sharing link includes: acquiring a description file of the target video according to the address of the description file; the description file is used for recording an original slice corresponding to the target video and a slice playing sequence of the target video; acquiring an original slice according to the original slice recorded in the description file; the sending the original slice and the processed slice to the client comprises: and sending the original slices and the processed slices to the client according to the slice playing sequence so that the client can play the slices according to the slice playing sequence of the target video, and thus a user sees the processed target video through the client.
In addition, the acquiring the original slice according to the original slice recorded in the description file includes: judging whether the original slice is stored in a local cache or not; if not, sending a request for acquiring the original slice to a node corresponding to the storage address of the processed slice; that is, if other clients have obtained the original slice of the target video through the edge node before, the edge node may locally cache the original slice of the target video, so that the edge node may directly extract the original slice from the local cache and send the original slice to the client, thereby shortening the time consumed for providing services to the client; and if the edge node does not cache the original slice, requesting the required original slice from the node corresponding to the storage address of the processed slice.
In addition, after the sending the request for obtaining the original slice to the node corresponding to the storage address of the processed slice, the method further includes: judging whether the original slice fed back by the node corresponding to the storage address of the processing slice is obtained or not; if not, considering that the original slice is issued to the edge node by the source node, sending a request for acquiring the original slice to the source node.
Additionally, the sending the original slice to the client includes: screening unprocessed original slices from the original slices according to the slice index table; sending the processed slice and the unprocessed original slice to the client; it can be understood that the video finally received by the client is formed by combining the processed slices and the unprocessed slices, so that the original slices corresponding to the processed slices are removed, the data volume transmitted from the edge nodes to the client is reduced, and the storage space of the client is occupied, so that the client can acquire the processed target video more quickly, and the service provided for the client is accelerated.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flow chart of a video interaction method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a specific implementation of obtaining a machined slice according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a specific implementation of obtaining an original slice according to a first embodiment of the invention;
FIG. 4 is a flow chart of another video interaction method according to a first embodiment of the present invention;
FIG. 5 is a flow chart of a video interaction method according to a second embodiment of the present invention;
FIG. 6 is a flow chart of a video interaction method according to a third embodiment of the present invention;
FIG. 7 is a flow chart of a video interaction method according to a fourth embodiment of the present invention;
fig. 8 is a block diagram showing the structure of an edge node according to a sixth embodiment of the present invention;
fig. 9 is a block diagram showing the construction of a client terminal according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a video interaction method, which is applied to an edge node, and a specific flow thereof is shown in fig. 1, including:
step 101, receiving a sharing link of a target video sent by a client;
102, acquiring a processing slice and an original slice of a target video according to a sharing link;
and 103, sending the original slice and the processed slice to the client.
The following describes details of the video interaction method of the present embodiment in detail, and the following only provides details for easy understanding, and is not necessary to implement the present embodiment.
In this embodiment, an edge node may be understood as an edge node in a CDN network; when a user requests to view a target video through a client, the CDN network allocates the client to an edge node, that is, the edge node provides a service for the client. When providing a video playing service for a client, an edge node generally adopts, for example, an HLS protocol (HTTP Live Streaming, HTTP-based media Streaming protocol) to transmit real-time audio and video; when the HSL protocol is used for transmitting the video to the client, the whole video is cut into a plurality of slices, the slices form a media file list which can be downloaded through HTTP, the client plays the downloaded slices in sequence, and the playing effect is still complete video.
The application scenario in this embodiment may be understood as one of the following application scenarios: the edge node in this embodiment is regarded as a first edge node, and receives a sharing link of a target video sent by a first client, where the sharing link includes a storage address of a processing slice of the target video, and the storage address of the processing slice points to a second edge node; that is to say, the first edge node is used for quickly acquiring the processing slice through the second edge node and sending the processing slice to the first client. The following describes the video interaction method in this embodiment by taking this application scenario as an example.
In step 101, a first edge node receives a sharing link of a target video sent by a client, where the sharing link includes a storage address of a processed slice of the target video. Specifically, the second edge node corresponds to a second client, and the second client can receive secondary processing of the user on the target video content when playing the target video, for example, adding a special effect to a target video picture; in this embodiment, the target video content is processed for the second time, that is, the original slice of the target video being played is processed, so as to obtain the processed slice of the target video; the second client uploads the processed slices of the target video to a second edge node for storage; the second edge node stores the processing slice and feeds back the storage address of the processing slice to the client; in this embodiment, a node corresponding to the storage address of the processing slice may be understood as a second edge node. It can be understood that, since the second client only uploads the processed slice to the second edge node, rather than uploading the entire processed target video to the second edge node, the occupation of the storage space of the second edge node is effectively controlled.
The second client side uploads the processed slices of the target video to a second edge node, and when the processed personalized video is expected to be shared, the second client side generates and sends a sharing link of the target video to the first client side; the first client sends the sharing link of the target video to the first edge node by clicking the sharing link, so that the first edge node can obtain the target video according to the sharing link.
In step 102, the first edge node obtains the processed slice and the original slice of the target video according to the sharing link. Specifically, since the sharing link includes the storage address of the processing slice of the target video, the first edge node may access the storage address to acquire the processing slice.
In an example, the sharing link for the target video may be:
http: zhongchaobisaii.m 3u 8/ip: 172.168.4.1; here, "ip" 172.168.4.1 denotes a storage address of the processed slice.
It is to be understood that, in another example, the sharing link of the target video may further include a modification flag, where the modification flag is a processed flag or an unprocessed flag: after the second client uploads the processing slice to the second edge node, the sharing link generated by the second client may include the processed identifier, so that the first edge node may continue to go to the second edge node to obtain the processing slice when obtaining the processed identifier from the sharing link; when the sharing link generated by the second client includes the unprocessed identifier, the first edge node acquires the unprocessed identifier from the sharing link, which indicates that the first edge node does not need to acquire the processed slice, and the original target video can be provided to the first client. In another example above, the analysis link for the target video may be:
http, zhongchaobisaii.m 3u8/modify 1& ip 172.168.4.1; here, "modification ═ 1" is a processed flag, and indicates that the target video has been processed twice.
In this embodiment, a specific implementation manner of obtaining the processing slice in step 102 is provided, as shown in fig. 2, including steps 1021 to 1022.
Step 1021, acquiring a slice index table of the target video according to the storage address;
and step 1022, acquiring the processed slice according to the identification information of the processed slice.
Specifically, after receiving the processing slice uploaded by the second client, the second edge node stores the identification information of the processing slice in the form of an index table so as to clearly manage the processing slice and facilitate searching; the identification information of the processed slice may include identification information of the original slice being processed so as to be stored corresponding to the identification information of the original slice. In an example, the index table may be in the form of table 1 below, where the slice file is a.ts file, and no corresponding processed slice indicates that the original slice was not processed a second time; taking the processing slice identification information "001 _ special effect 1. ts" as an example, the identification information indicates that the second edge node stores the processing slice obtained by adding the special effect 1 to the original slice 001. ts.
TABLE 1
Original slice identification information Machining slice identification information
001.ts 001_ special effects 1.ts
002.ts
003.ts
004.ts 004_ Special Effect 2.ts
……
The first edge node can access the second edge node according to the storage address of the processing slice to obtain a slice index table of the target video, and obtain the processing slice from the second edge node according to the identification information of the processing slice recorded in the slice index table; since many slices may be stored in the second edge node, the first edge node can quickly acquire the processed slice in the above manner.
In this embodiment, a specific implementation manner of obtaining the original slice in step 102 is provided, as shown in fig. 3, including steps 1023 to 1024.
Step 1023, according to the address of the description file, obtaining the description file of the target video;
and step 1024, acquiring the original slice according to the original slice recorded in the description file.
Specifically, the sharing link of the target video comprises an address of the description file; in an example, the sharing link for the target video may be: http: zhongchaobisaii.m 3u 8/ip: 172.168.4.1; wherein http is the address of the description file; then, the address of the description file can be accessed according to the sharing link, so that the description file of the target video can be acquired. The description file is used for recording an original slice corresponding to the target video and a slice playing sequence of the target video; in an example, when transmitting a video to a client using an HSL protocol, an entire video is cut into several slices, and an m3u8 file (i.e., a description file) is generated at the same time, the m3u8 file is used for recording an original slice corresponding to the video, and a slice playing order of the video; the content contained in the original m3u8 file of a target video can be as follows:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-DEFINE:keyframeurl=http://……xml
#EXT-X-INF:10.000
001.ts
002.ts
003.ts
004.ts
……
#ENDLIST
the content of the m3u8 file indicates that the original slices corresponding to the target video comprise 001.ts, 002.ts, 003.t and 004.ts … …, and the original slices are played in the order of 001.ts, 002.ts, 003.ts and 004.ts … …. It can be understood that the original slice corresponding to the target video can be obtained from the description file of the target video, and the original slice is further obtained.
It can be understood that, if other clients have already obtained the original slice of the target video through the first edge node before the first edge node receives the sharing link of the target video sent by the first client, the original slice of the target video may be stored in the local cache of the first edge node; therefore, after the original slice corresponding to the target video is obtained, whether the original slice is stored in the local cache of the first edge node is judged, if yes, the first edge node can directly extract the original slice from the local cache and send the original slice to the first client, and therefore time consumption for providing service for the client is shortened.
If the original slice is not stored in the local cache of the first edge node, see the steps in another video interaction method in this implementation, as shown in fig. 4.
Step 201, receiving a sharing link of a target video sent by a client; this step is substantially the same as step 101, and is not described herein again.
Step 202, obtaining a processing slice according to the sharing link; this step is substantially the same as the description of "obtaining a processed slice" in step 102, and is not described here again.
Step 203, sending a request for obtaining the original slice to the node corresponding to the storage address of the processed slice.
Step 204, judging whether an original slice fed back by a node corresponding to the storage address of the processed slice is obtained; if yes, go to step 206; if not, go to step 205.
Step 205, sending a request for obtaining the original slice to the source node.
Specifically, as described in step 101, the second client uploads the processed slice obtained by processing the original slice of the target video to the second edge node for storage, and the original slice is sent from the second edge node to the second client, so in this embodiment, a node corresponding to the storage address of the processed slice may be understood as the address of the second edge node, and the local cache of the second edge node may store the original slice of the target video, so that the first edge node may request to obtain the original slice from the second edge node; if the second edge node does not cache the original slice, the original slice cannot be fed back to the first edge node, and the original slice of the target video is uniformly issued by the source node, the first edge node requests the source node for the original slice of the target video.
After the original slice is obtained, step 206 is executed to send the original slice and the processed slice to the client. This step is substantially the same as step 103, and is described below.
In step 103, the first edge node sends the original slice and the processed slice to the client, so that the first client can play the processed slice. In this embodiment, the first edge node may send the original slice and the processed slice according to the slice playing order recorded in the description file, so that the first client may play the original slice and the price slice according to the slice playing order, and the user sees the processed target video through the first client.
Specifically, after the second edge node receives the processed slice uploaded by the second client, the m3u8 file is updated, and the processed original slice in the slice playing sequence is replaced by the processed slice; for example, the content included after the update of the m3u8 file in the above example can be as follows:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-DEFINE:keyframeurl=http://……xml
#EXT-X-INF:10.000
001_ special effects 1.ts
002.ts
003.ts
004_ Special Effect 2.ts
……
#ENDLIST
The content of the m3u8 file indicates that the slices of the target video are played in the order of 001_ special effect 1.ts, 002.ts, 003.ts, 004_ special effect 2.ts … …; that is, the first edge node also sends the slices in the order of 001_ special effect 1.ts, 002.ts, 003.ts, 004_ special effect 2.ts … …, so that the target video to which the video special effect is added is viewed on the first client of the user.
In addition, it can be understood that the edge node may periodically access according to the sharing link to obtain the latest slice index table and the m3u8 file, that is, obtain the latest uploaded processed slice and send the slice to the client according to the latest slice playing order. In an example, the edge node may access the client according to the sharing link after sending an original slice or a processed slice to the client, and if the slice index table is found to be updated, obtain the latest processed slice, obtain the latest m3u8 file, and send the next slice to the client according to the latest slice playing order.
In addition, the edge node may provide services for a plurality of clients, for example, when the edge node further receives a sharing link to a target video sent by another client, since the same service is already provided to the client before, the edge node may continue to provide the same service to another client without acquiring the original slice and the processed slice again, so as to shorten the time consumed for providing services to the client and accelerate the provision of services to the client.
Compared with the prior art, the edge node receives a sharing link of a target video sent by a client; the sharing link comprises a storage address of a processing slice of the target video; acquiring a processing slice and an original slice of a target video according to the sharing link; sending the original slices and the processed slices to a client; it can be understood that, because the client acquires the target video through the service provided by the edge node, and the sharing link sent by the client includes the storage address of the processing slice, the edge node can quickly acquire the personalized processing slice according to the storage address of the processing slice, that is, the client can quickly acquire the target video processed by other clients without waiting for the process of uploading the processing slice to the source node and then uniformly issuing the processing slice to the edge node by the source node.
A second embodiment of the present invention relates to a video interaction method, which is applied to an edge node, and is substantially the same as the first embodiment, except that the original slice sent to the client is filtered. Since the original slice may be already stored in the local cache of the edge node, or needs to be obtained from the outside, the embodiment chooses to use the example that the original slice is already stored in the local cache of the edge node as an example for illustration. The specific flow of the video interaction method in this embodiment is shown in fig. 5, and includes the following steps.
Step 301, receiving a sharing link of a target video sent by a client; this step is substantially the same as step 101, and is not described herein again.
Step 302, acquiring a processing slice and an original slice of a target video according to a sharing link; this step is substantially the same as step 102 and will not be described herein.
And step 303, screening unprocessed original slices from the original slices according to the slice index table.
Specifically, as can be seen from table 1 in the first embodiment, the unprocessed original slices are 002.ts and 003.ts, and therefore 001.ts and 004.ts are removed from the original slices, and only 002.ts and 003.ts are retained as original slices to be sent to the client. In this way, the number of slices sent to the client and the occupation of the storage space of the client are reduced.
Step 304, sending the processed slices and unprocessed original slices to a client according to the slice playing sequence; this step is substantially the same as step 103, and is not described herein again.
In addition, the edge node can send selectable items to the client before sending the slices to the client, so that a user using the client can select whether to watch the unprocessed target video or the secondarily processed target video, and then sends the corresponding slices to the client according to the selection of the user, and good video interaction experience is provided for the user.
Compared with the prior art, the present embodiment sends the original slice of the target video to the client, and includes: screening unprocessed original slices from the original slices according to the slice index table, and sending the processed slices and the unprocessed original slices to a client; because the video finally received by the client is formed by combining the processed slices and the unprocessed slices, the original slices corresponding to the processed slices are removed, the data volume transmitted to the client by the edge nodes is reduced, and the occupation of the storage space of the client is reduced, so that the client can acquire the processed target video more quickly, and the service is provided for the client at an accelerated speed.
The third embodiment of the invention relates to a video interaction method, which is applied to edge nodes; the specific flow of the video interaction method in this embodiment is shown in fig. 6, and includes:
step 401, sending an original slice of a target video to a client;
step 402, receiving and storing a processing slice of a target video uploaded by a client according to an original slice;
and step 403, feeding back the storage address of the processing slice to the client.
Specifically, when a user requests to view a target video through a client, the CDN network allocates the client to an edge node, and the edge node provides a service for the client and sends an original slice of the target video to the client. When the client plays the target video, the client can receive secondary processing of the user on the target video content, for example, adding a special effect to a target video picture, that is, processing an original slice of the target video being played to obtain a processed slice of the target video, and uploading the processed slice of the target video to an edge node; and the edge node receives and stores the processing slice of the target video sent by the client and feeds back the storage address of the processing slice to the client.
When a client wants to share out the processed personalized video, the client generates and sends a sharing link of a target video to another client, wherein the sharing link comprises a storage address of a processing slice; and another client sends the sharing link of the target video to the edge node corresponding to the other client by clicking the sharing link, so that the edge node corresponding to the other client can acquire the processing slice according to the storage address of the processing slice.
In addition, the edge node feeds back the address of the description file to the client, and the sharing link generated and sent by the client to another client also comprises the address of the description file, so that the edge node corresponding to the other client can acquire the description file according to the address of the description file; the description of the description file is substantially the same as that in the first embodiment, and is not repeated herein.
It can be understood that, because the client only uploads the processed slice to the edge node, rather than uploading the whole processed target video to the edge node, the occupation of the storage space of the edge node is effectively controlled; the processing slices stored by the edge nodes can be rapidly acquired to be shared to other clients, so that the convenience of interaction among the clients is effectively improved, and the process of providing service for the clients by the edge nodes is accelerated.
The fourth embodiment of the invention relates to a video interaction method, which is applied to a client; the specific flow of the video interaction method in this embodiment is shown in fig. 7, and includes:
step 501, receiving an original slice of a target video sent by an edge node;
step 502, uploading a processing slice of a target video to an edge node according to an original slice, and receiving a storage address of the processing slice fed back by the edge node;
step 503, generating a sharing link of the target video, and sending the sharing link to another client.
Specifically, when a user requests to view a target video through a client, the CDN network allocates the client to an edge node, and the edge node provides a service for the client and sends an original slice of the target video to the client. When receiving and playing the original slice sent by the edge node, the client can perform secondary processing on the original slice, for example, adding a special effect to a target video picture, and the like to obtain a processed slice of the target video, and upload the processed slice of the target video to the edge node; and after receiving and storing the processing slice of the target video sent by the client, the edge node feeds back a storage address of the processing slice to the client.
When a client wants to share out the processed personalized video, the client generates and sends a sharing link of a target video to another client, wherein the sharing link comprises a storage address of a processing slice; and another client sends the sharing link of the target video to the edge node corresponding to the other client by clicking the sharing link, so that the edge node corresponding to the other client can acquire the processing slice according to the storage address of the processing slice.
In addition, the client side also receives the address of the description file fed back by the edge node, and the sharing link generated by the client side and sent to another client side also comprises the address of the description file, so that the edge node corresponding to another client side can acquire the description file according to the address of the description file and further acquire the original slice of the target video; the description of the description file and the original slice is substantially the same as that in the first embodiment, and will not be described herein.
It can be understood that, because the sharing link sent by the client includes the storage address of the processing slice, the edge node can quickly acquire the personalized processing slice according to the storage address of the processing slice, that is, the client can quickly acquire the target video processed by other clients without waiting for uploading the processing slice to the source node and then uniformly issuing the processing slice to the edge node by the source node.
A fifth embodiment of the present invention relates to a video interactive system, including: the system comprises a first client, a first edge node, a second client and a second edge node, wherein the first client corresponds to the first edge node, and the second client corresponds to the second edge node.
The method comprises the steps that a first edge node sends an original slice of a target video to a first client; the first client can receive the secondary processing of the original slice by the user to obtain a processing slice of the target video, and transmits the processing slice to the first edge node; and after receiving and storing the processing slice, the first edge node feeds back the storage address of the processing slice to the first client. Since the first client only uploads the processed slice to the first edge node, rather than uploading the entire processed target video to the first edge node, the occupation of the storage space of the first edge node is effectively controlled.
When a first client wants to share out the processed personalized video, the first client generates a sharing link of the target video and sends the sharing link to a second client, and the sharing link includes a storage address of the processed slice.
The second client sends the sharing link of the target video to the corresponding second edge node, so that the second edge node quickly accesses the storage address of the processing slice to obtain the processing slice according to the sharing link without waiting for uploading the processing slice to the source node, and then the source node uniformly issues the processing slice to the edge node.
In addition, the first edge node also feeds back an address of the description file to the first client, that is, the sharing link generated by the first client also includes the address of the description file, so that the second edge node accesses the address of the description file according to the sharing link to obtain the description file, and further obtains the original slice of the target video; the description of the description file and the original slice is substantially the same as that in the first embodiment, and is not repeated here.
And after the original slice and the processed slice are obtained at the second edge node, the original slice and the processed slice are sent to the second client side, so that the second client side can play the processed personalized video.
It can be understood that, the embodiment effectively accelerates the process of providing the service for the client by the edge node, and improves the convenience of interaction between the clients.
A sixth embodiment of the present invention relates to an edge node, as shown in fig. 8, including: comprises at least one processor 601; and a memory 602 communicatively coupled to the at least one processor 601; the memory 602 stores instructions executable by the at least one processor 601, and the instructions are executed by the at least one processor 601 to enable the at least one processor 601 to execute the video interaction method.
Where the memory 602 and the processor 601 are coupled by a bus, the bus may comprise any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 601 and the memory 602 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 601 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 601.
The processor 601 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. While memory 602 may be used to store data used by processor 601 in performing operations.
A seventh embodiment of the present invention relates to a client, as shown in fig. 9, including: includes at least one processor 701; and, a memory 702 communicatively coupled to the at least one processor 701; the memory 702 stores instructions executable by the at least one processor 701, and the instructions are executed by the at least one processor 701 to enable the at least one processor 701 to execute the video interaction method.
The memory 702 and the processor 701 are coupled by a bus, which may comprise any number of interconnecting buses and bridges that couple one or more of the various circuits of the processor 701 and the memory 702. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 701 is transmitted over a wireless medium through an antenna, which receives the data and transmits the data to the processor 701.
The processor 701 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 702 may be used for storing data used by the processor 701 in performing operations.
An eighth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program, when executed by a processor, implements the above-described video interaction method embodiments.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (12)

1. A video interaction method is characterized by being applied to an edge node; the method comprises the following steps:
receiving a sharing link of a target video sent by a client;
the sharing link comprises a storage address of a processing slice of the target video;
acquiring the processing slice and the original slice of the target video according to the sharing link;
and sending the original slice and the processed slice to the client.
2. The video interaction method according to claim 1, wherein the obtaining the processing slice according to the sharing link includes:
acquiring a slice index table of the target video according to the storage address; the slice index table is used for storing identification information of the processing slice;
and acquiring the processing slice according to the identification information of the processing slice.
3. The video interaction method according to claim 2, wherein the sharing link includes an address of a description file; the obtaining of the original slice of the target video according to the sharing link includes:
acquiring a description file of the target video according to the address of the description file; the description file is used for recording an original slice corresponding to the target video and a slice playing sequence of the target video;
acquiring an original slice according to the original slice recorded in the description file;
the sending the original slice and the processed slice to the client comprises:
and sending the original slice and the processed slice to the client according to the slice playing sequence.
4. The video interaction method according to claim 3, wherein said obtaining the original slice from the original slice recorded in the description file comprises:
judging whether the original slice is stored in a local cache or not;
and if not, sending a request for acquiring the original slice to a node corresponding to the storage address of the processed slice.
5. The video interaction method according to claim 4, after the sending the request for obtaining the original slice to the node corresponding to the storage address of the processed slice, further comprising:
judging whether the original slice fed back by the node corresponding to the storage address of the processing slice is obtained or not;
and if not, sending a request for acquiring the original slice to a source node.
6. The video interaction method of claim 5, wherein the sending the original slice to the client comprises:
screening unprocessed original slices from the original slices according to the slice index table;
and sending the processed slice and the unprocessed original slice to the client.
7. A video interaction method applied to an edge node, the method comprising:
sending the original slice of the target video to a client so that the client receives the original slice of the target video processed by a user when playing the target video to obtain a processed slice of the target video, wherein the client is distributed to edge nodes;
receiving and storing the processing slices of the target video uploaded by the client according to the original slices;
feeding back a storage address of the processing slice to the client so that the client can generate a sharing link of a target video and send the sharing link to another client, and an edge node corresponding to the other client acquires the processing slice according to the sharing link;
wherein the sharing link includes a storage address of the processing slice.
8. A video interaction method is applied to a client side, and comprises the following steps:
receiving an original slice of a target video sent by an edge node corresponding to a client;
the method comprises the steps that when a target video is played, a client receives an original slice of the target video processed by a user to obtain a processed slice of the target video, uploads the processed slice to an edge node corresponding to the client, and receives a storage address of the processed slice fed back by the edge node corresponding to the client;
generating a sharing link of a target video, and sending the sharing link to another client so that an edge node corresponding to the other client can acquire a processing slice of the target video according to the sharing link;
wherein the sharing link includes a memory address of the processing slice.
9. A video interaction system, comprising: the system comprises a first client, a first edge node, a second client and a second edge node, wherein the first client corresponds to the first edge node, and the second client corresponds to the second edge node;
the first edge node sends an original slice of a target video to the first client;
the first client uploads the processing slice of the target video to the first edge node according to the original slice;
the first edge node receives and stores the processing slice, and feeds back a storage address of the processing slice to the first client;
the first client generates a sharing link of the target video and sends the sharing link to the second client, wherein the sharing link comprises a storage address of a processing slice of the target video;
the second client sends the sharing link to the second edge node;
the second edge node acquires the processing slice and the original slice of the target video according to the sharing link;
and the second edge node sends the original slice and the processed slice to the second client.
10. An edge node, comprising:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video interaction method of any one of claims 1 to 6, or the video interaction method of claim 7.
11. A client, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video interaction method of claim 8.
12. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the video interaction method of any one of claims 1 to 6, or the video interaction method of claim 7, or the video interaction method of claim 8.
CN202010070503.1A 2020-01-21 2020-01-21 Video interaction method, system, edge node, client and storage medium Active CN111246315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010070503.1A CN111246315B (en) 2020-01-21 2020-01-21 Video interaction method, system, edge node, client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010070503.1A CN111246315B (en) 2020-01-21 2020-01-21 Video interaction method, system, edge node, client and storage medium

Publications (2)

Publication Number Publication Date
CN111246315A CN111246315A (en) 2020-06-05
CN111246315B true CN111246315B (en) 2022-06-03

Family

ID=70874865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010070503.1A Active CN111246315B (en) 2020-01-21 2020-01-21 Video interaction method, system, edge node, client and storage medium

Country Status (1)

Country Link
CN (1) CN111246315B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202932B (en) * 2020-12-07 2021-04-09 北京欣博电子科技有限公司 Method and device for performing structured analysis on video based on edge calculation
CN112601131B (en) * 2020-12-10 2023-03-21 杭州当虹科技股份有限公司 HLS video slice file storage optimization method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523298A (en) * 2011-12-22 2012-06-27 上海因特奈信息有限公司 Video acquiring and sharing system based on mobile terminal and process method thereof
CN104363507A (en) * 2014-10-23 2015-02-18 百视通网络电视技术发展有限责任公司 Video and audio recording and sharing method and system based on OTT set-top box
CN105681395A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Resource sharing control method, device, server and terminal
CN106599208A (en) * 2016-12-15 2017-04-26 腾讯科技(深圳)有限公司 Content sharing method and user client
CN107920274A (en) * 2017-10-27 2018-04-17 优酷网络技术(北京)有限公司 A kind of method for processing video frequency, client and server
CN108462755A (en) * 2018-03-28 2018-08-28 网宿科技股份有限公司 A kind of method and system of downloading data resource
CN108600863A (en) * 2018-03-28 2018-09-28 腾讯科技(深圳)有限公司 Multimedia file treating method and apparatus, storage medium and electronic device
CN108712343A (en) * 2018-05-14 2018-10-26 网宿科技股份有限公司 Distribution method, system, fringe node and the central dispatching system of streaming media resource
CN109275028A (en) * 2018-09-30 2019-01-25 北京微播视界科技有限公司 Video acquiring method, device, terminal and medium
CN109688423A (en) * 2019-01-16 2019-04-26 广东智慧课堂云计算有限公司 A kind of system and method for quick broadcasting video
CN110059055A (en) * 2019-03-28 2019-07-26 广东紫晶信息存储技术股份有限公司 A kind of file storage and read method and device based on distributed private clound
CN110267117A (en) * 2019-06-11 2019-09-20 网宿科技股份有限公司 A kind of processing method and Streaming Media processing server of stream medium data
CN110300316A (en) * 2019-07-31 2019-10-01 腾讯科技(深圳)有限公司 Method, apparatus, electronic equipment and the storage medium of pushed information are implanted into video
CN110704681A (en) * 2019-09-26 2020-01-17 三星电子(中国)研发中心 Method and system for generating video

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3160145A1 (en) * 2015-10-20 2017-04-26 Harmonic Inc. Edge server for the distribution of video content available in multiple representations with enhanced open-gop transcoding
US20170187770A1 (en) * 2015-12-29 2017-06-29 Facebook, Inc. Social networking interactions with portions of digital videos

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523298A (en) * 2011-12-22 2012-06-27 上海因特奈信息有限公司 Video acquiring and sharing system based on mobile terminal and process method thereof
CN104363507A (en) * 2014-10-23 2015-02-18 百视通网络电视技术发展有限责任公司 Video and audio recording and sharing method and system based on OTT set-top box
CN105681395A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Resource sharing control method, device, server and terminal
CN106599208A (en) * 2016-12-15 2017-04-26 腾讯科技(深圳)有限公司 Content sharing method and user client
CN107920274A (en) * 2017-10-27 2018-04-17 优酷网络技术(北京)有限公司 A kind of method for processing video frequency, client and server
CN108462755A (en) * 2018-03-28 2018-08-28 网宿科技股份有限公司 A kind of method and system of downloading data resource
CN108600863A (en) * 2018-03-28 2018-09-28 腾讯科技(深圳)有限公司 Multimedia file treating method and apparatus, storage medium and electronic device
CN108712343A (en) * 2018-05-14 2018-10-26 网宿科技股份有限公司 Distribution method, system, fringe node and the central dispatching system of streaming media resource
CN109275028A (en) * 2018-09-30 2019-01-25 北京微播视界科技有限公司 Video acquiring method, device, terminal and medium
CN109688423A (en) * 2019-01-16 2019-04-26 广东智慧课堂云计算有限公司 A kind of system and method for quick broadcasting video
CN110059055A (en) * 2019-03-28 2019-07-26 广东紫晶信息存储技术股份有限公司 A kind of file storage and read method and device based on distributed private clound
CN110267117A (en) * 2019-06-11 2019-09-20 网宿科技股份有限公司 A kind of processing method and Streaming Media processing server of stream medium data
CN110300316A (en) * 2019-07-31 2019-10-01 腾讯科技(深圳)有限公司 Method, apparatus, electronic equipment and the storage medium of pushed information are implanted into video
CN110704681A (en) * 2019-09-26 2020-01-17 三星电子(中国)研发中心 Method and system for generating video

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Multi-Tier Caching Analysis in CDN-Based Over-the-Top Video Streaming Systems;Abubakr O. Al-Abbasi等;《 IEEE/ACM Transactions on Networking》;20190325;第27卷(第2期);835-847 *
基于用户需求的内容分发点对点网络系统研究;张玉洁等;《软件学报》;20190522;第25卷(第1期);98-117 *

Also Published As

Publication number Publication date
CN111246315A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
KR102305064B1 (en) Video live broadcasting method and device
US10616301B2 (en) Request-based encoding for streaming content portions
US9444863B2 (en) Manager for DASH media streaming
EP3417626B1 (en) Playback synchronization among adaptive bitrate streaming clients
US20170126770A1 (en) Systems and methods for portable personalized radio
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
US20140115641A1 (en) Personal Content Sharing Method, System, Server, and Terminal Device
US8352931B2 (en) Data push service method and system using data pull model
EP2373051A2 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
CN108540868A (en) Processing method, device, server, terminal and the storage medium of HLS live streamings
CN111246315B (en) Video interaction method, system, edge node, client and storage medium
WO2018090978A1 (en) Self-adaptive playing and control method, set top box and electronic programme server
JP2016519895A (en) Media file reception and media file transmission method, apparatus, and system
WO2010094322A1 (en) Method and apparatus for distributing data in a peer-to- peer network
CN104980417A (en) UGC file distribution method and equipment
JP2020061764A (en) Method and apparatus for bandwidth allocation in network
CN105284118A (en) Content provision device, content provision method, program, terminal device, and content provision system
JP2019121867A (en) Information processing apparatus, video distribution apparatus, control method for the same, and program
CN113794898A (en) DASH media stream transmission method, electronic equipment and storage medium
KR100835528B1 (en) Multimedia Contents Streaming Method Using Section Information and Streaming Apparatus Thereof
WO2017071524A1 (en) Multimedia resource publishing method and apparatus
KR20150050276A (en) Method and system for providing video
CN110650351B (en) Live broadcast control method, system, server and computer readable storage medium
JP2010074709A (en) Broadcast program distribution system, broadcast program distribution server, and user terminal device
EP3780625A1 (en) Recorded data processing method and relevant device

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