CN108574862B - Control system and control method of set top box - Google Patents
Control system and control method of set top box Download PDFInfo
- Publication number
- CN108574862B CN108574862B CN201710147066.7A CN201710147066A CN108574862B CN 108574862 B CN108574862 B CN 108574862B CN 201710147066 A CN201710147066 A CN 201710147066A CN 108574862 B CN108574862 B CN 108574862B
- Authority
- CN
- China
- Prior art keywords
- controller
- top box
- set top
- control
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000004891 communication Methods 0.000 claims abstract description 13
- 238000012795 verification Methods 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42221—Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a control system and a control method of a set-top box, wherein the control system comprises: the system comprises an upper computer, a controller in communication connection with the upper computer, and a plurality of set top boxes in communication connection with the controller; the upper computer sends a control instruction according to the requirement, and the controller controls any one or any plurality of set top boxes to be controlled according to the control instruction. The invention can realize the control of all or part of the set-top boxes in the multi-channel set-top box and realize the uniform and efficient control of the set-top boxes.
Description
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a control system and a control method of a set top box.
Background
In the existing control method for the set top box, a plurality of set top boxes cannot be uniformly and efficiently controlled.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a control system and a control method of a set top box, which can realize unified and efficient control of the set top box.
The technical scheme of the invention is realized as follows:
according to an aspect of the present invention, there is provided a control system of a set-top box, including: the system comprises an upper computer, a controller in communication connection with the upper computer, and a plurality of set top boxes in communication connection with the controller; the upper computer sends a control instruction according to the requirement, and the controller controls any one or any plurality of set top boxes to be controlled according to the control instruction.
According to one embodiment of the present invention, a controller includes: an input port for receiving control instructions; and a plurality of output ports corresponding to the plurality of set-top boxes, respectively.
According to one embodiment of the invention, the control instructions comprise: a port selection instruction; the upper computer is used for sending a port selection instruction.
According to an embodiment of the present invention, the controller is configured to verify the port selection instruction, and control, according to a verification result, an output port corresponding to the set top box to be controlled from among the plurality of output ports to be opened.
According to one embodiment of the invention, the control instructions further comprise: transmitting an instruction; the upper computer is also used for sending a transmitting instruction; and the controller sends a transmitting instruction to the corresponding set top box to be controlled through the opened output port.
According to an embodiment of the present invention, further comprising: the remote controller is used for sending a remote control instruction according to the requirement; wherein, the controller includes: the input module is used for receiving a remote control instruction;
according to one embodiment of the invention, the controller sends a remote control command to the corresponding set top box to be controlled through the opened output port.
According to one embodiment of the invention, the control instructions comprise: a power control instruction; and the controller controls the power supply of the set top box to be controlled according to the power supply control instruction.
According to one embodiment of the present invention, the upper computer includes: and the display module is used for monitoring the set top boxes.
According to another aspect of the present invention, there is provided a control method of a set top box, including: the upper computer sends a control instruction according to the requirement; and the controller controls any one or any plurality of set top boxes to be controlled according to the control instruction.
The invention can realize the control of all or part of the set-top boxes in a plurality of paths of set-top boxes by sending the control instruction according to the requirement by the upper computer and controlling any one or a plurality of set-top boxes to be controlled by the controller according to the control instruction, thereby realizing the uniform and efficient control of the set-top boxes.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a block diagram of a control system of a set-top box according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of a set-top box according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
According to an embodiment of the present invention, a control system of a set top box is provided.
As shown in fig. 1, a control system of a set-top box according to an embodiment of the present invention includes: the system comprises an upper computer, a controller in communication connection with the upper computer, and a plurality of set top boxes (set top boxes 1, … set top box n) in communication connection with the controller.
The upper computer can send a control instruction according to needs, the control instruction can be a signal sent by corresponding to one set top box to be controlled or a signal sent by corresponding to any plurality of set top boxes to be controlled, and the controller controls any one or any plurality of set top boxes to be controlled according to the received control instruction.
By the technical scheme, all or part of the set top boxes in the multi-channel set top boxes can be controlled, and the set top boxes can be uniformly and efficiently controlled.
The controller can be implemented by a programmable embedded system, such as a single chip microcomputer or other programmable controllers. Alternatively, the controller may employ an STM32 series chip as the main control chip. The STM32 series is based on a high-performance, low-cost, low-power ARM Cortex-M3 core, and the clock frequency of the F103 series can reach 72 MHz.
The controller can be divided into a core board and an expansion board. The core board is connected with the expansion board through the slots on the expansion board, so that complete electrical connection is guaranteed. The core plate is welded with an STM32 chip, and is also provided with a power indicator light and a reset key so as to be convenient for users to use.
As shown in fig. 1, in one embodiment, the controller includes: an input port IN1 for receiving control commands; and a plurality of output ports (OUT1, … OUT n) corresponding respectively to the plurality of set-top boxes (set-top box 1, … set-top box n), each output port (OUT1, … OUT n) for transmitting signals to a corresponding set-top box (set-top box 1, … set-top box n). Specifically, an interface conversion module for converting a USB interface into a serial interface may be provided on the controller as the input port IN1, and the interface conversion module may be used for supplying power to the controller and communicating data with the upper computer.
Optionally, the number of the set-top boxes may be 16, and since the control command for the set-top boxes is generally an infrared signal, 8 infrared emission heads with a wavelength of 940nm may be respectively arranged on the left and right sides of the controller as a plurality of output ports (OUT1, … OUT n), and the STM32 chip of the controller sends the control command to the set-top boxes through the infrared emission heads corresponding to the corresponding I/O ports.
In one embodiment, the remote control device further comprises a remote controller for sending a remote control command according to the requirement; wherein, the controller includes: and the input module is used for receiving a remote control command. Specifically, an infrared receiving head (for example, an infrared receiving head model VS 1838B) may be provided on the controller as an input module for receiving a remote control signal transmitted by the remote controller.
Furthermore, 16 paths of I/O ports in the STM32 chip can be connected with the 16 infrared emission heads and used for carrying out infrared emission on control instructions sent by the I/O ports, and the STM32 chip can support the connection and disconnection of a single I/O port and multiple I/O ports; in addition, the 1-way input mode I/O port in the STM32 chip may be connected to the infrared receiving head for receiving remote control signals.
The initialization process of the controller comprises the following steps: after the controller is powered on for a few clock cycles, the program in the controller starts to initialize each module, including clock initialization, initialization of I/O ports of the STM32 chip, and initialization of interrupts. The clock frequency is 72MHz, so that the processing speed can be ensured to be fast and stable. The controller of the invention uses the specific NVIC interrupt of the STM32 chip to divide the interrupt into three types of serial port interrupt, timer interrupt and external interrupt. The serial port interrupt is used for data communication with an upper computer, the timer interrupt is used for generating a 38KHz carrier signal necessary for infrared signal communication, and the external interrupt is used for receiving an infrared remote control signal transmitted by an external remote controller. After the initialization is finished, the controller enters a standby working state, all the infrared transmitting heads are in a closed state at the moment, and the infrared receiving heads are in an open state.
In one embodiment, the control instructions include: a port selection instruction; the upper computer is used for sending a port selection instruction.
In one embodiment, the controller is configured to verify the port selection instruction and control, according to a verification result, an output port corresponding to the set top box to be controlled from among the plurality of output ports to be opened.
In one embodiment, the control instructions further comprise: transmitting an instruction; the upper computer is also used for sending a transmitting instruction; and the controller sends a transmitting instruction to the corresponding set top box to be controlled through the opened output port.
In one embodiment, the controller sends a remote control command to the corresponding set top box to be controlled through the opened output port.
The above embodiment is explained below in conjunction with a specific control process of the controller. The control process of the controller can be divided into two working modes of upper computer control and remote control.
Under the upper computer control mode: after the host computer sends a port selection instruction, the host computer sends the port selection instruction to an STM32 chip IN the controller through an input port IN1, serial port interruption of the STM32 chip is triggered at the moment, comprehensive verification can be performed on a received port selection instruction including a header code, a function code, a content code and a check code IN the serial port interruption, and if a verification result meets the coding requirement, corresponding output ports (such as OUT1 and OUT n) are opened according to the requirements of the function code and the content code. After the output ports OUT1 and OUT n are opened, the upper computer sends a transmitting instruction to be transmitted to the STM32 chip, and after the STM32 chip identifies the function code and the content code of the transmitting instruction, the infrared signal conforming to the infrared communication protocol is sent OUT through the opened output ports OUT1 and OUT n.
In the remote control mode, a tester can conveniently control the set top box without passing through the upper computer, and before the remote control mode is used, the upper computer is required to send a port selection instruction to open a corresponding port. When the remote control mode works, the infrared receiving head of VS1838B model on the controller receives the remote control signal generated by the remote controller and triggers the external interrupt of STM32 chip, the receiving code of the remote control signal is correspondingly checked in the interrupt service program, and the command code of the remote control signal is transmitted to each corresponding set-top box in the standard infrared communication mode after the check is passed.
In one embodiment, the control instructions may include: a power control instruction; and the controller controls the power supply of the set top box to be controlled according to the power supply control instruction. And the centralized control of the power supplies of the batch set top boxes can be realized.
In one embodiment, the upper computer comprises: and the display module is used for monitoring the set top boxes. Specifically, a plurality of set top boxes (set top box 1, … set top box n) can be displayed in a centralized manner by adopting a split screen device, so that the batch remote control and display functions of the set top boxes are integrated.
As shown in fig. 2, according to an embodiment of the present invention, there is further provided a control method of a set top box, including the steps of:
step S201, the upper computer sends a control instruction according to the requirement; and
and step S203, the controller controls any one or any plurality of set top boxes to be controlled according to the control instruction.
In summary, according to the above technical solution of the present invention, the upper computer sends the control instruction, and the controller controls any one or more set top boxes to be controlled in the plurality of set top boxes according to the control instruction, so as to implement unified control of the plurality of set top boxes; and the control of a plurality of set top boxes by using an upper computer or a remote controller is realized by the remote controller and a remote control signal sent by the remote controller. And the power control function of the batch set top boxes can be realized through a power control instruction. And the centralized display of multiple set top boxes can be realized through the split screen equipment, so that the batch remote control and display of the set top box group are realized.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (7)
1. A control system for a set-top box, comprising:
the system comprises an upper computer, a controller in communication connection with the upper computer, and a plurality of set top boxes in communication connection with the controller;
the upper computer sends a control instruction according to needs, and the controller controls any one or any plurality of set top boxes to be controlled according to the control instruction;
the left side and the right side of the controller are respectively provided with an infrared emission head as a plurality of output ports so as to carry out infrared emission on the control instruction to the set top box to be controlled;
the controller includes: an input port for receiving the control instruction, wherein an interface conversion module is arranged on the controller as the input port, and the plurality of output ports respectively corresponding to the plurality of set top boxes;
the control instructions include: the upper computer is used for sending the port selection instruction to the controller through the input port;
the controller is used for verifying the port selection instruction and controlling the output ports corresponding to the set top box to be controlled to be opened according to the verification result.
2. The control system of the set-top box according to claim 1,
the control instructions further comprise: transmitting an instruction;
the upper computer is also used for sending the transmitting instruction;
and the controller sends the transmitting instruction to the corresponding set top box to be controlled through the opened output port.
3. The control system of the set-top box according to claim 1, further comprising: the remote controller is used for sending a remote control instruction according to the requirement;
wherein the controller includes: and the input module is used for receiving the remote control instruction.
4. The control system of the set-top box according to claim 3,
and the controller sends the remote control instruction to the corresponding set top box to be controlled through the opened output port.
5. The control system of the set-top box according to claim 1,
the control instructions include: a power control instruction;
and the controller controls the power supply of the set top box to be controlled according to the power supply control instruction.
6. The control system of the set-top box according to any one of claims 1 to 5, wherein the upper computer comprises:
and the display module is used for monitoring the set top boxes.
7. A control method of a set top box is characterized by comprising the following steps:
the upper computer sends a control instruction to the controller according to the requirement; and
the controller controls any one or any plurality of set top boxes to be controlled in communication connection with the controller according to the control instruction;
the left side and the right side of the controller are respectively provided with an infrared emission head as a plurality of output ports so as to carry out infrared emission on the control instruction to the set top box to be controlled;
the controller includes: an input port for receiving the control instruction, wherein an interface conversion module is arranged on the controller as the input port, and the plurality of output ports respectively corresponding to the plurality of set top boxes;
the control instructions include: a port selection instruction, wherein the upper computer sends the port selection instruction to the controller through the input port;
and the controller checks the port selection instruction and controls the output port corresponding to the set top box to be controlled in the plurality of output ports to be opened according to the check result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147066.7A CN108574862B (en) | 2017-03-13 | 2017-03-13 | Control system and control method of set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147066.7A CN108574862B (en) | 2017-03-13 | 2017-03-13 | Control system and control method of set top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108574862A CN108574862A (en) | 2018-09-25 |
CN108574862B true CN108574862B (en) | 2021-06-15 |
Family
ID=63578593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710147066.7A Active CN108574862B (en) | 2017-03-13 | 2017-03-13 | Control system and control method of set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108574862B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6297986B1 (en) * | 1999-09-30 | 2001-10-02 | Dongbu Electronics, Co, Ltd. | Ferroelectric random access memory |
CN102137296A (en) * | 2010-10-18 | 2011-07-27 | 华为终端有限公司 | Wireless upgrade method for set top boxes and control terminal thereof |
CN203167158U (en) * | 2013-03-07 | 2013-08-28 | 江苏下一代广电网物联网研究中心有限公司 | Set top box remote testing system |
CN103605604A (en) * | 2013-11-21 | 2014-02-26 | 四川九洲电器集团有限责任公司 | Method for batch testing of set-top box software stability |
CN104469501A (en) * | 2014-10-27 | 2015-03-25 | 福建新大陆通信科技股份有限公司 | Set top box automatic set-up method based on serial communication protocol |
-
2017
- 2017-03-13 CN CN201710147066.7A patent/CN108574862B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6297986B1 (en) * | 1999-09-30 | 2001-10-02 | Dongbu Electronics, Co, Ltd. | Ferroelectric random access memory |
CN102137296A (en) * | 2010-10-18 | 2011-07-27 | 华为终端有限公司 | Wireless upgrade method for set top boxes and control terminal thereof |
CN203167158U (en) * | 2013-03-07 | 2013-08-28 | 江苏下一代广电网物联网研究中心有限公司 | Set top box remote testing system |
CN103605604A (en) * | 2013-11-21 | 2014-02-26 | 四川九洲电器集团有限责任公司 | Method for batch testing of set-top box software stability |
CN104469501A (en) * | 2014-10-27 | 2015-03-25 | 福建新大陆通信科技股份有限公司 | Set top box automatic set-up method based on serial communication protocol |
Also Published As
Publication number | Publication date |
---|---|
CN108574862A (en) | 2018-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2414052A1 (en) | Reconfigurable appliance control system | |
US10261930B2 (en) | System, device and method for transmitting signals between different communication interfaces | |
CN102346501A (en) | Equipment with unified machine frame management framework and management control method thereof | |
KR100770856B1 (en) | Device and method for performing multi- functions using unique port in wireless terminal | |
CN108247632A (en) | A kind of cooperation robot control system based on ROS | |
CN104932373A (en) | Intelligent industrial network protocol wireless converter | |
CN105372619A (en) | Safe chip power-down testing equipment | |
CN102637453A (en) | Phase change memory including serial input/output interface | |
CN108574862B (en) | Control system and control method of set top box | |
CN201751896U (en) | ARINC429 bus testing device | |
KR20140002254A (en) | Apparatus and method for communication processing of plc | |
CN202126617U (en) | Optical switch control device and control system | |
CN103942510A (en) | Wiegand signal reading and converting device | |
CN211928735U (en) | Remote control device and remote control system | |
CN103218334A (en) | Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus | |
CN204350149U (en) | Based on the serial ports matrix switcher of FPGA | |
CN102736603B (en) | Method for arbitrating multi-operation switch based on power line carrier (PLC) network | |
WO2012139342A1 (en) | Television power control management apparatus and method | |
CN114726494B (en) | UART interface circuit, UART communication method and device | |
CN104484196B (en) | A kind of production system and method for being automatically performed the initialization of USBKEY equipment firmwares | |
CN204406140U (en) | A kind of bus type programable controller system | |
CN220473879U (en) | Domestic server platform port management and control device | |
CN219626328U (en) | Expandable distributed injection system | |
CN218037943U (en) | Circuit board for interface expansion based on PCIE interface | |
JP2012129862A (en) | Communication module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |