WO2016019721A1 - Method, apparatus, and system for acquiring programme information - Google Patents

Method, apparatus, and system for acquiring programme information Download PDF

Info

Publication number
WO2016019721A1
WO2016019721A1 PCT/CN2015/073642 CN2015073642W WO2016019721A1 WO 2016019721 A1 WO2016019721 A1 WO 2016019721A1 CN 2015073642 W CN2015073642 W CN 2015073642W WO 2016019721 A1 WO2016019721 A1 WO 2016019721A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
top box
set top
signal
remote control
Prior art date
Application number
PCT/CN2015/073642
Other languages
French (fr)
Chinese (zh)
Inventor
蔡永生
王晓晖
Original Assignee
深圳创维数字技术有限公司
深圳市创维软件有限公司
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 深圳创维数字技术有限公司, 深圳市创维软件有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2016019721A1 publication Critical patent/WO2016019721A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • 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
    • H04N21/25891Management of end-user data being end-user 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4221Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • 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/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations

Definitions

  • the present invention relates to the field of set top boxes (STBs), and in particular, to a method, device and system for acquiring program information.
  • STBs set top boxes
  • users can connect the TV to the smart set-top box, select the favorite TV program through the network cable and Wireless Fidelity to access the Internet (Internet); users can also connect the TV to the traditional set-top box and receive Fixed TV programs provided by operators; in addition, users can superimpose traditional set-top boxes with smart set-top boxes with HDMI (High Definition Multimedia Interface) to form a "1+1" form of TV program viewing method.
  • the user can watch the television program provided by the operator on the television, and can also browse the video program on the Internet on the television.
  • the smart set-top box and the conventional set-top box constitute the above-mentioned existing "1+1" form
  • the user can only watch the TV program of the traditional set-top box, and cannot directly obtain the program list of the traditional set-top box, nor can the television program of the traditional set-top box be used.
  • the program information is shared with other users of the same social network, and the entertainment experience is single.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method, device, and system for acquiring program information, which can obtain a program information list of a traditional set top box, and provide the program information list to a preset social application, so that the user can The social application performs social activities according to the program information list of the television programs of the traditional set top box.
  • An embodiment of the present invention provides a method for acquiring program information, where the method includes two aspects. Rong.
  • the first aspect is a method for acquiring program information on the first set top box side, including:
  • the first set top box automatically generates a channel change signal according to the predetermined waveform data, and sends the channel change signal to the second set top box;
  • the first set top box receives the video signal of the second set top box;
  • the video signal is a video signal sent by the second set top box after switching the currently played TV channel according to the channel change signal;
  • the first set top box obtains program information corresponding to the video signal according to the video signal of the second set top box, and stores the program information into the program information list;
  • the first set top box automatically generates the channel change signal of the second set top box according to the predetermined waveform data, including:
  • the first set top box selects waveform data corresponding to the change button of the predetermined first remote control device as the predetermined waveform data in the button-waveform database; the waveform data of the second remote control device button signal is stored in the button-waveform database The waveform data of the button signal of the second remote control device is in one-to-one correspondence with the button of the first remote control device;
  • the first set top box generates a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
  • the first set top box obtains program information corresponding to the video signal according to the video signal of the second set top box, including:
  • the first set top box extracts a video image in the video signal
  • the first set top box sends the video image to an image recognition server
  • the first set top box receives the program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is the program information corresponding to the video signal.
  • the method includes:
  • the first set top box receives the first setting signal sent by the first control remote controller, and the first setting signal is used to trigger the first set top box to perform the automatically generating the channel changing signal according to the predetermined waveform data. Step; or
  • the first set top box receives a request for acquiring a program information list sent by the preset social application, and the request is used to trigger the first set top box to perform the step of automatically generating a channel change signal according to the predetermined waveform data.
  • the determining, by the first set top box, whether the program information list includes program information of all television channels of the second set top box includes:
  • the first set top box determines that the program information list includes all television channels of the second set top box. Program information.
  • the first set top box prompts the user to obtain the program information.
  • the receiving, by the first set top box, the video signal of the second set top box includes:
  • the first set top box uses the data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period as the video signal of the second set top box.
  • the first set top box learns the button signal of the second remote control device through the learning process to obtain the button-waveform database,
  • the learning process specifically includes:
  • the first set top box generates and outputs a button prompting information, where the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
  • the first set top box receives the second button signal sent by the second remote control device, and the second button signal is a learning target that the user presses the button to be set on the second remote control device according to the button prompt information.
  • the button signal triggered when the button is pressed;
  • the first set top box records the waveform data of the second button signal; and stores the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
  • the first set top box determines whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the learning is ended. process.
  • the method further includes:
  • the first set top box identifies a button corresponding to the first button signal, and finds waveform data corresponding to the button in the button-waveform database;
  • the button-waveform database stores waveform data of a second remote control device button signal
  • the waveform data of the button signal of the second remote control device is in one-to-one correspondence with the button of the first remote control device;
  • the first set top box simulates a channel switching signal according to the waveform data corresponding to the button, and sends the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box switching, like the channel changing signal TV channel.
  • the generating, by the first set top box, the button prompt information includes:
  • the first set top box displays a virtual first remote control device of the first remote control device on the display device
  • the first set top box prompts the user to set the button to be set through the focus on the virtual first remote control device in the preset order; to prompt the user to press the button to be set on the second remote control device Learning target button.
  • the first set top box determines whether the learning of all the to-be-set buttons is completed according to a preset sequence, including:
  • the first set top box traverses the button-waveform database, and if all the buttons of the first remote control device have corresponding waveform data in the button-wave type database, it is determined that the learning process has been completed; If the button of the first remote control device does not have corresponding waveform data in the button-waveform database, it is determined that the button of the first remote control device does not complete the learning process.
  • the method further includes:
  • the first set top box When the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty, then The first set top box performs the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
  • the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not have the Pressing the corresponding waveform data of the button, prompting the user to skip the code, and receiving the user input to trigger the step of learning the button signal of the second remote control through the learning process to obtain the button-waveform database.
  • the step of the first set top box performing the sending of the channel change signal to the second set top box is specifically: the first set top box passes the infrared emitter Transmitting the channel change signal to the second set top box; the first set top box receiving the second button signal sent by the second remote control device, specifically, the first set top box receives the second remote control device by using an infrared receiver
  • the second button signal; the step of the first set top box to perform the sending of the channel switching signal to the second set top box is specifically: the first set top box sends the channel switching signal to the second set top box by using an infrared transmitter.
  • the second aspect is a method for acquiring program information on the image recognition server side, including:
  • the image recognition server receives the video image sent by the first set top box; the video image is a video image extracted by the first set top box from the video signal; the video signal is automatically generated by the first set top box according to predetermined waveform data a signal, after receiving the channel change signal to the second set top box, the received video signal sent by the second set top box; the video signal is sent by the second set top box after switching the currently played TV channel according to the channel change signal Video signal
  • An image recognition server extracts a television station identifier in the video image
  • the image recognition server traverses the program information database to find program information that matches the television station identification, and if the program information matching the television station identification is found, the program information is transmitted to the first set top box.
  • An embodiment of the present invention provides an apparatus for acquiring program information, where the apparatus includes two aspects of content.
  • the first aspect is a set top box for obtaining program information
  • the set top box is a first set top box, including:
  • An automatic channel changing module configured to automatically generate a channel change signal according to predetermined waveform data, and send the channel change signal to the second set top box;
  • a video receiving module configured to receive a video signal of the second set top box;
  • the video signal is a video signal sent by the second set top box after the currently played TV channel is switched according to the channel change signal;
  • a video processing module configured to obtain program information corresponding to the video signal according to a video signal of the second set top box, and store the program information into the program information list;
  • An information processing module configured to determine whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, send the program information list to a preset social application; when the determination result is no At the same time, the step of automatically generating the channel change signal based on the predetermined waveform data is continued.
  • the automatic channel changing module includes:
  • a channel change signal generating module configured to automatically generate a channel change signal according to predetermined waveform data
  • a channel changing signal sending module configured to send the channel changing signal to the second set top box.
  • the video processing module includes:
  • a program information extraction module configured to obtain program information corresponding to the video signal according to a video signal of the second set top box
  • the program information storage module is configured to store the program information into the program information list.
  • the information processing module includes:
  • a first determining module configured to determine whether the program information list includes program information of all television channels of the second set top box
  • An information sending module configured to send the program information list to a preset social application when the determination result is yes;
  • a looping module configured to trigger the automatic channel changing module to continue to perform the step of automatically generating the channel changing signal according to the predetermined waveform data when the determining result is no.
  • the first set top box further includes a first triggering module, configured to: before the step of automatically transmitting the channel changing signal according to the predetermined waveform data, and sending the channel changing signal to the second set top box, Executing: receiving a first setting signal sent by the first control remote controller, where the first setting signal is used to trigger the automatic channel changing module to perform the step of automatically generating a channel changing signal according to predetermined waveform data; or receiving a request for acquiring a program information list sent by the preset social application, the request for triggering the automatic channel switching module to perform the step of automatically generating a channel change signal according to predetermined waveform data.
  • a first triggering module configured to: before the step of automatically transmitting the channel changing signal according to the predetermined waveform data, and sending the channel changing signal to the second set top box, Executing: receiving a first setting signal sent by the first control remote controller, where the first setting signal is used to trigger the automatic channel changing module to perform the step of automatically generating a channel changing signal according to predetermined waveform data; or receiving a
  • the first set top box further includes an abnormality detecting module, configured to prompt the user to obtain the program information when the program information of the same program name in the program information list continuously appears repeatedly.
  • the video receiving module is specifically configured to use a data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period as a video signal of the second set top box.
  • the channel change signal generating module includes:
  • a waveform selection module configured to select, in the button-waveform database, waveform data corresponding to a predetermined button of the first remote control device as the predetermined waveform data; and the second remote control device button signal is stored in the button-waveform database Waveform data, the waveform data of the second remote control button signal is in one-to-one correspondence with the buttons of the first remote control device;
  • a signal generating module configured to generate a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
  • the first set top box further includes a learning module, configured to learn, by the learning process, the second remote control device, before the step of automatically converting the channel change signal of the second set top box according to the predetermined waveform data Pressing a button signal to obtain the button-waveform database, the learning process specifically includes:
  • the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device in a preset order;
  • the second button signal is a button signal that is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
  • the first set top box further includes a forwarding module, configured to: after the learning module performs the step of learning the button signal of the second remote control device by using the learning process, performing:
  • the channel switching signal is used to control the second set top box to switch the television channel, like the channel changing signal.
  • the first set top box further includes a learning triggering module, configured to: before the step of the learning module performing the learning, by the learning process, the button signal of the second remote control device, performing:
  • the first set top box When the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty, then Triggering to perform the step of learning a button signal of the second remote control device through the learning process to obtain the button-waveform database; or
  • the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not have the Pressing the corresponding waveform data of the button, prompting the user to skip the code, and receiving the user input to trigger the step of learning the button signal of the second remote control through the learning process to obtain the button-waveform database.
  • the learning module includes:
  • a pre-setting module configured to generate and output a button prompting information, where the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
  • a second signal input module configured to receive a second button signal sent by the second remote control device, where the second button signal is used by the user to press the corresponding button to be set on the second remote control device according to the button prompt information.
  • the button signal triggered when the target button is pressed;
  • a storage module configured to record waveform data of the second button signal; store the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
  • the end module is configured to determine whether to complete the learning of all the to-be-set buttons according to a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the process ends. The learning process.
  • the program information extraction module includes:
  • An image extraction module configured to extract a video image in the video signal
  • An image sending module configured to send the video image to an image recognition server
  • the program information receiving module is configured to receive program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is program information corresponding to the video signal.
  • the first determining module is specifically configured to: when the same segment that repeatedly appears in the program information list, if there is a preset number of program information with different program names in the segment, determine the program information.
  • the list contains program information for all television channels of the second set top box.
  • the forwarding module includes:
  • a first signal input module configured to receive a first button signal of the first remote control device
  • a signal processing module configured to identify a button corresponding to the first button signal, and find waveform data corresponding to the button in the button-waveform database; and store a second remote device button signal in the button-waveform database Waveform data, the waveform data of the second remote control button signal is in one-to-one correspondence with the buttons of the first remote control device;
  • a signal output module configured to simulate a channel switching signal according to the waveform data corresponding to the button, and send the channel switching signal to a second set top box; the channel switching signal is used to control the same as the channel changing signal Two set-top boxes switch TV channels.
  • the preset module includes:
  • a display module configured to display a virtual first remote control device of the first remote control device by using a display device
  • a prompting module configured to prompt the user to set the button to be set by the focus on the virtual first remote control device in the preset order, to prompt the user to press the to-be-set on the second remote control device
  • the learning target button corresponding to the button.
  • the ending module includes:
  • a second determining module configured to determine whether to complete learning of all the to-be-set buttons according to a preset order
  • a first processing module configured to: when the determination result is negative, continue to perform the step of generating and outputting the button prompt information
  • the second processing module is configured to end the learning process when the determination result is yes.
  • the signal processing module includes:
  • a signal recognition module configured to identify a button corresponding to the first button signal
  • a waveform data acquiring module configured to find waveform data corresponding to the button in a button-waveform database;
  • the button-waveform database stores waveform data of a button signal of the second remote control device, and the second remote control device
  • the waveform data of the button signal is in one-to-one correspondence with the buttons of the first remote control device.
  • the signal output module includes:
  • a signal simulation module configured to simulate a channel switching signal according to the waveform data corresponding to the button
  • a signal sending module configured to send the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel.
  • the second determining module is specifically configured to traverse the button-waveform database, and if all buttons of the first remote control device have corresponding waveform data in the button-wave type database, determine The preset sequence has completed learning of all the buttons to be set; if there is no corresponding waveform data in the button-waveform database if the button of the first remote control device exists, it is determined that the pair is not completed in the preset order. All the learning of the buttons to be set.
  • the second aspect is the image recognition server, including
  • a receiving unit configured to receive a video image sent by the first set top box; the video image is a video image extracted by the first set top box from a video signal; the video signal is automatically generated by the first set top box according to predetermined waveform data Transmitting a signal, after receiving the channel change signal to the second set top box, receiving the video signal sent by the second set top box; the video signal is after the second set top box switches the currently played TV channel according to the channel change signal The transmitted video signal;
  • a station label extracting unit configured to extract a television station identifier in the video image
  • a program information sending unit configured to traverse the program information database to find program information that matches the television station identifier, and if the program information matching the television station identifier is found, send the program information to the first set top box.
  • the embodiment of the present invention further provides a system for acquiring program information, which includes the first set top box and the second set top box described in all the above contents, and may further include the image recognition server described in the above content.
  • the first set top box sends an automatic channel change signal to the second set top box, and receives the video signal after the second set top box switches the television channel according to the automatic channel change signal, and acquires the video.
  • the program information corresponding to the signal is stored in the program list; if the program list includes all the television programs of the second set top box, the first set top box sends the program list to the preset social application;
  • the program information list of the traditional set top box provides the program information list to the social application, and the user can perform social activities on the social application according to the program information list of the television program of the traditional set top box.
  • the first set top box can learn the button signal of the second remote control device through the learning process, and set the button signal as the button signal corresponding to the button to be set of the first remote control device, so that the first set top box can be realized.
  • the first set top box can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and switch the channel
  • the signal is forwarded to the second set top box to switch the current play program of the second set top box, so that the first set top box and the second set top box can be controlled only by the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box.
  • FIG. 1 is a flow chart of a method of acquiring program information according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method of acquiring program information according to another embodiment of the present invention.
  • FIG. 3 is a flow chart showing a method of acquiring program information according to a third embodiment of the present invention.
  • FIG. 4 is a flow chart of a learning process of an embodiment of the present invention.
  • FIG. 5 is a flowchart of a forwarding process according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method of acquiring program information according to a fourth embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a button information prompting process of a conceptual learning process according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a set top box for acquiring program information according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an automatic channel changing module of a set top box for acquiring program information according to an embodiment of the present invention.
  • FIG. 10 is a video processing module of a set top box for acquiring program information according to an embodiment of the present invention. Schematic;
  • FIG. 11 is a schematic structural diagram of an information processing module of a set top box for acquiring program information according to an embodiment of the present invention
  • FIG. 12 is a schematic structural diagram of a channel change signal generating module of a set top box for acquiring program information according to an embodiment of the present invention
  • FIG. 13 is a schematic structural diagram of a program information extraction module of a set top box for acquiring program information according to an embodiment of the present invention
  • FIG. 14 is a schematic structural diagram of a set top box for acquiring program information according to another embodiment of the present invention.
  • 15 is a schematic structural diagram of a set top box for acquiring program information according to a third embodiment of the present invention.
  • 16 is a schematic structural diagram of a learning module of a set top box for acquiring program information according to an embodiment of the present invention
  • 17 is a schematic structural diagram of a preset module of a set top box for acquiring program information according to an embodiment of the present invention
  • 18 is a schematic structural diagram of an end module of a set top box for acquiring program information according to an embodiment of the present invention
  • FIG. 19 is a schematic structural diagram of a set top box for acquiring program information according to a fourth embodiment of the present invention.
  • 20 is a schematic structural diagram of a forwarding module of a set top box that acquires program information according to an embodiment of the present invention
  • 21 is a schematic structural diagram of a signal processing module of a set top box for acquiring program information according to an embodiment of the present invention
  • 22 is a schematic structural diagram of a signal output module of a set top box for acquiring program information according to an embodiment of the present invention
  • FIG. 23 is a schematic structural diagram of a set top box for acquiring program information according to a fifth embodiment of the present invention.
  • 24 is a schematic structural diagram of an image recognition server according to an embodiment of the present invention.
  • 25 is a schematic structural diagram of a set top box for acquiring program information according to a sixth embodiment of the present invention.
  • 26 is a schematic diagram of a system for acquiring program information according to an embodiment of the present invention.
  • Figure 27 is a schematic diagram of a system for acquiring program information in accordance with another embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for acquiring program information according to an embodiment of the present invention
  • the method describes a process of acquiring program information from a first set top box side, and the method includes:
  • Step S101 The first set top box automatically generates a channel change signal according to the predetermined waveform data, and sends the channel change signal to the second set top box.
  • the channel change signal is the same as the button signal of the channel change button on the remote control device of the second set top box, and is used to control the second set top box to switch the television channel; the predetermined waveform data and the waveform data of the button signal of the switch button the same.
  • the first set top box can set an automatic channel change period. During each automatic channel change period, the first set top box can simulate a channel change signal of the second set top box that generates the same browsing strategy according to the predetermined waveform data, for example, the channel change signal is the upper button of the remote control device of the second set top box.
  • the channel change signal is a button signal of a lower button of the remote control device of the second set top box
  • the down button is used to browse the second one by one TV channels for set-top boxes.
  • the first set top box can transmit the channel change signal through the wireless transmitting device, the wireless transmitting device can be consistent with the wireless transmitter in the remote control device of the second set top box; the second set top box receives After the channel change signal, the mode of switching the TV channel corresponding to the channel change signal is identified, and the currently played TV channel is switched according to the mode.
  • Step S103 The first set top box receives the video signal of the second set top box.
  • the first set top box can be connected to the second set top box through the HDMI line, and the video signal transmitted by the second set top box can be received through the HDMI input interface.
  • the first set top box can The data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period is used as the video signal of the second set top box.
  • the first set top box can also receive the video signal of the second set top box by other means.
  • Step S105 The first set top box obtains program information corresponding to the video signal according to the video signal of the second set top box, and stores the program information into the program information list.
  • the first set top box may extract the video image in the video signal; the first set top box may send the video image to the image recognition server; the first set top box may receive the program information corresponding to the video image returned by the image recognition server; the video image
  • the corresponding program information is the program information corresponding to the video signal.
  • the first set top box may wait for a preset time interval after the transmitting the channel change signal to complete the channel change of the second set top box, and then capture a frame data in the video signal as The video image of the TV channel currently being played by the second set top box. For example, after the first set top box transmits the channel change signal through the wireless transmitting device, it waits for 2 seconds, and then grabs one frame of video data from the HDMI input interface, and compresses the data as a video image. After capturing the video image in the video signal of the TV channel currently playing by the second set top box, the first set top box can send the video image to the image recognition server via the network.
  • the program information database of the image recognition server may store program information of all television programs provided by the broadcast television operator, and the program information may include: a program name, a program number, an image of a program logo, and other related program information; when the image recognition server After receiving the video image sent by the first set top box, the station logo of the video image may be extracted, the program information database is traversed, the program information matching the station logo is found, and the program information matching the station label is returned to the first set top box. .
  • the image recognition server may extract an upper left corner of the video image as a logo portion of the video image, and extract a logo image by using an image processing technology, and the station logo and the program logo of each television program in the database. The images compare the similarities one by one, and return the program information of the television program whose similarity reaches the preset value to the first set top box.
  • the first set top box stores the program information in a program information list, where the program information list is used to store program information of all television channels of the second set top box. It should be noted that the process of the first set top box receiving the image recognition server returning the program information and the process of the first set top box transmitting the video image to the image recognition server may be asynchronous.
  • Step S107 The first set top box determines whether the program information list includes program information of all television channels of the second set top box.
  • the first set top box may determine, by using a predetermined rule, whether the program information list includes program information of all television channels of the second set top box.
  • the predetermined rule may include: when the same segment repeatedly appears in the program information list, the preset set number of program information having different program names in the segment, the first set top box determines that the program information list includes Program information for all TV channels of the second set top box. For example, referring to Table 1, the same segment is repeated in the program information list shown in Table 1. There are 3 different programs in the segment, and the program information list shown in the first set top box determination table 1 includes the second set top box. Program information for all TV channels.
  • the first set top box prompts the user to obtain the program information.
  • the first set top box may determine that the process of acquiring the program information list is abnormal, and prompt the user for the abnormal information. For example, referring to Table 2, the "one central unit" in the program information list shown in Table 2 is repeatedly repeated five times, and the program information list shown in the first set top box determination table 2 is an abnormal program information list.
  • the first set top box may further determine, by other means, whether the program information list includes program information of all television channels of the second set top box, which is not limited herein.
  • Step S109 The first set top box sends the program information list to the preset social application.
  • the first set top box may perform the process of acquiring the program information described in steps S101 to S107, and send the program information list to the pre Social apps.
  • the preset social application may be a social application on the first set top box or a social application on the social TV connected to the first set top box. If the preset social application is a social application on the first set top box, the first set top box can implement data communication by storing the program information list in the shared directory, so that the preset social application can obtain the same from the shared directory. A list of program information. If the preset social application is a social application on the social TV, the first set top box can transmit the program information list to the preset social application on the social TV side through the HDMI output interface.
  • the predetermined waveform data described in step S101 can be obtained by: the first set top box selects waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data.
  • the button-waveform database stores waveform data of the second remote control button signal, and the waveform data of the second remote control button signal is in one-to-one correspondence with the button of the first remote control device; the first set top box is changed according to the predetermined first remote control device;
  • the waveform data corresponding to the button of the station generates a channel change signal of the second set top box.
  • the method further includes: receiving, by the first set top box, a first setting signal sent by the first control remote controller, the first setting signal is used to trigger the first set top box to perform step S101; or the first set top box receives the foregoing preset And a request for obtaining a program information list sent by the social application, the request is used to trigger the first set top box to perform step S101.
  • the triggering condition that the first set top box performs the process of acquiring the program information of the second set top box as described in steps S101 to S109 may include: the first set top box receives the user pressing a specific setting button on the first remote control device. a key triggering signal, the specific setting button is used to trigger a working process of the first set top box to obtain program information of the second set top box; the first set top box receives a request sent by the social application to obtain program information of the second set top box, the request A working process for triggering the first set top box to enter program information for acquiring the second set top box.
  • the waveform data of the button signal of the second remote control device in the button-waveform database may be pre-customized, or may be obtained by the first set top box learning the button signal of the second remote control device through a learning process;
  • the change button of the predetermined first remote control device may be the direction button of the first remote control device for browsing the TV channel forward or backward, or the number key on the first remote control device, or may be the first remote control device.
  • the button with the function of changing the stage, which is specially agreed with the first set top box, is not limited herein.
  • FIG. 2 which is a method for acquiring program information according to another embodiment of the present invention
  • the method describes a process of acquiring program information from an image recognition server side, and the method includes:
  • Step S201 The image recognition server receives the video image sent by the first set top box.
  • the first set top box can capture the video data in the video signal transmitted by the second set top box as the video image on the video input interface, and send the video image to the image recognition server through the network.
  • the image recognition server receives the video image transmitted by the first set top box.
  • Step S203 The image recognition server extracts the television station identifier in the video image.
  • the image recognition server may extract the upper left corner of the video image as a logo portion of the video image, and extract the logo image as a television station identifier by using image processing technology.
  • Step S205 The image recognition server traverses the program information database to find program information matching the television station identifier, and if the program information matching the television station identifier is found, the program information is sent to the first set top box.
  • the program information database of the image recognition server may store program information of all television programs provided by the broadcast television operator, and the program information may include: a program name, a program number, an image of a program logo, and other related program information;
  • the image recognition server may traverse the program information database to find a match with the station logo. Program information, and return program information matching the station logo to the first set top box.
  • the image recognition server compares the logo image with the image of the program logo of each television program in the database one by one, and returns the program information of the television program whose similarity is higher than the preset value to the first A set top box.
  • FIG. 3 is a flowchart of a method for acquiring program information according to a third embodiment of the present invention
  • the method describes a process of acquiring program information from a first set top box side, and the method includes:
  • Step S301 The first set top box receives a request for acquiring a program information list sent by a preset social application.
  • the first set top box may Receiving a request for acquiring the program information list sent by the preset social application, the request is used to trigger a working process in which the first set top box enters the program information of acquiring the second set top box.
  • the preset social application may be a social application on the first set top box or a social application on the social TV connected to the first set top box.
  • Step S303 The first set top box automatically generates a channel change signal according to the predetermined waveform data, and sends the channel change signal to the second set top box.
  • the predetermined waveform data may be obtained by: the first set top box selects waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data; and the button-waveform database
  • the waveform data of the second remote control device button signal is stored therein, and the waveform data of the second remote control device button signal is in one-to-one correspondence with the button of the first remote control device;
  • the first set top box is configured according to a predetermined waveform corresponding to the change button of the first remote control device.
  • the data generates a channel change signal of the second set top box.
  • the channel change signal is the same as the button signal of the channel change button on the remote control device of the second set top box, and is used to control the second set top box to switch the television channel; the predetermined waveform data and the waveform data of the button signal of the switch button the same.
  • the first set top box can set an automatic channel change period. During each automatic channel change period, the first set top box can simulate a channel change signal of the second set top box that generates the same browsing strategy according to the predetermined waveform data, for example, the channel change signal is the upper button of the remote control device of the second set top box.
  • the channel change signal is a button signal of a lower button of the remote control device of the second set top box, and the lower button is used to browse the TV channels of the second set top box one by one.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the first set top box can transmit the channel change signal through the wireless transmitting device, the wireless transmitting device can be consistent with the wireless transmitter in the remote control device of the second set top box; the second set top box receives After the channel change signal, the mode of switching the TV channel corresponding to the channel change signal is identified, and the currently played TV channel is switched according to the mode.
  • Step S305 The first set top box receives the video signal of the second set top box.
  • the first set top box can be connected to the second set top box through the HDMI line, and the video signal transmitted by the second set top box can be received through the HDMI input interface.
  • the first set top box can use the data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period as the video signal of the second set top box.
  • the first set top box can also receive the video signal of the second set top box by other means.
  • Step S307 The first set top box extracts a video image in the video signal.
  • the first set top box may wait for a preset time interval after the channel change signal is transmitted, so that the second set top box completes the channel change, and then grabs one frame of the video signal as the second.
  • the video image of the TV channel currently being played by the set top box For example, after the first set top box transmits the channel change signal through the wireless transmitting device, it waits for 2 seconds, and then grabs one frame of video data from the HDMI input interface as a video image.
  • Step S309 The first set top box sends the video image to the image recognition server.
  • the first set top box can compress the video image of the captured second set top box and send it to the image recognition server through the network, where the image recognition server is used to identify the program information corresponding to the video image sent by the first set top box.
  • Step S311 The first set top box receives the program information corresponding to the video image returned by the image recognition server.
  • the program information database of the image recognition server may store program information of all television programs provided by the broadcast television operator, and the program information may include: a program name, a program number, an image of a program logo, and other related program information;
  • the image recognition server may extract the logo of the video image, traverse the program information database, and find Program information matching the station logo, and returning program information matching the station logo to the first set top box.
  • the image recognition server may extract an upper left corner of the video image as a logo portion of the video image, and extract a logo image by using an image processing technology, and the station logo and the program logo of each television program in the database. The images compare the similarities one by one, and return the program information of the television program whose similarity reaches the preset value to the first set top box.
  • process of the first set top box receiving the image recognition server returning the program information and the process of the first set top box transmitting the video image to the image recognition server may be asynchronous.
  • Step S313 The first set top box stores the program information corresponding to the video image into the program information list.
  • the first set top box stores the program information in a program information list, where the program information list is used to store program information of all television channels of the second set top box.
  • Step S315 The first set top box determines whether the program information list includes program information of all television channels of the second set top box.
  • step S107 it can be implemented by referring to step S107.
  • Step S317 The first set top box sends the program information list to the preset social application.
  • step S109 it can be implemented by referring to step S109.
  • the first set top box learns the button signal of the second remote control device through the learning process to obtain the button-waveform database, and the learning process is used to set the button and the second button of the first remote control device.
  • Corresponding relationship between the button signals of the remote control device is stored in the button-waveform database in a one-to-one correspondence between the button of the first remote control device and the waveform data of the button signal of the second remote control device.
  • the learning process includes:
  • the first set top box generates and outputs a button prompting information, and the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
  • the first set top box receives the second button signal sent by the second remote control device, and the second button signal is a button signal triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
  • the button signal is used to control the second set top box;
  • the first set top box records the waveform data of the second button signal; and stores the waveform data of the button to be set and the second button signal in a one-to-one correspondence in the button-waveform database;
  • the first set top box determines whether the learning of all the to-be-set buttons is completed in a preset order. When the result of the disconnection is no, the step of generating and outputting the key prompt information is continued, and when the determination result is YES, the learning process is ended.
  • the foregoing learning process as shown in FIG. 4 may include:
  • Step S401 Start the learning process.
  • Step S403 The first set top box generates and outputs button prompt information, and the button prompt information is used to prompt the user to complete the learning of the button to be set of the first remote control device in a preset order.
  • the first set top box can display the help interface 701 shown in FIG. 7 through the display device, and generate and output the button prompt information, wherein the process includes: the first set top box displays the virtual first remote control of the first remote control device on the display device. And displaying, by the focus on the virtual first remote control device, the user to prompt the user to set the button; in order to prompt the user to press the learning target button corresponding to the button to be set on the second remote control device. As shown in FIG.
  • the first set top box can display the virtual model 703 of the first remote control device on the help interface 701, and can prompt the user to press the button to be set currently needed to learn on the first remote control device through the focus 705;
  • the set top box may prompt the user to press the learning target button of the button to be set on the second remote control device through a UI element, such as a prompt box or a presentation animation; and may set a waiting time for receiving the button signal of the learning target button, if the user If the learning target button of the button to be set is not pressed within the waiting time, the user may be prompted to re-learn the button to be set, and the learning of the button to be set may be directly ended, and the focus 705 is moved to the next button to be set.
  • the above-mentioned focus 405 may be a way of highlighting the currently-set button, or a method of zooming in on the currently-set button, which is not limited herein.
  • Step S405 The first set top box receives the second button signal sent by the second remote control device, and the second button signal is a button signal that is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information.
  • the second button signal is used to control the second set top box.
  • the first set top box receives the button signal sent by the second remote control device.
  • the first set top box can set the waiting time to specify the user in the second remote control. Input time on the device. For example, if the user does not press the learning target button of the button to be set within the waiting time, the user may be prompted to re-learn the button to be set, and the learning of the button to be set may be directly ended, and the focus is moved to the next one.
  • the button to be set The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • Step S407 The first set top box records the waveform data of the second button signal; and stores the waveform of the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database.
  • the first set top box may copy the waveform of the second button signal, and set the waveform data to the waveform data corresponding to the current button to be set, and
  • the waveform data is stored in the button-waveform database in one-to-one correspondence with the button information of the current button to be set; the second button signal is triggered when the user presses the learning target button of the currently-set button on the second remote control device. From the remote control device.
  • Step S409 The first set top box determines whether the learning process is completed.
  • the first set top box traverses the button-waveform database. If all the buttons of the first remote control device have corresponding waveform data in the button-wave type database, it is determined that the learning process has been completed; if there is a button of the first remote control device If there is no corresponding waveform data in the button-waveform database, it is judged that the keys of the first remote control device do not completely complete the above learning process.
  • the first set-top box asks the user whether to continue learning, and if the first set-top box receives the user instruction to end the learning process, Executing the operation of the instruction ends the learning process; if the first set top box receives the user instruction to continue the learning process, the operation of the instruction is executed to continue the learning process.
  • the help interface prompts the user that the "home button” of the first remote control device has not been successfully learned, and asks the user whether to re-learn the "home button” of the first remote control device, if If the received user input is "Yes”, the above learning process is continued; if the received user input is "No", the above learning process is ended.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • step S411 is performed; if the first set top box determines that the learning process is not completed, step S403 is performed.
  • Step S411 End the learning process.
  • the method further includes: receiving a second setting signal sent by the first remote control device, where the second setting signal is used to set the pressing of the first set top box
  • the key processing mode is a learning mode, and the step of learning the button signal of the second remote control device by the learning process is performed; or the button corresponding to the identification of the first button signal is executed, and the button corresponding to the button is found in the button-waveform database.
  • step of waveform data if the button-waveform database is empty, performing the above-mentioned step of learning the button signal of the second remote control device through the learning process; or executing the aforementioned button for identifying the first button signal, at the button -
  • the waveform data corresponding to the button is found in the waveform database, if there is no corresponding waveform data of the button in the button-waveform database, the user is prompted to miss the code, and the user input is received to trigger the execution of the learning process through the learning process.
  • the step of the button signal of the remote control device if there is no corresponding waveform data of the button is found in the waveform database, if there is no corresponding waveform data of the button in the button-waveform database, the user is prompted to miss the code, and the user input is received to trigger the execution of the learning process through the learning process.
  • the triggering situation of the learning mode may mainly include: when the user presses a specific setting button on the first remote control device, the specific setting button is used to trigger the button processing mode of the first set top box to be the learning mode, and the first set top box Setting the current key processing mode to the learning mode, performing the foregoing step of displaying the help interface of the learning process by the display device, generating and outputting the prompt information of the button; or performing the above-mentioned search in the button-waveform database when the first set-top box is in the forwarding mode
  • the step of waveform data corresponding to the button is performed, if the button-waveform database is empty, the current button processing mode can be automatically switched to the learning mode, and the button and waveform data in the button-waveform database can be obtained through the above learning process; or
  • the first set top box performs the above step of finding the waveform data corresponding to the button in the button-waveform database in the forwarding mode, if the button has no corresponding waveform data, the user may be prompted to
  • the first set top box can learn the button signal of the second remote control device through the learning process, and set the button signal as the button signal corresponding to the button to be set of the first remote control device, so that the first set top box can be semi-automatic.
  • the way to learn the button signal of the second remote control device reduces the user's operation.
  • the first set top box can work in a forwarding process, and the forwarding process can be used to simulate a channel switching signal of the second remote control device according to the button signal of the first remote control device. And switching the channel switching signal to the second set top box to switch the current playing program of the second set top box.
  • the forwarding process includes:
  • the first set top box identifies the button corresponding to the first button signal, and finds waveform data corresponding to the button in the button-waveform database;
  • the button-waveform database stores waveform data of the second remote control device button signal, and the second remote control device button signal
  • the waveform data is in one-to-one correspondence with the buttons of the first remote control device;
  • the first set top box simulates a channel switching signal according to the waveform data corresponding to the button, and sends a channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel, like the channel changing signal.
  • buttons-waveform database described in the foregoing forwarding process is obtained by the first set top box through the above learning process.
  • the forwarding process shown in FIG. 5 may include:
  • Step S501 Start the forwarding process.
  • Step S503 The first set top box receives the first button signal of the first remote control device.
  • the first remote control device is a remote control device of the first set top box;
  • the first button signal is a button signal that is triggered when the user presses a button on the first remote control device.
  • the first remote control device may encode the button information and send a wireless signal to the first set top box through the wireless transmitter; the first set top box receives the wireless signal through the wireless receiver, and solves the problem.
  • the key information corresponding to the wireless signal can be obtained.
  • the first remote control device may encode the information of the button and send the infrared wave to the first set top box through the infrared transmitter, and correspondingly, the first set top box may pass the infrared
  • the receiver receives the infrared wave, converts the infrared wave into an electrical signal, and demodulates the button information corresponding to the electrical signal.
  • the channel change button may be the direction button of the first remote control device for browsing the TV channel forward or backward. It can also be a number key on the first remote control device, and can also be a button with a channel changing function specially agreed by the first remote control device and the first set top box, which is not limited herein.
  • Step S505 The first set top box identifies the button corresponding to the first button signal, and finds the waveform data corresponding to the button in the button-waveform database.
  • the button-waveform database may mainly store the button information of the first remote control device and the waveform data of the button signal of the second remote control device, wherein the waveform data of the button signal of the second remote control device is used to simulate the second control The button signal of the set top box; the button information of the first remote control device and the second remote The waveform data of the button signal of the control device has a one-to-one correspondence.
  • the button represented by the button signal of the second remote control device and the button represented by the button information of the first remote control device may have the same Functional significance.
  • the direction button of the backward shifting of the first remote controller corresponds to the waveform A, which is the waveform of the button signal of the direction button of the backward shifting of the second remote controller.
  • the "+" volume up key of the first remote controller corresponds to the waveform B, which is the waveform of the button signal of the "+" volume up key of the second remote controller.
  • the first set top box can obtain the code information corresponding to the first button signal by demodulating the first button signal, and can determine the button information corresponding to the code information; and then, the first set top box
  • the waveform data of the button signal of the second remote control device corresponding to the button information may be found in the button-waveform database, and a forwarding signal is generated according to the waveform data, and the forwarding signal is used to simulate the second set-top box controlled by the second remote control device. Button signal.
  • the waveform data of the button signal of the second remote control device in the button-waveform database may be pre-customized, or may be obtained by the first set-top box learning the button signal of the second remote control device through a learning process.
  • Step S507 The first set top box simulates the channel switching signal of the second remote control device according to the waveform data corresponding to the button, and sends the channel switching signal to the second set top box.
  • step S505 when the first set top box recognizes that the button information corresponding to the first button signal is the channel change button, the first set top box can find the waveform data corresponding to the channel change button in the button-waveform database;
  • the forwarding signal may be generated according to the waveform data, and the forwarding signal is sent to the second set top box; the forwarding signal is a channel switching signal of the second machine remote control device, and is used to control the second set top box to switch the television channel.
  • Step S509 End the forwarding process.
  • the first set top box ends the forwarding process, and the button processing mode can be adjusted to the normal mode, that is, the button signal of the first remote control device is received, and the command of the button signal of the first remote control device is executed.
  • the first set top box can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and forward the channel switching signal to the second set top box to switch the current state of the second set top box.
  • the program can be played, and the first set top box and the second set top box can be controlled only by the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box.
  • FIG. 6 is a flowchart of a method for acquiring program information according to a fourth embodiment of the present invention
  • the method describes a process of acquiring program information from a first set top box side, and the method includes:
  • Step S601 The first set top box works in the forwarding process.
  • the first set top box can operate in the forwarding process shown in FIG.
  • the first set top box receives the button signal of the first remote control device, and can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and forward the channel switching signal to the second set top box.
  • the first set top box and the second set top box can be controlled by only the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box.
  • the forwarding process may be specifically the process described in steps S501 to S509.
  • Step S603 The first set top box determines whether the button-waveform database is empty.
  • the button-waveform database may be detected first. If the button-waveform database is empty, step S605 is performed; if the button-waveform database is not empty, the execution is performed. Step S607.
  • Step S605 The first set top box learns the key signal of the second remote control device through the learning process.
  • the learning process shown in FIG. 4 can be entered.
  • the first set top box learns the button signal waveform of the second remote control device through a learning process, and the learning process is used to set a correspondence between the button of the first remote control device and the button signal of the second remote control device, and the first remote control
  • the button of the device is stored in the button-waveform database in a one-to-one correspondence with the waveform data of the button signal of the second remote control device.
  • the learning process may specifically be the process described in steps S401 to S411.
  • Step S607 The first set top box determines whether the program information list is empty.
  • the first set-top box can determine whether the program information list is empty, if the program If the information list is empty, step S609 is performed; if the program information list is not empty, step S611 is performed, and other operations may also be performed, which are not limited herein.
  • Step S609 The first set top box acquires program information of all television channels of the second set top box, and stores the program information into the list.
  • the first set top box determines that the program information list is empty through step S607, The process of acquiring program information shown in FIG.
  • the first set top box sends an automatic channel change signal to the second set top box, and receives the video signal after the second set top box switches the television channel according to the automatic channel change signal, and acquires program information corresponding to the video signal, and stores
  • the program information is included in the program list; if the program list includes all the television programs of the second set top box, the first set top box sends the program list to the preset social application.
  • the process of acquiring program information may be specifically the process described in steps S101 to S109.
  • Step S611 End.
  • the first set-top box performs the process described in steps S601 to S611, and can obtain a program information list of the traditional set-top box, and provide the program information list to the social application, so that the user can implement the social application according to the traditional
  • the program information list of the television program of the set top box performs social activities; the first set top box can also control the first set top box and the second set top box by using only the first remote control device through the forwarding process, so that the television end can watch the television of the second set top box through the first set top box.
  • the first set top box learns the key signal of the second remote control device through the learning process, and the first set top box can learn the key signal of the second remote control device in a semi-automatic manner, thereby reducing user operations.
  • the step of the first set top box performing the sending the channel change signal to the second set top box may specifically be the first set top box passing The infrared transmitter sends the channel change signal to the second set top box; the first set top box receives the second button signal sent by the second remote control device, specifically, the first set top box receives the second remote control device through the infrared receiver
  • the second button signal; the step of the first set top box to perform the sending of the channel switching signal to the second set top box may specifically be that the first set top box sends the channel switching signal to the second set top box through the infrared transmitter.
  • FIG. 7 is a schematic diagram of a key information prompting process of a conceptual learning process according to an embodiment of the present invention.
  • the key information prompting process includes: a first stage 7011 and a second stage 7012, including: a help interface 701, The first remote control device 703 and the focus 705.
  • the help interface 701 can be used to present all the button information of the first set top box; the first remote control device 703 can be used to prompt the user to learn the second remote control device button signal as the first remote control device; the focus 705 can be used for prompting The button to be set on the user's current first remote control device.
  • the focus 705 in the first stage 7011 may prompt the user to press the learning target button of the button with the focus 705 on the second remote control device; when the user presses the first button on the second remote control device
  • the learning target button of the button indicated by the focus 705 in the stage 7011 the first set top box receives the button signal sent by the second remote control device
  • the help interface 701 can be switched from the first stage 7011 to the second stage 7013, wherein the focus is The 705 is moved to the next button to be set.
  • the first remote control device 703 is a virtual first remote control device.
  • the set top box is the first set top box.
  • the set top box 80 shown in FIG. 8 may include an automatic channel changing module 801, a video receiving module 803, a video processing module 805, and an information processing module 807. among them:
  • the automatic channel changing module 801 is configured to automatically generate a channel change signal according to predetermined waveform data, and send the channel change signal to the second set top box;
  • the video receiving module 803 is configured to receive a video signal of the second set top box, where the video signal is a video signal sent by the second set top box after the currently played TV channel is switched according to the channel change signal;
  • the video processing module 805 is configured to obtain program information corresponding to the video signal according to the video signal of the second set top box, and store the program information into the program information list;
  • the information processing module 807 is configured to determine whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, send the program information list to the preset social application; when the determination result is no And triggering the automatic channel changing module 801 to perform the step of automatically generating the channel changing signal according to the predetermined waveform data.
  • the automatic channel changing module 801 can include a channel changing signal generating module 8011 and a channel changing signal sending module 8013 as shown in FIG. 9, wherein:
  • a channel change signal generating module 8011 configured to automatically generate a channel change signal according to predetermined waveform data
  • the channel change signal sending module 8013 is configured to send the channel change signal to the second set top box.
  • the video processing module 805 can include a program information extraction module 8051 and a program information storage module 8053 as shown in FIG. among them:
  • the program information extraction module 8051 is configured to obtain program information corresponding to the video signal according to the video signal of the second set top box;
  • the program information storage module 8053 is configured to store the program information into the program information list.
  • the information processing module 807 may include: a first determining module 8071, an information sending module 8073, and a looping module 8075 as shown in FIG. among them:
  • the first determining module 8071 is configured to determine whether the program information list includes the second set top box Program information for all TV channels;
  • the information sending module 8073 is configured to: when the determination result is yes, send the program information list to the preset social application;
  • the looping module 8075 is configured to trigger the automatic channel changing module 801 to continue to perform the step of automatically generating the channel changing signal according to the predetermined waveform data when the determination result is no.
  • the channel change signal generating module 8011 may include a waveform selecting module 80111 and a signal generating module 80113 as shown in FIG. 12 . among them:
  • the waveform selection module 80211 is configured to select waveform data corresponding to the change button of the predetermined first remote control device as the predetermined waveform data in the button-waveform database; and store the waveform of the second remote control button signal in the button-waveform database. Data, the waveform data of the button signal of the second remote control device and the button of the first remote control device are in one-to-one correspondence;
  • the signal generating module 80113 is configured to generate a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
  • the program information extraction module 8051 may include an image extraction module 80511, an image sending module 80513, and a program information receiving module 80515 as shown in FIG. among them:
  • An image extraction module 80511 is configured to extract a video image in the video signal.
  • the image sending module 80513 is configured to send the video image to the image recognition server
  • the program information receiving module 80515 is configured to receive program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is program information corresponding to the video signal.
  • FIG. 14 is a schematic structural diagram of a set top box for acquiring program information according to another embodiment of the present invention.
  • the structure of the set top box 80 may be further described.
  • the set top box 80 may include an automatic channel changing module 801 and a video receiving module 803.
  • the video processing module 805 and the information processing module 807 may further include: a first trigger module 809 and an abnormality detecting module 811, where:
  • the first triggering module 809 is configured to: before the step of automatically generating the channel changing signal according to the predetermined waveform data, and transmitting the channel changing signal to the second set top box, the automatic switching module 801 is configured to: receive the first control remote controller a first setting signal sent, the first setting signal is used to trigger the automatic channel changing module 801 to perform the step of automatically generating a channel changing signal according to predetermined waveform data; or receiving a request for acquiring a program information list sent by a preset social application , the request is used to trigger the automatic channel change module 801 The step of automatically generating a channel change signal based on the predetermined waveform data is performed.
  • the abnormality detecting module 811 is configured to prompt the user to obtain the program information when the program information of the same program name in the program information list is repeatedly repeated.
  • FIG. 15 is a schematic structural diagram of a set top box for acquiring program information according to a third embodiment of the present invention.
  • the structure of the set top box 80 may be further described.
  • the set top box 80 may include an automatic channel changing module 801 and a video receiving module 803.
  • the video processing module 805 and the information processing module 807 may further include: a learning triggering module 813 and a learning module 815, where:
  • the learning module 815 is configured to learn the button signal of the second remote control device through the learning process to obtain the button-waveform database before the automatic channel changing module 801 performs the step of automatically generating the channel change signal of the second set top box according to the predetermined waveform data.
  • the learning process specifically includes:
  • button prompt information is used to prompt the user to complete the learning of the button to be set of the first remote control device in a preset order
  • the second button signal is a button signal triggered by the user when pressing the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
  • the automatic page changing module 801 Determining whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the automatic page changing module 801 is triggered to execute the step of generating and outputting the button prompt information; when the determination result is yes, the process ends. The learning process.
  • the learning triggering module 813 is configured to: before the learning module 815 block performs the step of learning the button signal of the second remote control device through the learning process, performing:
  • the automatic channel changing module 801 performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty
  • the trigger learning module 815 performs the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
  • the automatic channel changing module 801 performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not exist Corresponding waveform data of the change button, prompting the user to miss the code of the change button, and receiving the user input to trigger the learning module 815 to perform the learning of the button signal of the second remote control device through the learning process to obtain the button - The steps of the waveform database.
  • the learning module 815 may include a preset module 8151, a second signal input module 8153, a storage module 8155, and an end module 8157 as shown in FIG. 16. among them:
  • the preset module 8151 is configured to generate and output button prompt information, and the button prompt information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
  • the second signal input module 8153 is configured to receive a second button signal sent by the second remote control device, where the second button signal is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information.
  • Button signal sent by the second remote control device, where the second button signal is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information.
  • the storage module 8155 is configured to record waveform data of the second button signal; and store the waveform of the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
  • the end module 8157 is configured to determine whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the triggering pre-setting module 8151 performs the step of generating and outputting the button prompt information; If yes, the learning process ends.
  • the preset module 8151 can include as shown in FIG. 17:
  • a display module 81511 configured to display, by the display device, a virtual first remote control device of the first remote control device;
  • the prompting module 81513 is configured to prompt the user to set a button through the focus on the virtual first remote control device in a preset order to prompt the user to press the learning target button corresponding to the button to be set on the second remote control device.
  • the ending module 8157 may include a second determining module 81571, a first processing module 81573, and a second processing module 81575 as shown in FIG. 18. among them:
  • the second determining module 81571 is configured to determine whether to complete learning of all the to-be-set buttons in a preset order
  • the first processing module 81573 is configured to: when the determination result is no, trigger the pre-setting module 8151 to perform the step of generating and outputting the button prompt information;
  • the second processing module 81575 is configured to end the learning process when the determination result is YES.
  • FIG. 19 is a schematic structural diagram of a set top box for acquiring program information according to a fourth embodiment of the present invention.
  • the structure of the set top box 80 is further described.
  • the set top box 80 includes an automatic channel changing module 801, a video receiving module 803, and a video.
  • the processing module 805, the information processing module 807, the learning module 815, and the learning triggering module 813 may further include: a forwarding module 817, where:
  • the forwarding module 817 is configured to: after the learning module 815 performs the step of learning the button signal of the second remote control device through the learning process, performing: including: receiving a first button signal of the first remote control device; and identifying a button corresponding to the first button signal Finding the waveform data corresponding to the button in the button-waveform database; storing the waveform data of the button signal of the second remote control device in the button-waveform database, and the waveform data of the button signal of the second remote control device and the button of the first remote control device Corresponding to; simulating the channel switching signal according to the waveform data corresponding to the button, and transmitting the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel, like the channel changing signal.
  • the forwarding module 817 may include a first signal input module 8171, a signal processing module 8173, and a signal output module 8175 as shown in FIG. among them:
  • the first signal input module 8171 is configured to receive a first button signal of the first remote control device
  • the signal processing module 8173 is configured to identify a button corresponding to the first button signal, and find waveform data corresponding to the button in the button-waveform database; the waveform data of the button signal of the second remote control device is stored in the button-waveform database, and the second The waveform data of the button signal of the remote control device and the button of the first remote control device are in one-to-one correspondence;
  • the signal output module 8175 is configured to simulate a channel switching signal according to the waveform data corresponding to the button, and send a channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television, like the channel changing signal Channel.
  • the signal processing module 8173 may include a signal identification module 81731 and a waveform data acquisition module 81733 as shown in FIG. 21. among them:
  • a signal identification module 81731 configured to identify a button corresponding to the first button signal
  • the waveform data obtaining module 81733 is configured to find waveform data corresponding to the button in the button-waveform database; the button-waveform database stores waveform data of a button signal of the second remote control device, and the second remote control device The waveform data of the button signal is in one-to-one correspondence with the button of the first remote control device
  • the signal output module 8175 may include a signal simulation module 81751 and a signal transmission module 81753 as shown in FIG. 22 . among them:
  • the signal simulation module 81751 is configured to simulate a channel switching signal according to the waveform data corresponding to the button;
  • the signal sending module 81753 is configured to send a channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel.
  • FIG. 23 is a schematic structural diagram of a set top box for acquiring program information according to a fifth embodiment of the present invention.
  • the structure of the set top box 80 may be further described.
  • the set top box 80 may include an automatic channel changing module 801 and a video receiving module 803.
  • the image recognition server 90 shown in FIG. 24 may include a receiving module 901, a logo extraction module 903, and a program information sending module 905. among them:
  • the receiving module 901 is configured to receive a video image sent by the first set top box; the video image is a video image extracted by the first set top box from the video signal; the video signal is a first set top box automatically generating a channel change signal according to the predetermined waveform data, and sending After receiving the signal to the second set top box, the received video signal sent by the second set top box; the video signal is a video signal sent by the second set top box after switching the currently played TV channel according to the change signal;
  • a station label extraction module 903, configured to extract a television station identifier in the video image
  • the program information sending module 905 is configured to traverse the program information database to find program information that matches the television station identifier. If the program information matching the television station identifier is found, the program information is sent to the first set top box.
  • the set top box 250 is the first set top box.
  • the set top box 250 may include: at least one processor 2501, such as a CPU, at least two network interfaces: a first network interface 2504 and a second network interface 2507, at least one HDMI input interface 2503 and at least one HDMI output interface 2508, at least one infrared transceiver 2506, at least one memory 2505, and at least one communication bus 2502.
  • the communication bus 2502 is used to implement a communication connection between these components.
  • the memory 2505 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 2505 can optionally also be at least one storage device located remotely from the aforementioned processor 2501.
  • a memory 2505 as a computer storage medium may include an operating system, a network communication module, an HDMI module, and a program information acquisition program.
  • the HDMI output interface 2508 is mainly used to connect a television set and transmit television data to the television set;
  • the HDMI input interface 2503 is mainly used to connect the second set top box and receive the television data transmitted by the second set top box;
  • the transceiver 2506 is mainly configured to send the channel change signal automatically generated by the first set top box 250 to the second set top box, receive the first button signal of the first remote control device, and may also be used to forward the second remote control generated according to the button signal of the first remote control device.
  • the channel switching signal of the device; and the processor 2501 can be used to call the switch TV channel program stored in the memory 2505 and perform the following operations:
  • the video signal is a video signal sent by the second set top box after switching the currently played TV channel according to the switching signal;
  • the data automatically generates the step of changing the signal.
  • the step of the processor 2501 performing the step of automatically generating the channel change signal of the second set top box according to the predetermined waveform data may specifically include:
  • the processor 2501 selects waveform data corresponding to the change button of the predetermined first remote control device as predetermined waveform data in the button-waveform database; the waveform data of the second remote control device button signal is stored in the button-waveform database, and the second remote control The waveform data of the device button signal is in one-to-one correspondence with the buttons of the first remote control device;
  • the processor 2501 generates a channel change signal of the second set top box according to the waveform data corresponding to the predetermined change button of the first remote control device.
  • the processor 2501 performs the video signal according to the second set top box to obtain the step of the program information corresponding to the video signal may specifically include: the processor 2501 extracts the video image in the video signal; the processor 2501 sends the video image to the image recognition server; and the processor 2501 receives the video image corresponding to the image recognition server.
  • Program information; the program information corresponding to the video image is the program information corresponding to the video signal.
  • the processor 2501 receives the first control remote controller. a first setting signal sent, the first setting signal is used to trigger the processor 2501 to perform the step of automatically generating a channel change signal according to the predetermined waveform data; or the processor 2501 receives the preset program information list sent by the social application. A request for triggering the processor 2501 to perform the step of automatically generating a channel change signal based on predetermined waveform data.
  • the processor 2501 determining whether the program information list includes the program information of all the TV channels of the second set top box may specifically include: when the same segment repeatedly appears in the program information list, the preset number of programs in the segment The program 2501 determines that the program information list contains program information of all television channels of the second set top box. In addition, when the program information of the same program name in the program information list is continuously repeated, the processor 2501 prompts the user to acquire the program information.
  • the processor 2501 may learn the button signal of the second remote control device through the learning process to obtain the button-waveform database.
  • the learning process specifically includes:
  • the processor 2501 generates and outputs a button prompting information, and the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
  • the processor 2501 receives the second button signal sent by the second remote control device, and the second button signal is a button signal that is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
  • the processor 2501 records the waveform data of the second button signal; and stores the waveform of the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
  • the processor 2501 determines whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the learning process is ended. .
  • the processor 2501 further includes:
  • the processor 2501 receives the first button signal of the first remote control device
  • the processor 2501 identifies a button corresponding to the first button signal, and finds waveform data corresponding to the button in the button-waveform database; the waveform data of the second remote control device button signal is stored in the button-waveform database, and the second remote control device button signal The waveform data is in one-to-one correspondence with the buttons of the first remote control device;
  • the processor 2501 simulates a channel switching signal according to the waveform data corresponding to the button, and sends a channel switching signal to the second set top box.
  • the channel switching signal is used to control the second set top box to switch the television channel, similar to the channel changing signal.
  • the step of the processor 2501 executing the generating and outputting the button prompt information may specifically include: the processor 2501 displaying the virtual first remote control device of the first remote control device on the display device; the processor 2501 is in a preset order The user is prompted to set a button by focusing on the virtual first remote control device; to prompt the user to press the learning target button corresponding to the button to be set on the second remote control device.
  • the step of the processor 2501 performing the determining whether the learning of all the to-be-set buttons is completed in a preset order may specifically include: the processor 2501 traversing the button-waveform database, if all the buttons of the first remote control device are If there is a corresponding waveform data in the button-wave type database, it is judged that the learning process has been completed; if there is a button of the first remote control device that does not have corresponding waveform data in the button-waveform database, the button of the first remote control device is determined. The learning process is not fully completed.
  • the processor 2501 further includes:
  • the processor 2501 receives a second setting signal sent by the first control remote controller, and the second setting signal is used to trigger the processor 2501 to perform the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
  • the processor 2501 When the processor 2501 performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device as the predetermined waveform data in the button-waveform database, if the button-waveform database is empty, the processor 2501 executes The step of learning a button signal of the second remote control device through the learning process to obtain a button-waveform database; or
  • the processor 2501 performs the selection of the predetermined first remote control device in the button-waveform database When the waveform data corresponding to the switch button is used as the predetermined waveform data, if the corresponding waveform data of the change button is not present in the button-waveform database, the user is prompted to miss the code, and the user input is received to trigger the processor. 2501 performs the step of learning a key signal of the second remote control device through the learning process to obtain a button-waveform database.
  • the processor 2501 transmits the channel change signal to the second set top box through the infrared transmitter; the processor 2501 receives the second remote control device through the infrared receiver. The second button signal is sent; the processor 2501 sends the channel switching signal to the second set top box through the infrared transmitter.
  • FIG. 26 is a schematic diagram of a system for acquiring program information according to an embodiment of the present invention
  • the system for acquiring program information shown in FIG. 26 may include: a first set top box 261 and a second set top box 263. among them:
  • the first set top box 261 automatically generates a channel change signal according to the predetermined waveform data, and transmits the channel change signal to the second set top box 263;
  • the first set top box 261 receives the video signal of the second set top box 263;
  • the video signal is a video signal sent by the second set top box 263 after switching the currently played TV channel according to the change signal;
  • the first set top box 261 obtains program information corresponding to the video signal according to the video signal of the second set top box, and stores the program information into the program information list;
  • the first set top box 261 determines whether the program information list includes the program information of all the television channels of the second set top box 263. When the determination result is yes, the program information list is sent to the preset social application; when the judgment result is no, the execution continues. The step of automatically generating a channel change signal based on predetermined waveform data.
  • first set top box 261 may be the set top box 80 shown in FIG. 8 to FIG. 23 above.
  • first set top box 261 may also be the set top box 250 shown in FIG. 25;
  • function module reference may be made to the description of the set top box 80 or the set top box 250 in the above embodiment, and details are not described herein again.
  • first set top box 261 and the second set top box described in the foregoing content may be the same hardware physical module, and may be two separate hardware physical modules.
  • FIG. 27 is a schematic diagram of a system for acquiring program information according to another embodiment of the present invention
  • the system for acquiring program information shown in FIG. 27 includes a first set top box 261 and a second set top box 263, and may further include image recognition.
  • Server 265. the image recognition server 265 can be the above FIG. 24
  • the illustrated image recognition server 90, the various functional modules of the image recognition server 265 can refer to the description of the image recognition server 90, and details are not described herein again.
  • the first set top box sends an automatic channel change signal to the second set top box, and receives the video signal after the second set top box switches the television channel according to the automatic channel change signal, and obtains the corresponding video signal.
  • the program information is stored in the program list; if the program list includes all the television programs of the second set top box, the first set top box sends the program list to the preset social application; the embodiment of the present invention can implement the acquisition of the traditional set top box.
  • the program information list provides the program information list to the social application, and the user can perform social activities on the social application according to the program information list of the television program of the traditional set top box.
  • the first set top box can learn the button signal of the second remote control device through the learning process, and set the button signal as the button signal corresponding to the button to be set of the first remote control device, so that the first set top box can be realized.
  • the first set top box can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and switch the channel
  • the signal is forwarded to the second set top box to switch the current play program of the second set top box, so that the first set top box and the second set top box can be controlled only by the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)

Abstract

Disclosed in the embodiments of the present invention is a method for acquiring programme information, comprising: a first set-top box, on the basis of pre-determined waveform data, automatically produces a channel-switching signal, and sends said channel-switching signal to a second set-top box; the first set-top box receives a video signal from the second set-top box, acquires programme information corresponding to said video signal, and stores said programme information in a programme information list; said video signal is a video signal sent by the second set-top box after switching the currently playing television channel on the basis of the channel-switching signal; if the programme information list includes all the programme information of the television channel of the second set-top box, sending the programme information list to a preset social application; and if not, continuing to execute the step of automatically producing a channel-switching signal on the basis of pre-determined waveform data. Using the present invention, a programme information list of a traditional set-top box can be acquired, and said programme information list can be provided to a preset social application.

Description

一种获取节目信息的方法、装置及系统Method, device and system for acquiring program information
本申请要求于2014年08月06日提交中国专利局、申请号为201410385405.1,发明名称为“一种获取节目信息的方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201410385405.1, entitled "A Method, Apparatus and System for Obtaining Program Information", filed on August 06, 2014, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及机顶盒(STB)领域,尤其涉及一种获取节目信息的方法、装置及系统。The present invention relates to the field of set top boxes (STBs), and in particular, to a method, device and system for acquiring program information.
背景技术Background technique
目前,用户可以将电视与智能机顶盒相连接,通过网线和无线保真Wi-Fi(Wireless Fidelity)接入因特网(Internet)来选择喜欢的电视节目;用户还可以将电视与传统机顶盒相连接,接收运营商提供的固定的电视节目;另外,用户还可以将传统机顶盒与有高清晰度多媒体接口HDMI(High Definition Multimedia Interface)的智能机顶盒叠加来形成“1+1”形式的电视节目收看方法,利用该方法用户既可以实现在电视上观看运营商提供的电视节目,还可以实现在电视上浏览因特网(Internet)上的视频节目。At present, users can connect the TV to the smart set-top box, select the favorite TV program through the network cable and Wireless Fidelity to access the Internet (Internet); users can also connect the TV to the traditional set-top box and receive Fixed TV programs provided by operators; in addition, users can superimpose traditional set-top boxes with smart set-top boxes with HDMI (High Definition Multimedia Interface) to form a "1+1" form of TV program viewing method. In this method, the user can watch the television program provided by the operator on the television, and can also browse the video program on the Internet on the television.
但是,当智能机顶盒与传统机顶盒构成的上述现有的“1+1”形式时,用户仅仅可以收看传统机顶盒的电视节目,不能直接获得传统机顶盒的节目列表,也不能将传统机顶盒的电视节目的节目信息分享给同一社交网络的其他用户,娱乐体验单一。However, when the smart set-top box and the conventional set-top box constitute the above-mentioned existing "1+1" form, the user can only watch the TV program of the traditional set-top box, and cannot directly obtain the program list of the traditional set-top box, nor can the television program of the traditional set-top box be used. The program information is shared with other users of the same social network, and the entertainment experience is single.
发明内容Summary of the invention
本发明实施例所要解决的技术问题是提供一种获取节目信息的方法、装置及系统,可以获取传统机顶盒的节目信息列表,提供该节目信息列表至预设的社交应用,可使得用户能够在该社交应用上根据传统机顶盒的电视节目的节目信息列表进行社交活动。The technical problem to be solved by the embodiments of the present invention is to provide a method, device, and system for acquiring program information, which can obtain a program information list of a traditional set top box, and provide the program information list to a preset social application, so that the user can The social application performs social activities according to the program information list of the television programs of the traditional set top box.
为解决上述问题,本发明的技术方案为:In order to solve the above problems, the technical solution of the present invention is:
本发明实施例提供了一种获取节目信息的方法,该方法包括两个方面的内 容。其中第一个方面为第一机顶盒侧的获取节目信息的方法,包括:An embodiment of the present invention provides a method for acquiring program information, where the method includes two aspects. Rong. The first aspect is a method for acquiring program information on the first set top box side, including:
第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒;The first set top box automatically generates a channel change signal according to the predetermined waveform data, and sends the channel change signal to the second set top box;
第一机顶盒接收第二机顶盒的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号;The first set top box receives the video signal of the second set top box; the video signal is a video signal sent by the second set top box after switching the currently played TV channel according to the channel change signal;
第一机顶盒根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息,存储所述节目信息至节目信息列表中;The first set top box obtains program information corresponding to the video signal according to the video signal of the second set top box, and stores the program information into the program information list;
第一机顶盒判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息,当判断结果为是时,发送所述节目信息列表至预设的社交应用;当判断结果为否时,继续执行所述根据预定的波形数据自动产生换台信号的步骤。Determining, by the first set top box, whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, sending the program information list to a preset social application; when the determination result is no, continuing The step of automatically generating a channel change signal based on the predetermined waveform data is performed.
具体的,所述第一机顶盒根据预定的波形数据自动产生第二机顶盒的换台信号包括:Specifically, the first set top box automatically generates the channel change signal of the second set top box according to the predetermined waveform data, including:
第一机顶盒在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;The first set top box selects waveform data corresponding to the change button of the predetermined first remote control device as the predetermined waveform data in the button-waveform database; the waveform data of the second remote control device button signal is stored in the button-waveform database The waveform data of the button signal of the second remote control device is in one-to-one correspondence with the button of the first remote control device;
第一机顶盒根据所述预定的第一遥控装置的换台按键对应的波形数据生成所述第二机顶盒的换台信号。The first set top box generates a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
具体的,所述第一机顶盒根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息包括:Specifically, the first set top box obtains program information corresponding to the video signal according to the video signal of the second set top box, including:
第一机顶盒提取所述视频信号中的视频图像;The first set top box extracts a video image in the video signal;
第一机顶盒发送所述视频图像至图像识别服务器;The first set top box sends the video image to an image recognition server;
第一机顶盒接收图像识别服务器返回的所述视频图像对应的节目信息;所述视频图像对应的节目信息即为所述视频信号对应的节目信息。The first set top box receives the program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is the program information corresponding to the video signal.
具体的,在所述第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒之前,包括:Specifically, before the first set top box automatically generates a channel change signal according to the predetermined waveform data, and before sending the channel change signal to the second set top box, the method includes:
第一机顶盒接收所述第一控制遥控器发送的第一设置信号,所述第一设置信号用于触发第一机顶盒执行所述根据预定的波形数据自动产生换台信号的 步骤;或The first set top box receives the first setting signal sent by the first control remote controller, and the first setting signal is used to trigger the first set top box to perform the automatically generating the channel changing signal according to the predetermined waveform data. Step; or
第一机顶盒接收所述预设的社交应用发送的获取节目信息列表的请求,所述请求用于触发第一机顶盒执行所述根据预定的波形数据自动产生换台信号的步骤。The first set top box receives a request for acquiring a program information list sent by the preset social application, and the request is used to trigger the first set top box to perform the step of automatically generating a channel change signal according to the predetermined waveform data.
具体的,所述第一机顶盒判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息包括:Specifically, the determining, by the first set top box, whether the program information list includes program information of all television channels of the second set top box includes:
当所述节目信息列表中重复出现的相同的片段时,所述片段中有预设个数的节目名称不同的节目信息,则第一机顶盒判定所述节目信息列表包含第二机顶盒的全部电视频道的节目信息。When the same segment repeated in the program information list has a preset number of program information with different program names, the first set top box determines that the program information list includes all television channels of the second set top box. Program information.
具体的,当所述节目信息列表中同一节目名称的节目信息连续重复出现时,第一机顶盒提示用户获取节目信息失败。Specifically, when the program information of the same program name in the program information list is repeatedly repeated, the first set top box prompts the user to obtain the program information.
具体的,所述第一机顶盒接收第二机顶盒的视频信号包括:Specifically, the receiving, by the first set top box, the video signal of the second set top box includes:
第一机顶盒将在视频数据传输期通过HDMI输入接口接收的第二机顶盒传送的数据包作为所述第二机顶盒的视频信号。The first set top box uses the data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period as the video signal of the second set top box.
具体的,在所述第一机顶盒根据预定的波形数据自动产生第二机顶盒的换台信号之前,第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库,所述学习过程具体包括:Specifically, before the first set top box automatically generates the channel change signal of the second set top box according to the predetermined waveform data, the first set top box learns the button signal of the second remote control device through the learning process to obtain the button-waveform database, The learning process specifically includes:
第一机顶盒生成并输出按键提示信息,所述按键提示信息用于提示用户按照预设的顺序完成第一遥控装置的待设置按键的学习;The first set top box generates and outputs a button prompting information, where the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
第一机顶盒接收所述第二遥控装置发出的第二按键信号,所述第二按键信号为用户根据所述按键提示信息在所述第二遥控装置上按下所述待设置按键对应的学习目标按键时触发的按键信号;The first set top box receives the second button signal sent by the second remote control device, and the second button signal is a learning target that the user presses the button to be set on the second remote control device according to the button prompt information. The button signal triggered when the button is pressed;
第一机顶盒记录所述第二按键信号的波形数据;将所述待设置按键与所述第二按键信号的波形数据一一对应地存储于按键-波形数据库;The first set top box records the waveform data of the second button signal; and stores the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
第一机顶盒判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,结束所述学习过程。The first set top box determines whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the learning is ended. process.
具体的,在所述第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库之后,还包括: Specifically, after the first set top box learns the button signal of the second remote control device through the learning process to obtain the button-waveform database, the method further includes:
第一机顶盒接收第一遥控装置的第一按键信号;Receiving, by the first set top box, a first button signal of the first remote control device;
第一机顶盒识别所述第一按键信号对应的按键,在所述按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;The first set top box identifies a button corresponding to the first button signal, and finds waveform data corresponding to the button in the button-waveform database; the button-waveform database stores waveform data of a second remote control device button signal The waveform data of the button signal of the second remote control device is in one-to-one correspondence with the button of the first remote control device;
第一机顶盒根据所述按键对应的波形数据模拟出频道切换信号,发送所述频道切换信号至第二机顶盒;所述频道切换信号与所述换台信号一样,用于控制所述第二机顶盒切换电视频道。The first set top box simulates a channel switching signal according to the waveform data corresponding to the button, and sends the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box switching, like the channel changing signal TV channel.
具体的,所述第一机顶盒生成并输出按键提示信息包括:Specifically, the generating, by the first set top box, the button prompt information includes:
第一机顶盒在显示装置上显示所述第一遥控装置的虚拟的第一遥控装置;The first set top box displays a virtual first remote control device of the first remote control device on the display device;
第一机顶盒按所述预设的顺序在所述虚拟的第一遥控装置上通过焦点来提示用户所述待设置按键;以提示用户在所述第二遥控装置上按下所述待设置按键对应的学习目标按键。The first set top box prompts the user to set the button to be set through the focus on the virtual first remote control device in the preset order; to prompt the user to press the button to be set on the second remote control device Learning target button.
具体的,所述第一机顶盒判断是否按照预设的顺序完成对全部待设置按键的学习包括:Specifically, the first set top box determines whether the learning of all the to-be-set buttons is completed according to a preset sequence, including:
第一机顶盒遍历所述按键-波形数据库,如果所述第一遥控装置的全部按键都在所述按键-波型数据库中有各自对应的波形数据,则判断所述学习过程已完成;如果存在有所述第一遥控装置的按键在所述按键-波形数据库中没有相对应的波形数据,则判断所述第一遥控装置的按键没有全部完成所述学习过程。The first set top box traverses the button-waveform database, and if all the buttons of the first remote control device have corresponding waveform data in the button-wave type database, it is determined that the learning process has been completed; If the button of the first remote control device does not have corresponding waveform data in the button-waveform database, it is determined that the button of the first remote control device does not complete the learning process.
具体的,在所述第一机顶盒通过学习过程学习第二遥控装置的按键信号之前,还包括:Specifically, before the first set top box learns the key signal of the second remote control device through the learning process, the method further includes:
第一机顶盒接收所述第一控制遥控器发送的第二设置信号,所述第二设置信号用于触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或Receiving, by the first set top box, a second setting signal sent by the first control remote controller, where the second setting signal is used to trigger execution of the button signal of the second remote control device through the learning process to obtain the button-waveform database Step; or
第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库为空,则第一机顶盒执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或 When the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty, then The first set top box performs the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库中没有所述换台按键的相应的波形数据,则提示用户所述换台按键漏码,接收用户输入来触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤。The first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not have the Pressing the corresponding waveform data of the button, prompting the user to skip the code, and receiving the user input to trigger the step of learning the button signal of the second remote control through the learning process to obtain the button-waveform database.
具体的,当所述第二遥控装置发送的按键信号为红外波时,所述第一机顶盒执行所述发送所述换台信号至第二机顶盒的步骤具体为所述第一机顶盒通过红外线发射器来发送所述换台信号至第二机顶盒;所述第一机顶盒接收所述第二遥控装置发出的第二按键信号具体为所述第一机顶盒通过红外线接收器来接收所述第二遥控装置发出的第二按键信号;所述第一机顶盒执行所述发送所述频道切换信号至第二机顶盒的步骤具体为所述第一机顶盒通过红外线发射器发送所述频道切换信号至第二机顶盒。Specifically, when the button signal sent by the second remote control device is an infrared wave, the step of the first set top box performing the sending of the channel change signal to the second set top box is specifically: the first set top box passes the infrared emitter Transmitting the channel change signal to the second set top box; the first set top box receiving the second button signal sent by the second remote control device, specifically, the first set top box receives the second remote control device by using an infrared receiver The second button signal; the step of the first set top box to perform the sending of the channel switching signal to the second set top box is specifically: the first set top box sends the channel switching signal to the second set top box by using an infrared transmitter.
其中第二个方面为图像识别服务器侧的获取节目信息的方法,包括:The second aspect is a method for acquiring program information on the image recognition server side, including:
图像识别服务器接收第一机顶盒发送的视频图像;所述视频图像为所述第一机顶盒从视频信号中提取的视频图像;所述视频信号为所述第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒后,接收到的第二机顶盒发送的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号;The image recognition server receives the video image sent by the first set top box; the video image is a video image extracted by the first set top box from the video signal; the video signal is automatically generated by the first set top box according to predetermined waveform data a signal, after receiving the channel change signal to the second set top box, the received video signal sent by the second set top box; the video signal is sent by the second set top box after switching the currently played TV channel according to the channel change signal Video signal
图像识别服务器提取所述视频图像中的电视台标识;An image recognition server extracts a television station identifier in the video image;
图像识别服务器遍历节目信息数据库来寻找与所述电视台标识匹配的节目信息,如果找到与所述电视台标识匹配的节目信息,则发送所述节目信息至所述第一机顶盒。The image recognition server traverses the program information database to find program information that matches the television station identification, and if the program information matching the television station identification is found, the program information is transmitted to the first set top box.
本发明实施例提供了一种获取节目信息的装置,该装置包括两个方面的内容。An embodiment of the present invention provides an apparatus for acquiring program information, where the apparatus includes two aspects of content.
其中第一个方面为获取节目信息的机顶盒,该机顶盒为第一机顶盒,包括:The first aspect is a set top box for obtaining program information, and the set top box is a first set top box, including:
自动换台模块,用于根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒;An automatic channel changing module, configured to automatically generate a channel change signal according to predetermined waveform data, and send the channel change signal to the second set top box;
视频接收模块,用于接收第二机顶盒的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号; a video receiving module, configured to receive a video signal of the second set top box; the video signal is a video signal sent by the second set top box after the currently played TV channel is switched according to the channel change signal;
视频处理模块,用于根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息,存储所述节目信息至节目信息列表中;a video processing module, configured to obtain program information corresponding to the video signal according to a video signal of the second set top box, and store the program information into the program information list;
信息处理模块,用于判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息,当判断结果为是时,发送所述节目信息列表至预设的社交应用;当判断结果为否时,继续执行所述根据预定的波形数据自动产生换台信号的步骤。An information processing module, configured to determine whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, send the program information list to a preset social application; when the determination result is no At the same time, the step of automatically generating the channel change signal based on the predetermined waveform data is continued.
具体的,所述自动换台模块包括:Specifically, the automatic channel changing module includes:
换台信号生成模块,用于根据预定的波形数据自动产生换台信号;a channel change signal generating module, configured to automatically generate a channel change signal according to predetermined waveform data;
换台信号发送模块,用于发送所述换台信号至第二机顶盒。And a channel changing signal sending module, configured to send the channel changing signal to the second set top box.
具体的,所述视频处理模块包括:Specifically, the video processing module includes:
节目信息提取模块,用于根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息;a program information extraction module, configured to obtain program information corresponding to the video signal according to a video signal of the second set top box;
节目信息存储模块,用于存储所述节目信息至节目信息列表中。The program information storage module is configured to store the program information into the program information list.
具体的,所述信息处理模块包括:Specifically, the information processing module includes:
第一判断模块,用于判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息;a first determining module, configured to determine whether the program information list includes program information of all television channels of the second set top box;
信息发送模块,用于当判断结果为是时,发送所述节目信息列表至预设的社交应用;An information sending module, configured to send the program information list to a preset social application when the determination result is yes;
循环模块,用于当判断结果为否时,触发自动换台模块继续执行所述根据预定的波形数据自动产生换台信号的步骤。And a looping module, configured to trigger the automatic channel changing module to continue to perform the step of automatically generating the channel changing signal according to the predetermined waveform data when the determining result is no.
具体的,第一机顶盒还包括第一触发模块,用于在所述自动换台模块执行所述根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒的步骤之前,执行:接收所述第一控制遥控器发送的第一设置信号,所述第一设置信号用于触发所述自动换台模块执行所述根据预定的波形数据自动产生换台信号的步骤;或接收所述预设的社交应用发送的获取节目信息列表的请求,所述请求用于触发所述自动换台模块执行所述根据预定的波形数据自动产生换台信号的步骤。Specifically, the first set top box further includes a first triggering module, configured to: before the step of automatically transmitting the channel changing signal according to the predetermined waveform data, and sending the channel changing signal to the second set top box, Executing: receiving a first setting signal sent by the first control remote controller, where the first setting signal is used to trigger the automatic channel changing module to perform the step of automatically generating a channel changing signal according to predetermined waveform data; or receiving a request for acquiring a program information list sent by the preset social application, the request for triggering the automatic channel switching module to perform the step of automatically generating a channel change signal according to predetermined waveform data.
具体的,第一机顶盒还包括异常检测模块,用于当所述节目信息列表中同一节目名称的节目信息连续重复出现时,提示用户获取节目信息失败。 Specifically, the first set top box further includes an abnormality detecting module, configured to prompt the user to obtain the program information when the program information of the same program name in the program information list continuously appears repeatedly.
具体的,所述视频接收模块具体用于将在视频数据传输期通过HDMI输入接口接收的第二机顶盒传送的数据包作为所述第二机顶盒的视频信号。Specifically, the video receiving module is specifically configured to use a data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period as a video signal of the second set top box.
具体的,所述换台信号生成模块包括:Specifically, the channel change signal generating module includes:
波形选择模块,用于在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;a waveform selection module, configured to select, in the button-waveform database, waveform data corresponding to a predetermined button of the first remote control device as the predetermined waveform data; and the second remote control device button signal is stored in the button-waveform database Waveform data, the waveform data of the second remote control button signal is in one-to-one correspondence with the buttons of the first remote control device;
信号生成模块,用于根据所述预定的第一遥控装置的换台按键对应的波形数据生成所述第二机顶盒的换台信号。And a signal generating module, configured to generate a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
具体的,第一机顶盒还包括学习模块,用于在所述自动换台模块执行所述根据预定的波形数据自动产生第二机顶盒的换台信号的步骤之前,通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库,所述学习过程具体包括:Specifically, the first set top box further includes a learning module, configured to learn, by the learning process, the second remote control device, before the step of automatically converting the channel change signal of the second set top box according to the predetermined waveform data Pressing a button signal to obtain the button-waveform database, the learning process specifically includes:
生成并输出按键提示信息,所述按键提示信息用于提示用户按照预设的顺序完成所述第一遥控装置的待设置按键的学习;Generating and outputting button prompt information, the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device in a preset order;
接收第二遥控装置发出的第二按键信号,所述第二按键信号为用户根据所述按键提示信息在第二遥控装置上按下所述待设置按键对应的学习目标按键时触发的按键信号;Receiving a second button signal sent by the second remote control device, where the second button signal is a button signal that is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
记录所述第二按键信号的波形数据;将所述待设置按键与所述第二按键信号的波形数据一一对应地存储于按键-波形数据库;Recording waveform data of the second button signal; storing the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,结束所述学习过程。Determining whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is YES, the learning process is ended.
具体的,第一机顶盒还包括转发模块,用于在所述学习模块执行所述通过学习过程学习第二遥控装置的按键信号的步骤之后,执行包括:Specifically, the first set top box further includes a forwarding module, configured to: after the learning module performs the step of learning the button signal of the second remote control device by using the learning process, performing:
接收第一遥控装置的第一按键信号;Receiving a first button signal of the first remote control device;
识别所述第一按键信号对应的按键,在所述按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的 按键一一对应;Identifying a button corresponding to the first button signal, and finding waveform data corresponding to the button in the button-waveform database; storing waveform data of a second remote device button signal in the button-waveform database, Waveform data of the second remote control button signal and the first remote control device One-to-one correspondence of buttons;
根据所述按键对应的波形数据模拟出频道切换信号,发送所述频道切换信号至第二机顶盒;所述频道切换信号与所述换台信号一样,用于控制所述第二机顶盒切换电视频道。And simulating a channel switching signal according to the waveform data corresponding to the button, and transmitting the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel, like the channel changing signal.
具体的,第一机顶盒还包括学习触发模块,用于在所述学习模块执行所述通过学习过程学习第二遥控装置的按键信号的步骤之前,执行包括:Specifically, the first set top box further includes a learning triggering module, configured to: before the step of the learning module performing the learning, by the learning process, the button signal of the second remote control device, performing:
接收所述第一遥控装置发送的第二设置信号,所述第二设置信号用于触发执行所述通过学习过程学习所述第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或Receiving, by the first remote control device, a second setting signal, where the second setting signal is used to trigger execution of the button signal of learning the second remote control device through a learning process to obtain the button-waveform database; or
第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库为空,则触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或When the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty, then Triggering to perform the step of learning a button signal of the second remote control device through the learning process to obtain the button-waveform database; or
第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库中没有所述换台按键的相应的波形数据,则提示用户所述换台按键漏码,接收用户输入来触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤。The first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not have the Pressing the corresponding waveform data of the button, prompting the user to skip the code, and receiving the user input to trigger the step of learning the button signal of the second remote control through the learning process to obtain the button-waveform database.
具体的,所述学习模块包括:Specifically, the learning module includes:
预设置模块,用于生成并输出按键提示信息,所述按键提示信息用于提示用户按照预设的顺序完成所述第一遥控装置的待设置按键的学习;a pre-setting module, configured to generate and output a button prompting information, where the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
第二信号输入模块,用于接收第二遥控装置发出的第二按键信号,所述第二按键信号为用户根据所述按键提示信息在第二遥控装置上按下所述待设置按键对应的学习目标按键时触发的按键信号;a second signal input module, configured to receive a second button signal sent by the second remote control device, where the second button signal is used by the user to press the corresponding button to be set on the second remote control device according to the button prompt information. The button signal triggered when the target button is pressed;
存储模块,用于记录所述第二按键信号的波形数据;将所述待设置按键与所述第二按键信号的波形数据一一对应的存储于按键-波形数据库;a storage module, configured to record waveform data of the second button signal; store the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
结束模块,用于判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,则结束所述学习过程。 The end module is configured to determine whether to complete the learning of all the to-be-set buttons according to a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the process ends. The learning process.
具体的,所述节目信息提取模块包括:Specifically, the program information extraction module includes:
图像提取模块,用于提取所述视频信号中的视频图像;An image extraction module, configured to extract a video image in the video signal;
图像发送模块,用于发送所述视频图像至图像识别服务器;An image sending module, configured to send the video image to an image recognition server;
节目信息接收模块,用于接收图像识别服务器返回的所述视频图像对应的节目信息;所述视频图像对应的节目信息即为所述视频信号对应的节目信息。The program information receiving module is configured to receive program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is program information corresponding to the video signal.
具体的,所述第一判断模块具体用于当所述节目信息列表中重复出现的相同的片段时,所述片段中有预设个数的节目名称不同的节目信息,则判定所述节目信息列表包含第二机顶盒的全部电视频道的节目信息。Specifically, the first determining module is specifically configured to: when the same segment that repeatedly appears in the program information list, if there is a preset number of program information with different program names in the segment, determine the program information. The list contains program information for all television channels of the second set top box.
具体的,所述转发模块包括:Specifically, the forwarding module includes:
第一信号输入模块,用于接收第一遥控装置的第一按键信号;a first signal input module, configured to receive a first button signal of the first remote control device;
信号处理模块,用于识别所述第一按键信号对应的按键,在所述按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;a signal processing module, configured to identify a button corresponding to the first button signal, and find waveform data corresponding to the button in the button-waveform database; and store a second remote device button signal in the button-waveform database Waveform data, the waveform data of the second remote control button signal is in one-to-one correspondence with the buttons of the first remote control device;
信号输出模块,用于根据所述按键对应的波形数据模拟出频道切换信号,发送所述频道切换信号至第二机顶盒;所述频道切换信号与所述换台信号一样,用于控制所述第二机顶盒切换电视频道。a signal output module, configured to simulate a channel switching signal according to the waveform data corresponding to the button, and send the channel switching signal to a second set top box; the channel switching signal is used to control the same as the channel changing signal Two set-top boxes switch TV channels.
具体的,所述预设置模块包括:Specifically, the preset module includes:
显示模块,用于通过显示装置显示所述第一遥控装置的虚拟的第一遥控装置;a display module, configured to display a virtual first remote control device of the first remote control device by using a display device;
提示模块,用于按所述预设的顺序在所述虚拟的第一遥控装置上通过焦点来提示用户所述待设置按键,以提示用户在所述第二遥控装置上按下所述待设置按键对应的学习目标按键。a prompting module, configured to prompt the user to set the button to be set by the focus on the virtual first remote control device in the preset order, to prompt the user to press the to-be-set on the second remote control device The learning target button corresponding to the button.
具体的,所述结束模块包括:Specifically, the ending module includes:
第二判断模块,用于判断是否按照预设的顺序完成对全部待设置按键的学习;a second determining module, configured to determine whether to complete learning of all the to-be-set buttons according to a preset order;
第一处理模块,用于当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;a first processing module, configured to: when the determination result is negative, continue to perform the step of generating and outputting the button prompt information;
第二处理模块,用于当判断结果为是时,则结束所述学习过程。 The second processing module is configured to end the learning process when the determination result is yes.
具体的,所述信号处理模块包括:Specifically, the signal processing module includes:
信号识别模块,用于识别所述第一按键信号对应的按键;a signal recognition module, configured to identify a button corresponding to the first button signal;
波形数据获取模块,用于在按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置的按键信号的波形数据,所述第二遥控装置的按键信号的波形数据与所述第一遥控装置的按键一一对应。a waveform data acquiring module, configured to find waveform data corresponding to the button in a button-waveform database; the button-waveform database stores waveform data of a button signal of the second remote control device, and the second remote control device The waveform data of the button signal is in one-to-one correspondence with the buttons of the first remote control device.
具体的,所述信号输出模块包括:Specifically, the signal output module includes:
信号模拟模块,用于根据所述按键对应的波形数据模拟出频道切换信号;a signal simulation module, configured to simulate a channel switching signal according to the waveform data corresponding to the button;
信号发送模块,用于发送所述频道切换信号至第二机顶盒;所述频道切换信号用于控制所述第二机顶盒切换电视频道。And a signal sending module, configured to send the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel.
具体的,所述第二判断模块具体用于遍历所述按键-波形数据库,如果所述第一遥控装置的全部按键都在所述按键-波型数据库中有各自对应的波形数据,则判断按照预设的顺序已完成对全部待设置按键的学习;如果存在有所述第一遥控装置的按键在所述按键-波形数据库中没有相对应的波形数据,则判断按照预设的顺序未完成对全部待设置按键的学习。Specifically, the second determining module is specifically configured to traverse the button-waveform database, and if all buttons of the first remote control device have corresponding waveform data in the button-wave type database, determine The preset sequence has completed learning of all the buttons to be set; if there is no corresponding waveform data in the button-waveform database if the button of the first remote control device exists, it is determined that the pair is not completed in the preset order. All the learning of the buttons to be set.
其中第二个方面为图像识别服务器,包括The second aspect is the image recognition server, including
接收单元,用于接收第一机顶盒发送的视频图像;所述视频图像为所述第一机顶盒从视频信号中提取的视频图像;所述视频信号为所述第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒后,接收到的第二机顶盒发送的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号;a receiving unit, configured to receive a video image sent by the first set top box; the video image is a video image extracted by the first set top box from a video signal; the video signal is automatically generated by the first set top box according to predetermined waveform data Transmitting a signal, after receiving the channel change signal to the second set top box, receiving the video signal sent by the second set top box; the video signal is after the second set top box switches the currently played TV channel according to the channel change signal The transmitted video signal;
台标提取单元,用于提取所述视频图像中的电视台标识;a station label extracting unit, configured to extract a television station identifier in the video image;
节目信息发送单元,用于遍历节目信息数据库来寻找与所述电视台标识匹配的节目信息,如果找到与所述电视台标识匹配的节目信息,则发送所述节目信息至所述第一机顶盒。And a program information sending unit, configured to traverse the program information database to find program information that matches the television station identifier, and if the program information matching the television station identifier is found, send the program information to the first set top box.
本发明实施例还提供了获取节目信息的系统,该系统包括上述所有内容所述的第一机顶盒和第二机顶盒,还可以包括上述内容所述的图像识别服务器。The embodiment of the present invention further provides a system for acquiring program information, which includes the first set top box and the second set top box described in all the above contents, and may further include the image recognition server described in the above content.
通过实施本发明实施例,第一机顶盒向第二机顶盒发送自动换台信号,接收第二机顶盒根据该自动换台信号切换电视频道后的视频信号,并获取该视频 信号对应的节目信息,存储该节目信息至节目列表中;如果该节目列表中包含第二机顶盒的全部电视节目,第一机顶盒发送该节目列表至预设的社交应用;本发明实施例可实现获取传统机顶盒的节目信息列表,提供该节目信息列表至该社交应用,可实现用户在该社交应用上根据传统机顶盒的电视节目的节目信息列表进行社交活动。By implementing the embodiment of the present invention, the first set top box sends an automatic channel change signal to the second set top box, and receives the video signal after the second set top box switches the television channel according to the automatic channel change signal, and acquires the video. The program information corresponding to the signal is stored in the program list; if the program list includes all the television programs of the second set top box, the first set top box sends the program list to the preset social application; The program information list of the traditional set top box provides the program information list to the social application, and the user can perform social activities on the social application according to the program information list of the television program of the traditional set top box.
另外,通过实施本发明实施例,第一机顶盒可通过上述学习过程学习第二遥控装置的按键信号,将该按键信号设置为第一遥控装置的待设置按键对应的按键信号,可实现第一机顶盒以半自动的方式来学习第二遥控装置的按键信号,减少了用户操作;而且,第一机顶盒可根据第一遥控装置的按键信号来模拟出第二遥控装置的频道切换信号,并将该频道切换信号转发给第二机顶盒,来切换第二机顶盒的当前的播放节目,可实现仅用第一遥控装置控制第一机顶盒和第二机顶盒,实现电视端通过第一机顶盒来观看第二机顶盒的电视节目。In addition, by implementing the embodiment of the present invention, the first set top box can learn the button signal of the second remote control device through the learning process, and set the button signal as the button signal corresponding to the button to be set of the first remote control device, so that the first set top box can be realized. Learning the button signal of the second remote control device in a semi-automatic manner, reducing user operation; and, the first set top box can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and switch the channel The signal is forwarded to the second set top box to switch the current play program of the second set top box, so that the first set top box and the second set top box can be controlled only by the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box. .
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明的一种实施例的获取节目信息的方法的流程图;1 is a flow chart of a method of acquiring program information according to an embodiment of the present invention;
图2是本发明的另一种实施例的获取节目信息的方法的流程图;2 is a flow chart of a method of acquiring program information according to another embodiment of the present invention;
图3是本发明的第三种实施例的获取节目信息的方法的流程图;3 is a flow chart showing a method of acquiring program information according to a third embodiment of the present invention;
图4是本发明实施例的学习过程的流程图;4 is a flow chart of a learning process of an embodiment of the present invention;
图5是本发明实施例的转发过程的流程图;FIG. 5 is a flowchart of a forwarding process according to an embodiment of the present invention; FIG.
图6是本发明的第四种实施例的获取节目信息的方法的流程图;6 is a flowchart of a method of acquiring program information according to a fourth embodiment of the present invention;
图7是本发明实施例的概念上的学习过程的按键信息提示过程的示意图;7 is a schematic diagram of a button information prompting process of a conceptual learning process according to an embodiment of the present invention;
图8是本发明的一种实施例的获取节目信息的机顶盒的结构示意图;FIG. 8 is a schematic structural diagram of a set top box for acquiring program information according to an embodiment of the present invention; FIG.
图9是本发明的一种实施例的获取节目信息的机顶盒的自动换台模块的结构示意图;9 is a schematic structural diagram of an automatic channel changing module of a set top box for acquiring program information according to an embodiment of the present invention;
图10是本发明的一种实施例的获取节目信息的机顶盒的视频处理模块的 结构示意图;10 is a video processing module of a set top box for acquiring program information according to an embodiment of the present invention. Schematic;
图11是本发明的一种实施例的获取节目信息的机顶盒的信息处理模块的结构示意图;11 is a schematic structural diagram of an information processing module of a set top box for acquiring program information according to an embodiment of the present invention;
图12是本发明的一种实施例的获取节目信息的机顶盒的换台信号生成模块的结构示意图;12 is a schematic structural diagram of a channel change signal generating module of a set top box for acquiring program information according to an embodiment of the present invention;
图13是本发明的一种实施例的获取节目信息的机顶盒的节目信息提取模块的结构示意图;13 is a schematic structural diagram of a program information extraction module of a set top box for acquiring program information according to an embodiment of the present invention;
图14是本发明的另一种实施例的获取节目信息的机顶盒的结构示意图;FIG. 14 is a schematic structural diagram of a set top box for acquiring program information according to another embodiment of the present invention; FIG.
图15是本发明的第三种实施例的获取节目信息的机顶盒的结构示意图;15 is a schematic structural diagram of a set top box for acquiring program information according to a third embodiment of the present invention;
图16是本发明的一种实施例的获取节目信息的机顶盒的学习模块的结构示意图;16 is a schematic structural diagram of a learning module of a set top box for acquiring program information according to an embodiment of the present invention;
图17是本发明的一种实施例的获取节目信息的机顶盒的预设置模块的结构示意图;17 is a schematic structural diagram of a preset module of a set top box for acquiring program information according to an embodiment of the present invention;
图18是本发明的一种实施例的获取节目信息的机顶盒的结束模块的结构示意图;18 is a schematic structural diagram of an end module of a set top box for acquiring program information according to an embodiment of the present invention;
图19是本发明的第四种实施例的获取节目信息的机顶盒的结构示意图;19 is a schematic structural diagram of a set top box for acquiring program information according to a fourth embodiment of the present invention;
图20是本发明的一种实施例的获取节目信息的机顶盒的转发模块的结构示意图;20 is a schematic structural diagram of a forwarding module of a set top box that acquires program information according to an embodiment of the present invention;
图21是本发明的一种实施例的获取节目信息的机顶盒的信号处理模块的结构示意图;21 is a schematic structural diagram of a signal processing module of a set top box for acquiring program information according to an embodiment of the present invention;
图22是本发明的一种实施例的获取节目信息的机顶盒的信号输出模块的结构示意图;22 is a schematic structural diagram of a signal output module of a set top box for acquiring program information according to an embodiment of the present invention;
图23是本发明的第五种实施例的获取节目信息的机顶盒的结构示意图;23 is a schematic structural diagram of a set top box for acquiring program information according to a fifth embodiment of the present invention;
图24是本发明的一种实施例的图像识别服务器的结构示意图;24 is a schematic structural diagram of an image recognition server according to an embodiment of the present invention;
图25是本发明的第六种实施例的获取节目信息的机顶盒的结构示意图;25 is a schematic structural diagram of a set top box for acquiring program information according to a sixth embodiment of the present invention;
图26是本发明的一种实施例的获取节目信息的系统的示意图;26 is a schematic diagram of a system for acquiring program information according to an embodiment of the present invention;
图27是本发明的另一种实施例的获取节目信息的系统的示意图。Figure 27 is a schematic diagram of a system for acquiring program information in accordance with another embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。It is to be understood that the terminology used in the embodiments of the present invention is for the purpose of describing the particular embodiments, and is not intended to limit the invention. The singular forms "a", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
参见图1,是本发明的一种实施例的获取节目信息的方法的流程图,该方法从第一机顶盒侧来描述获取节目信息的流程,该方法包括:Referring to FIG. 1, which is a flowchart of a method for acquiring program information according to an embodiment of the present invention, the method describes a process of acquiring program information from a first set top box side, and the method includes:
步骤S101:第一机顶盒根据预定的波形数据自动产生换台信号,发送该换台信号至第二机顶盒。Step S101: The first set top box automatically generates a channel change signal according to the predetermined waveform data, and sends the channel change signal to the second set top box.
具体的,上述换台信号与第二机顶盒的遥控装置上的换台按键的按键信号相同,用来控制第二机顶盒切换电视频道;上述预定的波形数据与该换台按键的按键信号的波形数据相同。具体实现中,第一机顶盒可以设定自动换台周期。在每一个自动换台周期内,第一机顶盒可根据预定的波形数据模拟产生出同样浏览策略的第二机顶盒的换台信号,例如,该换台信号为第二机顶盒的遥控装置的上按键的按键信号,该上按键用于向前逐一浏览第二机顶盒的电视频道;又例如该换台信号为第二机顶盒的遥控装置的下按键的按键信号,该下按键用于向后逐一浏览第二机顶盒的电视频道。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the channel change signal is the same as the button signal of the channel change button on the remote control device of the second set top box, and is used to control the second set top box to switch the television channel; the predetermined waveform data and the waveform data of the button signal of the switch button the same. In a specific implementation, the first set top box can set an automatic channel change period. During each automatic channel change period, the first set top box can simulate a channel change signal of the second set top box that generates the same browsing strategy according to the predetermined waveform data, for example, the channel change signal is the upper button of the remote control device of the second set top box. a button signal for browsing the TV channel of the second set top box one by one; for example, the channel change signal is a button signal of a lower button of the remote control device of the second set top box, and the down button is used to browse the second one by one TV channels for set-top boxes. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
在模拟产生第二机顶盒的换台信号之后,第一机顶盒可以通过无线发射装置发射该换台信号,该无线发射装置可以与第二机顶盒的遥控装置中的无线发射器一致;第二机顶盒接收到该换台信号之后,识别该换台信号对应的切换电视频道的方式,根据该方式切换当前播放的电视频道。After simulating the generation of the channel change signal of the second set top box, the first set top box can transmit the channel change signal through the wireless transmitting device, the wireless transmitting device can be consistent with the wireless transmitter in the remote control device of the second set top box; the second set top box receives After the channel change signal, the mode of switching the TV channel corresponding to the channel change signal is identified, and the currently played TV channel is switched according to the mode.
步骤S103:第一机顶盒接收第二机顶盒的视频信号。Step S103: The first set top box receives the video signal of the second set top box.
具体的,在步骤S101之后,第一机顶盒可通过HDMI线与第二机顶盒相连,可通过HDMI输入接口接收第二机顶盒传输的视频信号。第一机顶盒可 将在视频数据传输期通过HDMI输入接口接收的第二机顶盒传送的数据包作为所述第二机顶盒的视频信号。具体实现中,第一机顶盒还可以通过其他的方式接收第二机顶盒的视频信号。Specifically, after step S101, the first set top box can be connected to the second set top box through the HDMI line, and the video signal transmitted by the second set top box can be received through the HDMI input interface. The first set top box can The data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period is used as the video signal of the second set top box. In a specific implementation, the first set top box can also receive the video signal of the second set top box by other means.
步骤S105:第一机顶盒根据第二机顶盒的视频信号来获得该视频信号对应的节目信息,存储该节目信息至节目信息列表中。Step S105: The first set top box obtains program information corresponding to the video signal according to the video signal of the second set top box, and stores the program information into the program information list.
具体的,第一机顶盒可提取该视频信号中的视频图像;第一机顶盒可发送该视频图像至图像识别服务器;第一机顶盒可接收图像识别服务器返回的该视频图像对应的节目信息;该视频图像对应的节目信息即为该视频信号对应的节目信息。Specifically, the first set top box may extract the video image in the video signal; the first set top box may send the video image to the image recognition server; the first set top box may receive the program information corresponding to the video image returned by the image recognition server; the video image The corresponding program information is the program information corresponding to the video signal.
具体的,在前述自动换台周期中,第一机顶盒可以在发射该换台信号之后,等待预设的时间间隔来让第二机顶盒完成换台,之后抓取该视频信号中的一帧数据作为第二机顶盒当前播放的电视频道的视频图像。例如,第一机顶盒通过无线发射装置发送该换台信号之后,等待2秒,再从HDMI输入接口抓取一帧视频数据,压缩该数据作为视频图像。在抓取到第二机顶盒当前播放的电视频道的视频信号中的视频图像后,第一机顶盒可以通过网络将该视频图像发送给图像识别服务器。图像识别服务器的节目信息数据库中可存储有广播电视运营商提供的全部电视节目的节目信息,该节目信息可包括:节目名称、节目编号、节目台标的图像以及其他相关节目信息;当图像识别服务器接收到第一机顶盒发送的该视频图像之后,可提取该视频图像的台标,遍历节目信息数据库,找到与该台标匹配的节目信息,并返回与该台标匹配的节目信息至第一机顶盒。具体实现中,图像识别服务器可提取视频图像的左上角作为该视频图像的台标部分,通过图像处理技术提取台标图像,将该台标图像和数据库中的每一项电视节目的节目台标的图像逐一比较相似度,返回相似度达到预设值以上的该项电视节目的节目信息至第一机顶盒。Specifically, in the foregoing automatic channel change period, the first set top box may wait for a preset time interval after the transmitting the channel change signal to complete the channel change of the second set top box, and then capture a frame data in the video signal as The video image of the TV channel currently being played by the second set top box. For example, after the first set top box transmits the channel change signal through the wireless transmitting device, it waits for 2 seconds, and then grabs one frame of video data from the HDMI input interface, and compresses the data as a video image. After capturing the video image in the video signal of the TV channel currently playing by the second set top box, the first set top box can send the video image to the image recognition server via the network. The program information database of the image recognition server may store program information of all television programs provided by the broadcast television operator, and the program information may include: a program name, a program number, an image of a program logo, and other related program information; when the image recognition server After receiving the video image sent by the first set top box, the station logo of the video image may be extracted, the program information database is traversed, the program information matching the station logo is found, and the program information matching the station label is returned to the first set top box. . In a specific implementation, the image recognition server may extract an upper left corner of the video image as a logo portion of the video image, and extract a logo image by using an image processing technology, and the station logo and the program logo of each television program in the database. The images compare the similarities one by one, and return the program information of the television program whose similarity reaches the preset value to the first set top box.
具体的,第一机顶盒在接收的图像识别服务器返回的节目信息之后,将该节目信息存储到节目信息列表中,该节目信息列表用于存储第二机顶盒的全部电视频道的节目信息。需要说明的是,第一机顶盒接收图像识别服务器返回节目信息的过程与第一机顶盒发送视频图像至图像识别服务器的过程可以是异步的。 Specifically, after the received image information returned by the image recognition server, the first set top box stores the program information in a program information list, where the program information list is used to store program information of all television channels of the second set top box. It should be noted that the process of the first set top box receiving the image recognition server returning the program information and the process of the first set top box transmitting the video image to the image recognition server may be asynchronous.
步骤S107:第一机顶盒判断该节目信息列表是否包含第二机顶盒的全部电视频道的节目信息。Step S107: The first set top box determines whether the program information list includes program information of all television channels of the second set top box.
具体的,在上述步骤S105之后,第一机顶盒可通过预定规则来判断该节目信息列表是否包含第二机顶盒的全部电视频道的节目信息。具体实现中,该预定规则可包括:当该节目信息列表中重复出现的相同的片段时,该片段中有预设个数的节目名称不同的节目信息,则第一机顶盒判定该节目信息列表包含第二机顶盒的全部电视频道的节目信息。例如,请参阅表1,表1所示的节目信息列表中重复出现了相同的片段,该片段中有3个不同的节目,第一机顶盒判定表1所示的节目信息列表包含了第二机顶盒的全部电视频道的节目信息。Specifically, after the foregoing step S105, the first set top box may determine, by using a predetermined rule, whether the program information list includes program information of all television channels of the second set top box. In a specific implementation, the predetermined rule may include: when the same segment repeatedly appears in the program information list, the preset set number of program information having different program names in the segment, the first set top box determines that the program information list includes Program information for all TV channels of the second set top box. For example, referring to Table 1, the same segment is repeated in the program information list shown in Table 1. There are 3 different programs in the segment, and the program information list shown in the first set top box determination table 1 includes the second set top box. Program information for all TV channels.
节目编号Program number 节目名称name of the show 节目台标Program logo
11 中央一台One central station 台标ATaiwan Standard A
22 中央二台Central two 台标BStation B
33 中央三台Central three 台标CTaiwan Standard C
... ... ...
190190 中央一台One central station 台标ATaiwan Standard A
191191 中央二台Central two 台标BStation B
192192 中央三台Central three 台标CTaiwan Standard C
表1Table 1
另外,当该节目信息列表中同一节目名称的节目信息连续重复出现时,第一机顶盒提示用户获取节目信息失败。In addition, when the program information of the same program name in the program information list is repeatedly repeated, the first set top box prompts the user to obtain the program information.
具体的,当该节目信息列表中同一节目名称的节目信息连续重复出现预设次数以上,第一机顶盒可判定获取节目信息列表的过程出现异常,提示用户该异常的信息。例如,请参阅表2,表2所示的节目信息列表中“中央一台”连续重复出现5次,第一机顶盒判定表2所示的节目信息列表为异常节目信息列表。Specifically, when the program information of the same program name in the program information list is repeatedly repeated for a preset number of times or more, the first set top box may determine that the process of acquiring the program information list is abnormal, and prompt the user for the abnormal information. For example, referring to Table 2, the "one central unit" in the program information list shown in Table 2 is repeatedly repeated five times, and the program information list shown in the first set top box determination table 2 is an abnormal program information list.
节目编号Program number 节目名称name of the show 节目台标Program logo
11 中央一台One central station 台标ATaiwan Standard A
22 中央一台One central station 台标ATaiwan Standard A
33 中央一台One central station 台标ATaiwan Standard A
44 中央一台One central station 台标ATaiwan Standard A
55 中央一台One central station 台标ATaiwan Standard A
... ... ...
表2Table 2
示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。具体实现中,第一机顶盒还可以通过其他方式来判断该节目信息列表是否包含了第二机顶盒的全部电视频道的节目信息,这里不作限制。The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting. In a specific implementation, the first set top box may further determine, by other means, whether the program information list includes program information of all television channels of the second set top box, which is not limited herein.
步骤S109:第一机顶盒发送该节目信息列表至预设的社交应用。Step S109: The first set top box sends the program information list to the preset social application.
具体的,在第一机顶盒接收该预设的社交应用发送的获取节目信息列表的请求之后,第一机顶盒可执行步骤S101至步骤S107所述的获取节目信息的过程,发送该节目信息列表至预设的社交应用。Specifically, after the first set top box receives the request for acquiring the program information list sent by the preset social application, the first set top box may perform the process of acquiring the program information described in steps S101 to S107, and send the program information list to the pre Social apps.
需要说明的是,该预设的社交应用既可以是第一机顶盒上的社交应用,还可以是与第一机顶盒相连的社交电视上的社交应用。如果该预设的社交应用为第一机顶盒上的社交应用,第一机顶盒可通过将该节目信息列表存储在共享目录来实现数据通讯,这样,该预设的社交应用可以从该共享目录获得该节目信息列表。如果该预设的社交应用为社交电视上的社交应用,第一机顶盒可以通过HDMI输出接口传送该节目信息列表至社交电视侧的该预设的社交应用。It should be noted that the preset social application may be a social application on the first set top box or a social application on the social TV connected to the first set top box. If the preset social application is a social application on the first set top box, the first set top box can implement data communication by storing the program information list in the shared directory, so that the preset social application can obtain the same from the shared directory. A list of program information. If the preset social application is a social application on the social TV, the first set top box can transmit the program information list to the preset social application on the social TV side through the HDMI output interface.
进一步的,步骤S101中所述的预定的波形数据可以通过下述方式获得:第一机顶盒在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为该预定的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;第一机顶盒根据预定的第一遥控装置的换台按键对应的波形数据生成第二机顶盒的换台信号。Further, the predetermined waveform data described in step S101 can be obtained by: the first set top box selects waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data. The button-waveform database stores waveform data of the second remote control button signal, and the waveform data of the second remote control button signal is in one-to-one correspondence with the button of the first remote control device; the first set top box is changed according to the predetermined first remote control device; The waveform data corresponding to the button of the station generates a channel change signal of the second set top box.
更进一步的,在步骤S101之前,还包括:第一机顶盒接收第一控制遥控器发送的第一设置信号,该第一设置信号用于触发第一机顶盒执行步骤S101;或第一机顶盒接收上述预设的社交应用发送的获取节目信息列表的请求,该请求用于触发第一机顶盒执行步骤S101。 Further, before step S101, the method further includes: receiving, by the first set top box, a first setting signal sent by the first control remote controller, the first setting signal is used to trigger the first set top box to perform step S101; or the first set top box receives the foregoing preset And a request for obtaining a program information list sent by the social application, the request is used to trigger the first set top box to perform step S101.
具体的,第一机顶盒执行如步骤S101至步骤S109所述的获取第二机顶盒的节目信息的过程的触发条件可主要包括:第一机顶盒接收到用户在第一遥控装置上按下特定的设置按键时触发的按键信号,该特定的设置按键用于触发第一机顶盒进入获取第二机顶盒的节目信息的工作过程;第一机顶盒接收到社交应用发送的获取第二机顶盒的节目信息的请求,该请求用于触发第一机顶盒进入获取第二机顶盒的节目信息的工作过程。Specifically, the triggering condition that the first set top box performs the process of acquiring the program information of the second set top box as described in steps S101 to S109 may include: the first set top box receives the user pressing a specific setting button on the first remote control device. a key triggering signal, the specific setting button is used to trigger a working process of the first set top box to obtain program information of the second set top box; the first set top box receives a request sent by the social application to obtain program information of the second set top box, the request A working process for triggering the first set top box to enter program information for acquiring the second set top box.
需要说明的,上述按键-波形数据库中的第二遥控装置的按键信号的波形数据既可以是预先定制的,还可以是第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得的;上述预定的第一遥控装置的换台按键既可以是第一遥控装置上的向前或向后浏览电视频道的方向按键,也可以是第一遥控装置上的数字键,还可以是第一遥控装置和第一机顶盒特别约定的具有换台功能的按键,这里不作限制。It should be noted that the waveform data of the button signal of the second remote control device in the button-waveform database may be pre-customized, or may be obtained by the first set top box learning the button signal of the second remote control device through a learning process; The change button of the predetermined first remote control device may be the direction button of the first remote control device for browsing the TV channel forward or backward, or the number key on the first remote control device, or may be the first remote control device. The button with the function of changing the stage, which is specially agreed with the first set top box, is not limited herein.
参见图2,是本发明的另一种实施例的获取节目信息的方法,该方法从图像识别服务器侧来描述获取节目信息的流程,该方法包括:Referring to FIG. 2, which is a method for acquiring program information according to another embodiment of the present invention, the method describes a process of acquiring program information from an image recognition server side, and the method includes:
步骤S201:图像识别服务器接收第一机顶盒发送的视频图像。Step S201: The image recognition server receives the video image sent by the first set top box.
具体的,在第一机顶盒经过上述步骤S103之后,第一机顶盒可在视频输入接口抓取第二机顶盒传送的视频信号中的视频数据作为该视频图像,并通过网络发送该视频图像至图像识别服务器;图像识别服务器接收第一机顶盒发送的该视频图像。Specifically, after the first set top box passes the above step S103, the first set top box can capture the video data in the video signal transmitted by the second set top box as the video image on the video input interface, and send the video image to the image recognition server through the network. The image recognition server receives the video image transmitted by the first set top box.
步骤S203:图像识别服务器提取该视频图像中的电视台标识。Step S203: The image recognition server extracts the television station identifier in the video image.
具体的,图像识别服务器可提取视频图像的左上角作为该视频图像的台标部分,通过图像处理技术提取台标图像作为电视台标识。Specifically, the image recognition server may extract the upper left corner of the video image as a logo portion of the video image, and extract the logo image as a television station identifier by using image processing technology.
步骤S205:图像识别服务器遍历节目信息数据库来寻找与该电视台标识匹配的节目信息,如果找到与该电视台标识匹配的节目信息,则发送该节目信息至所述第一机顶盒。Step S205: The image recognition server traverses the program information database to find program information matching the television station identifier, and if the program information matching the television station identifier is found, the program information is sent to the first set top box.
具体的,图像识别服务器的节目信息数据库中可存储有广播电视运营商提供的全部电视节目的节目信息,该节目信息可包括:节目名称、节目编号、节目台标的图像以及其他相关节目信息;在图像识别服务器提取该视频图像中的电视台标识后,图像识别服务器可遍历节目信息数据库,找到与该台标匹配的 节目信息,并返回与该台标匹配的节目信息至第一机顶盒。具体实现中,图像识别服务器可将该台标图像和数据库中的每一项电视节目的节目台标的图像逐一比较相似度,返回相似度达到预设值以上的该项电视节目的节目信息至第一机顶盒。Specifically, the program information database of the image recognition server may store program information of all television programs provided by the broadcast television operator, and the program information may include: a program name, a program number, an image of a program logo, and other related program information; After the image recognition server extracts the television station identifier in the video image, the image recognition server may traverse the program information database to find a match with the station logo. Program information, and return program information matching the station logo to the first set top box. In a specific implementation, the image recognition server compares the logo image with the image of the program logo of each television program in the database one by one, and returns the program information of the television program whose similarity is higher than the preset value to the first A set top box.
参见图3,是本发明的第三种实施例的获取节目信息的方法的流程图,该方法从第一机顶盒侧来描述获取节目信息的流程,该方法包括:Referring to FIG. 3, which is a flowchart of a method for acquiring program information according to a third embodiment of the present invention, the method describes a process of acquiring program information from a first set top box side, and the method includes:
步骤S301,第一机顶盒接收预设的社交应用发送的获取节目信息列表的请求。Step S301: The first set top box receives a request for acquiring a program information list sent by a preset social application.
具体的,当用户通过第一机顶盒接收第二机顶盒的视频信号,在预设的社交应用上根据该节目信息列表进行社交活动时,例如,用户分享该节目信息列表给好友,则第一机顶盒可接收到预设的社交应用发送的获取该节目信息列表的请求,该请求用于触发第一机顶盒进入获取第二机顶盒的节目信息的工作过程。Specifically, when the user receives the video signal of the second set top box through the first set top box and performs social activities according to the program information list on the preset social application, for example, the user shares the program information list to the friend, the first set top box may Receiving a request for acquiring the program information list sent by the preset social application, the request is used to trigger a working process in which the first set top box enters the program information of acquiring the second set top box.
需要说明的是,该预设的社交应用既可以是第一机顶盒上的社交应用,还可以是与第一机顶盒相连的社交电视上的社交应用。It should be noted that the preset social application may be a social application on the first set top box or a social application on the social TV connected to the first set top box.
步骤S303:第一机顶盒根据预定的波形数据自动产生换台信号,发送该换台信号至第二机顶盒。Step S303: The first set top box automatically generates a channel change signal according to the predetermined waveform data, and sends the channel change signal to the second set top box.
具体的,上述预定的波形数据可以通过下述方式获得:第一机顶盒在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为该预定的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;第一机顶盒根据预定的第一遥控装置的换台按键对应的波形数据生成第二机顶盒的换台信号。Specifically, the predetermined waveform data may be obtained by: the first set top box selects waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data; and the button-waveform database The waveform data of the second remote control device button signal is stored therein, and the waveform data of the second remote control device button signal is in one-to-one correspondence with the button of the first remote control device; the first set top box is configured according to a predetermined waveform corresponding to the change button of the first remote control device. The data generates a channel change signal of the second set top box.
具体的,上述换台信号与第二机顶盒的遥控装置上的换台按键的按键信号相同,用来控制第二机顶盒切换电视频道;上述预定的波形数据与该换台按键的按键信号的波形数据相同。具体实现中,第一机顶盒可以设定自动换台周期。在每一个自动换台周期内,第一机顶盒可根据预定的波形数据模拟产生出同样浏览策略的第二机顶盒的换台信号,例如,该换台信号为第二机顶盒的遥控装置的上按键的按键信号,该上按键用于向前逐一浏览第二机顶盒的电视频道; 又例如该换台信号为第二机顶盒的遥控装置的下按键的按键信号,该下按键用于向后逐一浏览第二机顶盒的电视频道。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the channel change signal is the same as the button signal of the channel change button on the remote control device of the second set top box, and is used to control the second set top box to switch the television channel; the predetermined waveform data and the waveform data of the button signal of the switch button the same. In a specific implementation, the first set top box can set an automatic channel change period. During each automatic channel change period, the first set top box can simulate a channel change signal of the second set top box that generates the same browsing strategy according to the predetermined waveform data, for example, the channel change signal is the upper button of the remote control device of the second set top box. a button signal for browsing the TV channels of the second set top box one by one; For another example, the channel change signal is a button signal of a lower button of the remote control device of the second set top box, and the lower button is used to browse the TV channels of the second set top box one by one. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
在模拟产生第二机顶盒的换台信号之后,第一机顶盒可以通过无线发射装置发射该换台信号,该无线发射装置可以与第二机顶盒的遥控装置中的无线发射器一致;第二机顶盒接收到该换台信号之后,识别该换台信号对应的切换电视频道的方式,根据该方式切换当前播放的电视频道。After simulating the generation of the channel change signal of the second set top box, the first set top box can transmit the channel change signal through the wireless transmitting device, the wireless transmitting device can be consistent with the wireless transmitter in the remote control device of the second set top box; the second set top box receives After the channel change signal, the mode of switching the TV channel corresponding to the channel change signal is identified, and the currently played TV channel is switched according to the mode.
步骤S305:第一机顶盒接收第二机顶盒的视频信号。Step S305: The first set top box receives the video signal of the second set top box.
具体的,在步骤S305之后,第一机顶盒可通过HDMI线与第二机顶盒相连,可通过HDMI输入接口接收第二机顶盒传输的视频信号。第一机顶盒可将在视频数据传输期通过HDMI输入接口接收的第二机顶盒传送的数据包作为所述第二机顶盒的视频信号。具体实现中,第一机顶盒还可以通过其他的方式接收第二机顶盒的视频信号。Specifically, after step S305, the first set top box can be connected to the second set top box through the HDMI line, and the video signal transmitted by the second set top box can be received through the HDMI input interface. The first set top box can use the data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period as the video signal of the second set top box. In a specific implementation, the first set top box can also receive the video signal of the second set top box by other means.
步骤S307:第一机顶盒提取视频信号中的视频图像。Step S307: The first set top box extracts a video image in the video signal.
具体的,在自动换台周期内,第一机顶盒可以在发射换台信号之后,等待预设的时间间隔来让第二机顶盒完成换台,之后抓取该视频信号中的一帧数据作为第二机顶盒当前播放的电视频道的视频图像。例如,第一机顶盒通过无线发射装置发送该换台信号之后,等待2秒,再从HDMI输入接口抓取一帧视频数据作为视频图像。Specifically, in the automatic channel change period, the first set top box may wait for a preset time interval after the channel change signal is transmitted, so that the second set top box completes the channel change, and then grabs one frame of the video signal as the second. The video image of the TV channel currently being played by the set top box. For example, after the first set top box transmits the channel change signal through the wireless transmitting device, it waits for 2 seconds, and then grabs one frame of video data from the HDMI input interface as a video image.
步骤S309:第一机顶盒发送视频图像至图像识别服务器。Step S309: The first set top box sends the video image to the image recognition server.
具体的,第一机顶盒可以将抓取到的第二机顶盒的视频图像压缩后,通过网络发送给图像识别服务器,该图像识别服务器用于识别出第一机顶盒发送的视频图像对应的节目信息。Specifically, the first set top box can compress the video image of the captured second set top box and send it to the image recognition server through the network, where the image recognition server is used to identify the program information corresponding to the video image sent by the first set top box.
步骤S311:第一机顶盒接收图像识别服务器返回的视频图像对应的节目信息。Step S311: The first set top box receives the program information corresponding to the video image returned by the image recognition server.
具体的,图像识别服务器的节目信息数据库中可存储有广播电视运营商提供的全部电视节目的节目信息,该节目信息可包括:节目名称、节目编号、节目台标的图像以及其他相关节目信息;当图像识别服务器接收到第一机顶盒发送的该视频图像之后,可提取该视频图像的台标,遍历节目信息数据库,找到 与该台标匹配的节目信息,并返回与该台标匹配的节目信息至第一机顶盒。具体实现中,图像识别服务器可提取视频图像的左上角作为该视频图像的台标部分,通过图像处理技术提取台标图像,将该台标图像和数据库中的每一项电视节目的节目台标的图像逐一比较相似度,返回相似度达到预设值以上的该项电视节目的节目信息至第一机顶盒。Specifically, the program information database of the image recognition server may store program information of all television programs provided by the broadcast television operator, and the program information may include: a program name, a program number, an image of a program logo, and other related program information; After receiving the video image sent by the first set top box, the image recognition server may extract the logo of the video image, traverse the program information database, and find Program information matching the station logo, and returning program information matching the station logo to the first set top box. In a specific implementation, the image recognition server may extract an upper left corner of the video image as a logo portion of the video image, and extract a logo image by using an image processing technology, and the station logo and the program logo of each television program in the database. The images compare the similarities one by one, and return the program information of the television program whose similarity reaches the preset value to the first set top box.
需要说明的是,第一机顶盒接收图像识别服务器返回节目信息的过程与第一机顶盒发送视频图像至图像识别服务器的过程可以是异步的。It should be noted that the process of the first set top box receiving the image recognition server returning the program information and the process of the first set top box transmitting the video image to the image recognition server may be asynchronous.
步骤S313:第一机顶盒存储视频图像对应的节目信息至节目信息列表中。Step S313: The first set top box stores the program information corresponding to the video image into the program information list.
具体的,第一机顶盒在接收的图像识别服务器返回的节目信息之后,将该节目信息存储到节目信息列表中,该节目信息列表用于存储第二机顶盒的全部电视频道的节目信息。Specifically, after the received image information returned by the image recognition server, the first set top box stores the program information in a program information list, where the program information list is used to store program information of all television channels of the second set top box.
步骤S315:第一机顶盒判断该节目信息列表是否包含第二机顶盒的全部电视频道的节目信息。Step S315: The first set top box determines whether the program information list includes program information of all television channels of the second set top box.
具体的,可参考步骤S107实施。Specifically, it can be implemented by referring to step S107.
步骤S317:第一机顶盒发送节目信息列表至预设的社交应用。Step S317: The first set top box sends the program information list to the preset social application.
具体的,可参考步骤S109实施。Specifically, it can be implemented by referring to step S109.
再进一步的,在上述步骤S101或者步骤S301之前,第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得前述按键-波形数据库,该学习过程用于设置第一遥控装置的按键与第二遥控装置的按键信号的对应关系,将第一遥控装置的按键与第二遥控装置的按键信号的波形数据一一对应的存储于该按键-波形数据库中。该学习过程包括:Further, before the step S101 or the step S301, the first set top box learns the button signal of the second remote control device through the learning process to obtain the button-waveform database, and the learning process is used to set the button and the second button of the first remote control device. Corresponding relationship between the button signals of the remote control device is stored in the button-waveform database in a one-to-one correspondence between the button of the first remote control device and the waveform data of the button signal of the second remote control device. The learning process includes:
第一机顶盒生成并输出按键提示信息,该按键提示信息用于提示用户按照预设的顺序完成第一遥控装置的待设置按键的学习;The first set top box generates and outputs a button prompting information, and the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
第一机顶盒接收第二遥控装置发出的第二按键信号,第二按键信号为用户根据该按键提示信息在第二遥控装置上按下待设置按键对应的学习目标按键时触发的按键信号;第二按键信号用于控制第二机顶盒;The first set top box receives the second button signal sent by the second remote control device, and the second button signal is a button signal triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information; The button signal is used to control the second set top box;
第一机顶盒记录第二按键信号的波形数据;将待设置按键与第二按键信号的波形数据一一对应地存储于按键-波形数据库;The first set top box records the waveform data of the second button signal; and stores the waveform data of the button to be set and the second button signal in a one-to-one correspondence in the button-waveform database;
第一机顶盒判断是否按照预设的顺序完成对全部待设置按键的学习,当判 断结果为否时,继续执行上述生成并输出按键提示信息的步骤,当判断结果为是时,则结束该学习过程。The first set top box determines whether the learning of all the to-be-set buttons is completed in a preset order. When the result of the disconnection is no, the step of generating and outputting the key prompt information is continued, and when the determination result is YES, the learning process is ended.
具体实现中,上述学习过程如图4所示可包括:In the specific implementation, the foregoing learning process as shown in FIG. 4 may include:
步骤S401:开始学习过程。Step S401: Start the learning process.
步骤S403:第一机顶盒生成并输出按键提示信息,按键提示信息用于提示用户按照预设的顺序完成第一遥控装置的待设置按键的学习。Step S403: The first set top box generates and outputs button prompt information, and the button prompt information is used to prompt the user to complete the learning of the button to be set of the first remote control device in a preset order.
具体的,第一机顶盒可通过显示装置显示如图7所示的帮助界面701,生成并输出按键提示信息,其过程包括:第一机顶盒在显示装置上显示第一遥控装置的虚拟的第一遥控装置;按前述预设的顺序在该虚拟的第一遥控装置上通过焦点来提示用户待设置按键;以提示用户在第二遥控装置上按下待设置按键对应的学习目标按键。如图7所示,第一机顶盒可在帮助界面701上显示第一遥控装置的虚拟模型703,并可通过焦点705来提示用户第一遥控装置上当前需要学习的待设置按键;同时,第一机顶盒可以通过UI元素,例如提示框或者演示动画,来提示用户在第二遥控装置上按下该待设置按键的学习目标按键;并且可以设置接收该学习目标按键的按键信号的等待时间,如果用户在该等待时间内未按下该待设置按键的学习目标按键,则可以提示用户重新学习该待设置按键,还可以直接结束该待设置按键的学习,将焦点705移至下一个待设置按键。上述焦点405既可以是高亮当前待设置按键的方式,还可以是放大当前待设置按键的方式,这里不作限制。Specifically, the first set top box can display the help interface 701 shown in FIG. 7 through the display device, and generate and output the button prompt information, wherein the process includes: the first set top box displays the virtual first remote control of the first remote control device on the display device. And displaying, by the focus on the virtual first remote control device, the user to prompt the user to set the button; in order to prompt the user to press the learning target button corresponding to the button to be set on the second remote control device. As shown in FIG. 7, the first set top box can display the virtual model 703 of the first remote control device on the help interface 701, and can prompt the user to press the button to be set currently needed to learn on the first remote control device through the focus 705; The set top box may prompt the user to press the learning target button of the button to be set on the second remote control device through a UI element, such as a prompt box or a presentation animation; and may set a waiting time for receiving the button signal of the learning target button, if the user If the learning target button of the button to be set is not pressed within the waiting time, the user may be prompted to re-learn the button to be set, and the learning of the button to be set may be directly ended, and the focus 705 is moved to the next button to be set. The above-mentioned focus 405 may be a way of highlighting the currently-set button, or a method of zooming in on the currently-set button, which is not limited herein.
步骤S405:第一机顶盒接收第二遥控装置发出的第二按键信号,第二按键信号为用户根据按键提示信息在第二遥控装置上按下待设置按键对应的学习目标按键时触发的按键信号。Step S405: The first set top box receives the second button signal sent by the second remote control device, and the second button signal is a button signal that is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information.
具体的,第二按键信号用于控制第二机顶盒。在用户根据上述按键提示信息按下第二遥控装置上的按键之后,第一机顶盒接收第二遥控装置发送的按键信号,实际应用中,第一机顶盒可以通过设置等待时间来规定用户在第二遥控装置上的输入时间。例如,如果用户在该等待时间内未按下该待设置按键的学习目标按键,则可以提示用户重新学习该待设置按键,还可以直接结束该待设置按键的学习,将上述焦点移至下一个待设置按键。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。 Specifically, the second button signal is used to control the second set top box. After the user presses the button on the second remote control device according to the button prompt information, the first set top box receives the button signal sent by the second remote control device. In the actual application, the first set top box can set the waiting time to specify the user in the second remote control. Input time on the device. For example, if the user does not press the learning target button of the button to be set within the waiting time, the user may be prompted to re-learn the button to be set, and the learning of the button to be set may be directly ended, and the focus is moved to the next one. The button to be set. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
步骤S407:第一机顶盒记录第二按键信号的波形数据;将待设置按键与第二按键信号的波形数据一一对应的存储于按键-波形数据库。Step S407: The first set top box records the waveform data of the second button signal; and stores the waveform of the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database.
具体的,第一机顶盒在接收到第二遥控装置发送的第二按键信号之后,可拷贝第二按键信号的波形,将该波形数据设置为当前的待设置按键对应的波形数据,并可将该波形数据与当前的待设置按键的按键信息一一对应的存储于按键-波形数据库中;该第二按键信号为用户在第二遥控装置上按下当前待设置按键的学习目标按键时触发第二遥控装置发出的。Specifically, after receiving the second button signal sent by the second remote control device, the first set top box may copy the waveform of the second button signal, and set the waveform data to the waveform data corresponding to the current button to be set, and The waveform data is stored in the button-waveform database in one-to-one correspondence with the button information of the current button to be set; the second button signal is triggered when the user presses the learning target button of the currently-set button on the second remote control device. From the remote control device.
步骤S409:第一机顶盒判断学习过程是否完成。Step S409: The first set top box determines whether the learning process is completed.
具体的,判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,则结束所述学习过程。Specifically, it is determined whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the end is ended. learning process.
第一机顶盒遍历按键-波形数据库,如果第一遥控装置的全部按键都在按键-波型数据库中有各自对应的波形数据,则判断上述学习过程已完成;如果存在有第一遥控装置的按键在按键-波形数据库中没有相对应的波形数据,则判断第一遥控装置的按键没有全部完成上述学习过程。实际应用中,当第一遥控装置的全部待设置按键中存在有按键没有完成上述学习过程时,第一机顶盒询问用户是否要继续学习,如果第一机顶盒接收到结束上述学习过程的用户指令,则执行该指令的操作,结束上述学习过程;如果第一机顶盒接收到继续上述学习过程的用户指令,则执行该指令的操作,继续上述学习过程。例如,当上述学习过程结束时,上述帮助界面提示用户第一遥控装置的“主页按键(Home)”没有学习成功,并询问用户是否重新学习第一遥控装置的“主页按键(Home)”,如果接收到的用户输入为“是”,则继续上述学习过程;如果接收到的用户输入为“否”,则结束上述学习过程。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。The first set top box traverses the button-waveform database. If all the buttons of the first remote control device have corresponding waveform data in the button-wave type database, it is determined that the learning process has been completed; if there is a button of the first remote control device If there is no corresponding waveform data in the button-waveform database, it is judged that the keys of the first remote control device do not completely complete the above learning process. In an actual application, when there is a button in the all-to-be-set button of the first remote control device that does not complete the learning process, the first set-top box asks the user whether to continue learning, and if the first set-top box receives the user instruction to end the learning process, Executing the operation of the instruction ends the learning process; if the first set top box receives the user instruction to continue the learning process, the operation of the instruction is executed to continue the learning process. For example, when the learning process ends, the help interface prompts the user that the "home button" of the first remote control device has not been successfully learned, and asks the user whether to re-learn the "home button" of the first remote control device, if If the received user input is "Yes", the above learning process is continued; if the received user input is "No", the above learning process is ended. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
具体的,如果第一机顶盒判定上述学习过程已完成,则执行步骤S411;如果第一机顶盒判定上述学习过程未完成,则执行步骤S403。Specifically, if the first set top box determines that the learning process has been completed, step S411 is performed; if the first set top box determines that the learning process is not completed, step S403 is performed.
步骤S411:结束学习过程。Step S411: End the learning process.
更进一步的,在第一机顶盒执行图4所示学习过程之前,还可以执行:接收第一遥控装置发送的第二设置信号,第二设置信号用于设置第一机顶盒的按 键处理模式为学习模式,则执行上述通过学习过程学习所述第二遥控装置的按键信号的步骤;或在执行前述识别第一按键信号对应的按键,在按键-波形数据库中找到与该按键对应的波形数据的步骤时,如按键-波形数据库为空,则执行上述通过学习过程学习所述第二遥控装置的按键信号的步骤;或在执行前述识别第一按键信号对应的按键,在按键-波形数据库中找到与该按键对应的波形数据的步骤时,如果按键-波形数据库中没有该按键的相应的波形数据,则提示用户该按键漏码,接收用户输入来触发执行上述通过学习过程学习第二遥控装置的按键信号的步骤。Further, before the first set top box performs the learning process shown in FIG. 4, the method further includes: receiving a second setting signal sent by the first remote control device, where the second setting signal is used to set the pressing of the first set top box The key processing mode is a learning mode, and the step of learning the button signal of the second remote control device by the learning process is performed; or the button corresponding to the identification of the first button signal is executed, and the button corresponding to the button is found in the button-waveform database. In the step of waveform data, if the button-waveform database is empty, performing the above-mentioned step of learning the button signal of the second remote control device through the learning process; or executing the aforementioned button for identifying the first button signal, at the button - When the waveform data corresponding to the button is found in the waveform database, if there is no corresponding waveform data of the button in the button-waveform database, the user is prompted to miss the code, and the user input is received to trigger the execution of the learning process through the learning process. The step of the button signal of the remote control device.
具体的,学习模式的触发情形可主要包括:当用户在第一遥控装置上按下特定的设置按键时,该特定的设置按键用于触发第一机顶盒的按键处理模式为学习模式,第一机顶盒设置当前的按键处理模式为学习模式,执行前述通过显示装置显示上述学习过程的帮助界面,生成并输出按键提示信息的步骤;或者当第一机顶盒在转发模式下执行上述在按键-波形数据库中找到与该按键对应的波形数据的步骤时,如果按键-波形数据库为空,则可自动切换当前的按键处理模式为学习模式,可以通过上述学习过程获得按键-波形数据库中的按键和波形数据;或者当第一机顶盒在转发模式下执行上述在按键-波形数据库中找到与该按键对应的波形数据的步骤时,如果该按键没有相对应的波形数据,则可提示用户该按键漏码,如果接收到学习该按键的用户指令,则可以设置当前的按键处理模式为学习模式,执行前述通过显示装置显示上述学习过程的帮助界面,生成并输出按键提示信息的步骤。Specifically, the triggering situation of the learning mode may mainly include: when the user presses a specific setting button on the first remote control device, the specific setting button is used to trigger the button processing mode of the first set top box to be the learning mode, and the first set top box Setting the current key processing mode to the learning mode, performing the foregoing step of displaying the help interface of the learning process by the display device, generating and outputting the prompt information of the button; or performing the above-mentioned search in the button-waveform database when the first set-top box is in the forwarding mode When the step of waveform data corresponding to the button is performed, if the button-waveform database is empty, the current button processing mode can be automatically switched to the learning mode, and the button and waveform data in the button-waveform database can be obtained through the above learning process; or When the first set top box performs the above step of finding the waveform data corresponding to the button in the button-waveform database in the forwarding mode, if the button has no corresponding waveform data, the user may be prompted to miss the code, if received You can set the user command for the button. The current key processing mode is a learning mode, and the step of displaying the above-mentioned learning process through the display device to generate and output the key prompt information is performed.
本发明实施例中,第一机顶盒可通过上述学习过程学习第二遥控装置的按键信号,将该按键信号设置为第一遥控装置的待设置按键对应的按键信号,可实现第一机顶盒以半自动的方式来学习第二遥控装置的按键信号,减少了用户操作。In the embodiment of the present invention, the first set top box can learn the button signal of the second remote control device through the learning process, and set the button signal as the button signal corresponding to the button to be set of the first remote control device, so that the first set top box can be semi-automatic. The way to learn the button signal of the second remote control device reduces the user's operation.
再进一步的,在图4所示的上述学习过程之后,第一机顶盒可工作在转发过程下,该转发过程可用于根据第一遥控装置的按键信号来模拟出第二遥控装置的频道切换信号,并可将该频道切换信号转发给第二机顶盒,来切换第二机顶盒的当前的播放节目。该转发过程包括:Further, after the learning process shown in FIG. 4, the first set top box can work in a forwarding process, and the forwarding process can be used to simulate a channel switching signal of the second remote control device according to the button signal of the first remote control device. And switching the channel switching signal to the second set top box to switch the current playing program of the second set top box. The forwarding process includes:
第一机顶盒接收第一遥控装置的第一按键信号; Receiving, by the first set top box, a first button signal of the first remote control device;
第一机顶盒识别第一按键信号对应的按键,在按键-波形数据库中找到与该按键对应的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;The first set top box identifies the button corresponding to the first button signal, and finds waveform data corresponding to the button in the button-waveform database; the button-waveform database stores waveform data of the second remote control device button signal, and the second remote control device button signal The waveform data is in one-to-one correspondence with the buttons of the first remote control device;
第一机顶盒根据该按键对应的波形数据模拟出频道切换信号,发送频道切换信号至第二机顶盒;频道切换信号与换台信号一样,用于控制第二机顶盒切换电视频道。The first set top box simulates a channel switching signal according to the waveform data corresponding to the button, and sends a channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel, like the channel changing signal.
需要说明的,上述转发过程中所述的按键-波形数据库为第一机顶盒通过上述学习过程来获取的。It should be noted that the button-waveform database described in the foregoing forwarding process is obtained by the first set top box through the above learning process.
具体实现中,上述转发过程如图5所示可包括:In the specific implementation, the forwarding process shown in FIG. 5 may include:
步骤S501:开始转发过程。Step S501: Start the forwarding process.
步骤S503:第一机顶盒接收第一遥控装置的第一按键信号。Step S503: The first set top box receives the first button signal of the first remote control device.
具体的,第一遥控装置是第一机顶盒的遥控装置;第一按键信号是用户按下第一遥控装置上的按键时触发的按键信号。当用户在第一遥控装置上按下按键时,第一遥控装置可将该按键信息编码后通过无线发射器发送无线信号给第一机顶盒;第一机顶盒通过无线接收器接收该无线信号,通过解调可获取该无线信号对应的按键信息。Specifically, the first remote control device is a remote control device of the first set top box; the first button signal is a button signal that is triggered when the user presses a button on the first remote control device. When the user presses a button on the first remote control device, the first remote control device may encode the button information and send a wireless signal to the first set top box through the wireless transmitter; the first set top box receives the wireless signal through the wireless receiver, and solves the problem. The key information corresponding to the wireless signal can be obtained.
优选的,由于红外收发器需要的功率小,产生的干扰小,第一遥控装置可以将上述按键的信息编码后通过红外线发射器发送红外波给第一机顶盒,相应的,第一机顶盒可通过红外线接收器接收该红外波,并将该红外波转换成电信号,解调出该电信号对应的按键信息。Preferably, since the power required by the infrared transceiver is small and the generated interference is small, the first remote control device may encode the information of the button and send the infrared wave to the first set top box through the infrared transmitter, and correspondingly, the first set top box may pass the infrared The receiver receives the infrared wave, converts the infrared wave into an electrical signal, and demodulates the button information corresponding to the electrical signal.
需要说明的,当上述第一按键信号为用户按下第一遥控装置的换台按键时触发的,该换台按键既可以是第一遥控装置上的向前或向后浏览电视频道的方向按键,还可以是第一遥控装置上的数字键,还可以是第一遥控装置和第一机顶盒特别约定的具有换台功能的按键,这里不作限制。It should be noted that when the first button signal is triggered by the user pressing the channel change button of the first remote control device, the channel change button may be the direction button of the first remote control device for browsing the TV channel forward or backward. It can also be a number key on the first remote control device, and can also be a button with a channel changing function specially agreed by the first remote control device and the first set top box, which is not limited herein.
步骤S505:第一机顶盒识别第一按键信号对应的按键,在按键-波形数据库中找到该按键对应的波形数据。Step S505: The first set top box identifies the button corresponding to the first button signal, and finds the waveform data corresponding to the button in the button-waveform database.
具体的,按键-波形数据库中可主要存储有第一遥控装置的按键信息和第二遥控装置的按键信号的波形数据,其中,第二遥控装置的按键信号的波形数据用于模拟出控制第二机顶盒的按键信号;第一遥控装置的按键信息与第二遥 控装置的按键信号的波形数据是一一对应的关系,在该一一对应的关系中,该第二遥控装置的按键信号代表的按键与该第一遥控装置的按键信息代表的按键可具有一致的功能意义。例如,在按键-波形数据库中,第一遥控器的向后换台的方向按键与波形A相对应,该波形A是第二遥控器的向后换台的方向按键的按键信号的波形。又例如,在按键-波形数据库中,第一遥控器的“+”音量增加键与波形B相对应,该波形B是第二遥控器的“+”音量增加键的按键信号的波形。Specifically, the button-waveform database may mainly store the button information of the first remote control device and the waveform data of the button signal of the second remote control device, wherein the waveform data of the button signal of the second remote control device is used to simulate the second control The button signal of the set top box; the button information of the first remote control device and the second remote The waveform data of the button signal of the control device has a one-to-one correspondence. In the one-to-one correspondence, the button represented by the button signal of the second remote control device and the button represented by the button information of the first remote control device may have the same Functional significance. For example, in the button-waveform database, the direction button of the backward shifting of the first remote controller corresponds to the waveform A, which is the waveform of the button signal of the direction button of the backward shifting of the second remote controller. For another example, in the button-waveform database, the "+" volume up key of the first remote controller corresponds to the waveform B, which is the waveform of the button signal of the "+" volume up key of the second remote controller.
具体的,如步骤S503中所述的方法,第一机顶盒可以通过解调第一按键信号来获取第一按键信号对应的编码信息,并可以判断该编码信息对应的按键信息;然后,第一机顶盒可在按键-波形数据库中找到该按键信息对应的第二遥控装置的按键信号的波形数据,并根据该波形数据生成转发信号,该转发信号用来模拟第二遥控装置发出的控制第二机顶盒的按键信号。Specifically, the method, as described in step S503, the first set top box can obtain the code information corresponding to the first button signal by demodulating the first button signal, and can determine the button information corresponding to the code information; and then, the first set top box The waveform data of the button signal of the second remote control device corresponding to the button information may be found in the button-waveform database, and a forwarding signal is generated according to the waveform data, and the forwarding signal is used to simulate the second set-top box controlled by the second remote control device. Button signal.
需要说明的是,前述按键-波形数据库中的第二遥控装置的按键信号的波形数据既可以是预先定制的,还可以是第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得的。It should be noted that the waveform data of the button signal of the second remote control device in the button-waveform database may be pre-customized, or may be obtained by the first set-top box learning the button signal of the second remote control device through a learning process.
步骤S507:第一机顶盒根据该按键对应的波形数据模拟出第二遥控装置的频道切换信号,发送该频道切换信号至第二机顶盒。Step S507: The first set top box simulates the channel switching signal of the second remote control device according to the waveform data corresponding to the button, and sends the channel switching signal to the second set top box.
具体的,如步骤S505所述,当第一机顶盒识别出第一按键信号对应的按键信息为换台按键时,第一机顶盒可在按键-波形数据库中找到该换台按键对应的波形数据;并可根据该波形数据生成转发信号,发送该转发信号至第二机顶盒;该转发信号即为第二机遥控装置的频道切换信号,用来控制第二机顶盒切换电视频道。Specifically, as described in step S505, when the first set top box recognizes that the button information corresponding to the first button signal is the channel change button, the first set top box can find the waveform data corresponding to the channel change button in the button-waveform database; The forwarding signal may be generated according to the waveform data, and the forwarding signal is sent to the second set top box; the forwarding signal is a channel switching signal of the second machine remote control device, and is used to control the second set top box to switch the television channel.
步骤S509:结束转发过程。Step S509: End the forwarding process.
具体的,第一机顶盒结束转发过程,可调整按键处理模式为正常模式,即接收第一遥控装置的按键信号,执行第一遥控装置的按键信号的指令。Specifically, the first set top box ends the forwarding process, and the button processing mode can be adjusted to the normal mode, that is, the button signal of the first remote control device is received, and the command of the button signal of the first remote control device is executed.
本发明实施例中,第一机顶盒可根据第一遥控装置的按键信号来模拟出第二遥控装置的频道切换信号,并将该频道切换信号转发给第二机顶盒,来切换第二机顶盒的当前的播放节目,可实现仅用第一遥控装置控制第一机顶盒和第二机顶盒,实现电视端通过第一机顶盒来观看第二机顶盒的电视节目。 In the embodiment of the present invention, the first set top box can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and forward the channel switching signal to the second set top box to switch the current state of the second set top box. The program can be played, and the first set top box and the second set top box can be controlled only by the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box.
参见图6,是本发明的第四种实施例的获取节目信息的方法的流程图,该方法从第一机顶盒侧来描述获取节目信息的流程,该方法包括:Referring to FIG. 6, which is a flowchart of a method for acquiring program information according to a fourth embodiment of the present invention, the method describes a process of acquiring program information from a first set top box side, and the method includes:
步骤S601:第一机顶盒工作在转发过程。Step S601: The first set top box works in the forwarding process.
具体的,第一机顶盒可工作在图5所示的转发过程。在该转发过程中,第一机顶盒接收第一遥控装置的按键信号,可根据第一遥控装置的按键信号来模拟出第二遥控装置的频道切换信号,并将该频道切换信号转发给第二机顶盒,来切换第二机顶盒的当前的播放节目,可实现仅用第一遥控装置控制第一机顶盒和第二机顶盒,实现电视端通过第一机顶盒来观看第二机顶盒的电视节目。该转发过程可具体为步骤S501至步骤S509所述的过程。Specifically, the first set top box can operate in the forwarding process shown in FIG. In the forwarding process, the first set top box receives the button signal of the first remote control device, and can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and forward the channel switching signal to the second set top box. To switch the current play program of the second set top box, the first set top box and the second set top box can be controlled by only the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box. The forwarding process may be specifically the process described in steps S501 to S509.
步骤S603:第一机顶盒判断按键-波形数据库是否为空。Step S603: The first set top box determines whether the button-waveform database is empty.
具体的,第一机顶盒在转发过程接收第二机顶盒的视频信号时,可首先检测按键-波形数据库,如果按键-波形数据库为空,则执行步骤S605;如果按键-波形数据库不为空,则执行步骤S607。Specifically, when the first set top box receives the video signal of the second set top box during the forwarding process, the button-waveform database may be detected first. If the button-waveform database is empty, step S605 is performed; if the button-waveform database is not empty, the execution is performed. Step S607.
步骤S605:第一机顶盒通过学习过程学习第二遥控装置的按键信号。Step S605: The first set top box learns the key signal of the second remote control device through the learning process.
具体的,如果第一机顶盒经过步骤S603判定按键-波形数据库为空,则可进入图4所示的学习过程。第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得前述按键-波形数据库,该学习过程用于设置第一遥控装置的按键与第二遥控装置的按键信号的对应关系,将第一遥控装置的按键与第二遥控装置的按键信号的波形数据一一对应的存储于该按键-波形数据库中。该学习过程可具体为步骤S401至步骤S411所述的过程。Specifically, if the first set top box determines in step S603 that the button-waveform database is empty, the learning process shown in FIG. 4 can be entered. The first set top box learns the button signal waveform of the second remote control device through a learning process, and the learning process is used to set a correspondence between the button of the first remote control device and the button signal of the second remote control device, and the first remote control The button of the device is stored in the button-waveform database in a one-to-one correspondence with the waveform data of the button signal of the second remote control device. The learning process may specifically be the process described in steps S401 to S411.
步骤S607:第一机顶盒判断节目信息列表是否为空。Step S607: The first set top box determines whether the program information list is empty.
具体的,如果第一机顶盒经过步骤S603判定按键-波形数据库不为空或者第一机顶盒经过步骤S605所述的学习过程获得按键-波形数据库,第一机顶盒可判断节目信息列表是否为空,如果节目信息列表为空,则执行步骤S609;如果节目信息列表不为空,则执行步骤S611,还可以执行其他操作,这里不作限制。Specifically, if the first set top box determines in step S603 that the button-waveform database is not empty or the first set-top box obtains the button-waveform database through the learning process described in step S605, the first set-top box can determine whether the program information list is empty, if the program If the information list is empty, step S609 is performed; if the program information list is not empty, step S611 is performed, and other operations may also be performed, which are not limited herein.
步骤S609:第一机顶盒获取第二机顶盒的全部电视频道的节目信息,存储节目信息至列表中。Step S609: The first set top box acquires program information of all television channels of the second set top box, and stores the program information into the list.
具体的,如果第一机顶盒经过步骤S607判定节目信息列表为空,则可进 入图1所示的获取节目信息的过程。在获取节目信息的过程中,第一机顶盒向第二机顶盒发送自动换台信号,接收第二机顶盒根据该自动换台信号切换电视频道后的视频信号,并获取该视频信号对应的节目信息,存储该节目信息至节目列表中;如果该节目列表中包含第二机顶盒的全部电视节目,第一机顶盒发送该节目列表至预设的社交应用。该获取节目信息的过程可具体为步骤S101至步骤S109所述的过程。Specifically, if the first set top box determines that the program information list is empty through step S607, The process of acquiring program information shown in FIG. In the process of acquiring program information, the first set top box sends an automatic channel change signal to the second set top box, and receives the video signal after the second set top box switches the television channel according to the automatic channel change signal, and acquires program information corresponding to the video signal, and stores The program information is included in the program list; if the program list includes all the television programs of the second set top box, the first set top box sends the program list to the preset social application. The process of acquiring program information may be specifically the process described in steps S101 to S109.
步骤S611:结束。Step S611: End.
本发明实施例中,第一机顶盒执行步骤S601至步骤S611所述的过程,可实现获取传统机顶盒的节目信息列表,提供该节目信息列表至该社交应用,可实现用户在该社交应用上根据传统机顶盒的电视节目的节目信息列表进行社交活动;第一机顶盒通过转发过程还可实现仅用第一遥控装置控制第一机顶盒和第二机顶盒,实现电视端通过第一机顶盒来观看第二机顶盒的电视节目;另外,第一机顶盒通过学习过程学习第二遥控装置的按键信号还可实现第一机顶盒以半自动的方式来学习第二遥控装置的按键信号,减少了用户操作。In the embodiment of the present invention, the first set-top box performs the process described in steps S601 to S611, and can obtain a program information list of the traditional set-top box, and provide the program information list to the social application, so that the user can implement the social application according to the traditional The program information list of the television program of the set top box performs social activities; the first set top box can also control the first set top box and the second set top box by using only the first remote control device through the forwarding process, so that the television end can watch the television of the second set top box through the first set top box. In addition, the first set top box learns the key signal of the second remote control device through the learning process, and the first set top box can learn the key signal of the second remote control device in a semi-automatic manner, thereby reducing user operations.
再进一步的,在上述所有实施例中,当第二遥控装置发送的按键信号为红外波时,第一机顶盒执行所述发送所述换台信号至第二机顶盒的步骤具体可为第一机顶盒通过红外线发射器来发送所述换台信号至第二机顶盒;第一机顶盒接收所述第二遥控装置发出的第二按键信号具体可为第一机顶盒通过红外线接收器来接收所述第二遥控装置发出的第二按键信号;第一机顶盒执行所述发送所述频道切换信号至第二机顶盒的步骤具体可为所述第一机顶盒通过红外线发射器发送所述频道切换信号至第二机顶盒。Further, in all the above embodiments, when the button signal sent by the second remote control device is an infrared wave, the step of the first set top box performing the sending the channel change signal to the second set top box may specifically be the first set top box passing The infrared transmitter sends the channel change signal to the second set top box; the first set top box receives the second button signal sent by the second remote control device, specifically, the first set top box receives the second remote control device through the infrared receiver The second button signal; the step of the first set top box to perform the sending of the channel switching signal to the second set top box may specifically be that the first set top box sends the channel switching signal to the second set top box through the infrared transmitter.
参见图7,是本发明的一种实施例的概念上的学习过程的按键信息提示过程的示意图,该按键信息提示过程包括:第一阶段7011和第二阶段7012,其中包括:帮助界面701、第一遥控装置703以及焦点705。FIG. 7 is a schematic diagram of a key information prompting process of a conceptual learning process according to an embodiment of the present invention. The key information prompting process includes: a first stage 7011 and a second stage 7012, including: a help interface 701, The first remote control device 703 and the focus 705.
具体的,帮助界面701,可用于呈现第一机顶盒的全部按键信息;第一遥控装置703,可用于提示用户当前正在学习第二遥控装置按键信号的为第一遥控装置;焦点705,可用于提示用户当前第一遥控装置上的待设置按键。Specifically, the help interface 701 can be used to present all the button information of the first set top box; the first remote control device 703 can be used to prompt the user to learn the second remote control device button signal as the first remote control device; the focus 705 can be used for prompting The button to be set on the user's current first remote control device.
具体的,第一阶段7011中的焦点705可提示用户在第二遥控装置上按下与该焦点705所处的按键的学习目标按键;当用户在第二遥控装置上按下第一 阶段7011中的焦点705所提示的按键的学习目标按键时,第一机顶盒接收到第二遥控装置发出的按键信号,可将帮助界面701从第一阶段7011切换到第二阶段7013,其中,焦点705被移至下一个待设置按键。Specifically, the focus 705 in the first stage 7011 may prompt the user to press the learning target button of the button with the focus 705 on the second remote control device; when the user presses the first button on the second remote control device When the learning target button of the button indicated by the focus 705 in the stage 7011, the first set top box receives the button signal sent by the second remote control device, the help interface 701 can be switched from the first stage 7011 to the second stage 7013, wherein the focus is The 705 is moved to the next button to be set.
需特别说明的,第一遥控装置703为虚拟的第一遥控装置。Specifically, the first remote control device 703 is a virtual first remote control device.
参见图8,是本发明的一种实施例的获取节目信息的机顶盒的结构示意图,该机顶盒为上述第一机顶盒。图8所示的机顶盒80可包括:自动换台模块801、视频接收模块803、视频处理模块805以及信息处理模块807。其中:Referring to FIG. 8, which is a schematic structural diagram of a set top box for acquiring program information according to an embodiment of the present invention, the set top box is the first set top box. The set top box 80 shown in FIG. 8 may include an automatic channel changing module 801, a video receiving module 803, a video processing module 805, and an information processing module 807. among them:
自动换台模块801,用于根据预定的波形数据自动产生换台信号,发送该换台信号至第二机顶盒;The automatic channel changing module 801 is configured to automatically generate a channel change signal according to predetermined waveform data, and send the channel change signal to the second set top box;
视频接收模块803,用于接收第二机顶盒的视频信号;该视频信号为第二机顶盒根据该换台信号切换当前播放的电视频道后发送的视频信号;The video receiving module 803 is configured to receive a video signal of the second set top box, where the video signal is a video signal sent by the second set top box after the currently played TV channel is switched according to the channel change signal;
视频处理模块805,用于根据第二机顶盒的视频信号来获得该视频信号对应的节目信息,存储该节目信息至节目信息列表中;The video processing module 805 is configured to obtain program information corresponding to the video signal according to the video signal of the second set top box, and store the program information into the program information list;
信息处理模块807,用于判断该节目信息列表是否包含第二机顶盒的全部电视频道的节目信息,当判断结果为是时,发送该节目信息列表至预设的社交应用;当判断结果为否时,则触发自动换台模块801执行所述根据预定的波形数据自动产生换台信号的步骤。The information processing module 807 is configured to determine whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, send the program information list to the preset social application; when the determination result is no And triggering the automatic channel changing module 801 to perform the step of automatically generating the channel changing signal according to the predetermined waveform data.
进一步的,在具体实现中,自动换台模块801可如图9所示包括:换台信号生成模块8011和换台信号发送模块8013,其中:Further, in a specific implementation, the automatic channel changing module 801 can include a channel changing signal generating module 8011 and a channel changing signal sending module 8013 as shown in FIG. 9, wherein:
换台信号生成模块8011,用于根据预定的波形数据自动产生换台信号;a channel change signal generating module 8011, configured to automatically generate a channel change signal according to predetermined waveform data;
换台信号发送模块8013,用于发送该换台信号至第二机顶盒。The channel change signal sending module 8013 is configured to send the channel change signal to the second set top box.
进一步的,在具体实现中,视频处理模块805可如图10所示包括:节目信息提取模块8051和节目信息存储模块8053。其中:Further, in a specific implementation, the video processing module 805 can include a program information extraction module 8051 and a program information storage module 8053 as shown in FIG. among them:
节目信息提取模块8051,用于根据第二机顶盒的视频信号来获得上述视频信号对应的节目信息;The program information extraction module 8051 is configured to obtain program information corresponding to the video signal according to the video signal of the second set top box;
节目信息存储模块8053,用于存储该节目信息至节目信息列表中。The program information storage module 8053 is configured to store the program information into the program information list.
进一步的,在具体实现中,信息处理模块807可如图11所示包括:第一判断模块8071、信息发送模块8073以及循环模块8075。其中:Further, in a specific implementation, the information processing module 807 may include: a first determining module 8071, an information sending module 8073, and a looping module 8075 as shown in FIG. among them:
第一判断模块8071,用于判断上述节目信息列表是否包含第二机顶盒的 全部电视频道的节目信息;The first determining module 8071 is configured to determine whether the program information list includes the second set top box Program information for all TV channels;
信息发送模块8073,用于当判断结果为是时,发送该节目信息列表至预设的社交应用;The information sending module 8073 is configured to: when the determination result is yes, send the program information list to the preset social application;
循环模块8075,用于当判断结果为否时,触发自动换台模块801继续执行所述根据预定的波形数据自动产生换台信号的步骤。The looping module 8075 is configured to trigger the automatic channel changing module 801 to continue to perform the step of automatically generating the channel changing signal according to the predetermined waveform data when the determination result is no.
进一步的,在具体实现中,换台信号生成模块8011可如图12所示包括:波形选择模块80111和信号生成模块80113。其中:Further, in a specific implementation, the channel change signal generating module 8011 may include a waveform selecting module 80111 and a signal generating module 80113 as shown in FIG. 12 . among them:
波形选择模块80111,用于在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为上述预定的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;The waveform selection module 80211 is configured to select waveform data corresponding to the change button of the predetermined first remote control device as the predetermined waveform data in the button-waveform database; and store the waveform of the second remote control button signal in the button-waveform database. Data, the waveform data of the button signal of the second remote control device and the button of the first remote control device are in one-to-one correspondence;
信号生成模块80113,用于根据该预定的第一遥控装置的换台按键对应的波形数据生成第二机顶盒的换台信号。The signal generating module 80113 is configured to generate a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
进一步的,在具体实现中,节目信息提取模块8051可如图13所示包括:图像提取模块80511、图像发送模块80513以及节目信息接收模块80515。其中:Further, in a specific implementation, the program information extraction module 8051 may include an image extraction module 80511, an image sending module 80513, and a program information receiving module 80515 as shown in FIG. among them:
图像提取模块80511,用于提取上述视频信号中的视频图像;An image extraction module 80511 is configured to extract a video image in the video signal.
图像发送模块80513,用于发送该视频图像至图像识别服务器;The image sending module 80513 is configured to send the video image to the image recognition server;
节目信息接收模块80515,用于接收图像识别服务器返回的所述视频图像对应的节目信息;该视频图像对应的节目信息即为该视频信号对应的节目信息。The program information receiving module 80515 is configured to receive program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is program information corresponding to the video signal.
再进一步的,图14示出了本发明的另一种实施例的获取节目信息的机顶盒的结构示意图,再详细说明机顶盒80的结构,机顶盒80可包括自动换台模块801、视频接收模块803、视频处理模块805以及信息处理模块807外,还可以包括:第一触发模块809和异常检测模块811,其中:Further, FIG. 14 is a schematic structural diagram of a set top box for acquiring program information according to another embodiment of the present invention. The structure of the set top box 80 may be further described. The set top box 80 may include an automatic channel changing module 801 and a video receiving module 803. The video processing module 805 and the information processing module 807 may further include: a first trigger module 809 and an abnormality detecting module 811, where:
第一触发模块809,用于在自动换台模块801执行所述根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒的步骤之前,执行:接收第一控制遥控器发送的第一设置信号,第一设置信号用于触发自动换台模块801执行所述根据预定的波形数据自动产生换台信号的步骤;或接收预设的社交应用发送的获取节目信息列表的请求,该请求用于触发自动换台模块801 执行所述根据预定的波形数据自动产生换台信号的步骤。The first triggering module 809 is configured to: before the step of automatically generating the channel changing signal according to the predetermined waveform data, and transmitting the channel changing signal to the second set top box, the automatic switching module 801 is configured to: receive the first control remote controller a first setting signal sent, the first setting signal is used to trigger the automatic channel changing module 801 to perform the step of automatically generating a channel changing signal according to predetermined waveform data; or receiving a request for acquiring a program information list sent by a preset social application , the request is used to trigger the automatic channel change module 801 The step of automatically generating a channel change signal based on the predetermined waveform data is performed.
异常检测模块811,用于当节目信息列表中同一节目名称的节目信息连续重复出现时,提示用户获取节目信息失败。The abnormality detecting module 811 is configured to prompt the user to obtain the program information when the program information of the same program name in the program information list is repeatedly repeated.
再进一步的,图15示出了本发明的第三种实施例的获取节目信息的机顶盒的结构示意图,再详细说明机顶盒80的结构,机顶盒80可包括自动换台模块801、视频接收模块803、视频处理模块805以及信息处理模块807外,还可以包括:学习触发模块813和学习模块815,其中:Further, FIG. 15 is a schematic structural diagram of a set top box for acquiring program information according to a third embodiment of the present invention. The structure of the set top box 80 may be further described. The set top box 80 may include an automatic channel changing module 801 and a video receiving module 803. The video processing module 805 and the information processing module 807 may further include: a learning triggering module 813 and a learning module 815, where:
学习模块815,用于在自动换台模块801执行所述根据预定的波形数据自动产生第二机顶盒的换台信号的步骤之前,通过学习过程学习第二遥控装置的按键信号来获得按键-波形数据库,该学习过程具体包括:The learning module 815 is configured to learn the button signal of the second remote control device through the learning process to obtain the button-waveform database before the automatic channel changing module 801 performs the step of automatically generating the channel change signal of the second set top box according to the predetermined waveform data. The learning process specifically includes:
生成并输出按键提示信息,按键提示信息用于提示用户按照预设的顺序完成第一遥控装置的待设置按键的学习;Generating and outputting button prompt information, wherein the button prompt information is used to prompt the user to complete the learning of the button to be set of the first remote control device in a preset order;
接收第二遥控装置发出的第二按键信号,第二按键信号为用户根据按键提示信息在第二遥控装置上按下待设置按键对应的学习目标按键时触发的按键信号;Receiving a second button signal sent by the second remote control device, where the second button signal is a button signal triggered by the user when pressing the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
记录第二按键信号的波形数据;将待设置按键与第二按键信号的波形数据一一对应地存储于按键-波形数据库;Recording waveform data of the second button signal; storing the waveform data of the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,则触发自动换台模块801执行所述生成并输出按键提示信息的步骤;当判断结果为是时,结束所述学习过程。Determining whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the automatic page changing module 801 is triggered to execute the step of generating and outputting the button prompt information; when the determination result is yes, the process ends. The learning process.
学习触发模块813,用于在学习模815块执行所述通过学习过程学习第二遥控装置的按键信号的步骤之前,执行包括:The learning triggering module 813 is configured to: before the learning module 815 block performs the step of learning the button signal of the second remote control device through the learning process, performing:
接收第一遥控装置发送的第二设置信号,第二设置信号用于触发学习模块815执行所述通过学习过程学习所述第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或Receiving a second setting signal sent by the first remote control device, where the second setting signal is used to trigger the learning module 815 to perform the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
在自动换台模块801执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库为空,则触发学习模块815执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或 When the automatic channel changing module 801 performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty The trigger learning module 815 performs the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
在自动换台模块801执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库中没有所述换台按键的相应的波形数据,则提示用户所述换台按键漏码,接收用户输入来触发学习模块815执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤。When the automatic channel changing module 801 performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not exist Corresponding waveform data of the change button, prompting the user to miss the code of the change button, and receiving the user input to trigger the learning module 815 to perform the learning of the button signal of the second remote control device through the learning process to obtain the button - The steps of the waveform database.
进一步的,在具体实现中,学习模块815可如图16所示包括:预设置模块8151、第二信号输入模块8153、存储模块8155以及结束模块8157。其中:Further, in a specific implementation, the learning module 815 may include a preset module 8151, a second signal input module 8153, a storage module 8155, and an end module 8157 as shown in FIG. 16. among them:
预设置模块8151,用于生成并输出按键提示信息,按键提示信息用于提示用户按照预设的顺序完成第一遥控装置的待设置按键的学习;The preset module 8151 is configured to generate and output button prompt information, and the button prompt information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
第二信号输入模块8153,用于接收第二遥控装置发出的第二按键信号,第二按键信号为用户根据按键提示信息在第二遥控装置上按下待设置按键对应的学习目标按键时触发的按键信号;The second signal input module 8153 is configured to receive a second button signal sent by the second remote control device, where the second button signal is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information. Button signal
存储模块8155,用于记录第二按键信号的波形数据;将待设置按键与第二按键信号的波形数据一一对应的存储于按键-波形数据库;The storage module 8155 is configured to record waveform data of the second button signal; and store the waveform of the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
结束模块8157,用于判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,则触发预设置模块8151执行所述生成并输出按键提示信息的步骤;当判断结果为是时,则结束所述学习过程。The end module 8157 is configured to determine whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the triggering pre-setting module 8151 performs the step of generating and outputting the button prompt information; If yes, the learning process ends.
再进一步的,在具体实现中,预设置模块8151可如图17所示包括:Further, in a specific implementation, the preset module 8151 can include as shown in FIG. 17:
显示模块81511,用于通过显示装置显示第一遥控装置的虚拟的第一遥控装置;a display module 81511, configured to display, by the display device, a virtual first remote control device of the first remote control device;
提示模块81513,用于按预设的顺序在虚拟的第一遥控装置上通过焦点来提示用户待设置按键,以提示用户在第二遥控装置上按下待设置按键对应的学习目标按键。The prompting module 81513 is configured to prompt the user to set a button through the focus on the virtual first remote control device in a preset order to prompt the user to press the learning target button corresponding to the button to be set on the second remote control device.
再进一步的,在具体实现中,结束模块8157可如图18所示包括:第二判断模块81571、第一处理模块81573以及第二处理模块81575。其中:Further, in a specific implementation, the ending module 8157 may include a second determining module 81571, a first processing module 81573, and a second processing module 81575 as shown in FIG. 18. among them:
第二判断模块81571,用于判断是否按照预设的顺序完成对全部待设置按键的学习;The second determining module 81571 is configured to determine whether to complete learning of all the to-be-set buttons in a preset order;
第一处理模块81573,用于当判断结果为否时,则触发预设置模块8151执行所述生成并输出按键提示信息的步骤; The first processing module 81573 is configured to: when the determination result is no, trigger the pre-setting module 8151 to perform the step of generating and outputting the button prompt information;
第二处理模块81575,用于当判断结果为是时,则结束所述学习过程。The second processing module 81575 is configured to end the learning process when the determination result is YES.
再进一步的,图19示出了本发明的第四种实施例的获取节目信息的机顶盒的结构示意图,再详细说明机顶盒80的结构,机顶盒80包括自动换台模块801、视频接收模块803、视频处理模块805、信息处理模块807、学习模块815以及学习触发模块813外,还可以包括:转发模块817,其中:Further, FIG. 19 is a schematic structural diagram of a set top box for acquiring program information according to a fourth embodiment of the present invention. The structure of the set top box 80 is further described. The set top box 80 includes an automatic channel changing module 801, a video receiving module 803, and a video. The processing module 805, the information processing module 807, the learning module 815, and the learning triggering module 813 may further include: a forwarding module 817, where:
转发模块817,用于在学习模块815执行所述通过学习过程学习第二遥控装置的按键信号的步骤之后,执行包括:接收第一遥控装置的第一按键信号;识别第一按键信号对应的按键,在按键-波形数据库中找到与该按键对应的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;根据该按键对应的波形数据模拟出频道切换信号,发送频道切换信号至第二机顶盒;频道切换信号与换台信号一样,用于控制第二机顶盒切换电视频道。The forwarding module 817 is configured to: after the learning module 815 performs the step of learning the button signal of the second remote control device through the learning process, performing: including: receiving a first button signal of the first remote control device; and identifying a button corresponding to the first button signal Finding the waveform data corresponding to the button in the button-waveform database; storing the waveform data of the button signal of the second remote control device in the button-waveform database, and the waveform data of the button signal of the second remote control device and the button of the first remote control device Corresponding to; simulating the channel switching signal according to the waveform data corresponding to the button, and transmitting the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel, like the channel changing signal.
再进一步,在具体实现中,转发模块817如图20所示可包括:第一信号输入模块8171、信号处理模块8173以及信号输出模块8175。其中:Further, in a specific implementation, the forwarding module 817 may include a first signal input module 8171, a signal processing module 8173, and a signal output module 8175 as shown in FIG. among them:
第一信号输入模块8171,用于接收第一遥控装置的第一按键信号;The first signal input module 8171 is configured to receive a first button signal of the first remote control device;
信号处理模块8173,用于识别第一按键信号对应的按键,在按键-波形数据库中找到与该按键对应的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;The signal processing module 8173 is configured to identify a button corresponding to the first button signal, and find waveform data corresponding to the button in the button-waveform database; the waveform data of the button signal of the second remote control device is stored in the button-waveform database, and the second The waveform data of the button signal of the remote control device and the button of the first remote control device are in one-to-one correspondence;
信号输出模块8175,用于根据该按键对应的波形数据模拟出频道切换信号,发送频道切换信号至第二机顶盒;频道切换信号与所述换台信号一样,用于控制所述第二机顶盒切换电视频道。The signal output module 8175 is configured to simulate a channel switching signal according to the waveform data corresponding to the button, and send a channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television, like the channel changing signal Channel.
再进一步,在具体实现中,信号处理模块8173如图21所示可包括:信号识别模块81731和波形数据获取模块81733。其中:Further, in a specific implementation, the signal processing module 8173 may include a signal identification module 81731 and a waveform data acquisition module 81733 as shown in FIG. 21. among them:
信号识别模块81731,用于识别第一按键信号对应的按键;a signal identification module 81731, configured to identify a button corresponding to the first button signal;
波形数据获取模块81733,用于在按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置的按键信号的波形数据,所述第二遥控装置的按键信号的波形数据与所述第一遥控装置的按键一一对应 The waveform data obtaining module 81733 is configured to find waveform data corresponding to the button in the button-waveform database; the button-waveform database stores waveform data of a button signal of the second remote control device, and the second remote control device The waveform data of the button signal is in one-to-one correspondence with the button of the first remote control device
再进一步,在具体实现中,信号输出模块8175如图22所示可包括:信号模拟模块81751和信号发送模块81753。其中:Further, in a specific implementation, the signal output module 8175 may include a signal simulation module 81751 and a signal transmission module 81753 as shown in FIG. 22 . among them:
信号模拟模块81751,用于根据该按键对应的波形数据模拟出频道切换信号;The signal simulation module 81751 is configured to simulate a channel switching signal according to the waveform data corresponding to the button;
信号发送模块81753,用于发送频道切换信号至第二机顶盒;频道切换信号用于控制第二机顶盒切换电视频道。The signal sending module 81753 is configured to send a channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel.
再进一步的,图23示出了本发明的第五种实施例的获取节目信息的机顶盒的结构示意图,再详细说明机顶盒80的结构,机顶盒80可包括自动换台模块801、视频接收模块803、视频处理模块805、信息处理模块807、学习模块815、学习触发模块813、转发模块817、第一触发模块809以及异常检测模块811。Further, FIG. 23 is a schematic structural diagram of a set top box for acquiring program information according to a fifth embodiment of the present invention. The structure of the set top box 80 may be further described. The set top box 80 may include an automatic channel changing module 801 and a video receiving module 803. The video processing module 805, the information processing module 807, the learning module 815, the learning triggering module 813, the forwarding module 817, the first triggering module 809, and the abnormality detecting module 811.
参见图24,是本发明的一种实施例的图像识别服务器的结构示意图,图24所示的图像识别服务器90可包括:接收模块901、台标提取模块903以及节目信息发送模块905。其中:Referring to FIG. 24, which is a schematic structural diagram of an image recognition server according to an embodiment of the present invention, the image recognition server 90 shown in FIG. 24 may include a receiving module 901, a logo extraction module 903, and a program information sending module 905. among them:
接收模块901,用于接收第一机顶盒发送的视频图像;该视频图像为第一机顶盒从视频信号中提取的视频图像;该视频信号为第一机顶盒根据预定的波形数据自动产生换台信号,发送该换台信号至第二机顶盒后,接收到的第二机顶盒发送的视频信号;该视频信号为第二机顶盒根据该换台信号切换当前播放的电视频道后发送的视频信号;The receiving module 901 is configured to receive a video image sent by the first set top box; the video image is a video image extracted by the first set top box from the video signal; the video signal is a first set top box automatically generating a channel change signal according to the predetermined waveform data, and sending After receiving the signal to the second set top box, the received video signal sent by the second set top box; the video signal is a video signal sent by the second set top box after switching the currently played TV channel according to the change signal;
台标提取模块903,用于提取该视频图像中的电视台标识;a station label extraction module 903, configured to extract a television station identifier in the video image;
节目信息发送模块905,用于遍历节目信息数据库来寻找与该电视台标识匹配的节目信息,如果找到与该电视台标识匹配的节目信息,则发送该节目信息至第一机顶盒。The program information sending module 905 is configured to traverse the program information database to find program information that matches the television station identifier. If the program information matching the television station identifier is found, the program information is sent to the first set top box.
参见图25,是本发明的第六种实施例的获取节目信息的机顶盒的结构示意图,该机顶盒为上述第一机顶盒。如图25所示,机顶盒250可以包括:至少一个处理器2501,例如CPU,至少两个网络接口:第一网络接口2504和第二网络接口2507,至少一个HDMI输入接口2503和至少一个HDMI输出接口2508,至少一个红外线收发器2506,至少一个存储器2505以及至少一个通信总线2502。其中,通信总线2502用于实现这些组件之间的通信连接。其中, 存储器2505可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器2505可选的还可以是至少一个位于远离前述处理器2501的存储装置。如图25所示,作为一种计算机存储介质的存储器2505中可以包括操作系统、网络通信模块、HDMI模块以及获取节目信息程序。Referring to FIG. 25, it is a schematic structural diagram of a set top box for acquiring program information according to a sixth embodiment of the present invention. The set top box is the first set top box. As shown in FIG. 25, the set top box 250 may include: at least one processor 2501, such as a CPU, at least two network interfaces: a first network interface 2504 and a second network interface 2507, at least one HDMI input interface 2503 and at least one HDMI output interface 2508, at least one infrared transceiver 2506, at least one memory 2505, and at least one communication bus 2502. Among them, the communication bus 2502 is used to implement a communication connection between these components. among them, The memory 2505 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 2505 can optionally also be at least one storage device located remotely from the aforementioned processor 2501. As shown in FIG. 25, a memory 2505 as a computer storage medium may include an operating system, a network communication module, an HDMI module, and a program information acquisition program.
在图25所示的机顶盒250中,HDMI输出接口2508主要用于连接电视机,传输电视数据给电视机;HDMI输入接口2503主要用于连接第二机顶盒,接收第二机顶盒传送的电视数据;红外线收发器2506主要用于发送第一机顶盒250自动生成的换台信号至第二机顶盒,接收第一遥控装置的第一按键信号,还可用于转发根据第一遥控装置的按键信号生成的第二遥控装置的频道切换信号;而处理器2501可以用于调用存储器2505中存储的切换电视频道程序,并执行以下操作:In the set top box 250 shown in FIG. 25, the HDMI output interface 2508 is mainly used to connect a television set and transmit television data to the television set; the HDMI input interface 2503 is mainly used to connect the second set top box and receive the television data transmitted by the second set top box; The transceiver 2506 is mainly configured to send the channel change signal automatically generated by the first set top box 250 to the second set top box, receive the first button signal of the first remote control device, and may also be used to forward the second remote control generated according to the button signal of the first remote control device. The channel switching signal of the device; and the processor 2501 can be used to call the switch TV channel program stored in the memory 2505 and perform the following operations:
根据预定的波形数据自动产生换台信号,发送该换台信号至第二机顶盒;Automatically generating a channel change signal according to predetermined waveform data, and transmitting the channel change signal to the second set top box;
接收第二机顶盒的视频信号;该视频信号为第二机顶盒根据该换台信号切换当前播放的电视频道后发送的视频信号;Receiving a video signal of the second set top box; the video signal is a video signal sent by the second set top box after switching the currently played TV channel according to the switching signal;
根据第二机顶盒的视频信号来获得该视频信号对应的节目信息,存储该节目信息至节目信息列表中;Obtaining program information corresponding to the video signal according to the video signal of the second set top box, and storing the program information into the program information list;
判断节目信息列表是否包含第二机顶盒的全部电视频道的节目信息,当判断结果为是时,发送节目信息列表至预设的社交应用;当判断结果为否时,继续执行所述根据预定的波形数据自动产生换台信号的步骤。Determining whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, transmitting the program information list to the preset social application; when the determination result is no, continuing to execute the predetermined waveform according to the predetermined The data automatically generates the step of changing the signal.
进一步的,处理器2501执行所述根据预定的波形数据自动产生第二机顶盒的换台信号的步骤具体可包括:Further, the step of the processor 2501 performing the step of automatically generating the channel change signal of the second set top box according to the predetermined waveform data may specifically include:
处理器2501在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为预定的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;The processor 2501 selects waveform data corresponding to the change button of the predetermined first remote control device as predetermined waveform data in the button-waveform database; the waveform data of the second remote control device button signal is stored in the button-waveform database, and the second remote control The waveform data of the device button signal is in one-to-one correspondence with the buttons of the first remote control device;
处理器2501根据预定的第一遥控装置的换台按键对应的波形数据生成第二机顶盒的换台信号。The processor 2501 generates a channel change signal of the second set top box according to the waveform data corresponding to the predetermined change button of the first remote control device.
再进一步的,处理器2501执行所述根据第二机顶盒的视频信号来获得该 视频信号对应的节目信息的步骤具体可包括:处理器2501提取该视频信号中的视频图像;处理器2501发送该视频图像至图像识别服务器;处理器2501接收图像识别服务器返回的该视频图像对应的节目信息;该视频图像对应的节目信息即为该视频信号对应的节目信息。Further, the processor 2501 performs the video signal according to the second set top box to obtain the The step of the program information corresponding to the video signal may specifically include: the processor 2501 extracts the video image in the video signal; the processor 2501 sends the video image to the image recognition server; and the processor 2501 receives the video image corresponding to the image recognition server. Program information; the program information corresponding to the video image is the program information corresponding to the video signal.
再进一步的,在处理器2501执行所述第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒的步骤之前,包括:处理器2501接收第一控制遥控器发送的第一设置信号,第一设置信号用于触发处理器2501执行所述根据预定的波形数据自动产生换台信号的步骤;或处理器2501接收预设的社交应用发送的获取节目信息列表的请求,该请求用于触发处理器2501执行所述根据预定的波形数据自动产生换台信号的步骤。Further, before the processor 2501 performs the step that the first set top box automatically generates the channel change signal according to the predetermined waveform data and sends the channel change signal to the second set top box, the processor 2501 receives the first control remote controller. a first setting signal sent, the first setting signal is used to trigger the processor 2501 to perform the step of automatically generating a channel change signal according to the predetermined waveform data; or the processor 2501 receives the preset program information list sent by the social application. A request for triggering the processor 2501 to perform the step of automatically generating a channel change signal based on predetermined waveform data.
再进一步的,处理器2501判断节目信息列表是否包含第二机顶盒的全部电视频道的节目信息具体可包括:当节目信息列表中重复出现的相同的片段时,该片段中有预设个数的节目名称不同的节目信息,则处理器2501判定节目信息列表包含第二机顶盒的全部电视频道的节目信息。另外,当节目信息列表中同一节目名称的节目信息连续重复出现时,处理器2501提示用户获取节目信息失败。Further, the processor 2501 determining whether the program information list includes the program information of all the TV channels of the second set top box may specifically include: when the same segment repeatedly appears in the program information list, the preset number of programs in the segment The program 2501 determines that the program information list contains program information of all television channels of the second set top box. In addition, when the program information of the same program name in the program information list is continuously repeated, the processor 2501 prompts the user to acquire the program information.
再进一步的,在执行所述第一机顶盒根据预定的波形数据自动产生第二机顶盒的换台信号的步骤之前,处理器2501可通过学习过程学习第二遥控装置的按键信号来获得按键-波形数据库,该学习过程具体包括:Further, before performing the step of automatically generating the channel change signal of the second set top box according to the predetermined waveform data, the processor 2501 may learn the button signal of the second remote control device through the learning process to obtain the button-waveform database. The learning process specifically includes:
处理器2501生成并输出按键提示信息,按键提示信息用于提示用户按照预设的顺序完成第一遥控装置的待设置按键的学习;The processor 2501 generates and outputs a button prompting information, and the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
处理器2501接收第二遥控装置发出的第二按键信号,第二按键信号为用户根据按键提示信息在第二遥控装置上按下待设置按键对应的学习目标按键时触发的按键信号;The processor 2501 receives the second button signal sent by the second remote control device, and the second button signal is a button signal that is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
处理器2501记录第二按键信号的波形数据;将待设置按键与第二按键信号的波形数据一一对应地存储于按键-波形数据库;The processor 2501 records the waveform data of the second button signal; and stores the waveform of the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
处理器2501判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,结束该学习过程。 The processor 2501 determines whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the learning process is ended. .
再进一步的,处理器2501在执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤之后,还包括:Further, after performing the step of learning the button signal of the second remote control device to obtain the button-waveform database through the learning process, the processor 2501 further includes:
处理器2501接收第一遥控装置的第一按键信号;The processor 2501 receives the first button signal of the first remote control device;
处理器2501识别第一按键信号对应的按键,在按键-波形数据库中找到与该按键对应的波形数据;按键-波形数据库中存储有第二遥控装置按键信号的波形数据,第二遥控装置按键信号的波形数据与第一遥控装置的按键一一对应;The processor 2501 identifies a button corresponding to the first button signal, and finds waveform data corresponding to the button in the button-waveform database; the waveform data of the second remote control device button signal is stored in the button-waveform database, and the second remote control device button signal The waveform data is in one-to-one correspondence with the buttons of the first remote control device;
处理器2501根据该按键对应的波形数据模拟出频道切换信号,发送频道切换信号至第二机顶盒;频道切换信号与上述换台信号一样,用于控制第二机顶盒切换电视频道。The processor 2501 simulates a channel switching signal according to the waveform data corresponding to the button, and sends a channel switching signal to the second set top box. The channel switching signal is used to control the second set top box to switch the television channel, similar to the channel changing signal.
再进一步的,处理器2501执行所述生成并输出按键提示信息的步骤具体可包括:处理器2501在显示装置上显示第一遥控装置的虚拟的第一遥控装置;处理器2501按预设的顺序在虚拟的第一遥控装置上通过焦点来提示用户待设置按键;以提示用户在第二遥控装置上按下待设置按键对应的学习目标按键。Further, the step of the processor 2501 executing the generating and outputting the button prompt information may specifically include: the processor 2501 displaying the virtual first remote control device of the first remote control device on the display device; the processor 2501 is in a preset order The user is prompted to set a button by focusing on the virtual first remote control device; to prompt the user to press the learning target button corresponding to the button to be set on the second remote control device.
再进一步的,处理器2501执行所述判断是否按照预设的顺序完成对全部待设置按键的学习的步骤具体可包括:处理器2501遍历按键-波形数据库,如果第一遥控装置的全部按键都在按键-波型数据库中有各自对应的波形数据,则判断学习过程已完成;如果存在有第一遥控装置的按键在按键-波形数据库中没有相对应的波形数据,则判断第一遥控装置的按键没有全部完成所述学习过程。Further, the step of the processor 2501 performing the determining whether the learning of all the to-be-set buttons is completed in a preset order may specifically include: the processor 2501 traversing the button-waveform database, if all the buttons of the first remote control device are If there is a corresponding waveform data in the button-wave type database, it is judged that the learning process has been completed; if there is a button of the first remote control device that does not have corresponding waveform data in the button-waveform database, the button of the first remote control device is determined. The learning process is not fully completed.
再进一步的,处理器2501执行所述第一机顶盒通过学习过程学习第二遥控装置的按键信号的步骤之前,还包括:Further, before the step of the processor 2501 executing the button signal of the second remote control device through the learning process, the processor 2501 further includes:
处理器2501接收第一控制遥控器发送的第二设置信号,第二设置信号用于触发处理器2501执行所述通过学习过程学习第二遥控装置的按键信号来获得按键-波形数据库的步骤;或The processor 2501 receives a second setting signal sent by the first control remote controller, and the second setting signal is used to trigger the processor 2501 to perform the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
处理器2501在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为预定的波形数据的步骤时,如果按键-波形数据库为空,则处理器2501执行所述通过学习过程学习第二遥控装置的按键信号来获得按键-波形数据库的步骤;或When the processor 2501 performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device as the predetermined waveform data in the button-waveform database, if the button-waveform database is empty, the processor 2501 executes The step of learning a button signal of the second remote control device through the learning process to obtain a button-waveform database; or
处理器2501在执行所述在按键-波形数据库中选择预定的第一遥控装置的 换台按键对应的波形数据作为预定的波形数据的步骤时,如果按键-波形数据库中没有该换台按键的相应的波形数据,则提示用户该换台按键漏码,接收用户输入来触发处理器2501执行所述通过学习过程学习第二遥控装置的按键信号来获得按键-波形数据库的步骤。The processor 2501 performs the selection of the predetermined first remote control device in the button-waveform database When the waveform data corresponding to the switch button is used as the predetermined waveform data, if the corresponding waveform data of the change button is not present in the button-waveform database, the user is prompted to miss the code, and the user input is received to trigger the processor. 2501 performs the step of learning a key signal of the second remote control device through the learning process to obtain a button-waveform database.
再进一步的,当第二遥控装置发送的按键信号为红外波时,处理器2501通过红外线发射器来发送所述换台信号至第二机顶盒;处理器2501通过红外线接收器来接收第二遥控装置发出的第二按键信号;处理器2501通过红外线发射器发送所述频道切换信号至第二机顶盒。Further, when the button signal sent by the second remote control device is an infrared wave, the processor 2501 transmits the channel change signal to the second set top box through the infrared transmitter; the processor 2501 receives the second remote control device through the infrared receiver. The second button signal is sent; the processor 2501 sends the channel switching signal to the second set top box through the infrared transmitter.
参见图26,是本发明的一种实施例的获取节目信息的系统的示意图,如图26所示的获取节目信息的系统可包括:第一机顶盒261和第二机顶盒263。其中:Referring to FIG. 26, which is a schematic diagram of a system for acquiring program information according to an embodiment of the present invention, the system for acquiring program information shown in FIG. 26 may include: a first set top box 261 and a second set top box 263. among them:
第一机顶盒261根据预定的波形数据自动产生换台信号,发送该换台信号至第二机顶盒263;The first set top box 261 automatically generates a channel change signal according to the predetermined waveform data, and transmits the channel change signal to the second set top box 263;
第一机顶盒261接收第二机顶盒263的视频信号;该视频信号为第二机顶盒263根据该换台信号切换当前播放的电视频道后发送的视频信号;The first set top box 261 receives the video signal of the second set top box 263; the video signal is a video signal sent by the second set top box 263 after switching the currently played TV channel according to the change signal;
第一机顶盒261根据第二机顶盒的视频信号来获得该视频信号对应的节目信息,存储该节目信息至节目信息列表中;The first set top box 261 obtains program information corresponding to the video signal according to the video signal of the second set top box, and stores the program information into the program information list;
第一机顶盒261判断节目信息列表是否包含第二机顶盒263的全部电视频道的节目信息,当判断结果为是时,发送节目信息列表至预设的社交应用;当判断结果为否时,继续执行所述根据预定的波形数据自动产生换台信号的步骤。The first set top box 261 determines whether the program information list includes the program information of all the television channels of the second set top box 263. When the determination result is yes, the program information list is sent to the preset social application; when the judgment result is no, the execution continues. The step of automatically generating a channel change signal based on predetermined waveform data.
需要说明的,第一机顶盒261可以是上述图8至上述图23所示的机顶盒80,可选的,该第一机顶盒261还可以是上述图25所示的机顶盒250;第一机顶盒261的各个功能模块可以参考上述实施例中的机顶盒80或机顶盒250的描述,这里不再赘述。It should be noted that the first set top box 261 may be the set top box 80 shown in FIG. 8 to FIG. 23 above. Optionally, the first set top box 261 may also be the set top box 250 shown in FIG. 25; For the function module, reference may be made to the description of the set top box 80 or the set top box 250 in the above embodiment, and details are not described herein again.
可理解的是,该第一机顶盒261和上述内容中所述的第二机顶盒可以为同一硬件物理模块,可以为单独的两个硬件物理模块。It can be understood that the first set top box 261 and the second set top box described in the foregoing content may be the same hardware physical module, and may be two separate hardware physical modules.
参见图27,是本发明的另一种实施例的获取节目信息的系统的示意图,如图27所示的获取节目信息的系统包括第一机顶盒261和第二机顶盒263外,还可以包括图像识别服务器265。其中:图像识别服务器265可以是上述图24 所示的图像识别服务器90,图像识别服务器265的各个功能模块可以参考图像识别服务器90的描述,这里不再赘述。Referring to FIG. 27, which is a schematic diagram of a system for acquiring program information according to another embodiment of the present invention, the system for acquiring program information shown in FIG. 27 includes a first set top box 261 and a second set top box 263, and may further include image recognition. Server 265. Wherein: the image recognition server 265 can be the above FIG. 24 The illustrated image recognition server 90, the various functional modules of the image recognition server 265 can refer to the description of the image recognition server 90, and details are not described herein again.
综上所述,通过实施本发明实施例,第一机顶盒向第二机顶盒发送自动换台信号,接收第二机顶盒根据该自动换台信号切换电视频道后的视频信号,并获取该视频信号对应的节目信息,存储该节目信息至节目列表中;如果该节目列表中包含第二机顶盒的全部电视节目,第一机顶盒发送该节目列表至预设的社交应用;本发明实施例可实现获取传统机顶盒的节目信息列表,提供该节目信息列表至该社交应用,可实现用户在该社交应用上根据传统机顶盒的电视节目的节目信息列表进行社交活动。In summary, by implementing the embodiment of the present invention, the first set top box sends an automatic channel change signal to the second set top box, and receives the video signal after the second set top box switches the television channel according to the automatic channel change signal, and obtains the corresponding video signal. The program information is stored in the program list; if the program list includes all the television programs of the second set top box, the first set top box sends the program list to the preset social application; the embodiment of the present invention can implement the acquisition of the traditional set top box. The program information list provides the program information list to the social application, and the user can perform social activities on the social application according to the program information list of the television program of the traditional set top box.
另外,通过实施本发明实施例,第一机顶盒可通过上述学习过程学习第二遥控装置的按键信号,将该按键信号设置为第一遥控装置的待设置按键对应的按键信号,可实现第一机顶盒以半自动的方式来学习第二遥控装置的按键信号,减少了用户操作;而且,第一机顶盒可根据第一遥控装置的按键信号来模拟出第二遥控装置的频道切换信号,并将该频道切换信号转发给第二机顶盒,来切换第二机顶盒的当前的播放节目,可实现仅用第一遥控装置控制第一机顶盒和第二机顶盒,实现电视端通过第一机顶盒来观看第二机顶盒的电视节目。In addition, by implementing the embodiment of the present invention, the first set top box can learn the button signal of the second remote control device through the learning process, and set the button signal as the button signal corresponding to the button to be set of the first remote control device, so that the first set top box can be realized. Learning the button signal of the second remote control device in a semi-automatic manner, reducing user operation; and, the first set top box can simulate the channel switching signal of the second remote control device according to the button signal of the first remote control device, and switch the channel The signal is forwarded to the second set top box to switch the current play program of the second set top box, so that the first set top box and the second set top box can be controlled only by the first remote control device, so that the television end can watch the television program of the second set top box through the first set top box. .
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。 The above disclosure is only a preferred embodiment of the present invention, and of course, the scope of the present invention is not limited thereto, and those skilled in the art can understand all or part of the process of implementing the above embodiments, and according to the present invention. The equivalent changes required are still within the scope of the invention.

Claims (37)

  1. 一种获取节目信息的方法,其特征在于,包括:A method for obtaining program information, comprising:
    第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒;The first set top box automatically generates a channel change signal according to the predetermined waveform data, and sends the channel change signal to the second set top box;
    第一机顶盒接收第二机顶盒的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号;The first set top box receives the video signal of the second set top box; the video signal is a video signal sent by the second set top box after switching the currently played TV channel according to the channel change signal;
    第一机顶盒根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息,存储所述节目信息至节目信息列表中;The first set top box obtains program information corresponding to the video signal according to the video signal of the second set top box, and stores the program information into the program information list;
    第一机顶盒判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息,当判断结果为是时,发送所述节目信息列表至预设的社交应用;当判断结果为否时,继续执行所述根据预定的波形数据自动产生换台信号的步骤。Determining, by the first set top box, whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, sending the program information list to a preset social application; when the determination result is no, continuing The step of automatically generating a channel change signal based on the predetermined waveform data is performed.
  2. 如权利要求1所述的方法,其特征在于,所述第一机顶盒根据预定的波形数据自动产生第二机顶盒的换台信号包括:The method of claim 1, wherein the automatically generating the signal of the second set top box by the first set top box according to the predetermined waveform data comprises:
    第一机顶盒在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;The first set top box selects waveform data corresponding to the change button of the predetermined first remote control device as the predetermined waveform data in the button-waveform database; the waveform data of the second remote control device button signal is stored in the button-waveform database The waveform data of the button signal of the second remote control device is in one-to-one correspondence with the button of the first remote control device;
    第一机顶盒根据所述预定的第一遥控装置的换台按键对应的波形数据生成所述第二机顶盒的换台信号。The first set top box generates a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
  3. 如权利要求1所述的方法,其特征在于,所述第一机顶盒根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息包括:The method of claim 1, wherein the obtaining, by the first set top box, the program information corresponding to the video signal according to the video signal of the second set top box comprises:
    第一机顶盒提取所述视频信号中的视频图像;The first set top box extracts a video image in the video signal;
    第一机顶盒发送所述视频图像至图像识别服务器;The first set top box sends the video image to an image recognition server;
    第一机顶盒接收图像识别服务器返回的所述视频图像对应的节目信息;所述视频图像对应的节目信息即为所述视频信号对应的节目信息。 The first set top box receives the program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is the program information corresponding to the video signal.
  4. 如权利要求1所述的方法,其特征在于,在所述第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒之前,包括:The method of claim 1, wherein the first set top box automatically generates a channel change signal according to predetermined waveform data, and before transmitting the channel change signal to the second set top box, the method comprises:
    第一机顶盒接收所述第一控制遥控器发送的第一设置信号,所述第一设置信号用于触发第一机顶盒执行所述根据预定的波形数据自动产生换台信号的步骤;或Receiving, by the first set top box, a first setting signal sent by the first control remote controller, where the first setting signal is used to trigger the first set top box to perform the step of automatically generating a channel changing signal according to predetermined waveform data; or
    第一机顶盒接收所述预设的社交应用发送的获取节目信息列表的请求,所述请求用于触发第一机顶盒执行所述根据预定的波形数据自动产生换台信号的步骤。The first set top box receives a request for acquiring a program information list sent by the preset social application, and the request is used to trigger the first set top box to perform the step of automatically generating a channel change signal according to the predetermined waveform data.
  5. 如权利要求1所述的方法,其特征在于,所述第一机顶盒判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息包括:The method of claim 1, wherein the determining, by the first set top box, whether the program information list comprises program information of all television channels of the second set top box comprises:
    当所述节目信息列表中重复出现的相同的片段时,所述片段中有预设个数的节目名称不同的节目信息,则第一机顶盒判定所述节目信息列表包含第二机顶盒的全部电视频道的节目信息。When the same segment repeated in the program information list has a preset number of program information with different program names, the first set top box determines that the program information list includes all television channels of the second set top box. Program information.
  6. 如权利要求1所述的方法,其特征在于,还包括:当所述节目信息列表中同一节目名称的节目信息连续重复出现时,第一机顶盒提示用户获取节目信息失败。The method of claim 1, further comprising: when the program information of the same program name in the program information list is continuously repeated, the first set top box prompts the user to obtain the program information.
  7. 如权利要求1所述的方法,其特征在于,所述第一机顶盒接收第二机顶盒的视频信号包括:The method of claim 1, wherein the receiving, by the first set top box, the video signal of the second set top box comprises:
    第一机顶盒将在视频数据传输期通过HDMI输入接口接收的第二机顶盒传送的数据包作为所述第二机顶盒的视频信号。The first set top box uses the data packet transmitted by the second set top box received through the HDMI input interface during the video data transmission period as the video signal of the second set top box.
  8. 如权利要求2所述的方法,其特征在于,在所述第一机顶盒根据预定的波形数据自动产生第二机顶盒的换台信号之前,第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库,所述学习过程具体包括: The method according to claim 2, wherein the first set top box learns the key signal of the second remote control device through the learning process before the first set top box automatically generates the channel change signal of the second set top box according to the predetermined waveform data. Obtaining the button-waveform database, the learning process specifically includes:
    第一机顶盒生成并输出按键提示信息,所述按键提示信息用于提示用户按照预设的顺序完成第一遥控装置的待设置按键的学习;The first set top box generates and outputs a button prompting information, where the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
    第一机顶盒接收所述第二遥控装置发出的第二按键信号,所述第二按键信号为用户根据所述按键提示信息在所述第二遥控装置上按下所述待设置按键对应的学习目标按键时触发的按键信号;The first set top box receives the second button signal sent by the second remote control device, and the second button signal is a learning target that the user presses the button to be set on the second remote control device according to the button prompt information. The button signal triggered when the button is pressed;
    第一机顶盒记录所述第二按键信号的波形数据;将所述待设置按键与所述第二按键信号的波形数据一一对应地存储于按键-波形数据库;The first set top box records the waveform data of the second button signal; and stores the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
    第一机顶盒判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,结束所述学习过程。The first set top box determines whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the learning is ended. process.
  9. 如权利要求8所述的方法,其特征在于,在所述第一机顶盒通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库之后,还包括:The method according to claim 8, wherein after the first set top box learns the key signal of the second remote control device through the learning process to obtain the button-waveform database, the method further includes:
    第一机顶盒接收第一遥控装置的第一按键信号;Receiving, by the first set top box, a first button signal of the first remote control device;
    第一机顶盒识别所述第一按键信号对应的按键,在所述按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;The first set top box identifies a button corresponding to the first button signal, and finds waveform data corresponding to the button in the button-waveform database; the button-waveform database stores waveform data of a second remote control device button signal The waveform data of the button signal of the second remote control device is in one-to-one correspondence with the button of the first remote control device;
    第一机顶盒根据所述按键对应的波形数据模拟出频道切换信号,发送所述频道切换信号至第二机顶盒;所述频道切换信号与所述换台信号一样,用于控制所述第二机顶盒切换电视频道。The first set top box simulates a channel switching signal according to the waveform data corresponding to the button, and sends the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box switching, like the channel changing signal TV channel.
  10. 如权利要求8所述的方法,其特征在于,所述第一机顶盒生成并输出按键提示信息包括:The method of claim 8, wherein the generating and outputting the button prompt information by the first set top box comprises:
    第一机顶盒在显示装置上显示所述第一遥控装置的虚拟的第一遥控装置;The first set top box displays a virtual first remote control device of the first remote control device on the display device;
    第一机顶盒按所述预设的顺序在所述虚拟的第一遥控装置上通过焦点来提示用户所述待设置按键;以提示用户在所述第二遥控装置上按下所述待设置按键对应的学习目标按键。 The first set top box prompts the user to set the button to be set through the focus on the virtual first remote control device in the preset order; to prompt the user to press the button to be set on the second remote control device Learning target button.
  11. 如权利要求8所述的方法,其特征在于,所述第一机顶盒判断是否按照预设的顺序完成对全部待设置按键的学习包括:The method according to claim 8, wherein the determining, by the first set top box, whether the learning of all the to-be-set buttons is completed in a preset order comprises:
    第一机顶盒遍历所述按键-波形数据库,如果所述第一遥控装置的全部按键都在所述按键-波型数据库中有各自对应的波形数据,则判断所述学习过程已完成;如果存在有所述第一遥控装置的按键在所述按键-波形数据库中没有相对应的波形数据,则判断所述第一遥控装置的按键没有全部完成所述学习过程。The first set top box traverses the button-waveform database, and if all the buttons of the first remote control device have corresponding waveform data in the button-wave type database, it is determined that the learning process has been completed; If the button of the first remote control device does not have corresponding waveform data in the button-waveform database, it is determined that the button of the first remote control device does not complete the learning process.
  12. 如权利要求8所述的方法,其特征在于,在所述第一机顶盒通过学习过程学习第二遥控装置的按键信号之前,还包括:The method according to claim 8, wherein before the first set top box learns the key signal of the second remote control device through the learning process, the method further includes:
    第一机顶盒接收所述第一控制遥控器发送的第二设置信号,所述第二设置信号用于触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或Receiving, by the first set top box, a second setting signal sent by the first control remote controller, where the second setting signal is used to trigger execution of the button signal of the second remote control device through the learning process to obtain the button-waveform database Step; or
    第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库为空,则第一机顶盒执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或When the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty, then The first set top box performs the step of learning the button signal of the second remote control device through the learning process to obtain the button-waveform database; or
    第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库中没有所述换台按键的相应的波形数据,则提示用户所述换台按键漏码,接收用户输入来触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤。The first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not have the Pressing the corresponding waveform data of the button, prompting the user to skip the code, and receiving the user input to trigger the step of learning the button signal of the second remote control through the learning process to obtain the button-waveform database.
  13. 如权利要求9所述的方法,其特征在于,当所述第二遥控装置发送的按键信号为红外波时,所述第一机顶盒执行所述发送所述换台信号至第二机顶盒的步骤具体为所述第一机顶盒通过红外线发射器来发送所述换台信号至第二机顶盒;所述第一机顶盒接收所述第二遥控装置发出的第二按键信号具体为所述第一机顶盒通过红外线接收器来接收所述第二遥控装置发出的第二按键信号;所述第一机顶盒执行所述发送所述频道切换信号至第二机顶盒的步骤具 体为所述第一机顶盒通过红外线发射器发送所述频道切换信号至第二机顶盒。The method according to claim 9, wherein when the key signal transmitted by the second remote control device is an infrared wave, the step of the first set top box performing the transmitting the channel change signal to the second set top box is specific Transmitting, by the infrared setter, the channel change signal to the second set top box for the first set top box; and receiving, by the first set top box, the second button signal sent by the second remote control device, specifically, the first set top box receives by infrared rays Receiving a second button signal sent by the second remote control device; the first set top box performing the step of transmitting the channel switching signal to the second set top box The first set top box sends the channel switching signal to the second set top box through an infrared transmitter.
  14. 一种获取节目信息的方法,其特征在于,包括:A method for obtaining program information, comprising:
    图像识别服务器接收第一机顶盒发送的视频图像;所述视频图像为所述第一机顶盒从视频信号中提取的视频图像;所述视频信号为所述第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒后,接收到的第二机顶盒发送的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号;The image recognition server receives the video image sent by the first set top box; the video image is a video image extracted by the first set top box from the video signal; the video signal is automatically generated by the first set top box according to predetermined waveform data a signal, after receiving the channel change signal to the second set top box, the received video signal sent by the second set top box; the video signal is sent by the second set top box after switching the currently played TV channel according to the channel change signal Video signal
    图像识别服务器提取所述视频图像中的电视台标识;An image recognition server extracts a television station identifier in the video image;
    图像识别服务器遍历节目信息数据库来寻找与所述电视台标识匹配的节目信息,如果找到与所述电视台标识匹配的节目信息,则发送所述节目信息至所述第一机顶盒。The image recognition server traverses the program information database to find program information that matches the television station identification, and if the program information matching the television station identification is found, the program information is transmitted to the first set top box.
  15. 一种机顶盒,其特征在于,所述机顶盒为第一机顶盒,所述第一机顶盒包括:A set top box, wherein the set top box is a first set top box, and the first set top box includes:
    自动换台模块,用于根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒;An automatic channel changing module, configured to automatically generate a channel change signal according to predetermined waveform data, and send the channel change signal to the second set top box;
    视频接收模块,用于接收第二机顶盒的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号;a video receiving module, configured to receive a video signal of the second set top box; the video signal is a video signal sent by the second set top box after the currently played TV channel is switched according to the channel change signal;
    视频处理模块,用于根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息,存储所述节目信息至节目信息列表中;a video processing module, configured to obtain program information corresponding to the video signal according to a video signal of the second set top box, and store the program information into the program information list;
    信息处理模块,用于判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息,当判断结果为是时,发送所述节目信息列表至预设的社交应用;当判断结果为否时,继续执行所述根据预定的波形数据自动产生换台信号的步骤。An information processing module, configured to determine whether the program information list includes program information of all television channels of the second set top box, and when the determination result is yes, send the program information list to a preset social application; when the determination result is no At the same time, the step of automatically generating the channel change signal based on the predetermined waveform data is continued.
  16. 如权利要求15所述的机顶盒,其特征在于,所述自动换台模块包括:The set top box of claim 15 wherein said automatic channel change module comprises:
    换台信号生成模块,用于根据预定的波形数据自动产生换台信号;a channel change signal generating module, configured to automatically generate a channel change signal according to predetermined waveform data;
    换台信号发送模块,用于发送所述换台信号至第二机顶盒。 And a channel changing signal sending module, configured to send the channel changing signal to the second set top box.
  17. 如权利要求15所述的机顶盒,其特征在于,所述视频处理模块包括:The set top box of claim 15 wherein said video processing module comprises:
    节目信息提取模块,用于根据第二机顶盒的视频信号来获得所述视频信号对应的节目信息;a program information extraction module, configured to obtain program information corresponding to the video signal according to a video signal of the second set top box;
    节目信息存储模块,用于存储所述节目信息至节目信息列表中。The program information storage module is configured to store the program information into the program information list.
  18. 如权利要求15所述的机顶盒,其特征在于,所述信息处理模块包括:The set top box of claim 15 wherein said information processing module comprises:
    第一判断模块,用于判断所述节目信息列表是否包含第二机顶盒的全部电视频道的节目信息;a first determining module, configured to determine whether the program information list includes program information of all television channels of the second set top box;
    信息发送模块,用于当判断结果为是时,发送所述节目信息列表至预设的社交应用;An information sending module, configured to send the program information list to a preset social application when the determination result is yes;
    循环模块,用于当判断结果为否时,触发自动换台模块继续执行所述根据预定的波形数据自动产生换台信号的步骤。And a looping module, configured to trigger the automatic channel changing module to continue to perform the step of automatically generating the channel changing signal according to the predetermined waveform data when the determining result is no.
  19. 如权利要求所述15所述的机顶盒,其特征在于,还包括第一触发模块,用于在所述自动换台模块执行所述根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒的步骤之前,执行:The set top box according to claim 15, further comprising a first triggering module, configured to automatically generate a channel change signal according to the predetermined waveform data, and send the channel change Before the signal to the second set-top box, perform:
    接收所述第一控制遥控器发送的第一设置信号,所述第一设置信号用于触发所述自动换台模块执行所述根据预定的波形数据自动产生换台信号的步骤;或Receiving, by the first control remote controller, a first setting signal, where the first setting signal is used to trigger the automatic channel changing module to perform the step of automatically generating a channel changing signal according to predetermined waveform data; or
    接收所述预设的社交应用发送的获取节目信息列表的请求,所述请求用于触发所述自动换台模块执行所述根据预定的波形数据自动产生换台信号的步骤。And receiving, by the preset social application, a request for acquiring a program information list, where the request is used to trigger the automatic channel switching module to perform the step of automatically generating a channel change signal according to predetermined waveform data.
  20. 如权利要求15所述的机顶盒,其特征在于,还包括异常检测模块,用于当所述节目信息列表中同一节目名称的节目信息连续重复出现时,提示用户获取节目信息失败。The set top box according to claim 15, further comprising an abnormality detecting module for prompting the user to acquire the program information when the program information of the same program name in the program information list is continuously repeated.
  21. 如权利要求15所述的机顶盒,其特征在于,所述视频接收模块具体 用于将在视频数据传输期通过HDMI输入接口接收的第二机顶盒传送的数据包作为所述第二机顶盒的视频信号。The set top box according to claim 15, wherein said video receiving module is specific A data packet for transmitting the second set top box received through the HDMI input interface during the video data transmission period is used as the video signal of the second set top box.
  22. 如权利要求16所述的机顶盒,其特征在于,所述换台信号生成模块包括:The set top box according to claim 16, wherein the change signal generating module comprises:
    波形选择模块,用于在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;a waveform selection module, configured to select, in the button-waveform database, waveform data corresponding to a predetermined button of the first remote control device as the predetermined waveform data; and the second remote control device button signal is stored in the button-waveform database Waveform data, the waveform data of the second remote control button signal is in one-to-one correspondence with the buttons of the first remote control device;
    信号生成模块,用于根据所述预定的第一遥控装置的换台按键对应的波形数据生成所述第二机顶盒的换台信号。And a signal generating module, configured to generate a channel change signal of the second set top box according to the waveform data corresponding to the change button of the predetermined first remote control device.
  23. 如权利要求22所述的机顶盒,其特征在于,还包括学习模块,用于在所述自动换台模块执行所述根据预定的波形数据自动产生第二机顶盒的换台信号的步骤之前,通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库,所述学习过程具体包括:A set top box according to claim 22, further comprising a learning module for learning by said automatic switching module before said step of automatically generating a channel change signal of said second set top box based on predetermined waveform data The process of learning the button signal of the second remote control device to obtain the button-waveform database, the learning process specifically includes:
    生成并输出按键提示信息,所述按键提示信息用于提示用户按照预设的顺序完成所述第一遥控装置的待设置按键的学习;Generating and outputting button prompt information, the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device in a preset order;
    接收第二遥控装置发出的第二按键信号,所述第二按键信号为用户根据所述按键提示信息在第二遥控装置上按下所述待设置按键对应的学习目标按键时触发的按键信号;Receiving a second button signal sent by the second remote control device, where the second button signal is a button signal that is triggered when the user presses the learning target button corresponding to the button to be set on the second remote control device according to the button prompt information;
    记录所述第二按键信号的波形数据;将所述待设置按键与所述第二按键信号的波形数据一一对应地存储于按键-波形数据库;Recording waveform data of the second button signal; storing the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
    判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,结束所述学习过程。Determining whether the learning of all the to-be-set buttons is completed in a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is YES, the learning process is ended.
  24. 如权利要求23所述的机顶盒,其特征在于,还包括转发模块,用于在所述学习模块执行所述通过学习过程学习第二遥控装置的按键信号的步骤 之后,执行包括:A set top box according to claim 23, further comprising a forwarding module, configured to perform said step of learning, by said learning module, said key signal of said second remote control device through a learning process After that, the execution includes:
    接收第一遥控装置的第一按键信号;Receiving a first button signal of the first remote control device;
    识别所述第一按键信号对应的按键,在所述按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;Identifying a button corresponding to the first button signal, and finding waveform data corresponding to the button in the button-waveform database; storing waveform data of a second remote device button signal in the button-waveform database, The waveform data of the second remote control button signal is in one-to-one correspondence with the buttons of the first remote control device;
    根据所述按键对应的波形数据模拟出频道切换信号,发送所述频道切换信号至第二机顶盒;所述频道切换信号与所述换台信号一样,用于控制所述第二机顶盒切换电视频道。And simulating a channel switching signal according to the waveform data corresponding to the button, and transmitting the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel, like the channel changing signal.
  25. 如权利要求23所述的机顶盒,其特征在于,还包括学习触发模块,用于在所述学习模块执行所述通过学习过程学习第二遥控装置的按键信号的步骤之前,执行包括:The set top box according to claim 23, further comprising: a learning triggering module, configured to: before the step of the learning module performing the learning of the button signal of the second remote control device through the learning process, performing:
    接收所述第一遥控装置发送的第二设置信号,所述第二设置信号用于触发执行所述通过学习过程学习所述第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或Receiving, by the first remote control device, a second setting signal, where the second setting signal is used to trigger execution of the button signal of learning the second remote control device through a learning process to obtain the button-waveform database; or
    第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库为空,则触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤;或When the first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database is empty, then Triggering to perform the step of learning a button signal of the second remote control device through the learning process to obtain the button-waveform database; or
    第一机顶盒在执行所述在按键-波形数据库中选择预定的第一遥控装置的换台按键对应的波形数据作为所述预定的波形数据的步骤时,如果所述按键-波形数据库中没有所述换台按键的相应的波形数据,则提示用户所述换台按键漏码,接收用户输入来触发执行所述通过学习过程学习第二遥控装置的按键信号来获得所述按键-波形数据库的步骤。The first set top box performs the step of selecting the waveform data corresponding to the change button of the predetermined first remote control device in the button-waveform database as the predetermined waveform data, if the button-waveform database does not have the Pressing the corresponding waveform data of the button, prompting the user to skip the code, and receiving the user input to trigger the step of learning the button signal of the second remote control through the learning process to obtain the button-waveform database.
  26. 如权利要求23所述的机顶盒,其特征在于,所述学习模块包括:The set top box of claim 23, wherein the learning module comprises:
    预设置模块,用于生成并输出按键提示信息,所述按键提示信息用于提示用户按照预设的顺序完成所述第一遥控装置的待设置按键的学习; a pre-setting module, configured to generate and output a button prompting information, where the button prompting information is used to prompt the user to complete the learning of the button to be set of the first remote control device according to a preset sequence;
    第二信号输入模块,用于接收第二遥控装置发出的第二按键信号,所述第二按键信号为用户根据所述按键提示信息在第二遥控装置上按下所述待设置按键对应的学习目标按键时触发的按键信号;a second signal input module, configured to receive a second button signal sent by the second remote control device, where the second button signal is used by the user to press the corresponding button to be set on the second remote control device according to the button prompt information. The button signal triggered when the target button is pressed;
    存储模块,用于记录所述第二按键信号的波形数据;将所述待设置按键与所述第二按键信号的波形数据一一对应的存储于按键-波形数据库;a storage module, configured to record waveform data of the second button signal; store the button to be set and the waveform data of the second button signal in a one-to-one correspondence in the button-waveform database;
    结束模块,用于判断是否按照预设的顺序完成对全部待设置按键的学习,当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;当判断结果为是时,则结束所述学习过程。The end module is configured to determine whether to complete the learning of all the to-be-set buttons according to a preset order. When the determination result is no, the step of generating and outputting the button prompt information is continued; when the determination result is yes, the process ends. The learning process.
  27. 如权利要求17所述的机顶盒,其特征在于,所述节目信息提取模块包括:The set top box according to claim 17, wherein the program information extraction module comprises:
    图像提取模块,用于提取所述视频信号中的视频图像;An image extraction module, configured to extract a video image in the video signal;
    图像发送模块,用于发送所述视频图像至图像识别服务器;An image sending module, configured to send the video image to an image recognition server;
    节目信息接收模块,用于接收图像识别服务器返回的所述视频图像对应的节目信息;所述视频图像对应的节目信息即为所述视频信号对应的节目信息。The program information receiving module is configured to receive program information corresponding to the video image returned by the image recognition server; the program information corresponding to the video image is program information corresponding to the video signal.
  28. 如权利要求18所述的机顶盒,其特征在于,所述第一判断模块具体用于当所述节目信息列表中重复出现的相同的片段时,所述片段中有预设个数的节目名称不同的节目信息,则判定所述节目信息列表包含第二机顶盒的全部电视频道的节目信息。The set top box according to claim 18, wherein the first determining module is specifically configured to: when the same segment repeatedly appears in the program information list, a preset number of program names in the segment are different The program information determines that the program information list includes program information of all television channels of the second set top box.
  29. 如权利要求24所述的机顶盒,其特征在于,所述转发模块包括:The set top box of claim 24, wherein the forwarding module comprises:
    第一信号输入模块,用于接收第一遥控装置的第一按键信号;a first signal input module, configured to receive a first button signal of the first remote control device;
    信号处理模块,用于识别所述第一按键信号对应的按键,在所述按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置按键信号的波形数据,所述第二遥控装置按键信号的波形数据与所述第一遥控装置的按键一一对应;a signal processing module, configured to identify a button corresponding to the first button signal, and find waveform data corresponding to the button in the button-waveform database; and store a second remote device button signal in the button-waveform database Waveform data, the waveform data of the second remote control button signal is in one-to-one correspondence with the buttons of the first remote control device;
    信号输出模块,用于根据所述按键对应的波形数据模拟出频道切换信号,发送所述频道切换信号至第二机顶盒;所述频道切换信号与所述换台信号一样, 用于控制所述第二机顶盒切换电视频道。a signal output module, configured to simulate a channel switching signal according to the waveform data corresponding to the button, and send the channel switching signal to a second set top box; the channel switching signal is the same as the channel changing signal Used to control the second set top box to switch TV channels.
  30. 如权利要求26所述的机顶盒,其特征在于,所述预设置模块包括:The set top box of claim 26, wherein the pre-setting module comprises:
    显示模块,用于通过显示装置显示所述第一遥控装置的虚拟的第一遥控装置;a display module, configured to display a virtual first remote control device of the first remote control device by using a display device;
    提示模块,用于按所述预设的顺序在所述虚拟的第一遥控装置上通过焦点来提示用户所述待设置按键,以提示用户在所述第二遥控装置上按下所述待设置按键对应的学习目标按键。a prompting module, configured to prompt the user to set the button to be set by the focus on the virtual first remote control device in the preset order, to prompt the user to press the to-be-set on the second remote control device The learning target button corresponding to the button.
  31. 如权利要求26所述的机顶盒,其特征在于,所述结束模块包括:The set top box of claim 26, wherein the end module comprises:
    第二判断模块,用于判断是否按照预设的顺序完成对全部待设置按键的学习;a second determining module, configured to determine whether to complete learning of all the to-be-set buttons according to a preset order;
    第一处理模块,用于当判断结果为否时,继续执行所述生成并输出按键提示信息的步骤;a first processing module, configured to: when the determination result is negative, continue to perform the step of generating and outputting the button prompt information;
    第二处理模块,用于当判断结果为是时,则结束所述学习过程。The second processing module is configured to end the learning process when the determination result is yes.
  32. 如权利要求29所述的机顶盒,其特征在于,所述信号处理模块包括:The set top box of claim 29, wherein the signal processing module comprises:
    信号识别模块,用于识别所述第一按键信号对应的按键;a signal recognition module, configured to identify a button corresponding to the first button signal;
    波形数据获取模块,用于在按键-波形数据库中找到与所述按键对应的波形数据;所述按键-波形数据库中存储有第二遥控装置的按键信号的波形数据,所述第二遥控装置的按键信号的波形数据与所述第一遥控装置的按键一一对应。a waveform data acquiring module, configured to find waveform data corresponding to the button in a button-waveform database; the button-waveform database stores waveform data of a button signal of the second remote control device, and the second remote control device The waveform data of the button signal is in one-to-one correspondence with the buttons of the first remote control device.
  33. 如权利要求29所述的机顶盒,其特征在于,所述信号输出模块包括:The set top box of claim 29, wherein the signal output module comprises:
    信号模拟模块,用于根据所述按键对应的波形数据模拟出频道切换信号;a signal simulation module, configured to simulate a channel switching signal according to the waveform data corresponding to the button;
    信号发送模块,用于发送所述频道切换信号至第二机顶盒;所述频道切换信号用于控制所述第二机顶盒切换电视频道。And a signal sending module, configured to send the channel switching signal to the second set top box; the channel switching signal is used to control the second set top box to switch the television channel.
  34. 如权利要求31所述的机顶盒,其特征在于,所述第二判断模块具体 用于遍历所述按键-波形数据库,如果所述第一遥控装置的全部按键都在所述按键-波型数据库中有各自对应的波形数据,则判断按照预设的顺序已完成对全部待设置按键的学习;如果存在有所述第一遥控装置的按键在所述按键-波形数据库中没有相对应的波形数据,则判断按照预设的顺序未完成对全部待设置按键的学习。The set top box according to claim 31, wherein said second determining module is specific For traversing the button-waveform database, if all the buttons of the first remote control device have corresponding waveform data in the button-wave type database, it is determined that all the to-be-sets are completed according to the preset order. If the button of the first remote control device does not have corresponding waveform data in the button-waveform database, it is determined that the learning of all the buttons to be set is not completed in a preset order.
  35. 一种获取节目信息的图像识别服务器,其特征在于,包括:An image recognition server for acquiring program information, comprising:
    接收模块,用于接收第一机顶盒发送的视频图像;所述视频图像为所述第一机顶盒从视频信号中提取的视频图像;所述视频信号为所述第一机顶盒根据预定的波形数据自动产生换台信号,发送所述换台信号至第二机顶盒后,接收到的第二机顶盒发送的视频信号;所述视频信号为所述第二机顶盒根据所述换台信号切换当前播放的电视频道后发送的视频信号;a receiving module, configured to receive a video image sent by the first set top box; the video image is a video image extracted by the first set top box from a video signal; the video signal is automatically generated by the first set top box according to predetermined waveform data Transmitting a signal, after receiving the channel change signal to the second set top box, receiving the video signal sent by the second set top box; the video signal is after the second set top box switches the currently played TV channel according to the channel change signal The transmitted video signal;
    台标提取模块,用于提取所述视频图像中的电视台标识;a station label extraction module, configured to extract a television station identifier in the video image;
    节目信息发送模块,用于遍历节目信息数据库来寻找与所述电视台标识匹配的节目信息,如果找到与所述电视台标识匹配的节目信息,则发送所述节目信息至所述第一机顶盒。And a program information sending module, configured to traverse the program information database to find program information that matches the television station identifier, and if the program information matching the television station identifier is found, send the program information to the first set top box.
  36. 一种获取节目信息的系统,其特征在于,包括:第一机顶盒、第二机顶盒,所述第一机顶盒与所述第二机顶盒通信连接,其中:A system for acquiring program information, comprising: a first set top box and a second set top box, wherein the first set top box is in communication connection with the second set top box, wherein:
    所述第一机顶盒为权利要求15-34任一项所述的机顶盒。The first set top box is the set top box of any one of claims 15-34.
  37. 如权利要求36所述的系统,其特征在于,还包括:图像识别服务器,所述图像识别服务器为权利要求35所述的获取节目信息的图像识别服务器。 A system according to claim 36, further comprising: an image recognition server, said image recognition server being the image recognition server for acquiring program information according to claim 35.
