Movatterモバイル変換


[0]ホーム

URL:


CN112153396B - Page display method, device, system and storage medium - Google Patents

Page display method, device, system and storage medium
Download PDF

Info

Publication number
CN112153396B
CN112153396BCN202010963492.XACN202010963492ACN112153396BCN 112153396 BCN112153396 BCN 112153396BCN 202010963492 ACN202010963492 ACN 202010963492ACN 112153396 BCN112153396 BCN 112153396B
Authority
CN
China
Prior art keywords
target
account
content
live broadcast
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010963492.XA
Other languages
Chinese (zh)
Other versions
CN112153396A (en
Inventor
郭劭泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co LtdfiledCriticalBeijing Dajia Internet Information Technology Co Ltd
Priority to CN202010963492.XApriorityCriticalpatent/CN112153396B/en
Publication of CN112153396ApublicationCriticalpatent/CN112153396A/en
Application grantedgrantedCritical
Publication of CN112153396BpublicationCriticalpatent/CN112153396B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The disclosure relates to a page display method, device, system and storage medium, wherein the method comprises the following steps: responding to triggering operation of the user account for a target homepage of the target account, and acquiring the account state of the target account; determining that the account state of the target account is in a live state, and acquiring target live content comprising a target object corresponding to the target account; and displaying the target live content in the target homepage. The live content of the target account is played in the target homepage, namely, dynamic real-time information or information close to real-time corresponding to the target account is displayed in a richer and lively mode, so that a user account can conveniently and efficiently know the account image of the target account, and a better account image display effect is achieved.

Description

Page display method, device, system and storage medium
Technical Field
The present disclosure relates to the field of page display, and in particular, to a page display method, device, system, and storage medium.
Background
On the web content platform, the user account can learn the relevant information of the user by looking at the account homepage of the target account. However, the static information or the historical works and other page contents of the target account displayed in the account homepage at the current stage are generally single in form, and the corresponding account information is generally old, so that the account homepage is unfavorable for the user account to know the account image of the target account, and therefore the account homepage has poor display effect on the account image.
Disclosure of Invention
The present disclosure provides a page display method, apparatus, system, and storage medium to at least solve the technical problems in the related art. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, a page display method is provided, including:
responding to triggering operation of a user account for a target homepage of a target account, and acquiring an account state of the target account;
determining that the account state of the target account is in a live state, and acquiring target live content comprising a target object corresponding to the target account;
and displaying the target live broadcast content in the target homepage.
Optionally, the acquiring the account status of the target account includes:
a state query request aiming at the target account is initiated to a server, and a state query result returned by the server in response to the state query request is received;
and determining the account state of the target account according to the state query result.
Optionally, the obtaining the target live content including the target object corresponding to the target account includes:
and acquiring a real-time video stream of the live program corresponding to the target account from a server, wherein a live image corresponding to the real-time video stream contains the target object.
Optionally, the server caches live broadcast content of the target account, and the obtaining target live broadcast content including a target object corresponding to the target account includes:
initiating a live content acquisition request aiming at the target account to a server;
and receiving the target live broadcast content returned by the server in response to the live broadcast content acquisition request.
Optionally, the obtaining the target live content including the target object corresponding to the target account includes:
acquiring live broadcast content of the target account;
identifying image content of each image frame of the live content and determining that the image content includes a screening image frame of the target object;
and generating the target live content by using the screening image frames.
Optionally, the method further comprises:
sequentially determining display parameters of the screening image frames, wherein the display parameters comprise chromaticity, brightness and/or saturation;
and generating the target live broadcast content by using the screening image frames with the display parameters in a preset parameter interval.
Optionally, the obtaining the target live content including the target object corresponding to the target account includes:
acquiring live broadcast content of the target account;
Cutting a target area containing the target object in a live broadcast picture of the live broadcast content to obtain a cut picture;
and generating the target live broadcast content by using the cut picture.
Optionally, the cutting the target area including the target object in the live broadcast picture of the live broadcast content to obtain a cut picture includes:
identifying a target area containing the target object in the live broadcast picture by using an object identification model, and cutting the live broadcast picture to obtain a cutting picture containing the target area; the object recognition model is obtained by using a first sample live broadcast picture marked with an object area through a supervised learning process or using a second sample live broadcast picture not marked with the object area through an unsupervised learning process, and is used for processing the live broadcast picture of the live broadcast program and outputting a target area containing a target object in the live broadcast picture; or,
and cutting the live broadcast picture according to a predefined cutting area to obtain the cutting picture, wherein the predefined cutting area is determined according to the historical display area of the target object.
Optionally, the displaying the target live content includes:
Identifying and determining a corresponding preset display area in the target homepage according to preset configuration parameters, and displaying the target live broadcast content through the preset display area;
or,
and responding to the received region configuration request, determining a preset display region corresponding to the region configuration request in the target homepage, and displaying the target live broadcast content through the preset display region.
Optionally, the target homepage is used for displaying the multimedia content associated with the target account, and displaying the target live broadcast content includes:
and displaying the target live broadcast content according to a preset display style, so that the display effect of the target live broadcast content is different from other multimedia content in the target homepage.
According to a second aspect of an embodiment of the present disclosure, a page display method is provided, including:
determining an account state of a target account in response to a state query request about the target account sent by a user account, wherein the state query request is sent by the user account after detecting a triggering operation implemented on a target homepage of the target account;
and determining that the account state of the target account is in a live state, and returning target live content comprising a live object corresponding to the target account to the user account so that the user account displays the target live content in the target homepage.
Optionally, the method further comprises:
and receiving a live broadcast content acquisition request sent by the user account, and taking the received live broadcast content acquisition request as a precondition for returning the target live broadcast content to the user account.
Optionally, the method further comprises: caching live content of the target account; determining the target live content, comprising:
determining the receiving moment of the live content acquisition request;
and determining the live broadcast content cached at the time closest to the receiving time as the target live broadcast content.
Optionally, determining the target live content includes:
acquiring live broadcast content of the target account;
identifying image content of each image frame of the live content and determining that the image content includes a screening image frame of the target object;
and generating the target live content by using the screening image frames.
Optionally, the method further comprises:
sequentially determining display parameters of the screening image frames, wherein the display parameters comprise chromaticity, brightness and/or saturation;
and generating the target live broadcast content by using the screening image frames with the display parameters in a preset parameter interval.
Optionally, determining the target live content includes:
Acquiring live broadcast content of the target account;
cutting a target area containing the target object in a live broadcast picture of the live broadcast content to obtain a cut picture;
and generating the target live broadcast content by using the cut picture.
Optionally, the cutting the target area including the target object in the live broadcast picture of the live broadcast content to obtain a cut picture includes:
identifying a target area containing the target object in the live broadcast picture by using an object identification model, and cutting the live broadcast picture to obtain a cutting picture containing the target area; the object recognition model is obtained by using a first sample live broadcast picture marked with an object area through a supervised learning process or using a second sample live broadcast picture not marked with the object area through an unsupervised learning process, and is used for processing the live broadcast picture of the live broadcast program and outputting a target area containing a target object in the live broadcast picture; or,
and cutting the live broadcast picture according to a predefined cutting area to obtain the cutting picture, wherein the predefined cutting area is determined according to the historical display area of the target object.
According to a third aspect of embodiments of the present disclosure, there is provided a page display device, including:
the state acquisition module is configured to respond to a triggering operation of a user account for a target homepage of a target account and acquire the account state of the target account;
the content acquisition module is configured to determine that the account state of the target account is in a live state and acquire target live content comprising a target object corresponding to the target account;
and the content display module is configured to display the target live content in the target homepage.
Optionally, the state acquisition module is further configured to:
a state query request aiming at the target account is initiated to a server, and a state query result returned by the server in response to the state query request is received;
and determining the account state of the target account according to the state query result.
Optionally, the content acquisition module is further configured to:
and acquiring a real-time video stream of the live program corresponding to the target account from a server, wherein a live image corresponding to the real-time video stream contains the target object.
Optionally, the server caches live content of the target account, and the content acquisition module is further configured to:
Initiating a live content acquisition request aiming at the target account to a server;
and receiving the target live broadcast content returned by the server in response to the live broadcast content acquisition request.
Optionally, the content acquisition module is further configured to:
acquiring live broadcast content of the target account;
identifying image content of each image frame of the live content and determining that the image content includes a screening image frame of the target object;
and generating the target live content by using the screening image frames.
Optionally, the method further comprises:
a parameter determination module configured to sequentially determine presentation parameters of the screening image frames, the presentation parameters including chromaticity, brightness, and/or saturation;
and the image screening module is configured to generate the target live broadcast content by using the screened image frames with the display parameters in a preset parameter interval.
Optionally, the content acquisition module is further configured to:
acquiring live broadcast content of the target account;
cutting a target area containing the target object in a live broadcast picture of the live broadcast content to obtain a cut picture;
and generating the target live broadcast content by using the cut picture.
Optionally, the content acquisition module is further configured to:
identifying a target area containing the target object in the live broadcast picture by using an object identification model, and cutting the live broadcast picture to obtain a cutting picture containing the target area; the object recognition model is obtained by using a first sample live broadcast picture marked with an object area through a supervised learning process or using a second sample live broadcast picture not marked with the object area through an unsupervised learning process, and is used for processing the live broadcast picture of the live broadcast program and outputting a target area containing a target object in the live broadcast picture; or,
and cutting the live broadcast picture according to a predefined cutting area to obtain the cutting picture, wherein the predefined cutting area is determined according to the historical display area of the target object.
Optionally, the content presentation module is further configured to:
identifying and determining a corresponding preset display area in the target homepage according to preset configuration parameters, and displaying the target live broadcast content through the preset display area;
or,
and responding to the received region configuration request, determining a preset display region corresponding to the region configuration request in the target homepage, and displaying the target live broadcast content through the preset display region.
Optionally, the target homepage is used for displaying multimedia content associated with the target account, and the content display module is further configured to:
and displaying the target live broadcast content according to a preset display style, so that the display effect of the target live broadcast content is different from other multimedia content in the target homepage.
According to a fourth aspect of embodiments of the present disclosure, there is provided a page display device, including:
a state determining module configured to determine an account state of a target account in response to a state query request about the target account sent by a user account, the state query request being sent by the user account after detecting a trigger operation performed on a target homepage of the target account;
and the content returning module is configured to determine that the account state of the target account is in a live state, and return target live content comprising a live object corresponding to the target account to the user account so as to enable the user account to display the target live content in the target homepage.
Optionally, the method further comprises:
the request receiving module is configured to receive a live content acquisition request sent by the user account, and to use the received live content acquisition request as a precondition for returning the target live content to the user account.
Optionally, the method further comprises:
the content caching module is configured to cache live content of the target account;
the content return module is further configured to:
determining the receiving moment of the live content acquisition request;
and determining the live broadcast content cached at the time closest to the receiving time as the target live broadcast content.
Optionally, the content return module is further configured to:
acquiring live broadcast content of the target account;
identifying image content of each image frame of the live content and determining that the image content includes a screening image frame of the target object;
and generating the target live content by using the screening image frames.
Optionally, the method further comprises:
a parameter determination module configured to sequentially determine presentation parameters of the screening image frames, the presentation parameters including chromaticity, brightness, and/or saturation;
and the image screening module is configured to generate the target live broadcast content by using the screened image frames with the display parameters in a preset parameter interval.
Optionally, the content return module is further configured to:
acquiring live broadcast content of the target account;
cutting a target area containing the target object in a live broadcast picture of the live broadcast content to obtain a cut picture;
And generating the target live broadcast content by using the cut picture.
Optionally, the content return module is further configured to:
identifying a target area containing the target object in the live broadcast picture by using an object identification model, and cutting the live broadcast picture to obtain a cutting picture containing the target area; the object recognition model is obtained by using a first sample live broadcast picture marked with an object area through a supervised learning process or using a second sample live broadcast picture not marked with the object area through an unsupervised learning process, and is used for processing the live broadcast picture of the live broadcast program and outputting a target area containing a target object in the live broadcast picture; or,
and cutting the live broadcast picture according to a predefined cutting area to obtain the cutting picture, wherein the predefined cutting area is determined according to the historical display area of the target object.
According to a fifth aspect of embodiments of the present disclosure, there is provided a client, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method according to any of the embodiments of the first aspect.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a server, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a page presentation method according to any of the embodiments of the second aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a group display system comprising:
the client according to the fifth aspect and the server according to the sixth aspect.
According to an eighth aspect of embodiments of the present disclosure, a storage medium is presented, which when executed by a processor of an electronic device, causes the electronic device to perform the page presentation method as in any of the first or second aspects above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the embodiment of the disclosure, after the user account triggers the target homepage of the target account, if the current target account is in the live broadcast opening state, live broadcast content of the account can be played in the target homepage. Therefore, the live content of the target account is played in the target homepage, namely, dynamic real-time information or information close to real-time corresponding to the target account is displayed in a richer and lively mode, so that a user account can conveniently and efficiently know the account image of the target account, and a better account image display effect is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a diagram showing a homepage display effect in the related art;
FIG. 2 is a flow chart of an account home page presentation method shown in accordance with an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating another page presentation method according to an embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating yet another page presentation method according to an embodiment of the present disclosure;
FIG. 5 is an interactive flow diagram illustrating a page presentation method according to an embodiment of the present disclosure;
FIG. 6 is a schematic illustration of a home page presentation effect shown in accordance with an embodiment of the present disclosure;
FIG. 7 is a schematic block diagram of a page display device shown in accordance with an embodiment of the present disclosure;
FIG. 8 is a schematic block diagram of another page home presentation device shown in accordance with an embodiment of the present disclosure;
fig. 9 is a block diagram of an electronic device shown according to an embodiment of the present disclosure.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
On the web content platform, the user account can learn the relevant information of the user by looking at the account homepage of the target account. For example, in a webcast application, a user account B (which may be understood as user B) may enter the account home page of another user account a (which may be understood as user a) to view account information for that user account a. In the related art, an account homepage display effect schematic diagram of the user account a is shown in fig. 1: in the account homepage of the user account a, besides basic account information such as an account nickname, a fan number, a attention number and the like of the user account a, historical works issued by the user account a are displayed, wherein the work types of the works, such as a picture work 101 and a video work 102, can be displayed at the upper right side of each historical work. However, in the event that user account B does not trigger playing of the video work 102, the account master page typically only presents a still video screenshot corresponding to the video work 102; moreover, both the picture works 101 and the video works 102 are historical works released by the user account A, and the display form is single; and the account homepage only displays static history information of the user account a, so that the displayed account information is generally old. Therefore, the account information display mode displays the account information with single form and old content, and the user account B is difficult to efficiently and accurately know the account image of the user account A based on the static history information corresponding to the user account A displayed by the account homepage, so that the display effect is poor.
In order to solve the technical problems, the disclosure provides a page display method, a device, a system and a storage medium. In the method, after the triggering operation of the user account on the target homepage of the target account is detected, the client plays the live content of the target account in the target homepage, namely, dynamic real-time information or account information close to real-time corresponding to the target account is displayed in a richer and vivid form, so that a better account image display effect is achieved.
FIG. 2 is a flow chart illustrating a page presentation method according to an embodiment of the present disclosure; as shown in fig. 1, the method is applied to a client corresponding to a user account, and the method may include:
step 202, responding to a triggering operation of a user account for a target homepage of a target account, and acquiring an account state of the target account.
In this embodiment, the user account may enable the client to display the target homepage of the target account by implementing a preset trigger operation on the client. The user account and the target account may be platform accounts corresponding to the network content platform, for example, in a scene of a network live broadcast platform, the user account may be a viewer account and the target account may be a host account. In fact, the user account may be any platform account of the network live platform, and the target account may be any other account besides the user account, which is not limited by the specific form of the user account and the target account in the disclosure.
The above-described triggering operation performed by the user account may take various forms, for example, may actively seek and trigger entry into a target homepage for the user account, trigger a hyperlink pre-associated to the target account, trigger a homepage skip control displayed in association with a target work published by the target account, and the like, which is not limited by the present disclosure. In addition, the target homepage of the target account is a page for displaying account information of the target account, and various information of the target account can be displayed in the page, including but not limited to account ID, account signature, user gender, registration time, account level, attention number, fan number, work list, dynamic message list, and the like, which are not described again.
In an embodiment, the client may initiate a status query request for the target account to the server, and receive a status query result returned by the server in response to the status query request, and then determine an account status of the target account according to the status query result. Because the server typically saves the account status of the target account, the client is able to obtain the account status of the target account by sending a status query request to the server: whether in a live state.
Step 204, determining that the account state of the target account is in a live state, and obtaining target live content including a target object corresponding to the target account.
In an embodiment, the target live content may be obtained only when the operation interface corresponding to the triggering operation is different from the live interface of the live program corresponding to the target account. Under the condition that the target account is determined to be in the live broadcast opening state currently, the client or the server can further detect whether an operation interface corresponding to the user account implementation triggering operation is a live broadcast interface of the live broadcast program or not: if the operation interface is a live interface, the user account is indicated to implement the triggering operation when watching the live program, and at this time, the user account enters the target homepage of the target account, which is not always in order to watch the real-time image of the target account, but is very likely to be in order to watch account information or historical works of the target account, so that in the scene, in order to ensure that the account display resource displays live content, only a static homepage including the basic account information is required to be displayed. Otherwise, if the trigger interface is different from the live interface, it indicates that the user account does not implement the trigger operation when watching the live program, but enters the target homepage from other interfaces, where the user account enters the target homepage of the target account to view account information of the target account, and the user account hopes to view real-time account images of the target account with high probability, so that live content can be displayed in the target homepage in the scene, so that the user account views dynamic account images corresponding to the target account.
In an embodiment, the client may also obtain, from the server, a real-time video stream of a live program corresponding to the target account, where a live frame corresponding to the real-time video stream may include the target object. At this time, the client can take the live video stream containing the target object as the target live content, thereby realizing the real-time display effect of the target object corresponding to the target account in the target homepage, namely realizing the real-time dynamic display of the account image, and compared with the display mode of static history information, the real-time performance is higher, and the display effect of the account image is effectively improved.
In an embodiment, the client may initiate a live content acquisition request for the target account to the server, and then receive the target live content returned by the server in response to the live content acquisition request. Specifically, the client may determine the cache content of the live program corresponding to the target account, and display the cache content as the live content in the target homepage, that is, the live content displayed by the client may include the cache content of the live program corresponding to the target account. As an exemplary embodiment, the server may periodically generate the cache content of the live program corresponding to the target account, at this time, the client may initiate a page acquisition request for the target homepage to the server, and then receive the page data corresponding to the target homepage returned by the server, where the page data may include the cache content for forming the live content generated in the cache period closest to the receiving time of the page acquisition request. At the moment, the service end caches the live program of the target account, so that the storage space of the service end and the strong processing capacity of the live program are effectively utilized; and the cache content of the server can be simultaneously provided for a plurality of user accounts, so that the utilization rate of the cache content is effectively improved relative to the respective cache of the live programs of each client. In fact, as an exemplary embodiment, the client may periodically generate the cache content of the live program corresponding to the target account; the live broadcast content may be formed according to a cache content generated in a cache period closest to a trigger time corresponding to the trigger operation. At this time, the client caches the live program, so that no matter how the user account performs the triggering operation at any time, the client can display the live program in the target homepage according to the locally stored cached content, thereby avoiding network congestion possibly caused by temporarily acquiring the live program when the network condition is poor, and further causing overlong waiting time of the user.
In an embodiment, the client may obtain live content of the target account, identify image content of each image frame of the live content, determine a screening image frame in which the image content includes the target object, and generate the target live content using the screening image frame. Through the process, the client can screen the screening image frames containing the target object, thereby being beneficial to realizing more accurate image frame screening effect, wherein the determined screening image frames contain the target object, and further, the target live broadcast content contains images without the target object
And the frame ensures the display efficiency of the target live broadcast content.
Further, the client may sequentially determine the display parameters of the filtered image frames, and then generate the target live broadcast content using the filtered image frames with the display parameters in the preset parameter interval, where the display parameters may include chromaticity, brightness, and/or saturation. Through the process, the client can ensure that the video frame images of the target live broadcast content all accord with preset display parameters, so that the display style is unified, and further optimized display effect is realized; and the method can reduce the possible waste of calculation power caused by processing part of image frames (the part of image frames often have difficulty in displaying the account image of the target account) which do not meet the preset display conditions in the live broadcast picture as much as possible, and improves the generation efficiency of the target live broadcast program.
In an embodiment, in order to ensure that the target live content necessarily includes the target object, so as to improve the information density and the information display efficiency of the target live content, the client may obtain the live content of the target account, then perform a cropping process on a target area including the target object in a live image of the live content to obtain a cropping image, and then use the cropping image to generate the target live content.
Further, since the display area of the live broadcast content in the target homepage often has a certain area size, and the size may not completely coincide with the picture size of the live broadcast picture, a cropping process is required to be performed on the live broadcast picture generated by the live broadcast program to obtain the live broadcast content with the area size, where the live broadcast content may include the picture content obtained by the cropping process on the live broadcast picture generated by the live broadcast program corresponding to the target account. In addition, corresponding to the foregoing embodiment, the live broadcast picture that is cut here may be an implementation live broadcast picture corresponding to the live broadcast program, or may be a live broadcast picture corresponding to the foregoing cached content. The client may implement the cropping in various manners, and as an exemplary embodiment, to ensure that an account image (face image) of a target account is fully displayed in the live broadcast content obtained after cropping, an object recognition model may be used to recognize a target area containing a target object in the live broadcast picture, and crop a cropping picture containing the target area from the live broadcast picture; the object recognition model can be obtained by using a first sample live image marked with an object area through a supervised learning process or using a second sample live image not marked with the object area through an unsupervised learning process, and is used for processing the live image of the live program and outputting a target area containing a target object in the live image. At the moment, the target area of the target object in the live broadcast picture is identified by using the object identification model which is trained in advance, so that the accurate identification of the target object in the live broadcast picture can be ensured, and the batch identification is convenient to realize so as to improve the identification efficiency, thereby being beneficial to realizing the accurate and efficient generation of target live broadcast content. Alternatively, to reduce the workload in the cropping process, as an exemplary embodiment, the client may also crop in the live view according to a predefined cropping area to obtain a cropping image, where the predefined cropping area is determined according to the history display area of the target object. The method not only reduces the workload of boundary calculation in the cutting process, but also is beneficial to realizing the rapid and efficient generation of target live broadcast content.
And 206, displaying the target live content in the target homepage.
In an embodiment, the client may identify and determine a corresponding preset display area in the target homepage according to a preset configuration parameter, and display the target live content through the preset display area, thereby allowing the user account to configure the display position of the target live content in a user-defined manner. Or, the preset display area corresponding to the area configuration request can be determined in the target homepage in response to the received area configuration request, and the target live broadcast content is displayed through the preset display area, so that the preset display area is configured, and the display speed of the target live broadcast content is increased.
In an embodiment, the target homepage may be used for displaying multimedia content associated with the target account, and in this case, in order to ensure effective distinction between the target live content displayed in the same target homepage and other multimedia content, a display style of the target live content may be preset, and then the target live content is displayed according to the preset display style, so that the display of the target live content is different from other multimedia content in the target homepage.
Through the embodiment, after the user account triggers the target homepage of the target account, if the current target account is in the live broadcast opening state, the live broadcast content of the account can be played in the target homepage. Therefore, the live content of the target account is played in the target homepage, namely, dynamic real-time information or information close to real-time corresponding to the target account is displayed in a richer and lively mode, so that a user account can conveniently and efficiently know the account image of the target account, and a better account image display effect is achieved.
Fig. 3 is a flow chart illustrating another page presentation method according to an embodiment of the present disclosure. As shown in fig. 3, the method is applied to a server, and the method may include:
step 302, determining an account state of a target account in response to a state query request about the target account sent by a user account, wherein the state query request is sent by the user account after detecting a triggering operation implemented on a target homepage of the target account.
In this embodiment, the client may send a page acquisition request for the target homepage to the server after detecting a trigger operation performed by the user account for the target homepage of the target account. The request can carry identification information such as account ID of the target account, so that the server side can determine the target account corresponding to the page acquisition request according to the identification information, and further execute subsequent processing procedures for the target account.
Step 304, determining that the account state of the target account is in a live state, and returning target live content including a live object corresponding to the target account to the user account, so that the user account displays the target live content in the target homepage.
In an embodiment, after determining that the account status of the target account is in the live status, the server may return a status notification message to the client to inform the client of the live status. Accordingly, the client can return the live broadcast content acquisition request to the server after receiving the state notification message, and the server can further return the target live broadcast content to the client in response to the live broadcast content acquisition request, so as to ensure that the target live broadcast content is returned to the client in response to the request of the client. In practice, the server side can directly return the target live content to the client side after determining that the account state of the target account is in the live state, so as to accelerate the response speed of the target live content, reduce the waiting time of the user account corresponding to the client side and improve the user experience.
In an embodiment, the server may further cache live content of the target account, where the server may determine a receiving time of the live content obtaining request, and then determine, as the target live content, the live content cached at a time closest to the receiving time, where the target live content may be a cache segment. The server caches the live programs in progress in the target accounts, and the cached content obtained by the server caching can be provided for a plurality of user accounts, so that the storage space of the server is fully utilized, and the utilization rate of the cached content corresponding to the live programs is effectively improved.
In an embodiment, the server may obtain live content of the target account, identify image content of each image frame of the live content, determine a screening image frame in which the image content includes the target object, and generate the target live content by using the screening image frame. At this time, the server screens the image frames in the live broadcast picture, so that the image frames which are not satisfied with the preset display conditions are conveniently screened out, the image frames which are returned to the server and cannot effectively display the account image of the target account in the live broadcast content are reduced to a certain extent, and the network transmission efficiency of the live broadcast content is improved and the display efficiency of the target live broadcast content is ensured by reducing the transmission of the invalid image frames.
Further, the server may sequentially determine the display parameters of the filtered image frames, and then generate the target live broadcast content by using the filtered image frames with the display parameters in the preset parameter interval, where the display parameters may include chromaticity, brightness and/or saturation. Through the process, the server can ensure that the video frame images of the target live broadcast content all accord with preset display parameters, so that the display style is unified, and further optimized display effect is realized; and the occupation of network bandwidth and invalid processing possibly brought by processing partial image frames (the partial image frames often have difficulty in displaying the account image of the target account) which do not meet the preset display conditions in the live broadcast picture can be reduced as much as possible, and the generation and transmission efficiency of the target live broadcast program is improved.
In an embodiment, the server may obtain the live content of the target account, then perform a cropping process on a target area including the target object in the live image of the live content to obtain a cropped image, and then use the cropped image to generate the target live content. The server cuts the live broadcast picture to obtain live broadcast content, so that the live broadcast content transmitted to the client only contains the cut part of picture content, the target live broadcast content is ensured to necessarily contain target objects, and the information density and the information display efficiency of the target live broadcast content are improved; and the invalid area which does not contain the portrait in the original live broadcast picture is reduced, and the transmission data volume of the live broadcast content is reduced, so that the network transmission pressure of the live broadcast content is reduced.
In an embodiment, since the display area of the live content in the target homepage often has a determined picture proportion and size, and the proportion or size may not match the picture proportion or size of the live picture, the live picture generated by the live program needs to be cut to obtain the live content meeting the picture proportion and size, and the live content may include the picture content obtained by cutting the live picture generated by the live program corresponding to the target account. Moreover, corresponding to the foregoing embodiment, the live broadcast picture cut here may be a live broadcast picture corresponding to the live broadcast program, or may be a live broadcast picture corresponding to the foregoing cached content. The live broadcast picture can be cut in a plurality of cutting modes, as an exemplary embodiment, in order to ensure that the account image (face image) of the target account is fully displayed in the live broadcast content obtained after cutting, a target area containing a target object in the live broadcast picture can be identified by using an object identification model, and a cutting picture containing the target area is obtained by cutting from the live broadcast picture; the object recognition model is obtained by training a first sample live broadcast picture marked with an object area through a supervised learning process or a second sample live broadcast picture not marked with the object area through an unsupervised learning process and is used for processing the live broadcast picture of the live broadcast program and outputting a target area containing a target object in the live broadcast picture. As another exemplary embodiment, to reduce the workload in the cropping process, the cropping image may also be obtained by cropping in the live broadcast image according to a predefined cropping area, where the predefined cropping area may be determined according to the historical display area of the target object, and cropping is performed by the predefined cropping area at a fixed position in the live broadcast image, which not only greatly reduces the workload of boundary calculation in the cropping process, but also helps to increase the cropping speed and improve the display efficiency of the live broadcast content.
By the embodiment, the server responds to the received page acquisition request from the client, and returns the page data containing the live content to the user account when the target account is in the live start state, so that the client can play the live content of the target account when the target homepage of the target account is displayed, and the user account can view the dynamic live broadcast picture of the target account in the target homepage, namely, the client can display the dynamic real-time information or the information close to real-time information corresponding to the target account in a richer and more vivid form, thereby being convenient for the user account to conveniently and efficiently know the account image of the target account, and further realizing the better account image display effect.
The following describes in detail a specific processing procedure of the server and the client corresponding to the user account, taking a target homepage that the user account requests to acquire and display the target account from the server in a live broadcast scenario as an example, with reference to a flowchart of another page display method shown in fig. 4. As shown in fig. 4, the method may include:
step 402, after detecting a triggering operation of the user account for the target homepage of the target account, the client sends a page acquisition request to the server.
In this embodiment, the client having logged in the user account may detect a trigger operation performed by the user account (which may be understood as a user corresponding to the user account). For example, the user account may actively seek the target account and trigger to request the presentation of the target homepage; the user account can trigger the hyperlink to request to display the target homepage after receiving the hyperlink pre-associated with the target account pushed by the server or shared by other accounts, and can trigger the homepage skip control of the target account which is displayed in association with the target work to request to display the target homepage when watching the target work published by the target account.
In this embodiment, after detecting the above trigger operation of the user account, the client may first determine a target account such as a hosting account corresponding to the trigger operation, and then send a page acquisition request including account ID, account nickname and other account identification information of the target account to the server, so as to request the server to acquire page data corresponding to the target homepage for display.
Step 404, the server determines whether the target account is in a live-on state.
After receiving a page acquisition request sent by a client, the server can firstly extract account identification information from the request to determine a target account corresponding to the request, and then inquire whether the current live state of the target account is a live start state or not in account state information maintained by the server or associated equipment thereof.
If the target account is currently in the live broadcast opening state, indicating that the target account is currently recording and playing live broadcast programs, and turning to step 406; otherwise, if the target account is currently in the live closed state, it indicates that the target account is not currently recording and playing live programs, and the process goes to step 418.
Step 406, the server determines whether the operation interface corresponding to the triggering operation is a live interface.
And under the condition that the target account is in the live broadcast opening state currently, the server side can further judge whether an operation interface corresponding to the user account implementation triggering operation is a live broadcast interface or not. For example, the client may carry the interface information of the operation interface in the page acquisition request sent by the client, and at this time, the server may determine whether the operation interface is a live broadcast interface according to the interface information carried in the request; or, the server may send an interface information acquisition request to the client, and further determine whether the operation interface is a live interface after receiving the interface information corresponding to the operation interface returned by the client. It should be noted that, the criterion for determining whether the operation interface is a live broadcast interface may be preset, for example, it may be set that when the operation interface includes a live broadcast screen in a full-screen playing state, the operation interface is determined to be a live broadcast interface; alternatively, as long as the operation interface includes a live broadcast picture of the live broadcast program corresponding to the target account, the operation interface may be determined to be a live broadcast picture.
If it is determined that the operation interface corresponding to the triggering operation implemented by the user account is a live interface, it indicates that the user account is the triggering operation implemented under the condition that the client plays the live program, that is, the user account does not want to view the live program in the target homepage at this time with a high probability, and step 418 is performed at this time; otherwise, if it is determined that the operation interface corresponding to the trigger operation implemented by the user account is different from the live interface, it indicates that the user account is not the trigger operation implemented under the condition that the client plays the live program, that is, the user account is highly likely to want to view the live program in the target homepage at this time, and the process proceeds to step 408.
In step 408, the server (or client) obtains live broadcast data corresponding to the live broadcast program.
In an embodiment, the server may obtain live broadcast data corresponding to a live broadcast program of the target account. For example, the server or the client may determine the cache content of the live program corresponding to the target account, and display the cache content as the live content in the target homepage, that is, the live content displayed by the client may include the cache content of the live program corresponding to the target account. As an exemplary embodiment, the server may periodically generate the cache content of the live program corresponding to the target account, at this time, the client may initiate a page acquisition request for the target homepage to the server, and then receive the page data corresponding to the target homepage returned by the server, where the page data may include the cache content for forming the live content generated in the cache period closest to the receiving time of the page acquisition request. For another example, to meet the real-time performance of the displayed live content as much as possible, the server side may determine the live broadcast data stream corresponding to the target program of the target account as live broadcast data, so as to provide the user account with live broadcast content closer to the real-time account image of the target account, thereby improving the user experience of the target account.
At this point, the server may perform steps 410-414 described below and return the generated live content to the client for playback in the target home page presented. Or, the server may return the determined live broadcast data to the client, so that the client executes the following steps 410-414 to generate live broadcast content, and plays the generated live broadcast content in the displayed target homepage. The following steps 410-414 are illustrated with server-side execution examples.
In another embodiment, the client may also obtain live broadcast data corresponding to the live broadcast program of the target account. For example, the server may return, when determining that the operation interface corresponding to the triggering operation implemented by the user account is a live interface, static page data of the target account and cached content generated in a caching period closest to the receiving time of the client, so that the client determines the cached content as live data. At this time, the client caches the live program, so that no matter how the user account performs the triggering operation at any time, the client can display the live program in the target homepage according to the locally stored cached content, thereby avoiding the aggravation of network congestion possibly caused by temporarily acquiring the live program when the network condition is poor, and further causing overlong waiting time of the user.
In the process of caching the live program by the server or the client, the caching period may be preset or flexibly adjusted according to the actual situation, for example, may be 3s, 5s, 10s, etc., which is not limited in the disclosure.
In step 410, the server (or client) screens the image frames in the live broadcast frame that satisfy the preset display condition.
In an embodiment, due to factors such as light, background, environment, and character movement, the display effect parameters of part of the image frames in the live broadcast picture generated by the live broadcast program may be different from other normal image frames, so that the image frames in the live broadcast picture generated by the live broadcast program can be screened by the preset display condition to screen the image frames meeting the preset display condition. That is, the above-mentioned screening process only retains the image frames satisfying the preset display condition among the image frames corresponding to the live broadcast picture.
The preset display condition may include that at least one of chromaticity, brightness, saturation, contrast, or other display effect parameters accords with a preset parameter interval, for example, if the saturation of a certain image frame in the live broadcast picture is 35% in the case that the preset saturation display interval is 40% -80%, the image frame is removed from the live broadcast picture. Through the screening process, partial image frames which do not meet preset display conditions (the partial image frames are difficult to display account images of a target account) in the live broadcast picture can be reduced as much as possible, and further network bandwidth occupation and invalid processing possibly caused by processing the partial image frames are avoided to a certain extent.
In step 412, the server (or client) cuts the picture content of the live picture.
In an embodiment, since the display area of the live content in the target homepage often has a certain picture proportion and size, and the proportion or size may not match the picture proportion or size of the live picture, a cropping process is required to be performed on the live picture corresponding to the live data to obtain the live content meeting the picture proportion and size. The cut live broadcast picture may be a live broadcast picture corresponding to the live broadcast program or a live broadcast picture corresponding to the cached content, which corresponds to the live broadcast data acquisition manner in the foregoing embodiment.
The live broadcast picture can be cut in a plurality of cutting modes, as an exemplary embodiment, in order to ensure that the account image (face image) of the target account is fully displayed in the live broadcast content obtained after cutting, a target area containing a target object in the live broadcast picture can be identified by using an object identification model, and a cutting picture containing the target area is obtained by cutting from the live broadcast picture; the object recognition model can be obtained by using a first sample live image marked with an object area through a supervised learning process or using a second sample live image not marked with the object area through an unsupervised learning process, and is used for processing the live image of the live program and outputting a target area containing a target object in the live image. At the moment, the target area of the target object in the live broadcast picture is identified by using the object identification model which is trained in advance, so that the accurate identification of the target object in the live broadcast picture can be ensured, and the batch identification is convenient to realize so as to improve the identification efficiency, thereby being beneficial to realizing the accurate and efficient generation of target live broadcast content. In the training stage of the image recognition model, a live broadcast picture in a live broadcast scene can be used as a training sample, the training sample can comprise a positive sample containing a portrait area and a negative sample not containing a portrait area, and the positive sample and the negative sample both comprise live broadcast pictures in various parameter scenes, so that the accuracy and convergence speed of model training are ensured by the aid of the training samples which are as abundant and various as possible.
As another exemplary embodiment, to reduce the workload in the cropping process, the client may also crop in the live broadcast frame according to a predefined cropping area to obtain a cropping frame, where the predefined cropping area is determined according to the historical display area of the target object, which not only greatly reduces the workload of boundary calculation in the cropping process, but also helps to increase the cropping speed and the display efficiency of the live broadcast content. For example, parameters such as the shape, the size and/or the position of a predefined cutting area can be preset in the live broadcast picture, so that when in cutting, the preset parameters can be directly adopted for cutting a plurality of live broadcast pictures corresponding to the target data. For another example, the live broadcast picture corresponding to the live broadcast data can be equally divided into n parts (n is an integer greater than 1) according to the long side, and then one or more parts of the corresponding display areas are used as the predefined cutting areas; for a common live broadcast picture with the picture proportion of 16:9, the long side of the live broadcast picture can be divided into 16 parts, and the display area corresponding to the 3 rd part to the 11 th part is determined to be a pre-positioning cutting area, so that the calculated amount of the cutting boundary is reduced, and the portrait picture corresponding to the live broadcast account is ensured to be positioned in the cutting area as much as possible. Of course, in the foregoing cutting process, the picture area outside the predefined cutting area may be reserved and the picture area inside the predefined cutting area may be removed, and the specific cutting manner may be adjusted according to the distribution rule of the target object in the live broadcast picture, which is not limited in the disclosure.
In addition, as an exemplary embodiment, the live broadcast frames corresponding to the live broadcast data may be screened first, and then the screened image frames may be cut; alternatively, as another exemplary embodiment, the live broadcast picture corresponding to the live broadcast data may be cut first and then the image frame corresponding to the cut picture content may be screened. In other words, the "filter video frame" in step 412 and the "clip frame content" in step 414 do not have a certain sequence, and may be adjusted according to the actual situation. Also, both the above steps 412 and 414 are optional steps, and thus, only one of the above steps 412 and 414 may be performed; either the two may not be executed, but the live content may be generated directly according to the live data obtained in step 408, that is, step 414 may be executed directly after step 408 is executed, and the specific process is not repeated.
In step 414, the server (or client) generates live content using the filtered image frames and/or the cropped screen content.
After the live broadcast data, the screened image frames and/or the cut-out picture content are obtained, the front-back sequence relation of each video frame image can be determined according to the sequence relation of the original live broadcast picture corresponding to each video frame image in the time axis (the front-back sequence relation of the video frame image is the same as the sequence relation of the original live broadcast picture corresponding to each video frame image in the time axis), parameters such as the video frame image, the frame rate (the preset value or the frame rate the same as the live broadcast program can be adopted) are arranged according to the sequence relation, and then the corresponding video content is generated according to the parameters.
As described above, if steps 410-414 are performed by the server, the server may return the generated live content to the client, and then go to step 416; if steps 410-414 are performed by the client, the client itself may proceed to step 416 after generating live content.
In step 416, the client plays the live content while displaying the target homepage.
As described above, the client has acquired the static page data returned by the server, so after determining (receiving the server return or generating itself) the live content, the client can play the live content in the target homepage when displaying the target homepage generated according to the static page data. The static page data may include an account ID, an account signature, a user gender, a registration time, an account level, a number of people concerned, a number of people in fan, a work list (such as a cover chart of each historical work), a dynamic information list (such as a cover chart of each dynamic work, activity information of a target account, etc.), etc., and the static page data is used to generate a static homepage. The static homepage generated based on the static page data only contains static information such as characters, pictures and the like (the video works need to be clicked and played, and the playing page is not a target homepage).
At this time, the client can automatically play the live content of the target account at the preset position in the target homepage. The target homepage of the target account a shown in the client is shown in fig. 5 after the technical scheme of the present disclosure is adopted when the target account a is in the live broadcast open state. As can be seen from fig. 5, in addition to the static information of the target account a, the LIVE content of the target account a is also shown in the first display position of the work list, and can be marked with a LIVE identifier 501 to distinguish the dynamic LIVE content from other static content in the main. The live content can be automatically played, so that the user account can watch the dynamic real-time account image or the account image close to real-time (i.e. the character image of the anchor user) corresponding to the target account through the live content.
Of course, the display position, the display interface size, whether to play by default, etc. of the live content may be preset by the user account according to specific situations, which is not limited in this disclosure.
In step 418, the server returns static page data of the target homepage to the client.
In step 420, the client presents a static home page for the user account.
When the target account is in a live close state or the operation interface corresponding to the preset operation of the user account is a live interface although the target account is in a live open state, the server may return static page data about the target homepage to the client. Accordingly, after the client receives the static page data, a static homepage can be generated and displayed according to the static page data, and the process is not substantially different from the executing process of responding to the homepage display request of the user account in the related art, and is not repeated herein.
In the following, in connection with a flowchart of another page display method shown in fig. 6, taking a target homepage that a user account requests to obtain and display a target account from a server in a live broadcast scenario as an example, each processing step executed by the server and a client corresponding to the user account in the above process is described. As shown in fig. 6, the method may include:
step 602, after detecting a triggering operation of the user account for the target homepage of the target account, the client sends a page acquisition request to the server. The specific process of this step may be referred to as step 402 in the embodiment shown in fig. 4, and will not be described herein.
Step 604, the server determines whether the target account is in a live-on state.
After receiving a page acquisition request sent by a client, the server can firstly extract account identification information from the request to determine a target account corresponding to the request, and then inquire whether the current live state of the target account is a live start state or not in account state information maintained by the server or associated equipment thereof.
If the target account is currently in the live broadcast opening state, indicating that the target account is currently recording and playing live broadcast programs, and turning to step 606b; otherwise, if the target account is currently in the live closed state, it indicates that the target account is not currently recording and playing live programs, and the step proceeds to step 606a.
In step 606a, the server returns static page data to the client.
Step 606b, the server determines whether the operation interface corresponding to the triggering operation is a live interface.
If it is determined that the target account is currently in the live-on state, the server may further determine whether the operation interface corresponding to the triggering operation performed by the user account is a live interface, and the specific determination process may refer to the relevant record of step 406 in the embodiment shown in fig. 4.
If it is determined that the operation interface corresponding to the triggering operation implemented by the user account is a live interface, step 608a is performed; otherwise, if it is determined that the operation interface corresponding to the triggering operation implemented by the user account is different from the live interface, step 608b is performed.
In step 608a, the server returns static page data to the client.
Step 608b, the server acquires live broadcast data corresponding to the live broadcast program.
After acquiring the live data corresponding to the live program, the server may execute the following steps 610b-616, so that the server is responsible for generating the live content and returning it to the client for playing in the target home page displayed. Alternatively, the server may return the determined live broadcast data to the client (not shown in the figure), so that the client performs the same processing procedure as that of steps 610b-614 to generate live broadcast content, and plays the live broadcast content generated by the server in the target homepage. Since the detailed process of generating live content by the client using live data is not substantially different from the specific process of steps 610b-614 executed by the server, this embodiment is only exemplified by the execution of the server.
In step 610a, the client generates and presents a static home page.
The specific processes of step 606a and step 608a may be referred to as step 418 in the embodiment shown in fig. 4, and the specific processes of step 608b and step 610a may be referred to as step 408 and step 410 in the embodiment shown in fig. 4, respectively, which are not repeated here.
In step 610b, the server screens the image frames meeting the preset display conditions in the live broadcast picture.
In step 612, the server cuts the picture content of the live broadcast picture.
In step 614, the server generates live content by using the filtered image frames and/or the cropped picture content, and returns the live content to the client.
In step 616, the client plays live content in the target home page for the user account.
The specific process of steps 610b-616 may be described with reference to steps 410-416 in the embodiment shown in fig. 4, and will not be described again here.
Corresponding to the embodiments of the page display method described above, the present disclosure also proposes embodiments of the page display device.
Fig. 7 is a schematic block diagram of a page presentation device shown in accordance with an embodiment of the present disclosure. The page display device shown in this embodiment may be suitable for a client corresponding to a network live broadcast application, where the client corresponding to the network live broadcast application includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a wearable device, a personal computer, and the like, and a server corresponding to the network live broadcast application may be a physical server including an independent host or a virtual server borne by a host cluster, and the like. The network live broadcast application can be an application program installed in a terminal or a web page application integrated in a browser, and besides the live broadcast function in the related art, the live broadcast speech can be used for a user account (which can be understood as a user of a audience corresponding to the user account) to view a user homepage (i.e. a target homepage) of a target account, and the page display method disclosed by the disclosure is realized.
As shown in fig. 7, the page display device may include:
a state acquisition module 701 configured to acquire an account state of a target account in response to a trigger operation performed by a user account for a target homepage of the target account;
a content acquisition module 702 configured to determine that an account state of the target account is in a live state, and acquire target live content including a target object corresponding to the target account;
a content presentation module 703 configured to present the target live content in the target homepage.
Optionally, the state acquisition module 701 is further configured to:
a state query request aiming at the target account is initiated to a server, and a state query result returned by the server in response to the state query request is received;
and determining the account state of the target account according to the state query result.
Optionally, the content acquisition module 702 is further configured to:
and acquiring a real-time video stream of the live program corresponding to the target account from a server, wherein a live image corresponding to the real-time video stream contains the target object.
Optionally, the server caches live content of the target account, and the content acquisition module 702 is further configured to:
Initiating a live content acquisition request aiming at the target account to a server;
and receiving the target live broadcast content returned by the server in response to the live broadcast content acquisition request.
Optionally, the content acquisition module 702 is further configured to:
acquiring live broadcast content of the target account;
identifying image content of each image frame of the live content and determining that the image content includes a screening image frame of the target object;
and generating the target live content by using the screening image frames.
Optionally, the method further comprises:
a parameter determination module 704 configured to sequentially determine presentation parameters of the screening image frames, the presentation parameters including chromaticity, luminance, and/or saturation;
an image filtering module 705 is configured to generate the target live content using the filtered image frames with the exhibition parameters in a preset parameter interval.
Optionally, the content acquisition module 702 is further configured to:
acquiring live broadcast content of the target account;
cutting a target area containing the target object in a live broadcast picture of the live broadcast content to obtain a cut picture;
and generating the target live broadcast content by using the cut picture.
Optionally, the content acquisition module 702 is further configured to:
identifying a target area containing the target object in the live broadcast picture by using an object identification model, and cutting the live broadcast picture to obtain a cutting picture containing the target area; the object recognition model is obtained by using a first sample live broadcast picture marked with an object area through a supervised learning process or using a second sample live broadcast picture not marked with the object area through an unsupervised learning process, and is used for processing the live broadcast picture of the live broadcast program and outputting a target area containing a target object in the live broadcast picture; or,
and cutting the live broadcast picture according to a predefined cutting area to obtain the cutting picture, wherein the predefined cutting area is determined according to the historical display area of the target object.
Optionally, the content presentation module 703 is further configured to:
identifying and determining a corresponding preset display area in the target homepage according to preset configuration parameters, and displaying the target live broadcast content through the preset display area;
or,
and responding to the received region configuration request, determining a preset display region corresponding to the region configuration request in the target homepage, and displaying the target live broadcast content through the preset display region.
Optionally, the target homepage is used for displaying multimedia content associated with the target account, and the content displaying module 703 is further configured to:
and displaying the target live broadcast content according to a preset display style, so that the display effect of the target live broadcast content is different from other multimedia content in the target homepage.
Fig. 8 is a schematic block diagram of a page presentation device shown in accordance with an embodiment of the present disclosure. The page display device shown in this embodiment may be suitable for a server corresponding to a live webcast application, where the client corresponding to the live webcast application includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a wearable device, a personal computer, and the like, and the server corresponding to the live webcast application may be a physical server including an independent host or a virtual server borne by a host cluster, and the like. The network live broadcast application can be an application program installed in a terminal or a web page application integrated in a browser, and besides the live broadcast function in the related art, the live broadcast speech can be used for a user account (which can be understood as a user of a audience corresponding to the user account) to view a user homepage (i.e. a target homepage) of a target account, and the page display method disclosed by the disclosure is realized.
As shown in fig. 8, the page display device may include:
a status determining module 801 configured to determine an account status of a target account in response to a status query request about the target account sent by a user account, the status query request being sent by the user account after detecting a trigger operation performed on a target homepage of the target account;
and a content returning module 802 configured to determine that the account state of the target account is in a live state, and return target live content including a live object corresponding to the target account to the user account, so that the user account displays the target live content in the target homepage.
Optionally, the method further comprises:
the request receiving module 803 is configured to receive a live content acquisition request sent by the user account, and use the received live content acquisition request as a precondition for returning the target live content to the user account.
Optionally, the method further comprises:
a content caching module 804 configured to cache live content of the target account;
the content return module 802 is further configured to:
determining the receiving moment of the live content acquisition request;
And determining the live broadcast content cached at the time closest to the receiving time as the target live broadcast content.
Optionally, the content return module 802 is further configured to:
acquiring live broadcast content of the target account;
identifying image content of each image frame of the live content and determining that the image content includes a screening image frame of the target object;
and generating the target live content by using the screening image frames.
Optionally, the method further comprises:
a parameter determination module 805 configured to sequentially determine presentation parameters of the screening image frames, the presentation parameters including chromaticity, luminance, and/or saturation;
an image filtering module 806 is configured to generate the target live content using the filtered image frames with the exhibition parameters in a preset parameter interval.
Optionally, the content return module 802 is further configured to:
acquiring live broadcast content of the target account;
cutting a target area containing the target object in a live broadcast picture of the live broadcast content to obtain a cut picture;
and generating the target live broadcast content by using the cut picture.
Optionally, the content return module 802 is further configured to:
Identifying a target area containing the target object in the live broadcast picture by using an object identification model, and cutting the live broadcast picture to obtain a cutting picture containing the target area; the object recognition model is obtained by using a first sample live broadcast picture marked with an object area through a supervised learning process or using a second sample live broadcast picture not marked with the object area through an unsupervised learning process, and is used for processing the live broadcast picture of the live broadcast program and outputting a target area containing a target object in the live broadcast picture; or,
and cutting the live broadcast picture according to a predefined cutting area to obtain the cutting picture, wherein the predefined cutting area is determined according to the historical display area of the target object.
The embodiment of the disclosure also proposes an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method as described in any of the embodiments above.
Embodiments of the present disclosure also provide a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the page presentation method described in any one of the above embodiments.
Embodiments of the present disclosure also provide a computer program product configured to perform the page presentation method of any of the above embodiments.
Fig. 9 is a schematic block diagram of an electronic device shown in accordance with an embodiment of the present disclosure. For example, electronic device 900 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, and the like.
Referring to fig. 9, an electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and a communication component 918.
The processing component 902 generally controls overall operation of the electronic device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the page presentation method described above. Further, the processing component 902 can include one or more modules that facilitate interaction between the processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operations at the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type of volatile or nonvolatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 906 provides power to the various components of the electronic device 900. Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 900.
The multimedia component 908 comprises a screen between the electronic device 900 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front-facing camera and/or a rear-facing camera. When the electronic device 900 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 904 or transmitted via the communication component 918. In some embodiments, the audio component 910 further includes a speaker for outputting audio signals.
The I/O interface 912 provides an interface between the processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 914 includes one or more sensors for providing status assessment of various aspects of the electronic device 900. For example, the sensor assembly 914 may detect an on/off state of the electronic device 900, a relative positioning of the components, such as a display and keypad of the electronic device 900, the sensor assembly 914 may also detect a change in position of the electronic device 900 or a component of the electronic device 900, the presence or absence of a user's contact with the electronic device 900, an orientation or acceleration/deceleration of the electronic device 900, and a change in temperature of the electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 918 is configured to facilitate communication between the electronic device 900 and other devices in a wired or wireless manner. The electronic device 900 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 918 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 918 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an embodiment of the present disclosure, electronic device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the page presentation methods described above.
In an embodiment of the present disclosure, there is also provided a non-transitory computer-readable storage medium, such as memory 904, comprising instructions executable by processor 920 of electronic device 900 to perform the above-described page presentation method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It is noted that in this disclosure relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing has outlined the detailed description of the method and apparatus provided by the embodiments of the present disclosure, and the detailed description of the principles and embodiments of the present disclosure has been provided herein with the application of the specific examples, the above examples being provided only to facilitate the understanding of the method of the present disclosure and its core ideas; meanwhile, as one of ordinary skill in the art will recognize, in light of the concepts of the present disclosure, variations may be made in terms of the specific embodiments and application ranges, and in light of the foregoing, the present disclosure should not be construed as limited to the present disclosure.

Claims (36)

CN202010963492.XA2020-09-142020-09-14Page display method, device, system and storage mediumActiveCN112153396B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010963492.XACN112153396B (en)2020-09-142020-09-14Page display method, device, system and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010963492.XACN112153396B (en)2020-09-142020-09-14Page display method, device, system and storage medium

Publications (2)

Publication NumberPublication Date
CN112153396A CN112153396A (en)2020-12-29
CN112153396Btrue CN112153396B (en)2023-09-26

Family

ID=73892523

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010963492.XAActiveCN112153396B (en)2020-09-142020-09-14Page display method, device, system and storage medium

Country Status (1)

CountryLink
CN (1)CN112153396B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114817691A (en)*2021-01-202022-07-29腾讯科技(北京)有限公司Page display method and device, electronic equipment and computer storage medium
CN113301441B (en)*2021-05-212023-02-03北京字跳网络技术有限公司Application program interaction method and device and electronic equipment
CN113805762B (en)*2021-09-292023-06-09腾讯科技(深圳)有限公司Page content display method, related device, equipment and storage medium
CN113946246A (en)*2021-10-082022-01-18北京达佳互联信息技术有限公司Page processing method and device, electronic equipment and computer readable storage medium
CN115967814A (en)*2021-10-112023-04-14北京字跳网络技术有限公司Live content display method and device, electronic equipment and readable storage medium
CN116137662B (en)*2021-11-182025-05-06北京有竹居网络技术有限公司 Page display method and device, electronic device, storage medium and program product
CN114036115A (en)*2021-11-252022-02-11北京达佳互联信息技术有限公司Personal homepage display method, device, electronic apparatus, medium and program product

Citations (19)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106131584A (en)*2016-07-252016-11-16北京金山安全软件有限公司Live broadcast information display method and device and electronic equipment
CN106506448A (en)*2016-09-262017-03-15北京小米移动软件有限公司 Live display method, device and terminal
CN106528632A (en)*2016-10-102017-03-22北京小米移动软件有限公司Live broadcast interface adjustment method, live broadcast interface adjustment apparatus and electronic device
CN107147939A (en)*2017-05-052017-09-08百度在线网络技术(北京)有限公司Method and apparatus for adjusting net cast front cover
CN108848393A (en)*2018-07-262018-11-20广州酷狗计算机科技有限公司Entrance methods of exhibiting, device, equipment and storage medium
CN108881994A (en)*2018-06-292018-11-23北京微播视界科技有限公司Video access methods, client, device, terminal, server and storage medium
CN109168073A (en)*2018-10-192019-01-08广州酷狗计算机科技有限公司The method and apparatus that direct broadcasting room cover is shown
CA3028220A1 (en)*2018-12-202019-03-01Cae Inc.Dynamically adjusting image characteristics in real-time
CN110087119A (en)*2019-04-262019-08-02广州酷狗计算机科技有限公司Homepage display methods, device and computer readable storage medium is broadcast live
CN110113625A (en)*2019-05-102019-08-09广州酷狗计算机科技有限公司Video broadcasting method, equipment and computer readable storage medium
CN110213597A (en)*2018-03-302019-09-06腾讯科技(深圳)有限公司A kind of method and apparatus entering live streaming room by browser
CN110418152A (en)*2019-07-262019-11-05广州华多网络科技有限公司It is broadcast live the method and device of prompt
WO2020000973A1 (en)*2018-06-292020-01-02北京微播视界科技有限公司Information access method, client, information access apparatus, terminal, server, and storage medium
CN110896490A (en)*2019-12-062020-03-20网易(杭州)网络有限公司Identity display method, device and equipment and readable storage medium
CN111010590A (en)*2018-10-082020-04-14传线网络科技(上海)有限公司Video clipping method and device
CN111131875A (en)*2019-12-062020-05-08北京达佳互联信息技术有限公司Information display method, device and system, electronic equipment and storage medium
CN111343467A (en)*2020-02-102020-06-26腾讯科技(深圳)有限公司Live broadcast data processing method and device, electronic equipment and storage medium
CN111428150A (en)*2020-04-172020-07-17北京达佳互联信息技术有限公司 Information display method, device, electronic device, server and storage medium
CN111491173A (en)*2020-04-152020-08-04腾讯科技(深圳)有限公司Live broadcast cover determining method and device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10045090B2 (en)*2014-08-112018-08-07Comcast Cable Communications, LlcMerging permissions and content access
CN104732380A (en)*2015-02-162015-06-24小米科技有限责任公司Method and device for conducting account transfer processing
WO2018170272A1 (en)*2017-03-162018-09-20Timothy Joseph ErskineAutomatically controlling a multiplicity of televisions over a network by the outputs of a subset of interfaces

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106131584A (en)*2016-07-252016-11-16北京金山安全软件有限公司Live broadcast information display method and device and electronic equipment
CN106506448A (en)*2016-09-262017-03-15北京小米移动软件有限公司 Live display method, device and terminal
CN106528632A (en)*2016-10-102017-03-22北京小米移动软件有限公司Live broadcast interface adjustment method, live broadcast interface adjustment apparatus and electronic device
CN107147939A (en)*2017-05-052017-09-08百度在线网络技术(北京)有限公司Method and apparatus for adjusting net cast front cover
CN110213597A (en)*2018-03-302019-09-06腾讯科技(深圳)有限公司A kind of method and apparatus entering live streaming room by browser
CN108881994A (en)*2018-06-292018-11-23北京微播视界科技有限公司Video access methods, client, device, terminal, server and storage medium
WO2020000972A1 (en)*2018-06-292020-01-02北京微播视界科技有限公司Video access method, client, video access apparatus, terminal, server, and storage medium
WO2020000973A1 (en)*2018-06-292020-01-02北京微播视界科技有限公司Information access method, client, information access apparatus, terminal, server, and storage medium
CN108848393A (en)*2018-07-262018-11-20广州酷狗计算机科技有限公司Entrance methods of exhibiting, device, equipment and storage medium
CN111010590A (en)*2018-10-082020-04-14传线网络科技(上海)有限公司Video clipping method and device
CN109168073A (en)*2018-10-192019-01-08广州酷狗计算机科技有限公司The method and apparatus that direct broadcasting room cover is shown
CA3028220A1 (en)*2018-12-202019-03-01Cae Inc.Dynamically adjusting image characteristics in real-time
CN110087119A (en)*2019-04-262019-08-02广州酷狗计算机科技有限公司Homepage display methods, device and computer readable storage medium is broadcast live
CN110113625A (en)*2019-05-102019-08-09广州酷狗计算机科技有限公司Video broadcasting method, equipment and computer readable storage medium
CN110418152A (en)*2019-07-262019-11-05广州华多网络科技有限公司It is broadcast live the method and device of prompt
CN110896490A (en)*2019-12-062020-03-20网易(杭州)网络有限公司Identity display method, device and equipment and readable storage medium
CN111131875A (en)*2019-12-062020-05-08北京达佳互联信息技术有限公司Information display method, device and system, electronic equipment and storage medium
CN111343467A (en)*2020-02-102020-06-26腾讯科技(深圳)有限公司Live broadcast data processing method and device, electronic equipment and storage medium
CN111491173A (en)*2020-04-152020-08-04腾讯科技(深圳)有限公司Live broadcast cover determining method and device, computer equipment and storage medium
CN111428150A (en)*2020-04-172020-07-17北京达佳互联信息技术有限公司 Information display method, device, electronic device, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
快手主播的主页在哪里? - 资讯搜索;卡饭网;《https://m.kafan.cn/A/23exp8e1n6.html》;20190720;正文第1页-第3页最后1段*

Also Published As

Publication numberPublication date
CN112153396A (en)2020-12-29

Similar Documents

PublicationPublication DateTitle
CN112153396B (en)Page display method, device, system and storage medium
CN108831448B (en) Method, device and storage medium for voice control of intelligent equipment
CN112367553B (en)Message interaction method and device, electronic equipment and storage medium
CN111343476A (en)Video sharing method and device, electronic equipment and storage medium
CN111866596A (en)Bullet screen publishing and displaying method and device, electronic equipment and storage medium
CN105979383A (en)Image acquisition method and device
CN112511779B (en)Video data processing method and device, computer storage medium and electronic equipment
CN111866531A (en)Live video processing method and device, electronic equipment and storage medium
US20220150598A1 (en)Method for message interaction, and electronic device
CN113099262B (en)Information display method and device, electronic equipment and storage medium
US20210029209A1 (en)Method, device, terminal, server, system and storage medium for displaying information
CN113365099B (en)Bullet screen issuing method, bullet screen receiving method, bullet screen issuing device, electronic equipment and storage medium
CN112312190A (en) Display method, device, electronic device and storage medium for video picture
CN112291631A (en)Information acquisition method, device, terminal and storage medium
CN105847936A (en)Display control method and device, and terminal
US20220078221A1 (en)Interactive method and apparatus for multimedia service
US20210329047A1 (en)Method, apparatus, electronic device and storage medium for acquiring programs in live streaming room
CN112333518B (en)Function configuration method and device for video and electronic equipment
CN114554271A (en)Information pushing and displaying method and device, electronic equipment and storage medium
CN112261453A (en)Method, device and storage medium for transmitting subtitle splicing map
CN112616053A (en)Transcoding method and device of live video and electronic equipment
CN107835458A (en)Player method, device and the electronic equipment of content of multimedia
CN110636318A (en)Message display method, message display device, client device, server and storage medium
CN112685599B (en)Video recommendation method and device
CN110913276B (en)Data processing method, device, server, terminal and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp