CN116166359A - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116166359A
CN116166359A CN202310101558.8A CN202310101558A CN116166359A CN 116166359 A CN116166359 A CN 116166359A CN 202310101558 A CN202310101558 A CN 202310101558A CN 116166359 A CN116166359 A CN 116166359A
Authority
CN
China
Prior art keywords
resource
target
account
playing
target media
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.)
Pending
Application number
CN202310101558.8A
Other languages
Chinese (zh)
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 Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202310101558.8A priority Critical patent/CN116166359A/en
Publication of CN116166359A publication Critical patent/CN116166359A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a data processing method, a data processing device, electronic equipment and a storage medium, and belongs to the technical field of Internet. The method comprises the following steps: playing the target media resource; responding to target interactive operation of the target media resource or responding to the condition that the playing time length of the target media resource reaches the preset time length, and displaying resource entry information on a playing interface of the target media resource; the resource entry information is used to present recommended media resources after being triggered. In the technical scheme provided by the disclosure, through evaluating the interactive operation of the target media resource and the playing time length of the target media resource, when the target interactive operation exists or the playing time length of the target media resource reaches the preset time length condition, the resource entry information is displayed, that is to say, the resource entry information is in non-fixed display, so that the flexibility is provided, the resource waste caused by fixedly displaying the resource entry information is avoided, and the utilization rate of the interface resource display space is effectively improved.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a data processing method, a data processing device, electronic equipment and a storage medium.
Background
With the rapid development of internet technology, more internet platforms for propagating media resources are presented, and users can view media resources released by other accounts by using the internet platforms. At present, the display mode of the interface in the internet platform is single, the interaction of the user on the related interface is reduced, and the utilization rate of the interface resource display space is reduced.
Disclosure of Invention
The data processing method, device, electronic equipment and storage medium at least solve the problem that the utilization rate of interface resource display space is low in the related technology. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
playing the target media resource;
responding to target interactive operation of the target media resource or responding to the condition that the playing time length of the target media resource reaches the preset time length, and displaying resource entry information on a playing interface of the target media resource; the resource entry information is used to present recommended media resources after being triggered.
Optionally, after the step of displaying the resource entry information on the playing interface of the target media resource, the method further includes:
Responding to triggering operation of the resource entry information, and displaying a resource recommendation page; the resource recommendation page is used for displaying recommended media resources.
Optionally, before the step of playing the target media asset, the method further comprises:
responding to the display operation of the first account on a resource display page, acquiring a resource data stream and resource inlet information, wherein the resource display page is used for displaying media resources released by a second account, and the second account has an association relation with the first account; the resource data stream comprises at least one media resource published by the second account;
displaying the resource data stream on a resource display page;
a step of playing a target media asset, comprising:
and responding to the selection operation of the target media resources in the displayed resource data stream, and playing the target media resources.
Optionally, recommending the media resource to be the media resource which is unread by the first account and published by the target second account, wherein the target second account is determined based on the publishing time of the media resource or based on the association degree with the first account;
the method for obtaining the resource data stream and the resource entry information comprises the following steps of:
responding to the display operation of the first account on the resource display page, and sending a resource acquisition request to a server;
Receiving resource data flow and resource entry information returned by a server based on a resource acquisition request; the resource entry information comprises entry case information, account information of a target second account, unread quantity information and link information; the link information is used for jumping to display a resource recommendation page for recommending the media resource.
Optionally, before the step of responding to the target interaction with the target media asset, the method further comprises:
displaying a functional control on a playing interface of the target media resource, wherein the functional control comprises at least one of a praise control, a collection control, a comment control, a sharing control and a downloading control;
and detecting target interaction operation of the first account on the functional control at the playing interface of the target media resource.
Optionally, before the step of responding to the playing time length of the target media resource reaching the preset time length condition, the method further comprises:
determining a resource duration of the target media resource, wherein the resource duration is used for indicating a time length required for finishing the constant-speed playing of the target media resource;
determining the current playing time length of the target media resource;
and under the condition that the ratio of the current playing time length to the resource time length is greater than or equal to a set value, determining that the playing time length of the target media resource reaches a preset time length condition.
According to a second aspect of embodiments of the present disclosure, there is provided a data processing apparatus comprising:
the resource playing module is configured to play the target media resource;
the information display module is configured to display resource entry information on a playing interface of the target media resource in response to target interactive operation on the target media resource or in response to the playing time of the target media resource reaching a preset time condition; the resource entry information is used to present recommended media resources after being triggered.
Optionally, the apparatus further comprises:
the page display module is configured to respond to the triggering operation of the resource entry information and display a resource recommendation page; the resource recommendation page is used for displaying recommended media resources.
Optionally, the apparatus further comprises:
the data acquisition module is configured to respond to the display operation of the first account on the resource display page, acquire resource data flow and resource inlet information, wherein the resource display page is used for displaying media resources released by the second account, and the second account has an association relation with the first account; the resource data stream comprises at least one media resource published by the second account;
a data stream presentation module configured to present a resource data stream at a resource presentation page;
And the resource playing module is further configured to play the target media resource in response to the selection operation of the target media resource in the displayed resource data stream.
Optionally, recommending the media resource to be the media resource which is unread by the first account and published by the target second account, wherein the target second account is determined based on the publishing time of the media resource or based on the association degree with the first account;
a data acquisition module comprising:
the request sending unit is configured to respond to the display operation of the first account on the resource display page and send a resource acquisition request to the server;
the data receiving unit is configured to receive the resource data stream and the resource entry information returned by the server based on the resource acquisition request; the resource entry information comprises entry case information, account information of a target second account, unread quantity information and link information; the link information is used for jumping to display a resource recommendation page for recommending the media resource.
Optionally, the apparatus further comprises:
the control display module is configured to display functional controls on a playing interface of the target media resource, wherein the functional controls comprise at least one of a praise control, a collection control, a comment control, a sharing control and a downloading control;
And the operation detection module is configured to detect target interaction operation of the first account on the functional control at the playing interface of the target media resource.
Optionally, the apparatus further comprises: the time length processing module is configured to determine the resource time length of the target media resource, wherein the resource time length is used for indicating the time length required for finishing the constant-speed playing of the target media resource; determining the current playing time length of the target media resource; and under the condition that the ratio of the current playing time length to the resource time length is greater than or equal to a set value, determining that the playing time length of the target media resource reaches a preset time length condition.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute instructions to implement the data processing method described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the above-described data processing method.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program or computer instructions, characterized in that the computer program or computer instructions, when executed by a processor, implement the above-mentioned data processing method.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the method and the device, the willingness of the user is evaluated through the target interactive operation and the playing time length of the target media resource, in the process of playing the target media resource, if the target interactive operation exists or the playing time length of the target media resource reaches the preset time length condition, the condition that the user has willingness to continuously watch the recommended media resource is indicated, so that resource entry information is displayed on a playing interface of the target media resource, the display of the resource entry information has flexibility, no fixed resource position is occupied independently, and resource waste is reduced; and the probability of triggering the resource entry information is higher, the interaction of the user on the playing interface is effectively increased, and the utilization rate of the interface resource display space is higher.
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 specification, 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 schematic illustration of an application environment for a data processing method, according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of data processing according to an exemplary embodiment;
FIG. 3A is a diagram illustrating an interface of an electronic device for a data processing method according to an exemplary embodiment;
FIG. 3B is a diagram illustrating a second interface schematic of an electronic device for a data processing method according to an exemplary embodiment;
FIG. 4A is a diagram illustrating an interface diagram III of an electronic device for a data processing method according to an exemplary embodiment;
FIG. 4B is a diagram illustrating an interface diagram of an electronic device for a data processing method according to an exemplary embodiment;
FIG. 5 is a second flowchart illustrating a method of data processing according to an exemplary embodiment;
FIG. 6 is a diagram showing an interface of an electronic device for a data processing method according to an exemplary embodiment;
FIG. 7A is a diagram illustrating an interface sixth of an electronic device for a data processing method according to an exemplary embodiment;
FIG. 7B is a diagram of an interface of an electronic device illustrating a data processing method according to an exemplary embodiment;
FIG. 7 is a diagram C illustrating an interface diagram eight of an electronic device for a data processing method according to an exemplary embodiment;
FIG. 8 is a flowchart III illustrating a method of data processing according to an exemplary embodiment;
FIG. 9 is a block diagram of a data processing apparatus according to an exemplary embodiment;
fig. 10 is a block diagram of a terminal according to an exemplary embodiment.
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.
Referring to fig. 1, an application environment of a data processing method according to an exemplary embodiment is shown, where the application environment may include a terminal 11 and a server 12, and the terminal 11 and the server 12 are connected through a wireless network.
The terminal 11 may be at least one of a smart phone, a tablet computer, a notebook computer, a desktop computer, an augmented reality terminal, a wireless terminal, a laptop portable computer, etc., but is not limited thereto, and the terminal 11 has a communication function and can be connected to a wired network or a wireless network. The terminal 11 is installed with client software such as an Application (App) that provides a man-machine interaction function, and the Application may be a stand-alone Application or a subroutine in the Application. The application may be a media asset playing application such as a video playing application, an audio playing application.
In the embodiment of the present disclosure, the terminal 11 is configured to play a target media resource, and display resource entry information on a playing interface of the target media resource of the terminal in response to a target interaction operation on the target media resource or in response to a playing duration of the target media resource reaching a preset duration condition; the resource entry information is used to present recommended media resources after being triggered.
The server 12 may be an independent physical server, a server cluster or a distributed file system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligence platforms, and the like. Alternatively, the number of servers 12 may be greater or lesser, and embodiments of the present disclosure are not limited in this regard. Of course, the server 12 may also include other functional servers to provide more comprehensive and diverse services.
In some embodiments, the server 12 is a background server of the application program having the media resource playing function. In the disclosed embodiment, the server 12 is configured to send a resource data stream and resource entry information to the terminal, where the resource data stream includes the target media resource.
Fig. 2 is a flowchart illustrating a data processing method that may be used in the terminal shown in fig. 1, according to an exemplary embodiment, including the steps of:
In step S21, the terminal plays the target media asset.
In step S22, the terminal responds to the target interactive operation on the target media resource or responds to the time length of playing the target media resource reaching the preset time length condition, and displays the resource entry information on the playing interface of the target media resource; the resource entry information is used to present recommended media resources after being triggered.
Wherein the target media resource is a playing object.
The target interactive operation is one of a plurality of pre-designated interactive operations, including, but not limited to, praise, collection, comment, sharing and downloading, wherein the pre-designated interactive operations are used for indicating the wish of a user, and when the user has any one of the plurality of interactive operations on the target media resource, the user is more likely to continue watching the recommended media resource, that is, the user is more likely to trigger the resource entry information.
The time length condition is used for screening the playing time length. When the playing time of the user is longer, the possibility that the user is willing to continue watching the recommended media resource is higher, that is, the possibility that the user triggers the resource entry information is higher, so that the scene that the user is willing to continue watching can be screened out by using the time length condition.
The recommended media assets are media assets recommended to the user.
Optionally, the recommended media asset is determined based on the target media asset. Specifically, the recommended media resource may be the same as tag information of the target media resource, where the tag information of the media resource is determined by summarizing the content of the media resource, for example, the tag information may be "food", "pet", "a star", etc.; alternatively, the recommended media asset is a media asset published by the same account as the target media asset.
Optionally, the recommended media asset is determined based on a first account, wherein the first account is a current login account. Specifically, a second account with an association relation with the first account is determined, and media resources are recommended to be media resources which are released by the second account and are unread by the first account. Or after the second account is determined, determining the interaction frequency between the first account and the second account, wherein the interaction frequency is the number of times of praise, collection, forwarding and comment between the first account and the second account in a fixed period. And determining a second account with the interaction frequency with the first account being greater than the set value, wherein the recommended media resource is a media resource which is not read by the first account and issued by the second account with the interaction frequency with the first account being greater than the set value. It should be noted that the recommended media resource may also be determined based on other content, and the specific content of the recommended media resource is not specifically limited in this embodiment.
In the above step, the target media asset is played, and at this time, the asset entry information is not displayed on the playing interface of the target media asset, and the asset entry information is used to display the recommended media asset after being triggered. It should be noted that, if the resource bit of the resource entry information is set fixedly on the playing interface, and the willingness of most users to trigger the resource entry information is weaker, the resource waste is caused, and the utilization rate of the interface resource display space is lower.
When the target media resource is played, the interactive operation of the user is detected, when the target interactive operation exists on the target media resource, the possibility that the user is willing to continue watching the recommended media resource in the current scene is higher, so that resource entry information is displayed on a playing interface of the target media resource in response to the target interactive operation, and the possibility that the user triggers the resource entry information is higher.
And monitoring the playing time length of the user in the process of playing the target media resource, when the playing time length reaches a preset time length condition, indicating that the possibility that the user is willing to continue watching in the current scene is higher, and displaying resource entry information on a playing interface of the target media resource in response to the fact that the playing time length of the target media resource reaches the preset time length condition, wherein the possibility that the user triggers the resource entry information is higher.
For example, a target application is running on the terminal, and the target application is used for providing a playing function of a media resource, where the media resource may be video or audio. The user plays the target media asset through the target application, and fig. 3 a illustrates a playing interface of the target media asset, where there is no fixed asset bit of the asset entry information. The user clicks the praise control shown by 31 in a diagram in fig. 3, at this time, the terminal receives the praise operation of the user on the target media resource, and in response to the praise operation, as shown by B diagram in fig. 3, the resource entry information is displayed in the target area of the playing interface (as shown by 32 in B diagram in fig. 3).
For example, a target application is running on the terminal, and the target application is used for providing a playing function of a media resource, where the media resource may be video or audio. The user plays the target media asset through the target application, and fig. 4 a illustrates an exemplary playing interface of the target media asset, where there is no fixed asset bit of the asset entry information. When the time length condition is that the playing is finished, and at this time, when the playing progress bar of the target media resource is shown as 41 in fig. 4, the playing time length of the target media resource reaches a preset time length condition, and in response to the playing time length of the target media resource reaching the preset time length condition, resource entry information is displayed in a target area (shown as 42 in B diagram in fig. 4) of the playing interface.
It should be noted that, when there is no target interaction operation or the playing duration of the target media resource does not reach the preset duration condition, the resource entry information is not displayed on the playing interface of the target media resource. Further, under the condition that the resource entry information is displayed, no response is made to the condition that the subsequent target interactive operation or the playing time of the target resource reaches the preset time length.
According to the technical scheme provided by the embodiment of the disclosure, the user willingness is evaluated through the target interactive operation and the playing time length of the target media resource, in the process of playing the target media resource, if the target interactive operation exists or the playing time length of the target media resource reaches the preset time length condition, the user willingness to continue watching the recommended media resource is indicated, so that the resource entry information is displayed on the playing interface of the target media resource, the resource entry information is displayed flexibly, the fixed resource position is not required to be occupied independently, and the resource waste is reduced; and the probability of triggering the resource entry information is higher, the interaction of the user on the playing interface is effectively increased, and the utilization rate of the interface resource display space is higher.
Fig. 5 is a flowchart illustrating a data processing method that may be used in the terminal shown in fig. 1, according to an exemplary embodiment, including the steps of:
In step S51, the terminal responds to the display operation of the first account on the resource display page, and obtains the resource data stream and the resource entry information, wherein the resource display page is used for displaying the media resource issued by the second account, and the second account has an association relationship with the first account; the resource data stream includes at least one media resource published by the second account.
The first account is a login account, and the second account is other accounts with association relation with the first account.
Optionally, the second account is a focused account of the first account, that is, the second account is focused with the first account. At this time, the resource display page is a focus page, and the focus page is used for displaying media resources published by the account focused by the first account.
Optionally, the second account and the first account pay attention to each other, that is, the second account and the first account are in a friend relationship. At this time, the resource display page is a friend page, and the friend page is used for displaying media resources published by friends of the first account.
Optionally, the second account is a unilateral focusing account of the first account, and the second account does not focus on the first account, that is, the second account and the first account are unilateral focusing relations. At this time, the resource display page is used for displaying the media resource published by the account concerned by the first account.
Specifically, when the display operation of the first account on the resource display page is detected, a resource acquisition request is sent to a server, wherein the resource acquisition request carries account identification information of the first account and page identification information of the resource display page, the account identification information is used for distinguishing different accounts, and the page identification information is used for distinguishing different pages. After receiving the resource acquisition request, the server determines a second account having an association relationship with the first account according to account identification information and page identification information of the first account, determines a resource data stream returned to the terminal from media resources published by the second account, and determines resource entry information, wherein the resource entry information can comprise entry document information and link information, the entry document information is used for providing an instruction for a user to acquire more media resources, the link information is used for jumping to display a resource recommendation page for recommending the media resources, and the terminal receives the resource data stream and the resource entry information returned by the server to acquire the resource data stream and the resource entry information.
In step S52, the terminal displays the resource data stream on the resource display page.
Specifically, the resource data stream includes at least one media resource published by the second account, each media resource corresponds to cover information, and when the resource data stream is displayed by the resource display page, the cover information of the media resource included in the resource data stream is mainly displayed, and fig. 6 is a schematic diagram of a resource display page.
In step S53, the terminal plays the target media resource in response to the selection operation of the target media resource in the displayed resource data stream; displaying a functional control on a playing interface of the target media resource, wherein the functional control comprises at least one of a praise control, a collection control, a comment control, a sharing control and a downloading control; and detecting target interaction operation of the first account on the functional control at the playing interface of the target media resource.
Specifically, cover information of media resources included in the resource data stream is displayed on the resource display page, and the cover information is used for a user to refer to, so that the user selects a target media resource of interest, and then clicks the target media resource to play the target media resource. The user clicks on the candle video in the resource presentation page shown in fig. 6, and then enters the playing interface of the candle video as shown in fig. 3 a.
As shown in a diagram in fig. 3, a praise control 31, a collection control 33, a share control 34, and comment controls including a comment viewing control 35 and a comment posting control 36 are displayed on the play interface. The praise control 31, the collection control 33 and the share control 34 displayed on the playing interface are used for interacting with a user, and the user interaction operation of the comment viewing control 35 and the comment publishing control 36 indicates that the user is interested in the target media resource, and at the moment, the user is willing to continue to watch the recommended media resource with high possibility, so that the target interaction operation of the first account on the functional control on the playing interface of the target media resource needs to be detected.
In step S54, the terminal presents the asset entry information at the playback interface of the target media asset in response to the target interactive operation on the target media asset.
In this step, after the target interactive operation is detected, resource entry information is displayed on the playing interface of the target media resource. The display area of the resource entry information may be at the bottom of the playing interface, or at the top of the playing interface, or at the left side of the playing interface, or at the right side of the playing interface. For the specific display area of the resource entry information, the embodiment is not limited in detail, and may be adjusted according to actual situations.
In step S55, the terminal responds to the triggering operation of the resource entry information, and displays a resource recommendation page; the resource recommendation page is used for displaying recommended media resources.
In this step, after the resource entry information is displayed, if a trigger operation exists on the resource entry information by the first account, a resource recommendation page is displayed in response to the trigger operation, and recommended media resources are displayed in the resource recommendation page, so that a user can view more media resources in the resource recommendation page.
Specifically, cover information of recommended media resources is displayed on a resource recommendation page, a user selects the cover information of the displayed recommended media resources, and the selected media resources are played. Further, the selected media asset may be the next target media asset.
For example, after the playing interface displays the resource entry information, as shown in fig. 7 a, the user clicks on the resource entry information, and enters the resource recommendation page shown in fig. 7B, where the user clicks on the first left video, i.e. palm She Shipin, and then enters the playing interface of the palm leaf video shown in fig. 7C.
According to the technical scheme provided by the embodiment of the disclosure, when the first account displays the resource display page, the resource data stream and the resource entry information are acquired, the target media resource is played based on the resource data stream, the functional control is displayed on the playing interface of the target media resource and used for a user to implement target interactive operation, and the target interactive operation is detected, so that the resource entry information is displayed on the playing interface of the target media resource in response to the target interactive operation, the resource entry information is displayed flexibly, the fixed resource bit is not required to be occupied independently, and the resource waste is reduced; and the probability of triggering the resource entry information is higher, the interaction of the user on the playing interface is effectively increased, and the utilization rate of the interface resource display space is higher. Further, when the resource data stream is acquired, the resource entry information is acquired together, so that the resource entry information can be displayed on a playing interface in time, and the accuracy and fluency of the resource entry information display are ensured.
Fig. 8 is a flowchart illustrating a data processing method that may be used in the terminal shown in fig. 1, according to an exemplary embodiment, including the steps of:
in step S81, the terminal transmits a resource acquisition request to the server in response to the resource acquisition operation of the first account.
In this step, the first account performs a resource obtaining operation on the terminal, where the resource obtaining operation may be a display operation of a resource display page, or may be a sliding operation on a playing interface, for example, a user slides down on the playing interface to obtain more playing resources, and the sliding down operation may be regarded as a resource obtaining operation.
In step S82, the terminal receives the resource data stream and the resource entry information returned by the server based on the resource acquisition request; the resource entry information comprises entry document information, account information of a target second account, unread quantity information and link information; the link information is used for jumping to display a resource recommendation page for recommending the media resource; the target second account is determined based on a release time of the media asset or based on a degree of association with the first account.
In this step, the resource entry information determined by the server includes entry document information, where the entry document information may be "works of all friends" as shown in fig. 3B, the account information of the target second account is mainly header information of the target second account, and the unread amount information is "2 unread" as shown in fig. 3B, and the link information is used to perform the page skip.
Specifically, the second account and the first account have a unilateral attention relationship or a mutual attention relationship, and the server can determine a target second account in the second account according to the release time of the media resources, for example, the target second account is a second account corresponding to a preset number of newly released media resources in the media resources which are not read by the first account. Or, the server may determine, according to the association degree with the first account, a target second account in the second accounts, where the target second account is a second account whose interaction frequency with the first account in a fixed period is greater than a set value in the second accounts corresponding to the media resources that are not read by the first account.
Specifically, the second account and the first account are in a friend relationship, the service side provides friend work service, the friend work service is used for constructing unread users and work caching sets of the unread users, and filtering the read works in real time, and works released by the users are media resources. After receiving the resource acquisition request sent by the terminal, the server further sends a request carrying account identification information to the friend work service, so that the friend work service returns account information of a target second account, unread quantity information (such as 3) and identification information of the unread works to the server, wherein the identification information of the unread works is used for distinguishing media resources. And the server receives the account information, the unread quantity information and the identification information of the unread work and then assembles the account information, the unread quantity information and the link information of the target second account.
In step S83, the terminal plays the target media asset based on the asset data stream.
In this step, if the resource obtaining operation is a display operation of the resource display page, after the resource data stream is obtained, the resource data stream is displayed on the resource display page, and the target media resource is played in response to a selection operation of the target media resource in the displayed resource data stream. If the resource obtaining operation is a sliding operation of the playing interface, after the resource data stream is obtained, automatically playing the target media resource positioned at the first position according to the sequence of the media resources included in the resource data stream.
In step S84, the terminal determines a resource duration of the target media resource, where the resource duration is used to indicate a time length required for completing the constant-speed playing of the target media resource; determining the current playing time length of the target media resource, and determining that the playing time length of the target media resource reaches a preset time length condition under the condition that the ratio of the current playing time length to the resource time length is greater than or equal to a set value.
In this step, the resource duration is used to indicate the time length required for the target media resource to finish the constant-speed playing, that is, the complete duration of one media resource. The current playing time length is used for indicating the actual watching time length of the first account on the target media resource, the current playing time length can reflect the playing progress of the current media resource and can be displayed through a progress bar, and under the condition that the ratio of the current playing time length to the resource time length is greater than or equal to a set value, the current playing time length indicates that a user has played the target media resource for a long time, and the target media resource is interested in the current playing time length, and at the moment, the playing time length of the target media resource can be determined to reach a preset time length condition. When the set value is 1, after the user finishes playing the target media resource completely, determining that the playing time of the target media resource reaches the preset time condition.
It should be noted that, the current playing duration may be determined according to the progress bar, but considering that fast forward and skip play occur, timing may also be started from the time of playing the target media resource to determine the current playing duration, where the current playing duration may more accurately reflect the actual viewing time length of the user.
In step S85, the terminal responds to the playing time length of the target media resource reaching the preset time length condition, and displays the resource entry information on the playing interface of the target media resource; the resource entry information is used to present recommended media resources after being triggered.
In step S86, the terminal responds to the triggering operation of the resource entry information, and displays a resource recommendation page; the resource recommendation page is used for displaying recommended media resources.
According to the technical scheme provided by the embodiment of the disclosure, when the first account implements the resource obtaining operation, a resource obtaining request is sent to the server, the server returns a resource data stream and resource entry information, the target media resource is played according to the resource data stream, the playing time length of the target media resource is monitored, and after the playing time length of the target media resource reaches a preset time length condition, the resource entry information is displayed on a playing interface of the target media resource. Through the play time length, the user willingness is evaluated, after the play time length of the target media resource reaches the preset time length condition, the possibility that the user willingness to continue watching the recommended media resource is high is shown, so that resource entry information is displayed on a play interface of the target media resource, the resource entry information is displayed flexibly, the fixed resource position is not required to be occupied independently, and the resource waste is reduced; and the probability of triggering the resource entry information is higher, the interaction of the user on the playing interface is effectively increased, and the utilization rate of the interface resource display space is higher.
Fig. 9 is a block diagram of a data processing apparatus according to an exemplary embodiment. The device comprises a resource playing module 91 and an information displaying module 92.
A resource playing module 91 configured to play a target media resource;
the information display module 92 is configured to display resource entry information on a playing interface of the target media resource in response to a target interaction operation on the target media resource or in response to a playing time of the target media resource reaching a preset time condition; the resource entry information is used to present recommended media resources after being triggered.
In an exemplary embodiment of the present disclosure, the apparatus further comprises:
the page display module is configured to respond to the triggering operation of the resource entry information and display a resource recommendation page; the resource recommendation page is used for displaying recommended media resources.
In an exemplary embodiment of the present disclosure, the apparatus further comprises:
the data acquisition module is configured to respond to the display operation of the first account on the resource display page, acquire resource data flow and resource inlet information, wherein the resource display page is used for displaying media resources released by the second account, and the second account has an association relation with the first account; the resource data stream comprises at least one media resource published by the second account;
A data stream presentation module configured to present a resource data stream at a resource presentation page;
and the resource playing module is further configured to play the target media resource in response to the selection operation of the target media resource in the displayed resource data stream.
In an exemplary embodiment of the disclosure, recommending the media resource to be a media resource that is not read by the first account and published by a target second account, the target second account being determined based on a publication time of the media resource or based on a degree of association with the first account;
a data acquisition module comprising:
the request sending unit is configured to respond to the display operation of the first account on the resource display page and send a resource acquisition request to the server;
the data receiving unit is configured to receive the resource data stream and the resource entry information returned by the server based on the resource acquisition request; the resource entry information comprises entry case information, account information of a target second account, unread quantity information and link information; the link information is used for jumping to display a resource recommendation page for recommending the media resource.
In an exemplary embodiment of the present disclosure, the apparatus further comprises:
the control display module is configured to display functional controls on a playing interface of the target media resource, wherein the functional controls comprise at least one of a praise control, a collection control, a comment control, a sharing control and a downloading control;
And the operation detection module is configured to detect target interaction operation of the first account on the functional control at the playing interface of the target media resource.
In an exemplary embodiment of the present disclosure, the apparatus further comprises: the time length processing module is configured to determine the resource time length of the target media resource, wherein the resource time length is used for indicating the time length required for finishing the constant-speed playing of the target media resource; determining the current playing time length of the target media resource; and under the condition that the ratio of the current playing time length to the resource time length is greater than or equal to a set value, determining that the playing time length of the target media resource reaches a preset time length condition.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 10 is a block diagram of a terminal according to an exemplary embodiment. Terminal 1000 can be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 10, terminal 1000 can include one or more of the following components: a processing component 1002, a memory 1004, a power component 1006, a multimedia component 1008, an audio component 1010, an input/output (I/O) interface 1012, a sensor component 1014, and a communication component 1016.
Processing component 1002 generally controls overall operation of terminal 1000, such as operations associated with displaying, telephone calling, data communication, camera operation, and recording operation. The processing component 1002 can include one or more processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1002 can include one or more modules that facilitate interaction between the processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
Memory 1004 is configured to store various types of data to support operation at terminal 1000. Examples of such data include instructions for any application or method operating on terminal 1000, contact data, phonebook data, messages, pictures, video, and the like. The memory 1004 may be implemented by any type or combination of volatile or nonvolatile memory devices 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.
Power supply assembly 1006 provides power to the various components of terminal 1000. Power supply component 1006 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for terminal 1000.
Multimedia component 1008 includes a screen between terminal 1000 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 assembly 1008 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when terminal 1000 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when terminal 1000 is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, the audio component 1010 further comprises a speaker for outputting audio signals.
The I/O interface 1012 provides an interface between the processing assembly 1002 and peripheral interface modules, which may be a keyboard, click wheel, buttons, and the like. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
Sensor assembly 1014 includes one or more sensors for providing status assessment of various aspects to terminal 1000. For example, sensor assembly 1014 can detect an open/closed state of terminal 1000, a relative positioning of the components, such as a display and keypad of terminal 1000, sensor assembly 1014 can also detect a change in position of terminal 1000 or a component of terminal 1000, the presence or absence of user contact with terminal 1000, terminal 1000 orientation or acceleration/deceleration, and a change in temperature of terminal 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 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 1014 can also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 1016 is configured to facilitate communication between terminal 1000 and other devices, either wired or wireless. Terminal 1000 can 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 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 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 exemplary embodiment, terminal 1000 can 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 data processing methods described above.
In an exemplary embodiment, a storage medium is also provided comprising instructions that, when executed by a processor of an electronic device, enable the electronic device to perform a data processing method as described in any of the methods above. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, comprising readable program code executable by a processor of an electronic device to perform the above-described data processing method. Alternatively, the program code may be stored in a storage medium of the terminal, which may be a non-transitory computer readable storage medium, such as 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 application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the 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.