PCT/CN2015/073642 2014-08-06 2015-03-04 Method, apparatus, and system for acquiring programme information WO2016019721A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410385405.1A CN104284212B (en) 2014-08-06 2014-08-06 A kind of method, apparatus and system obtaining programme information
CN201410385405.1 2014-08-06

Publications (1)

Publication Number Publication Date
WO2016019721A1 true WO2016019721A1 (en) 2016-02-11

Family

ID=52258619

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073642 WO2016019721A1 (en) 2014-08-06 2015-03-04 Method, apparatus, and system for acquiring programme information

Country Status (2)

Country Link
CN (1) CN104284212B (en)
WO (1) WO2016019721A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312166A (en) * 2019-12-31 2021-02-02 尼尔森网联媒介数据服务有限公司 Content monitoring method, device and system for television media, storage medium and electronic equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284229A (en) * 2014-08-06 2015-01-14 深圳创维数字技术股份有限公司 Method, device and system for switching television channels
CN104284212B (en) * 2014-08-06 2018-09-21 深圳创维数字技术有限公司 A kind of method, apparatus and system obtaining programme information
CN106131611A (en) * 2016-06-29 2016-11-16 乐视控股(北京)有限公司 A kind of identify the method for program channel, terminal and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1515549A1 (en) * 2003-09-09 2005-03-16 Samsung Electronics Co., Ltd. Apparatus and method for sharing recommended programs using digital set-top boxes
CN102238428A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Set top box (STB) and method for rapidly constructing television program table
CN102595245A (en) * 2012-03-01 2012-07-18 华为终端有限公司 Set top box interacting method and associated set top box and system
CN103491422A (en) * 2013-09-17 2014-01-01 深圳市九洲电器有限公司 Method and system for enabling set top boxes to conduct information sharing
CN104284212A (en) * 2014-08-06 2015-01-14 深圳创维数字技术股份有限公司 Method, device and system for acquiring program information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964762A (en) * 2010-08-31 2011-02-02 北京世纪互联工程技术服务有限公司 System for realizing information sharing among internet television users
JP5796402B2 (en) * 2011-08-12 2015-10-21 ソニー株式会社 Information processing apparatus, information processing method, program, and information processing system
CN102378051A (en) * 2011-09-23 2012-03-14 四川长虹电器股份有限公司 Method for acquiring analog TV channel EPG (Electronic Programme Guide) from web TV
CN102665124B (en) * 2012-04-11 2015-10-21 深圳市迈乐数码科技股份有限公司 Based on learning remote control system and the learning remote control method of Set Top Box
CN103945235B (en) * 2014-04-11 2017-11-17 深圳创维数字技术有限公司 A kind of digital television control method, set top box and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1515549A1 (en) * 2003-09-09 2005-03-16 Samsung Electronics Co., Ltd. Apparatus and method for sharing recommended programs using digital set-top boxes
CN102238428A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Set top box (STB) and method for rapidly constructing television program table
CN102595245A (en) * 2012-03-01 2012-07-18 华为终端有限公司 Set top box interacting method and associated set top box and system
CN103491422A (en) * 2013-09-17 2014-01-01 深圳市九洲电器有限公司 Method and system for enabling set top boxes to conduct information sharing
CN104284212A (en) * 2014-08-06 2015-01-14 深圳创维数字技术股份有限公司 Method, device and system for acquiring program information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312166A (en) * 2019-12-31 2021-02-02 尼尔森网联媒介数据服务有限公司 Content monitoring method, device and system for television media, storage medium and electronic equipment
CN112312166B (en) * 2019-12-31 2023-04-14 中科网联数据科技有限公司 Content monitoring method, device and system for television media, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN104284212B (en) 2018-09-21
CN104284212A (en) 2015-01-14

Similar Documents

Publication Publication Date Title
JP6833247B2 (en) Video recording methods and devices for mobile devices
US10123066B2 (en) Media playback method, apparatus, and system
US11144274B2 (en) Methods, systems, and media for providing a remote control interface
CN102833610B (en) Program selection method, apparatus and digital television terminal
WO2017152605A1 (en) Method for controlling television set-top box, television, remote controller and television system
WO2015143880A1 (en) Intelligent household appliance control method and device and terminal
WO2016019721A1 (en) Method, apparatus, and system for acquiring programme information
WO2016026284A1 (en) Remote control method for multi-terminal device, and related apparatus and system
US20220103428A1 (en) Automatic determination of display device functionality
CN104125488B (en) The player method and device of a kind of program
WO2018103615A1 (en) Method and device for television video capturing
CN111010598B (en) Screen capture application method and smart television
KR20120105346A (en) Method for searching object information and dispaly apparatus thereof
CN105516742A (en) Set top box user interface recommendation method and related equipment
CN111742557B (en) Display device and system including the same
CN103945235B (en) A kind of digital television control method, set top box and system
CN104703013A (en) Operation method and device for remote control for set top box
CN104301766A (en) Remote control matching system and method based on smart television
CN101997869A (en) Method and apparatus for requesting data, and method and apparatus for obtaining data
WO2016019722A1 (en) Method, apparatus, and system for switching television channel
WO2018196596A1 (en) Identification code application method and device
CN113573095B (en) Display device and method of operating the same
CN108924614A (en) A kind of control method, control system and electronic equipment
CN203968293U (en) A kind of pushing equipment of TV programme related information
KR20210000520A (en) Display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15830495

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20/06/2017)

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 20/06/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15830495

Country of ref document: EP

Kind code of ref document: A1