CN108683926B - Client quit control method, client, server, equipment and medium - Google Patents

Client quit control method, client, server, equipment and medium Download PDF

Info

Publication number
CN108683926B
CN108683926B CN201810326262.5A CN201810326262A CN108683926B CN 108683926 B CN108683926 B CN 108683926B CN 201810326262 A CN201810326262 A CN 201810326262A CN 108683926 B CN108683926 B CN 108683926B
Authority
CN
China
Prior art keywords
client
content
server
determining
user
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.)
Expired - Fee Related
Application number
CN201810326262.5A
Other languages
Chinese (zh)
Other versions
CN108683926A (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.)
Zhuomi Private Ltd
Original Assignee
Hong Kong LiveMe Corp 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 Hong Kong LiveMe Corp ltd filed Critical Hong Kong LiveMe Corp ltd
Priority to CN201810326262.5A priority Critical patent/CN108683926B/en
Publication of CN108683926A publication Critical patent/CN108683926A/en
Application granted granted Critical
Publication of CN108683926B publication Critical patent/CN108683926B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration

Abstract

The application provides a client quit control method, a client, a server and computer equipment, wherein the method comprises the following steps: when a client quit instruction is obtained, judging whether the time interval between the current time and the time of obtaining the quit instruction at the previous time is greater than a threshold value; if the number of the requests is larger than the preset number, sending a content acquisition request to the server, acquiring a content request identifier carried in the request, and using the content request identifier to represent that the request is generated by an exit instruction; refreshing the current display interface of the client according to the content returned by the server; and if the current value is less than the preset value, closing the display interface of the client. The method realizes that the content of the current display interface is automatically updated when the user clicks the quit key for the first time within a certain time period, not only increases the diversity of the quit display interface, but also increases the probability of finding the interesting content by the user, thereby providing conditions for retaining the user amount for the application and improving the profit ratio of the application.

Description

Client quit control method, client, server, equipment and medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a client logout control method, a client, a server, and a computer device.
Background
Nowadays, a user may install various types of applications (clients) on a terminal to implement various functions, such as installing a video playing application, watching a tv show and a movie, or installing a live application, watching a live network, etc., through the installed different applications.
Currently, when a user wants to quit a currently used application client, the user usually needs to click the quit key twice. When the exit key is clicked for the first time, the application client pushes prompt information of 'exit again' to the user, so that the user presses the exit key again according to the prompt information, and the application exits completely.
However, the application quitting process is single in implementation mode and poor in user experience.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
To this end, an embodiment of an aspect of the present application provides a client logout control method, where the method includes: when a client quit instruction is obtained, judging whether the time interval between the current time and the time of obtaining the quit instruction at the previous time is greater than a threshold value; if the time interval between the current time and the time of obtaining the quit instruction last time is larger than a threshold value, sending a content obtaining request to a server, wherein a content request identifier carried in the obtaining request is used for representing that the request is generated by the quit instruction; refreshing the current display interface of the client according to the content returned by the server; and if the time interval between the current time and the time of obtaining the quit instruction last time is smaller than the threshold value, closing the display interface of the client.
According to the client quitting control method provided by the embodiment of the application, when a client quitting instruction sent by a user is obtained, whether the time interval between the current time and the time when the quitting instruction is obtained last time is larger than a threshold value or not is judged, if the time interval is larger than the threshold value, a content obtaining request is sent to a server, then the current display interface of the client is refreshed according to the content returned by the server, and if the time interval is smaller than the threshold value, the display interface of the client is closed. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
In addition, the client logout control method proposed by the above embodiment of the present application may further have the following additional technical features:
optionally, in an embodiment of the present application, before sending the content obtaining request to the server, the method further includes: determining the attribute of the page currently displayed by the client; the sending of the content acquisition request to the server includes: and sending a content acquisition request to the server according to the attribute of the currently displayed page.
Optionally, in an embodiment of the present application, the determining an attribute of a page currently displayed by the client includes: determining the type of the currently displayed page of the client, the field of the currently displayed page, the content contained in the currently displayed page and/or the style of the currently displayed page.
Optionally, in another embodiment of the present application, the refreshing the current display interface of the client includes: refreshing the current display interface of the client according to the content which is returned by the server and is matched with the historical use record of the user; and/or refreshing the current display interface of the client according to the content that the current click information returned by the server meets the preset condition.
Optionally, in an embodiment of the present application, the refreshing a current display interface of the client according to the content returned by the server and matched with the historical usage record of the user includes: according to the historical use record of the user, determining target content included in the content returned by the server and a target display mode of the target content; and displaying the target content on the current display interface in the target display mode.
Optionally, in an embodiment of the present application, the content returned by the server includes a video file; the refreshing the current display interface of the client according to the content returned by the server comprises the following steps: determining a target display area of the video file in the client; and playing the video file in a target display area in the client.
Optionally, in an embodiment of the present application, the content returned by the server includes N video files, where N is a positive integer greater than 1; the determining the target display area of the video file in the client comprises: and determining N target display areas corresponding to the N video files respectively according to the click rates corresponding to the N video files respectively.
Another embodiment of the present application provides a client logout control method, including: acquiring a content acquisition request sent by a client, wherein the acquisition request carries a content request identifier; judging whether the content request identification carried in the acquisition request represents that the request is generated by an exit instruction of a user; if yes, determining the content returned to the client according to a preset rule.
The client quitting control method provided by the embodiment of the application comprises the steps of firstly obtaining a content obtaining request sent by a client, then judging whether a content request identifier carried in the obtaining request is generated by a quitting instruction of a user or not, and if so, determining content returned by the client according to a preset rule. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
In addition, the client logout control method proposed by the above embodiment of the present application may further have the following additional technical features:
optionally, in an embodiment of the present application, the obtaining request further carries a page attribute currently displayed by the client; the determining the content returned to the client according to the preset rule comprises: and determining the content returned to the client according to the attribute of the currently displayed page.
Optionally, in another embodiment of the present application, the determining, according to a preset rule, content to be returned to the client includes: determining contents returned to the client according to the click information of each content at the current moment; and/or determining the use record of the user according to the user identification corresponding to the client carried in the acquisition request; and determining the content returned to the client according to the use record of the user.
Optionally, in another embodiment of the present application, the content returned to the client is determined to include a video file; after the determining the content returned to the client, the method further includes: and returning the image interchange format file corresponding to the video file to the client.
In another aspect, an embodiment of the present application provides a client, including: the first judgment module is used for judging whether the time interval between the current time and the time of obtaining the quitting instruction at the previous time is greater than a threshold value or not when the sent client quitting instruction is obtained; the first processing module is used for sending a content acquisition request to the server if a time interval between the current time and the time of acquiring the quit instruction last time is greater than a threshold value, wherein a content request identifier carried in the acquisition request is used for representing that the request is generated by the quit instruction; the refreshing module is used for refreshing the current display interface of the client according to the content returned by the server; and the second processing module is used for closing the display interface of the client if the time interval between the current moment and the moment of obtaining the exit instruction last time is less than a threshold value.
According to the client, when the client quitting instruction sent by the user is obtained, whether the time interval between the current time and the time when the quitting instruction is obtained last time is larger than a threshold value or not is judged, if the time interval is larger than the threshold value, a content obtaining request is sent to the server, then the current display interface of the client is refreshed according to the content returned by the server, and if the time interval is smaller than the threshold value, the display interface of the client is closed. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
In addition, the client proposed by the above embodiment of the present application may further have the following additional technical features:
optionally, in another embodiment of the present application, the method further includes: the first determining module is used for determining the attribute of the page currently displayed by the client; the first processing module is specifically configured to: and sending a content acquisition request to the server according to the attribute of the currently displayed page.
Optionally, in another embodiment of the present application, the first determining module is specifically configured to: determining the type of the currently displayed page of the client, the field of the currently displayed page, the content contained in the currently displayed page and/or the style of the currently displayed page.
Optionally, in another embodiment of the present application, the refresh module is specifically configured to: refreshing the current display interface of the client according to the content which is returned by the server and is matched with the historical use record of the user; and/or refreshing the current display interface of the client according to the content that the current click information returned by the server meets the preset condition.
Optionally, in another embodiment of the present application, the refresh module is specifically configured to: according to the historical use record of the user, determining target content included in the content returned by the server and a target display mode of the target content; and displaying the target content on the current display interface in the target display mode.
Optionally, in another embodiment of the present application, the content returned by the server includes a video file; the refresh module is further configured to: determining a target display area of the video file in the client; and playing the video file in a target display area in the client.
Optionally, in another embodiment of the present application, the content returned by the server includes N video files, where N is a positive integer greater than 1; the refresh module is specifically configured to: and determining N target display areas corresponding to the N video files respectively according to the click rates corresponding to the N video files respectively.
In another aspect of the present application, an embodiment of the present application provides a server, where an obtaining module is configured to obtain a content obtaining request sent by a client, where the obtaining request carries a content request identifier; a second judging module, configured to judge whether the content request identifier carried in the acquisition request represents that the request is generated by an exit instruction of a user; and the second determining module is used for determining the content returned to the client according to a preset rule if the client is in the normal state.
The server provided by the embodiment of the application firstly obtains a content obtaining request sent by a client, then judges whether a content request identifier carried in the obtaining request is generated by a quitting instruction of a user or not, and determines the content returned by the client according to a preset rule if the content request identifier is generated by the quitting instruction of the user. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
In addition, the server proposed in the above embodiment of the present application may further have the following additional technical features:
optionally, in an embodiment of the present application, the obtaining request further carries a page attribute currently displayed by the client; the second determining module is specifically configured to: and determining the content returned to the client according to the attribute of the currently displayed page.
Optionally, in another embodiment of the present application, the second determining module is specifically configured to: determining contents returned to the client according to the click information of each content at the current moment; and/or determining the use record of the user according to the user identification corresponding to the client carried in the acquisition request; and determining the content returned to the client according to the use record of the user.
Optionally, in another embodiment of the present application, the content returned to the client is determined to include a video file; the server, further comprising: and the return module is used for returning the image interchange format file corresponding to the video file to the client.
In yet another embodiment of the present application, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the computer device implements the client logout control method according to the first embodiment or the client logout control method according to the second embodiment.
According to the computer equipment provided by the embodiment of the application, when the client quitting instruction sent by the user is obtained, whether the time interval between the current time and the time when the quitting instruction is obtained last time is larger than a threshold value or not is judged, if the time interval is larger than the threshold value, a content obtaining request is sent to the server, then the current display interface of the client is refreshed according to the content returned by the server, and if the time interval is smaller than the threshold value, the display interface of the client is closed. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
A further aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method for controlling client logout described in the first aspect of the present application, or the method for controlling client logout described in the second aspect of the present application.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for controlling exit of a client according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a client logout control method according to another embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for controlling exit of a client according to another embodiment of the present application
Fig. 4 is a flowchart illustrating a method for controlling exit of a client according to yet another embodiment of the present application;
fig. 5 is a schematic diagram illustrating signaling interaction between a client and a server according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a client according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a client according to another embodiment of the present application;
FIG. 8 is a block diagram of a server according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The embodiments in the application mainly aim at the problems that in the prior art, when a user quits a currently used application, the user needs to continuously click the quit key twice to completely quit, and the quit of the application process is single in implementation mode and poor in user experience, and a client quit control method is provided.
According to the client quitting control method, when a client quitting instruction sent by a user is obtained, the client judges whether a time interval between the current time and the time when the quitting instruction is obtained last time is larger than a threshold value, if the time interval is larger than the threshold value, a content obtaining request is sent to a server, wherein a content request identification carried in the obtaining request is used for representing that the request is generated by the quitting instruction of the user, then the current display interface of the client is refreshed according to the content returned by the server, and if the time interval is smaller than the threshold value, the display interface of the client is closed. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
A client logout control method, a client, a server, and a computer device according to embodiments of the present application are described below with reference to the drawings.
First, referring to fig. 1, a specific description is given of a client logout control method provided in an embodiment of the present application. The client exit control method of the present embodiment is applied to a client, and the client is taken as an example to be described below.
Fig. 1 is a flowchart illustrating a client logout control method according to an embodiment of the present disclosure.
As shown in fig. 1, the client logout control method of the present application may include the following steps:
step 101, when the client exit instruction is acquired, judging whether a time interval between the current time and the time when the exit instruction is acquired last time is larger than a threshold value, if so, executing step 102, otherwise, executing step 104.
Specifically, the method for controlling exit of the client provided by this embodiment may be executed by the client provided by this application to control the running process of the client.
The client of the embodiment can be installed in any terminal with an Android operating system. For example, the present invention is not limited to a smart phone, a Personal Digital Assistant (PDA), a tablet computer (PDA), etc.
In specific implementation, a listener of a return key can be set in a terminal system, and a client exit instruction sent by a user is monitored through the listener. When the listener monitors a client quit instruction sent by a user, the listener can send the monitored sending time of the quit instruction and the currently running client information to the processing unit, so that the processing unit makes a difference between the sending time of the quit instruction and the previous time of obtaining the quit instruction according to the quit instruction, and the time interval between the current time and the previous time of obtaining the quit instruction is obtained. And then comparing the time interval with a threshold value to determine whether the time interval is greater than the threshold value, if the time interval is greater than the threshold value, determining that the quitting instruction at the current moment is the quitting instruction of the user in unit time and sending the quitting instruction of the client for the first time, and if not, sending the quitting instruction of the client for the second time in unit time.
It should be noted that, in the present embodiment, the threshold may be adaptively set according to the actual usage, such as 2 seconds(s), and the like, and is not particularly limited herein.
Step 102, sending a content obtaining request to the server, wherein a content request identifier carried in the obtaining request is used for representing that the request is generated by the quitting instruction.
The content request identifier may be preset or may be set by a user in a self-defined manner, for example, the content request identifier generated by the exit instruction of the user is set to 202 in the self-defined manner, and the embodiment is not particularly limited to this.
Specifically, when it is determined that the obtained client exit instruction is sent for the first time in unit time by the user, the client sends a content obtaining request carrying a content request identifier to the server, so that the server obtains the corresponding content according to the content request identifier carried in the content obtaining request.
When the server receives a content acquisition request sent by the client, the server can firstly analyze the content acquisition request to acquire a content request identifier carried in the content acquisition request. And then matching the content request identification with a mapping relation established in advance, wherein if the matching is successful, the content request identification is generated by an exit instruction, and if the matching is failed, the content request identification is not generated by the exit instruction. The pre-established mapping relationship specifically refers to a corresponding relationship between the content request identifier and the exit instruction.
When it is determined that the content request identifier carried in the content acquisition request is generated by the exit instruction, the server acquires the updated content corresponding to the content acquisition request from the mass data according to the content acquisition request, and after the content corresponding to the content acquisition request is acquired, the server can send the acquired content to the client, so that the client displays the acquired content through a display interface.
In order to save the bandwidth occupied by data transmission and the time spent, when the server sends the acquired content to the client, the server in this embodiment may compress the acquired content first and then send the compressed content to the client.
For example, if the content request identifier carried in the content obtaining request sent by the client is 202, the server analyzes the content obtaining request after receiving the content obtaining request, so as to obtain the carried content request identifier 202. And then matching the 202 with a mapping relation established in advance, wherein if the matching is successful, the obtained content request identifier is generated by an exit instruction, and the server obtains the content corresponding to the content obtaining request according to the 202.
And 103, refreshing the current display interface of the client according to the content returned by the server.
Specifically, after receiving the content returned by the server, the client may decompress the content and then display the content on the display interface in sequence according to the acquisition order, so as to help the user to acquire the content of interest and continue browsing when the user exits from the client.
Further, when the client displays the acquired content in the current display interface, the client can also display the text reminding information of "pressing the exit again" in the display interface at the same time, so that the user can click the exit key according to the requirement or continue browsing the updated content in the display interface.
And step 104, closing the display interface of the client.
Specifically, when the obtained client quitting instruction is determined to be sent by the user for the second time in the unit time, it indicates that the user should quit the currently used client, and at this time, the terminal system may perform an ending operation on the currently used client, so that the user quits the client.
According to the client quitting control method provided by the embodiment of the application, when a client quitting instruction sent by a user is obtained, whether the time interval between the current time and the time when the quitting instruction is obtained last time is larger than a threshold value or not is judged, if the time interval is larger than the threshold value, a content obtaining request is sent to a server, then the current display interface of the client is refreshed according to the content returned by the server, and if the time interval is smaller than the threshold value, the display interface of the client is closed. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
According to the analysis, the time interval between the current time and the time when the quit instruction is obtained last time is determined to be larger than the threshold value, the content obtaining request is sent to the server, and the current display interface of the client is refreshed according to the content returned by the server. In a specific display process, in order to acquire content that meets the user's preference or browsing habit, the embodiment may further send a corresponding content acquisition request to the server according to the attribute of the page of the current display interface of the client, so as to improve the pertinence of content acquisition, and thus, the user can acquire favorite content more easily. The above-mentioned situation of the client logout control method according to the present application will be described in detail with reference to fig. 2.
Fig. 2 is a flowchart illustrating a client logout control method according to another embodiment of the present disclosure.
As shown in fig. 2, the client logout control method according to the embodiment of the present application may include the following steps:
in step 201, when the client exit instruction is obtained, it is determined whether a time interval between the current time and the time when the client exit instruction was obtained last time is greater than a threshold, if so, step 202 is executed, otherwise, step 205 is executed.
Step 202, determining the attribute of the page currently displayed by the client.
Step 203, according to the attribute of the currently displayed page, a content acquisition request is sent to the server.
The content request identifier carried in the acquisition request is used for representing that the request is generated by an exit instruction of a user.
In this embodiment, determining the attribute of the page currently displayed by the client may include: the type of the currently displayed page of the client, the domain to which the currently displayed page belongs, the content contained in the currently displayed page, and/or the style of the currently displayed page, etc. are determined.
The style of the currently displayed page can be the size of the content display in the page; alternatively, the display mode may be used.
The area to which the currently displayed page belongs may be, but is not limited to: science, entertainment, social, educational, video, etc., and is not specifically limited herein.
It can be understood that, when determining the attribute of the page currently displayed by the client, the method may be determining the type of the page currently displayed by the client, the field to which the currently displayed page belongs, the content contained in the currently displayed page, and the style of the currently displayed page; or, the type of the currently displayed page of the client, the field to which the currently displayed page belongs, and the content contained in the currently displayed page may also be determined; alternatively, the type of the currently displayed page of the client, the domain to which the currently displayed page belongs, the style of the currently displayed page, and the like may be determined, which is not specifically limited herein.
For example, if the client is XX live broadcast and the currently displayed page type is royal glory, when sending a content acquisition request to the server, the content acquisition request with the attribute of royal glory may be sent to the server, so that the server may acquire corresponding content for royal glory according to the attribute of the page when receiving the content acquisition request.
It should be noted that, in this embodiment, for the determination process of whether the content request identifier carried in the content obtaining request represents that the request is generated by the exit instruction of the user, reference is specifically made to the above example, and redundant description is not repeated here.
And step 204, refreshing the current display interface of the client according to the content returned by the server.
Specifically, when the client refreshes the current display interface of the client according to the content returned by the server in this embodiment, the following scenarios may be included, for example:
scenario one:
and refreshing the current display interface of the client according to the content matched with the historical use record of the user and returned by the server.
For example, if the user history usage record is "XX anchor", the client may match the content with "XX anchor" when receiving the content returned by the server, and if the content related to "XX anchor" is matched, the content related to "XX anchor" may be displayed in the current display interface of the client, so that the user may view the habitual anchor live video content conveniently.
Scenario two:
and refreshing the current display interface of the client according to the content that the current click information returned by the server meets the preset conditions.
The preset condition may refer to the content that the user clicks the most when using the client at this time, which is not specifically limited in this embodiment.
For example, if the most clicked content information is "XX video" in the process that the user uses the client this time, when the server returns corresponding content, the client may acquire "XX video" from the content sent by the server, and preferentially display the "XX video" content when refreshing the current display interface.
Scenario three:
and refreshing the current display interface of the client according to the contents acquired by other users with similar history records and the current user account returned by the server.
That is, the client may transmit the current user account information to the server, so that the server acquires other users having similar history records to the current user account, then queries the contents acquired by the other users, and transmits the contents acquired by the other users to the client, thereby enabling the client to display other types of contents to the user to increase the diversity of content display.
It should be noted that the above-mentioned embodiments are merely exemplary, and are not intended to specifically limit the present application.
Further, in order to display content and a display mode meeting the user preference to the user in a more targeted manner, when the client refreshes the current display interface of the client according to the content returned by the server and matched with the historical use record of the user, the client may first determine the target content and the target display mode of the target content included in the content returned by the server according to the historical use record of the user, and then display the target content in the current display interface in the determined target display mode.
That is, step 204 of this embodiment further includes: according to the historical use record of the user, determining target content included in the content returned by the server and a target display mode of the target content;
and displaying the target content on the current display interface in the target display mode.
The target content and the target display mode of the target content may be determined according to the historical usage record of the user, and the target content and the target display mode are not particularly limited herein. For example, a user likes to view the contents of the photo category, and when viewing the contents of the photo category, it is usually displayed in the form of frame screen play.
For example, after analyzing the historical usage records of the user, it is determined that the user prefers to watch the "entertainment content", and when the user watches the "entertainment content", the user usually displays the "entertainment content" in an automatic playing manner, the client quits the control device, and then the client can obtain the corresponding entertainment content from the content returned by the server based on the entertainment content, and display the obtained entertainment content on the current display interface in an automatic playing manner.
That is to say, the method and the device have the advantages that through analyzing the historical use records of the user, the favorite content and the watching mode of the user are obtained and displayed to the user in a targeted mode, so that the user can find the favorite content more easily, and the satisfaction degree of the user is improved.
Step 205, closing the display interface of the client.
According to the client quitting control method provided by the embodiment of the application, when the client quitting instruction sent by the user is obtained, whether the time interval between the current time and the time when the quitting instruction is obtained last time is larger than a threshold value or not is judged, if the time interval is larger than the threshold value, the page attribute displayed at the current time of the client is determined, a content obtaining request is sent to the server according to the page attribute displayed at the current time, and then the current display interface of the client is refreshed according to the content returned by the server. Therefore, when the user clicks the quit key for the first time within a certain period of time, the content of the current display interface is automatically updated, the diversity of quit display interfaces is increased, the probability that the user finds the interested content is increased, conditions are provided for retaining the user amount for the application and improving the profit ratio of the application, the content which is more in line with the use habit of the user is displayed for the user, and the satisfaction degree of the user is improved.
Through the analysis, when the client sends the content acquisition request to the server, the client can also send the corresponding content acquisition request to the server according to the attribute of the page of the current display interface, so that the acquired content is more targeted.
In a specific implementation, since a user can view various types and styles of content, such as video-type content, text-type content, and the like, when the user actually applies the client, after the client sends a content obtaining request to the server according to the attribute of the currently displayed page, the server may include a video file in the content returned to the client according to the attribute of the currently displayed page of the client. With reference to fig. 3, a detailed description will be given below of a case where the content returned by the server in the client logout control method of the present application includes a video file.
Fig. 3 is a flowchart illustrating a client logout control method according to another embodiment of the present application.
As shown in fig. 3, the client logout control method according to the embodiment of the present application may include the following steps:
step 301, when the client exit instruction is obtained, determining whether a time interval between the current time and the time when the client exit instruction was obtained last time is greater than a threshold, if so, executing step 302, otherwise, executing step 306.
Step 302, determining the attribute of the page currently displayed by the client.
Step 303, sending a content acquisition request to the server according to the attribute of the currently displayed page.
And step 304, determining a target display area of the video file in the client.
Step 305, playing a video file in a target display area in the client.
The target display area may include a position and a size displayed in the client display interface. The target display area may be set by a user or may be a default of the client, and this embodiment is not specifically limited herein.
That is to say, the target display area of the video file display interface in the client is determined, so that the client can display the video file in the target display area when displaying the video file, and therefore the use habit of the user is better met, and the use viscosity of the user to the client is enhanced.
For example, if the display area of the video file in the client is set by the user, the set display area is the top end of the display interface, and the size of the set display area is default, when the video file returned by the server is acquired, the video file can be displayed at the top end of the current display interface in the default size, so that the user can view corresponding file information or other contents while watching the video file.
And step 306, closing the display interface of the client.
Further, the server may include not only one video file but also a plurality of video files (i.e., N video files, where N is a positive integer greater than 1) in the content returned to the client. Therefore, when the content returned by the server includes a plurality of video files, in this embodiment, in order to facilitate the user to quickly obtain the content of interest from the plurality of video files, the client may preferentially display the video file with the high click rate at a significant position according to the click rate corresponding to each of the N video files.
That is, step 304 may further include: and determining N target display areas corresponding to the N video files respectively according to the click rates corresponding to the N video files respectively.
That is, when the client determines that the content returned by the server includes a plurality of video files, the client displays the popular video or the anchor at a significant position according to the click rate by determining the click rate corresponding to each of the plurality of video files, and displays the popular video or the anchor in a large-space display manner, so that the user can know the popular video and the anchor in time.
The client logout control method proposed by the embodiment of the present application is described in detail below with reference to fig. 4 by taking a server as an example.
Fig. 4 is a flowchart illustrating a client logout control method according to another embodiment of the present application.
As shown in fig. 4, the client logout control method may include the steps of:
step 401, a content obtaining request sent by a client is obtained, and the obtaining request carries a content request identifier.
Specifically, the client exit control method provided in this embodiment may be executed by the server provided in this application to control the operation condition of the client.
In specific implementation, when the server receives a content acquisition request sent by the client, the server can analyze the content acquisition request to acquire a content request identifier carried in the content acquisition request.
Step 402, determining whether the content request identifier carried in the acquisition request is generated by an exit instruction of the user, if so, executing step 403, otherwise, executing step 404.
In order to enable the user to obtain the content information of interest even when the user exits from the client, the content obtaining request may be carried with a content request identifier, so that the server obtains the content favorite by the user according to the content request identifier by adopting different obtaining rules.
In specific implementation, in order to accurately determine a content request identifier carried in a content acquisition request sent by a client, the server in this embodiment may match the content request identifier with a mapping relationship established in advance, determine that the content request identifier is generated by a logout instruction of a user if the matching is successful, and otherwise, indicate that the content request identifier is not generated by the logout instruction of the user.
When the content request identifier carried in the acquisition request is determined to be generated by an exit instruction of a user, the server acquires corresponding content according to a preset acquisition rule; and when the content request identifier carried in the acquisition request is determined not to be generated by the exit instruction of the user, the server acquires the corresponding content according to a default acquisition rule.
In this embodiment, the preset rule may be generated by analyzing big data, or may be generated according to a historical usage habit of a user, and the like, which is not specifically limited in this embodiment.
Step 403, determining the content returned to the client according to a preset rule.
For example, if the preset rule is generated according to the historical usage habit of the user, the server may obtain the corresponding content according to the historical usage habit of the user.
Further, in this embodiment, the acquisition request may also carry an attribute of a page currently displayed by the client, so that when determining the content returned by the client according to a preset rule, the embodiment also determines the content returned to the client according to the attribute of the currently displayed page.
That is to say, when the attribute of the page currently displayed by the client is carried in the acquisition request, the server can acquire the corresponding content according to the attribute of the page, so that the client can better display the content meeting the user requirement to the user, and the satisfaction degree of the user is further improved.
Specific implementations may include, by way of example:
the first method is as follows:
determining the content returned to the client according to the use record of the user;
the second method comprises the following steps:
determining contents returned to the client according to the click information of each content at the current moment;
the third method comprises the following steps:
and determining the use record of the user according to the user identification corresponding to the client carried in the acquisition request.
The user identifier may be user account information, or other information.
It can be understood that the user identification information corresponding to the client is carried in the acquisition request, so that when the server receives the acquisition request sent by the client, the server acquires the user identification by analyzing the acquisition request, and then screens out the content matched with the user usage record from the big data according to the user identification, so that the content finally returned to the client is more in line with the browsing habit of the user.
It should be noted that the foregoing implementation is merely exemplary and is not intended to specifically limit the present application.
Further, in the actual application process, the user can view various types or styles of contents, such as characters, pictures, video files and the like, through the client, so that the server can also obtain various types of contents according to the content obtaining request sent by the client, so as to meet different requirements of the user.
For example, the server may determine that the content returned to the client includes a video file according to a content acquisition request sent by the client.
When the server determines that the content returned to the client includes the video file according to the content acquisition request sent by the client, the server returns an image interchange format file (i.e., GIF file) corresponding to the video file to the client after determining the content including the video file.
In the content including the video file returned by the server to the client, the video file may be one or multiple, which is not specifically limited in this embodiment.
It can be understood that, in order to increase the speed of returning content to the client and enable the user to obtain favorite content in the shortest time, the present application may also return a GIF file to the client first, and when the client sends the GIF file obtaining request to the server (i.e., the user clicks and plays the GIF file in the client display interface), return a detailed video stream file corresponding to the GIF file to the client, so that the user can view the video file normally.
Step 404, determining the content returned to the client according to a default obtaining rule.
It should be noted that, in this embodiment, the default obtaining rule and the preset rule are two different rules, where the default obtaining rule is a content obtaining manner that the server adopts according to a content obtaining request sent by the client when the client obtains new content in a normal use process, and the preset rule is a content obtaining manner that the server adopts according to a content obtaining request sent by the client when the user sends a client quit instruction.
In this embodiment, after the server determines the content returned to the client, the determined content may be sent to the client, so that the client refreshes the current display interface of the client according to the content returned by the server.
In order to save the bandwidth occupied by data transmission and the time spent, when the server sends the acquired content to the client, the server in this embodiment may compress the acquired content first and then send the compressed content to the client.
The client quitting control method provided by the embodiment of the application comprises the steps of firstly obtaining a content obtaining request sent by a client, then judging whether a content request identifier carried in the obtaining request is generated by a quitting instruction of a user or not, and if so, determining content returned by the client according to a preset rule. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
The client logout control method according to the foregoing embodiment is specifically described below by using an embodiment, and specifically refer to fig. 5. Fig. 5 is a schematic diagram illustrating signaling interaction between a client and a server according to an embodiment of the present application.
In this embodiment, assuming that the client is a and the server is B, the interaction process between the client a and the server B may include the following steps:
it should be noted that, in this embodiment, the client may include a plurality of clients, and this embodiment is not particularly limited to this.
Step 501: when the client A acquires a client quit instruction sent by a user, the time interval between the current time and the time of acquiring the quit instruction last time is determined to be larger than a threshold value.
Step 502, the client a sends a content obtaining request a to the server B, wherein a content request identifier B carried in the obtaining request a is used for representing that the request is generated by a quitting instruction of the user.
Step 503, the server B obtains the content obtaining request a sent by the client a, and determines the content request identifier B carried in the obtaining request a, where the representation request is generated by a quitting instruction of the user.
Step 504, if the server B determines the content returned to the client a according to the preset rule.
In step 505, the server B sends the determined content to the client a.
Step 506, the client a refreshes the current display interface of the client a according to the content returned by the server B.
By the client quitting control method provided by the embodiment, the content of the current display interface is automatically updated when the user clicks the quitting key for the first time within a certain time period, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and therefore conditions are provided for retaining the user amount for the application and improving the benefit ratio of the application.
The client proposed by the embodiment of the present application is described below with reference to the drawings.
Fig. 6 is a schematic structural diagram of a client according to an embodiment of the present application.
As shown in fig. 6, the client includes: the device comprises a first judgment module 11, a first processing module 12, a refreshing module 13 and a second processing module 14.
The first determining module 11 is configured to determine, when the client logout instruction is obtained, whether a time interval between a current time and a time at which the logout instruction was obtained last time is greater than a threshold.
The first processing module 12 is configured to send a content obtaining request to the server if a time interval between a current time and a time at which the quit instruction was obtained last time is greater than a threshold, where a content request identifier carried in the obtaining request is used to represent that the request is generated by the quit instruction.
And the refreshing module 13 is configured to refresh the current display interface of the client according to the content returned by the server.
The second processing module 14 is configured to close the display interface of the client if a time interval between the current time and the time when the exit instruction was obtained last time is smaller than a threshold.
It should be noted that, for the implementation process and the technical principle of the client in this embodiment, reference is made to the foregoing explanation of the client logout control method in the embodiment of the first aspect, and details are not described here again.
According to the client side provided by the embodiment of the application, when the client side quitting instruction sent by the user is obtained, whether the time interval between the current time and the time when the quitting instruction is obtained last time is larger than the threshold value or not is judged, if the time interval is larger than the threshold value, a content obtaining request is sent to the server, and then the current display interface of the client side is refreshed according to the content returned by the server. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
Fig. 7 is a schematic structural diagram of a client according to another embodiment of the present application.
Referring to fig. 7, the client may include: the device comprises a first judgment module 11, a first processing module 12, a refreshing module 13, a second processing module 14 and a first determination module 15.
The first judging module 11 is configured to, when the client logout instruction is obtained, judge whether a time interval between a current time and a previous time when the client logout instruction is obtained is greater than a threshold value;
the first processing module 12 is configured to send a content acquisition request to the server if a time interval between a current time and a time at which the quit instruction was acquired last time is greater than a threshold, where a content request identifier carried in the acquisition request is used to represent that the request is generated by the quit instruction;
the refreshing module 13 is configured to refresh the current display interface of the client according to the content returned by the server;
the second processing module 14 is configured to close the display interface of the client if a time interval between the current time and the time when the exit instruction was obtained last time is smaller than a threshold.
As an optional implementation form, the client further includes: a first determination module 15.
The first determining module 15 is configured to determine an attribute of a page currently displayed by the client.
The first processing module 12 is specifically configured to: and sending a content acquisition request to the server according to the attribute of the currently displayed page.
As an optional implementation form, the first determining module 15 is specifically configured to: determining the type of the currently displayed page of the client, the field of the currently displayed page, the content contained in the currently displayed page and/or the style of the currently displayed page.
As an optional implementation form, the refresh module 13 is specifically configured to: refreshing the current display interface of the client according to the content which is returned by the server and is matched with the historical use record of the user; and/or refreshing the current display interface of the client according to the content that the current click information returned by the server meets the preset condition.
As an optional implementation form, the refresh module 13 is specifically configured to: according to the historical use record of the user, determining target content included in the content returned by the server and a target display mode of the target content; and displaying the target content on the current display interface in the target display mode.
It should be noted that, for the implementation process and the technical principle of the client in this embodiment, reference is made to the foregoing explanation of the client logout control method in the embodiment of the first aspect, and details are not described here again.
According to the client, when the client quit instruction sent by the user is obtained, whether the time interval between the current time and the time when the quit instruction is obtained last time is larger than a threshold value or not is judged, if the time interval is larger than the threshold value, the page attribute currently displayed by the client is determined, a content obtaining request is sent to the server according to the page attribute currently displayed, and then the current display interface of the client is refreshed according to the content returned by the server. Therefore, when the user clicks the quit key for the first time within a certain period of time, the content of the current display interface is automatically updated, the diversity of quit display interfaces is increased, the probability that the user finds the interested content is increased, conditions are provided for retaining the user amount for the application and improving the profit ratio of the application, the content which is more in line with the use habit of the user is displayed for the user, and the satisfaction degree of the user is improved.
As an optional implementation form, the client further includes: when the content returned by the server comprises a video file; the refresh module 13 is further configured to: determining a target display area of the video file in the client; and playing the video file in a target display area in the client.
As an optional implementation form, the content returned by the server includes N video files, where N is a positive integer greater than 1; the refresh module 13 is specifically configured to: and determining N target display areas corresponding to the N video files respectively according to the click rates corresponding to the N video files respectively.
It should be noted that, for the implementation process and the technical principle of the client in this embodiment, reference is made to the foregoing explanation of the client logout control method in the embodiment of the first aspect, and details are not described here again.
That is to say, when the client determines that the content returned by the server includes the video file, the client determines the target display area of the video file on the display interface of the client, so that the client can display the video file in the target display area when displaying the video file, thereby better conforming to the use habit of the user, and enhancing the use viscosity of the user on the client.
In order to implement the above embodiments, the present application also provides a server.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application.
Referring to fig. 8, the server of the present application includes: an obtaining module 21, a second judging module 22 and a second determining module 23.
The obtaining module 21 is configured to obtain a content obtaining request sent by a client, where the obtaining request carries a content request identifier;
the second judging module 22 is configured to judge whether the content request identifier carried in the acquisition request represents that the request is generated by an exit instruction of a user;
the second determining module 23 is configured to determine, if the content returned to the client is determined, according to a preset rule.
As an optional implementation form, in the embodiment of the present application, the obtaining request further carries a page attribute currently displayed by the client;
the second determining module 23 is specifically configured to: and determining the content returned to the client according to the attribute of the currently displayed page.
As an optional implementation form, the second determining module 23 is specifically configured to: determining contents returned to the client according to the click information of each content at the current moment; and/or determining the use record of the user according to the user identification corresponding to the client carried in the acquisition request; and determining the content returned to the client according to the use record of the user.
As an optional implementation form, the content returned to the client is determined to include a video file; the server, further comprising: and the return module is used for returning the image interchange format file corresponding to the video file to the client.
It should be noted that, for the implementation process and the technical principle of the server in this embodiment, reference is made to the foregoing explanation of the client logout control method described in the embodiment of the second aspect, and details are not described here again.
The server provided by the embodiment of the application firstly obtains a content obtaining request sent by a client, then judges whether a content request identifier carried in the obtaining request is generated by a quitting instruction of a user or not, and determines the content returned by the client according to a preset rule if the content request identifier is generated by the quitting instruction of the user. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
In order to implement the above embodiments, the present application also provides a computer device.
Fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
As shown in fig. 9, the computer device 30 includes: a memory 31, a processor 32 and a computer program stored in the memory 31 and executable on the processor, wherein the processor implements the client logout control method according to the first aspect embodiment or the client logout control method according to the second aspect embodiment when executing the program.
According to the computer equipment provided by the embodiment of the application, when the client quitting instruction sent by the user is obtained, whether the time interval between the current time and the time when the quitting instruction is obtained last time is larger than a threshold value or not is judged, if the time interval is larger than the threshold value, a content obtaining request is sent to the server, then the current display interface of the client is refreshed according to the content returned by the server, and if the time interval is smaller than the threshold value, the display interface of the client is closed. Therefore, when the user clicks the quit key for the first time within a certain time period, the content of the current display interface is automatically updated, the diversity of quitting the display interface is increased, the probability of finding the interested content by the user is increased, and conditions are provided for retaining the user amount for the application and improving the profit ratio of the application.
To achieve the above object, the present application also proposes a computer-readable storage medium.
Wherein the computer readable storage medium has stored thereon a computer program, which when executed by a processor, implements the client logout control method according to the embodiment of the first aspect, or the client logout control method according to the embodiment of the second aspect.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (20)

1. A client quit control method is characterized by comprising the following steps:
when a client quit instruction is obtained, judging whether the time interval between the current time and the time of obtaining the quit instruction at the previous time is greater than a threshold value;
if the time interval between the current time and the time of obtaining the quit instruction last time is larger than a threshold value, sending a content obtaining request to a server, wherein a content request identifier carried in the obtaining request is used for representing that the request is generated by the quit instruction;
refreshing the current display interface of the client according to the content returned by the server;
if the time interval between the current time and the time when the quit instruction is obtained last time is smaller than the threshold value, closing the display interface of the client;
wherein, before sending the content acquisition request to the server, the method further comprises:
determining the attribute of the page currently displayed by the client;
the sending of the content acquisition request to the server includes:
and sending a content acquisition request to the server according to the attribute of the currently displayed page.
2. The method of claim 1, wherein said determining attributes of a page currently displayed by the client comprises:
determining the type of the currently displayed page of the client, the field of the currently displayed page, the content contained in the currently displayed page and/or the style of the currently displayed page.
3. The method of claim 1, wherein the refreshing the current display interface of the client comprises:
refreshing the current display interface of the client according to the content which is returned by the server and is matched with the historical use record of the user;
and/or the presence of a gas in the gas,
and refreshing the current display interface of the client according to the content that the current click information returned by the server meets the preset conditions.
4. The method of claim 3, wherein refreshing the current display interface of the client according to the content returned by the server and matching with the user's historical usage record comprises:
according to the historical use record of the user, determining target content included in the content returned by the server and a target display mode of the target content;
and displaying the target content on the current display interface in the target display mode.
5. The method of claim 1, wherein the content returned by the server comprises a video file;
the refreshing the current display interface of the client according to the content returned by the server comprises the following steps:
determining a target display area of the video file in the client;
and playing the video file in a target display area in the client.
6. The method of claim 5, wherein the content returned by the server comprises N video files, where N is a positive integer greater than 1;
the determining the target display area of the video file in the client comprises:
and determining N target display areas corresponding to the N video files respectively according to the click rates corresponding to the N video files respectively.
7. A client quit control method is characterized by comprising the following steps:
acquiring a content acquisition request sent by a client, wherein the acquisition request carries a content request identifier; when a client quit instruction is acquired, judging that the time interval between the current time and the time of acquiring the quit instruction last time is greater than a threshold value, and sending the content acquisition request by the client;
judging whether the content request identification carried in the acquisition request represents that the request is generated by an exit instruction of a user;
if so, determining the content returned to the client according to a preset rule;
the obtaining request also carries the current page attribute displayed by the client;
the determining the content returned to the client according to the preset rule comprises:
and determining the content returned to the client according to the attribute of the currently displayed page.
8. The method of claim 7, wherein the determining the content returned to the client according to the preset rule comprises:
determining contents returned to the client according to the click information of each content at the current moment;
and/or the presence of a gas in the gas,
determining a use record of the user according to the user identification corresponding to the client carried in the acquisition request;
and determining the content returned to the client according to the use record of the user.
9. The method of claim 7, wherein the determining the content returned to the client comprises a video file;
after the determining the content returned to the client, the method further includes:
and returning the image interchange format file corresponding to the video file to the client.
10. A client, comprising:
the first judgment module is used for judging whether the time interval between the current time and the time of obtaining the quit instruction at the previous time is greater than a threshold value or not when the quit instruction of the client is obtained;
the first processing module is used for sending a content acquisition request to the server if a time interval between the current time and the time of acquiring the quit instruction last time is greater than a threshold value, wherein a content request identifier carried in the acquisition request is used for representing that the request is generated by the quit instruction;
the refreshing module is used for refreshing the current display interface of the client according to the content returned by the server;
the second processing module is used for closing the display interface of the client if the time interval between the current moment and the moment when the quit instruction is obtained last time is smaller than a threshold value;
the first determining module is used for determining the attribute of the page currently displayed by the client;
the first processing module is specifically configured to:
and sending a content acquisition request to the server according to the attribute of the currently displayed page.
11. The client according to claim 10, wherein the first determining module is specifically configured to:
determining the type of the currently displayed page of the client, the field of the currently displayed page, the content contained in the currently displayed page and/or the style of the currently displayed page.
12. The client according to claim 10, wherein the refresh module is specifically configured to:
refreshing the current display interface of the client according to the content which is returned by the server and is matched with the historical use record of the user;
and/or the presence of a gas in the gas,
and refreshing the current display interface of the client according to the content that the current click information returned by the server meets the preset conditions.
13. The client according to claim 12, wherein the refresh module is specifically configured to:
according to the historical use record of the user, determining target content included in the content returned by the server and a target display mode of the target content;
and displaying the target content on the current display interface in the target display mode.
14. The client of claim 10, wherein the content returned by the server comprises a video file;
the refresh module is further configured to:
determining a target display area of the video file in the client;
and playing the video file in a target display area in the client.
15. The client of claim 14, wherein the content returned by the server comprises N video files, where N is a positive integer greater than 1;
the refresh module is specifically configured to:
and determining N target display areas corresponding to the N video files respectively according to the click rates corresponding to the N video files respectively.
16. A server, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a content acquisition request sent by a client, and the acquisition request carries a content request identifier; when a client quit instruction is acquired, judging that the time interval between the current time and the time of acquiring the quit instruction last time is greater than a threshold value, and sending the content acquisition request by the client;
a second judging module, configured to judge whether the content request identifier carried in the acquisition request represents that the request is generated by an exit instruction of a user;
the second determining module is used for determining the content returned to the client according to a preset rule if the client is in the normal state;
the obtaining request also carries the current page attribute displayed by the client;
the second determining module is specifically configured to:
and determining the content returned to the client according to the attribute of the currently displayed page.
17. The server according to claim 16, wherein the second determining module is specifically configured to:
determining contents returned to the client according to the click information of each content at the current moment;
and/or the presence of a gas in the gas,
determining a use record of the user according to the user identification corresponding to the client carried in the acquisition request;
and determining the content returned to the client according to the use record of the user.
18. The server of claim 16, wherein the determination of the content returned to the client comprises a video file;
the server, further comprising:
and the return module is used for returning the image interchange format file corresponding to the video file to the client.
19. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the client logout control method according to any one of claims 1 to 6 or the client logout control method according to any one of claims 7 to 9.
20. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a client logout control method according to any one of claims 1 to 6, or a client logout control method according to any one of claims 7 to 9.
CN201810326262.5A 2018-04-12 2018-04-12 Client quit control method, client, server, equipment and medium Expired - Fee Related CN108683926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810326262.5A CN108683926B (en) 2018-04-12 2018-04-12 Client quit control method, client, server, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810326262.5A CN108683926B (en) 2018-04-12 2018-04-12 Client quit control method, client, server, equipment and medium

Publications (2)

Publication Number Publication Date
CN108683926A CN108683926A (en) 2018-10-19
CN108683926B true CN108683926B (en) 2021-03-12

Family

ID=63799445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810326262.5A Expired - Fee Related CN108683926B (en) 2018-04-12 2018-04-12 Client quit control method, client, server, equipment and medium

Country Status (1)

Country Link
CN (1) CN108683926B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462996B (en) * 2020-12-11 2023-09-08 北京小米移动软件有限公司 Service information optimizing method, service information optimizing device and storage medium
CN114567807A (en) * 2022-01-17 2022-05-31 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and computer storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219314A (en) * 2014-09-10 2014-12-17 珠海市君天电子科技有限公司 Electronic device and remote control method and system thereof
CN104331503A (en) * 2014-11-19 2015-02-04 小米科技有限责任公司 Information push method and device
CN104615373A (en) * 2015-01-29 2015-05-13 上海华豚科技有限公司 Method for touch screen device to quit current operation and touch screen device
CN105373419A (en) * 2014-08-26 2016-03-02 阿里巴巴集团控股有限公司 Background application operation method and system
CN105468394A (en) * 2014-09-10 2016-04-06 广东佳学信息科技有限公司 Method and system for restricting exit from Android application software
CN105630397A (en) * 2016-02-17 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Method and terminal equipment for opening popup boxes
TW201626173A (en) * 2015-01-08 2016-07-16 鄭國書 Method of avoiding malfunction of computer mouse
CN105939384A (en) * 2016-06-17 2016-09-14 广州云移信息科技有限公司 Network request processing method and system
CN106503190A (en) * 2016-10-25 2017-03-15 北京小米移动软件有限公司 The method and device of display information
CN106547449A (en) * 2016-11-02 2017-03-29 湖南福米信息科技有限责任公司 A kind of window treatments method and device
CN106569932A (en) * 2016-10-31 2017-04-19 珠海市魅族科技有限公司 Method and device for starting application
CN106909561A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of page push method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070128899A1 (en) * 2003-01-12 2007-06-07 Yaron Mayer System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows
CN103309588B (en) * 2013-06-19 2015-12-23 广东欧珀移动通信有限公司 A kind of method, Apparatus and system preventing mobile terminal maloperation
CN106708511A (en) * 2016-11-28 2017-05-24 上海传英信息技术有限公司 Dynamic icon setting method and using method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373419A (en) * 2014-08-26 2016-03-02 阿里巴巴集团控股有限公司 Background application operation method and system
CN104219314A (en) * 2014-09-10 2014-12-17 珠海市君天电子科技有限公司 Electronic device and remote control method and system thereof
CN105468394A (en) * 2014-09-10 2016-04-06 广东佳学信息科技有限公司 Method and system for restricting exit from Android application software
CN104331503A (en) * 2014-11-19 2015-02-04 小米科技有限责任公司 Information push method and device
TW201626173A (en) * 2015-01-08 2016-07-16 鄭國書 Method of avoiding malfunction of computer mouse
CN104615373A (en) * 2015-01-29 2015-05-13 上海华豚科技有限公司 Method for touch screen device to quit current operation and touch screen device
CN106909561A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of page push method and device
CN105630397A (en) * 2016-02-17 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Method and terminal equipment for opening popup boxes
CN105939384A (en) * 2016-06-17 2016-09-14 广州云移信息科技有限公司 Network request processing method and system
CN106503190A (en) * 2016-10-25 2017-03-15 北京小米移动软件有限公司 The method and device of display information
CN106569932A (en) * 2016-10-31 2017-04-19 珠海市魅族科技有限公司 Method and device for starting application
CN106547449A (en) * 2016-11-02 2017-03-29 湖南福米信息科技有限责任公司 A kind of window treatments method and device

Also Published As

Publication number Publication date
CN108683926A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN110149558B (en) Video playing real-time recommendation method and system based on content identification
US10440440B1 (en) Systems and methods for prompting a user to view an important event in a media asset presented on a first device when the user is viewing another media asset presented on a second device
US20210211476A1 (en) Methods, systems, and media for recommending content based on network conditions
WO2016177287A1 (en) Interaction information processing method, client terminal, service platform and storage medium
US10080043B2 (en) Modifying media asset metadata to include identification of key moment
TWI581625B (en) Information transmitting method and system thereof
US9369740B1 (en) Custom media player
US9197913B2 (en) System and method to improve user experience with streaming content
TW200921539A (en) Embedded video player advertisement display
CN110740339B (en) Live content preview method and device
US8886765B2 (en) System and method for predicitive trick play using adaptive video streaming
US11089070B2 (en) Adaptive bitrate optimization upon video streaming initialization
US20220141507A1 (en) Transcoding of video content
WO2012170902A1 (en) Video and site analytics
WO2018133725A1 (en) Method, client, and system for output processing of media file
CN108769816B (en) Video playing method, device and storage medium
JP5789303B2 (en) Content signature ring
US20210144187A1 (en) Skipping content of lesser interest when streaming media
US20180288461A1 (en) Web Analytics for Video Level Events
CN108683926B (en) Client quit control method, client, server, equipment and medium
WO2016150273A1 (en) Video playing method, mobile terminal and system
US10382829B1 (en) Systems and methods for prompting a user to view an important event in a media asset when the user is using another application
WO2017032237A1 (en) Method and device for refreshing playlist
US20200311124A1 (en) Systems and methods for generating bandwidth constrained recommendations
US9813777B1 (en) Time shifting content for network DVR and trick play keys

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190625

Address after: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Applicant after: HONG KONG LIVE.ME Corp.,Ltd.

Address before: Cayman Islands, Greater Cayman Island, Kamana Bay, Casia District, Seitus Chamber of Commerce, 2547

Applicant before: LIVE.ME Inc.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210524

Address after: 25, 5th floor, shuangjingfang office building, 3 frisha street, Singapore

Patentee after: Zhuomi Private Ltd.

Address before: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Patentee before: HONG KONG LIVE.ME Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210312