CN109151577A - Player status tracking, storage medium, equipment and system - Google Patents

Player status tracking, storage medium, equipment and system Download PDF

Info

Publication number
CN109151577A
CN109151577A CN201810732970.9A CN201810732970A CN109151577A CN 109151577 A CN109151577 A CN 109151577A CN 201810732970 A CN201810732970 A CN 201810732970A CN 109151577 A CN109151577 A CN 109151577A
Authority
CN
China
Prior art keywords
player
server
timer
data information
character string
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
Application number
CN201810732970.9A
Other languages
Chinese (zh)
Other versions
CN109151577B (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810732970.9A priority Critical patent/CN109151577B/en
Publication of CN109151577A publication Critical patent/CN109151577A/en
Application granted granted Critical
Publication of CN109151577B publication Critical patent/CN109151577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2404Monitoring of server processing errors or hardware failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4425Monitoring of client processing errors or hardware failure

Abstract

The invention discloses a kind of player status tracking, storage medium, equipment and systems, are related to internet mobile terminal application and development field, this method includes creation timer, and sets interval time;Within the setting interval time of timer, periodically judge whether player pulls the success of server video stream, and the character string of CDN flow whether there is: when player pulls the success of server video stream, and the character string of CDN flow exists, and obtains player video playing data information;The player video playing data information that will acquire is sent to server.The present invention can effectively understand the state of player, complete the state analysis of player.

Description

Player status tracking, storage medium, equipment and system
Technical field
The present invention relates to internet mobile terminal application and development fields, and in particular to a kind of player status tracking is deposited Storage media, equipment and system.
Background technique
With the development of science and technology, the function of Intelligent mobile equipment is also more various, leads to more and more young men The free time for liking dismissing oneself by way of viewing live streaming, enriches the free life of oneself, and then also promotes straight Broadcast flourishing for industry.
User is being broadcast live viewing using Intelligent mobile equipment, realizes that the most important technology of the process is to draw stream, draws Stream is that the video of download server flows in the live streaming client of local intelligent mobile device, is then played out, then entirely Player is particularly important in the process.Player is usually completed by multilingual and code development, during use not It is evitable to will appear some probabilistic problems, such as broadcasting Caton, memory are uprushed, player sudden strain of a muscle is moved back, and currently lacking has The means of effect track player failure, cause subsequent not checking player failure problems.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of player status tracking, The state that player can effectively be understood, completes the state analysis of player.
To achieve the above objectives, the technical solution adopted by the present invention is that, comprising:
Timer is created, and sets interval time;
Within the setting interval time of timer, periodically judge whether player pulls the success of server video stream, with And the character string of CDN flow whether there is:
When player pulls the success of server video stream, and the character string presence of CDN flow, acquisition player video playing Data information;
The player video playing data information that will acquire is sent to server.
Based on the above technical solution,
The player is located in live streaming client;
The live streaming client is run in Intelligent mobile equipment.
Based on the above technical solution, the player video playing data information includes Video Stream type and broadcasting Client type where device.
Based on the above technical solution, when player pulls the success of server video stream, and the character string of CDN flow In the presence of, it plays out device ID and the acquisition of the current institute login user ID of client is broadcast live.
Based on the above technical solution, when obtaining player video playing data information, player ID and live streaming After the current institute login user ID of client, player video playing data information, player ID and the live streaming client that will acquire Current institute login user ID is corresponded, and server is then forwarded to.
Based on the above technical solution, the acquisition player video playing data information, specific steps are as follows:
The example for obtaining player in live streaming client obtains player being played in live streaming client, is broadcast Put the acquisition of device video playing data information.
Based on the above technical solution, the timer of the creation is the timer of NSTimer type.
The present invention also provides a kind of storage medium, computer program, the computer program are stored on the storage medium It is performed the steps of when being executed by processor
Timer is created, and sets interval time;
Within the setting interval time of timer, periodically judge whether player pulls the success of server video stream, with And the character string of CDN flow whether there is:
When player pulls the success of server video stream, and the character string presence of CDN flow, acquisition player video playing Data information;
The player video playing data information that will acquire is sent to server.
Based on the above technical solution,
The player is located in live streaming client;
The live streaming client is run in Intelligent mobile equipment.
Based on the above technical solution, the player video playing data information includes Video Stream type and broadcasting Client type where device.
Based on the above technical solution, when player pulls the success of server video stream, and the character string of CDN flow In the presence of, it plays out device ID and the acquisition of the current institute login user ID of client is broadcast live.
Based on the above technical solution, when obtaining player video playing data information, player ID and live streaming After the current institute login user ID of client, player video playing data information, player ID and the live streaming client that will acquire Current institute login user ID is corresponded, and server is then forwarded to.
The present invention also provides a kind of terminal device, the terminal device includes:
Creating unit is used to create timer, and sets interval time;
Judging unit was used within the setting interval time of timer, periodically judged whether player pulls service The success of device video flowing, and the character string of CDN flow whether there is:
Acquiring unit is used to pull the success of server video stream when player, and the character string of CDN flow exists, and obtains Take player video playing data information;
Data transmission unit, the player video playing data information for being used to will acquire are sent to server.
Based on the above technical solution,
The player is located in live streaming client;
The live streaming client is run in Intelligent mobile equipment.
Based on the above technical solution, the player video playing data information includes Video Stream type and broadcasting Client type where device.
Based on the above technical solution, when player pulls the success of server video stream, and the character string of CDN flow In the presence of, it plays out device ID and the acquisition of the current institute login user ID of client is broadcast live.
Based on the above technical solution, when obtaining player video playing data information, player ID and live streaming After the current institute login user ID of client, player video playing data information, player ID and the live streaming client that will acquire Current institute login user ID is corresponded, and server is then forwarded to.
The present invention also provides a kind of player status tracking systems, comprising:
Creation module is used to create timer, and sets interval time;
Judgment module was used within the setting interval time of timer, periodically judged whether player pulls service The success of device video flowing, and the character string of CDN flow whether there is:
Module is obtained, is used to pull the success of server video stream when player, and the character string of CDN flow exists, and obtains Take player video playing data information;
Data transmission module, the player video playing data information for being used to will acquire are sent to server.
Based on the above technical solution,
The player is located in live streaming client;
The live streaming client is run in Intelligent mobile equipment;
The player video playing data information includes client type where Video Stream type and player.
Based on the above technical solution, the acquisition module is also used to obtain player ID and live streaming client is current Institute login user ID.
Compared with the prior art, the advantages of the present invention are as follows: by creating timer, in the setting interval time of timer It is interior, the acquisition of device related status information is periodically played out, the data confidence that then will acquire is sent to server, server The information reported can then be counted, understand the state of player, complete the state analysis of player, opened in order to subsequent Investigation of the hair personnel to the failure problems of direct broadcast server and the maintenance to direct broadcast server, while server shape of the invention It joined state judgement in state tracking, succeed when player pulls server video stream, and the character string of CDN flow is deposited , player video playing data information is obtained, reporting for some invalid datas is effectively avoided, promotes live streaming client performance, The EMS memory occupation of Intelligent mobile equipment is reduced simultaneously.
Detailed description of the invention
Fig. 1 is a kind of flow chart of player status tracking in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of terminal device in the embodiment of the present invention.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.Those skilled in the art Ying Ming White, the embodiment of the present invention can provide as method, system or computer program product.Therefore, complete hardware can be used in the present invention The form of embodiment, complete software embodiment or embodiment combining software and hardware aspects.Moreover, the present invention can be used One or more wherein includes that (including but not limited to disk is deposited for the computer-usable storage medium of computer usable program code Reservoir, CD-ROM, optical memory etc.) on the form of computer program product implemented.
Shown in Figure 1, the embodiment of the present invention provides a kind of player status tracking, for straight in iOS system The player status for broadcasting client is obtained.The player status tracking of the embodiment of the present invention, specifically includes following step It is rapid:
S1: creation timer, and set interval time.When user is broadcast live viewing using live streaming client, from straight It broadcasts list page and enters direct broadcasting room, the viewing being broadcast live is timed the creation of device at this time.After entering direct broadcasting room, it can call Viewdidload method, viewdidload method are used for the initialization operated, and under new task load condition It can be used.Device is specifically timed by method startStreamReportTimer in viewdidload method Creation.Method startStreamReportTimer is for creating timer variable streamReportTimer, for timer Creation, detailed process are as follows:
S101: defining the timer of a NSTimer type, and the variable of the timer is streamReportTimer, becomes The attribute for measuring streamReportTimer is atom belonging, and atom belonging for indicating thread-safe, is carried out for multithreading Design, and the variable is strongly reference type.NSTimer is a kind of common Timer Utility in iOS system.
S102: it when using variable streamReportTimer, is equivalent to and creates a timer object, creation is determined When device object be timer variable streamReportTimer, take and execute after variable streamReportTimer Invalidate operation, invalidate operation refer to cancellation timer, that is, a timer are allowed to stop timing function.
S103: cancel timer and then timer object streamReportTimer is set as nil, be set as nil Expression removes timer object streamReportTimer from memory.
S104: re-creating a timer, quote the timer or variable streamReportTimer, i.e., this What the memory pointer where variations per hour streamReportTimer was directed toward is newly created timer.
For the newly created timer, creation method is as follows:
It is usually used in preventing the strongly reference of NSTimer from drawing using weak reference timer class HWWeakTimer, HWWeakTimer The RAM leakage risen, then calls the method scheduledTimerWithTimeInterval for creating timer, the use Contain 5 parameters in the method for creation timer, be respectively as follows: parameter 1, this parameter represents how long setting timer moves Make once, it is primary to be traditionally arranged to be movement in 60 seconds;Parameter 2, target, target indicate target, and the target object of target is Self (oneself), object self indicate that monitoring the object of this timer action is current controller;Parameter 3, timer are dynamic The readjustment of work is selector (selector), the readjustment of this selector is that timer needs to be implemented when movement every time Function, the function of execution are streamReport, and streamReport expression repeats, i.e. streamReport can be at interval of Reversing within 60 seconds, it is primary to make;Other 3 parameters are respectively that userInfo, repeats, inModel make herein without specific meaning With default parameters, userInfo indicates user information, and repeats expression repeats number.
So far, just create timer, be completed at the same time the setting of timer interval time, for timer interval when Between be generally set to 60 seconds.
S2: within the setting interval time of timer, periodically judging whether player pulls the success of server video stream, And the character string of CDN (Content Delivery Network, content distributing network) flow whether there is.Timer is every It is primary every movement in 60 seconds, function streamReport can be called when movement every time, when function streamReport is called When, will play out device whether pull the success of server video stream and the character string of CDN flow whether there is Judgement, function streamReport are repeated for indicating, i.e., when each function streamReport is called, It will do it the sentencing of whether there is of character string whether player pulls CDN flow in the success of server video stream and client It is disconnected, when video flowing pulls success, just carry out some information that tracking reports player, can reduce in this way it is unnecessary report, Live streaming client performance is improved, while saving flow, while the character string of CDN flow exists, and illustrates that CDN route obtains successfully, CDN route, which obtains, successfully just plays out reporting for device information.Successfully sentence for whether player pulls server video stream Disconnected, when client obtains the video flowing address of server transmission, and client starts to receive the video fluxion that server is sent According to and the player of the client video stream data that has begun to use received server to send carries out the broadcasting of video, then table Bright player pulls the success of server video stream.For the judgement that the character string of CDN flow in client whether there is, for visitor The video flowing that family end obtains is judged, if the video flowing obtained is to show to work as forward sight transmitted by different node servers The acquisition of frequency stream is then to show that client has got CDN flow at this time, then the word of CDN flow using content distributing network Symbol string is necessarily present in client.
Player is located in live streaming client, and live streaming client is run in Intelligent mobile equipment.
S3: when player pulls the success of server video stream, and the character string presence of CDN flow, acquisition player video Played data information.Player video playing data information includes client type where Video Stream type and player, video Stream type is the format that video flowing corresponds to video, and client type is the version number of live streaming client where player.Work as broadcasting Device pulls the success of server video stream, and in the presence of the character string of CDN flow, is also used to obtain player ID and live streaming client Current institute login user ID.
Acquisition for player video playing data information: then the example for obtaining player in live streaming client obtains Player being played on is taken, the acquisition of device video playing data information is played out.Specifically:
The singleton of player is taken, the singleton of this player is DYIJKPlayerManager, DYIJKPlayerManager is used to indicate player in client, for player singleton acquisition especially by ShareInstant method plays out taking for device singleton, and shareInstant method user is called and obtains, client Player in end may have multiple, therefore need to take current ongoing broadcasting by operationPlayerBy method Device, the player are ijkPlayer, and ijkPlayer indicates the player being currently played, if the ijkPlayer taken Player exists, then the essential information of player is taken by the function of a c language, the essential information of this player is IJKMEDIA_PLAYER_QOS_INFO takes the method for using unsteady state operation after this information, by IJKMEDIA_ PLAYER_QOS_INFO is converted to the state qosInfo of player, and IJKMEDIA_PLAYER_QOS_INFO is in iOS system It indicates the broadcasting relevant information of player, such as supports format, after taking the state qosInfo of player, in this broadcasting Taken out in the state qosInfo of device player as a result, result is indicated with result, if result is 0, illustrate player Broadcast state is successfully, the state qosInfo of player to be configured to an item if success, this item is exactly DYEventTrackIJKInfoItem, item indicate a model, include the relevant some keys of player inside the model Information, client type, player ID and the live streaming current institute login user ID of client as where Video Stream type, player Deng.
S4: the player video playing data information that will acquire is sent to server.Specifically, when obtaining player view After frequency played data information, player ID and the live streaming current institute login user ID of client, the player video playing that will acquire Data information, player ID and the live streaming current institute login user ID of client are corresponded, and server is then forwarded to.Clothes Business device can then count the information reported, understand the state of player, complete the state analysis of player.
By the setting of timer, it is equivalent to and creates a heartbeat mechanism and guarantee in the timing cycle of timer Heartbeat acts once at regular intervals, and the data of player are reported to server by intermittent, completes server for visitor The acquisition of player data in the end of family, the mechanism at interval also can guarantee that the repetition of data reports, and reduce and give the correct time in data to network The excessive occupancy in channel.
The player status tracking of the embodiment of the present invention, by creating timer, at the setting interval of timer In, the acquisition of device related status information is periodically played out, the data confidence that then will acquire is sent to server, service Device can then count the information reported, understand the state of player, the state analysis of player be completed, in order to subsequent Investigation of the developer to the failure problems of direct broadcast server and the maintenance to direct broadcast server, while server of the invention It joined state judgement in status tracking method, succeed when player pulls server video stream, and the character string of CDN flow is deposited , player video playing data information is obtained, reporting for some invalid datas is effectively avoided, promotes live streaming client performance, The EMS memory occupation of Intelligent mobile equipment is reduced simultaneously.
The embodiment of the present invention also provides a kind of storage medium, and computer program, the calculating are stored on the storage medium Machine program performs the steps of when being executed by processor
Timer is created, and sets interval time;
Within the setting interval time of timer, periodically judge whether player pulls the success of server video stream, with And the character string of CDN flow whether there is:
When player pulls the success of server video stream, and the character string presence of CDN flow, acquisition player video playing Data information;
The player video playing data information that will acquire is sent to server.
The player is located in live streaming client;The live streaming client is run in Intelligent mobile equipment.It is described to broadcast Putting device video playing data information includes client type where Video Stream type and player.When player pulls server view Frequency flows successfully, and in the presence of the character string of CDN flow, plays out device ID and obtaining for the current institute login user ID of client is broadcast live It takes.After obtaining player video playing data information, player ID and the live streaming current institute login user ID of client, it will acquire Player video playing data information, player ID and live streaming the current institute login user ID of client corresponded, so After be sent to server.
Shown in Figure 2, the embodiment of the present invention also provides a kind of terminal device, and the terminal device includes creating unit 501, judging unit 502, acquiring unit 503 and data transmission unit 504.
Creating unit 501 sets interval time for creating timer;Judging unit 502 is used for setting in timer Determine in interval time, periodically judge whether player pulls server video stream successfully, and the character string of CDN flow be No presence: acquiring unit 503 is used to pull the success of server video stream when player, and the character string of CDN flow exists, and obtains Player video playing data information;The player video playing data information that data transmission unit 504 is used to will acquire is sent To server.
The player is located in live streaming client;The live streaming client is run in Intelligent mobile equipment.It is described to broadcast Putting device video playing data information includes client type where Video Stream type and player.When player pulls server view Frequency flows successfully, and in the presence of the character string of CDN flow, plays out device ID and obtaining for the current institute login user ID of client is broadcast live It takes.After obtaining player video playing data information, player ID and the live streaming current institute login user ID of client, it will acquire Player video playing data information, player ID and live streaming the current institute login user ID of client corresponded, so After be sent to server.
The electronic equipment of the embodiment of the present invention, by creating timer, within the setting interval time of timer, periodically The acquisition for playing out device related status information, the data confidence that then will acquire are sent to server, and server then can be right The information reported is counted, and the state of player is understood, and completes the state analysis of player, in order to subsequent development personnel couple The investigation of the failure problems of direct broadcast server and maintenance to direct broadcast server, while server state track side of the invention It joined state judgement in method, server video stream is successful when player pulls, and the character string of CDN flow exists, and acquisition is broadcast Device video playing data information is put, reporting for some invalid datas is effectively avoided, promotes live streaming client performance, while reducing intelligence The EMS memory occupation of energy mobile device
The embodiment of the present invention also provides a kind of player status tracking system, including creation module, judgment module, acquisition mould Block and data transmission module.
Creation module sets interval time for creating timer;Judgment module is used at the setting interval of timer In time, periodically judge whether player pulls server video stream successfully, and the character string of CDN flow whether deposit : it obtains module and is used to pull the success of server video stream when player, and the character string of CDN flow exists, and obtains player Video playing data information;The player video playing data information that data transmission module is used to will acquire is sent to server.
Player is located in live streaming client, and live streaming client is run in Intelligent mobile equipment.Player video playing Data information includes client type where Video Stream type and player.The acquisition module be also used to obtain player ID and The current institute login user ID of client is broadcast live.
The player status tracking system of the embodiment of the present invention, by creating timer, at the setting interval of timer In, the acquisition of device related status information is periodically played out, the data confidence that then will acquire is sent to server, service Device can then count the information reported, understand the state of player, the state analysis of player be completed, in order to subsequent Investigation of the developer to the failure problems of direct broadcast server and the maintenance to direct broadcast server, while server of the invention It joined state judgement in status tracking method, succeed when player pulls server video stream, and the character string of CDN flow is deposited , player video playing data information is obtained, reporting for some invalid datas is effectively avoided, promotes live streaming client performance, The EMS memory occupation of Intelligent mobile equipment is reduced simultaneously.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of player status tracking, which comprises the following steps:
Timer is created, and sets interval time;
Within the setting interval time of timer, periodicity judges whether player pulls server video stream and succeed, and The character string of CDN flow whether there is:
When player pulls the success of server video stream, and the character string presence of CDN flow, acquisition player video playing data Information;
The player video playing data information that will acquire is sent to server.
2. a kind of player status tracking as described in claim 1, it is characterised in that:
The player is located in live streaming client;
The live streaming client is run in Intelligent mobile equipment.
3. a kind of player status tracking as described in claim 1, it is characterised in that: the player video playing number It is believed that breath includes client type where Video Stream type and player.
4. a kind of player status tracking as claimed in claim 3, it is characterised in that: when player pulls server view Frequency flows successfully, and in the presence of the character string of CDN flow, plays out device ID and obtaining for the current institute login user ID of client is broadcast live It takes.
5. a kind of player status tracking as claimed in claim 4, it is characterised in that: broadcast when obtaining player video After putting data information, player ID and the live streaming current institute login user ID of client, the player video playing data that will acquire Information, player ID and the live streaming current institute login user ID of client are corresponded, and server is then forwarded to.
6. a kind of player status tracking as described in claim 1, it is characterised in that: the acquisition player video is broadcast Put data information, specific steps are as follows:
The example for obtaining player in live streaming client obtains player being played in live streaming client, plays out device The acquisition of video playing data information.
7. a kind of player status tracking as described in claim 1, it is characterised in that: the timer of the creation is The timer of NSTimer type.
8. a kind of storage medium, computer program is stored on the storage medium, it is characterised in that: the computer program is located Reason device performs the steps of when executing
Timer is created, and sets interval time;
Within the setting interval time of timer, periodicity judges whether player pulls server video stream and succeed, and The character string of CDN flow whether there is:
When player pulls the success of server video stream, and the character string presence of CDN flow, acquisition player video playing data Information;
The player video playing data information that will acquire is sent to server.
9. a kind of terminal device, which is characterized in that the terminal device includes:
Creating unit is used to create timer, and sets interval time;
Judging unit was used within the setting interval time of timer, periodically judged whether player pulls server view Frequency flows successfully, and the character string of CDN flow whether there is:
Acquiring unit is used to pull the success of server video stream when player, and the character string of CDN flow exists, and acquisition is broadcast Put device video playing data information;
Data transmission unit, the player video playing data information for being used to will acquire are sent to server.
10. a kind of player status tracking system characterized by comprising
Creation module is used to create timer, and sets interval time;
Judgment module was used within the setting interval time of timer, periodically judged whether player pulls server view Frequency flows successfully, and the character string of CDN flow whether there is:
Module is obtained, is used to pull the success of server video stream when player, and the character string of CDN flow exists, acquisition is broadcast Put device video playing data information;
Data transmission module, the player video playing data information for being used to will acquire are sent to server.
CN201810732970.9A 2018-07-05 2018-07-05 Player state tracking method, storage medium, device and system Active CN109151577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810732970.9A CN109151577B (en) 2018-07-05 2018-07-05 Player state tracking method, storage medium, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810732970.9A CN109151577B (en) 2018-07-05 2018-07-05 Player state tracking method, storage medium, device and system

Publications (2)

Publication Number Publication Date
CN109151577A true CN109151577A (en) 2019-01-04
CN109151577B CN109151577B (en) 2021-04-27

Family

ID=64799743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810732970.9A Active CN109151577B (en) 2018-07-05 2018-07-05 Player state tracking method, storage medium, device and system

Country Status (1)

Country Link
CN (1) CN109151577B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110446079A (en) * 2019-07-03 2019-11-12 北京达佳互联信息技术有限公司 Obtain method, apparatus, electronic equipment and the storage medium of viewing duration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581388A (en) * 2014-12-31 2015-04-29 网宿科技股份有限公司 Playing state processing method, device and system
CN106028077A (en) * 2016-06-24 2016-10-12 武汉斗鱼网络科技有限公司 Active user set maintenance system and method based on time roulette and playing state
CN106412640A (en) * 2015-07-29 2017-02-15 腾讯科技(北京)有限公司 Information management method, server, terminal device and system
CN106878769A (en) * 2017-02-23 2017-06-20 北京潘达互娱科技有限公司 live video quality monitoring method and device
CN107493508A (en) * 2017-08-22 2017-12-19 四川长虹电器股份有限公司 method based on Android intelligent terminal streaming media playing performance monitoring

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581388A (en) * 2014-12-31 2015-04-29 网宿科技股份有限公司 Playing state processing method, device and system
CN106412640A (en) * 2015-07-29 2017-02-15 腾讯科技(北京)有限公司 Information management method, server, terminal device and system
CN106028077A (en) * 2016-06-24 2016-10-12 武汉斗鱼网络科技有限公司 Active user set maintenance system and method based on time roulette and playing state
CN106878769A (en) * 2017-02-23 2017-06-20 北京潘达互娱科技有限公司 live video quality monitoring method and device
CN107493508A (en) * 2017-08-22 2017-12-19 四川长虹电器股份有限公司 method based on Android intelligent terminal streaming media playing performance monitoring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110446079A (en) * 2019-07-03 2019-11-12 北京达佳互联信息技术有限公司 Obtain method, apparatus, electronic equipment and the storage medium of viewing duration

Also Published As

Publication number Publication date
CN109151577B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
US20200126551A1 (en) Method, device, and computer program product for processing voice instruction
CN109391528A (en) Awakening method, device, equipment and the storage medium of speech-sound intelligent equipment
CN104537000B (en) A kind of method and apparatus for pushed information
CN109857518A (en) A kind of distribution method and equipment of Internet resources
CN110166788A (en) Synchronizing information playback method, device and storage medium
CN110188248A (en) Data processing method, device and electronic equipment based on news question and answer interactive system
CN106452805B (en) A kind of method and apparatus of message broadcast
CN108922524A (en) Control method, system, device, Cloud Server and the medium of intelligent sound equipment
CN109450747A (en) A kind of method, apparatus and computer storage medium waking up smart home device
WO2018192506A1 (en) Method and apparatus for recommending social information, and storage medium
CN110136713A (en) Dialogue method and system of the user in multi-modal interaction
CN109729376A (en) A kind of processing method of life cycle, device, equipment and storage medium
CN103905482A (en) Information push method, push server and system
CN111242658A (en) Information sharing reward method and device and computer readable storage medium
CN109151577A (en) Player status tracking, storage medium, equipment and system
CN106131134B (en) A kind of message content merges De-weight method and system
CN104253737B (en) A kind of method and device for measuring social channel communication effect
CN110347703A (en) A kind of user behavior analysis method and system based on ARCore
CN110536147A (en) The method, apparatus and system of processing is broadcast live
CN106502856B (en) A kind of information processing method and device
CN110516151B (en) Effective behavior detection and personalized recommendation method
CN113296666A (en) Anchor exposure data reporting method and device, terminal equipment and storage medium
CN107888690A (en) The statistical method and system of response time
WO2015081912A1 (en) Method and system for determining property of user in social network platform
US20150331960A1 (en) System and method of creating an immersive experience

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