CN112601107B - Method for synchronizing historical records in abnormal scene and display device - Google Patents

Method for synchronizing historical records in abnormal scene and display device Download PDF

Info

Publication number
CN112601107B
CN112601107B CN202011461191.3A CN202011461191A CN112601107B CN 112601107 B CN112601107 B CN 112601107B CN 202011461191 A CN202011461191 A CN 202011461191A CN 112601107 B CN112601107 B CN 112601107B
Authority
CN
China
Prior art keywords
message
continuous playing
video
browser
preset application
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
CN202011461191.3A
Other languages
Chinese (zh)
Other versions
CN112601107A (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.)
Vidaa Netherlands International Holdings BV
Vidaa USA Inc
Original Assignee
Vidaa Netherlands International Holdings BV
Vidaa USA Inc
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 Vidaa Netherlands International Holdings BV, Vidaa USA Inc filed Critical Vidaa Netherlands International Holdings BV
Priority to CN202011461191.3A priority Critical patent/CN112601107B/en
Publication of CN112601107A publication Critical patent/CN112601107A/en
Application granted granted Critical
Publication of CN112601107B publication Critical patent/CN112601107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6582Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number

Abstract

The application discloses a method and display equipment for synchronizing historical records in an abnormal scene. The problem that the continuous playing message is lost in the related technology is avoided, and the user can not continuously watch the video by using the continuous playing time.

Description

Method for synchronizing historical records in abnormal scene and display device
Technical Field
The present application relates to the field of synchronization of history records, and in particular, to a method and a display device for synchronizing history records in an abnormal scene.
Background
At present, a user can watch a video through a display device, and when the user needs to stop watching the video, the termination time of watching the video at this time can be uploaded to a server, so that when the user watches the video next time, the termination time is used as a continuous playing time to continuously watch the video. However, in some cases, the continuous playing time is lost, so that the user cannot continuously watch the video by using the continuous playing time, which brings inconvenience to the user and affects the use experience of the user.
Disclosure of Invention
The embodiment of the application provides a method for synchronizing historical records in an abnormal scene and display equipment, so that the use experience of a user is improved.
In a first aspect, there is provided a display device comprising:
a display for displaying a user interface;
a user interface for receiving an input signal;
a controller respectively coupled to the display and the user interface for performing:
receiving an instruction of playing a video displayed on a preset application, controlling a display device to play the video through a player in a first browser, and controlling the player to send a continuous playing message to the first browser at intervals of preset time, wherein the continuous playing message is received and stored by the first browser and comprises continuous playing time;
receiving an instruction of globally quitting video playing, and controlling the player, the first browser and the preset application to quit, wherein before the first browser quits, a stored continuous playing message is sent to the preset application;
if the preset application is quitted, judging whether a preset requirement is met, if so, updating the continuous playing message into a local storage and uploading the continuous playing message to a server, wherein the preset requirement comprises the permission to change the storage content in the local storage.
In some embodiments, the resume message further includes a media asset identifier, and the controller is configured to update the resume message to a local storage according to the following steps:
acquiring storage content in a local storage;
if the storage content is acquired, searching the continuous playing time corresponding to the media asset identifier in the storage content by using the media asset identifier in the continuous playing message; replacing the resume time in the stored content with the resume time in the resume message; and storing the storage content replacing the continuous playing time into the local storage again.
In some embodiments, the controller is further configured to perform: and if the storage content is not acquired, directly storing the continuous playing message as the storage content in a local storage.
In some embodiments, the controller, after receiving the instruction to play the video displayed on the preset application, is further configured to:
controlling the preset application to generate page display data, wherein the page display data comprise continuous playing time; and when the preset application exits, deleting the page display data.
In some embodiments, the controller, after sending the stored resume message to the preset application, is further configured to:
if the preset application does not exit, updating the page display data according to the continuous playing time in the received continuous playing message; and if the preset requirement is met, updating the continuous playing message into a local storage and uploading the continuous playing message to a server.
In some embodiments, the page display data further includes a media asset identifier, and the controller is configured to update the page display data according to the following steps:
and updating the continuous playing time corresponding to the media asset identifier in the continuous playing message in the page display data by using the continuous playing time in the continuous playing message.
In a second aspect, a method for synchronizing history records in an abnormal scenario is provided, where the method includes:
receiving an instruction of playing a video displayed on a preset application, controlling a display device to play the video through a player in a first browser, and controlling the player to send a continuous playing message to the first browser at intervals of a preset time, wherein the continuous playing message is received and stored by the first browser and comprises continuous playing time;
receiving an instruction of globally quitting video playing, and controlling the player, the first browser and the preset application to quit, wherein before the first browser quits, a stored continuous playing message is sent to the preset application;
if the preset application is exited, whether a preset requirement is met or not is judged, if the preset requirement is met, the continuous playing message is updated to a local storage and uploaded to a server, and the preset requirement comprises the permission to change the storage content in the local storage.
In some embodiments, the resume message further includes a media asset identifier, and the step of updating the resume message into the local storage includes:
acquiring storage content in a local storage;
if the storage content is acquired, searching the continuous playing time corresponding to the media asset identifier in the storage content by using the media asset identifier in the continuous playing message; replacing the resume time in the stored content with the resume time in the resume message; and storing the storage content of the replacement continuous playing time into the local storage again.
In some embodiments, the method further comprises: and if the storage content is not acquired, directly storing the continuous playing message as the storage content in a local storage.
In some embodiments, after receiving an instruction to play a video presented on a preset application, the method further comprises:
controlling the preset application to generate page display data, wherein the page display data comprises continuous playing time;
and deleting the page display data when the preset application exits.
In some embodiments, the page display data further includes a media asset identifier, and the step of updating the page display data includes: and updating the continuous playing time corresponding to the media asset identifier in the continuous playing message in the page display data by using the continuous playing time in the continuous playing message.
In the embodiment, the player in the embodiment of the application sends the resume message at intervals of preset time, the first browser receives and stores the resume message, before the first browser exits, the stored resume message is sent to the preset application, and in addition, when the preset application exits, the local storage is directly updated through the resume message. The problem that the continuous playing message is lost in the related technology is avoided, and the user cannot continuously watch the video by using the continuous playing time. The method comprises the following steps: receiving an instruction of playing a video displayed on a preset application, controlling a display device to play the video through a player in a first browser, and controlling the player to send a continuous playing message to the first browser at intervals of a preset time, wherein the continuous playing message is received and stored by the first browser and comprises continuous playing time; receiving an instruction of globally quitting video playing, and controlling the player, the first browser and the preset application to quit, wherein before the first browser quits, a stored continuous playing message is sent to the preset application; if the preset application is quitted, judging whether a preset requirement is met, if so, updating the continuous playing message into a local storage and uploading the continuous playing message to a server, wherein the preset requirement comprises the permission to change the storage content in the local storage.
Drawings
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
a user interface diagram according to some embodiments is illustrated in fig. 5;
FIG. 6 illustrates a user interface diagram according to further embodiments;
a flow diagram of a method for history synchronization in an exception scenario in accordance with some embodiments is illustrated in FIG. 7.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for convenience of understanding of the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," as well as any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to all of the elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the functionality associated with that element.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, the user may operate the display device 200 through the smart device 300 or the control apparatus 100.
In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and the display device 200 is controlled by a wireless or wired method. The user may input a user command through a key on a remote controller, a voice input, a control panel input, etc. to control the display apparatus 200.
In some embodiments, the smart device 300 (e.g., mobile terminal, tablet, computer, laptop, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 to obtain a voice command, or may be received through a voice control device provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
Fig. 3 shows a hardware configuration block diagram of the display apparatus 200 according to an exemplary embodiment.
In some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, a component for receiving an image signal from the controller output, performing display of video content, image content, and a menu manipulation interface, and a user manipulation UI interface.
In some embodiments, the display 260 may be a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the external control apparatus 100 or the server 400 through the communicator 220.
In some embodiments, the user interface may be configured to receive control signals for controlling the apparatus 100 (e.g., an infrared remote control, etc.).
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. Or may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphic Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first interface to an nth interface for input/output, a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal that can be displayed or played on the direct display device 200.
In some embodiments, the video processor includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, and perform decompression and decoding, and processing such as denoising, digital-to-analog conversion, and amplification processing according to a standard codec protocol of the input signal, so as to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands through the Graphical User Interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, the system of the display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
As shown in fig. 4, the system of the display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel starts, activates kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signals and inter-process communication (IPC). And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
As shown in fig. 4, the system of the display device is divided into three layers, i.e., an application layer, a middleware layer and a hardware layer from top to bottom.
The Application layer mainly includes common applications on the television and an Application Framework (Application Framework), wherein the common applications are mainly applications developed based on the Browser, such as: HTML5 APPs; and Native APPs (Native APPs);
an Application Framework (Application Framework) is a complete program model, and has all basic functions required by standard Application software, such as: file access, data exchange, and interfaces to use these functions (toolbars, status lists, menus, dialog boxes).
Native APPs (Native APPs) may support online or offline, message push, or local resource access.
The middleware layer comprises various television protocols, multimedia protocols, system components and other middleware. The middleware can use basic service (function) provided by system software to connect each part of an application system or different applications on a network, thereby achieving the purposes of resource sharing and function sharing.
The hardware layer mainly comprises an HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for butting all the television chips, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
At present, a user can watch a video through a display device, and when the user needs to stop watching the video, the termination time of watching the video at this time can be uploaded to a server, so that the user can watch the video continuously with the termination time as a continuous playing time when watching the video next time. However, in some cases, the continuous playing time is lost, so that the user cannot continuously watch the video by using the continuous playing time, which brings inconvenience to the user and affects the use experience of the user.
In some embodiments, the display device is run on ac or dc power up, runs a home application running on a second browser, which may be a cobalt browser, and displays the home page on the display. After logging in a user account on a homepage, starting a preset application, and selecting the preset application to play media resources on a user interface, wherein the media resources can be videos. In some embodiments, the process of playing the video includes starting a first browser, and running a player in the first browser to play the video, for example, the first browser may be an opera browser, and the player may be a hiplayer player.
In the embodiment of the present application, the user interface corresponding to the preset application includes a history column, and in some embodiments, the history column is disposed at the uppermost portion of the user interface, and the history column displays a video that has already been played, and for example, as shown in fig. 5, a video control 511 is displayed in a history column 51 in fig. 5. In some embodiments, the videos displayed in the history column are arranged from near to far according to the playing time, and for example, the last playing time of the video a is 12: 58: 2s at 10/15/2020, and the last playing time of the video B is 18: 13 at 11/15/2020, and the video B is arranged in front of the video a.
When receiving an instruction of globally quitting video playing, the player, the first browser and the preset application quit, and it is noted that although the player, the first browser and the preset application both quit, the quitting sequence is uncertain, because the occupied space of the player, the first browser and the preset application during operation is uncertain, the occupied space is large, more time is needed during quitting, the occupied space is small, the time is short, and the quitting sequence is uncertain when quitting. In some embodiments, the instruction to exit the video playing globally may be accomplished by the user pressing an exit key (exit key) on the control device, or by directly powering off the display device.
In the related art, when an instruction of globally quitting video playing is received, the player, the first browser and the preset application quit. The player exits and sends a continuous playing message to a preset application, wherein the type of the continuous playing message is APPmessage, and the continuous playing message comprises a video position and continuous playing time. And after receiving the continuous playing message, the first browser sends the continuous playing message to a preset application.
In some embodiments, the step of sending the resume message to the preset application by the first browser includes: the method comprises the steps that a first browser sends a continuous playing message to a television channel management module (APM), the APM transparently transmits the continuous playing message, a homepage application on a second browser is initialized, message monitoring of a mounting channel is carried out, and when the continuous playing message is monitored, the continuous playing message is determined to be sent to a preset application. And updating the continuous playing time of the media asset in page display data of page display data by using a preset application according to the continuous playing message, wherein the page display data is generated when the preset application runs, and the page display data comprises a video position and the continuous playing time. Illustratively, the video position of the resume message is key1, the resume time is t1, the video position of the current page display data is key2, and the resume time is t2, wherein if key1 and key2 are different, and t1 and t2 are different, the video position and the resume time in the current page display data are replaced by the video position and the resume time in the resume message. In some embodiments, the video location includes a row number and a column number. And then, if the preset requirement is met, updating the storage content in the local storage (localstorage) by using the updated page display data, uploading the updated page display data to the server, and storing the updated page display data by the server. In some embodiments, the preset requirement includes a right to change the storage content in the local storage, and for example, the preset requirement may be a login user account. When the user account is logged in, the updated page display data can be stored in a local storage and uploaded to a server for storage. In some embodiments, a folder is set in a local storage by taking a user account as a dimension, and updated page display data is stored in the folder corresponding to the user account; the server can also set a folder by taking the user account as a dimension, and the updated page display data is stored in the folder corresponding to the user account.
However, in the related art, there are two problems, the first one: if the first browser and the player quit at the same time, the first browser cannot receive the continuous playing message and cannot send the continuous playing message to the preset application; the second problem is that: if the first browser exits after the player, that is, the resume message is received, but the preset application exits before the first browser, since the preset application exits and the corresponding page display data is cleared, the page display data cannot be updated by the resume message, an error occurs, and the locally stored data cannot be updated by the page display data.
In order to avoid the first problem when the continuous playing video occurs, the embodiment of the present application provides a first scheme, in which after the first browser receives the quit instruction, a broadcast is sent before the quit, the player receives the broadcast and sends a continuous playing message to the first browser, and after the first browser receives the continuous playing message, the first browser sends the continuous playing message to the preset application and then quits. However, in this scheme, since many applications are run on the first browser, if a broadcast message is sent, all applications cannot be requested to give a response, and if the first browser cannot receive a response that the player sends a resume message, it cannot be determined when the first browser can exit, which has a large influence on the normal operation of the display device, so that the first problem is avoided without adopting the first scheme in the embodiments of the present application.
In a second scheme, the player performs a timing operation, and automatically sends a play progress at an interval of a preset time, that is, sends a resume message to the first browser, where the preset time may be 5s. And after receiving the continuous playing message, the first browser sends the continuous playing message to a preset application. And updating the continuous playing time of the media assets in the page display data by using the continuous playing message, and writing the updated page display data into a local storage when the preset requirement is met. However, since the local storage is continuously written at preset intervals, consumption is brought to hardware of the display device, and the service life of the memory is reduced.
Based on the second scheme, a third scheme is provided in the embodiments of the present application, in the third scheme, the player performs a timing operation, and sends a play progress at intervals of a preset time. Therefore, the damage to the hardware of the display device caused by writing in the local storage for many times in a short time is avoided. And before the first browser exits, sending the continuous playing message stored in the first browser to a preset application, updating the continuous playing time of the media asset in the page display data by using the continuous playing message, and writing the continuous playing time into a local storage when the preset requirement is met.
In some embodiments, the resume message further includes a video content link, and since the video content link may be too large to cause a problem of partial content loss in the transmission process, in the embodiments of the present application, the video content link is replaced with a medium asset identifier, and the medium asset identifier is used for distinguishing medium assets and is a unique identifier of the medium assets. In addition, when the preset application is restarted, the play continuation time corresponding to the locally stored media asset identifier and the play continuation time corresponding to the media asset identifier in the server can be acquired, the two are compared, and the play continuation time with the later time is displayed on the user interface. It should be noted that, since the same media asset can be watched on different display devices or other terminals, in some embodiments, when the media asset is watched through different devices under the same user account, the media asset may cause a situation that the playback time in the local storage of the display device is different from the playback time uploaded by other devices in the server.
Regarding the second problem in the related art, the embodiment of the present application may still successfully update the resume time to the local storage in the case that the preset application exits. When the preset application is logged out, whether the preset requirement is met is judged, illustratively, the preset requirement can be a login user account, and when the login user account is logged in, the resume message is updated to the storage content in the local storage and uploaded to the server.
In some embodiments, as shown in fig. 5, the user may control the selector to move to the video displayed on the user interface through the control device and press the confirmation key on the control device, jump to the user interface as shown in fig. 6, where a message 61 asking the user whether to continue playing is displayed on the user interface, a cancel control 611 and a confirmation control 612 are displayed on the message, and when the user moves the selector to the cancel control through the control device and presses the confirmation key on the control device, the video starts playing from the beginning. When the user moves the selector to the confirmation control via the control device and presses the confirmation key on the control device, in some embodiments, the video will begin playing from the resume time, which is illustratively 00.
To sum up, an embodiment of the present application provides a method for synchronizing history records in an abnormal scenario, where as shown in fig. 7, the method includes:
s100, receiving an instruction of playing a video displayed on a preset application, controlling a display device to play the video through a player in a first browser, and controlling the player to send a continuous playing message to the first browser at intervals of a preset time, wherein the continuous playing message is received and stored by the first browser, and the continuous playing message comprises a continuous playing time which represents the current video playing progress.
In some embodiments, the instruction for playing the video displayed on the preset application interface may be completed by the user starting the preset application and selecting the media asset on the user interface corresponding to the preset application. In some embodiments, the resume message further includes a video position, which includes, for example, a position of a video control corresponding to the video on the user interface, and may be described by a row number and a column number, for example, a first row and a first column.
According to the requirement of the user, the user can select to stop the video playing, in some embodiments, the user can stop the video playing by a common exit method, for example, the user can press a return key on the control device to jump the user interface to the user interface which is opened last time, for example, when the user watches the video, the user presses the return key on the control device to jump the user interface to the user interface corresponding to the preset application.
In some embodiments, the user may stop the video playing by selecting a method of globally exiting the video playing, and when the video playing is globally exited, not only the player is exited, but also the first browser and the preset application are controlled to exit. The embodiment of the application provides a history record synchronization method aiming at the problems occurring when the video playing is globally quitted.
S200, receiving an instruction of globally quitting video playing, and controlling the player, the first browser and the preset application to quit. In the embodiment of the application, an instruction of globally quitting video playing is received, the display device controls the player, the first browser and the preset application to quit, but because the space occupied by the player, the first browser and the preset application during running is uncertain, the quitting sequence of the player, the first browser and the preset application during quitting is uncertain. In the process, the above-mentioned problem occurs, and the continuous playing time is lost, so that the video cannot be continuously watched by using the continuous playing time.
In some embodiments, after receiving an instruction to play a video presented on a preset application, the method further comprises: and controlling a preset application to generate page display data, wherein the page display data comprises continuous playing time. In the embodiment of the application, the page display data is generated while the video is played. And when the preset application exits, deleting the page display data. In some embodiments, the page display data further comprises a video position. And storing the continuous playing time corresponding to each video position in the page display data.
In some embodiments, the first browser sends the stored resume message to the predetermined application before the first browser exits. In the related art, the resume message is continuously stored in the local storage, which affects the service life of the hardware. In the embodiment of the application, the resume message is sent to the preset application only before the first browser exits, so that the content in the resume message can be utilized, and the service life of hardware can not be influenced.
S300, judging whether the preset application exits or not. In some embodiments, S400, if the preset application has exited, determining whether a preset requirement is met, and if the preset requirement is met, updating the resume message to a local storage and uploading the resume message to a server. The preset requirement includes that the stored content in the local storage is authorized to be changed, and exemplarily, the preset requirement may be a login user account. When the user account is logged in, the user account is directly updated to a local storage by using a continuous playing message and uploaded to a server. In the related art, the page display data needs to be updated to the local storage by using the resume message, but the resume message cannot be stored because the page display data is deleted after the preset application exits, which causes the loss of the resume time. In the embodiment of the application, the page display data is not required to be updated by the resume message, but the local storage is directly updated by the resume message.
In some embodiments, the resume message further includes a media asset identifier, and the step of updating the resume message to the local storage includes:
the storage content in the local storage is acquired. And when the process of exiting the video playing exists historically, the local storage stores the storage content. When the process of exiting the video playing does not exist historically, no content is stored in the local storage.
If the storage content is acquired, namely the storage content exists, searching the continuous playing time corresponding to the media asset identification in the storage content by using the media asset identification in the continuous playing message; replacing the resume time in the stored content with the resume time in the resume message; storing the storage content of the replacement continuous playing time into a local storage again;
and if the storage content is not acquired, directly storing the continuous playing message as the storage content in a local storage.
S500, in some embodiments, sending a stored resume message to a preset application, if the preset application does not exit, updating the page display data according to the resume time in the received resume message, and if a preset requirement is met, updating the resume message to a local storage and uploading the resume message to a server.
In some embodiments, the page display data further includes a media asset identifier, and the step of updating the page display data includes: and updating the continuous playing time corresponding to the media asset identifier in the continuous playing message in the page display data by using the continuous playing time in the continuous playing message.
Since the user interface of the preset application may need to be divided into multiple parts by the service, the uppermost part of the exemplary user interface may be provided with a history column, and a certain video has been played in history, and thus may be displayed in the history column as well as in other positions of the user interface.
In the embodiment of the application, when a user selects a played video on a user interface corresponding to a preset application, the continuous playing time of the video at all video positions is updated by using media asset identification instead of only updating the continuous playing time at the video position corresponding to the selected video.
Thus, when a video is displayed in the history section and also in another location of the user interface, the user interface shown in fig. 6 appears when the control device moves the selector to the video control in the history section or in another location and presses the enter key on the control device, in some embodiments, the video is played from the resume time, which is, for example, 00.
In the embodiment, the player in the embodiment of the application sends the resume message at intervals of preset time, the first browser receives and stores the resume message, before the first browser exits, the stored resume message is sent to the preset application, and in addition, when the preset application exits, the local storage is directly updated through the resume message. The problem that the continuous playing message is lost in the related technology is avoided, and the user cannot continuously watch the video by using the continuous playing time. The method comprises the following steps: receiving an instruction of playing a video displayed on a preset application, controlling a display device to play the video through a player in a first browser, and controlling the player to send a continuous playing message to the first browser at intervals of preset time, wherein the continuous playing message is received and stored by the first browser and comprises continuous playing time; receiving an instruction of globally quitting video playing, and controlling the player, the first browser and the preset application to quit, wherein before the first browser quits, a stored continuous playing message is sent to the preset application; if the preset application is quitted, judging whether a preset requirement is met, if so, updating the continuous playing message into a local storage and uploading the continuous playing message to a server, wherein the preset requirement comprises the permission to change the storage content in the local storage.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display for displaying a user interface;
a user interface for receiving an input signal;
a controller respectively coupled to the display and the user interface, for performing:
receiving an instruction of playing a video displayed on a preset application, controlling a display device to play the video through a player in a first browser, and controlling the player to send a continuous playing message to the first browser at intervals of preset time, wherein the continuous playing message is received and stored by the first browser and comprises continuous playing time;
receiving an instruction of globally quitting video playing, and controlling the player, the first browser and the preset application to quit, wherein before the first browser quits, a stored continuous playing message is sent to the preset application;
if the preset application is quitted, judging whether a preset requirement is met, if so, updating the continuous playing message into a local storage and uploading the continuous playing message to a server, wherein the preset requirement comprises the permission to change the storage content in the local storage.
2. The display device of claim 1, wherein the resume message further comprises a media asset identifier, and wherein the controller is configured to update the resume message to a local storage according to the following steps:
acquiring storage content in a local storage;
if the storage content is acquired, searching the continuous playing time corresponding to the media asset identification in the storage content by using the media asset identification in the continuous playing message; replacing the resume time in the stored content with the resume time in the resume message; and storing the storage content of the replacement continuous playing time into the local storage again.
3. The display device according to claim 2, wherein the controller is further configured to perform: if the memory content is not acquired, the continuous playing message is directly stored in the local memory as the memory content.
4. The display device according to claim 1, wherein the controller, after receiving an instruction to play a video presented on a preset application, is further configured to perform:
controlling the preset application to generate page display data, wherein the page display data comprise continuous playing time; and when the preset application exits, deleting the page display data.
5. The display device of claim 4, wherein the controller, after sending the stored resume message to the preset application, is further configured to:
if the preset application does not exit, updating the page display data according to the continuous playing time in the received continuous playing message; and if the preset requirement is met, updating the continuous playing message into a local storage and uploading the continuous playing message to a server.
6. The display device according to claim 5, wherein the page display data further comprises a media asset identifier, the controller is configured to update the page display data according to the following steps:
and updating the continuous playing time corresponding to the media asset identifier in the continuous playing message in the page display data by using the continuous playing time in the continuous playing message.
7. A method for synchronizing historical records in an abnormal scene is characterized by comprising the following steps:
receiving an instruction of playing a video displayed on a preset application, controlling a display device to play the video through a player in a first browser, and controlling the player to send a continuous playing message to the first browser at intervals of preset time, wherein the continuous playing message is received and stored by the first browser and comprises continuous playing time;
receiving an instruction of globally quitting video playing, and controlling the player, the first browser and the preset application to quit, wherein before the first browser quits, a stored continuous playing message is sent to the preset application;
if the preset application is quitted, judging whether a preset requirement is met, if so, updating the continuous playing message into a local storage and uploading the continuous playing message to a server, wherein the preset requirement comprises the permission to change the storage content in the local storage.
8. The method of claim 7, wherein the resume message further includes a media asset identifier, and wherein updating the resume message to a local storage comprises:
acquiring storage content in a local storage;
if the storage content is acquired, searching the continuous playing time corresponding to the media asset identifier in the storage content by using the media asset identifier in the continuous playing message; replacing the resume time in the stored content with the resume time in the resume message; and storing the storage content replacing the continuous playing time into the local storage again.
9. The method of claim 8, further comprising: and if the storage content is not acquired, directly storing the continuous playing message as the storage content in a local storage.
10. The method of claim 7, wherein after receiving an instruction to play a video presented on a preset application, the method further comprises:
controlling the preset application to generate page display data, wherein the page display data comprise continuous playing time;
and deleting the page display data when the preset application exits.
CN202011461191.3A 2020-12-11 2020-12-11 Method for synchronizing historical records in abnormal scene and display device Active CN112601107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011461191.3A CN112601107B (en) 2020-12-11 2020-12-11 Method for synchronizing historical records in abnormal scene and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011461191.3A CN112601107B (en) 2020-12-11 2020-12-11 Method for synchronizing historical records in abnormal scene and display device

Publications (2)

Publication Number Publication Date
CN112601107A CN112601107A (en) 2021-04-02
CN112601107B true CN112601107B (en) 2023-02-17

Family

ID=75192818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011461191.3A Active CN112601107B (en) 2020-12-11 2020-12-11 Method for synchronizing historical records in abnormal scene and display device

Country Status (1)

Country Link
CN (1) CN112601107B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596057A (en) * 2013-11-21 2014-02-19 乐视致新电子科技(天津)有限公司 Intelligent-television media player and playing continuing control method thereof, and intelligent television
CN106792173A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Video broadcasting method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020100052A1 (en) * 1999-01-06 2002-07-25 Daniels John J. Methods for enabling near video-on-demand and video-on-request services using digital video recorders
US10051298B2 (en) * 1999-04-23 2018-08-14 Monkeymedia, Inc. Wireless seamless expansion and video advertising player
WO2020012220A1 (en) * 2018-07-11 2020-01-16 Yogesh Chunilal Rathod In the event of selection of message, invoking camera to enabling to capture media and relating, attaching, integrating, overlay message with/on/in captured media and send to message sender

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596057A (en) * 2013-11-21 2014-02-19 乐视致新电子科技(天津)有限公司 Intelligent-television media player and playing continuing control method thereof, and intelligent television
CN106792173A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Video broadcasting method and device

Also Published As

Publication number Publication date
CN112601107A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN114302190B (en) Display equipment and image quality adjusting method
CN111836109A (en) Display device, server and method for automatically updating column frame
CN112601117B (en) Display device and content presentation method
CN112653906B (en) Video hot spot playing method on display equipment and display equipment
CN113535019A (en) Display device and display method of application icons
CN113630654A (en) Display device and media resource pushing method
CN113038210B (en) Double-screen synchronous playing method of video file and display equipment
CN112463750B (en) File synchronization method and display device
CN113111214A (en) Display method and display equipment for playing records
CN113163258A (en) Channel switching method and display device
CN112203154A (en) Display device
CN112601107B (en) Method for synchronizing historical records in abnormal scene and display device
CN113490030A (en) Display device and channel information display method
CN113596559A (en) Method for displaying information in information bar and display equipment
CN112732396A (en) Media asset data display method and display device
CN112911371A (en) Double-channel video resource playing method and display equipment
CN115174991B (en) Display equipment and video playing method
CN113350781B (en) Display device and game mode switching method
CN112929724B (en) Display device, set top box and far-field pickup awakening control method
CN113038255B (en) Channel information updating method and display device
CN114363679B (en) Display equipment, server and media asset playing method
CN113038193B (en) Method for automatically repairing asynchronous audio and video and display equipment
CN113784198B (en) Display device, intelligent device and program recording control method
CN114173176B (en) Server, display equipment and media asset filtering method
CN113645492A (en) Display device and synchronization method of history play records

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