CN115022694B - Screen time statistics method, device, system, background server and medium - Google Patents

Screen time statistics method, device, system, background server and medium Download PDF

Info

Publication number
CN115022694B
CN115022694B CN202210742004.1A CN202210742004A CN115022694B CN 115022694 B CN115022694 B CN 115022694B CN 202210742004 A CN202210742004 A CN 202210742004A CN 115022694 B CN115022694 B CN 115022694B
Authority
CN
China
Prior art keywords
screen
throwing
target
mobile terminal
television
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
CN202210742004.1A
Other languages
Chinese (zh)
Other versions
CN115022694A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202210742004.1A priority Critical patent/CN115022694B/en
Publication of CN115022694A publication Critical patent/CN115022694A/en
Application granted granted Critical
Publication of CN115022694B publication Critical patent/CN115022694B/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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43078Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen for seamlessly watching content streams when changing device, e.g. when watching the same program sequentially on a TV and then on a tablet
    • 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/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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The embodiment of the application provides a screen time counting method, a device, a system, a background server and a medium, wherein the method comprises the following steps: receiving a video request sent by a screen-throwing television, wherein the video request is a request sent by the screen-throwing television after receiving the screen-throwing request sent by a mobile terminal, and the video request comprises a target screen-throwing address and preset verification parameters; transmitting a target video at a target screen-throwing address to the screen-throwing television so that the screen-throwing television plays the target video; recording the corresponding relation between the duration of the target video and a preset verification parameter; and determining the sum value of all the time lengths corresponding to the recorded preset verification parameters to obtain the screen-throwing time of the screen-throwing television. By applying the technical scheme provided by the embodiment of the application, the statistical accuracy of the screen throwing time can be improved.

Description

Screen time statistics method, device, system, background server and medium
Technical Field
The application relates to the technical field of multi-screen interaction, in particular to a screen-throwing time statistical method, device and system, a background server and a medium.
Background
With the development of the age, the wireless screen projection technology has become an indispensable part of life of people. In order to meet the requirements of service accounting and the like in the wireless screen projection technology, the time for playing the video by the screen projection television needs to be counted, namely, the screen projection time is counted.
At present, the statistical process of the screen time comprises the following steps: the mobile terminal sends a screen throwing request to a screen throwing television, and the screen throwing television obtains a screen throwing address of a video to be played from the screen throwing request and plays the video at the screen throwing address; in the process of playing videos by the screen television, the mobile terminal acquires the video playing progress of the screen television in real time, and counts the screen time of the screen television based on the video playing progress.
In the method for counting the screen throwing time, the mobile terminal needs to be connected with the screen throwing television, so that the mobile terminal can acquire the video playing progress of the screen throwing television in real time, and accurate counting of the screen throwing time is realized. However, in the video playing process, due to user operation or network reasons, the connection between the mobile terminal and the screen-throwing television is likely to be interrupted, and the error of the counted screen-throwing time is larger.
Disclosure of Invention
The embodiment of the application aims to provide a screen time counting method, device and system, a background server and a medium, so as to improve the counting precision of the screen time. The specific technical scheme is as follows:
in a first aspect of the present application, there is first provided a screen time statistics method applied to a background server, where the method includes:
receiving a video request sent by a screen-throwing television, wherein the video request is a request sent by the screen-throwing television after receiving the screen-throwing request sent by a mobile terminal, and the video request comprises a target screen-throwing address and preset verification parameters;
transmitting a target video at the target screen-throwing address to the screen-throwing television so that the screen-throwing television plays the target video;
recording the corresponding relation between the duration of the target video and the preset verification parameter;
and determining the sum value of all the recorded time periods corresponding to the preset verification parameters to obtain the screen-throwing time of the screen-throwing television.
Optionally, the method further comprises:
receiving a parameter request sent by the mobile terminal;
and sending the preset verification parameters to the mobile terminal according to the parameter request, so that the mobile terminal carries the preset verification parameters in the screen projection request and sends the screen projection request to the screen projection television.
Optionally, the parameter request includes a user identifier, time information and device information of the mobile terminal;
the step of sending the preset verification parameters to the mobile terminal according to the parameter request comprises the following steps:
generating the preset verification parameters by using the user identification, the time information and the equipment information of the mobile terminal;
and sending the preset check parameters to the mobile terminal.
Optionally, the method further comprises:
receiving an address request sent by a mobile terminal, wherein the address request comprises a user identifier, target authentication information and a target video identifier;
authenticating the mobile terminal based on the user identification and the target authentication information;
and under the condition that authentication is successful, sending a target screen-throwing address corresponding to the target video identifier to the mobile terminal, so that the mobile terminal carries the target screen-throwing address in the screen-throwing request and sends the screen-throwing request to the screen-throwing television.
Optionally, the number of the target screen-throwing addresses is a plurality of;
in the video request, each target screen-throwing address is spliced with the preset verification parameter through a preset symbol.
In a second aspect of the present application, there is also provided a device for counting time of screen projection, applied to a background server, the device comprising:
the first receiving unit is used for receiving a video request sent by the screen-throwing television, wherein the video request is a request sent by the screen-throwing television after receiving the screen-throwing request sent by the mobile terminal, and the video request comprises a target screen-throwing address and preset verification parameters;
the first sending unit is used for sending the target video at the target screen-throwing address to the screen-throwing television so that the screen-throwing television plays the target video;
the recording unit is used for recording the corresponding relation between the duration of the target video and the preset verification parameter;
and the determining unit is used for determining the sum value of all the recorded time periods corresponding to the preset verification parameters to obtain the screen-throwing time of the screen-throwing television.
Optionally, the apparatus further includes:
the second receiving unit is used for receiving the parameter request sent by the mobile terminal;
and the second sending unit is used for sending the preset verification parameters to the mobile terminal according to the parameter request, so that the mobile terminal carries the preset verification parameters in the screen projection request and sends the screen projection request to the screen projection television.
Optionally, the parameter request includes a user identifier, time information and device information of the mobile terminal;
the second sending unit is specifically configured to:
generating the preset verification parameters by using the user identification, the time information and the equipment information of the mobile terminal;
and sending the preset check parameters to the mobile terminal.
Optionally, the apparatus further includes:
the third receiving unit is used for receiving an address request sent by the mobile terminal, wherein the address request comprises a user identifier, target authentication information and target video identifier;
an authentication unit, configured to authenticate the mobile terminal based on the user identifier and the target authentication information;
and the third sending unit is used for sending a target screen-throwing address corresponding to the target video identifier to the mobile terminal under the condition that the authentication is successful, so that the mobile terminal carries the target screen-throwing address in the screen-throwing request and sends the screen-throwing address to the screen-throwing television.
Optionally, the number of the target screen-throwing addresses is a plurality of;
in the video request, each target screen-throwing address is spliced with the preset verification parameter through a preset symbol.
In a third aspect of the present application, there is also provided a screen time statistics system, the system including a mobile terminal, a screen television, and a background server;
the mobile terminal is used for sending a screen throwing request to the screen throwing television, wherein the screen throwing request comprises a target screen throwing address and preset verification parameters;
the screen-throwing television is used for acquiring a target screen-throwing address and preset verification parameters from the screen-throwing request, and sending a video request to the background server, wherein the video request comprises the target screen-throwing address and the preset verification parameters;
the background server is used for sending a target video at the target screen-throwing address to the screen-throwing television and recording the corresponding relation between the duration of the target video and the preset verification parameter; determining the sum value of all the recorded time periods corresponding to the preset verification parameters to obtain the screen-throwing time of the screen-throwing television;
the screen-casting television is also used for playing the target video returned by the background server.
In a fourth aspect of the present application, there is also provided a background server, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the screen time statistical methods when executing the programs stored in the memory.
In a fifth aspect of the present application, there is also provided a computer readable storage medium, in which a computer program is stored, the computer program implementing any one of the above-mentioned screen time statistics methods when executed by a processor.
In a sixth aspect of the application, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the above-described methods of screening time statistics.
In the technical scheme provided by the embodiment of the application, the preset verification parameters are distributed to the video of the screen-throwing television, the background server can correlate the video with the screen-throwing television based on the preset verification parameters, and further the duration of the video played by the screen-throwing television can be counted based on the preset verification parameters, so that the screen-throwing time of the screen-throwing television is obtained. Therefore, in the embodiment of the application, based on the preset verification parameters, the statistics of the screen-throwing time can be completed by the background server without the need of the connection between the mobile terminal and the screen-throwing television, so that the problem that the connection between the mobile terminal and the screen-throwing television is interrupted due to user operation or network reasons and the like in the video playing process, and further the error of the counted screen-throwing time is larger is avoided, and the statistics precision of the screen-throwing time is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic structural diagram of a screen time statistics system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a first method for counting time of screen projection according to an embodiment of the present application;
fig. 3 is a second flowchart of a screen time statistics method according to an embodiment of the present application;
fig. 4 is a third flowchart of a screen time statistics method according to an embodiment of the present application;
fig. 5 is a fourth flowchart of a screen time statistics method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a screen time statistics device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a background server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
With the development of the age, the wireless screen projection technology has become an indispensable part of life of people. In order to meet the requirements of service accounting and the like in the wireless screen projection technology, the time for playing the video by the screen projection television needs to be counted, namely, the screen projection time is counted.
At present, in the statistical method of the screen-throwing time, the mobile terminal needs to be connected with the screen-throwing television, so that the mobile terminal can acquire the video playing progress of the screen-throwing television in real time, and the accurate statistics of the screen-throwing time is realized. However, in the video playing process, due to user operation or network reasons, the connection between the mobile terminal and the screen-throwing television is likely to be interrupted, and the error of the counted screen-throwing time is larger.
In order to solve the problem of larger error of counted screen-throwing time caused by connection interruption between a mobile terminal and a screen-throwing television, and improve the counting precision of the screen-throwing time, an embodiment of the application provides a screen-throwing time counting system, as shown in fig. 1, which comprises the following steps: a mobile terminal 11, a screen-cast television 12 and a background server 13.
A mobile terminal 11, configured to send a screen-throwing request to a screen-throwing television 12, where the screen-throwing request includes a target screen-throwing address and a preset verification parameter;
the screen-throwing television 12 is used for acquiring a target screen-throwing address and preset verification parameters from the screen-throwing request, and sending a video request to the background server 13, wherein the video request comprises the target screen-throwing address and the preset verification parameters;
the background server 13 is configured to send a target video at a target screen address to the screen-casting television 12, and record a corresponding relationship between a duration of the target video and a preset verification parameter; determining the sum value of all the time periods corresponding to the recorded preset verification parameters to obtain the screen-throwing time of the screen-throwing television 12;
the screen-cast television 12 is also used for playing the target video returned by the background server 13.
In the technical scheme provided by the embodiment of the application, the preset verification parameters are distributed to the video of the screen-throwing television, the background server can correlate the video with the screen-throwing television based on the preset verification parameters, and further the duration of the video played by the screen-throwing television can be counted based on the preset verification parameters, so that the screen-throwing time of the screen-throwing television is obtained. Therefore, in the embodiment of the application, based on the preset verification parameters, the statistics of the screen-throwing time can be completed by the background server without the need of the connection between the mobile terminal and the screen-throwing television, so that the problem that the connection between the mobile terminal and the screen-throwing television is interrupted due to user operation or network reasons and the like in the video playing process, and further the error of the counted screen-throwing time is larger is avoided, and the statistics precision of the screen-throwing time is improved.
Based on the screen time statistics system shown in fig. 1, the embodiment of the application provides a screen time statistics method, which is applied to the screen time statistics system as shown in fig. 2 and comprises the following steps.
In step S201, the mobile terminal 11 sends a screen-throwing request to the screen-throwing television 12, where the screen-throwing request includes a target screen-throwing address and a preset verification parameter.
In the embodiment of the present application, the mobile terminal 11 may be a mobile phone, a tablet computer, a PC (Personal Computer ) or other devices, which is not limited thereto. The target screen-throwing address is the screen-throwing address of the video to be played by the screen-throwing television, and the screen-throwing address can be represented by a URL or other modes, and is not limited. The number of target screen addresses may be one or more during the screen video casting of the mobile terminal 11 to the screen television 12. The preset verification parameters are verification parameters of video distribution of a screen of the screen television for the background server. The preset verification parameters can be represented by characters Qid, and Qid has uniqueness in order to ensure the accuracy of the statistics to obtain the screen-throwing time.
In the process that the mobile terminal 11 projects a video to the screen-projection television 12, the mobile terminal can acquire screen-projection information corresponding to a video identifier (i.e., a target video identifier) to be projected from a background server, such as a screen-projection address list, a preset verification parameter, a duration of the video at each screen-projection address, and the like, where the screen-projection address list may include one or more target screen-projection addresses; the mobile terminal 11 carries the acquired screen-throwing information such as the screen-throwing address list and the preset verification parameters in the screen-throwing request, and sends the screen-throwing information to the screen-throwing television 12.
In one embodiment of the present application, the mobile terminal 11 may encapsulate the screen-casting information in a specified file, carry the specified file in the screen-casting request, and send the screen-casting request to the screen-casting television 12 through a video transmission identifier setting command (such as a setavtransport uri command) in the screen-casting protocol. Thus, even if there are a plurality of target screen addresses, the screen television 12 can quickly and accurately acquire the target screen addresses.
The specified file may be an M3U8 file, or may be another file capable of encapsulating text data. The screen request may be implemented using SOAP (Simple Object Access Protocol ), i.e., the screen request is a SOAP envelope.
In order to enable the screen-throwing television 12 to obtain preset verification parameters and enable the screen-throwing television 12 to send the preset verification parameters and target screen-throwing addresses to the background server 13 at the same time, each target screen-throwing address is spliced with the preset verification parameters through preset symbols, and the preset characters can be "&" or "; "etc.
For example, the mobile terminal 11 acquires the target screen-throwing address including URL1 and URL2, the acquired preset check parameter is Qid1, the preset symbol is "&", and after the target screen-throwing address is spliced with the preset check parameter, qid1, such as URL1& Qid1 and URL1& Qid1, is added behind each target screen-throwing address.
By splicing the target screen-throwing address and the preset verification parameter in the above manner, the background server 13 can accurately correlate the preset verification parameter with the video corresponding to the target screen-throwing address, and accurate statistics of screen-throwing time is completed.
In step S202, the screen-throwing television 12 obtains the target screen-throwing address and the preset verification parameter from the screen-throwing request.
In the embodiment of the present application, after receiving the screen-throwing request, the screen-throwing television 12 analyzes the screen-throwing request, and further obtains the target screen-throwing address and the preset verification parameter from the screen-throwing request.
Alternatively, the mobile terminal 11 encapsulates the screen shot information in a specified file, and sends the screen shot information to the screen shot television 12. In this case, the mobile terminal 11 parses the screen shot request, obtains a specified file from the screen shot request, and obtains a target screen shot address and a preset verification parameter from the specified file.
In step S203, the screen-casting television 12 transmits a video request to the background server 13, the video request including the target screen-casting address and the preset verification parameter.
In the embodiment of the present application, the background server 13 may be a CDN (Content Delivery Network ) server, or may be another server storing a video directory, which is not limited thereto.
After obtaining the target screen address and the preset verification parameters, the screen television 12 encapsulates the target screen address and the preset verification parameters in the video request, and sends the video request to the background server 13.
When there are a plurality of target screen-throwing addresses, the screen-throwing television 12 may sequentially encapsulate the target screen-throwing addresses in the video request according to the arrangement order of the target screen-throwing addresses, and send the video request to the background server 13.
In step S204, the background server 13 receives the video request transmitted by the screen-casting television 12.
In the embodiment of the application, the background server 13 receives the video request sent by the screen-throwing television 12, analyzes the video request, and obtains the target screen-throwing address and the preset verification parameter.
In step S205, the background server 13 sends the target video at the target screen address to the screen-casting television 12, and records the corresponding relationship between the duration of the target video and the preset verification parameter.
In the embodiment of the present application, after obtaining the video request, the background server 13 obtains the target screen-throwing address and the preset verification parameter from the video request, and further obtains the video at the target screen-throwing address, as the target video, and sends the target video to the screen-throwing television 12. In addition, the background server 13 records the screen-throwing request behavior identifier corresponding to the screen-throwing information and the corresponding duration information, namely, the corresponding relation between the duration of the target video and the preset verification parameters.
The complete video that the on-screen television 12 needs to play consists of video at one or more on-screen addresses. If the complete video is composed of a plurality of videos at the screen-throwing addresses, the background server 13 may record the corresponding relationship between the duration of each target video and the preset verification parameter according to the request time sequence when each target video is in the process of throwing the complete video to be played once by the screen-throwing television 12.
For example, the preset verification parameter is Qid1, the duration of the target video 1 at the target screen-throwing address URL1 is t1, and the duration of the target video 2 at the target screen-throwing address URL2 is t2. The screen-cast television 12 firstly requests the video at URL1 for a time T1, and then requests the video at URL2 for a time T2, and then the background server 13 records: the screen-throwing request behavior identifier Qid1:t1:t1, the screen-throwing request behavior identifier Qid1: t2 is T2.
In step S206, the screen-cast television 12 plays the target video returned by the background server 13.
In the embodiment of the present application, the screen-cast television 12 receives the target video returned by the background server 13 and plays the target video.
In step S207, the background server 13 determines the sum of all the time durations corresponding to the recorded preset verification parameters, to obtain the screen time of the screen television.
In the embodiment of the present application, the background server 13 may call the recorded duration of the video corresponding to the preset verification parameter, calculate the sum of these durations, and obtain the screen time of the screen television 12.
In the technical scheme provided by the embodiment of the application, the preset verification parameters are distributed to the video of the screen-throwing television, the background server can correlate the video with the screen-throwing television based on the preset verification parameters, and further the duration of the video played by the screen-throwing television can be counted based on the preset verification parameters, so that the screen-throwing time of the screen-throwing television is obtained. Therefore, in the embodiment of the application, based on the preset verification parameters, the statistics of the screen-throwing time can be completed by the background server without the need of the connection between the mobile terminal and the screen-throwing television, so that the problem that the connection between the mobile terminal and the screen-throwing television is interrupted due to user operation or network reasons and the like in the video playing process, and further the error of the counted screen-throwing time is larger is avoided, and the statistics precision of the screen-throwing time is improved.
Based on the screen time statistics system shown in fig. 1, the embodiment of the application also provides a screen time statistics method, as shown in fig. 3, the method is applied to the screen time statistics system, and may include steps S301 to S309, where steps S303 to S309 are the same as steps S201 to S207.
In step S301, the mobile terminal 11 transmits a parameter request to the background server 13.
In the embodiment of the present application, the parameter request may include, but is not limited to, information such as a user identifier, time information, and device information of the mobile terminal 11. The time information may be the time of sending the parameter request, or may be the time of sending the parameter request for the first time in a preset statistical period, where the preset statistical period is a period of counting the screen-throwing time, and the preset statistical period may be 1 day, 1 week or 1 month, and the preset statistical period is not limited. The device information may include, but is not limited to, a MAC (Media Access Control ) address, CPU model number, memory model number, and the like of the mobile terminal.
The mobile terminal 11 sends a parameter request to the background server 13 before sending a screen-cast request to the screen-cast television 12.
In step S302, the background server 13 sends preset verification parameters to the mobile terminal 11 according to the parameter request.
In the embodiment of the present application, the background server 13 obtains the preset verification parameters after receiving the parameter request, and sends the preset verification parameters to the mobile terminal 11.
In an alternative embodiment, the parameter request includes a user identification, time information and device information of the mobile terminal. The background server 13 may generate preset verification parameters using the user identifier, the time information, and the device information of the mobile terminal 11, and transmit the preset verification parameters to the mobile terminal 11. The generation algorithm of the preset verification parameter may be a UUID (Universally Unique Identifier, universal unique identification code) generation algorithm, or may be other algorithms, which is not limited.
In another alternative embodiment, the background server 13 may further configure a verification parameter pool, where the verification parameter pool includes a plurality of verification parameters. After receiving the parameter request sent by the mobile terminal 11, the background server 13 may randomly select one check parameter from the check parameter pool as a preset check parameter, and send the preset check parameter to the mobile terminal 11.
In the embodiment of the present application, the background server 13 may also acquire the preset verification parameters in other manners, which is not limited.
In the technical scheme provided by the embodiment of the application, the preset verification parameters associated with the video of the screen throwing are acquired before the video is played by the screen throwing television 12, so that the uniqueness of the preset verification parameters is improved, and the accuracy of the screen throwing time statistics is further improved.
Based on the screen time statistics system shown in fig. 1, the embodiment of the application also provides a screen time statistics method, as shown in fig. 4, the method is applied to the screen time statistics system, and may include steps S401 to S410, where steps S404 to S410 are the same as steps S201 to S207.
In step S401, the mobile terminal 11 sends an address request to the background server 13, where the address request includes a user identifier, target authentication information, and target video identifier.
In the embodiment of the application, the target video identifier may include, but is not limited to, information such as a name, a number, etc. of the video to be screened.
Before sending a screen-throwing request to the screen-throwing television 12, the mobile terminal 11 sends an address request to the background server 13 to acquire the screen-throwing address of the video to be thrown. The background server 13 receives an address request transmitted from the mobile terminal 11.
In step S402, the background server 13 authenticates the mobile terminal 11 based on the user identification and the target authentication information.
In the embodiment of the present application, after receiving the address request, the background server 13 obtains the user identifier and the target authentication information from the address request, and authenticates the mobile terminal 11 based on the user identifier and the target authentication information, so as to determine whether the mobile terminal 11 can access the background server 13. For example, the background server 13 obtains preset authentication information corresponding to the user identifier in the pre-stored address request, compares the preset authentication information with target authentication information in the address request, and if the preset authentication information is matched with the target authentication information in the address request, determines that the authentication of the mobile terminal 11 is successfully passed, and the mobile terminal 11 can access the background server 13 to execute step S403; otherwise, it is determined that the authentication failure of the mobile terminal 11 passes, the mobile terminal 11 cannot access the background server 13, and the process flow is ended.
In step S403, the background server 13 sends the target screen address corresponding to the target video identifier to the mobile terminal 11.
In the embodiment of the present application, the background server 13 obtains the target screen-throwing address corresponding to the target video identifier and sends the target screen-throwing address corresponding to the target video identifier to the mobile terminal 11 when the authentication of the mobile terminal 11 is successfully passed. Thus, the mobile terminal 11 may obtain the target screen address, and encapsulate the target screen address into a specified file (e.g., an M3U8 file).
In the technical scheme provided by the embodiment of the application, when the mobile terminal 11 acquires the screen-throwing address of the video, the background server 13 authenticates the mobile terminal 11, and feeds back the screen-throwing address to the mobile terminal 11 only when the authentication passes, so that the safety of the background server 13 when the mobile terminal 11 is accessed is enhanced, and the resource occupation of illegal users can be effectively prevented.
Based on the above screen time statistics method, the embodiment of the application also provides a screen time statistics method, which is applied to a background server in the above screen time statistics system, as shown in fig. 5, and the method comprises the following steps:
step S501, a video request sent by a screen-throwing television is received, wherein the video request is a request sent by the screen-throwing television after receiving the screen-throwing request sent by a mobile terminal, and the video request comprises a target screen-throwing address and preset verification parameters.
Step S502, the target video at the target screen-throwing address is sent to the screen-throwing television, so that the screen-throwing television plays the target video.
Step S503, recording the corresponding relation between the duration of the target video and the preset verification parameters.
Step S504, determining the sum of all the time lengths corresponding to the recorded preset verification parameters to obtain the screen time of the screen television.
Optionally, the screen time counting method may further include:
receiving a parameter request sent by a mobile terminal;
and sending preset verification parameters to the mobile terminal according to the parameter request, so that the mobile terminal carries the preset verification parameters in the screen projection request and sends the screen projection request to the screen projection television.
Alternatively, the parameter request may include a user identification, time information, and device information of the mobile terminal.
In this case, the step of sending the preset verification parameter to the mobile terminal according to the parameter request may include:
generating preset check parameters by using the user identification, the time information and the equipment information of the mobile terminal;
and sending preset verification parameters to the mobile terminal.
Optionally, the screen time counting method may further include:
receiving an address request sent by a mobile terminal, wherein the address request comprises a user identifier, target authentication information and a target video identifier;
authenticating the mobile terminal based on the user identification and the target authentication information;
and under the condition that the authentication is successful, sending a target screen-throwing address corresponding to the target video identification to the mobile terminal, so that the mobile terminal carries the target screen-throwing address in a screen-throwing request and sends the screen-throwing request to the screen-throwing television.
Optionally, the number of target screen-throwing addresses is a plurality of; in the video request, each target screen-throwing address is spliced with a preset check parameter through a preset symbol.
In the technical scheme provided by the embodiment of the application, the preset verification parameters are distributed to the video of the screen-throwing television, the background server can correlate the video with the screen-throwing television based on the preset verification parameters, and further the duration of the video played by the screen-throwing television can be counted based on the preset verification parameters, so that the screen-throwing time of the screen-throwing television is obtained. Therefore, in the embodiment of the application, based on the preset verification parameters, the statistics of the screen-throwing time can be completed by the background server without the need of the connection between the mobile terminal and the screen-throwing television, so that the problem that the connection between the mobile terminal and the screen-throwing television is interrupted due to user operation or network reasons and the like in the video playing process, and further the error of the counted screen-throwing time is larger is avoided, and the statistics precision of the screen-throwing time is improved.
Based on the above screen time counting method, the embodiment of the application also provides a screen time counting device, which is applied to a background server in the screen time counting system, as shown in fig. 6, and comprises:
the first receiving unit 61 is configured to receive a video request sent by the screen-throwing television, where the video request is a request sent by the screen-throwing television after receiving a screen-throwing request sent by the mobile terminal, and the video request includes a target screen-throwing address and a preset verification parameter;
a first sending unit 62, configured to send the target video at the target screen address to the screen-casting television, so that the screen-casting television plays the target video;
a recording unit 63, configured to record a correspondence between a duration of the target video and a preset verification parameter;
the determining unit 64 is configured to determine a sum of all the time durations corresponding to the recorded preset verification parameters, so as to obtain a screen time of the screen-projection television.
Optionally, the screen time counting device may further include:
the second receiving unit is used for receiving the parameter request sent by the mobile terminal;
and the second sending unit is used for sending preset verification parameters to the mobile terminal according to the parameter request, so that the mobile terminal carries the preset verification parameters in the screen projection request and sends the screen projection request to the screen projection television.
Optionally, the parameter request may include a user identifier, time information, and device information of the mobile terminal;
optionally, the second sending unit may specifically be configured to:
generating preset check parameters by using the user identification, the time information and the equipment information of the mobile terminal;
and sending preset verification parameters to the mobile terminal.
Optionally, the screen time counting device may further include:
the third receiving unit is used for receiving an address request sent by the mobile terminal, wherein the address request comprises a user identifier, target authentication information and target video identifier;
the authentication unit is used for authenticating the mobile terminal based on the user identification and the target authentication information;
and the third sending unit is used for sending the target screen-throwing address corresponding to the target video identifier to the mobile terminal under the condition that the authentication is successful, so that the mobile terminal carries the target screen-throwing address in the screen-throwing request and sends the screen-throwing request to the screen-throwing television.
Optionally, the number of target screen-throwing addresses is a plurality of; in the video request, each target screen-throwing address is spliced with the preset verification parameters through preset symbols.
In the technical scheme provided by the embodiment of the application, the preset verification parameters are distributed to the video of the screen-throwing television, the background server can correlate the video with the screen-throwing television based on the preset verification parameters, and further the duration of the video played by the screen-throwing television can be counted based on the preset verification parameters, so that the screen-throwing time of the screen-throwing television is obtained. Therefore, in the embodiment of the application, based on the preset verification parameters, the statistics of the screen-throwing time can be completed by the background server without the need of the connection between the mobile terminal and the screen-throwing television, so that the problem that the connection between the mobile terminal and the screen-throwing television is interrupted due to user operation or network reasons and the like in the video playing process, and further the error of the counted screen-throwing time is larger is avoided, and the statistics precision of the screen-throwing time is improved.
The embodiment of the application also provides a background server, as shown in fig. 7, which comprises a processor 71, a communication interface 72, a memory 73 and a communication bus 74, wherein the processor 71, the communication interface 72 and the memory 73 complete communication with each other through the communication bus 74,
a memory 73 for storing a computer program;
the processor 71 is configured to implement any of the above-described screen time counting method steps when executing the program stored in the memory 73.
The communication bus mentioned by the background server may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the background server and other devices.
The Memory may include RAM (Random Access Memory ) or NVM (Non-Volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a CPU (Central Processing Unit ), NP (Network Processor, network processor), etc.; but also DSP (Digital Signal Processor digital signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In yet another embodiment of the present application, a computer readable storage medium is provided, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for statistics of time on screen according to any of the above embodiments.
In yet another embodiment of the present application, a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of screening time statistics described in any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, background server, storage medium, and computer program product embodiments, the description is relatively simple as it is substantially similar to system and method embodiments, as relevant to the description of the system and method embodiments that follows.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (13)

1. A screen time statistics method, which is applied to a background server, the method comprising:
receiving a video request sent by a screen-throwing television, wherein the video request is a request sent by the screen-throwing television after receiving the screen-throwing request sent by a mobile terminal, and the video request comprises a target screen-throwing address and preset verification parameters;
transmitting a target video at the target screen-throwing address to the screen-throwing television so that the screen-throwing television plays the target video;
recording the corresponding relation between the duration of the target video and the preset verification parameter;
and determining the sum value of all the recorded time periods corresponding to the preset verification parameters to obtain the screen-throwing time of the screen-throwing television.
2. The method according to claim 1, wherein the method further comprises:
receiving a parameter request sent by the mobile terminal;
and sending the preset verification parameters to the mobile terminal according to the parameter request, so that the mobile terminal carries the preset verification parameters in the screen projection request and sends the screen projection request to the screen projection television.
3. The method of claim 2, wherein the parameter request includes a user identification, time information, and device information of the mobile terminal;
the step of sending the preset verification parameters to the mobile terminal according to the parameter request comprises the following steps:
generating the preset verification parameters by using the user identification, the time information and the equipment information of the mobile terminal;
and sending the preset check parameters to the mobile terminal.
4. The method according to claim 1, wherein the method further comprises:
receiving an address request sent by a mobile terminal, wherein the address request comprises a user identifier, target authentication information and a target video identifier;
authenticating the mobile terminal based on the user identification and the target authentication information;
and under the condition that authentication is successful, sending a target screen-throwing address corresponding to the target video identifier to the mobile terminal, so that the mobile terminal carries the target screen-throwing address in the screen-throwing request and sends the screen-throwing request to the screen-throwing television.
5. The method of any one of claims 1-4, wherein the number of target screen-drop addresses is a plurality;
in the video request, each target screen-throwing address is spliced with the preset verification parameter through a preset symbol.
6. A screen time statistics device, characterized in that it is applied to a background server, said device comprising:
the first receiving unit is used for receiving a video request sent by the screen-throwing television, wherein the video request is a request sent by the screen-throwing television after receiving the screen-throwing request sent by the mobile terminal, and the video request comprises a target screen-throwing address and preset verification parameters;
the first sending unit is used for sending the target video at the target screen-throwing address to the screen-throwing television so that the screen-throwing television plays the target video;
the recording unit is used for recording the corresponding relation between the duration of the target video and the preset verification parameter;
and the determining unit is used for determining the sum value of all the recorded time periods corresponding to the preset verification parameters to obtain the screen-throwing time of the screen-throwing television.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the second receiving unit is used for receiving the parameter request sent by the mobile terminal;
and the second sending unit is used for sending the preset verification parameters to the mobile terminal according to the parameter request, so that the mobile terminal carries the preset verification parameters in the screen projection request and sends the screen projection request to the screen projection television.
8. The apparatus of claim 7, wherein the parameter request includes a user identification, time information, and device information of the mobile terminal;
the second sending unit is specifically configured to:
generating the preset verification parameters by using the user identification, the time information and the equipment information of the mobile terminal;
and sending the preset check parameters to the mobile terminal.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the third receiving unit is used for receiving an address request sent by the mobile terminal, wherein the address request comprises a user identifier, target authentication information and target video identifier;
an authentication unit, configured to authenticate the mobile terminal based on the user identifier and the target authentication information;
and the third sending unit is used for sending a target screen-throwing address corresponding to the target video identifier to the mobile terminal under the condition that the authentication is successful, so that the mobile terminal carries the target screen-throwing address in the screen-throwing request and sends the screen-throwing address to the screen-throwing television.
10. The apparatus of any of claims 6-9, wherein the number of target screen-drop addresses is a plurality;
in the video request, each target screen-throwing address is spliced with the preset verification parameter through a preset symbol.
11. The screen time counting system is characterized by comprising a mobile terminal, a screen television and a background server;
the mobile terminal is used for sending a screen throwing request to the screen throwing television, wherein the screen throwing request comprises a target screen throwing address and preset verification parameters;
the screen-throwing television is used for acquiring a target screen-throwing address and preset verification parameters from the screen-throwing request, and sending a video request to the background server, wherein the video request comprises the target screen-throwing address and the preset verification parameters;
the background server is used for sending a target video at the target screen-throwing address to the screen-throwing television and recording the corresponding relation between the duration of the target video and the preset verification parameter; determining the sum value of all the recorded time periods corresponding to the preset verification parameters to obtain the screen-throwing time of the screen-throwing television;
the screen-casting television is also used for playing the target video returned by the background server.
12. The background server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1-5 when executing a program stored on a memory.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-5.
CN202210742004.1A 2022-06-27 2022-06-27 Screen time statistics method, device, system, background server and medium Active CN115022694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210742004.1A CN115022694B (en) 2022-06-27 2022-06-27 Screen time statistics method, device, system, background server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210742004.1A CN115022694B (en) 2022-06-27 2022-06-27 Screen time statistics method, device, system, background server and medium

Publications (2)

Publication Number Publication Date
CN115022694A CN115022694A (en) 2022-09-06
CN115022694B true CN115022694B (en) 2023-10-27

Family

ID=83076208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210742004.1A Active CN115022694B (en) 2022-06-27 2022-06-27 Screen time statistics method, device, system, background server and medium

Country Status (1)

Country Link
CN (1) CN115022694B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014201876A1 (en) * 2013-06-17 2014-12-24 华为技术有限公司 Screen sharing method and relevant device, and communications system
CN105812943A (en) * 2016-03-31 2016-07-27 北京奇艺世纪科技有限公司 Video editing method and system
CN106060680A (en) * 2016-06-30 2016-10-26 北京奇艺世纪科技有限公司 Playing progress synchronization method and device
CN106454497A (en) * 2016-10-31 2017-02-22 乐视控股(北京)有限公司 Method and device for screen-mirroring playing of video
WO2017084265A1 (en) * 2015-11-16 2017-05-26 乐视控股(北京)有限公司 Cross-screen interaction method and device, server, and terminal device
CN107045508A (en) * 2016-02-05 2017-08-15 腾讯科技(深圳)有限公司 The treating method and apparatus of application program
CN110515573A (en) * 2018-05-21 2019-11-29 腾讯科技(深圳)有限公司 Throw screen method, apparatus, system and computer equipment
CN110891187A (en) * 2019-11-30 2020-03-17 广西广播电视信息网络股份有限公司 Program authorization control method of household intelligent terminal
WO2020168499A1 (en) * 2019-02-20 2020-08-27 深圳市鹰硕技术有限公司 Screen-sharing teaching method, apparatus and system, and smart device and storage medium
CN112261318A (en) * 2020-09-14 2021-01-22 西安万像电子科技有限公司 Multi-split-screen video synchronization method and device
WO2021185318A1 (en) * 2020-03-20 2021-09-23 海信视像科技股份有限公司 Multimedia device and screen projection playing method
WO2021223453A1 (en) * 2020-05-06 2021-11-11 上海幻电信息科技有限公司 Multi-screen interactive display method and apparatus
WO2022028561A1 (en) * 2020-08-06 2022-02-10 北京字节跳动网络技术有限公司 Video mirroring method and apparatus, and electronic device and storage medium
CN114071230A (en) * 2021-09-26 2022-02-18 深圳市酷开网络科技股份有限公司 Multi-terminal screen projection method, computer equipment and computer readable storage medium
CN114461164A (en) * 2022-01-30 2022-05-10 深圳创维-Rgb电子有限公司 Screen projection eye protection method and device, screen projector and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8181205B2 (en) * 2002-09-24 2012-05-15 Russ Samuel H PVR channel and PVR IPG information

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014201876A1 (en) * 2013-06-17 2014-12-24 华为技术有限公司 Screen sharing method and relevant device, and communications system
WO2017084265A1 (en) * 2015-11-16 2017-05-26 乐视控股(北京)有限公司 Cross-screen interaction method and device, server, and terminal device
CN107045508A (en) * 2016-02-05 2017-08-15 腾讯科技(深圳)有限公司 The treating method and apparatus of application program
CN105812943A (en) * 2016-03-31 2016-07-27 北京奇艺世纪科技有限公司 Video editing method and system
CN106060680A (en) * 2016-06-30 2016-10-26 北京奇艺世纪科技有限公司 Playing progress synchronization method and device
CN106454497A (en) * 2016-10-31 2017-02-22 乐视控股(北京)有限公司 Method and device for screen-mirroring playing of video
CN110515573A (en) * 2018-05-21 2019-11-29 腾讯科技(深圳)有限公司 Throw screen method, apparatus, system and computer equipment
WO2020168499A1 (en) * 2019-02-20 2020-08-27 深圳市鹰硕技术有限公司 Screen-sharing teaching method, apparatus and system, and smart device and storage medium
CN110891187A (en) * 2019-11-30 2020-03-17 广西广播电视信息网络股份有限公司 Program authorization control method of household intelligent terminal
WO2021185318A1 (en) * 2020-03-20 2021-09-23 海信视像科技股份有限公司 Multimedia device and screen projection playing method
WO2021223453A1 (en) * 2020-05-06 2021-11-11 上海幻电信息科技有限公司 Multi-screen interactive display method and apparatus
WO2022028561A1 (en) * 2020-08-06 2022-02-10 北京字节跳动网络技术有限公司 Video mirroring method and apparatus, and electronic device and storage medium
CN112261318A (en) * 2020-09-14 2021-01-22 西安万像电子科技有限公司 Multi-split-screen video synchronization method and device
CN114071230A (en) * 2021-09-26 2022-02-18 深圳市酷开网络科技股份有限公司 Multi-terminal screen projection method, computer equipment and computer readable storage medium
CN114461164A (en) * 2022-01-30 2022-05-10 深圳创维-Rgb电子有限公司 Screen projection eye protection method and device, screen projector and computer readable storage medium

Also Published As

Publication number Publication date
CN115022694A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
EP3013086B1 (en) Method, apparatus and electronic device for connection management
CN104837035B (en) A kind of video broadcasting method and terminal
US20160285781A1 (en) Data processing method, apparatus, client, server and system
KR20170128534A (en) Using temporary credentials in guest mode
CN107196917B (en) Service response method and middleware thereof
CN112188277B (en) Screen projection control method and device, electronic equipment and computer program medium
CN104901863A (en) Method, device and system for sending instant prompt message
CN112584200B (en) Screen projection method, system, electronic equipment and storage medium
CN105939491A (en) Video playing method and device
CN113709530B (en) Resource downloading method, system, electronic equipment and storage medium
US20040215734A1 (en) Method and system for restricting content redistribution
CN105188063A (en) Access testing method, server and mobile gateway
US9680814B2 (en) Method, device, and system for registering terminal application
CN106330458A (en) Method and device for processing verification code
CN110213671B (en) Hotspot short video determination method and device
EP3079329B1 (en) Terminal application registration method, device and system
CN115022694B (en) Screen time statistics method, device, system, background server and medium
CN117251837A (en) System access method and device, electronic equipment and storage medium
CN105991619A (en) Safety authentication method and device
CN109474626B (en) Network authentication method and device based on SNS
CN108076381B (en) Video display method, video forwarding equipment and system
CN108965939B (en) Media data processing method, device and system and readable storage medium
CN114172716A (en) Login method, login device, electronic equipment and storage medium
CN113068061B (en) Live broadcast time length determination method and device, storage medium and electronic equipment
CN114172713A (en) Login method, login device, electronic equipment and storage medium

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