[go: up one dir, main page]

CN109068149B - Program recommendation method, terminal and computer readable storage medium - Google Patents

Program recommendation method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109068149B
CN109068149B CN201811083801.3A CN201811083801A CN109068149B CN 109068149 B CN109068149 B CN 109068149B CN 201811083801 A CN201811083801 A CN 201811083801A CN 109068149 B CN109068149 B CN 109068149B
Authority
CN
China
Prior art keywords
program
terminal
account book
terminals
program recommendation
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
CN201811083801.3A
Other languages
Chinese (zh)
Other versions
CN109068149A (en
Inventor
罗克光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201811083801.3A priority Critical patent/CN109068149B/en
Publication of CN109068149A publication Critical patent/CN109068149A/en
Application granted granted Critical
Publication of CN109068149B publication Critical patent/CN109068149B/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
    • H04N21/23109Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion by placing content in organized collections, e.g. EPG data repository
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/251Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • 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/4332Content storage operation, e.g. storage operation in response to a pause request, caching operations by placing content in organized collections, e.g. local EPG data repository
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4667Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Computing Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a program recommendation method, which comprises the following steps: acquiring playing data of a program watched by a user on a first terminal, wherein the playing data comprises at least one of a program name, a channel, a program link, watching duration and watching times; recording the playing data in an account book of the first terminal; broadcasting the account book to other terminals in a block chain, so that the other terminals can synchronize the account book; and generating a program recommendation list according to the book so as to recommend programs to the user. The invention also discloses a program recommendation terminal and a computer readable storage medium. The invention is based on the block chain technology, directly records the playing data in the account book of the terminal, completes the acquisition of the program watching data of the user under the condition of not additionally investing in hardware resources of the server, saves the hardware cost of the server, and ensures the safety and reliability of the data.

Description

Program recommendation method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of television technologies, and in particular, to a program recommendation method, a terminal, and a computer-readable storage medium.
Background
At present, in order to facilitate users to know hot programs or classical programs, video playing equipment on a television, a computer or a mobile terminal has a program recommendation function, and users can know the current program watching situation in a program recommendation mode so as to be convenient for the users to go to watch.
The general implementation method for recommending the existing television programs is as follows: when the terminal user generates the watching statistical record, the data are packaged and sent to the central server, the central server stores the user data persistently, and then recommended data are generated through a series of calculations and pushed to the terminal. That is, a central server must be designed to collect, analyze and calculate the statistical data of the user program, and then generate the recommendation data according to the analysis result of the central server.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a program recommendation method, a terminal and a computer readable storage medium, and aims to solve the technical problem of high design cost caused by the adoption of a processing mode of acquiring, analyzing and calculating data by a central server in a program recommendation mode.
In order to achieve the above object, the present invention provides a program recommendation method, including the steps of:
the program recommendation method comprises the following steps:
acquiring playing data of a program watched by a user on a first terminal, wherein the playing data comprises at least one of a program name, a channel, a program link, watching duration and watching times;
recording the playing data in an account book of the first terminal;
broadcasting the account book to other terminals in a block chain so that the other terminals can synchronize the account book;
and generating a program recommendation list according to the book so as to recommend programs to the user.
Preferably, the step of recording the play data in an account book of the first terminal includes:
acquiring program types, wherein the program types comprise on-demand programs and live programs;
and recording the playing data at a corresponding position of an account book of the first terminal according to the program type.
Preferably, the step of broadcasting the ledger to other terminals in a block chain for the other terminals to synchronize the ledger includes:
encrypting the account book by adopting a public key;
and broadcasting the encrypted account book to the other terminals in the block chain so that the other terminals can synchronize the account book.
Preferably, before the step of generating a program recommendation list according to the ledger so as to recommend a program to a user, the method further includes:
when the account book broadcasted by other terminals in the block chain is received, the account book broadcasted by other terminals is synchronized with the account book recorded by the first terminal.
Preferably, the program recommendation method further includes:
when receiving accounts broadcasted by other terminals in a block chain, judging whether the accounts broadcasted by the other terminals are legal or not;
and when the account book broadcasted by the other terminal is legal, executing the step of synchronizing the account book broadcasted by the other terminal and the account book recorded by the first terminal.
Preferably, the program recommendation method further includes:
when the account book broadcasted by other terminals in the block chain is received, the account book broadcasted by other terminals is decrypted by adopting the private key of the first terminal;
and when the account book broadcasted by the other terminal is successfully decrypted, judging that the account book broadcasted by the other terminal is legal.
Preferably, the step of acquiring the playing data of the program watched by the user on the first terminal is performed when the first terminal generates the program watching data.
Preferably, the step of generating a program recommendation list according to the ledger so as to recommend programs to a user includes:
acquiring the watching time length or the watching times of each program;
determining the arrangement sequence of each program according to the watching duration or the watching times;
and generating the program recommendation list according to the arrangement sequence.
In order to achieve the above object, the present invention further provides a program recommending terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the program recommendation method as described above.
Preferably, the program recommendation terminal comprises a television and a mobile terminal.
Furthermore, the present invention also provides a computer readable storage medium having a program recommendation application stored thereon, which when executed by a processor implements the steps of the program recommendation method as described above.
According to the program recommendation method, the terminal and the computer readable storage medium provided by the embodiment of the invention, the account book is set on the terminal based on the block chain technology, and when the playing data of the program is acquired, the playing data is directly recorded in the account book of the terminal, so that the acquisition of the program watching data of a user is completed without additionally investing in hardware resources of a server, and the hardware cost of the server is saved; the account book is broadcasted to each terminal in the block chain, so that the terminals can synchronize the account book, and the safety and reliability of data are ensured by means of the block chain technology; based on the synchronized account book, each terminal generates a program recommendation list to recommend programs to the user, so that intelligent program recommendation is realized, and the competitiveness of the product is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a program recommendation method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a further detailed process of step S30 in FIG. 2;
FIG. 4 is a flowchart illustrating a program recommending method according to a second embodiment of the present invention;
FIG. 5 is a flowchart illustrating a program recommending method according to a third embodiment of the present invention;
fig. 6 is a flowchart illustrating a program recommending method according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring playing data of a program, wherein the playing data comprises at least one of a program name, a channel, a program link, a watching time length and a watching frequency; recording the playing data in an account book of the terminal; broadcasting the account book to each terminal in a block chain so that each terminal can synchronize the account book; and generating a program recommendation list according to the book so as to recommend programs to the user.
Because the general implementation method of the existing television program recommendation is as follows: when the terminal user generates the watching statistical record, the data are packaged and sent to the central server, the central server stores the user data persistently, and then recommended data are generated through a series of calculations and pushed to the terminal. That is, a central server must be designed to collect, analyze and calculate the statistical data of the user program, and then generate the recommendation data according to the analysis result of the central server.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a television, and can also be a mobile terminal such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, Audio Layer 3 of motion Picture Experts compression standard), an MP4(Moving Picture Experts Group Audio Layer IV, Audio Layer 3 of motion Picture Experts compression standard), a portable computer and other mobile terminal equipment with a display function.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and so on, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a program recommendation application program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a program recommendation application stored in the memory 1005 and perform the following operations:
acquiring playing data of a program watched by a user on a first terminal, wherein the playing data comprises at least one of a program name, a channel, a program link, watching duration and watching times;
recording the playing data in an account book of the first terminal;
broadcasting the account book to other terminals in a block chain so that the other terminals can synchronize the account book;
and generating a program recommendation list according to the book so as to recommend programs to the user.
Further, the processor 1001 may call the program recommendation application stored in the memory 1005, and also perform the following operations:
acquiring program types, wherein the program types comprise on-demand programs and live programs;
and recording the playing data at a corresponding position of an account book of the first terminal according to the program type.
Further, the processor 1001 may call the program recommendation application stored in the memory 1005, and also perform the following operations:
encrypting the account book by adopting a public key;
and broadcasting the encrypted account book to the other terminals in the block chain so that the other terminals can synchronize the account book.
Further, the processor 1001 may call the program recommendation application stored in the memory 1005, and further perform the following operations:
when the account book broadcasted by other terminals in the block chain is received, the account book broadcasted by other terminals is synchronized with the account book recorded by the first terminal.
Further, the processor 1001 may call the program recommendation application stored in the memory 1005, and also perform the following operations:
when receiving accounts broadcasted by other terminals in a block chain, judging whether the accounts broadcasted by the other terminals are legal or not;
and when the account book broadcasted by the other terminal is legal, executing the step of synchronizing the account book broadcasted by the other terminal and the account book recorded by the first terminal.
Further, the processor 1001 may call the program recommendation application stored in the memory 1005, and also perform the following operations:
when the account book broadcasted by other terminals in the block chain is received, the account book broadcasted by other terminals is decrypted by adopting the private key of the first terminal;
and when the account book broadcasted by the other terminal is successfully decrypted, judging that the account book broadcasted by the other terminal is legal.
Further, the processor 1001 may call the program recommendation application stored in the memory 1005, and also perform the following operations:
and when the first terminal generates program viewing data, executing the step of acquiring the playing data of the program viewed by the user on the first terminal.
Further, the processor 1001 may call the program recommendation application stored in the memory 1005, and also perform the following operations:
acquiring the watching time length or the watching times of each program;
determining the arrangement sequence of each program according to the watching duration or the watching times;
and generating the program recommendation list according to the arrangement sequence.
Referring to fig. 2, a first embodiment of a program recommendation method provided by the present invention includes the following steps:
step S10, obtaining the playing data of the program watched by the user on the first terminal, wherein the playing data includes at least one of the program name, the channel, the program link, the watching time length and the watching times;
step S20, recording the play data in the ledger of the first terminal;
the embodiment can be operated in a television, a mobile terminal or a PC terminal, wherein each terminal in the blockchain can be a television, and can also be a combination of a television and a mobile terminal or a PC and other terminals.
In this embodiment, each terminal is associated by using a block chain technology, and based on the block chain technology, an account book is set on each terminal to record playing data generated when a user watches programs at each terminal; the data are transmitted among the terminal devices through a network, and the accounts books among the terminals can be mutually transmitted based on a network protocol. Specifically, the playing data of the program is generated through a watching instruction triggered by a user, so that when the user opens the television program by using a television or a mobile terminal, the program watching data is generated at the first terminal, the first terminal acquires the playing data of the program based on the block chain technology, and the playing data is recorded in an account book of the first terminal, so that the acquisition of the playing data is realized.
In this embodiment, the format of the ledger is as follows: video _ record _ info; and each legitimate terminal must have a legitimate key. The format is as follows: video _ record _ info; the record format of the account book is as follows:
Figure BDA0001800867180000071
Figure BDA0001800867180000081
the playing data may specifically include at least one of a program name, a channel, a program link, a viewing time length, and a viewing frequency, where the program name is an integrated art program name, a television program name, and the like, the channel is a central television station, a satellite television in the Zhejiang river, a satellite television in the Hunan river, and the like, and the program link is an address of the integrated art playing in the channel, and when the playing data includes the program link, the playing data may facilitate the user to reach the corresponding program by one key, the viewing time length is a time length for the user to continuously view the program, such as continuously view one hour or two hours, or the viewing time length may also be a number of days for continuously viewing the program, such as continuously click to view the program for three days or ten days, and the viewing frequency is a frequency for the user to view the program by using a motor, or a frequency for the user to view the program, such as recording an on-demand frequency for the program, and the like. The specific terminal can count the watching popularity through the watching duration and the watching times in the playing data, and then recommend the ranking list to the user according to the watching popularity.
Step S30, broadcasting the account book to other terminals in a block chain, so that the other terminals can synchronize the account book;
when the playing data are generated at the first terminal and recorded in the account book, in order to achieve data sharing of other terminals, sharing of the account book is achieved among the other terminals through a network, the first terminal broadcasts the account book to the other terminals of the block chain in a broadcasting mode, and after the other terminals in the block chain receive the account book, the received account book and the playing data of the local account book are synchronized.
In this embodiment, the account book record playing data is set on each terminal, and the playing data recorded on each terminal may be different, so that the account book data of each terminal can be consistent only by synchronizing the playing data of each terminal, at this time, the account book of each terminal needs to be transmitted, and the account book is encrypted and then broadcast in order to ensure the security and legality of the transmitted data.
Specifically referring to fig. 3, the step of broadcasting the ledger to each other terminal in a block chain for the other terminals to synchronize the ledger includes:
step S310, encrypting the account book by adopting a public key;
step S320, broadcasting the encrypted ledger to each of the other terminals in the block chain, so that each of the other terminals synchronizes the ledger.
Based on the block chain technology, each terminal is provided with two keys, wherein each key comprises a public key and a private key, the public key is used for encrypting the account book by adopting the public key when the account book is broadcasted by other terminals, and the private key is used for decrypting the program record watch list when the account book broadcasted by other terminals is received. The public key and the private key terminal are set when being installed, the public key is a key used by each terminal for encrypting the program recording list, each terminal can obtain the public key of each terminal based on the block chain technology, and the private key is a key used by a home terminal for decryption and is only used by the home terminal.
The terminal has the advantages that playing data are generated, the playing data are recorded in the account book, public keys of all the terminals are adopted to encrypt the account book in order to synchronize with data of all the terminals in a block chain, the encrypted account book is safe and reliable, and when external equipment does not have a private key, the external equipment cannot be changed, so that the synchronous safety of the account book of all the terminals is improved.
And step S40, generating a program recommendation list according to the book so as to recommend programs to the user.
And when the first terminal generates playing data, recording the playing data in the account book, and then producing a program recommendation list based on the updated account book to recommend programs to the user.
In this embodiment, the program recommendation list may be an arrangement list based on the number of times the program is watched from top to bottom in the currently played data, or an arrangement list based on the number of times the channel is played from top to bottom in the currently played data, and the like, specifically set according to the recommendation condition of the terminal, or set according to the recommendation requirement of the user.
Each program in the program recommendation list corresponds to a link address associated with the program, and when a user selects a program based on the program recommendation list, the terminal directly skips to the program playing channel or the program storage website based on the link address corresponding to the program to directly play the program, so that the user can conveniently play the program by one key.
In this embodiment, based on a block chain technology, an account book is set on the first terminal, and when playing data of a program is acquired, the playing data is directly recorded in the account book of the first terminal, so that the acquisition of program viewing data of a user is completed without additionally investing in hardware resources of a server, and the hardware cost of the server is saved; the account book is broadcasted to each terminal in the block chain, so that the terminals can synchronize the account book, and the safety and reliability of data are ensured by means of the block chain technology; based on the synchronized account book, each terminal generates a program recommendation list to recommend programs to the user, so that intelligent program recommendation is realized, and the competitiveness of the product is improved.
Further, referring to fig. 4, the second embodiment of the program recommending method according to the present invention, based on the first embodiment, before the step of generating the program recommendation list according to the ledger to recommend the program to the user, the method further includes:
step S50, when receiving the account book broadcasted by other terminals in the block chain, synchronizing the account book of the other terminals with the account book recorded by the first terminal.
Based on the block chain technology, when receiving the accounts broadcasted by other terminals in the block chain, the first terminal synchronizes the received accounts with the local account of the first terminal, so that the playing data in the accounts of the terminal and the other terminals in the block chain are consistent, and the data reliability is ensured. Further, based on the consistency of the data of the ledger of each terminal, when the terminal recommends a program recommendation list to the user, it is ensured that the program recommendation list is a complete program recommendation list formed based on the data generated by each terminal.
Similarly, when the first terminal receives the ledger broadcasted by other terminals in the block chain, in order to ensure the security of the data, prevent the data from being changed and synchronize the data, it is determined in advance whether the data is legal, and if not, the data is not synchronized, that is, the program recommendation method further includes:
step S60, when receiving accounts broadcasted by other terminals in the block chain, judging whether the accounts broadcasted by the other terminals are legal;
when the account book broadcasted by the other terminal is legal, step S50 is executed to synchronize the account book of the other terminal with the account book recorded by the first terminal.
And if the account book is legal, the encrypted account book is decrypted based on whether the first terminal can decrypt the encrypted account book, if the decryption is successful, the account book is considered legal, and if the decryption is unsuccessful, the account book is considered illegal or the first terminal does not have the authority for synchronizing the account book.
Specifically, when receiving an account book broadcasted by other terminals in a block chain, decrypting the account book broadcasted by the other terminals by using a private key of the first terminal;
and when the account book broadcasted by the other terminal is successfully decrypted, judging that the account book broadcasted by the other terminal is legal.
The method comprises the steps that a public key and a private key are set based on a terminal, the public key and the private key are paired keys, after the public key is used for encryption, the corresponding private key is used for unlocking the public key, therefore, when the terminal is installed, the public key and the private key are set, other terminals can also use the public key of the terminal to encrypt an account book when the account book is broadcasted by other terminals in a block chain, when a first terminal receives the account book broadcasted by other terminals in the block chain, if the account book can be successfully decrypted by the private key of the first terminal, a program viewing list is legal, and at the moment, the account book broadcasted by other terminals is synchronized with the local account book of the first terminal by the first terminal, so that the data of the account book of each terminal is consistent.
In the embodiment, when the terminal receives the account books broadcasted by other terminals, the account books are synchronized, so that the data of the account books of all the terminals are consistent, and the complete reliability of the data is ensured; meanwhile, before the account book of each terminal is synchronized, whether the account book is legal or not is judged, and then synchronization is carried out, so that data are prevented from being tampered by external equipment, and data errors are avoided.
Further, referring to fig. 5, the present invention provides a third embodiment of a program recommending method, and based on all the embodiments, the step of recording the playing data in the ledger of the terminal includes:
step S210; acquiring program types, wherein the program types comprise on-demand programs and live programs;
step S220; and recording the playing data at a corresponding position of an account book of the first terminal according to the program type.
In this embodiment, the account book of the first terminal is provided with different accounting positions based on different program types, and a playlist may be recommended according to the program types, for example, when viewing records are generated by the terminal, the program type of a currently played program is determined first, if the currently played program type is a video-on-demand program, the play data is recorded in the video-on-demand accounting position of the account book, and if the currently played program type is a live program, the play data is recorded in the live accounting position of the account book.
In this embodiment, the program types of the playing data are analyzed, and the playing data is recorded in nodes, for example, a live program is recorded in a live accounting position of an account book, and an on-demand program is recorded in an on-demand accounting position of the account book, so that data differentiation is realized, a recommendation list of different program types is conveniently formed, different program types form different recommendation lists, and a user can conveniently select the recommendation lists.
Further, referring to fig. 6, the fourth embodiment of the program recommending method according to the present invention is based on all the above embodiments, where the step of generating a program recommendation list according to the ledger so as to recommend a program to a user includes:
step S410, obtaining the watching time length or the watching times of each program;
step S420, determining the arrangement sequence of each program according to the watching duration or the watching times;
step S430, generating the program recommendation list according to the arrangement order.
The method comprises the steps that when a terminal receives playing data, the playing data are recorded in an account book, before the terminal needs to recommend a program recommendation list to a user, the watching duration or the watching times of the program are obtained from the playing data in the account book, the user's favorite degree of the program is determined based on the watching duration or the watching times of the program, the arrangement sequence of the program is determined according to the favorite degree, the program is specifically arranged from top to bottom according to the favorite degree, the program recommendation list is recommended to the user after the arrangement is performed based on the user's favorite degree, and therefore the user can directly obtain a watching link or a channel of the program based on the program recommendation list and further quickly enter into watching.
Preferably, before the terminal recommends the program recommendation list to the user, playing data can be obtained from the corresponding program recommendation list according to the program types, wherein the program types include on-demand programs and live programs, and for the on-demand programs, the user's preference degree for the on-demand programs can be correspondingly determined according to the watching times of the on-demand programs, so as to form an on-demand program recommendation list, such as table 1; and corresponding to the live program, the user's preference degree of the live program can be correspondingly determined according to the watching duration of the live program, so as to form a live program recommendation list, as shown in table 2, based on the difference of program types, program recommendation lists of different types are recommended to the user, so that the user can refer to the live program recommendation lists conveniently, and the user experience effect is improved. The specific form of the program recommendation list may be the form listed in table 1 and table 2 below, and it should be understood that the contents listed in table 1 and table 2 are only for illustration and are not specific limitations, and the scope of the present invention is not limited to the listed form and contents listed in table 1 and table 2.
Table 1:
Figure BDA0001800867180000121
table 2:
Figure BDA0001800867180000131
in the embodiment, the favorite degree of the program is determined according to the watching duration or the watching times of the program, so that a program recommendation list is generated, the program recommendation list is recommended to a user, and the user can select to watch the program with higher current popularity according to the program recommendation list for watching, so that product intellectualization is realized, and user experience is improved.
In order to achieve the above object, the present invention further provides a program recommending terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the program recommendation method as described above.
Preferably, the program recommendation terminal comprises a television and a mobile terminal.
Furthermore, the present invention also provides a computer-readable storage medium having a program recommendation application stored thereon, which when executed by a processor performs the following operations:
acquiring playing data of a program watched by a user on a first terminal, wherein the playing data comprises at least one of a program name, a channel, a program link, watching duration and watching times;
recording the playing data in an account book of the first terminal;
broadcasting the account book to other terminals in a block chain so that the other terminals can synchronize the account book;
and generating a program recommendation list according to the book so as to recommend programs to the user.
Further, the program recommendation application, when executed by the processor, further performs the following:
acquiring program types, wherein the program types comprise on-demand programs and live programs;
and recording the playing data at a corresponding position of an account book of the first terminal according to the program type.
Further, the program recommendation application, when executed by the processor, further performs the following:
encrypting the account book by adopting a public key;
and broadcasting the encrypted account book to the other terminals in the block chain so that the other terminals can synchronize the account book.
Further, the program recommendation application, when executed by the processor, further performs the following:
and when the account book broadcasted by other terminals in the block chain is received, synchronizing the account book broadcasted by other terminals with the account book recorded by the first terminal.
Further, the program recommendation application, when executed by the processor, further performs the following:
when receiving accounts broadcasted by other terminals in a block chain, judging whether the accounts broadcasted by the other terminals are legal or not;
and when the account book broadcasted by the other terminal is legal, executing the step of synchronizing the account book of the other terminal and the account book recorded by the first terminal.
Further, the program recommendation application, when executed by the processor, further performs the following:
when the account book broadcasted by other terminals in the block chain is received, the account book broadcasted by other terminals is decrypted by adopting the private key of the first terminal;
and when the account book broadcasted by the other terminal is successfully decrypted, judging that the account book broadcasted by the other terminal is legal.
Further, the program recommendation application, when executed by the processor, further performs the following:
acquiring the watching time length or the watching times of each program;
determining the arrangement sequence of each program according to the watching duration or the watching times;
and generating the program recommendation list according to the arrangement sequence.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a television, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A program recommendation method, characterized in that said program recommendation method comprises the steps of:
acquiring playing data of a program watched by a user on a first terminal, wherein the playing data comprises at least one of a program name, a channel, a program link, watching duration and watching times;
recording the playing data in an account book of the first terminal;
broadcasting the account book to other terminals in a block chain, so that the other terminals can synchronize the account book;
when receiving accounts broadcasted by other terminals in the block chain, synchronizing the accounts broadcasted by the other terminals with the accounts recorded by the first terminal so as to enable the play data in the accounts of the first terminal and each of the other terminals in the block chain to be consistent;
and generating a program recommendation list based on the ledger updated by the first terminal, and recommending programs to the user based on the first terminal.
2. The program recommendation method of claim 1, wherein the step of recording the play data in a book of the first terminal comprises:
acquiring program types, wherein the program types comprise on-demand programs and live programs;
and recording the playing data at a corresponding position of an account book of the first terminal according to the program type.
3. The program recommendation method of claim 1, wherein the step of broadcasting the ledger to other respective terminals in a blockchain for the other respective terminals to synchronize the ledger comprises:
encrypting the account book by adopting a public key;
and broadcasting the encrypted account book to the other terminals in the block chain so that the other terminals can synchronize the account book.
4. The program recommendation method of claim 1, further comprising:
when receiving accounts broadcasted by other terminals in a block chain, judging whether the accounts broadcasted by the other terminals are legal or not;
and when the account book broadcasted by the other terminal is legal, executing the step of synchronizing the account book of the other terminal and the account book recorded by the first terminal.
5. The program recommendation method of claim 4, wherein said program recommendation method further comprises:
when the account book broadcasted by other terminals in the block chain is received, the account book broadcasted by other terminals is decrypted by adopting the private key of the first terminal;
and when the account book broadcasted by the other terminal is successfully decrypted, judging that the account book broadcasted by the other terminal is legal.
6. The program recommending method according to any one of claims 1 to 5, wherein the step of acquiring broadcast data of a program viewed by a user on the first terminal is performed when the first terminal generates program viewing data.
7. The program recommendation method according to any one of claims 1-5, wherein the step of generating a program recommendation list based on the updated ledger of the first terminal and recommending a program to a user based on the first terminal comprises:
acquiring the watching time length or the watching times of each program;
determining the arrangement sequence of each program according to the watching duration or the watching times;
and generating the program recommendation list according to the arrangement sequence.
8. A program recommendation terminal, characterized in that the program recommendation terminal comprises: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the program recommendation method according to any one of claims 1 to 7.
9. A computer-readable storage medium, having a program recommendation application stored thereon, which when executed by a processor implements the steps of the program recommendation method of any of claims 1-7.
CN201811083801.3A 2018-09-14 2018-09-14 Program recommendation method, terminal and computer readable storage medium Active CN109068149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811083801.3A CN109068149B (en) 2018-09-14 2018-09-14 Program recommendation method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811083801.3A CN109068149B (en) 2018-09-14 2018-09-14 Program recommendation method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109068149A CN109068149A (en) 2018-12-21
CN109068149B true CN109068149B (en) 2022-05-06

Family

ID=64762848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811083801.3A Active CN109068149B (en) 2018-09-14 2018-09-14 Program recommendation method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109068149B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915816A (en) * 2021-12-30 2022-08-16 天翼数字生活科技有限公司 A method and system for collecting and publishing user viewing behavior
CN115407867B (en) * 2022-07-20 2023-10-24 夏前明 Intelligent interaction system based on multiple sensors

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490664A (en) * 2006-07-11 2009-07-22 音乐会技术公司 P2P network for providing real time media recommendations
CN101561821A (en) * 2008-04-17 2009-10-21 埃洛伊科技有限责任公司 Aggregating media collections to provide a primary list and sorted sub-lists
CN106791965A (en) * 2016-12-27 2017-05-31 深圳Tcl数字技术有限公司 TV programme method for pushing and device
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011550A (en) * 2004-06-22 2006-01-12 Sony Corp Information transmission system by cooperative filtering, information processing apparatus to be used for the same, and program to be used in information processing
US8839141B2 (en) * 2007-06-01 2014-09-16 Napo Enterprises, Llc Method and system for visually indicating a replay status of media items on a media device
CN106303591B (en) * 2015-06-03 2019-05-28 中移(苏州)软件技术有限公司 A kind of video recommendation method and device
CN106503574B (en) * 2016-09-13 2019-11-05 中国电子科技集团公司第三十二研究所 Block chain safe storage method
CN107172135A (en) * 2017-05-03 2017-09-15 施瑞琦 Method for statisticsing audience rating and system based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490664A (en) * 2006-07-11 2009-07-22 音乐会技术公司 P2P network for providing real time media recommendations
CN101561821A (en) * 2008-04-17 2009-10-21 埃洛伊科技有限责任公司 Aggregating media collections to provide a primary list and sorted sub-lists
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment
CN106791965A (en) * 2016-12-27 2017-05-31 深圳Tcl数字技术有限公司 TV programme method for pushing and device

Also Published As

Publication number Publication date
CN109068149A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
KR101995425B1 (en) Video display device, terminal device and operating method thereof
CN103988210B (en) Message processing device, server apparatus, information processing method and server processing method
US11212567B2 (en) QR codes for guided service authorization
JP2006005897A (en) Terminal device, content distribution system, information output method, information output program
US20130179698A1 (en) Systems and methods for options relating to power-on of a user equipment device
US12096057B2 (en) Video display system, video display device, contents server, video display method, and video display program
JP5863563B2 (en) Wireless operation control program, wireless terminal, and content viewing system
CN102665112A (en) Method and apparatus for secure transfer and playback of multimedia content
CN109068149B (en) Program recommendation method, terminal and computer readable storage medium
CN101124825B (en) Method and device for secure transmission and playback of multimedia content
US10587927B2 (en) Electronic device and operation method thereof
JP2014236257A (en) Terminal device and network terminal system
CN108307210B (en) Two-dimensional code-based directional media file playing method and device
KR101034344B1 (en) IP system and method for simultaneous viewing through authentication of multiple users
US20180376202A1 (en) Apparatus and method of providing contents
JP2013258758A (en) Content receiver, content reception method, content broadcasting device, content broadcasting method, program, and content broadcasting system
HK1233101A1 (en) Information pushing method and device
HK1233101A (en) Information pushing method and device
JP2017004221A (en) Information processing system, program, and information processing method
JP2016095861A (en) Content reproduction system, content reproduction method, and wireless terminal
JP2013187886A (en) Communication system server device, terminal device, communication method, display method and program
JP2015095788A (en) Broadcast receiving apparatus and portable information 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