CN114519155A - Data processing method, device, client and storage medium - Google Patents

Data processing method, device, client and storage medium Download PDF

Info

Publication number
CN114519155A
CN114519155A CN202011316384.XA CN202011316384A CN114519155A CN 114519155 A CN114519155 A CN 114519155A CN 202011316384 A CN202011316384 A CN 202011316384A CN 114519155 A CN114519155 A CN 114519155A
Authority
CN
China
Prior art keywords
data
user interface
user
multimedia data
playing
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
CN202011316384.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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011316384.XA priority Critical patent/CN114519155A/en
Publication of CN114519155A publication Critical patent/CN114519155A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a data processing device, a client and a storage medium, wherein the method comprises the following steps: displaying a user interface of a target user, wherein a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data; when the user identification is executed with a first trigger operation, multimedia data associated with the user interface is played on the user interface; in the playing process of the multimedia data, if the user identifier is executed with a second trigger operation, the multimedia data is controlled to be played according to the second trigger operation, and the flexibility of feature display in a user interface can be improved.

Description

Data processing method, device, client and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, an apparatus client, and a storage medium.
Background
With the deep development of the current internet technology, various application programs are generated in order to facilitate the production and life of a current user, and the current application programs provide a user interface (or a personal homepage) for personal display for the user in order to make the personality expression of the user more clear, and the display of the current user interface is generally realized by uploading related pictures by a target user or displaying a head portrait of the user, so that the current user interface is relatively limited in displaying the personality characteristics of the target user, and how to make the display of the personality characteristics of the corresponding user more flexible by the user interface becomes a current research hotspot.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, a client and a storage medium, which can improve the flexibility of feature display in a user interface.
In one aspect, an embodiment of the present invention provides a data processing method, including:
displaying a user interface of a target user, wherein a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data;
when the user identification is executed with a first trigger operation, multimedia data associated with the user interface is played on the user interface;
and in the playing process of the multimedia data, if the user identification is executed with a second trigger operation, playing control is carried out on the multimedia data according to the second trigger operation.
In another aspect, an embodiment of the present invention provides a data processing apparatus, including:
the display unit is used for displaying a user interface of a target user, wherein a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data;
the playing unit is used for playing the multimedia data related to the user interface on the user interface when the user identifier is executed with a first trigger operation;
and the control unit is used for carrying out playing control on the multimedia data according to a second trigger operation if the user identifier is executed by the second trigger operation in the playing process of the multimedia data.
In another aspect, an embodiment of the present invention provides a client, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports a terminal to execute the foregoing method, the computer program includes program instructions, and the processor is configured to call the program instructions and perform the following steps:
displaying a user interface of a target user, wherein a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data;
when the user identification is executed with a first trigger operation, multimedia data associated with the user interface is played on the user interface;
and in the playing process of the multimedia data, if the user identification is executed with a second trigger operation, playing control is carried out on the multimedia data according to the second trigger operation.
In yet another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which program instructions are stored, and when the program instructions are executed by a processor, the program instructions are used to execute the data processing method according to the first aspect.
In the embodiment of the invention, after the client displays the user interface of the target user, the client binds at least one piece of multimedia data associated with the user interface with the user identifier displayed in the user interface, so that if the user identifier displayed in the user interface is subjected to the first trigger operation, the client can play the multimedia data associated with the user interface in the user interface, thereby improving the interactivity of a browsing user before accessing the user interface, and enhancing the experience of the browsing user when accessing the user interface and the browsing experience of the user by playing the multimedia data based on the trigger of the browsing user on the user identifier in the user interface. In addition, the client can also perform playing control on the multimedia data based on a second trigger operation executed on the user identifier in the playing process of the multimedia data, so that the client controls the playing of the multimedia data based on user requirements, and the flexibility of controlling the multimedia data when the multimedia data is played in a user interface is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a schematic diagram of a data processing system according to an embodiment of the present invention;
FIG. 1b is an interaction diagram of a data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a data processing method provided by an embodiment of the invention;
FIG. 3a is a schematic diagram of a user interface provided by an embodiment of the present invention;
FIG. 3b is a schematic diagram of playing audio data on a user interface according to an embodiment of the present invention;
FIG. 3c is a schematic diagram of playing video data on a user interface according to an embodiment of the present invention;
fig. 3d is a schematic diagram illustrating switching of a playing mode of video data according to an embodiment of the present invention;
fig. 3e is a schematic diagram of switching a playing mode of video data according to an embodiment of the present invention;
FIG. 3f is a diagram of re-displaying the user identifier and the background image when the second trigger operation is the same as the first trigger operation according to the embodiment of the present invention;
FIG. 3g is a schematic diagram illustrating a switching playing of another multimedia data according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram of a data processing method provided by an embodiment of the invention;
FIG. 5a is a schematic diagram of a display play indicator according to an embodiment of the present invention;
FIG. 5b is a schematic diagram of displaying matched associated data while playing multimedia data according to an embodiment of the present invention;
fig. 5c is a schematic diagram illustrating displaying a plurality of associated data while playing multimedia data according to an embodiment of the present invention;
FIG. 5d is a diagram illustrating a stop play indicator according to an embodiment of the present invention;
FIG. 5e is a schematic diagram illustrating a display data switch indicator for switching to play another multimedia data according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a data processing apparatus provided by an embodiment of the present invention;
fig. 8 is a schematic block diagram of a client according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a data processing method, which is characterized in that multimedia data set for a user interface by a target user is bound into a user identifier, so that a browsing user of the user interface can execute different trigger operations on the user identifier based on requirements in the process of browsing the user interface, a client side controls the playing process of the multimedia data in the user interface according to the trigger operations, the interactivity between the browsing user and the user interface is improved, and the interestingness of the browsing user in the process of browsing the user interface is improved. The data processing method can be applied to a data processing system as shown in fig. 1a, where the data processing system includes a browsing user 10, a client 11 used by the browsing user, and a server 12, where the browsing user 10 can access a user interface of a target user through the client 11, specifically, the client 11 can monitor one or more user operations executed by the browsing user 10 in the user interface and respond to the user operations executed by the browsing user 10 in the user interface in real time, and in addition, the server 12 is a server for supporting the user interface to operate, and it can be understood that when the client 11 responds to the user operations executed by the browsing user 10 in the user interface, the client 11 can request the server 12 for corresponding feedback data to be displayed to the browsing user. In an embodiment, the server 12 further stores rendering data corresponding to user interfaces of different users, when the browsing user 10 accesses the user interface of the target user through the client 11, the client 11 may also send a data obtaining request to the server 12, so as to request to obtain, from the server 12, rendering data required for rendering the user interface of the target user, after the client 11 obtains the rendering data from the server 12, the client 11 may render the user interface based on the rendering data, and display the rendered user interface to the browsing user 10.
In an embodiment, after the browsing user starts the target application, if a start (or open) operation of the user interface of the target user by the browsing user is detected, the client may first query whether there is rendering data required when rendering the user interface of the target user from the local, and if not, the client may send a data acquisition request to the server to acquire rendering data required when rendering the user interface from the server. Wherein, the target user and the browsing user can be the same user or different users, it can be understood that, when the target user and the browsing user are the same user, after detecting the opening operation of the browsing user to the user interface by the client, rendering data for the user interface may be retrieved from a local cache, and when the target user and the browsing user are not the same user, the client will not be able to retrieve the rendering data for the user interface from the local cache and will request to retrieve the rendering data from the server, in embodiments of the invention, primarily because the target user and the browsing user are not the same user, i.e. the browsing user is elaborated on the case that the browsing user requests access to the user interface of the host-mode target user in the guest-mode, the embodiment of the invention can also be referred to when the target user and the browsing user are the same user.
After receiving a data acquisition request sent by a client, a server can acquire rendering data required for rendering the user interface by querying a database and send the rendering data to the client, in one embodiment, the server can directly send the rendering data to the client when sending the rendering data to the client, so that the client can directly render the user interface based on the rendering data after acquiring the rendering data, in another feasible implementation, in order to ensure the security and integrity of the rendering data in the sending process, the server can also encrypt and/or package the acquired rendering data to obtain a rendering data packet and then send the rendering data packet to the client, and the client can analyze the rendering data packet to obtain the rendering data after acquiring the rendering data packet, and rendering the user interface according to the rendering data. In one embodiment, when rendering the user interface based on the rendering data, the client may first render basic interface elements of the user interface, such as functional tags of the user interface, such as album tags and game tags in the user interface, and then render personalized elements set by the target user, such as a background image and a user identifier of the user interface, and a multimedia indication identifier displayed after binding multimedia data of the user interface device to the user identifier; alternatively, the client may also render the basic interface elements and the personalized elements of the user interface in the user interface at the same time.
After the client renders the user interface, the user interface can be displayed to a browsing user, and the operation (i.e. the interactive operation between the browsing user and the user interface) executed by the browsing user on the user interface is monitored, if it is detected that the browsing user executes a first trigger operation on the user identifier of the user interface, the client needs to determine the multimedia data bound to the user interface after detecting the first trigger operation executed by the browsing user on the user interface, and query whether the data resource of the multimedia data exists in a local cache, if not, the data resource of the multimedia data can be requested from the server, because the client queries the local cache when playing the multimedia data, the client can avoid requesting the server every time when responding to the user operation, and the data processing pressure of the server can be reduced, the response progress of the client to the user operation can be accelerated, and the response efficiency to the user operation is improved, so that better user experience is brought. In one embodiment, the data resource includes a first data resource for playing the multimedia data, where the multimedia data is audio data, the first data resource for playing the audio data may be an audio playing resource (such as a playing address of the audio data), and where the multimedia data is video data, the first data resource for playing the video data may be a video playing resource (such as a playing address of the video data); in addition, the data resource also comprises a second data resource for displaying the associated data matched with the data content of the multimedia data, wherein the associated data matched with the data content of the multimedia data can be a cover page image and the like, and the second data resource is a rendering resource for rendering the cover page image and the like.
After the client acquires the data resource from the server, the data resource can be loaded, the multimedia data is played according to the first data resource included in the data resource, and the associated data matched with the data content of the multimedia data is rendered in the user interface based on the second data resource while the multimedia data is played. In an embodiment, when the client plays the multimedia data according to the first data resource, a mode of loading while playing may be adopted, and based on the data playing mode of loading while playing, the playing efficiency of the multimedia data may be improved, and the utilization rate of the client requesting the server each time may be maximized. It can be understood that, after the client plays the multimedia data on the user interface and displays the associated multimedia data matching with the data content of the multimedia data to the browsing user, it indicates that the response of the client to the first trigger operation performed by the browsing user at the user identifier is finished, and may continue to monitor the trigger operation performed by the browsing user at the user identifier, wherein if the browsing user performs the second trigger operation at the user identifier, the client may first determine the number of multimedia data bound for the user interface, and if it is determined that there are more multimedia data bound for the multimedia interface, the client may switch the multimedia data being played based on the second trigger operation. In a specific implementation, if the multimedia data bound for the user interface at least includes first multimedia data and second multimedia data, and the multimedia data being played by the client is the first multimedia data, after the browsing user performs the second trigger operation at the user identifier, in an embodiment, if the first trigger operation and the second trigger operation are different, the client may switch from the first multimedia data to the second multimedia data for playing, and will switch to present associated data matching with the data content of the second multimedia data, wherein, when the client switches from the first multimedia data to the second multimedia data for playing, the client may also query whether the data resource of the second multimedia data is cached locally first, and when it is determined that there is no time, request the data resource of the second multimedia data from the server, and as such, after the client acquires the data resource of the second multimedia data from the server, the second multimedia data is played in a mode of playing and loading, and associated data matched with the data content of the multimedia data is displayed in the playing process.
After the browsing user performs the second trigger operation at the user identifier, in another embodiment, if the first trigger operation and the second trigger operation are the same, that is, if the client detects that the browsing user performs the first trigger operation at the user identifier again after the browsing user performs the first trigger operation at the user identifier, the client may stop the multimedia data being played at the user interface. After the client stops the multimedia data being played on the user interface, the client can continue to download the data resource of the multimedia data and store the downloaded data resource into the local cache, so that when the multimedia data needs to be played again, the multimedia data can be played based on the data resource of the local cache without requesting the server to acquire the data resource, and the playing efficiency of the client on the multimedia data can be improved. In one embodiment, after stopping playing the multimedia data, the client may first determine the network status of the client before continuing to download the data resource of the multimedia data, and if the network status of the client is the wireless network status, the client may start downloading the data resource of the multimedia data, and if the network status of the client is the data traffic status, the client may create a download task for downloading the data resource and start downloading the data resource when detecting that the client is in the wireless network status; or, the client may also download the data resource no matter in the wireless network state or the data traffic state, and in the embodiment of the present invention, the triggering condition for the client to download the data resource of the multimedia data is not limited.
Referring to fig. 2, a schematic flow chart of a data processing method according to an embodiment of the present invention is shown, where the data processing method can be executed by the client, and as shown in fig. 2, the method can include:
s201, displaying a user interface of a target user, wherein the user interface displays a user identifier of the target user and is associated with at least one piece of multimedia data.
In one embodiment, the client may display the user interface of the target user when detecting that the browsing user starts the target application and enters the user interface (or the personal homepage) of the target user in the target application through the target application, where the user interface of the target user displayed by the client may be as shown in fig. 3a, and the user identifier of the target user is displayed in the user interface of the target user, that is, as shown in the left diagram in fig. 3a, and in addition to displaying the user identifier of the target user, a multimedia indicator associated with the user interface is also displayed at a position where the user identifier of the target user is displayed, as shown in the right diagram in fig. 3a, where the multimedia indicator is displayed when the browsing user accesses the user interface after the target user has preset associated multimedia data for the user interface in advance, as shown by the mark marked by 30 in the right diagram of fig. 3a, by adding the feature (feature) of the associated multimedia data to the user interface, the mood and personality of the target user can be more highlighted, and the access rate of other users to the user interface can be effectively improved. After the client detects that the target user adds the associated multimedia data to the user interface, the multimedia data can be bound with the user identifier of the target user displayed in the user interface, and then after a browsing user who browses the user interface enters the user interface to access, the playing of the multimedia data can be triggered through the user identifier.
In one embodiment, the browsing user browses the user interface, the browsing user may trigger the client to play the associated multimedia data by performing a first trigger operation at the user identifier, where the first trigger operation may be one or more of a double-click operation, a drag operation in a first direction, a press operation, and the like, for example, then the client may play the multimedia data in the user interface when detecting the first trigger operation performed by the browsing user for the user identifier, that is, instead of performing step S202. It should be noted that the browsing user and the target user may be the same user or different users, in the embodiment of the present invention, the detailed description is mainly performed on the condition that the browsing user and the target user are different users, and when the browsing user and the target user are the same user, reference may be made to the embodiment of the present invention.
If the target user only adds one piece of multimedia data to the user interface after determining that the browsing user executes the first trigger operation for the user identifier, the client may play the piece of multimedia data added to the user interface and stop playing the piece of multimedia data after the playing is completed, or the client may also play the piece of multimedia data in a recycling manner after playing the piece of multimedia data added to the user interface is completed. In another embodiment, if the target user adds at least two multimedia data to the user interface, the client may play the at least two multimedia data according to the adding sequence of the target user to the at least two multimedia data, or the client may also play the at least two multimedia data randomly, or the client may also play the at least two multimedia data according to the playing time length of the at least two multimedia data, or the client may also play the at least two multimedia data according to the data quality of the at least two multimedia data. In addition, after the client finishes playing one or more multimedia data added to the user interface, the client may stop playing the multimedia data, or may also play the multimedia data in a circulating manner, or may also obtain other multimedia data related to the data content of the played multimedia data from the internet, and play the related other multimedia data, that is, the embodiment of the present invention does not limit the source of the multimedia data played in the user interface, nor limit the playing sequence of the multiple multimedia data added to the user interface by the target user.
S202, when the user identification is executed with the first trigger operation, the multimedia data associated with the user interface is played on the user interface.
If the user interface displayed on the user interface is as shown in the right diagram in fig. 3a, the first trigger operation is a dragging operation for the user identifier, and if the multimedia data associated with the user interface is audio data, when the client determines that the browsing user performs the dragging operation at the user identifier of the user interface, the audio data associated with the user interface can be played in the user interface, wherein the client can play the audio data only through the speaker under the condition that the user interface can be kept unchanged when the user interface plays the audio data; alternatively, as shown in fig. 3b, the client may display the data information of the audio data in the user interface while playing the audio data through the speaker, wherein the displayed data information of the audio data may be a title of the audio data, or theme information, and the like, and the data information may be, for example, as shown by the information marked by 31 in fig. 3 b. In an embodiment of the present invention, the audio data may be, for example, music, and then the data information of the displayed music may include a title of the music, a singer, and the like, or the audio data may also be a self-introduced recording of the target user, and then the data information of the displayed self-introduced recording may be subject information of the self-introduced recording, and the like.
In one embodiment, if the multimedia data associated with the user interface is video data, the video data may be played on the user interface after the browsing user performs a drag operation at the user identifier of the user interface, where the client may play the video data at a position where a background image is displayed on the user interface when playing the video data, as shown in fig. 3c, where the video data may be data including multiple frames of continuous images, or the video data may also be slideshow data, or the like. When the client plays the video data on the user interface, the browsing user can also adjust the playing position of the video data based on the user requirement, wherein the client can adjust the playing position of the video data when detecting a trigger operation (such as a pressing operation or a dragging operation) of the browsing user on the played video data, as shown in fig. 3d, the client can display the video data in a floating window and full screen manner when detecting the pressing operation on the played video data, or, as shown in fig. 3e, the client can display the video data in a small window manner in the user interface when detecting the pressing operation on the played video data, so that the browsing user can access the user interface while watching the played video data, and execute corresponding operations on the user interface, thereby greatly enriching the requirements of the browsing user when accessing the user interface, it is understood that the video data displayed in the form of the small window can also be dragged to any interface of the user to be played according to the requirements of the browsing user.
S203, in the process of playing the multimedia data, if the user identifier is executed with a second trigger operation, performing playing control on the multimedia data according to the second trigger operation.
In the process of playing the multimedia data, the client may also perform playing control on the multimedia data according to a second trigger operation executed by the browsing user at the user identifier, where the second trigger operation may be the same operation as the first trigger operation or different operation from the first trigger operation, and when the second trigger operation is the same as the first trigger operation, the client may stop the multimedia data being played. Wherein, no matter the multimedia data being played is audio data or video data, the client will redisplay the original user interface after stopping playing the multimedia data, as shown in fig. 3f, if the user interface is playing the audio data as shown by the interface marked by 301 in fig. 3f, or playing the video data as shown by the interface marked by 302 in fig. 3f, after the client detects the second trigger operation which is the same as the first trigger operation, the client will stop playing the audio data or the video data, and redisplay the original user interface as shown by 303 in fig. 3 f.
In one embodiment, the second trigger operation may also be different from the first trigger operation, and if the first trigger operation is a right drag operation, it is understood that the second trigger operation may be a drag operation in a different direction from the first trigger operation, such as a left drag operation or a downward drag operation, or a right up drag operation, etc. If the second trigger operation is a downward dragging operation, when the client determines that the user identifier is executed with the second trigger operation, if the target user only adds one piece of associated multimedia data to the user interface, the client can replay the multimedia data currently being played, or the client can obtain the multimedia data matched with the data content of the multimedia data from the internet and start to play the multimedia data obtained from the internet after stopping playing the multimedia data currently being played; or, if the target user adds at least two associated multimedia data to the user interface, the client may stop playing the currently played multimedia data after acquiring a second trigger operation different from the first trigger operation, and start playing other multimedia data added to the user interface by the target user, taking the multimedia data as the audio data for example, as shown in fig. 3g, after detecting the downward dragging operation, the client stops playing the audio data with the number of 1 in the user interface, and starts playing the audio data with the number of 2 in the user interface.
In the embodiment of the invention, after the client displays the user interface of the target user, the client binds at least one piece of multimedia data associated with the user interface with the user identifier displayed in the user interface, so that if the user identifier displayed in the user interface is subjected to a first trigger operation, the client can play the multimedia data associated with the user interface in the user interface, thereby improving the interactivity of a browsing user before accessing the user interface, and moreover, the multimedia data is played based on the trigger of the browsing user on the user identifier in the user interface, so that the experience of the browsing user when accessing the user interface can be enhanced, and the browsing experience of the user can be improved. In addition, the client can also perform playing control on the multimedia data based on a second trigger operation executed on the user identifier in the playing process of the multimedia data, so that the client controls the playing of the multimedia data based on user requirements, and the flexibility of controlling the multimedia data when the multimedia data is played in a user interface is improved.
Referring to fig. 4, a schematic flowchart of a data processing method according to an embodiment of the present invention is shown, where the method is also applicable to the client, and as shown in fig. 4, the method may include:
s401, displaying a user interface of the target user, wherein the user interface displays a user identifier of the target user, and the user interface is associated with at least one piece of multimedia data.
In an embodiment, the specific implementation of step S401 may refer to the specific implementation of step S201 in the above embodiments, and is not limited herein.
S402, when the user identification is executed with the first trigger operation, the multimedia data is played on the user interface.
When the user identifier is subjected to the first trigger operation, the client can determine whether the target user binds the associated multimedia data for the user interface, wherein the client can determine whether the target user binds the multimedia data for the user interface by checking whether the multimedia indication identifier is displayed at the position of the user identifier in the user interface. Specifically, when the user identifier is executed with the first trigger operation, if the position of the user interface where the user identifier is displayed also displays a multimedia indicator, as shown in the right diagram in fig. 3a, the multimedia indicator may play the associated multimedia data of the user interface on the user interface, where the multimedia indicator is displayed after the target user adds the associated multimedia data to the user interface. In another embodiment, if the client displays no multimedia indicator at the position of the user interface where the user identifier is displayed when the user identifier is executed with the first trigger operation, as shown in the left diagram in fig. 3a, it can be understood that, in the case that the position of the user identifier is not displayed, it indicates that there is a case that the target user does not bind the associated multimedia data for the user interface, or indicates that the client does not bind the multimedia data associated with the user interface for the target user, then the client may not play the multimedia data when the multimedia indicator is not displayed at the position of the user identifier.
The first trigger operation executed by the user identifier may be a double-click operation, a dragging operation in a first direction, a pressing operation, and the like, where the first direction may be a right direction, when the browsing user drags the user identifier in the right direction, and after the dragged distance of the user identifier reaches a preset distance threshold, a play indicator that displays multimedia data at an initial display position of the user interface where the user identifier is displayed is triggered, and when the browsing user can display the play indicator at the user interface, the dragging of the user identifier is stopped, and the client may play the multimedia data associated with the user interface after the play indicator is displayed in the user interface, as shown in fig. 5a, where the displayed play indicator is shown by an indicator marked with a mark 50 in fig. 5 a. It can be understood that, if the distance that the browsing user drags the user identifier does not reach the preset distance threshold, the play indicator will not be displayed at the initial display position of the user identifier in the user interface, and the client will not be triggered to play the multimedia data, where the initial display position is the display position in the user interface before the user identifier is dragged, and the multimedia data is triggered to be played only after the user identifier is dragged to reach a certain distance to the browsing user, so that the multimedia data can be effectively prevented from being played by the client based on the false triggering of the browsing user on the user identifier, and the waste of data play resources of the client is avoided.
In order to further enhance the interface browsing experience of the browsing user during the process of playing the multimedia data, the client may also display associated data matching the data content of the multimedia data during the process of playing the multimedia data, that is, execute step S403.
And S403, displaying the associated data matched with the data content of the multimedia data on the user interface in the playing process.
The multimedia data played at the user interface includes audio data or video data, and then the associated data matched with the data content of the audio data includes one or more of: cover images, text and video; and the associated data matched with the data content of the video data comprises one or two of the following: a cover image and text. By displaying the associated data matched with the data content of the multimedia data in the playing process of the multimedia data, the immersion of a browsing user in accessing a user interface can be effectively improved, so that the style expression degree of the user interface is improved, for example, when the multimedia data associated with the user interface is Music, the browsing user can play the Music associated with the user interface through a first triggering operation executed at a user identifier displayed in the user interface in the process of accessing the user interface of a target user, and simultaneously, in the Music playing process, a static or dynamic image, text or Music Video (MV) Video related to the content of the Music is displayed on the user interface, so that the user experience of the browsing user in accessing the user interface is enhanced.
In one embodiment, if the multimedia data is audio data, the manner of displaying, by the client, the associated data matching the data content of the audio data in the user interface includes one or more of the following: displaying a cover image matched with the data content of the audio data at a position where the user identification is displayed or a position where the background image is displayed; displaying video data matched with the data content of the audio data at a position where the background image is displayed in the user interface; and displaying text matching the data content of the audio data at a position where the background image is displayed in the user interface. Specifically, as shown in fig. 5b, the client may display the cover image of the audio data only at the position where the user identifier is displayed during the playing of the audio data, as shown in the interface marked by 501 in fig. 5 b; alternatively, the client may display the cover image only at the position where the background image is displayed during the playing of the audio data, as shown in the interface marked by 502 in fig. 5 b; alternatively, the client may display the video data only at the position where the background image is displayed during the playing of the audio data, as shown by the interface marked by 503 in fig. 5 b; still alternatively, the client may display the text data only at the location where the background image is displayed during the playing of the audio data, as shown in the interface labeled 504 in fig. 5 b. In addition, the associated data displayed on the user interface and matched with the audio data may also be a combination of any two or more interfaces marked by 501-504 in fig. 5b, as shown in fig. 5c, the client may display the front cover image at the position where the user identifier is displayed and play the video data (or display the image matched with the data content of the audio data) at the position where the background image is displayed in the process of playing the audio data.
In one embodiment, if the multimedia data is video data, the client may display the video data at a position in the user interface where the background image is displayed when playing the video data, and the manner of displaying the associated data matching the data content of the video data by the client includes one or both of the following: displaying a cover image matched with the data content of the video data at a position where the user identification is displayed; and displaying text matching the data content of the video data at a position where the background image is displayed. Based on the fact that the user interface displays the associated data matched with the data content of the multimedia data while the multimedia data is played, the user interface can be made to be more fit with and express the mood and personality of the target user, and the browsing interestingness of the browsing user can be improved.
When the client plays the multimedia data and the associated data matched with the data content of the multimedia data on the user interface, whether a first data resource of the multimedia data and a second data resource of the associated data matched with the data content of the multimedia data are stored in a local cache or not can be firstly inquired; if the client determines that the first data resource and the second data resource are stored in the local cache, the client can play the multimedia data according to the first data resource and display the associated data according to the second data resource, or if the client determines that the first data resource or the second data resource is not stored in the local cache, the client can request to acquire the first data resource and/or the second data resource from the server, that is, the client caches the first data resource of the multimedia data and the second data resource of the associated data with matching pre-supported data content in advance, the client can directly play the multimedia data based on the locally cached data resource except for requesting the corresponding data resource from the server when the multimedia data and the associated data are loaded for the first time, so that the data processing pressure of the server can be reduced, the flow expenditure of the client is reduced, the response efficiency of the client to the trigger operation of the browsing user is improved, and better interface browsing experience is brought to the browsing user.
In the process of playing the multimedia data and displaying the associated data matched with the data content of the multimedia data on the user interface, the browsing user may also perform play control on the played multimedia data, that is, execute step S404.
S404, in the process of playing the multimedia data, if the user identification is executed with the second trigger operation, the playing of the multimedia data is controlled according to the second trigger operation.
If the multimedia data associated with the user interface of the target user at least comprises first multimedia data and second multimedia data, when the user identifier is subjected to a first trigger operation, the client may compare the data quality of the first multimedia data with the data quality of the second multimedia data, wherein if the data quality of the first multimedia data is higher than the data quality of the second multimedia data, when the user identifier is subjected to the first trigger operation, the client may play the first multimedia data on the user interface. In another embodiment, the client may select the multimedia data that needs to be played when the user identifier is executed with the first trigger operation according to the current network quality, that is, the client may select the multimedia data with higher data quality to be played when the network quality is better, and the client may load the data resource of the multimedia data that is relatively more simplified (that is, the data quality is lower) when the network quality is worse, for example, if the current network of the client is a 5th generation mobile communication network (5G), the client may select the data resource of the first multimedia data with higher data quality to be loaded, and play the first multimedia data in a manner of playing while loading (or playing while playing), and if the current network of the client is a 2 nd generation mobile communication network (2th generation mobile communication network, 2G), the client may select a data resource for loading the second multimedia data with lower data quality and play the second multimedia data.
In an embodiment, in the process of playing the multimedia data, if the user identifier is executed with the second trigger operation, and the second trigger operation is the same as the first trigger operation, the client may stop playing the multimedia data, and after the multimedia data is stopped being played, the background image and the user identifier are displayed on the user interface again. In the embodiment of the present invention, taking the multimedia data played by the client as the first multimedia data after the user identifier is executed with the first trigger operation as an example, if the user identifier is executed with the first trigger operation again in the playing process of the first multimedia data, and a stop playing indicator for displaying the multimedia data at the starting position of the user interface where the user identifier is displayed will be triggered, the client may stop playing the first multimedia data after displaying the stop playing indicator and redisplay the user identifier and the background image, as shown in fig. 5d, if an interface diagram for playing the first multimedia data and displaying the associated data of the first multimedia data at the user interface is shown as an interface marked by 505 in fig. 5d, after the user identifier is executed with the first trigger operation again, the stop playing indicator displayed may be shown as an indicator marked by 51 in fig. 5d, and redisplaying the background image and the user identification on the user interface after the playing of the modified first multimedia data is stopped, the user interface with the redisplayed background image and user identification being shown as the interface marked by 506 in fig. 5 d.
In an embodiment, in the process of playing the multimedia data, if the user identifier is executed with a second trigger operation, and the second trigger operation is different from the first trigger operation, the client may stop playing the first multimedia data and play the second multimedia data, and similarly, in the process of playing the second multimedia data, the client may display associated data matching the data content of the second multimedia data on the user interface. Wherein, if the first trigger operation is a drag operation along a first direction, the second trigger operation comprises a drag operation along a second direction, if the first trigger operation is a drag operation along a right side, the second trigger operation may be a drag operation along a downward direction, likewise, when the user identifier is dragged along the second direction, the client will trigger the data switch indicator to appear on the user interface, and after the client displays the data switch indicator, the client will stop playing the first multimedia data and start playing the second multimedia data, as shown in fig. 5e, if the client plays the first multimedia data and displays the interface of the associated data on the user interface, as shown in the interface marked by 507 in fig. 5e, after the user identifier is executed an operation along a downward direction (i.e. the second trigger operation), the displayed data switch indicator may be a drag indicator marked by 52 in fig. 5e, and after stopping playing the first multimedia data, playing the second multimedia data, and displaying the associated data matching the data content of the second multimedia data on the user interface, the user interface may be as shown in fig. 5e by the interface marked 508. It should be noted that, in the process of playing the first multimedia data by the client, if a second trigger operation different from the first trigger operation is detected, the type of the second multimedia data that the client switches to play and the type of the first multimedia data may be the same or different, that is, if the first multimedia is audio data, after the user identifier is executed by the second trigger operation, the second multimedia data played by the client may be audio data or video data, which is not limited in the embodiment of the present invention.
In one embodiment, if the first trigger operation is a rightward drag operation and the second trigger operation is a downward drag operation, the client may determine, according to a direction of the trigger operation performed by the browsing user at the user identifier, a drag distance, and a state, that the playing of the multimedia data is performed, or the multimedia data is stopped or switched, specifically, as shown in fig. 6, the client may monitor the trigger operation performed at the user identifier displayed in the user interface after the multimedia data is played in the user interface, if the client determines that the level of the trigger operation performed at the user identifier is downward, further determine whether the drag distance to the user identifier meets a preset distance threshold, that is, determine whether the drag distance to the user identifier by the browsing user is enough to trigger the display of the stop-playing indicator, and if yes, render and display the stop-playing indicator in the user interface, and stops playing the first multimedia data. Further, after stopping playing the first multimedia data, the client will continue to monitor the trigger operation executed in the user interface, and when monitoring the trigger operation executed at the user identifier again, if the client determines that the target user has added the second multimedia data to the user interface, the second multimedia data may be played.
In one embodiment, if the client monitors that the triggering operation performed at the user identifier is horizontal to the right and dragging the user identifier horizontally to the right is long enough to trigger the display indicator, if the multimedia data is currently being played, a stop-play indicator may be rendered and displayed on the user interface, and when the triggering operation is long enough to trigger the interactive behavior, the multimedia data is stopped from being played. If there is no multimedia data currently being played, a play indicator may be rendered and displayed on the user interface, and the multimedia data (e.g., the first multimedia data) may be played. Similarly, after playing the first multimedia data, if the client monitors the triggering operation performed at the user identifier again, the client may play the second multimedia data when the target user further adds the second multimedia data to the user interface. The second multimedia data is played at the client, the client can firstly check whether the data resources of the second multimedia data (specifically including the first data resources of the second multimedia data and the second data resources of the associated data matched with the data content of the second multimedia data) are stored in the local cache, if the data resources are not stored in the local cache, the data resources can be requested from the server and downloaded, and if the data resources are determined to be stored in the local cache, the multimedia data can be played based on the data resources and the associated data matched with the multimedia data can be displayed on the user interface.
In one embodiment, the client end detects whether the local cache finishes downloading the data resource of the multimedia data when the multimedia data is stopped and played, and adopts a breakpoint continuous transmission mode until the data resource of the multimedia data is downloaded when the multimedia data is not finished. In one embodiment, the utilization rate of the server can be maximized by adopting the breakpoint resume, the client can adopt a mode of playing while playing and matching the breakpoint resume when playing the multimedia data, the client can be made to speed up the response interaction to the user's trigger operation, improving the user experience, and furthermore, because the client end can locally cache the data resource of the played multimedia data and the data resource of the multimedia data is named in a self-defined coding mode, the client end is not influenced by the duplicate name and the version, when the multimedia data needs to be played again, the playing of the multimedia data can be performed based on the locally cached data resources, thereby improving the response efficiency of the user operation, realizing the data processing pressure of the server and simultaneously, the client can also respond to the trigger operation in time and quickly, and better user experience is brought to the user.
In the embodiment of the invention, if the user identifier is executed with the first trigger operation in the user interface displaying the user identifier of the target user, the client can play the multimedia data in the user interface and display the associated data matched with the data content of the multimedia data in the playing process of the multimedia data, and in addition, the client can also play and control the multimedia data when the user identifier is executed with the second trigger operation in the playing process of the multimedia data, because the client binds the multimedia data associated with the user interface to the user identifier, the display resource of the user interface can be saved, and when the client plays the multimedia data, the client preferentially displays the data resource based on local cache and combines the modes of playing while playing and power-off continuous transmission, the data processing pressure of the server can be effectively saved, and the response efficiency of the client to the trigger operation of the user is improved.
Based on the description of the foregoing data processing method embodiment, an embodiment of the present invention further provides a data processing apparatus, which may be a computer program (including a program code) running in the foregoing client. The data processing apparatus may be used to execute the data processing method as shown in fig. 2 and fig. 4, referring to fig. 7, the data processing apparatus includes: a display unit 701, a playback unit 702, and a control unit 703.
The display unit 701 is configured to display a user interface of a target user, where a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data;
a playing unit 702, configured to play, on the user interface, multimedia data associated with the user interface when the user identifier is subjected to a first trigger operation;
a control unit 703, configured to, in the playing process of the multimedia data, if the user identifier is executed with a second trigger operation, perform playing control on the multimedia data according to the second trigger operation.
In an embodiment, the playing unit 702 is specifically configured to:
playing the multimedia data on the user interface; alternatively, the first and second electrodes may be,
and playing the multimedia data on the user interface, and displaying the associated data matched with the data content of the multimedia data on the user interface in the playing process.
In one embodiment, the multimedia data comprises audio data or video data;
the associated data matched with the data content of the audio data includes one or more of: cover images, text and video;
the associated data matched with the data content of the video data comprises one or two of the following: a cover image and text.
In an embodiment, the user interface further displays a background image, and if the multimedia data is audio data, the display unit 701 is specifically configured to:
displaying a cover image matched with the data content of the audio data at a position where the user identification is displayed or a position where the background image is displayed;
displaying video data matched with the data content of the audio data at a position where the background image is displayed; and the number of the first and second groups,
and displaying text matched with the data content of the audio data at the position where the background image is displayed.
In one embodiment, the user interface further displays a background image, and if the multimedia data is video data, the video data is displayed at a position where the background image is displayed in the user interface; the display unit 701 is specifically configured to:
displaying a cover image matched with the data content of the video data at a position where the user identification is displayed; and the number of the first and second groups,
and displaying text matched with the data content of the video data at the position where the background image is displayed.
In an embodiment, the playing unit 703 is specifically configured to:
when the user identifier is executed with a first trigger operation, if a multimedia indication identifier is also displayed at a position for displaying the user identifier in the user interface, playing the associated multimedia data of the user interface on the user interface;
the multimedia indication mark is displayed after the target user adds the associated multimedia data to the user interface.
In an embodiment, the control unit 703 is specifically configured to:
if the second trigger operation executed by the user identification is the same as the first trigger operation, stopping playing the multimedia data;
the first trigger operation comprises one or more of: a double-click operation, a drag operation in a first direction, and a press operation.
In one embodiment, the display unit 701 is further configured to redisplay a background image on the user interface and redisplay the user identifier on the user interface.
In one embodiment, the at least one multimedia data associated with the user interface comprises: first multimedia data and second multimedia data; the playing unit 702 is specifically configured to:
and if the data quality of the first multimedia data is higher than that of the second multimedia data, playing the first multimedia data on the user interface when the user identifier is executed with a first trigger operation.
In an embodiment, the control unit 703 is specifically configured to:
if the second trigger operation executed by the user identification is different from the first trigger operation, stopping playing the first multimedia data and playing the second multimedia data;
wherein the second trigger operation comprises a drag operation in a second direction.
In one embodiment, the display unit 701 is further configured to display, in the user interface, associated data matching the data content of the second multimedia data during the process of playing the second multimedia data.
In an embodiment, the playing unit 702 is specifically configured to:
inquiring whether a first data resource of the multimedia data and a second data resource of associated data matched with the data content of the multimedia data are stored in a local cache;
if yes, playing the multimedia data according to the first data resource, and displaying the associated data according to the second data resource;
and if not, requesting to acquire the first data resource, the second data resource or the first data resource and the second data resource from a server.
In the embodiment of the present invention, after the display unit 701 displays the user interface of the target user, since at least one piece of multimedia data associated with the user interface is bound to the user identifier displayed in the user interface, if the user identifier displayed in the user interface is subjected to the first trigger operation, the playing unit 702 may play the multimedia data associated with the user interface in the user interface, so as to improve interactivity of the browsing user before accessing the user interface, and play the multimedia data based on the trigger of the browsing user to the user identifier in the user interface, so as to enhance experience of the browsing user when accessing the user interface, and improve browsing experience of the user. In addition, in the playing process of the multimedia data, the control unit 703 may also perform playing control on the multimedia data based on a second trigger operation performed on the user identifier, so that the playing of the multimedia data is controlled based on the user requirement, and the flexibility of controlling the multimedia data when the multimedia data is played in the user interface is improved.
Fig. 8 is a schematic block diagram of a structure of a client according to an embodiment of the present invention. The client in the present embodiment as shown in fig. 8 may include: one or more processors 801; one or more input devices 802, one or more output devices 803, and memory 804. The processor 801, the input device 802, the output device 803, and the memory 804 described above are connected by a bus 805. The memory 804 is used for storing a computer program comprising program instructions, and the processor 801 is used for executing the program instructions stored by the memory 804.
The memory 804 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 804 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 804 may also comprise a combination of the above-described types of memory.
The processor 801 may be a Central Processing Unit (CPU). The processor 801 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like. The processor 801 may also be a combination of the above structures.
In the embodiment of the present invention, the memory 804 is used for storing a computer program, the computer program includes program instructions, and the processor 801 is used for executing the program instructions stored in the memory 804, so as to implement the steps of the corresponding methods as described above in fig. 2 and fig. 4.
In one embodiment, the processor 801 is configured to call the program instructions to perform:
displaying a user interface of a target user, wherein a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data;
when the user identification is executed with a first trigger operation, multimedia data associated with the user interface is played on the user interface;
and in the playing process of the multimedia data, if the user identification is executed with a second trigger operation, playing control is carried out on the multimedia data according to the second trigger operation.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
playing the multimedia data on the user interface; alternatively, the first and second electrodes may be,
and playing the multimedia data on the user interface, and displaying the associated data matched with the data content of the multimedia data on the user interface in the playing process.
In one embodiment, the multimedia data comprises audio data or video data;
the associated data matched with the data content of the audio data includes one or more of: cover images, text and video;
the associated data matched with the data content of the video data comprises one or two of the following: a cover image and text.
In one embodiment, the user interface further displays a background image, and if the multimedia data is audio data, the processor 801 is configured to call the program instruction to perform:
displaying a cover image matched with the data content of the audio data at a position where the user identification is displayed or a position where the background image is displayed;
displaying video data matched with the data content of the audio data at a position where the background image is displayed; and the number of the first and second groups,
and displaying text matched with the data content of the audio data at the position where the background image is displayed.
In one embodiment, the user interface further displays a background image, and if the multimedia data is video data, the video data is displayed at a position where the background image is displayed in the user interface; the processor 801 is configured to call the program instructions for performing:
displaying a cover image matched with the data content of the video data at a position where the user identification is displayed; and the number of the first and second groups,
and displaying text matched with the data content of the video data at the position where the background image is displayed.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
when the user identifier is executed with a first trigger operation, if a multimedia indication identifier is also displayed at a position for displaying the user identifier in the user interface, playing the associated multimedia data of the user interface on the user interface;
the multimedia indication mark is displayed after the target user adds the associated multimedia data to the user interface.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
if the second trigger operation executed by the user identification is the same as the first trigger operation, stopping playing the multimedia data;
the first trigger operation includes one or more of: a double-click operation, a drag operation in a first direction, and a press operation.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
redisplaying a background image on the user interface, and redisplaying the user identification on the user interface.
In one embodiment, the at least one multimedia data associated with the user interface comprises: first multimedia data and second multimedia data; the processor 801 is configured to call the program instructions for performing:
and if the data quality of the first multimedia data is higher than that of the second multimedia data, playing the first multimedia data on the user interface when the user identifier is executed with a first trigger operation.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
if the second trigger operation executed by the user identification is different from the first trigger operation, stopping playing the first multimedia data and playing the second multimedia data;
wherein the second trigger operation comprises a drag operation in a second direction.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
and displaying associated data matched with the data content of the second multimedia data on the user interface in the process of playing the second multimedia data.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
inquiring whether a first data resource of the multimedia data and a second data resource of associated data matched with the data content of the multimedia data are stored in a local cache;
if yes, playing the multimedia data according to the first data resource, and displaying the associated data according to the second data resource;
and if not, requesting to acquire the first data resource, the second data resource or the first data resource and the second data resource from a server.
Embodiments of the present invention provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method embodiments as shown in fig. 2 or fig. 4. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A data processing method, comprising:
displaying a user interface of a target user, wherein a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data;
when the user identification is executed with a first trigger operation, multimedia data associated with the user interface is played on the user interface;
and in the playing process of the multimedia data, if the user identification is executed with a second trigger operation, playing control is carried out on the multimedia data according to the second trigger operation.
2. The method of claim 1, wherein the playing the user interface associated multimedia data at the user interface comprises:
playing the multimedia data on the user interface; alternatively, the first and second electrodes may be,
and playing the multimedia data on the user interface, and displaying associated data matched with the data content of the multimedia data on the user interface in the playing process.
3. The method of claim 2, wherein the multimedia data comprises audio data or video data;
the associated data matched with the data content of the audio data includes one or more of: cover images, text and video;
the associated data matched with the data content of the video data comprises one or two of the following: cover images and text.
4. The method of claim 3, wherein the user interface further displays a background image, and if the multimedia data is audio data, the manner of displaying the associated data matching the data content of the audio data on the user interface includes one or more of the following:
displaying a cover image matched with the data content of the audio data at a position where the user identification is displayed or a position where the background image is displayed;
displaying video data matched with the data content of the audio data at a position where the background image is displayed; and the number of the first and second groups,
and displaying text matched with the data content of the audio data at the position where the background image is displayed.
5. The method of claim 3, wherein the user interface further displays a background image, and if the multimedia data is video data, the video data is displayed at a position of the user interface where the background image is displayed; the mode of displaying the associated data matched with the data content of the video data on the user interface comprises one or two of the following modes:
displaying a cover image matched with the data content of the video data at a position where the user identification is displayed; and the number of the first and second groups,
and displaying text matched with the data content of the video data at the position where the background image is displayed.
6. The method of claim 1, wherein playing the user interface associated multimedia data on the user interface when the user identifier is executed with a first trigger operation comprises:
when the user identifier is executed with a first trigger operation, if a multimedia indication identifier is also displayed at a position for displaying the user identifier in the user interface, playing the associated multimedia data of the user interface on the user interface;
the multimedia indication mark is displayed after the target user adds the associated multimedia data to the user interface.
7. The method of claim 1, wherein if the user identifier is executed with a second trigger operation, performing playback control on the multimedia data according to the second trigger operation comprises:
if the second trigger operation executed by the user identification is the same as the first trigger operation, stopping playing the multimedia data;
the first trigger operation includes one or more of: a double-click operation, a drag operation in a first direction, and a press operation.
8. The method of claim 7, wherein after stopping playing the multimedia data, the method further comprises:
redisplaying a background image on the user interface, and redisplaying the user identification on the user interface.
9. The method of claim 1, wherein the at least one multimedia data associated with the user interface comprises: first multimedia data and second multimedia data; when the user identifier is executed with a first trigger operation, playing the multimedia data associated with the user interface on the user interface, including:
and if the data quality of the first multimedia data is higher than that of the second multimedia data, playing the first multimedia data on the user interface when the user identifier is executed with a first trigger operation.
10. The method of claim 9, wherein if the user identifier is executed with a second trigger operation, performing playback control on the multimedia data according to the second trigger operation includes:
if the second trigger operation executed by the user identification is different from the first trigger operation, stopping playing the first multimedia data and playing the second multimedia data;
wherein the second trigger operation comprises a drag operation in a second direction.
11. The method of claim 10, further comprising:
and displaying associated data matched with the data content of the second multimedia data on the user interface in the process of playing the second multimedia data.
12. The method of claim 1, wherein the playing the user interface associated multimedia data at the user interface comprises:
inquiring whether a first data resource of the multimedia data and a second data resource of associated data matched with the data content of the multimedia data are stored in a local cache;
if yes, playing the multimedia data according to the first data resource, and displaying the associated data according to the second data resource;
and if not, requesting to acquire the first data resource, the second data resource or the first data resource and the second data resource from a server.
13. A data processing apparatus, comprising:
the display unit is used for displaying a user interface of a target user, wherein a user identifier of the target user is displayed in the user interface, and the user interface is associated with at least one piece of multimedia data;
the playing unit is used for playing the multimedia data associated with the user interface on the user interface when the user identifier is executed with a first trigger operation;
and the control unit is used for carrying out playing control on the multimedia data according to a second trigger operation if the user identifier is executed by the second trigger operation in the playing process of the multimedia data.
14. A client comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1 to 12.
15. A computer-readable storage medium, characterized in that it stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 12.
CN202011316384.XA 2020-11-20 2020-11-20 Data processing method, device, client and storage medium Pending CN114519155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011316384.XA CN114519155A (en) 2020-11-20 2020-11-20 Data processing method, device, client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011316384.XA CN114519155A (en) 2020-11-20 2020-11-20 Data processing method, device, client and storage medium

Publications (1)

Publication Number Publication Date
CN114519155A true CN114519155A (en) 2022-05-20

Family

ID=81594561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011316384.XA Pending CN114519155A (en) 2020-11-20 2020-11-20 Data processing method, device, client and storage medium

Country Status (1)

Country Link
CN (1) CN114519155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051601A1 (en) * 2022-09-08 2024-03-14 抖音视界有限公司 Multimedia component triggering method and apparatus, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051601A1 (en) * 2022-09-08 2024-03-14 抖音视界有限公司 Multimedia component triggering method and apparatus, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108174248B (en) Video playing method, video playing control device and storage medium
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
US9298827B2 (en) Media recorder
EP3455695A1 (en) Page component dynamic layout
WO2020199751A1 (en) Method and apparatus for loading page picture, and electronic device
US20140143644A1 (en) Web browser page transition acceleration
CN102473171A (en) Communicating information about a local machine to a browser application
JP2011108102A (en) Web server, web browser and web system
CN107040584B (en) Method and device for downloading picture by client
WO2022144016A1 (en) Application program control method and apparatus, electronic device, and storage medium
US8788927B2 (en) System and method for displaying web page content
CN114329298B (en) Page presentation method and device, electronic equipment and storage medium
CN105095374A (en) Method and device for browsing mobile terminal news
CN111414562A (en) Application program page API interface preposition method and device and storage medium
CN105072461A (en) Data processing method and device
CN111464874A (en) Method, system and medium for playing webpage video in cloud desktop
EP3125541A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
CN113792208B (en) Picture interaction method, device, equipment, medium and program product based on webpage
CN114519155A (en) Data processing method, device, client and storage medium
CN108664498B (en) Webpage content display method and terminal
CN109101429B (en) Method and device for debugging browser page of set top box
US20080297521A1 (en) System and method for providing skins for a web page
JP5821631B2 (en) Playback apparatus, playback method, and playback program
CN105447197A (en) Video downloading processing method and device, and intelligent terminal
WO2007013280A1 (en) Plug-in module execution method, browser execution method, mailer execution method, program, terminal device, and computer-readable recording medium containing page data

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