CN108055594B - Edge slicing implementation method and device, computer equipment and storage medium - Google Patents

Edge slicing implementation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108055594B
CN108055594B CN201711121316.6A CN201711121316A CN108055594B CN 108055594 B CN108055594 B CN 108055594B CN 201711121316 A CN201711121316 A CN 201711121316A CN 108055594 B CN108055594 B CN 108055594B
Authority
CN
China
Prior art keywords
slice
video stream
live video
slice position
slicing
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
CN201711121316.6A
Other languages
Chinese (zh)
Other versions
CN108055594A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201711121316.6A priority Critical patent/CN108055594B/en
Publication of CN108055594A publication Critical patent/CN108055594A/en
Application granted granted Critical
Publication of CN108055594B publication Critical patent/CN108055594B/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/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/632Control 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 using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices
    • 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/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and a device for realizing edge slicing, computer equipment and a storage medium.A central source station can add a slicing position mark into a live video stream sent to an edge node, so that the edge node can perform slicing operation on the obtained live video stream according to the slicing position mark, thereby ensuring that the slicing contents obtained by each edge node are consistent, further efficiently performing P2P sharing, improving the P2P sharing rate and the like.

Description

Edge slicing implementation method and device, computer equipment and storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to video processing technologies, and in particular, to a method and an apparatus for implementing edge slicing, a computer device, and a storage medium.
[ background of the invention ]
Peer-to-Peer (P2P, Peer-to-Peer) is a technology that is commonly used at present, and can be defined as: participants in the network share a portion of the hardware resources they own, and these shared resources provide services and content over the network, which can be accessed directly by other Peer peers without going through intermediate entities, where the participants in the network are both providers and acquirers of the resources, services and content.
The P2P technology can be applied to many scenes, such as live video, and can solve the problems that server-side resources and bandwidth pressure are too large, the video quality is reduced after the user quantity is improved, and the like, which cannot be solved in a C/S live video mode.
After acquiring the live video stream from the central source station, each edge node may slice the live video stream, and perform P2P sharing based on the obtained slices.
However, in the prior art, since the edge nodes are sliced individually and are not synchronized with each other, the slice contents obtained by the edge nodes are different, and thus P2P cannot be shared efficiently.
[ summary of the invention ]
In view of this, the present invention provides a method, an apparatus, a computer device, and a storage medium for implementing edge slicing, which can improve the P2P sharing rate.
The specific technical scheme is as follows:
an edge slicing implementation method comprises the following steps:
the edge node acquires a live video stream from a central source station;
and the edge node performs slicing operation on the live video stream according to the slice position mark carried in the live video stream.
According to a preferred embodiment of the present invention, the slice position markers include: supplemental enhancement information SEI timestamp markers.
According to a preferred embodiment of the present invention, the slice position marker is located in front of an I frame in the live video stream.
According to a preferred embodiment of the invention, the method further comprises:
and the edge node identifies the acquired first slice according to a specific mode.
According to a preferred embodiment of the present invention, the identifying, by the edge node, the obtained first slice in a specific manner includes:
the edge node determining whether the slice position marker exists before a first I frame of the first slice;
and if not, identifying the first slice according to a specific mode.
An edge slicing implementation method comprises the following steps:
a central source station adds a slice position mark into a live video stream;
and the central source station sends the live video stream carrying the slice position mark to an edge node, so that the edge node can conveniently slice the live video stream according to the slice position mark.
According to a preferred embodiment of the present invention, the slice position markers include: supplemental enhancement information SEI timestamp markers.
According to a preferred embodiment of the present invention, the slice position marker is located in front of an I frame in the live video stream.
An edge slicing implementation device, comprising: an acquisition unit and a slicing unit;
the acquisition unit is used for acquiring a live video stream from a central source station;
and the slicing unit is used for carrying out slicing operation on the live video stream according to the slicing position mark carried in the live video stream.
According to a preferred embodiment of the present invention, the slice position markers include: supplemental enhancement information SEI timestamp markers.
According to a preferred embodiment of the present invention, the slice position marker is located in front of an I frame in the live video stream.
According to a preferred embodiment of the invention, the slicing unit is further adapted to,
and identifying the first acquired slice according to a specific mode.
According to a preferred embodiment of the present invention, the slicing unit determines whether the slice position mark exists before a first I frame of the first slice, and if not, identifies the first slice in a specific manner.
An edge slicing implementation device, comprising: a marking unit and a transmitting unit;
the marking unit is used for adding a slice position mark into a live video stream;
and the sending unit is used for sending the live video stream carrying the slice position mark to an edge node, so that the edge node can conveniently slice the live video stream according to the slice position mark.
According to a preferred embodiment of the present invention, the slice position markers include: supplemental enhancement information SEI timestamp markers.
According to a preferred embodiment of the present invention, the slice position marker is located in front of an I frame in the live video stream.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method as described above when executing the program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method as set forth above.
Based on the above description, it can be seen that, by adopting the scheme of the present invention, the central source station can add the slice position mark to the live video stream sent to the edge node, so that the edge node can perform the slice operation on the obtained live video stream according to the slice position mark, thereby enabling the slice contents obtained by each edge node to be consistent, further efficiently performing P2P sharing, and improving the P2P sharing rate, etc.
[ description of the drawings ]
Fig. 1 is a flowchart of a first embodiment of an edge slicing implementation method according to the present invention.
Fig. 2 is a schematic diagram illustrating a situation where slice contents are inconsistent according to the present invention.
Fig. 3 is a flowchart of a second embodiment of the method for implementing edge slicing according to the present invention.
Fig. 4 is a flowchart of a third embodiment of the method for implementing edge slicing according to the present invention.
Fig. 5 is a schematic structural diagram of a first embodiment of an apparatus for realizing edge slicing according to the present invention.
Fig. 6 is a schematic structural diagram of a second embodiment of an apparatus for realizing edge slicing according to the present invention.
FIG. 7 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention.
[ detailed description ] embodiments
In order to make the technical solution of the present invention clearer and more obvious, the solution of the present invention is further described below by referring to the drawings and examples.
It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a first embodiment of an edge slicing implementation method according to the present invention. As shown in fig. 1, the following detailed implementation is included.
In 101, an edge node acquires a live video stream from a central source station.
At 102, the edge node performs a slicing operation on the live video stream according to the slice position mark carried in the live video stream.
In this embodiment, the edge node acquires a live video stream from the central source station, and unlike the prior art, the live video stream carries a slice position mark, which is a marked position where a slice needs to be sliced.
Accordingly, the edge node can perform slicing operation on the acquired live video stream according to the slicing position mark.
Preferably, Supplemental Enhancement Information (SEI) timestamps may be utilized as slice position markers, and the edge node may perform a slicing operation once at each SEI timestamp marker.
The slice position marker may be located in front of an I frame in the live video stream, that is, the slice position marker is followed by the I frame, and the slice position marker does not belong to the I frame. When the slicing operation is completed according to the slice position mark, the slice position mark is disabled.
The central source station may set slice position markers in front of which I frames in the live video stream, according to actual needs. For example, one slice position mark may be set every N I frames, where N is a natural number, or the number of I frames spaced between two adjacent slice position marks may be different, and the sizes of different slices may be the same or different.
It can be seen that, through the above processing manner, each edge node can perform slicing operation on the obtained live video stream according to the slice position mark in the live video stream, so that the slice contents obtained by each edge node are consistent, and further P2P sharing can be efficiently performed, thereby improving the P2P sharing rate and the like.
In addition, the edge node may also identify the first acquired slice in a specific manner.
Because the edge node can go to the central source station at any time to pull the live video stream, if the live video stream has been played for 10 minutes, and the first frame in the live video stream acquired by the edge node is usually an I frame, for this I frame, there may be a slice position mark in front of the I frame, or there may be no slice position mark, if there is no slice position mark, it cannot be guaranteed that the content of the first slice acquired by the edge node is consistent with that acquired by other edge nodes, and accordingly, this slice needs to be identified in a specific manner.
Fig. 2 is a schematic diagram illustrating a situation where slice contents are inconsistent according to the present invention. As shown in fig. 2, each edge node performs a slicing operation at a slice position mark y, for other edge nodes, the slice contents obtained after the slicing operation are all contents 1 from the slice position mark x to the slice position mark y, and for an edge node a, the live video stream is obtained from a position b shown in the figure, the slice content of the first slice obtained by the edge node a is contents 2 from the position b to the slice position mark y, obviously, the content 1 is different from the content 2, and the edge node a needs to identify the obtained first slice in a specific manner so as to distinguish it from other normal slices.
That is to say, for the edge node, it may be determined whether a slice position marker exists before the first I frame of the acquired first slice, if not, the first slice may be identified in a specific manner, and if so, it is described that the first slice is a normal slice, and identification in a specific manner is not required. The second, third, etc. slice that follows must be a normal slice, regardless of whether the first slice is a normal slice or not.
How the first slice is identified in a particular way is not limiting. For example, the first slice may be named in a particular way.
For slices identified in a particular manner, P2P sharing is generally not possible with users connected to other edge nodes, and P2P sharing is generally only possible among users connected to the edge node that generated the slice.
Fig. 3 is a flowchart of a second embodiment of the method for implementing edge slicing according to the present invention. As shown in fig. 3, the following detailed implementation is included.
At 301, a central source station adds a slice position marker to a live video stream.
Preferably, SEI timestamp markers are utilized as slice position markers.
The slice position marker may be located in front of an I frame in the live video stream, that is, the slice position marker is followed by the I frame, and the slice position marker does not belong to the I frame.
The central source station may set slice position markers in front of which I frames in the live video stream, according to actual needs. For example, one slice position mark may be set every N I frames, where N is a natural number, or the number of I frames spaced between two adjacent slice position marks may be different, and the sizes of different slices may be the same or different.
In 302, the central source station sends the live video stream carrying the slice position mark to the edge node, so that the edge node performs a slicing operation on the live video stream according to the slice position mark.
After the central source station sends the live video stream carrying the slice position mark to the edge node, the edge node can perform slice operation on the obtained live video stream according to the slice position mark.
The above processing method is adopted for each edge node, so that the slice contents acquired by each edge node are consistent, P2P sharing can be efficiently performed, and the P2P sharing rate is improved.
In addition, the edge node may also identify the first acquired slice in a specific manner.
Specifically, the edge node may determine whether a slice position marker exists before a first I frame of the acquired first slice, and if not, may identify the first slice in a specific manner, for example, may name the first slice in a specific manner.
Fig. 4 is a flowchart of a third embodiment of the method for implementing edge slicing according to the present invention. As shown in fig. 4, the following detailed implementation is included.
At 401, a central source station adds a slice position marker to a live video stream.
Preferably, SEI timestamp markers are utilized as slice position markers.
The slice position marker may be located in front of an I-frame in the live video stream.
At 402, the central source station sends a live video stream carrying a slice position marker to an edge node.
The central source station may send the live video stream carrying the slice position marker to the edge node according to the prior art.
In 403, the edge node performs a slicing operation on the live video stream according to the slice position mark carried in the live video stream.
The edge node can perform a slicing operation at each slice position mark in the live video stream.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The above is a description of method embodiments, and the embodiments of the present invention are further described below by way of apparatus embodiments.
Fig. 5 is a schematic structural diagram of a first embodiment of an apparatus for realizing edge slicing according to the present invention. As shown in fig. 5, includes: an acquisition unit 501 and a slicing unit 502.
An obtaining unit 501, configured to obtain a live video stream from a central source station.
A slicing unit 502, configured to perform a slicing operation on the live video stream according to a slice position flag carried in the live video stream.
The acquiring unit 501 acquires a live video stream from a central source station, and unlike the prior art, the live video stream carries a slice position mark, which refers to a marked position where slicing needs to be performed. Accordingly, the slicing unit 502 may perform a slicing operation on the acquired live video stream according to the slice position flag.
Preferably, SEI timestamp markers may be utilized as slice position markers, and slicing unit 502 may perform a slicing operation once at each SEI timestamp marker.
The slice position marker may be located in front of an I frame in the live video stream, that is, the slice position marker is followed by the I frame, and the slice position marker does not belong to the I frame. When the slicing operation is completed according to the slice position mark, the slice position mark is disabled.
In addition, the slicing unit 502 may also identify the first acquired slice in a specific manner.
Specifically, the slicing unit 502 may determine whether a slice position marker exists before the first I frame of the first slice, and if not, identify the first slice in a particular manner.
Fig. 6 is a schematic structural diagram of a second embodiment of an apparatus for realizing edge slicing according to the present invention. As shown in fig. 6, includes: a marking unit 601 and a transmitting unit 602.
A marking unit 601, configured to add a slice position mark to the live video stream.
A sending unit 602, configured to send the live video stream with the slice position mark to the edge node, so that the edge node performs a slice operation on the live video stream according to the slice position mark.
Preferably, SEI timestamp markers are utilized as slice position markers.
The slice position marker may be located in front of an I-frame in the live video stream.
The marking unit 601 may set the slice position mark in front of which I frames in the live video stream according to actual needs. For example, one slice position mark may be set every N I frames, where N is a natural number, or the number of I frames spaced between two adjacent slice position marks may be different, and the sizes of different slices may be the same or different.
The sending unit 602 sends the live video stream carrying the slice position mark to the edge node, so that the edge node can perform a slice operation on the live video stream according to the slice position mark.
For the specific work flow of the device embodiments shown in fig. 5 and fig. 6, please refer to the corresponding description in the foregoing method embodiments, which is not repeated. In practical applications, the device shown in fig. 5 may be an edge node, and the device shown in fig. 6 may be a central source station.
In a word, by adopting the scheme of the invention, the central source station can add the slice position mark into the live video stream sent to the edge node, so that the edge node can perform the slice operation on the obtained live video stream according to the slice position mark, thereby enabling the slice contents obtained by each edge node to be consistent, further efficiently performing P2P sharing, improving the P2P sharing rate and the like.
FIG. 7 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention. The computer system/server 12 shown in FIG. 7 is only one example and should not be taken to limit the scope of use or functionality of embodiments of the present invention.
As shown in FIG. 7, computer system/server 12 is in the form of a general purpose computing device. The components of computer system/server 12 may include, but are not limited to: one or more processors (processing units) 16, a memory 28, and a bus 18 that connects the various system components, including the memory 28 and the processors 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The computer system/server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, and commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The computer system/server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the computer system/server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the computer system/server 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the computer system/server 12 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 20. As shown in FIG. 7, the network adapter 20 communicates with the other modules of the computer system/server 12 via the bus 18. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer system/server 12, 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.
The processor 16 executes programs stored in the memory 28 to perform various functional applications and data processing, such as implementing the method in the embodiment shown in fig. 1 or 3, i.e., the edge node acquires a live video stream from the central source station, performs a slicing operation on the live video stream according to a slice position mark carried in the live video stream, and the like.
For specific implementation, please refer to the corresponding descriptions in the foregoing embodiments, which are not repeated.
The invention also discloses a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, will carry out the method as in the embodiments of fig. 1 or 3.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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. In the context of this document, a 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer 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 computer 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.
Computer 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, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method, etc., can be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. 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.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. An edge slicing implementation method, comprising:
the edge node acquires a live video stream from a central source station;
the edge node performs slicing operation on the live video stream according to a slice position mark carried in the live video stream, and performs P2P sharing based on the obtained slice; wherein the slice position refers to a marked position where slicing is required, the slice position marking comprising: supplemental enhancement information SEI timestamp markers, the slice position markers located in front of I frames in the live video stream.
2. The method of claim 1,
the method further comprises the following steps:
and the edge node identifies the acquired first slice according to a specific mode.
3. The method of claim 2,
the identifying, by the edge node, the obtained first slice in a specific manner includes:
the edge node determining whether the slice position marker exists before a first I frame of the first slice;
and if not, identifying the first slice according to a specific mode.
4. An edge slicing implementation method, comprising:
the central source station adds a slice position mark to the live video stream, wherein the slice position mark comprises: supplemental enhancement information SEI timestamp markers; the slice position mark is positioned in front of an I frame in the live video stream;
and the central source station sends the live video stream carrying the slice position mark to an edge node, so that the edge node can slice the live video stream according to the slice position mark, and P2P sharing is carried out based on the obtained slice, wherein the slice position refers to the marked position where the slice needs to be carried out.
5. An apparatus for realizing edge slicing, comprising: an acquisition unit and a slicing unit;
the acquisition unit is used for acquiring a live video stream from a central source station;
the slicing unit is configured to perform slicing operation on the live video stream according to a slice position marker carried in the live video stream, and perform P2P sharing based on an obtained slice; wherein the slice position refers to a marked position where slicing is required, the slice position marking comprising: supplemental enhancement information SEI timestamp markers, the slice position markers located in front of I frames in the live video stream.
6. The apparatus of claim 5,
the slicing unit is further configured to,
and identifying the first acquired slice according to a specific mode.
7. The apparatus of claim 6,
and the slicing unit determines whether the slice position mark exists before the first I frame of the first slice, and if not, the first slice is identified according to a specific mode.
8. An apparatus for realizing edge slicing, comprising: a marking unit and a transmitting unit;
the marking unit is used for adding a slice position mark into a live video stream, and the slice position mark comprises: supplemental enhancement information SEI timestamp markers; the slice position mark is positioned in front of an I frame in the live video stream;
the sending unit is configured to send the live video stream carrying the slice position mark to an edge node, so that the edge node performs a slice operation on the live video stream according to the slice position mark, and performs P2P sharing based on an obtained slice, where a slice position refers to a marked position where the slice needs to be performed.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method of any one of claims 1 to 3.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 3.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method as claimed in claim 4 when executing the program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of claim 4.
CN201711121316.6A 2017-11-14 2017-11-14 Edge slicing implementation method and device, computer equipment and storage medium Active CN108055594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711121316.6A CN108055594B (en) 2017-11-14 2017-11-14 Edge slicing implementation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711121316.6A CN108055594B (en) 2017-11-14 2017-11-14 Edge slicing implementation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108055594A CN108055594A (en) 2018-05-18
CN108055594B true CN108055594B (en) 2020-09-29

