Data transmission method and system for digital television terminalTechnical Field
The invention relates to the technical field of digital televisions, in particular to data acquisition and transmission in the field of digital televisions, and specifically relates to a data transmission method and system for a digital television terminal.
Background
In a digital television broadcasting network, a two-dimensional code link is embedded in a played program, or a digital advertisement and a two-dimensional code link related to the advertisement are played, the two-dimensional code link is received by a set top box and displayed to a subscriber through a television, the subscriber scans the two-dimensional code through a mobile phone, and the mobile phone accesses a website of related derivative content of the program or related content of the advertisement, so that the method is a great demand for unidirectional network operators to develop value-added services. In this way, the operator may promote additional products related to the sale of the program to the subscriber, or present more detailed advertising content to interested subscribers. Meanwhile, the operator also wants to collect the time point information of each channel watched by the subscriber and the information of the watched advertisements recorded in the set-top box, the information is contained in the two-dimensional code information when a certain advertisement generates a two-dimensional code, the information is transmitted back to a front-end server when the subscriber scans the two-dimensional code, or the subscriber enters a certain specific page of a television menu by using a remote controller, the two-dimensional code of the collected information is generated on the page, and the subscriber scans the data transmitted back by the two-dimensional code, so that the operator can master more accurate subscriber watching behavior report and advertisement watching report, provide data reference for the operation of subsequent programs and the improvement of the advertisement putting efficiency, and meet the report requirement of the advertiser on the advertisement watching effect.
For example, patent document (chinese patent application CN108055588A) discloses a method for implementing program selection and data collection by a digital television user through a two-dimensional code, which calls out a two-dimensional code through a set-top box menu and displays the two-dimensional code on a television screen, or pops up the two-dimensional code periodically and displays the two-dimensional code on the television screen, scans the two-dimensional code through a mobile phone APP, transmits the scanned two-dimensional code to a management end, and identifies information of the two-dimensional code by the management end, and completes data statistics and analysis. In fact, entering a menu page for calling out a two-dimensional code through a set-top box remote controller interrupts the viewing of the current program of the subscriber, and meanwhile, the operation of the set-top box remote controller is cumbersome and the enthusiasm of the user operation is reduced. The set-top box pops up the two-dimensional code periodically to be displayed on a television screen, which requires that a subscriber scans the two-dimensional code periodically, so that the subscriber cannot actively return data at any time. Therefore, the technical solution disclosed in the patent document provides an obstacle to the scanning of the two-dimensional code by the subscriber, and reduces the enthusiasm of the subscriber, so that it is difficult for the operator to timely and comprehensively collect the data of the subscriber.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned deficiencies in the prior art, and provides a data transmission method and system for a digital television terminal, which can facilitate a subscriber to actively scan a two-dimensional code at any time, so as to implement a return of subscriber data.
In order to achieve the above purpose, the invention provides the following technical scheme:
a data transmission method for a digital television terminal, comprising the steps of:
s1: the user terminal sends a code scanning request to the management terminal;
s2: according to the scanning request, the management terminal sends a two-dimensional code display instruction to a corresponding set top box;
s3: according to the two-dimension code display instruction, the set top box generates a two-dimension code containing subscriber data and displays the two-dimension code in a picture played by the digital television terminal;
s4: and the user terminal scans the two-dimensional code displayed on the digital television terminal and sends the two-dimensional code data obtained by scanning the two-dimensional code to the management terminal.
Further, in the data transmission method for a digital television terminal of the present invention, the subscriber data includes a viewing time point and a viewing time period of each channel, and an advertisement ID value, a play time point and a play time period of each advertisement.
Further, in the data transmission method for a digital television terminal of the present invention, the code scanning request includes subscriber information; and the management terminal sends a two-dimensional code display instruction to a corresponding set top box according to the subscriber information.
The invention also provides a data transmission system for the digital television terminal, which comprises a user terminal, a management terminal and a set-top box; wherein,
the user terminal is used for generating a code scanning request, sending the code scanning request to the management terminal, scanning the two-dimensional code displayed on the digital television terminal to obtain two-dimensional code data, and sending the two-dimensional code data to the management terminal;
the management terminal is used for receiving the code scanning request sent by the user terminal, sending a two-dimensional code display instruction to a corresponding set top box according to the code scanning request, and receiving subscriber data sent by the user terminal;
and the set top box is used for generating a two-dimensional code containing subscriber data according to the two-dimensional code display instruction and displaying the two-dimensional code in a picture played by the digital television terminal.
According to a specific implementation mode, in the data transmission system for the digital television terminal, the management terminal comprises a mobile platform module and a conditional access module; wherein,
the mobile platform module is used for receiving the code scanning request and the subscriber data sent by the user terminal and forwarding the code scanning request to the conditional access module;
and the conditional access module is used for sending a two-dimensional code display instruction to a corresponding set top box according to the subscriber information in the code scanning request.
According to a specific implementation mode, the user terminal in the data transmission system for the digital television terminal comprises a service request generation module, a two-dimensional code scanning module and a mobile communication module; wherein,
the service request generating module is used for generating the code scanning request; wherein the code scan request includes the subscriber information;
the two-dimensional code scanning module is used for executing two-dimensional code scanning operation and analyzing two-dimensional code data obtained by the two-dimensional code;
and the mobile communication module is used for sending the code scanning request and the two-dimensional code data to the management terminal.
According to a specific embodiment, in the data transmission system for a digital television terminal of the present invention, the set-top box includes a subscriber data recording module and a two-dimensional code generating and displaying module; wherein,
the subscriber data recording module is used for recording subscriber data at least comprising the watching time point and the watching duration of each channel and the advertisement ID value, the playing time point and the playing duration of each advertisement;
and the two-dimension code generating and displaying module is used for generating a two-dimension code containing the subscriber data according to the two-dimension code display instruction and displaying the two-dimension code in a picture played by the digital television terminal.
Compared with the prior art, the invention has the beneficial effects that:
the invention discloses a data transmission method for a digital television terminal, which is characterized in that a subscriber sends a code scanning request to a management terminal through a user terminal, the management terminal sends a two-dimensional code display instruction to a set-top box of the subscriber according to the scanning request, the set-top box of the subscriber generates a two-dimensional code containing subscriber data according to the two-dimensional code display instruction, the two-dimensional code is displayed in a picture played by the digital television terminal, the subscriber scans the two-dimensional code displayed on the digital television terminal through the user terminal, and the two-dimensional code data obtained by scanning the two-dimensional code is sent to the management terminal. Therefore, the invention can display the two-dimension code on the digital television terminal in real time according to the requirement of the subscriber, thereby enabling the subscriber to conveniently scan the two-dimension code at any time and realizing the return of the subscriber data.
Description of the drawings:
fig. 1 is a schematic flow chart of a data transmission method for a digital television terminal according to the present invention;
fig. 2 is a schematic structural diagram of a data transmission system for a digital television terminal according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to test examples and specific embodiments. It should be understood that the scope of the above-described subject matter is not limited to the following examples, and any techniques implemented based on the disclosure of the present invention are within the scope of the present invention.
As shown in fig. 1, the data transmission method for a digital television terminal of the present invention comprises the steps of:
s1: the user terminal sends a code scanning request to the management terminal. Specifically, the user terminal has a man-machine interaction function, and the subscriber enables the user terminal to generate a code scanning request and send the code scanning request to the management terminal through corresponding man-machine interaction operation. Meanwhile, the user terminal can be as the premise that the management terminal sends the code scanning request, the user terminal and the management terminal also need to establish communication connection, and the authority of the communication connection is managed through the account information verification of the subscriber during implementation.
S2: and after the management terminal receives the code scanning request sent by the user terminal, the management terminal sends a two-dimensional code display instruction to the corresponding set top box according to the scanning request. The code scanning request comprises subscriber information, and the subscriber information comprises a terminal number of a set top box corresponding to a subscriber, so that the management terminal sends a two-dimensional code display instruction to the set top box with the corresponding terminal number according to the subscriber information in the code scanning request received by the management terminal. And, the management terminal transmits the two-dimensional code display instruction to the set-top box of the subscriber through the digital television transmission network.
S3: and after the set-top box of the subscriber receives the two-dimension code display instruction, the set-top box generates a two-dimension code containing subscriber data according to the two-dimension code display instruction, and displays the two-dimension code in a picture played by the digital television terminal. The subscriber data includes a viewing time point and a viewing time period of each channel, and an advertisement ID value, a play time point and a play time period of each advertisement. And after receiving the two-dimension code display instruction, the set-top box generates a two-dimension code containing subscriber data according to a predefined rule, and then inserts the two-dimension code information into a program code stream to display the two-dimension code in a picture played by the digital television terminal.
S4: after receiving the output signal of the set-top box, the digital television terminal displays the two-dimensional code in the picture played by the digital television terminal, and the user terminal scans the two-dimensional code displayed on the digital television terminal and sends the two-dimensional code data obtained by scanning the two-dimensional code to the management terminal. Specifically, the user terminal is provided with a camera, so that the two-dimensional code can be scanned, and meanwhile, the two-dimensional code data can be obtained through scanning the obtained information.
As shown in fig. 2, the data transmission system for the digital television terminal of the present invention includes a user terminal, a management terminal, and a set-top box.
The user terminal is used for generating a code scanning request, sending the code scanning request to the management terminal, scanning the two-dimensional code displayed on the digital television terminal to obtain two-dimensional code data, and sending the obtained two-dimensional code data to the management terminal.
The management terminal is used for receiving a code scanning request sent by the user terminal, sending a two-dimensional code display instruction to a corresponding set top box according to the code scanning request, and receiving subscriber data sent by the user terminal.
The set-top box is used for generating a two-dimensional code containing subscriber data according to the two-dimensional code display instruction and displaying the two-dimensional code in a picture played by the digital television terminal.
Specifically, in the data transmission system for the digital television terminal, the user terminal comprises a service request generation module, a two-dimensional code scanning module and a mobile communication module. And the service request generating module is used for generating a code scanning request, and meanwhile, the code scanning request generated by the service request generating module comprises the subscriber information. The two-dimensional code scanning module is used for executing two-dimensional code scanning operation and analyzing two-dimensional code data obtained by the two-dimensional code. The mobile communication module is used for sending the code scanning request and the two-dimensional code data to the management terminal.
The management terminal comprises a mobile platform module and a condition receiving module. The mobile platform module is used for receiving a code scanning request and two-dimensional code data sent by a user terminal and forwarding the received code scanning request to the conditional access module. And the conditional access module is used for sending a two-dimensional code display instruction to the corresponding set top box according to the subscriber information in the code scanning request.
The set-top box comprises a subscriber data recording module and a two-dimensional code generating and displaying module. The subscriber number recording module is used for recording subscriber data at least comprising the watching time point and the watching duration of each channel and the advertisement ID value, the playing time point and the playing duration of each advertisement. And the two-dimension code generating and displaying module is used for generating a two-dimension code containing the subscriber data according to the two-dimension code display instruction and displaying the two-dimension code in a picture played by the digital television terminal.
When the method is implemented, the user terminal is a smart phone and a subscriber APP installed on the smart phone, the subscriber APP realizes the functions of a service request generation module and a two-dimensional code scanning module by integrating corresponding program modules, and the subscriber APP is used for calling image acquisition hardware and mobile communication hardware of the smart phone to realize scanning of the two-dimensional code and transmission of a code scanning request and two-dimensional code data. In addition, a program module for realizing account login of the subscriber can be integrated in the subscriber APP so as to realize management of subscriber rights.
The user terminal realizes communication with a mobile platform module of the management terminal by using mobile communication means such as 3G/4G/WIFI and the like and by means of the Internet. After receiving the code scanning request, a mobile platform module of the management terminal forwards the code scanning request to a conditional access module, the conditional access module generates a two-dimensional code display EMM instruction corresponding to the code scanning request and sends the two-dimensional code display EMM instruction to a television operation front-end system, and the television operation front-end system transmits an advertisement code stream sent by an advertisement system, a program code stream forwarded by a receiver and the two-dimensional code display EMM instruction which are received by the television operation front-end system to a set top box of a corresponding terminal number through a digital television transmission network.
After receiving the EMM instruction of displaying the two-dimensional code, the set-top box generates the two-dimensional code containing the subscriber data according to the predefined rule, and then the set-top box inserts the two-dimensional code information into the program code stream or the advertisement code stream to enable the two-dimensional code to be displayed in the current playing picture of the television. And finally, scanning the two-dimensional code displayed on the television by the user terminal to obtain corresponding two-dimensional code data, and sending the obtained two-dimensional code data to the mobile platform module of the management terminal.
In addition, the invention also provides a data processing system for the digital television terminal, the data processing system is based on the data transmission system of the invention, a subscriber data analysis server is configured, the data transmission system transmits the two-dimensional code data obtained by the data transmission system to the subscriber data analysis server, and the subscriber data analysis server processes the two-dimensional code data to obtain the viewing time point and the viewing time length of each channel of the corresponding subscriber and the subscriber data such as the advertisement ID value, the playing time point and the playing time length of each advertisement. The subscriber data analysis server performs data mining by running a pre-configured algorithm to derive the viewing habits of the subscriber and to guide the television operator to push advertisements and programs adaptively.