CN116055785A - Audio and video data display method and device, electronic equipment and storage medium - Google Patents

Audio and video data display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116055785A
CN116055785A CN202310002391.XA CN202310002391A CN116055785A CN 116055785 A CN116055785 A CN 116055785A CN 202310002391 A CN202310002391 A CN 202310002391A CN 116055785 A CN116055785 A CN 116055785A
Authority
CN
China
Prior art keywords
audio
video data
client
user
friends
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
CN202310002391.XA
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 CN202310002391.XA priority Critical patent/CN116055785A/en
Publication of CN116055785A publication Critical patent/CN116055785A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • 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

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to an audio and video data display method, an audio and video data display device, electronic equipment and a storage medium, and relates to the technical field of audio and video data processing. The method comprises the following steps: receiving a request for acquiring audio and video data sent by a client, and acquiring related friends of the client user from the associated user; determining the intimacy sequence of the client user and the related friends, packaging the user information of the related friends and the corresponding audio and video data according to the intimacy sequence, and splicing the user information and the corresponding audio and video data to a data structure of a concerned page; and sending the data structure of the concerned page to the client so that the client displays the audio and video data according to the data structure of the concerned page and the intimacy sequence. According to the method and the device for displaying the audio and video data on the attention page of the user, the audio and video viewing experience of the user can be optimized, and the viscosity among the users is improved.

Description

Audio and video data display method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of audio and video processing, and in particular relates to an audio and video data display method, an audio and video data display device, electronic equipment and a storage medium.
Background
The continuous development of internet technology and the arrival of traffic age provide good technical conditions and time opportunity for the development of audio and video, and the audio and video has become an important way for people to acquire knowledge and relax entertainment.
In the related art, when the number of concerned audio and video bloggers is large, it is difficult for users to view audio and video works of friends related to each other in the concerned page, so that the problems of poor user experience, low relation viscosity among users and the like are brought.
In order to solve the problems, the present disclosure provides an audio and video data display method, an apparatus, an electronic device, and a storage medium.
Disclosure of Invention
The disclosure provides an audio and video data display method, an audio and video data display device, electronic equipment and a storage medium, which at least solve the problems of poor user experience and low relation viscosity 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 an audio/video data display method, including: receiving a request for acquiring audio and video data sent by a client, and acquiring related friends of the client from associated users, wherein the associated users are users focused by the client; determining the intimacy sequence of the client user and the related friends, packaging the user information of the related friends and corresponding audio and video data according to the intimacy sequence, and splicing the user information and the corresponding audio and video data to a data structure of a concerned page, wherein the intimacy sequence is a result of sequencing the intimacy of the client user and the related friends; and sending the data structure of the concerned page to the client so that the client displays the audio and video data according to the data structure of the concerned page and the intimacy sequence.
Optionally, determining the affinity sequence of the client user and the friends related to each other, packaging the user information of the friends related to each other and the corresponding audio/video data according to the affinity sequence, and splicing the user information and the corresponding audio/video data to a data structure of a concerned page, including: determining the intimacy of a client user and related friends, and sequencing the related friends from high to low according to the intimacy to obtain a intimacy sequence; and acquiring a preset number of target friends from the related friends according to the intimacy sequence, packaging user information of the target friends and corresponding audio and video data, and splicing the user information and the corresponding audio and video data into a data structure of the concerned page.
Optionally, after the data structure of the attention page is sent to the client, the audio/video data display method further includes: receiving a request for acquiring audio and video data sent by a client, and acquiring related friends and/or single-related users except a target friend from an associated user; determining the intimacy sequence of related friends and/or single-related users outside the target friends, packaging user information of the related friends and/or single-related users and corresponding audio and video data according to the intimacy sequence, and splicing the user information and the corresponding audio and video data to the target friends in a data structure of the attention page; and sending the data structure of the concerned page to the client so that the client can continuously display the audio and video data published by the related friends and/or single-related users outside the target friend after the audio and video data of the target friend.
According to a second aspect of the embodiments of the present disclosure, there is provided an audio/video data display method, including: responding to the operation of starting a focus page by a client user, and requesting audio and video data issued by an associated user from a server, wherein the associated user is a user focused by the client user; and receiving the data structure of the concerned pages sent by the server, and displaying the audio and video data released by the friends related to each other in the related users according to the data structure of the concerned pages at the interactive interface of the client and the affinity sequence.
Optionally, after the receiving the data structure of the attention page sent by the server, the method for displaying audio and video data further includes: and displaying a friend entry of an audio/video stream page entering the related friend on an interactive interface of the client, wherein the friend entry comprises user information of the related friend and an update icon, the user information comprises a user head portrait of the related friend, and the update icon is used for prompting the related friend to update audio/video data.
Optionally, the displaying, according to the data structure of the attention page, the audio/video data published by the friends related to each other in the associated user according to the affinity sequence, by the interactive interface of the client includes: responding to the confirmation operation of the client user acting on the friend entrance, and displaying an audio/video inner stream page on an interactive interface of the client; responding to the sliding operation of a client user on the audio/video inner stream pages, and rendering audio/video data of a preset number of related friends in the audio/video inner stream pages according to the data structure of the concerned pages from high to low according to the order of the affinity.
Optionally, when the audio/video data of the preset number of mutually related friends are rendered in the audio/video stream according to the data structure of the concerned pages in the order from high to low according to the affinity, the audio/video data display method further includes: and requesting the audio and video data issued by the inter-related friends and/or single-related users with the intimacy sequence being out of the preset number from the server to continuously display the audio and video data issued by the inter-related friends and/or single-related users out of the preset number.
Optionally, after the client user exits the display page of the audio/video data, the audio/video data display method further includes: when the preset condition is met, requesting the audio and video data issued by the associated user from the server.
According to a third aspect of the embodiments of the present disclosure, there is provided an audio/video data display apparatus, including: the acquisition module is configured to execute a request for acquiring audio and video data sent by a receiving client, acquire related friends of the client user from associated users, wherein the associated users are users concerned by the client user; the packaging module is configured to determine the intimacy order of the client user and the related friends, package the user information of the related friends and corresponding audio and video data according to the intimacy order, and splice the user information and the corresponding audio and video data to a data structure of a concerned page, wherein the intimacy order is a result of sequencing the intimacy of the client user and the related friends; and the sending module is configured to send the data structure of the concerned page to the client so that the client displays the audio and video data according to the data structure of the concerned page and the intimacy sequence.
According to a fourth aspect of embodiments of the present disclosure, there is provided an audio/video data display apparatus, including: the request module is configured to execute the operation of responding to the starting of the attention page by the client user, and request the audio and video data issued by the associated user to the server, wherein the associated user is the user focused by the client user; the display module is configured to execute a data structure of the concerned pages sent by the receiving server, and display the audio and video data distributed by the friends related to each other in the associated users according to the data structure of the concerned pages at the interactive interface of the client and the affinity sequence.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any one of the above.
According to a sixth 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 any one of the above-described audio-video data presentation methods.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product, which when executed by a processor, implements the method of any one of the above described audio-video data presentation methods.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the audio and video data display method provided by the embodiment of the disclosure, when a server receives a request for acquiring audio and video data sent by a client, a related friend of the client user is acquired from an associated user of the client, the intimacy sequence of the client user and each related friend is determined, the user information of the related friend and the published audio and video data are packaged and spliced into a data structure of a concerned page according to the intimacy sequence, and the data structure of the concerned page is sent to the client, so that the client displays the audio and video data according to the intimacy sequence according to the data structure of the concerned page. On the one hand, when the server receives an acquisition request of audio and video data, the server can acquire the related friends from the related users preferentially, and when the related users concerned by the client users are more, the client users can see the audio and video data issued by the related friends preferentially on the concerned pages, so that the time for the client users to find the related friends is saved, the user experience is improved, and the viscosity among the users is improved. On the other hand, the server packages and splices the audio and video data of the related friends to the data structure of the concerned pages according to the intimacy sequence of the related friends and the client user, so that the client user can preferentially see the audio and video data of the related friends with higher intimacy in the concerned pages. In addition, the server splices the audio and video data of the friends related to each other into the data structure of the concerned page, the client can directly acquire the audio and video data from the data structure of the concerned page for rendering, and by the technical means of preloading, the waiting time of the client user can be greatly reduced when the audio and video data are displayed, so that the client user can have good experience feeling.
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 diagram of a system architecture of an exemplary application environment of an audio-video data presentation method and apparatus, according to an exemplary embodiment;
FIG. 2 is a schematic diagram of a computer system of an electronic device, shown according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a method of presenting audiovisual data in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a method of presenting audiovisual data in accordance with an exemplary embodiment;
FIG. 5 is an interactive timing diagram illustrating a method of presentation of audiovisual data in accordance with an exemplary embodiment;
fig. 6 is a technical effect diagram of an audio and video data presentation method according to an exemplary embodiment;
FIG. 7 is a block diagram of an audio video data presentation device, according to an example embodiment;
FIG. 8 is a block diagram of an audio video data presentation device, according to an example embodiment;
fig. 9 is a block diagram illustrating an audio-video data presentation device according to an exemplary embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 is a schematic diagram of a system architecture of an exemplary application environment to which an audio and video data presentation method and apparatus according to an embodiment of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of the terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others. The terminal devices 101, 102, 103 may be various electronic devices with display screens including, but not limited to, desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, the server 105 may be a server cluster formed by a plurality of servers.
The audio and video data display method provided by the embodiment of the present disclosure may be performed by the terminal devices 101, 102, 103 and the server 105 together, and accordingly, the audio and video data display apparatus may be disposed in the terminal devices 101, 102, 103 and the server 105.
For example, in the embodiment of the present disclosure, an audio/video client is installed in the terminal device 101, 102, 103, a client user using the terminal device starts a focus page in the audio/video client, and in response to an operation of the client user starting the focus page, the audio/video client requests, to the server 105, audio/video data issued by an associated user, which is a user focused by the client user; after receiving the request for acquiring the audio and video data sent by the audio and video client, the server 105 acquires the related friends from the associated users, and determines the intimacy sequence between each related friend and the client user, where the intimacy sequence is a result of ordering the intimacy of the client user and the related friends. Then, user information and audio and video data of friends related to each other are packaged according to the intimacy sequence and spliced to a data structure of a concerned page, and the data structure of the spliced concerned page is sent to an audio and video client; and after receiving the data structure of the concerned page, the audio and video client displays the audio and video data issued by the friends related to each other in the related user according to the data structure of the concerned page and the affinity sequence in the interactive interface.
Fig. 2 shows a schematic diagram of a computer system suitable for use in implementing embodiments of the present disclosure.
It should be noted that the computer system 200 of the electronic device shown in fig. 2 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present disclosure.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU) 201, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data required for the system operation are also stored. The CPU201, ROM 202, and RAM 203 are connected to each other through a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input section 206 including a keyboard, a mouse, and the like; an output portion 207 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage section 208 including a hard disk or the like; and a communication section 209 including a network interface card such as a LAN card, a modem, and the like. The communication section 209 performs communication processing via a network such as the internet. The drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 210 as needed, so that a computer program read out therefrom is installed into the storage section 208 as needed.
Fig. 3 is a flowchart of an audio and video data displaying method according to an exemplary embodiment, and as shown in fig. 3, the audio and video data displaying method is used for a server, and includes the following steps:
in step S310, a request for acquiring audio and video data sent by a client is received, and related friends of the client are acquired from related users, where the related users are users focused by the client.
The client is an audio and video client installed in the terminal equipment, such as various audio and video platforms or application software, a client user can issue audio and video data on the audio and video client, and can also view the audio and video data issued by other users, so that the purposes of acquiring knowledge, social contact and the like are achieved by sharing and watching the audio and video. The audio and video data are audio and video files uploaded to the audio and video client by the client user, for example, audio and video recorded in daily life can be shot and uploaded by the client user.
The related users are users focused by the client users currently using the audio and video client, and comprise related friends and single-related users of the client users, wherein the related friends are users focused by the client users, and the single-related users are users focused by the client users unilaterally. After the client user starts the audio and video client, the interactive interface of the terminal device displays the interface of the audio and video client, optionally, the interface may include an entry of a concerned page, an entry of a found page, an entry of a same city page, and other page entries, where the audio and video data displayed on the concerned page is the audio and video published by the relevant user concerned by the client user, and the found page may recommend the audio and video to the client user according to the preference of the client user and display the audio and video data published by the user in the same city as the client user, for example, the same city popular video may be displayed on the page for the client user.
The method and the device are mainly used for a client user to browse the scene of the concerned pages, and mainly used for solving the problem that when the number of related users concerned by the client user is large, the concerned pages cannot be used for quickly and conveniently watching audio and video data published by friends concerned, and therefore user experience is poor. Therefore, when receiving a request for acquiring audio and video data sent by a client, the server acquires the related friends of the client user from the associated user, so that the audio and video data published by the related friends are preferentially displayed on the concerned page later. Optionally, when the server receives a request for acquiring audio and video data, the server may divide the associated users into two groups, where one group is a friend of each other and the other group is a single user of each other.
In step S320, the intimacy order of the client user and the related friends is determined, the user information of the related friends and the corresponding audio/video data are packaged according to the intimacy order, and are spliced to the data structure of the attention page, wherein the intimacy order is the result of ordering the intimacy of the client user and the related friends.
After the related friends of the client user are obtained from the associated user, in the embodiment of the disclosure, the server further determines a intimacy order of the client user and the related friends, where the intimacy order refers to a result of ordering intimacy of the client user and the related friends. Alternatively, determining the order of affinity may be accomplished as follows: the method comprises the steps of determining the intimacy of a client user and related friends, and sequencing the related friends from high to low according to the intimacy to obtain a intimacy sequence, wherein the intimacy can be determined according to the attention time interaction frequency of the client user and the related friends, for example, the number of praise, comment and private letter between the two parties, the attention time length of the two parties and the like can be used as the basis for determining the intimacy of the client user and the related friends. The longer the duration of interest, the more interactions, the more affinity order. It should be noted that the above scenario is only an exemplary illustration, and other bases that can determine the above intimacy order also fall within the protection scope of the embodiments of the present disclosure.
In order to enable the audio and video data issued by the related friends with the front affinity order to be displayed on the concerned page preferentially, after the server determines the affinity order, the server can further package the user information of the related friends and the corresponding audio and video data according to the affinity order and splice the user information and the corresponding audio and video data to the data structure of the concerned page. The user information of the inter-related friends can include information such as a user nickname and a user head portrait of the inter-related friends, and the audio and video data are audio and video files distributed by the inter-related friends.
In the above process, the server may package the user information and the audio/video data of the related friends together, and splice the packaged data of the related friends into the data structure of the concerned page according to the affinity sequence. Optionally, in some situations, a preset value may be set, and the server may obtain a target friend with the preset value from the related friends according to the intimacy sequence, encapsulate the user information of the target friend and the corresponding audio/video data, and splice the user information and the corresponding audio/video data to the data structure of the attention page.
In an embodiment, a data structure obtained by packaging user information and audio/video data of friends related to each other and splicing the data structure to a concerned page may be as follows:
Figure BDA0004035676160000071
/>
Figure BDA0004035676160000081
In this embodiment, after the information list "frequencyUserBar" of the related friends is spliced to the data "frequencyUserBar" of the user showing that the user is broadcasting in the data structure of the related pages, "users" includes user information and audio/video data of the related friends, wherein "user_id" is a user ID of the related friends, "head" is a user head portrait of the related friends, and "unhshowfeeds" is audio/video data issued by the related friends. It should be noted that this scenario is only an exemplary illustration, and the protection scope of the embodiments of the present disclosure is not limited thereto.
In step S330, the data structure of the attention page is sent to the client, so that the client displays the audio and video data according to the data structure of the attention page and the intimacy order.
After the user information and the audio/video data of the interactive friends are spliced to the data structure of the concerned page in step S320, in the step, the server side sends the data structure of the concerned page to the audio/video client side, so that the client side can display the audio/video data issued by the related friends on the concerned page according to the related data of the related friends in the data structure of the concerned page in order of intimacy.
In an embodiment, after the server sends the data structure of the attention page to the client, when the client user views the audio/video data of the related friends spliced in the data structure of the attention page on the attention page, the server may further continue to receive the request for obtaining the audio/video data sent by the client, so that the client may continue to display the audio/video data of other related users after the spliced audio/video data of the related friends through steps S310 to S330.
Specifically, after the audio/video data published by the target friend is shown at the client through steps S310 to S330, the following procedure may be implemented: the server receives a request for acquiring audio and video data sent by the continuous client, and acquires related friends and/or single-related users except the target friends from the associated users; determining the intimacy sequence of related friends and/or single-related users outside the target friends, packaging user information of the related friends and/or single-related users and corresponding audio and video data according to the intimacy sequence, and splicing the user information and the corresponding audio and video data to the target friends in a data structure of the attention page; and sending the data structure of the concerned page to the client so that the client can continuously display the audio and video data published by the related friends and/or single-related users outside the target friend after the audio and video data of the target friend.
Fig. 4 is a flowchart illustrating an audio and video data presentation method according to an exemplary embodiment, and as shown in fig. 4, the audio and video data presentation method is used for a client, and includes the following steps:
in step S410, in response to the client user starting the attention page, the server requests the audio/video data published by the associated user, where the associated user is the user of interest to the client user.
The embodiment of the disclosure is applied to the audio and video client, and responds to the operation that a user of the client starts a concerned page, and the audio and video client requests the audio and video data issued by the associated user to the server. After the client user enters the audio and video client, an application interface of the audio and video client is displayed on an interactive interface of the terminal device, and when the client detects that the client user clicks a page entry of a focused page, the client responds to the clicking operation of the client user on the page entry to request the audio and video data issued by the associated user from the server. It should be noted that the above scenario is merely an exemplary illustration, and the protection scope of the present exemplary embodiment is not limited thereto, for example, the client user may start the attention page through other technical means.
In step S420, the data structure of the attention page sent by the server is received, and the audio/video data published by the friends related to each other in the associated user is displayed in the interactive interface of the client according to the data structure of the attention page and the affinity sequence.
According to the audio and video data display method provided by the embodiment of the disclosure, after the client requests the audio and video data issued by the associated user to the server, the server obtains the data structure of the concerned page through the processes of the steps S310 to S330 and sends the data structure to the client. After receiving the data structure of the concerned page, the client can display the audio and video data issued by the friends related to each other in the related user according to the data structure of the concerned page on the interactive interface according to the intimacy sequence.
In an embodiment, after receiving the data structure of the attention page, the client may display a friend entry of an audio/video inner page entering the related friend in the interactive interface, so that a user of the client enters the audio/video inner page through the friend entry to browse the audio/video data published by the related friend. The friend entry comprises user information of the related friends and an update icon, wherein the user information can comprise user head portraits of the related friends, and the update icon is used for improving audio and video data updated by the client user related friends so as to attract the client user to click the friend entry and enter audio and video inner pages of the related friends.
The client may display user avatars of the related friends at the friend entry according to the number of the related friends in the data structure of the attention page, for example, when audio and video data of three or less related friends are in the data structure, user avatars of all the related friends included in the data structure are displayed at the friend entry according to the affinity sequence, and when the number of the related friends is greater than or equal to three in the data structure, only user avatars of the related friends with the affinity sequence of the first three are displayed. Further, the update icon can be displayed on the user head portrait to prompt the client user to mutually related friends to have updated audio and video data. Alternatively, the update icon may be a red dot mark. It should be noted that the above scenario is merely an exemplary illustration, and the protection scope of the present exemplary embodiment is not limited thereto, for example, the friend entry may be implemented by other technical means that can achieve the same or similar effects.
In an embodiment, the foregoing interactive interface at the client may display, according to the data structure of the attention page and according to the affinity sequence, the audio/video data published by the friends related to each other in the associated user as follows: responding to the confirmation operation of the client user acting on the friend entrance, and displaying an audio/video inner stream page on an interactive interface of the client; responding to the sliding operation of a client user on the audio/video inner stream pages, and rendering audio/video data of a preset number of related friends in the audio/video inner stream pages according to the data structure of the concerned pages from high to low according to the order of the affinity.
The above-mentioned confirmation operation in response to the client user acting on the friend entry may be an operation of clicking an update icon or a user avatar of any one of the friends related to each other in the friend entry by the client user, an operation of clicking the whole friend entry area, or other operations capable of achieving the same technical effect, which is not particularly limited in the embodiments of the present disclosure.
Further, in response to the confirmation operation of the client user, the interactive interface jumps to the audio/video inner page, one audio/video data of one inter-related friend with the highest intimacy sequence is rendered and played on the current page, the client user can watch the next audio/video of the inter-related friend in a sliding page mode after watching the current audio/video until the audio/video data issued by the inter-related friend with the highest intimacy is displayed, in response to the operation that the user continues to slide the audio/video inner page, the audio/video data of other inter-related friends spliced in the data structure of the concerned page are sequentially rendered according to the intimacy sequence until the display of the spliced preset number of inter-related friends in the data structure is completed. In the process, the client directly renders the audio and video data according to the data structure of the concerned page sent by the server, so that the effect of producing works in seconds can be achieved, the waiting time of a user can be reduced, and the user experience is improved. Meanwhile, optionally, user information such as user head portraits of related friends at the friend entrance clicked by the client side user and updated icons can be cleared, so that misleading of the client side user to enter the browsed audio/video inner stream page again can be prevented.
In an embodiment, after the audio and video data of the spliced related friends in the data structure of the related page are displayed, the client may further continuously request the audio and video data of the related friends and/or the single-related users with the affinity sequence outside the preset number to the server, so as to continuously display the audio and video data of the related friends and/or the single-related users outside the preset number to the client user. After the audio and video data of the preset number of inter-related friends are displayed, responding to the operation that the client user continues to slide the page, requesting the audio and video data of the next inter-related friend with the affinity sequence positioned behind the last spliced inter-related friend from the server, and further requesting the audio and video data of the single-related user after the audio and video data of all inter-related friends are displayed, so that the client user can browse the audio and video data issued by all concerned users in turn according to the affinity sequence.
In another embodiment, when the preset condition is met, the client may send a request to the server again to obtain the audio/video data published by the associated user. For example, the preset condition may be that a time difference from a previous request reaches a preset threshold, so as to prevent resource waste caused by frequent requests. Specifically, for example, the audio/video data of the associated user may be requested from the server side once every one hour. In addition, optionally, the client displays the user head portrait and the update icon of the related friends requested at this time at the friend entry. It should be noted that the above scenario is only an exemplary illustration, and other schemes that can achieve the same technical effects also belong to the protection scope of the embodiments of the present disclosure.
Next, the interaction process of the audio/video data display method will be described in detail with reference to the interaction scenario shown in fig. 5 and 6. Fig. 5 is an interaction timing chart of the audio/video data display method, and fig. 6 is a technical effect chart of the audio/video data display method.
In this interaction scenario, as shown in fig. 5, the method specifically includes the following steps:
in step S510, in response to the client user initiating the operation of the attention page, the client requests the server for the audio/video data published by the associated user.
In step S520, the server divides the associated users into two groups of related friends and single-related users;
in step S530, user information and audio/video data of a preset number of related friends are packaged in sequence according to the relatedness of the related friends and the client user, spliced into a data structure of the concerned page, and sent to the client.
In step S540, the client displays the user head portraits and update icons of friends related to each other at the friend entry of the concerned page according to the data structure of the concerned page sent by the server.
As shown in fig. 6, the client displays the avatars of friends a and B at the friend entry of the attention page, and prompts the client user to update one audio/video data with the related friends through dots at the lower right corner of the avatars.
In step S550, in response to the confirmation operation of the client user acting on the friend entry, the client jumps to the friend page and transmits the audio/video data of the related friends to the friend page to render the audio/video data of the related friends in the friend page.
The friend page is an audio/video inner stream page for displaying audio/video data of related friends. As shown in fig. 6, the client responds to the operation of clicking the friend entry by the client user, enters a friend page, and transmits the audio and video data of the friend a and the friend B to the friend page so as to render the audio and video data published by the friend a and the friend B in the friend page.
In step S560, the client requests the server for the audio/video data published by the associated users beyond the preset number, so as to continuously display the audio/video data published by the related friends and/or single-close users beyond the preset number through the processes from step S510 to step S550.
As shown in fig. 6, when the friend page renders the audio and video data updated by the friend a and the friend B, the friend page continuously requests the server for the audio and video data updated by the related friends or single-close users with the affinity sequence arranged behind the friend B, and after receiving the request, the server splices the user information and the audio and video data packaged by the user C to the friend B and sends the user information and the audio and video data to the client, so that the client user continuously browses the works of the user C after browsing the works of the friend a and the friend B, and the user C can be the related friends with the affinity sequence positioned behind the friend B or the single-close user.
In step S570, in response to the operation of the client exiting the friend page, the attention page is notified to request the audio/video data of the associated user again.
As shown in fig. 6, when the client user exits the friend page and satisfies the preset condition, the attention page is notified to request the audio and video data issued by the related friends with higher affinity order again. The preset condition may be that a time difference from a previous request reaches a preset threshold.
In step S580, the attention page requests the audio/video data of the associated user again, so as to enter step S510 again, and the server returns the data structure of the attention page again.
Correspondingly, the embodiment of the disclosure also provides a block diagram of the audio and video data display device, which is applied to the server. As shown in fig. 7, the apparatus includes an acquisition unit 710, a packaging unit 720, and a transmission unit 730. Wherein:
and the acquiring unit 710 is configured to perform a request for acquiring the audio and video data, where the request is sent by the receiving client, and acquire the friends of the client from the associated users, where the associated users are users focused by the client.
The packaging unit 720 is configured to determine a intimacy order of the client user and the related friends, package user information and audio/video data of the related friends according to the intimacy order, and splice the user information and the audio/video data to a data structure of the attention page, where the intimacy order is a result of ordering intimacy of the client user and the related friends.
And a transmitting unit 730 configured to perform transmitting the data structure of the attention page to the client, so that the client displays the audio and video data according to the data structure of the attention page and the intimacy order.
The embodiment of the disclosure also provides a block diagram of the audio and video data display device, which is applied to the client. As shown in fig. 8, the apparatus includes a request unit 810 and a display unit 820. Wherein:
a request unit 810 configured to perform an operation of requesting, to a server, audio and video data issued by an associated user, the associated user being a user focused by a client user, in response to the client user starting a focused page;
the display unit 820 is configured to execute a data structure of the attention page sent by the receiving server, and display, at the interactive interface of the client, the audio/video data published by the friends related to each other in the associated user according to the data structure of the attention page and the affinity sequence.
The specific manner in which the individual units or modules perform the operations in the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method, and will not be described in detail here.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
For example, in an embodiment, the aforementioned audio/video data display device applied to the client may also divide modules in a manner as shown in fig. 9, and fig. 9 shows a core module and a connection relationship between the modules included in the device provided in this embodiment. Specifically, the device comprises the following core modules:
and a friend page data loading module (friend second ViewController) which is mainly used for displaying the audio and video data updated by friends related to each other.
And a friend page data request module (KSFriendsSecondarFeedModel) which is mainly used for splicing the newly requested audio and video data transmitted by the friend entry with the audio and video data of related friends sent by the server.
And a friend entry data loading module (KSFrequenctFriendInfoView) which mainly updates the audio and video data newly released by the related friends.
And a friend head portrait display module (KSFrequencFriendHeadView) which is mainly used for displaying user head portraits of a plurality of related friends at a friend entrance when the audio and video data are updated by the plurality of related friends.
The attention list page (KSNewFollowViewController) is mainly used for showing the related users of the client users.
As another aspect, the present application also provides a computer-readable medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer-readable medium carries one or more programs which, when executed by one of the electronic devices, cause the electronic device to implement the methods described in the embodiments below.
It should be noted that the computer readable medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 (12)

1. The audio and video data display method is characterized by comprising the following steps of:
receiving a request for acquiring audio and video data sent by a client, and acquiring related friends of a client user from associated users, wherein the associated users are users concerned by the client user;
determining the intimacy sequence of the client user and the related friends, packaging the user information of the related friends and the corresponding audio and video data according to the intimacy sequence, and splicing the data structure of a concerned page, wherein the intimacy sequence is a result of sequencing the intimacy of the client user and the related friends;
And sending the data structure of the concerned page to the client so that the client displays the audio and video data according to the data structure of the concerned page and the intimacy sequence.
2. The method for displaying audio and video data according to claim 1, wherein determining the intimacy order of the client user and the related friends, packaging the user information of the related friends and the corresponding audio and video data according to the intimacy order, and splicing the user information and the corresponding audio and video data to a data structure of a concerned page, comprises:
determining the intimacy of the client user and the related friends, and sequencing the related friends from high to low according to the intimacy to obtain the intimacy sequence;
and acquiring a preset number of target friends from the related friends according to the intimacy sequence, packaging the user information of the target friends and the corresponding audio and video data, and splicing the user information and the corresponding audio and video data into a data structure of the concerned page.
3. The method for presenting audio-visual data according to claim 2, wherein after said sending the data structure of the interest page to the client, the method further comprises:
Receiving a request for acquiring the audio and video data sent by the client, and acquiring the related friends and/or single-related users except the target friends from the associated users;
determining the intimacy sequence of the related friends and/or single-related users outside the target friends, packaging the user information of the related friends and/or single-related users and the corresponding audio and video data according to the intimacy sequence, and splicing the user information and the corresponding audio and video data to the target friends in a data structure of the concerned pages;
and sending the data structure of the concerned page to the client so that the client can continuously display the audio and video data which are released by the inter-related friends and/or the single-related users and are outside the target friends after the audio and video data of the target friends.
4. The audio and video data display method is characterized by comprising the following steps of:
responding to the operation of starting a focus page by a client user, and requesting audio and video data issued by an associated user from a server, wherein the associated user is a user focused by the client user;
and receiving the data structure of the concerned pages sent by the server, and displaying the audio and video data issued by the related friends in the associated users according to the data structure of the concerned pages at the interactive interface of the client and the affinity sequence.
5. The method for displaying audio and video data according to claim 1, wherein after said receiving the data structure of the attention page sent by the server, the method further comprises:
and displaying a friend entry of an audio/video stream page entering the inter-related friend on an interactive interface of the client, wherein the friend entry comprises the user information of the inter-related friend and an update icon, the user information comprises a user head portrait of the inter-related friend, and the update icon is used for prompting the inter-related friend to update the audio/video data.
6. The method for displaying audio and video data according to claim 5, wherein the displaying the audio and video data published by related friends in the associated user according to the data structure of the attention page by the interactive interface of the client according to an affinity sequence includes:
responding to the confirmation operation of the client user acting on the friend entry, and displaying the audio/video inner stream page on an interactive interface of the client;
responding to the sliding operation of the client user on the audio/video inner stream pages, and rendering the audio/video data of a preset number of related friends on the audio/video inner stream pages according to the data structure of the concerned pages according to the order of the intimacy from high to low.
7. The method for displaying audio and video data according to claim 6, wherein when the audio and video data of a preset number of the mutually related friends are rendered in the audio and video stream page according to the data structure of the attention page in the order from high to low, the method further comprises:
and requesting the audio and video data issued by the inter-related friends and/or the single-related users with the intimacy sequence beyond the preset number to the server so as to continuously display the audio and video data issued by the inter-related friends and/or the single-related users beyond the preset number.
8. The method according to any one of claims 4 to 7, wherein after the client user exits the presentation page of the audio-video data, the method further comprises:
and when the preset condition is met, requesting the audio and video data issued by the associated user to the server.
9. An audio and video data presentation device, comprising:
the acquisition module is configured to execute a request for acquiring audio and video data sent by a receiving client, acquire related friends of a client user from associated users, wherein the associated users are users concerned by the client user;
The packaging module is configured to determine the intimacy sequence of the client user and the related friends, package the user information of the related friends and the corresponding audio and video data according to the intimacy sequence, and splice the user information and the corresponding audio and video data to a data structure of a concerned page, wherein the intimacy sequence is a result of sequencing the intimacy of the client user and the related friends;
and the sending module is configured to send the data structure of the concerned page to the client so that the client displays the audio and video data according to the intimacy sequence according to the data structure of the concerned page.
10. An audio and video data presentation device, comprising:
the request module is configured to execute an operation of responding to a client user to start a concerned page, and request audio and video data issued by an associated user to a server, wherein the associated user is a user concerned by the client user;
the display module is configured to execute the data structure of the concerned pages sent by the server, and display the audio and video data issued by the friends related to each other in the associated users according to the data structure of the concerned pages at the interactive interface of the client and the affinity sequence.
11. 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 audio-visual data presentation method of any one of claims 1 to 8.
12. A storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the audiovisual data presentation method of any one of claims 1 to 8.
CN202310002391.XA 2023-01-03 2023-01-03 Audio and video data display method and device, electronic equipment and storage medium Pending CN116055785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310002391.XA CN116055785A (en) 2023-01-03 2023-01-03 Audio and video data display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310002391.XA CN116055785A (en) 2023-01-03 2023-01-03 Audio and video data display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116055785A true CN116055785A (en) 2023-05-02

Family

ID=86115883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310002391.XA Pending CN116055785A (en) 2023-01-03 2023-01-03 Audio and video data display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116055785A (en)

Similar Documents

Publication Publication Date Title
WO2020133373A1 (en) Video processing method, apparatus, and electronic device, and computer readable storage medium
JP2023547940A (en) Information display methods, devices, equipment and media
US11949528B2 (en) Information interaction method and apparatus, and electronic device
JP2023507068A (en) Information interaction method, device, equipment, storage medium and program product
CN111836112B (en) Multimedia file output method, device, medium and electronic equipment
CN110069738B (en) Information processing method and device, terminal equipment and server
CN110110101B (en) Multimedia content recommendation method, device, terminal, server and readable medium
CN114154012A (en) Video recommendation method and device, electronic equipment and storage medium
WO2023116479A1 (en) Video publishing method and apparatus, electronic device, storage medium and program product
WO2021218556A1 (en) Information display method and apparatus, and electronic device
CN111246304A (en) Video processing method and device, electronic equipment and computer readable storage medium
CN111163348A (en) Searching method and device based on video playing
US20240028189A1 (en) Interaction method and apparatus, electronic device and computer readable medium
CN112055252A (en) Multi-screen interaction method and device, computer readable medium and electronic equipment
CN114679628B (en) Bullet screen adding method and device, electronic equipment and storage medium
CN114053697A (en) Cloud game interaction method and device, readable medium and electronic equipment
CN111147885B (en) Live broadcast room interaction method and device, readable medium and electronic equipment
CN114630136B (en) Video interface interaction method, device, electronic equipment and computer readable medium
CN116055785A (en) Audio and video data display method and device, electronic equipment and storage medium
CN112672182B (en) Live broadcast interface display method, device, electronic equipment and computer readable medium
CN115225948A (en) Live broadcast room interaction method, device, equipment and medium
CN114780187A (en) Prompting method and device
CN113641853A (en) Dynamic cover generation method, device, electronic equipment, medium and program product
CN111427635B (en) Third-party information display method, device, equipment and storage medium
CN112287171A (en) Information processing method and device and electronic equipment

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