CN113747204B - Program acquisition method, device, server and storage medium - Google Patents

Program acquisition method, device, server and storage medium Download PDF

Info

Publication number
CN113747204B
CN113747204B CN202110879333.6A CN202110879333A CN113747204B CN 113747204 B CN113747204 B CN 113747204B CN 202110879333 A CN202110879333 A CN 202110879333A CN 113747204 B CN113747204 B CN 113747204B
Authority
CN
China
Prior art keywords
terminal
playing
program
target
digital terminal
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
CN202110879333.6A
Other languages
Chinese (zh)
Other versions
CN113747204A (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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN202110879333.6A priority Critical patent/CN113747204B/en
Publication of CN113747204A publication Critical patent/CN113747204A/en
Application granted granted Critical
Publication of CN113747204B publication Critical patent/CN113747204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • H04N21/2223Secondary servers, e.g. proxy server, cable television Head-end being a public access point, e.g. for downloading to or uploading from clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4524Management of client data or end-user data involving the geographical location of the client
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a program acquisition method, which comprises the steps of receiving a program playing request from a playing terminal; searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal; transmitting the program playing request to the target digital terminal; and acquiring the program address uploaded by the target digital terminal and transmitting the program address to the playing terminal. The invention further provides a device, a server and a readable storage medium. According to the invention, the DVB digital terminal with the shortest CDN matching distance is used as a program source, and the IPTV digital terminal directly controls the DVB digital terminal to switch and play after acquiring data. Therefore, the problems of overhigh cost and increased operation and maintenance cost caused by insufficient network bandwidth and increased deployment of the CND server are solved.

Description

Program acquisition method, device, server and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a program acquisition method, apparatus, server, and readable storage medium.
Background
Along with the development of science and technology and the popularization of intelligent equipment, the front-end video source also develops from high definition to 4K/8K high resolution and high definition. Meanwhile, with the development of IPTV, most IPTV devices support 4K, but because 4K/8K high-resolution video needs to occupy a large amount of bandwidth, the current IPTV uses a private network to play, and meanwhile, because of the limitation of bandwidth, a special CDN content server needs to be deployed in each area for accelerating and meeting the limitation of bandwidth to realize content distribution. However, with further improvement of the resolution of the video source, the CDN server may not meet the original number of content delivery due to bandwidth limitation, and a corresponding redeployment of the CDN server is required to solve the bandwidth problem, thereby increasing huge equipment cost, labor cost and maintenance cost.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The main purpose of the present invention is to provide a program acquisition method, which aims to solve the technical problems that the prior CDN server cannot meet the original quantity of content distribution due to the limitation of bandwidth along with the further improvement of the resolution of video sources, and the CDN server needs to be correspondingly redeployed to solve the bandwidth problem, thereby increasing huge equipment cost, labor cost and maintenance cost
In order to achieve the above object, the present invention provides a program acquisition method, including:
receiving a program playing request from a playing terminal;
searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal;
transmitting the program playing request to the target digital terminal;
and acquiring the program address uploaded by the target digital terminal and transmitting the program address to the playing terminal.
Preferably, the step of receiving the program playing request from the playing terminal further includes:
collecting the physical positions of all playing terminals and all digital terminals in the communication range;
storing the identity of the playing terminal in association with the physical position of the playing terminal;
and storing the identity of the digital terminal in association with the physical position of the digital terminal.
Preferably, the step of searching the nearest target digital terminal according to the position information of the playing terminal includes:
acquiring the physical position of the playing terminal according to the identity of the playing terminal;
and determining the target digital terminal nearest to the playing terminal according to the physical position of the playing terminal.
Preferably, the step of sending the play request to the target digital terminal includes:
and sending an instruction for extracting a target program code stream from a DVB database according to the program playing request and performing frequency locking, descrambling and slicing processing to the target digital terminal.
Preferably, the step of searching the target digital terminal closest to the playing terminal according to the position information of the playing terminal further comprises:
determining a digital terminal within a preset range of the playing terminal;
calculating a first target terminal closest to the playing terminal position information;
judging whether the first target terminal is idle or not;
if not, directly issuing an original target program playing address to the playing terminal, wherein the original target playing address is directly stored in a CND server.
Preferably, the step of transmitting the program address uploaded by the target digital terminal to the playing terminal includes:
transmitting the slice data address of the target program reported by the target digital terminal to the playing terminal;
and marking the target digital terminal as a use state.
Preferably, the step of sending the slice data address of the target program reported by the target digital terminal to the playing terminal further includes:
when the playing device fails to successfully play the target program data beyond the preset time, recalculating a second target digital terminal corresponding to the playing device;
and transmitting the target program data slice address uploaded by the second target digital terminal to the playing device.
In addition, in order to achieve the above objective, the present invention further provides an edge computing device for acquiring a program, which is applied to a CDN server, and is characterized by comprising:
the acquisition module is used for acquiring the program playing request sent by the playing terminal and acquiring the physical positions of all the playing terminals and all the digital terminals in the communication range;
the control module is used for searching a target digital terminal nearest to the playing equipment and sending the program playing request to the target digital terminal;
the control terminal is further configured to send the target program slice data address sent by the target digital terminal to the playing device.
In addition, in order to achieve the above object, the present invention also proposes a CND server, which is characterized by comprising:
at least one processor; and
and a memory communicatively coupled to the at least one processor, the memory having instructions executable by the at least one processor to enable the at least one processor to perform the steps of any one of the program acquisition methods described above.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, where an edge calculation program for acquiring a program is stored in the computer readable storage medium, and the step of implementing the program acquiring method according to any one of the live edge calculation methods when the cue program is executed by a processor.
The program acquisition method provided by the embodiment of the invention comprises the steps of receiving a program playing request from a playing terminal; searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal; transmitting the program playing request to the target digital terminal; and acquiring the program address uploaded by the target digital terminal and transmitting the program address to the playing terminal. The DVB digital terminal with the shortest CDN matching distance is used as a program source, and the IPTV digital terminal directly controls the DVB digital terminal to switch and play after acquiring data. Therefore, the problems of overhigh cost and increased operation and maintenance cost caused by insufficient network bandwidth and increased deployment of the CND server are solved.
Drawings
FIG. 1 is a schematic diagram of a terminal/device structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a program acquisition method according to an embodiment of the present invention;
FIG. 3 is a detailed flowchart illustrating the steps before step S10 in FIG. 2;
FIG. 4 is a flowchart of a program acquisition method according to a second embodiment of the present invention;
FIG. 5 is a flowchart of a program acquisition method according to a third embodiment of the present invention;
fig. 6 is a schematic diagram of an edge computing device for acquiring a program according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are:
because the prior art needs to occupy a large amount of bandwidth for 4K/8K high-resolution video, the current IPTV uses a private network to play, and meanwhile, due to the limitation of bandwidth, a special CDN content server needs to be deployed in each area for accelerating and meeting the limitation of bandwidth to realize content distribution. However, with further improvement of the resolution of the video source, the CDN server may not meet the original number of content delivery due to bandwidth limitation, and a corresponding redeployment of the CDN server is required to solve the bandwidth problem, thereby increasing huge equipment cost, labor cost and maintenance cost. The invention provides a solution, through receiving the program broadcast request from the broadcast terminal; searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal; transmitting the program playing request to the target digital terminal; and acquiring the program address uploaded by the target digital terminal and transmitting the program address to the playing terminal. Therefore, the pressure of the CDN server is greatly reduced, meanwhile, the IPTV private network is not required to be rearranged to realize playing, and after the DVB digital terminal with the shortest distance is selected as a program source, the DVB digital terminal is directly controlled to switch and play after acquiring data.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, or can be a mobile terminal device with a display function, such as a smart phone, a tablet personal computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 3) player, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and an edge calculation program for program acquisition may be included in a memory 1005 as one type of computer storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call an edge calculation program for program acquisition stored in the memory 1005, and perform the following operations:
receiving a program playing request from a playing terminal;
searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal;
transmitting the program playing request to the target digital terminal;
and acquiring the program address uploaded by the target digital terminal and transmitting the program address to the playing terminal.
Further, the processor 1001 may call an edge calculation program for program acquisition stored in the memory 1005, and further perform the following operations:
the step of receiving the program playing request from the playing terminal further comprises the following steps:
collecting the physical positions of all playing terminals and all digital terminals in the communication range;
storing the identity of the playing terminal in association with the physical position of the playing terminal;
and storing the identity of the digital terminal in association with the physical position of the digital terminal.
Further, the processor 1001 may call an edge calculation program for program acquisition stored in the memory 1005, and further perform the following operations:
the step of searching the target digital terminal closest to the playing terminal according to the position information of the playing terminal comprises the following steps:
acquiring the physical position of the playing terminal according to the identity of the playing terminal;
and determining the target digital terminal nearest to the playing terminal according to the physical position of the playing terminal.
Further, the processor 1001 may call an edge calculation program for program acquisition stored in the memory 1005, and further perform the following operations:
the step of sending the play request to the target digital terminal includes:
and sending an instruction for extracting a target program code stream from a DVB database according to the program playing request and performing frequency locking, descrambling and slicing processing to the target digital terminal.
Further, the processor 1001 may call an edge calculation program for program acquisition stored in the memory 1005, and further perform the following operations:
the step of searching the target digital terminal closest to the playing terminal according to the position information of the playing terminal further comprises the following steps:
determining a digital terminal within a preset range of the playing terminal;
calculating a first target terminal closest to the playing terminal position information;
judging whether the first target terminal is idle or not;
if not, directly issuing an original target program playing address to the playing terminal, wherein the original target playing address is directly stored in a CND server.
Further, the processor 1001 may call an edge calculation program for program acquisition stored in the memory 1005, and further perform the following operations:
the step of transmitting the program address uploaded by the target digital terminal to the playing terminal comprises the following steps:
transmitting the slice data address of the target program reported by the target digital terminal to the playing terminal;
and marking the target digital terminal as a use state.
Further, the processor 1001 may call an edge calculation program for program acquisition stored in the memory 1005, and further perform the following operations:
the step of sending the slice data address of the target program reported by the target digital terminal to the playing terminal further comprises the following steps:
when the playing device fails to successfully play the target program data beyond the preset time, recalculating a second target digital terminal corresponding to the playing device;
and transmitting the target program data slice address uploaded by the second target digital terminal to the playing device.
Referring to fig. 2, a first embodiment of a program acquisition method of the present invention provides a program acquisition method, the method including:
step S10, receiving a program playing request from a playing terminal;
step S20, searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal;
step S30, the program playing request is sent to the target digital terminal;
step S40, the program address uploaded by the target digital terminal is obtained and is issued to the playing terminal.
Specifically, in this embodiment, the IPTV digital terminal, the CDN server, and the DVB digital terminal are connected to the same 5G network, and the IPTV digital terminal sends a live program play request to the CDN server according to a selection of a user, and receives a play request of the IPTV digital terminal; before the method, the CDN server receives and stores 5G network information of the DVB digital terminal and the IPTV digital terminal to a corresponding database; in the database, according to the IPTV digital terminal 5G network information, finding the DVB digital terminal which is the same as the IPTV digital terminal or has the closest distance to the IPTV digital terminal or the DVB digital terminal, issuing an instruction to the DVB digital terminal to use a second tuner for frequency locking and slicing data. And transmitting the address of the slice data of the DVB digital terminal to the IPTV digital terminal. And recording the DVB digital terminal state as a use state, and if the corresponding idle DVB digital terminal cannot be found in the network, returning an original program playing address of the CDN server to the IPTV digital terminal by the CDN server. In general, the user has to have a corresponding free DVB digital terminal in the use peak period, or the corresponding DVB digital terminal can be arranged at the corresponding site, so that the situation of insufficient free digital terminals is solved.
After receiving the program playing request sent by the CDN server terminal, the DVB digital terminal receives the CDN server playing request and uses a second tuner to lock the frequency of the program. The second tuner is used in order not to affect the user's current viewing of the program. That is, the user does not affect the current living room client viewing the program when he wants to watch the program on the television in another room. Descrambling the encrypted or scrambled program; circularly recording the descrambled program data; the recorded area can be stored in flash or can be stored in a memory, and the size of the memory depends on the digital terminal; slicing the data of the slice at the same time of recording, and adding check data to the sliced data at the same time; and transmitting the slice data with the added verification to the nearest IPTV digital terminal through a 5G network according to the configuration of the CDN.
In this embodiment, the CDN server performs the matching response according to the 5G network data, and uses the DVB digital terminal with the shortest distance as the program source, and directly controls the DVB digital terminal to switch and play after the IPTV digital terminal obtains the data. Therefore, the pressure of the CDN server is greatly reduced, and meanwhile, the reconfiguration of the IPTV private network to realize high-resolution live video playing is avoided. Thereby reducing significant equipment costs, labor costs, and maintenance costs.
Further, referring to fig. 3, based on the embodiment shown in fig. 2, the step S10 further includes:
step S10', collecting the physical positions of all playing terminals and all digital terminals in the communication range;
step S20', the identity of the playing terminal is stored in association with the physical position of the playing terminal;
and step S30', the identity of the digital terminal is stored in association with the physical position of the digital terminal.
Specifically, in this embodiment, the CDN server receives and stores the DVB digital terminal and the 5G network information of the IPTV digital terminal in the corresponding databases, where the identities of all the IPTV digital terminals and the DVB digital terminals in the communication range of the CDN server and the physical location information where the IPTV digital terminals are located are correspondingly stored in the databases of the CDN, and when the IPTV digital terminals send a request for playing a program to the CDN server, the IPTV digital terminals include the identities of the IPTV digital terminals in the request, and the CDN server obtains the physical location information of the IPTV digital terminals from the databases according to the identities in the received request message for playing the program, so that the CDN server can assign the DVB digital terminals closest to the IPTV digital terminals to the CDN server as soon as possible, thereby reducing the pressure of the CDN server.
Furthermore, based on the embodiment shown in fig. 2, the step S30 further includes:
step S301, sending an instruction for extracting a target program code stream from a DVB database according to the program playing request and performing frequency locking, descrambling and slicing processing to the target digital terminal.
Specifically, in this embodiment, in order to implement real-time forwarding of live video, the DVB digital terminal includes at least two tuners, when the DVB digital terminal receives a program playing request issued by the CDN server, the DVB digital terminal finds a corresponding program code stream to be played from the DVB database according to the program playing request, performs frequency locking, decoding, descrambling, and slicing by using a second tuner, and directly forwards an obtained program slice data address to the IPTV digital terminal requesting for playing a program; and when the user of the IPTV digital terminal reports to change channels, the DVB digital terminal acquires the corresponding program code stream again according to the program playing request and transmits the program code stream to the IPTV digital terminal.
Further, referring to fig. 4, a second embodiment of the program acquiring method according to the present invention provides a program acquiring method, based on the embodiment shown in fig. 2, the step 20 further includes:
step S201, determining at least one digital terminal within a preset effective range of the playing terminal;
step S202, judging whether the at least one digital terminal is idle;
step S203, if not, directly issuing an original target program playing address to the playing terminal, wherein the original target playing address is directly stored in a CND server.
Specifically, in this embodiment, in order to alleviate the pressure when the CDN server faces a large number of high-definition front-end videos and needs to forward, when the CDN server receives a program playing request sent by an IPTV digital terminal, according to an identity identifier included in the program playing request, the CDN server finds corresponding physical location information from a CDN server database, and calculates all DVB digital terminals within an effective range of the physical location of the IPTV digital terminal, where a person skilled in the art in the effective range may set the effective range according to an actual application scenario, and determine whether the DVB digital terminal within the effective range is idle, and if there are two or more DVB digital terminals idle, select the DVB digital terminal closest to the physical location of the IPTV digital terminal as a target digital terminal to provide a target program code stream for the IPTV digital; when all DVB digital terminals in the effective range are in an occupied state, namely that no free DVB digital terminal exists in the IPTV digital terminal, only the CDN server can provide the original program data address by itself.
Further, step S40 of fig. 2 further includes:
step S401, the slice data address of the target program reported by the target digital terminal is sent to the playing terminal;
and step S402, marking the target digital terminal as a use state.
Specifically, in this embodiment, the CDN server sends the program slice data address reported by the determined target DVB digital terminal to the IPTV digital terminal, and marks the DVB digital terminal with an occupied mark, thereby avoiding the DVB digital terminal from being allocated to other IPTV playing devices by mistake when the DVB digital terminal is distributed next time, and reducing the CDN server pressure.
Further, referring to fig. 5, a third embodiment of the program acquiring method according to the present invention provides a program acquiring method, based on the embodiment shown in fig. 2, the step 40 includes:
step S50, when the playing device fails to successfully play the target program data beyond the preset time, recalculating a second target digital terminal corresponding to the playing device;
and step S60, the target program data slice address uploaded by the second target digital terminal is sent to the playing device.
Specifically, in this embodiment, when the address of the target program data slice issued by the IPTV digital terminal reporting the program request by the CDN server has exceeded the preset buffer time, but the IPTV digital terminal fails to play the target program, the CDN server determines a new target DVB digital terminal again according to the play request of the IPTV digital terminal, and sends the determined target program data slice address reported by the DVB terminal to the IPTV digital terminal.
In addition, referring to fig. 6, the present invention further provides an edge computing device for acquiring a program, which is applied to a CDN server, and includes:
the acquiring module 10 is configured to acquire a program playing request sent by a playing terminal and acquire physical positions of all playing terminals and all digital terminals in a communication range;
the control module 20 is configured to find a target digital terminal nearest to the playing device, and send the program playing request to the target digital terminal;
the control module 20 is further configured to send a target program slice data address sent by the target digital terminal to the playing device.
In addition, the invention also provides a CND server, which comprises:
at least one processor; and
and a memory communicatively coupled to the at least one processor, the memory having instructions executable by the at least one processor to enable the at least one processor to perform the program acquisition method of any of the embodiments described above.
In addition, an embodiment of the present invention further provides a computer readable storage medium, where an edge calculation program for program acquisition is stored, where the edge calculation program for program acquisition performs the following operations when executed by a processor:
receiving a program playing request from a playing terminal;
searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal;
transmitting the program playing request to the target digital terminal;
and acquiring the program address uploaded by the target digital terminal and transmitting the program address to the playing terminal.
Further, the edge calculation program obtained by the program is executed by the processor to further realize the following operations:
the step of receiving the program playing request from the playing terminal further comprises the following steps:
collecting the physical positions of all playing terminals and all digital terminals in the communication range;
storing the identity of the playing terminal in association with the physical position of the playing terminal;
and storing the identity of the digital terminal in association with the physical position of the digital terminal.
Further, the edge calculation program obtained by the program is executed by the processor to further realize the following operations:
the step of searching the target digital terminal closest to the playing terminal according to the position information of the playing terminal comprises the following steps:
acquiring the physical position of the playing terminal according to the identity of the playing terminal;
and determining the target digital terminal nearest to the playing terminal according to the physical position of the playing terminal.
Further, the edge calculation program obtained by the program is executed by the processor to further realize the following operations:
the step of sending the play request to the target digital terminal includes:
and sending an instruction for extracting a target program code stream from a DVB database according to the program playing request and performing frequency locking, descrambling and slicing processing to the target digital terminal.
Further, the edge calculation program obtained by the program is executed by the processor to further realize the following operations:
the step of searching the target digital terminal closest to the playing terminal according to the position information of the playing terminal further comprises the following steps:
determining at least one digital terminal within a preset effective range of the playing terminal;
judging whether the at least one digital terminal is idle or not;
if not, directly issuing an original target program playing address to the playing terminal, wherein the original target playing address is directly stored in a CND server.
Further, the edge calculation program obtained by the program is executed by the processor to further realize the following operations:
the step of transmitting the program address uploaded by the target digital terminal to the playing terminal comprises the following steps:
transmitting the slice data address of the target program reported by the target digital terminal to the playing terminal;
and marking the target digital terminal as a use state.
Further, the edge calculation program obtained by the program is executed by the processor to further realize the following operations:
the step of sending the slice data address of the target program reported by the target digital terminal to the playing terminal further comprises the following steps:
when the playing device fails to successfully play the target program data beyond the preset time, recalculating a second target digital terminal corresponding to the playing device;
and transmitting the target program data slice address uploaded by the second target digital terminal to the playing device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. A program acquisition method, characterized by comprising:
receiving a program playing request from a playing terminal, wherein the playing terminal is an IPTV digital terminal;
searching a target digital terminal closest to the playing terminal according to the physical position information of the playing terminal, wherein the target digital terminal is a DVB digital terminal;
transmitting the program playing request to the target digital terminal;
acquiring a program address uploaded by the target digital terminal and transmitting the program address to the playing terminal;
the step of searching the target digital terminal closest to the playing terminal according to the physical position information of the playing terminal comprises the following steps:
determining at least one digital terminal within a preset effective range of the playing terminal;
judging whether the at least one digital terminal is idle or not;
if not, directly issuing an original target program playing address to the playing terminal, wherein the original target program playing address is directly stored in a CDN server.
2. The program acquisition method as claimed in claim 1, wherein the step of receiving a program play request from the play terminal further comprises, before:
collecting the physical positions of all playing terminals and all digital terminals in the communication range;
storing the identity of the playing terminal in association with the physical position of the playing terminal;
and storing the identity of the digital terminal in association with the physical position of the digital terminal.
3. The program acquisition method as claimed in claim 1, wherein the step of finding a nearest target digital terminal based on the position information of the broadcasting terminal comprises:
acquiring the physical position of the playing terminal according to the identity of the playing terminal;
and determining the target digital terminal nearest to the playing terminal according to the physical position of the playing terminal.
4. The program acquisition method as claimed in claim 1, wherein said step of transmitting said play request to said target digital terminal comprises:
and sending an instruction for extracting a target program code stream from a DVB database according to the program playing request and performing frequency locking, descrambling and slicing processing to the target digital terminal.
5. The program acquisition method as claimed in claim 1, wherein the step of transmitting the program address uploaded by the target digital terminal to the broadcasting terminal comprises:
transmitting the slice data address of the target program reported by the target digital terminal to the playing terminal;
and marking the target digital terminal as a use state.
6. The program acquisition method as claimed in claim 5, wherein after the step of sending the slice data address of the target program reported by the target digital terminal to the playing terminal, the method further comprises:
when the playing terminal exceeds the preset time and fails to successfully play the target program data, recalculating a second target digital terminal corresponding to the playing terminal;
and transmitting the target program data slice address uploaded by the second target digital terminal to the playing terminal.
7. A program acquisition device applied to a CDN server, comprising:
the system comprises an acquisition module, a communication module and a control module, wherein the acquisition module is used for acquiring a program playing request sent by a playing terminal and acquiring physical positions of all playing terminals and all target digital terminals in a communication range, wherein the playing terminal is an IPTV digital terminal, and the target digital terminal is a DVB digital terminal;
the control module is used for searching a target digital terminal nearest to the playing terminal and sending the program playing request to the target digital terminal;
the control module specifically comprises:
the determining unit is used for determining at least one digital terminal in a preset effective range of the playing terminal;
a judging unit for judging whether the at least one digital terminal is idle;
the distribution unit is used for directly transmitting an original target program playing address to the playing terminal if not, wherein the original target program playing address is directly stored in the CDN server;
and the control module is also used for transmitting the target program slicing data address transmitted by the target digital terminal to the playing terminal.
8. A CDN server, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor, the memory having instructions executable by the at least one processor to enable the at least one processor to perform the program acquisition method of claims 1-6.
9. A computer readable storage medium, wherein an edge calculation program for program acquisition is stored on the computer readable storage medium, which when executed by a processor, implements the steps of the program acquisition method according to any one of claims 1 to 6.
CN202110879333.6A 2021-07-29 2021-07-29 Program acquisition method, device, server and storage medium Active CN113747204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110879333.6A CN113747204B (en) 2021-07-29 2021-07-29 Program acquisition method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110879333.6A CN113747204B (en) 2021-07-29 2021-07-29 Program acquisition method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN113747204A CN113747204A (en) 2021-12-03
CN113747204B true CN113747204B (en) 2024-03-15

Family

ID=78729879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110879333.6A Active CN113747204B (en) 2021-07-29 2021-07-29 Program acquisition method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN113747204B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277566B (en) * 2022-05-20 2024-03-22 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155048A (en) * 2006-09-25 2008-04-02 华为技术有限公司 Method and system for implementing network television service
KR20100048314A (en) * 2008-10-30 2010-05-11 에스케이텔레콤 주식회사 System and method for delivery broadcasting contents
CN102300125A (en) * 2011-09-08 2011-12-28 深圳市同洲电子股份有限公司 Program playing method, digital television receiving terminal and front-end server
KR20120031717A (en) * 2010-09-27 2012-04-04 주식회사 엘지유플러스 Personal web browsing service method and apparatus for internet protocol television
CN106303739A (en) * 2015-05-22 2017-01-04 中兴通讯股份有限公司 IPTV plays the method and system of program
CN108076383A (en) * 2016-11-18 2018-05-25 中兴通讯股份有限公司 Adaptive identifying, control method, set-top box and electronic programming server
CN109936768A (en) * 2017-12-19 2019-06-25 中国电信股份有限公司 Realize the method and system using terminal viewing IPTV programme televised live

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774808B2 (en) * 2006-08-01 2010-08-10 Att Knowledge Ventures, L.P. Method and apparatus for distributing geographically restricted video data in an internet protocol television (IPTV) system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155048A (en) * 2006-09-25 2008-04-02 华为技术有限公司 Method and system for implementing network television service
KR20100048314A (en) * 2008-10-30 2010-05-11 에스케이텔레콤 주식회사 System and method for delivery broadcasting contents
KR20120031717A (en) * 2010-09-27 2012-04-04 주식회사 엘지유플러스 Personal web browsing service method and apparatus for internet protocol television
CN102300125A (en) * 2011-09-08 2011-12-28 深圳市同洲电子股份有限公司 Program playing method, digital television receiving terminal and front-end server
CN106303739A (en) * 2015-05-22 2017-01-04 中兴通讯股份有限公司 IPTV plays the method and system of program
CN108076383A (en) * 2016-11-18 2018-05-25 中兴通讯股份有限公司 Adaptive identifying, control method, set-top box and electronic programming server
CN109936768A (en) * 2017-12-19 2019-06-25 中国电信股份有限公司 Realize the method and system using terminal viewing IPTV programme televised live

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Enhanced video streaming network with hybrid P2P technology;Yugu Zeng et al.;《Bell Labs Technical Journal》;第13卷(第3期);全文 *
基于电信网络的交互式电视系统;徐廷亚;《电子与封装》;第13卷(第12期);全文 *
面向嵌入式机顶盒终端的P2P网络电视直播系统的设计与实现;朱陈洁等;《 中国图象图形学报 》(第10期);全文 *

Also Published As

Publication number Publication date
CN113747204A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
US11343556B2 (en) Method of controlling a horizontal screen or vertical screen of television, device, and storage medium
US20230254523A1 (en) System and Method for Surveying Broadcasting Ratings
CN106454407B (en) Video live broadcasting method and device
US20170302990A1 (en) Method, terminal, and system for processing data of video stream
US20180014043A1 (en) Method, apparatus, and system for switching from video live stream to video-on-demand data
US10038940B2 (en) Hybrid network system, channel content playback method, and hybrid set top box
US20170111693A1 (en) Apparatus and method for participating into a tv program interaction, method for obtaining interaction distribution information
CN112788268B (en) Information pushing method based on video recording, intelligent television and storage medium
EP2260405A1 (en) Techniques to consume content and metadata
RU2673560C1 (en) Method and system for displaying multimedia information, standardized server and direct broadcast terminal
CN113747183A (en) Live video sharing method and system and readable storage medium
CN113163214A (en) Video processing method and device
CN113747204B (en) Program acquisition method, device, server and storage medium
CN105163152A (en) Interactive access method for television interaction system
US20180035146A1 (en) Streaming media authorization based on call signs
CN109995743B (en) Multimedia file processing method and terminal
CN111698550B (en) Information display method, device, electronic equipment and medium
US9191607B2 (en) Information display device, information display method, and information display system
CN108401173B (en) Mobile live broadcast interactive terminal, method and computer readable storage medium
CN109842814B (en) Program switching method and device, television and readable storage medium
CN112565204A (en) Control method and device for video data transmission and computer readable storage medium
JP7058795B2 (en) Video processing methods, devices, terminals and storage media
JP2017123503A (en) Video distribution apparatus, video distribution method and computer program
CN108111906B (en) Channel searching method and device and computer readable storage medium
CN113596489A (en) Live broadcast teaching method, device, equipment 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