Family

ID=62119602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711121316.6A Active CN108055594B (en) 2017-11-14 2017-11-14 Edge slicing implementation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108055594B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618208A (en) * 2018-12-25 2019-04-12 湖南快乐阳光互动娱乐传媒有限公司 A kind of live stream distribution slice synchronous method and device
CN111343504B (en) * 2020-05-21 2020-09-18 腾讯科技(深圳)有限公司 Video processing method, video processing device, computer equipment and storage medium
CN115086714A (en) * 2022-06-13 2022-09-20 京东科技信息技术有限公司 Data processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969551A (en) * 2010-09-26 2011-02-09 中兴通讯股份有限公司 Method and system for fragmenting code streams in internet protocol television (IPTV) system
CN102231860A (en) * 2011-06-03 2011-11-02 南京远古科技有限公司 Live time shift data storage method
CN102883187A (en) * 2012-09-17 2013-01-16 华为技术有限公司 Time-shift program service method, equipment and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898607A (en) * 2015-11-20 2016-08-24 乐视云计算有限公司 Network video playback method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969551A (en) * 2010-09-26 2011-02-09 中兴通讯股份有限公司 Method and system for fragmenting code streams in internet protocol television (IPTV) system
CN102231860A (en) * 2011-06-03 2011-11-02 南京远古科技有限公司 Live time shift data storage method
CN102883187A (en) * 2012-09-17 2013-01-16 华为技术有限公司 Time-shift program service method, equipment and system

Also Published As

Publication number Publication date
CN108055594A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
US11943486B2 (en) Live video broadcast method, live broadcast device and storage medium
US9456229B2 (en) Parsing single source content for multi-channel publishing
US8694586B2 (en) Maintaining corresponding relationships between chat transcripts and related chat content
US9792314B2 (en) Method and apparatus for obtaining content in screenshot
CN108182211B (en) Video public opinion acquisition method and device, computer equipment and storage medium
CN108055594B (en) Edge slicing implementation method and device, computer equipment and storage medium
US10116668B2 (en) System and method for enhanced display-screen security and privacy
CN109862100B (en) Method and device for pushing information
CN111061740B (en) Data synchronization method, device and storage medium
CN109347899B (en) Method for writing log data in distributed storage system
US10001925B2 (en) Method to improve page out mechanism with compressed memory pools
CN116433692A (en) Medical image segmentation method, device, equipment and storage medium
CN113742518A (en) Method, apparatus and computer program product for storing and providing video
CN111611290B (en) Address rapid positioning method and device, computer equipment and storage medium
CN109686415B (en) Data transmission method, management platform, electronic device and storage medium
CN111385599B (en) Video processing method and device
CN111107443A (en) DASH fragment file merging method, terminal device and storage medium
CN116166673A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN109460511B (en) Method and device for acquiring user portrait, electronic equipment and storage medium
CN111460273B (en) Information pushing method and device
CN107749892B (en) Network reading method and device for conference record, intelligent tablet and storage medium
US20140280006A1 (en) Managing text in documents based on a log of research corresponding to the text
US10394840B2 (en) Social network content analysis
CN112672180B (en) Live interface element configuration method, device and storage medium
CN111614998B (en) Method for processing promotion video, electronic device and computer-readable storage medium

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