Claims (10)

1. A method of data processing, comprising:
playing the target media resource;
responding to target interactive operation of the target media resource or responding to the condition that the playing time length of the target media resource reaches the preset time length, and displaying resource entry information on a playing interface of the target media resource; the resource entry information is used to present recommended media resources after being triggered.
2. The method of claim 1, wherein after the step of presenting the asset entry information at the playback interface of the target media asset, the method further comprises:
responding to the triggering operation of the resource entry information, and displaying a resource recommendation page; the resource recommendation page is used for displaying the recommended media resources.
3. The method of claim 1, wherein prior to the step of playing the target media asset, the method further comprises:
responding to the display operation of a first account on a resource display page, acquiring a resource data stream and the resource inlet information, wherein the resource display page is used for displaying media resources released by a second account, and the second account has an association relation with the first account; the resource data stream comprises at least one media resource published by the second account;
Displaying the resource data stream on the resource display page;
the step of playing the target media resource comprises the following steps:
and responding to the selection operation of the target media resources in the displayed resource data stream, and playing the target media resources.
4. The method of claim 3, wherein the recommended media resource is a media resource that is not read by the first account that is published by a target second account, the target second account being determined based on a publication time of a media resource or based on a degree of association with the first account;
the step of obtaining the resource data stream and the resource entry information in response to the display operation of the first account on the resource display page comprises the following steps:
responding to the display operation of the first account on the resource display page, and sending a resource acquisition request to a server;
receiving a resource data stream and the resource entry information returned by the server based on the resource acquisition request; the resource entry information comprises entry document information, account information of the target second account, unread quantity information and link information; the link information is used for jumping to display a resource recommendation page of the recommended media resource.
5. The method of any of claims 1-4, wherein prior to the step of responding to the target interaction with the target media asset, the method further comprises:
displaying a function control on a playing interface of the target media resource, wherein the function control comprises at least one of a praise control, a collection control, a comment control, a sharing control and a downloading control;
and detecting target interaction operation of the first account on the function control on the playing interface of the target media resource.
6. The method according to any one of claims 1-4, wherein before the step of responding to the playing time of the target media resource reaching a preset time period condition, the method further comprises:
determining a resource duration of the target media resource, wherein the resource duration is used for indicating a time length required for finishing the constant-speed playing of the target media resource;
determining the current playing time length of the target media resource;
and under the condition that the ratio between the current playing time length and the resource time length is larger than or equal to a set value, determining that the playing time length of the target media resource reaches a preset time length condition.
7. A data processing apparatus, comprising:
the resource playing module is configured to play the target media resource;
the information display module is configured to display resource entry information on a playing interface of the target media resource in response to target interaction operation of the target media resource or in response to the playing time of the target media resource reaching a preset time condition; the resource entry information is used to present recommended media resources after being triggered.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the page display module is configured to respond to the triggering operation of the resource entry information and display a resource recommendation page; the resource recommendation page is used for displaying the recommended media resources.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the data processing method of any one of claims 1 to 6.
10. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the data processing method of any one of claims 1 to 6.
CN202310101558.8A 2023-01-28 2023-01-28 Data processing method and device, electronic equipment and storage medium Pending CN116166359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310101558.8A CN116166359A (en) 2023-01-28 2023-01-28 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310101558.8A CN116166359A (en) 2023-01-28 2023-01-28 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116166359A true CN116166359A (en) 2023-05-26

Family

ID=86412823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310101558.8A Pending CN116166359A (en) 2023-01-28 2023-01-28 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116166359A (en)

Similar Documents

Publication Publication Date Title
CN108932253B (en) Multimedia search result display method and device
RU2640632C2 (en) Method and device for delivery of information
CN107203398B (en) Application distribution method and device
CN107193606B (en) Application distribution method and device
CN111198956A (en) Multimedia resource interaction method and device, electronic equipment and storage medium
CN111556366A (en) Multimedia resource display method, device, terminal, server and system
CN111859020A (en) Recommendation method and device, electronic equipment and computer-readable storage medium
CN113573092B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN110674343A (en) Account information processing method and device, server and terminal
CN112131466A (en) Group display method, device, system and storage medium
CN107402767B (en) Method and device for displaying push message
CN111127053B (en) Page content recommendation method and device and electronic equipment
CN113343075B (en) Virtual resource pushing method and device, electronic equipment and storage medium
CN113868467A (en) Information processing method, information processing device, electronic equipment and storage medium
CN112000266B (en) Page display method and device, electronic equipment and storage medium
CN113031837B (en) Content sharing method and device, storage medium, terminal and server
CN110213062B (en) Method and device for processing message
CN112486770A (en) Client dotting reporting method and device, electronic equipment and storage medium
CN114025317B (en) Method, device, server, terminal and storage medium for spreading multimedia resources
CN114024931B (en) Information display method, device, terminal, server and storage medium
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN114666643A (en) Information display method and device, electronic equipment and storage medium
CN116166359A (en) Data processing method and device, electronic equipment and storage medium
CN113709572A (en) Content promotion method and device, electronic equipment and storage medium
CN113849638A (en) Information processing method, information processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination