CN108235106B - Method for controlling video occlusion map on smart television and smart television - Google Patents

Method for controlling video occlusion map on smart television and smart television Download PDF

Info

Publication number
CN108235106B
CN108235106B CN201810096956.4A CN201810096956A CN108235106B CN 108235106 B CN108235106 B CN 108235106B CN 201810096956 A CN201810096956 A CN 201810096956A CN 108235106 B CN108235106 B CN 108235106B
Authority
CN
China
Prior art keywords
video
playing progress
playing
progress
smart television
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
CN201810096956.4A
Other languages
Chinese (zh)
Other versions
CN108235106A (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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN202010879260.6A priority Critical patent/CN111970572B/en
Priority to CN201810096956.4A priority patent/CN108235106B/en
Publication of CN108235106A publication Critical patent/CN108235106A/en
Application granted granted Critical
Publication of CN108235106B publication Critical patent/CN108235106B/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/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/47217End-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 controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • 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/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Landscapes

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

Abstract

The embodiment of the application discloses a method for controlling a video occlusion graph on a smart television, relates to the technical field of communication, and solves the problem that a video cannot be normally played after a video occlusion picture is hidden in advance due to a certain time delay from the fact that a video app receives a callback message to the fact that the video is normally played. The specific scheme is as follows: according to a playing event generated on a video of the intelligent television, the intelligent television sends a playing request to a server corresponding to the video, displays a video occlusion graph on the video, receives a response message returned from the server according to a video identifier of the video carried in the playing request, generates a first callback message for notifying that the video data is successfully received when the response message contains the video data corresponding to the video identifier, inquires the playing progress of the video data, and removes the video occlusion graph according to the first callback message when the playing progress is determined to be changed. The method and the device are used in the process of controlling the video occlusion map by the smart television.

Description

Method for controlling video occlusion map on smart television and smart television
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a method for controlling a video occlusion map on an intelligent television.
Background
Currently, a video application (app) may be installed on a smart tv to provide a video service to a user, and a Software Development Kit (SDK) of a content provider may be integrated in the video app to provide the user with a video of the content provider while protecting copyrights of the content provider.
Therefore, when a user needs to watch a video in the video app, the video can be operated, the smart television can display a video occlusion picture before playing the video according to the operation of the user, and simultaneously call an SDK (for convenience of expression, referred to as a communication interface) of a content provider, and send a request to a server corresponding to the communication interface so as to obtain video data of the video from the server, and after receiving the video data returned by the server, the communication interface calls back the video app, so that the video app plays the video data after hiding the video occlusion picture.
The prior art at least has the following technical problems: the video app receives the callback message generated by the communication interface, the video occlusion image is immediately hidden, the processing capability of the smart television to video data is limited (for example, the video data is analyzed and loaded), a certain time delay exists from the time when the video app receives the callback message to the time when the video is normally played, the time delay can cause that the video cannot be normally played after the video occlusion image is hidden in advance, and the user experience is reduced.
Disclosure of Invention
The application provides a method for controlling a video occlusion picture on a smart television, which solves the problem that a video cannot be normally played after a video occlusion picture is hidden in advance due to a certain time delay from the video app receiving callback message to the normally played video.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a method for controlling a video occlusion map on a smart television, where the method may include: according to a playing event generated on a video of the intelligent television, the intelligent television sends a playing request to a server corresponding to the video, displays a video occlusion graph on the video, receives a response message returned from the server according to a video identifier of the video carried in the playing request, generates a first callback message for notifying that the video data is successfully received when the response message contains the video data corresponding to the video identifier, inquires the playing progress of the video data, and removes the video occlusion graph according to the first callback message when the playing progress is determined to be changed.
With reference to the first aspect, in a possible implementation manner, the querying, by the smart television, a playing progress of the video data may specifically include: and the smart television inquires the playing progress in sequence. And when the difference value between the rear playing progress and the front playing progress in the playing progress is greater than 0, the intelligent television determines that the playing progress is changed. And when the difference value between the rear playing progress and the front playing progress in the playing progress is less than or equal to 0, the intelligent television determines that the playing progress is not changed.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, when it is determined that the playing progress changes, the smart television removes the video occlusion map according to the first callback message, which may specifically include: when the difference value between the rear playing progress and the front playing progress in the playing progress is larger than 0, the smart television determines a first difference value between the playing time corresponding to the rear playing progress and the playing time corresponding to the front playing progress. And when the first difference value is larger than or equal to a first preset threshold value, the intelligent television removes the video occlusion image according to the first callback message. Therefore, the intelligent television compares the first difference value with the first preset threshold value when the playing progress is determined to change, so that the accuracy of the result of the change of the playing progress is ensured, and the user experience is improved.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, after receiving a response message returned from the server according to a video identifier of a video carried in the play request, the method for controlling a video occlusion map on a smart television provided by the present application may further include: and when the response message does not include the video data corresponding to the video identification, the smart television generates a second callback message, and the second callback message is used for notifying that the video data is not received. And the intelligent television inquires the playing progress, and when the playing progress is determined to be unchanged, the intelligent television displays prompt information for indicating the playing failure of the video data according to the second callback message.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, when it is determined that the playing progress has not changed, the smart television displays, according to the second callback message, prompt information for indicating that the video data has failed to be played, which may specifically include: and when the difference value between the later playing progress and the previous playing progress in the playing progress is less than or equal to 0, determining a second difference value between the playing time corresponding to the later playing progress and the playing time corresponding to the first inquired playing progress. And when the second difference is larger than or equal to a second preset threshold, the intelligent television displays the prompt message according to the second callback message. Therefore, the intelligent television compares the second difference value with the second preset threshold value when the playing progress is determined not to change, so that the accuracy of the result that the playing progress does not change is ensured, and the user experience is improved.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the sending, by the smart television, a play request to a server corresponding to the video specifically may include: when the video application program corresponding to the video triggers a playing event, the intelligent television calls a communication interface in the video application program and sends a playing request to the server through the communication interface.
In a second aspect, the present application provides a smart tv, which may include: the device comprises a sending unit, a display unit, a receiving unit and an inquiry unit. The sending unit is used for sending a playing request to a server corresponding to the video according to a playing event generated on the video of the smart television. And the display unit is used for displaying the video occlusion image on the video. The receiving unit is used for receiving a response message returned from the server according to the video identifier of the video carried in the playing request sent by the sending unit; and the receiving unit is further configured to generate a first callback message when video data corresponding to the video identifier exists in the response message received by the receiving unit, where the first callback message is used to notify that the video data is successfully received. And the query unit is used for querying the playing progress of the video data. And the display unit is also used for removing the video occlusion image according to the first callback message when the change of the playing progress is determined.
With reference to the second aspect, in a possible implementation manner, the querying unit is specifically configured to: inquiring the playing progress in sequence; when the difference value between the rear playing progress and the front playing progress in the playing progress is greater than 0, determining that the playing progress changes; and when the difference value between the rear playing progress and the front playing progress in the playing progress is less than or equal to 0, determining that the playing progress is not changed.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner, the processing unit is specifically configured to: and when the difference value between the rear playing progress and the front playing progress in the playing progress is greater than 0, determining a first difference value between the playing time corresponding to the rear playing progress and the playing time corresponding to the front playing progress. And when the first difference value is larger than or equal to a first preset threshold value, removing the video occlusion image according to the first callback message.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner, the receiving unit is further configured to generate a second callback message when the response message does not include video data corresponding to the video identifier, where the second callback message is used to notify that the video data is not received. And the query unit is also used for querying the playing progress. And the display unit is also used for displaying prompt information used for indicating the playing failure of the video data according to the second callback message when the playing progress is determined not to change.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner, the display unit is specifically configured to: and when the difference value between the later playing progress and the previous playing progress in the playing progress is less than or equal to 0, determining a second difference value between the playing time corresponding to the later playing progress and the playing time corresponding to the first inquired playing progress. And when the second difference is larger than or equal to a second preset threshold value, displaying the prompt message according to the second callback message.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner, the sending unit is specifically configured to: when the video application program corresponding to the video triggers a playing event, a communication interface is called in the video application program, and a playing request is sent to the server through the communication interface.
The specific implementation manner may refer to a behavior function of the smart television in the method for controlling the video occlusion map on the smart television provided by the first aspect or the possible implementation manner of the first aspect.
In a third aspect, a smart tv is provided, which includes: at least one processor, a memory, a communication interface, and a communication bus. The processor is connected with the memory and the communication interface through a communication bus, the memory is used for storing computer execution instructions, and when the smart television runs, the processor executes the computer execution instructions stored in the memory, so that the smart television executes the method for controlling the video occlusion map on the smart television as described in the first aspect or any one of the possible implementation manners of the first aspect.
In a fourth aspect, a computer storage medium is provided, on which computer executable instructions are stored, and when the computer executable instructions are executed on a computer, the computer is caused to execute a method for controlling a video occlusion map on a smart tv as described in the first aspect or any one of the possible implementation manners of the first aspect.
The method for controlling the video occlusion map on the smart television provided by the application has the following description: the video occlusion graph is displayed on the smart television, the video data is received after the data interaction with the server, the real playing change of the video data can be fed back by inquiring the playing progress of the video data, and the video occlusion graph is removed according to the first callback message when the playing progress is determined to be changed, so that the display time of the video occlusion graph is prolonged, the time difference of removing the video data from the video occlusion graph is shortened, and the user experience is improved.
Drawings
Fig. 1 is a simplified schematic diagram of a system architecture to which the embodiments of the present application may be applied, according to the embodiments of the present application;
fig. 2 is a schematic composition diagram of an intelligent television provided in an embodiment of the present application;
fig. 3 is a flowchart of a method for controlling a video occlusion map on a smart television according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a process of periodically querying a playing progress of a process according to an embodiment of the present application;
fig. 5 is a schematic diagram of another thread periodically querying a playing progress according to an embodiment of the present application;
fig. 6 is a schematic composition diagram of another smart television provided in an embodiment of the present application;
fig. 7 is a schematic composition diagram of another smart television provided in an embodiment of the present application.
Detailed Description
The terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a simplified schematic diagram of a system architecture to which the embodiments of the present application may be applied, as shown in fig. 1, the system architecture may include: a smart tv 11 and a server 12 of a content provider.
The smart tv 11 can access the server 12 of the content provider through the SDK of the content provider running thereon, and communicate with the server 12 of the content provider. Specifically, according to a play event generated on a video of the smart television 11, the smart television 11 sends a play request to the server 12 of the content provider, and receives a response message returned from the server 12 according to a video identifier of the video carried in the play request. In this way, the smart television 11 generates a corresponding callback message according to the different response messages, and queries the playing progress of the video data. And the smart television 11 executes corresponding operations according to whether the callback message and the playing progress of the video data are changed.
The server 12 of the content provider stores a large amount of contents such as video, text, audio, and the like, and has a copyright of the contents.
Fig. 2 is a schematic composition diagram of an intelligent television provided in an embodiment of the present application, and as shown in fig. 2, the intelligent television may include: at least one processor 21, a memory 22, a communication interface 23, and a communication bus 24.
The following specifically describes each component of the smart television with reference to fig. 2:
the processor 21 is a control center of the smart television, and may be a single processor or a collective term for multiple processing elements. For example, the processor 21 is a Central Processing Unit (CPU), and may be an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as: one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
In particular implementations, processor 21 may include one or more CPUs such as CPU0 and CPU1 shown in fig. 2 as one example. Also, as an embodiment, the smart tv may include a plurality of processors, such as the processor 21 and the processor 25 shown in fig. 2. Each of these processors may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 22 may be self-contained and coupled to the processor 21 via a communication bus 24. The memory 22 may also be integrated with the processor 21.
In a specific implementation, the memory 22 is used for storing data in the present application and executing software programs of the present application. For example, the memory 22 is used for storing the video app in the present application, and the SDK of the content provider. Also, the processor 21 may perform various functions of the smart tv by running or executing a software program stored in the memory 22 and calling data stored in the memory 22.
The communication interface 23 is a device using any transceiver or the like, and is used for communicating with other devices or communication networks, such as a server of a content provider, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), and the like. The communication interface 23 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The communication bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2, but it is not intended that there be only one bus or one type of bus.
In order to solve the problem that a video cannot be normally played after a video occlusion picture is hidden in advance due to a certain time delay from when a video app receives a callback message to when the video is normally played, an embodiment of the present application provides a method for controlling a video occlusion picture on a smart television, where as shown in fig. 3, the method may include:
301. according to the playing event generated on the video of the intelligent television, the intelligent television sends a playing request to a server corresponding to the video.
When a user needs to watch a certain video in a video app installed on the smart television, or the user needs to switch the resolution of the video, or the user needs to drag the video from a current playing position to a new playing position, and the like, the user can operate the video. At this time, the smart television may generate a play event on the video according to the operation of the user, and according to the play event, call a communication interface in the video app, that is, an SDK provided by a content service provider, and send a play request to a server corresponding to the video, for example, a server of a corresponding content provider, through the communication interface, where the play request carries a video identifier of the video, and is used to obtain video data corresponding to the video identifier from the server corresponding to the video, where the video refers to a video played in a video window in a player of the smart television or a video to be played.
It should be noted that, in the embodiment of the present application, operations performed by a user are different, playing events generated by the smart television are different, and types of playing requests sent by the smart television to the server corresponding to the video according to the different playing events are also different. Specifically, the play request may be any one of a start play request, a resolution switching request, a drag request, a fast forward request, and a fast reverse request.
302. The intelligent television displays a video occlusion picture.
303. And the intelligent television receives a response message returned from the server according to the video identifier of the video carried in the playing request.
After sending the playing request to the server corresponding to the video, the smart television may receive a response message returned from the server. At this time, the smart television may generate different callback messages according to different response messages, and specifically may execute the following step 304 or step 305:
304. and when the video data corresponding to the video identification exists in the response message, the smart television generates a first callback message.
Wherein the first callback message is used to notify the video app of successful receipt of the video data. When the video data corresponding to the video identification exists in the response message, the third-party SDK in the smart television generates a first callback message after receiving the video data, and the video app is callback based on the first callback message, so that a video player corresponding to a video window in the video app can process the video data.
305. And when the response message does not include the video data corresponding to the video identification, the smart television generates a second callback message.
And the second callback message is used for notifying the video app that the third party SDK does not receive the video data. And when the response message does not include the video data corresponding to the video identification, a third-party SDK in the smart television generates a second callback message and calls back the video app.
306. And inquiring the playing progress by the smart television.
After the smart television sends the play request to the server corresponding to the video in step 301 and at any time before the callback message is generated in step 304 or step 305, the smart television starts an inquiry thread for inquiring the play progress, obtains the time for starting the inquiry thread, records the time as the start time, and inquires the play progress at the start time. In a first possible implementation manner, after obtaining the start time and inquiring the play schedule corresponding to the start time, the smart television may wait for a period of time before starting the periodical inquiry of the play schedule, that is, successively inquiring the play schedule and the play time corresponding to the play schedule, at this time, the first inquired play schedule is the play schedule corresponding to the start time, the previous play schedule is the first inquired play schedule when starting the periodical inquiry of the play schedule, and the later play schedule is the play schedule inquired after a period of time interval corresponding to the previous play schedule. In a second possible implementation manner, the smart television may periodically query the playing schedule from the start time, at this time, the playing schedule queried for the first time and the previous playing schedule are both playing schedules corresponding to the start time, and the later playing schedule is the playing schedule queried after the start time interval is one period.
After the intelligent television queries the playing progress and the corresponding playing time in sequence, the difference value between the rear playing progress and the front playing progress in the playing progress can be determined. If the difference is greater than 0, the smart tv determines that the playing schedule is changed, and at this time, the smart tv may perform the following step 307. If the difference is less than or equal to 0, the smart tv determines that the playing progress has not changed, and at this time, the smart tv may perform the following step 308.
307. And when the change of the playing progress is determined, the smart television removes the video occlusion image according to the first callback message.
When it is determined that the playing progress changes, that is, when it is determined that the difference between the rear playing progress and the front playing progress is greater than 0, the smart television may determine a first difference between the playing time corresponding to the rear playing progress and the playing time corresponding to the front playing progress. When the first difference is smaller than the first preset threshold, the smart television can continue to inquire the playing progress of the next period. When the first difference is greater than or equal to the first preset threshold, the smart television may remove the video occlusion map displayed on the video according to the first callback message in step 304, and start to play the picture of the video data.
It should be noted that, in the embodiment of the present application, because a certain time delay exists between the generation of the callback message by the smart television and the playing of the video data, in order to avoid a problem that the determination of the change of the playing progress is inaccurate due to factors such as premature starting of the query thread, a first preset threshold may be stored in the smart television in advance, and the first preset threshold may be greater than or equal to the time delay, so as to ensure that the playing progress changes really. Therefore, when the playing progress is determined to change, the intelligent television compares the first difference value with the first preset threshold value, and the first preset threshold value is 300 milliseconds to 1 second, so that the accuracy of the result of the change of the playing progress is ensured, and the user experience is improved.
For example, in a scene in which a user needs to drag a video being played in a video window of the smart television from a current playing position to a new playing position, the smart television may send a drag request to a server corresponding to the video according to a generated playing event and display a video occlusion map in the video window. And the smart television receives a response message returned from the server, and generates a first callback message on the assumption that video data corresponding to the video identification exists in the response message. Fig. 4 is a schematic diagram of a thread periodically querying a playing schedule, as shown in fig. 4, assuming that a starting time of the smart television starting the query thread is T0, the smart television waits for a period of time after T0, starts to query the playing schedule and a corresponding playing time in sequence, assuming that the period of querying the playing schedule is T, T is set to 100 milliseconds, and a first preset threshold is 3T, the smart television may first obtain a playing time T1, and query a previous playing schedule P1 at T1, and then query a later playing schedule P2 at T2T 1+ T after the period T, at this time, it is assumed that P2-P1>0, and T2-T1T is T, which is less than the first preset threshold 3T, the smart television continues to query a playing schedule P3 at T3T 2+ T, it is assumed that P3-P2 >0, and T3-T1T is less than the first preset threshold 3T, the smart tv continuously queries the playing progress P4 when T4 is T3+ T, and assuming that P4-P3 is greater than 0 and T4-T1 is 3T, which is equal to the first preset threshold value 3T, the smart tv may remove the video occlusion map according to the first callback message, and start playing the picture of the video data from the new playing position, and simultaneously update the progress bar of the video data.
For another example, in a scene where a user needs to switch the resolution of a video being played in a video window of the smart television, the smart television may send a resolution switching request to a server corresponding to the video according to the generated play event and display a video occlusion map in the video window. And the smart television receives a response message returned from the server, and generates a first callback message on the assumption that video data corresponding to the video identification exists in the response message. Fig. 5 is a schematic diagram illustrating that a thread periodically queries a playing progress, as shown in fig. 5, assuming that a start time of a query thread started by a smart television is T0, and the playing progress and a corresponding playing time thereof are sequentially queried from T0, assuming that a period of the query playing progress is T, T is set to 200 ms, and a first preset threshold is 1.5T, the smart television may first obtain a previous playing progress P1 at T0, and then, after the period T, query T1 ═ T0+ T later playing progress P2, at this time, assume P2-P1>0, and T1-T0 ═ T, which is less than the first preset threshold 1.5T, the smart television continues to query T2 ═ T1+ T playing progress P3, assumes P3-P2 >0, and T2-T0 ═ 2T, which is greater than the first preset threshold 1.5T, and the smart television may remove occlusion information according to the first video image graph, and starting to play the picture of the video data at the switched resolution, and simultaneously displaying prompt information for prompting that the user has successfully switched the resolution.
308. And when the playing progress is not changed, the intelligent television displays prompt information for indicating that the video data playing fails according to the second callback message.
When it is determined that the playing progress is not changed, that is, when it is determined that the difference between the rear playing progress and the front playing progress is less than or equal to 0, the smart television may determine a second difference between the playing time corresponding to the rear playing progress and the playing time corresponding to the first-time queried playing progress, and in the first possible implementation manner and the second possible implementation manner in step 306, the first-time queried playing progress is the playing progress corresponding to the starting time. When the second difference is greater than or equal to the second preset threshold, it indicates that the smart television may not obtain the video data, the smart television may end the query thread, and display a prompt message for indicating that the video data is failed to be played according to the second callback message in step 305, so that the user may know that the video data is failed to be played, perform a video selection operation, and improve user experience. When the second difference is smaller than a second preset threshold, the smart television can continue to inquire the playing progress of the next period.
It should be noted that, in the embodiment of the present application, since the change condition of the video data playing progress is affected by a plurality of factors (for example, factors such as the configuration of the whole device, the amount of the video data, and the loading speed of the player), the accuracy of determining the playing progress may be reduced, in order to improve the accuracy, a second preset threshold is stored in advance, and a ratio between the second preset threshold and the first preset threshold is between 10 and 30, which is an upper limit of a time when the smart television cannot respond to the playing request and the playing abnormality cannot last.
For example, in a scene in which a user needs to watch a video to be played in a video window of the smart television, the smart television may send a play start request to a server corresponding to the video according to the generated play event and display a video occlusion map in the video window. And the intelligent television receives a response message returned from the server, and generates a second callback message if the response message does not contain the video data corresponding to the video identification. With reference to fig. 5, assuming that the second preset threshold is 10 times the first preset threshold, that is, the second preset threshold is 15T, the smart tv may first obtain a previous playing progress P1 at T0, and then after the period T, query a later playing progress P2 at T1 ═ T0+ T, at this time, assume that P2-P1 ═ 0 and T1-T0 ═ T, which is less than the second preset threshold 15T, the smart tv continues to query a playing progress P3 at T2 ═ T1+ T, assume that P3-P2 ═ 0 and T2-T0 ═ 2T, which is less than the second preset threshold 15T, the smart tv continues to query a playing progress P4 at T5 ═ T2+ T, assume that P4-P3 ═ T630 and T3-T0, and T is less than the second preset threshold 9, and then continuously queries no change in the period T573 occur, until P16-P15 is equal to 0, and T15-T0 is equal to 15T, which is equal to the second preset threshold 15T, the smart television may end the query thread and display a prompt indicating that the video data playback has failed according to the second callback message.
According to the method for controlling the video occlusion graph on the smart television, the smart television inquires the playing progress of the video data, and removes the video occlusion graph according to the first callback message when the playing progress is determined to be changed, so that the video occlusion graph can be hidden only when the playing progress is determined to be changed after the video app of the smart television receives the first callback message, and the problem that the video occlusion graph is hidden immediately when the first callback message is received is avoided.
Moreover, the intelligent television compares the playing time with a preset threshold value after judging whether the playing progress changes, so that the accuracy of a judgment result of whether the playing progress changes is ensured. And the smart television judges whether the playing progress changes or not through the smart television, so that the method for controlling the video occlusion map on the smart television has an optimized space, and the user experience is improved.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of the smart television. It is understood that, in order to implement the above functions, the smart television includes a corresponding hardware structure and/or software module for performing each function. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiment of the present application, the functional modules of the smart television may be divided according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated in one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of dividing each function module by corresponding functions, fig. 6 shows another possible composition diagram of the smart television related in the above embodiment, as shown in fig. 6, the smart television may include: a transmitting unit 41, a display unit 42, a receiving unit 43 and an inquiring unit 44.
The sending unit 41 is configured to support the smart television to execute step 301 in the method for controlling a video occlusion map on the smart television shown in fig. 3.
The display unit 42 is configured to support the smart television to execute steps 302, 307, and 308 in the method for controlling a video occlusion map on the smart television shown in fig. 3.
The receiving unit 43 is configured to support the smart television to perform steps 303, 304, and 305 in the method for controlling a video occlusion map on the smart television shown in fig. 3.
The query unit 44 is configured to support the smart television to execute step 306 in the method for controlling the video occlusion map on the smart television shown in fig. 3.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The smart television provided by the embodiment of the application is used for executing the method for controlling the video occlusion map on the smart television, so that the same effect as the method for controlling the video occlusion map on the smart television can be achieved.
In case of an integrated unit, fig. 7 shows another possible composition diagram of the smart tv involved in the above embodiment. As shown in fig. 7, the smart tv includes: a processing module 51 and a communication module 52.
The processing module 51 is used for controlling and managing the actions of the smart tv, for example, the processing module 51 is used for supporting the smart tv to execute step 302, step 306, step 307, step 308 in fig. 3, and/or other processes for the technology described herein. The communication module 52 is used to support communication between the smart tv and other network entities, such as a server of a network provider. For example, the communication module 52 is configured to support the smart television to perform steps 301, 303, 304, and 305 in fig. 3. The smart tv may further comprise a storage module 53 for storing program codes and data of the smart tv.
The processing module 51 may be the processor in fig. 2. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication module 52 may be the communication interface in fig. 2. The storage module 53 may be the memory in fig. 2.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. 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, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (11)

1. A method for controlling a video occlusion map on a smart television is characterized by comprising the following steps:
according to a playing event generated on a video of an intelligent television, the intelligent television sends a playing request to a server corresponding to the video and displays a video occlusion graph on the video, wherein the playing request carries a video identifier of the video;
receiving a response message returned from the server;
when video data corresponding to the video identification exists in the response message, generating a first callback message, wherein the first callback message is used for notifying that the video data is successfully received;
inquiring the playing progress of the video data;
and when the playing progress is determined to be changed, removing the video occlusion graph according to the first callback message.
2. The method of claim 1, wherein the querying the playing progress of the video data comprises:
querying the playing progress in sequence;
when the difference value between the rear playing progress and the front playing progress in the playing progress is greater than 0, determining that the playing progress changes;
and when the difference value between the rear playing progress and the front playing progress in the playing progress is less than or equal to 0, determining that the playing progress is not changed.
3. The method according to claim 2, wherein removing the video occlusion map according to the first callback message when it is determined that the playing progress changes comprises:
when the difference value between the rear playing progress and the front playing progress in the playing progress is greater than 0, determining a first difference value between the playing time corresponding to the rear playing progress and the playing time corresponding to the front playing progress;
and when the first difference value is larger than or equal to a first preset threshold value, removing the video occlusion graph according to the first callback message.
4. The method according to any one of claims 1 to 3, wherein after receiving a response message returned from the server according to the video identifier of the video carried in the play request, the method further comprises:
when the response message does not include the video data corresponding to the video identifier, generating a second callback message, wherein the second callback message is used for notifying that the video data is not received;
inquiring the playing progress;
and when the playing progress is determined not to be changed, displaying prompt information for indicating that the video data playing is failed according to the second callback message.
5. The method of claim 4, wherein when it is determined that the playing progress has not changed, displaying a prompt message indicating that the video data has failed to be played according to the second callback message, comprises:
when the difference value between the later playing progress and the previous playing progress in the playing progress is less than or equal to 0, determining a second difference value between the playing time corresponding to the later playing progress and the playing time corresponding to the first-time inquired playing progress; the time of the previous playing progress is the same as the time of the playing progress of the first query or a period of time is set between the previous playing progress and the playing progress of the first query;
and when the second difference is larger than or equal to a second preset threshold value, displaying the prompt message according to the second callback message.
6. The method according to claim 1, 2, 3 or 5, wherein the sending of the play request to the server corresponding to the video by the smart television comprises:
when the video application program corresponding to the video triggers the playing event, calling a communication interface in the video application program;
and sending the playing request to the server through the communication interface.
7. An intelligent television, characterized in that the intelligent television comprises: the device comprises a sending unit, a display unit, a receiving unit and a query unit;
the sending unit is used for sending a playing request to a server corresponding to the video according to a playing event generated on the video of the smart television, wherein the playing request carries a video identifier of the video;
the display unit is used for displaying a video occlusion image on the video;
the receiving unit is used for receiving a response message returned from the server;
the receiving unit is further configured to generate a first callback message when video data corresponding to the video identifier exists in the response message received by the receiving unit, where the first callback message is used to notify that the video data is successfully received;
the query unit is used for querying the playing progress of the video data;
the display unit is further configured to remove the video occlusion map according to the first callback message when it is determined that the playing progress changes.
8. The smart television of claim 7, wherein the query unit is specifically configured to:
querying the playing progress in sequence;
when the difference value between the rear playing progress and the front playing progress in the playing progress is greater than 0, determining that the playing progress changes;
and when the difference value between the rear playing progress and the front playing progress in the playing progress is less than or equal to 0, determining that the playing progress is not changed.
9. The smart television of claim 8, wherein the display unit is specifically configured to:
when the difference value between the rear playing progress and the front playing progress in the playing progress is greater than 0, determining a first difference value between the playing time corresponding to the rear playing progress and the playing time corresponding to the front playing progress;
and when the first difference value is larger than or equal to a first preset threshold value, removing the video occlusion graph according to the first callback message.
10. The smart television of any one of claims 7 to 9,
the receiving unit is further configured to generate a second callback message when the response message does not include video data corresponding to the video identifier, where the second callback message is used to notify that the video data is not received;
the query unit is further configured to query the playing progress;
and the display unit is further configured to display a prompt message for indicating that the video data is failed to be played according to the second callback message when it is determined that the playing progress is not changed.
11. The smart television of claim 10, wherein the display unit is further configured to:
when the difference value between the later playing progress and the previous playing progress in the playing progress is less than or equal to 0, determining a second difference value between the playing time corresponding to the later playing progress and the playing time corresponding to the first-time inquired playing progress; the time of the previous playing progress is the same as the time of the playing progress of the first query or a period of time is set between the previous playing progress and the playing progress of the first query;
and when the second difference is larger than or equal to a second preset threshold value, displaying the prompt message according to the second callback message.
CN201810096956.4A 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television and smart television Active CN108235106B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010879260.6A CN111970572B (en) 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television
CN201810096956.4A CN108235106B (en) 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television and smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810096956.4A CN108235106B (en) 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television and smart television

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202010879260.6A Division CN111970572B (en) 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television

Publications (2)

Publication Number Publication Date
CN108235106A CN108235106A (en) 2018-06-29
CN108235106B true CN108235106B (en) 2020-10-30

Family

ID=62670189

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810096956.4A Active CN108235106B (en) 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television and smart television
CN202010879260.6A Active CN111970572B (en) 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010879260.6A Active CN111970572B (en) 2018-01-31 2018-01-31 Method for controlling video occlusion map on smart television

Country Status (1)

Country Link
CN (2) CN108235106B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235106B (en) * 2018-01-31 2020-10-30 聚好看科技股份有限公司 Method for controlling video occlusion map on smart television and smart television
CN114025221B (en) * 2021-11-03 2023-10-27 聚好看科技股份有限公司 Display device and play control method of video application

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471251A (en) * 1992-06-15 1995-11-28 Kabushiki Kaisha Toshiba Video displaying apparatus capable of displaying a video while forming a blanking region
CN1791200A (en) * 2004-12-14 2006-06-21 三星电子株式会社 Broadcast receiving apparatus and method for controlling video switch thereof
WO2008010646A1 (en) * 2006-07-21 2008-01-24 Samsung Electronics Co., Ltd. Image receiving apparatus and method thereof
CN101179700A (en) * 2006-12-20 2008-05-14 腾讯科技(深圳)有限公司 Program source switch method and stream media play system
CN101335883A (en) * 2007-06-29 2008-12-31 国际商业机器公司 Method and apparatus for processing video stream in digital video broadcast system
CN101420452A (en) * 2008-12-05 2009-04-29 深圳市迅雷网络技术有限公司 Video file publishing method and device
KR20090063673A (en) * 2007-12-14 2009-06-18 엘지전자 주식회사 Liquid crystal display and method for change channel thereof
CN101616314A (en) * 2008-06-25 2009-12-30 深圳市国基电子有限公司 A kind of image information display packing, device and display device
CN103945258A (en) * 2013-04-01 2014-07-23 海信集团有限公司 Channel switching method and television receiving device
CN103997680A (en) * 2014-06-06 2014-08-20 北京奇艺世纪科技有限公司 Switching method and device of video bitstream
CN104219579A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Video switching method and video switching device
CN105100644A (en) * 2015-07-15 2015-11-25 西安诺瓦电子科技有限公司 Seamless switching method for video source
CN105635844A (en) * 2016-01-12 2016-06-01 腾讯科技(深圳)有限公司 Method and device for playing video in browser
CN106303692A (en) * 2016-08-22 2017-01-04 乐视控股(北京)有限公司 Video loading method and device
CN107105339A (en) * 2017-03-31 2017-08-29 广州酷狗计算机科技有限公司 A kind of methods, devices and systems for playing live video

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904289B2 (en) * 2011-04-21 2014-12-02 Touchstream Technologies, Inc. Play control of content on a display device
WO2013183139A1 (en) * 2012-06-07 2013-12-12 Necディスプレイソリューションズ株式会社 Video display device and video display method
CN104135693A (en) * 2014-07-22 2014-11-05 乐视网信息技术(北京)股份有限公司 A video playing method, smart TV and server
CN106878807B (en) * 2017-01-19 2020-06-19 北京奇艺世纪科技有限公司 Video switching method and device
CN107172475B (en) * 2017-04-21 2019-09-13 腾讯科技(深圳)有限公司 The playing method and device of video
CN108235106B (en) * 2018-01-31 2020-10-30 聚好看科技股份有限公司 Method for controlling video occlusion map on smart television and smart television

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471251A (en) * 1992-06-15 1995-11-28 Kabushiki Kaisha Toshiba Video displaying apparatus capable of displaying a video while forming a blanking region
CN1791200A (en) * 2004-12-14 2006-06-21 三星电子株式会社 Broadcast receiving apparatus and method for controlling video switch thereof
WO2008010646A1 (en) * 2006-07-21 2008-01-24 Samsung Electronics Co., Ltd. Image receiving apparatus and method thereof
CN101179700A (en) * 2006-12-20 2008-05-14 腾讯科技(深圳)有限公司 Program source switch method and stream media play system
CN101335883A (en) * 2007-06-29 2008-12-31 国际商业机器公司 Method and apparatus for processing video stream in digital video broadcast system
KR20090063673A (en) * 2007-12-14 2009-06-18 엘지전자 주식회사 Liquid crystal display and method for change channel thereof
CN101616314A (en) * 2008-06-25 2009-12-30 深圳市国基电子有限公司 A kind of image information display packing, device and display device
CN101420452A (en) * 2008-12-05 2009-04-29 深圳市迅雷网络技术有限公司 Video file publishing method and device
CN103945258A (en) * 2013-04-01 2014-07-23 海信集团有限公司 Channel switching method and television receiving device
CN103997680A (en) * 2014-06-06 2014-08-20 北京奇艺世纪科技有限公司 Switching method and device of video bitstream
CN104219579A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Video switching method and video switching device
CN105100644A (en) * 2015-07-15 2015-11-25 西安诺瓦电子科技有限公司 Seamless switching method for video source
CN105635844A (en) * 2016-01-12 2016-06-01 腾讯科技(深圳)有限公司 Method and device for playing video in browser
CN106303692A (en) * 2016-08-22 2017-01-04 乐视控股(北京)有限公司 Video loading method and device
CN107105339A (en) * 2017-03-31 2017-08-29 广州酷狗计算机科技有限公司 A kind of methods, devices and systems for playing live video

Also Published As

Publication number Publication date
CN108235106A (en) 2018-06-29
CN111970572A (en) 2020-11-20
CN111970572B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
US20220248077A1 (en) Video projection method, apparatus and device, and storage medium
CN107315761B (en) Data updating method, data query method and device
JP6526044B2 (en) Information recall method and apparatus, and electronic terminal
US20220070599A1 (en) Method for projecting screen, display device, screen projection terminal, and storage medium
CN105992056A (en) Video decoding method and device
US20160307605A1 (en) Method, device, and system of synchronously playing media file
CN108235106B (en) Method for controlling video occlusion map on smart television and smart television
CN110401877B (en) Video playing control method and device, electronic equipment and storage medium
WO2018177350A1 (en) Method and apparatus for providing serial number, electronic device and readable storage medium
CN111124668A (en) Memory release method and device, storage medium and terminal
CN110267088B (en) Video playing control method and device, electronic equipment and storage medium
CN114501134B (en) iOS cross-page video playing method, device, equipment and storage medium
CN113346973B (en) Event prompting method and device, electronic equipment and computer readable storage medium
US10674188B2 (en) Playback apparatus, method of controlling playback apparatus, playback method and server apparatus
CN111427417A (en) Time obtaining method and device and electronic equipment
CN109976790B (en) Application updating method, device, terminal and storage medium
CN113134234B (en) Information display method, device, terminal and storage medium
CN112258300B (en) Auditing method and device for order generation
CN111467797B (en) Game data processing method and device, computer storage medium and electronic equipment
KR100690852B1 (en) Method and mobile terminal for controlling usage of resource
CN114567792A (en) Virtual resource display method, device, equipment, server and storage medium
CN110134527B (en) Data processing method, client and electronic equipment
CN110198459B (en) Method, device, server and storage medium for playing display information
CN113778575A (en) Image processing method and device and electronic equipment
CN112035133A (en) Homepage upgrading method and terminal

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