CN104219547A - 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 PDFInfo
- Publication number
- CN104219547A CN104219547A CN201410506386.3A CN201410506386A CN104219547A CN 104219547 A CN104219547 A CN 104219547A CN 201410506386 A CN201410506386 A CN 201410506386A CN 104219547 A CN104219547 A CN 104219547A
- Authority
- CN
- China
- Prior art keywords
- signalr
- server
- top box
- set top
- information
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000005516 engineering process Methods 0.000 title claims abstract description 18
- 230000000977 initiatory effect Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 claims description 4
- 238000010926 purge Methods 0.000 claims description 4
- 230000002146 bilateral effect Effects 0.000 claims description 3
- 238000002372 labelling Methods 0.000 claims description 3
- 230000002457 bidirectional effect Effects 0.000 abstract description 3
- 230000008859 change Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
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
Technical field
The present invention relates to a kind of method of audience rating statistical, specifically a kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology.
Background technology
SignalR is an asynchronous storehouse of asp.net, and it provides broadcast to arrive the mechanism of multiple client end.SignalR can be used for the connection of lasting client and service end, and let us is convenient to develop some real-time application, such as chatroom online booking system, and stock exchange etc. are application in real time.This load that significantly can reduce server guarantees do not have unnecessary request from repetition client-requested.The formal open source projects of SignalR Shi Fei Microsoft.SignalR can realize real time communication in the Web project of ASP .NET.The Web of real time communication: be exactly allow client (Web page) and server end can the mutual notification message of real-time operation and call method.WebSockets is the new API that HTML5 provides, Socket can be set up between Web page with server end to be connected, when WebSockets is available (Html5 supported by browser), SignalR uses WebSockets, and when not supporting, other technology of use ensures to reach same effect by SignalR.SignalR also provides the high-order API be simple and easy to very much certainly, make server end single or batch can call JavaScript function in client, and carry out connection management easily, such as client's side link is to server end, or disconnect, client packets, and client authorization, use SignalR to be all very easy to realize.
Audience ratings is the barometer of audient's feedback in mass media.Audience ratings can react to a certain extent the receiver that disseminator propagates acceptance level, on aspects such as the impacts of audient.It is really play between disseminator with audient together with interactive effect.For the feedback of program quality, constructive opinions and suggestions can be proposed, to help the raising of program quality.
The audience ratings of traditional TV station is added up by special statistical organization, such as CCTV, added up by Suo Furui, the spectators of its Dou You administrative body random selection some throughout the country provide questionnaire, content is: " certain point is put to certain a few individual of which platform seen and seen " class, there is weekly special messenger's house call questionnaire, leave new questionnaire simultaneously.They issue after the data of various places input computer being added up in general headquarters again.
Along with the application of Set Top Box and bidirectional video-on-demand is more and more extensive, audience rating statistical based on bidirectional video-on-demand generally has two kinds of situations at present: a kind of situation is the IP Information On Demand record regularly being provided this user by BO backstage to server, analyze audience ratings, but existence is added up not in time, inaccurate, not detailed problem; Another kind of situation is that Set Top Box can the interim program request behavior storing user, and regularly service end is reported in record record, carries out analysiss obtain audience ratings by server, but also existence add up not in time, inaccurate problem.
Summary of the invention
Technical assignment of the present invention is for above weak point, provides a kind of a kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology can accomplishing timely, accurate, detailed audience rating statistical.
The technical solution adopted for the present invention to solve the technical problems is:
Realize a method for the real-time audience rating statistical of Set Top Box based on SignalR technology, the hardware configuration be applied to comprises audience rating statistical server, SignalR server, Set Top Box; SignalR server communicates with set top box through network, and audience rating statistical server and SignalR server are by network service, and described method comprises the steps:
(1), SignalR server, build SignalR service, provide service support for bi-directional data reports, the order request of responder top box;
(2), SignalR server creates the information list that Set Top Box is connected with the order video of SignalR server in internal memory, records current information data of watching the Set Top Box of video, for real-time statistics audience ratings;
(3), Set Top Box, the Portal of access plays in the page, introduces SignalR client JS file, and when unload has loaded, to SignalR server initiation connection request;
(4), Set Top Box is when sending program request video connection request to SignalR server, and simultaneously the information data of transmitter top box is to SignalR server;
(5), set top box side, when order video, enter and play after the page, to the information that SignalR server reports order video to connect;
(6), in playing process, the information that Set Top Box is connected with the order video of SignalR server is recorded in real time in the information list of the internal memory of SignalR server;
(7), the information data of SignalR server Real-time Obtaining Set Top Box;
(8), after order video finishes playing, when the interface of Set Top Box returns from the broadcasting page, disconnect the connection with SignalR server, SignalR server triggers Set Top Box disconnected event, then the order video link information record purge of Set Top Box and SignalR server in the information list of internal memory is fallen, realize viewership information and change in real time;
(9), when audience rating statistical server statistics audience ratings, statistics SignalR server order video linking number, can obtain the set top box side sum of current order video, thus calculate the audience ratings of this video;
(10), when the real-time audience ratings of audience rating statistical server statistics video, inquired about by LINQ, the data in the internal memory of inquiry SignalR server in information list, obtain the real-time audience ratings of this video.
SignalR server is the Server version of Windows operating system, and installs .netFrameWork4.0 framework collection IIS service, uses C# language exploitation to realize.
Set Top Box has bilateral network, and in step (2), the information data of Set Top Box comprises 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 server comprises the information data of set top box side, order video information, order video time started.
LINQ, English full name is Language Integrated Query, is translated as the integrated inquiry of language.It is one group of expansion for c# and Visual Basic language.It allows to write C# or Visual Basic code and operates internal storage data in the mode that Query Database is identical.
A kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology of the present invention, has the following advantages:
1, use SignalR technology to realize the two-way audience rating statistical of Set Top Box, timely, accurate, detailed audience rating statistical can be accomplished;
2, SignalR provides the high-order API be simple and easy to very much, make server end single or batch can call JavaScript function in set top box side, and carry out connection management easily, such as set top box side is connected to server end, or disconnect, set top box side is divided into groups, and set top box side mandate, uses SignalR to be all very easy to realize;
3, SignalR will carry out real time communication band with set top box side and give ASP .NET; So both handy, and have enough autgmentabilities; User's displaying data in real-time of needing refresh page or using Ajax poll could realize in the past, as long as present use SignalR, just can simple realization.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described.
Accompanying drawing 1 is a kind of interaction diagrams realizing the method for the real-time audience rating statistical of Set Top Box based on SignalR technology.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Embodiment 1:
A kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology of the present invention, the hardware configuration be applied to comprises audience rating statistical server, SignalR server, Set Top Box; SignalR server communicates with set top box through network, and audience rating statistical server and SignalR server are by network service, and described method comprises the steps:
(1), SignalR server, build SignalR service, provide service support for bi-directional data reports, the order request of responder top box;
(2), SignalR server creates the information list that Set Top Box is connected with the order video of SignalR server in internal memory, records current information data of watching the Set Top Box of video, for real-time statistics audience ratings;
(3), Set Top Box, the Portal of access plays in the page, introduces SignalR client JS file, and when unload has loaded, to SignalR server initiation connection request;
(4), Set Top Box is when sending program request video connection request to SignalR server, and simultaneously the information data of transmitter top box is to SignalR server;
(5), set top box side, when order video, enter and play after the page, to the information that SignalR server reports order video to connect;
(6), in playing process, the information that Set Top Box is connected with the order video of SignalR server is recorded in real time in the information list of the internal memory of SignalR server;
(7), the information data of SignalR server Real-time Obtaining Set Top Box;
(8), after order video finishes playing, when the interface of Set Top Box returns from the broadcasting page, disconnect the connection with SignalR server, SignalR server triggers Set Top Box disconnected event, then the order video link information record purge of Set Top Box and SignalR server in the information list of internal memory is fallen, realize viewership information and change in real time;
(9), when audience rating statistical server statistics audience ratings, statistics SignalR server order video linking number, can obtain the set top box side sum of current order video, thus calculate the audience ratings of this video;
(10), when the real-time audience ratings of audience rating statistical server statistics video, inquired about by LINQ, the data in the internal memory of inquiry SignalR server in information list, obtain the real-time audience ratings of this video.
Embodiment 2:
A kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology of the present invention, the hardware configuration be applied to comprises audience rating statistical server, SignalR server, Set Top Box; SignalR server communicates with set top box through network, and audience rating statistical server and SignalR server are by network service, and described method comprises the steps:
(1), SignalR server, build SignalR service, provide service support for bi-directional data reports, the order request of responder top box;
(2), SignalR server creates the information list that Set Top Box is connected with the order video of SignalR server in internal memory, records current information data of watching the Set Top Box of video, for real-time statistics audience ratings;
(3), Set Top Box, the Portal of access plays in the page, introduces SignalR client JS file, and when unload has loaded, to SignalR server initiation connection request;
(4), Set Top Box is when sending program request video connection request to SignalR server, and simultaneously the information data of transmitter top box is to SignalR server;
(5), set top box side, when order video, enter and play after the page, to the information that SignalR server reports order video to connect;
(6), in playing process, the information that Set Top Box is connected with the order video of SignalR server is recorded in real time in the information list of the internal memory of SignalR server;
(7), the information data of SignalR server Real-time Obtaining Set Top Box;
(8), after order video finishes playing, when the interface of Set Top Box returns from the broadcasting page, disconnect the connection with SignalR server, SignalR server triggers Set Top Box disconnected event, then the order video link information record purge of Set Top Box and SignalR server in the information list of internal memory is fallen, realize viewership information and change in real time;
(9), when audience rating statistical server statistics audience ratings, statistics SignalR server order video linking number, can obtain the set top box side sum of current order video, thus calculate the audience ratings of this video;
(10), when the real-time audience ratings of audience rating statistical server statistics video, inquired about by LINQ, the data in the internal memory of inquiry SignalR server in information list, obtain the real-time audience ratings of this video.
SignalR server is the Server version of Windows operating system, and installs .netFrameWork4.0 framework collection IIS service, uses C# language exploitation to realize.
Set Top Box has bilateral network, and in step (2), the information data of Set Top Box comprises 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 server comprises the information data of set top box side, order video information, order video time started.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any according to the invention a kind of realize claims of the method for the real-time audience rating statistical of Set Top Box based on SignalR technology and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.
Claims (4)
1. realize a method for the real-time audience rating statistical of Set Top Box based on SignalR technology, it is characterized in that be applied to hardware configuration comprises audience rating statistical server, SignalR server, Set Top Box; SignalR server communicates with set top box through network, and audience rating statistical server and SignalR server are by network service, and described method comprises the steps:
(1), SignalR server, build SignalR service, provide service support for bi-directional data reports, the order request of responder top box;
(2), SignalR server creates the information list that Set Top Box is connected with the order video of SignalR server in internal memory, records current information data of watching the Set Top Box of video, for real-time statistics audience ratings;
(3), Set Top Box, the Portal of access plays in the page, introduces SignalR client JS file, and when unload has loaded, to SignalR server initiation connection request;
(4), Set Top Box is when sending program request video connection request to SignalR server, and simultaneously the information data of transmitter top box is to SignalR server;
(5), set top box side, when order video, enter and play after the page, to the information that SignalR server reports order video to connect;
(6), in playing process, the information that Set Top Box is connected with the order video of SignalR server is recorded in real time in the information list of the internal memory of SignalR server;
(7), the information data of SignalR server Real-time Obtaining Set Top Box;
(8), after order video finishes playing, when the interface of Set Top Box returns from the broadcasting page, disconnect the connection with SignalR server, SignalR server triggers Set Top Box disconnected event, then falls the order video link information record purge of Set Top Box and SignalR server in the information list of internal memory;
(9), when audience rating statistical server statistics audience ratings, statistics SignalR server order video linking number, can obtain the set top box side sum of current order video, thus calculate the audience ratings of this video;
(10), when the real-time audience ratings of audience rating statistical server statistics video, inquired about by LINQ, the data in the internal memory of inquiry SignalR server in information list, obtain the real-time audience ratings of this video.
2. a kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology according to claim 1, it is characterized in that SignalR server is the Server version of Windows operating system, and .netFrameWork4.0 framework collection IIS service is installed, use C# language exploitation to realize.
3. a kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology according to claim 1, it is characterized in that Set Top Box has bilateral network, in step (2), the information data of Set Top Box comprises Set Top Box information, interview show channel identification information, programme labeling information, programm name, program ID, request program information.
4. a kind of method realizing the real-time audience rating statistical of Set Top Box based on SignalR technology according to claim 1, is characterized in that the order video link information of Set Top Box and SignalR server comprises the information data of set top box side, order video information, order video time started.
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 true CN104219547A (en) | 2014-12-17 |
CN104219547B 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)
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 |
Families Citing this family (1)
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 |
Citations (3)
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 |
US20080235077A1 (en) * | 2007-03-22 | 2008-09-25 | Harkness David H | Systems and methods to identify intentionally placed products |
-
2014
- 2014-09-28 CN CN201410506386.3A patent/CN104219547B/en active Active
Patent Citations (3)
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 |
US20080235077A1 (en) * | 2007-03-22 | 2008-09-25 | Harkness David H | Systems and methods to identify intentionally placed products |
Non-Patent Citations (1)
Title |
---|
无: "Realtime ASP.NET Web API Tracing with SignalR", 《STRATHWEB》 * |
Cited By (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104219547B (en) | 2018-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100534130C (en) | Method, system and equipment to recommend program to television users | |
JP6360863B2 (en) | Media asset usage data report showing corresponding content creators | |
CN102656898B (en) | Automatic media asset update over an online social network | |
US9137494B2 (en) | Systems and methods to order a content item deliverable via a television service | |
CN107079183B (en) | Television audience measurement method and apparatus | |
US20100095317A1 (en) | Determining User Attention Level During Video Presentation by Monitoring User Inputs at User Premises | |
US9021543B2 (en) | Highly scalable audience measurement system with client event pre-processing | |
CN103891298A (en) | Method and system for collecting and managing tv viewership data | |
CN103096173A (en) | Information processing method and device of network television system | |
US20150326922A1 (en) | Methods Circuits Apparatuses Systems and Associated Computer Executable Code for Providing Viewer Analytics Relating to Broadcast and Otherwise Distributed Content | |
CN101789950A (en) | Internet protocol television-based implementing method in three-screen fusion and system | |
CN104160711A (en) | User viewing data collection for generating media viewing achievements | |
CN104008489A (en) | Internet video advertisement putting system and method based on face detection technology | |
CN103686375A (en) | Video sharing method and device | |
CN103034706A (en) | Video recommended list generating device and method based on information network | |
CN104717519A (en) | Intelligent-television-based interactive advertisement recommending method and system | |
CN102364956A (en) | Method for realizing advertising in starting of Internet protocol television (IPTV) system | |
EP2936710A1 (en) | Methods circuits apparatuses systems and associated computer executable code for providing viewer analytics relating to broadcast and otherwise distributed content | |
JP2012039498A (en) | Content viewing tendency analysis system, method, and program | |
CN103797811A (en) | Systems and methods for consumer control over interactive television exposure | |
US20150007204A1 (en) | Method and Apparatus for Using Viewership Activity Data to Customize a User Interface | |
CN103004222A (en) | Method for planning television program recordings for a user | |
CN104219547A (en) | Method for realizing real-time audience rating statistics of set top box based on SignalR technology | |
CN201976223U (en) | Digital television graph-text advertisement system based on set-top box | |
TWI322397B (en) |
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 | ||
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. |