CN104219547B - Method for realizing real-time audience rating statistics of set top box based on SignalR technology - Google Patents

Method for realizing real-time audience rating statistics of set top box based on SignalR technology Download PDF

Info

Publication number
CN104219547B
CN104219547B CN201410506386.3A CN201410506386A CN104219547B CN 104219547 B CN104219547 B CN 104219547B CN 201410506386 A CN201410506386 A CN 201410506386A CN 104219547 B CN104219547 B CN 104219547B
Authority
CN
China
Prior art keywords
signalr
top box
set top
servers
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410506386.3A
Other languages
Chinese (zh)
Other versions
CN104219547A (en
Inventor
谢恩鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Technology Co Ltd
Original Assignee
Inspur Software Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201410506386.3A priority Critical patent/CN104219547B/en
Publication of CN104219547A publication Critical patent/CN104219547A/en
Application granted granted Critical
Publication of CN104219547B publication Critical patent/CN104219547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a method for realizing real-time audience rating statistics of a set top box based on a SignalR technology, belonging to the method for audience rating statistics, and the technical scheme is as follows: the applied hardware structure comprises an audience rating statistical server, a SignalR server and a set top box; the SignalR server is communicated with the set top box through a network, and the audience rating counting server is communicated with the SignalR server through the network; the SignalR server builds a SignalR service, provides service support for bidirectional data reporting and responds to the request of the set top box for requesting; the SignalR server creates an information list of the video-on-demand connection between the set top box and the SignalR server in the memory, records the information data of the set top box which is watching the video at present and is used for counting the audience rating in real time; the set-top box introduces a JS file of a SignalR client in an accessed Portal playing page, and initiates a connection request to a SignalR server when the unload is loaded. The invention can realize timely, accurate and detailed audience rating statistics.

Description

A kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies
Technical field
The present invention relates to a kind of method of audience rating statistical, specifically one kind realizes machine top based on SignalR technologies The method of the real-time audience rating statistical of box.
Background technology
SignalR is an asynchronous storehouse of asp.net, and it provides mechanism of the broadcast message to multiple client ends. SignalR can be used for the connection of lasting client and service end, and let us is easy to develop some applications, such as chatroom in real time Online booking system, stock exchange etc. are applied in real time.This load that can significantly reduce server ensures no unnecessary ask Ask from repetition client request.SignalR is the formal open source projects of non-Microsoft.SignalR can be in ASP .NET Web Real-time Communication for Power is realized in project.The Web of real-time Communication for Power:Exactly allow client (Web page) and server end can be with real-time operation Mutual notification message and call method.WebSockets is the new API that HTML5 is provided, can be in Web page and server Socket connections are established between end, when WebSockets can use (i.e. browser supports Html5), SignalR is used WebSockets, when not supporting, SignalR will ensure to reach same effect using other technologies.SignalR is also carried certainly High-order API very easy to use has been supplied, server end is called the JavaScript letters in client with single or batch Number, and management is easily attached, such as client is connected to server end, or disconnect, client point Group, and client authorization, all it is very easy to realize using SignalR.
Audience ratings is the barometer that audient feeds back in mass media.Audience ratings can react disseminator to a certain extent and be passed The acceptance level for the receiver broadcast, influence to audient etc..It is strictly together with disseminator plays between audient Interactive effect.For the feedback of program quality, constructive opinions and suggestions can be proposed, to help carrying for program quality It is high.
The audience ratings of traditional TV station is counted by special statistical organization, such as CCTV, is by Suo Furui Come what is counted, a number of spectators of Dou You administrative bodys random selection provide questionnaire throughout the country for it, and content is: " certain point is seen to several individuals of which platform from the point of view of certain " is a kind of, has special messenger's house call questionnaire weekly, while leave new Questionnaire.They issue after the data input computer of various regions is counted in general headquarters again.
As the application of set top box and bidirectional video-on-demand is more and more extensive, the audience rating statistical based on bidirectional video-on-demand is general at present All over there is two kinds of situations:A kind of situation is that the IP Information On Demand for periodically providing the user to server by BO backstages records, to analyze Audience ratings, but exist statistics not in time, it is inaccurate, not detailed the problem of;Another situation is that set top box can interim storage user Program request behavior, and periodically record record is reported and arrive service end, analysis acquisition audience ratings is carried out by server, but there is also system Meter not in time, it is inaccurate the problem of.
The content of the invention
The technical assignment of the present invention is to be directed to above weak point, there is provided a kind of to accomplish timely, accurate, detailed receipts Depending on a kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies of rate statistics.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies, the hardware configuration being applied to Including audience rating statistical server, SignalR servers, set top box;SignalR servers communicate with set top box through network, Audience rating statistical server is comprised the following steps with SignalR servers by network service, methods described:
(1), SignalR servers, build SignalR services, offer service support reported for bi-directional data, response machine top The order request of box;
(2), SignalR servers the letter that set top box is connected with the order video of SignalR servers is created in internal memory List is ceased, the information data of the set top box of video is currently viewed in record, for real-time statistics audience ratings;
(3), set top box, the Portal of access played in the page, introduces SignalR client JS files, and in unload When loading is completed, connection request is initiated to SignalR servers;
(4), set top box to SignalR servers send program request video connection request when, while send the information of set top box Data give SignalR servers;
(5), set top box side, when order video, into play the page after, report order video to SignalR servers The information of connection;
(6), in playing process, the information that set top box is connected with the order video of SignalR servers is recorded in real time at In the information list of the internal memory of SignalR servers;
(7), SignalR servers obtain the information data of set top box in real time;
(8), after order video finishes playing, the interface of set top box disconnects and taken with SignalR from when playing the page and returning Be engaged in device connection, SignalR server triggers set top box disconnected events, then by set top box in the information list of internal memory with The order video link information record purge of SignalR servers is fallen, and realizes that viewership information changes in real time;
(9), when audience rating statistical server statistics audience ratings, statistics SignalR servers order videos connection number, i.e., The set top box side sum of current order video can be obtained, so as to calculate the audience ratings of the video;
(10), when the real-time audience ratings of audience rating statistical server statistics video, pass through LINQ query, inquire about SignalR Data in the internal memory of server in information list, obtain the real-time audience ratings of the video.
SignalR servers are the Server versions of Windows operating system, and install .netFrameWork4.0 frameworks Collect IIS services, developed and realized using C# language.
Set top box possesses bilateral network, step(2)In, the information data of set top box includes set top box information, interview show Channel identification information, programme labeling information, programm name, program ID, request program information.
The order video link information of set top box and SignalR servers includes the information data of set top box side, program request regards Frequency information, order video time started.
LINQ, English full name are Language Integrated Query, are translated as the integrated inquiry of language.It is one group of use In the extension of c# and Visual Basic language.It allows to write C# or Visual Basic codes identical to inquire about database Mode operate internal storage data.
A kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies of the present invention, have following excellent Point:
1st, the two-way audience rating statistical of set top box is realized using SignalR technologies, timely, accurate, detailed receipts can be accomplished Counted depending on rate;
2nd, SignalR provides high-order API very easy to use, server end is called machine top with single or batch JavaScript function on box end, and management is easily attached, such as set top box side is connected to server end, Or disconnect, set top box side packet, and set top box side mandate, all it is very easy to realize using SignalR;
3rd, SignalR will carry out real-time Communication for Power with set top box side and bring ASP .NET;It is so both handy, Er Qieyou Enough autgmentabilities;User needed refresh page or the displaying data in real-time that could be realized using Ajax polls in the past, now only To use SignalR, it is possible to simple realization.
Brief description of the drawings
The present invention is further described below in conjunction with the accompanying drawings.
Accompanying drawing 1 is a kind of interaction diagrams for the method that the real-time audience rating statistical of set top box is realized based on SignalR technologies.
Embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
Embodiment 1:
A kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies of the present invention, is applied to Hardware configuration includes audience rating statistical server, SignalR servers, set top box;SignalR servers pass through net with set top box Network is communicated, and audience rating statistical server is comprised the following steps with SignalR servers by network service, methods described:
(1), SignalR servers, build SignalR services, offer service support reported for bi-directional data, response machine top The order request of box;
(2), SignalR servers the letter that set top box is connected with the order video of SignalR servers is created in internal memory List is ceased, the information data of the set top box of video is currently viewed in record, for real-time statistics audience ratings;
(3), set top box, the Portal of access played in the page, introduces SignalR client JS files, and in unload When loading is completed, connection request is initiated to SignalR servers;
(4), set top box to SignalR servers send program request video connection request when, while send the information of set top box Data give SignalR servers;
(5), set top box side, when order video, into play the page after, report order video to SignalR servers The information of connection;
(6), in playing process, the information that set top box is connected with the order video of SignalR servers is recorded in real time at In the information list of the internal memory of SignalR servers;
(7), SignalR servers obtain the information data of set top box in real time;
(8), after order video finishes playing, the interface of set top box disconnects and taken with SignalR from when playing the page and returning Be engaged in device connection, SignalR server triggers set top box disconnected events, then by set top box in the information list of internal memory with The order video link information record purge of SignalR servers is fallen, and realizes that viewership information changes in real time;
(9), when audience rating statistical server statistics audience ratings, statistics SignalR servers order videos connection number, i.e., The set top box side sum of current order video can be obtained, so as to calculate the audience ratings of the video;
(10), when the real-time audience ratings of audience rating statistical server statistics video, pass through LINQ query, inquire about SignalR Data in the internal memory of server in information list, obtain the real-time audience ratings of the video.
Embodiment 2:
A kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies of the present invention, is applied to Hardware configuration includes audience rating statistical server, SignalR servers, set top box;SignalR servers pass through net with set top box Network is communicated, and audience rating statistical server is comprised the following steps with SignalR servers by network service, methods described:
(1), SignalR servers, build SignalR services, offer service support reported for bi-directional data, response machine top The order request of box;
(2), SignalR servers the letter that set top box is connected with the order video of SignalR servers is created in internal memory List is ceased, the information data of the set top box of video is currently viewed in record, for real-time statistics audience ratings;
(3), set top box, the Portal of access played in the page, introduces SignalR client JS files, and in unload When loading is completed, connection request is initiated to SignalR servers;
(4), set top box to SignalR servers send program request video connection request when, while send the information of set top box Data give SignalR servers;
(5), set top box side, when order video, into play the page after, report order video to SignalR servers The information of connection;
(6), in playing process, the information that set top box is connected with the order video of SignalR servers is recorded in real time at In the information list of the internal memory of SignalR servers;
(7), SignalR servers obtain the information data of set top box in real time;
(8), after order video finishes playing, the interface of set top box disconnects and taken with SignalR from when playing the page and returning Be engaged in device connection, SignalR server triggers set top box disconnected events, then by set top box in the information list of internal memory with The order video link information record purge of SignalR servers is fallen, and realizes that viewership information changes in real time;
(9), when audience rating statistical server statistics audience ratings, statistics SignalR servers order videos connection number, i.e., The set top box side sum of current order video can be obtained, so as to calculate the audience ratings of the video;
(10), when the real-time audience ratings of audience rating statistical server statistics video, pass through LINQ query, inquire about SignalR Data in the internal memory of server in information list, obtain the real-time audience ratings of the video.
SignalR servers are the Server versions of Windows operating system, and install .netFrameWork4.0 frameworks Collect IIS services, developed and realized using C# language.
Set top box possesses bilateral network, step(2)In, the information data of set top box includes set top box information, interview show Channel identification information, programme labeling information, programm name, program ID, request program information.
The order video link information of set top box and SignalR servers includes the information data of set top box side, program request regards Frequency information, order video time started.
Above-mentioned embodiment is only the specific case of the present invention, and scope of patent protection of the invention includes but is not limited to Above-mentioned embodiment, any one kind for meeting the present invention realize the real-time audience rating statistical of set top box based on SignalR technologies Method the appropriate change or replacement done to it of claims and any persons of an ordinary skill in the technical field, The scope of patent protection of the present invention should all be fallen into.

Claims (4)

  1. A kind of 1. method that the real-time audience rating statistical of set top box is realized based on SignalR technologies, it is characterised in that be applied to Hardware configuration includes audience rating statistical server, SignalR servers, set top box;SignalR servers pass through net with set top box Network is communicated, and audience rating statistical server is comprised the following steps with SignalR servers by network service, methods described:
    (1), SignalR servers, report offer service support for building SignalR services, and for bi-directional data, and respond The order request of set top box;
    (2), SignalR servers the information row that set top box is connected with the order video of SignalR servers are created in internal memory Table, the information data of the set top box of video is currently viewed in record, for real-time statistics audience ratings;
    (3), set top box, its Portal accessed plays in page, introduces SignalR client JS files, and add in unload When carrying completion, set top box initiates connection request to SignalR servers;
    (4), set top box to SignalR servers send program request video connection request when, while send the information data of set top box Give SignalR servers;
    (5), set top box, when order video, into play the page after, set top box reports order video to SignalR servers The information of connection;
    (6), in playing process, the information that set top box is connected with the order video of SignalR servers is recorded in real time at SignalR In the information list of the internal memory of server;
    (7), SignalR servers obtain the information data of set top box in real time;
    (8), after order video finishes playing, the interface of set top box disconnects and SignalR servers from when playing the page and returning Connection, SignalR server triggers set top box disconnected events, then by set top box and SignalR in the information list of internal memory The order video link information record purge of server is fallen;
    (9), when audience rating statistical server statistics audience ratings, statistics SignalR servers order videos connection number, you can obtain The set top box side sum of current order video is taken, so as to calculate the audience ratings of the video;
    (10), when the real-time audience ratings of audience rating statistical server statistics video, pass through LINQ query, inquiry SignalR service Data in the internal memory of device in information list, obtain the real-time audience ratings of the video.
  2. 2. a kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies according to claim 1, its The Server versions that SignalR servers are Windows operating system are characterised by, and .netFrameWork4.0 frameworks are installed Collect IIS services, developed and realized using C# language.
  3. 3. a kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies according to claim 1, its It is characterised by that set top box possesses bilateral network, step(2)In, the information data of set top box includes set top box information, interview show Channel identification information, programme labeling information, programm name, program ID, request program information.
  4. 4. a kind of method that the real-time audience rating statistical of set top box is realized based on SignalR technologies according to claim 1, its It is characterised by that information data of the order video link information including set top box side of set top box and SignalR servers, program request regard Frequency information, order video time started.
CN201410506386.3A 2014-09-28 2014-09-28 Method for realizing real-time audience rating statistics of set top box based on SignalR technology Active CN104219547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410506386.3A CN104219547B (en) 2014-09-28 2014-09-28 Method for realizing real-time audience rating statistics of set top box based on SignalR technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410506386.3A CN104219547B (en) 2014-09-28 2014-09-28 Method for realizing real-time audience rating statistics of set top box based on SignalR technology

Publications (2)

Publication Number Publication Date
CN104219547A CN104219547A (en) 2014-12-17
CN104219547B true CN104219547B (en) 2018-02-23

Family

ID=52100624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410506386.3A Active CN104219547B (en) 2014-09-28 2014-09-28 Method for realizing real-time audience rating statistics of set top box based on SignalR technology

Country Status (1)

Country Link
CN (1) CN104219547B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451335A (en) * 2018-12-26 2019-03-08 山东浪潮商用系统有限公司 A kind of method that Java realizes storage video audience ratings

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112218138A (en) * 2020-10-12 2021-01-12 四川九州电子科技股份有限公司 Sickroom IPTV informatization system based on SignalR and restful API and implementation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014083A (en) * 2006-11-28 2007-08-08 俞鹏里 Network TV terminal and information server system thereof
CN101047833A (en) * 2007-02-09 2007-10-03 浪潮电子信息产业股份有限公司 Program monitoring management system based on digital water-print and two-way top-set box

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2687691C (en) * 2007-03-22 2017-05-09 The Nielsen Company (Us) Llc Systems and methods to identify intentionally placed products

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014083A (en) * 2006-11-28 2007-08-08 俞鹏里 Network TV terminal and information server system thereof
CN101047833A (en) * 2007-02-09 2007-10-03 浪潮电子信息产业股份有限公司 Program monitoring management system based on digital water-print and two-way top-set box

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451335A (en) * 2018-12-26 2019-03-08 山东浪潮商用系统有限公司 A kind of method that Java realizes storage video audience ratings

Also Published As

Publication number Publication date
CN104219547A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
US10856031B2 (en) Method and apparatus for generating interactive programming in a communication network
US10951861B2 (en) Systems and methods to order a content item deliverable via a media service
CN100534130C (en) Method, system and equipment to recommend program to television users
US8763020B2 (en) Determining user attention level during video presentation by monitoring user inputs at user premises
US20100011389A1 (en) System for gathering tv audience rating in real time in internet protocol television network and method thereof
US20050273804A1 (en) Animated interactive polling system, method, and computer program product
EP2752019B1 (en) Method and system for providing efficient and accurate estimates of tv viewership ratings
US9582535B2 (en) Media asset usage data reporting that indicates corresponding content creator
US20070074258A1 (en) Data collection and analysis for internet protocol television subscriber activity
US20080134228A1 (en) Customer Loyalty Based System Internet Protocol Television Advertising Mechanism
CN105814901A (en) Methods and apparatus to measure exposure to streaming media
US20160234556A1 (en) System and Method for Organizing, Ranking and Identifying Users as Official Mobile Device Video Correspondents
US20090094656A1 (en) System, method, and apparatus for connecting non-co-located video content viewers in virtual TV rooms for a shared participatory viewing experience
US8745508B2 (en) Systems and methods for user polling
CN103891298A (en) Method and system for collecting and managing tv viewership data
CN103034706A (en) Video recommended list generating device and method based on information network
CN103636147A (en) System and method for scalable high-accuracy sensor and ID-based audience measurement system
US20140181851A1 (en) Methods Circuits Apparatuses Systems and Associated Computer Executable Code for Providing Viewer Analytics Relating to Broadcast and Otherwise Distributed Content
US20150326922A1 (en) Methods Circuits Apparatuses Systems and Associated Computer Executable Code for Providing Viewer Analytics Relating to Broadcast and Otherwise Distributed Content
US20210211754A1 (en) Measuring video viewing
CN104219547B (en) Method for realizing real-time audience rating statistics of set top box based on SignalR technology
US20150007204A1 (en) Method and Apparatus for Using Viewership Activity Data to Customize a User Interface
US8561081B1 (en) System and method for dynamic brokering of digital content requests
US20080229358A1 (en) Program selection assistant for IP TV
KR102475018B1 (en) Interactive video system that supports immediate search of product information in indirect advertising

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200527

Address after: 250100 Inspur Science Park, No. 1036, Inspur Road, high tech Zone, Jinan City, Shandong Province

Patentee after: Inspur Software Technology Co., Ltd

Address before: 250100, No. 2877, fairway, Sun Town, Ji'nan hi tech Zone, Shandong

Patentee before: INSPUR GROUP Co.,Ltd.

TR01 Transfer of patent right