CN113568616A - Data processing method, device, equipment and medium - Google Patents

Data processing method, device, equipment and medium Download PDF

Info

Publication number
CN113568616A
CN113568616A CN202010354862.XA CN202010354862A CN113568616A CN 113568616 A CN113568616 A CN 113568616A CN 202010354862 A CN202010354862 A CN 202010354862A CN 113568616 A CN113568616 A CN 113568616A
Authority
CN
China
Prior art keywords
page
target
media element
target media
sharing
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
CN202010354862.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 CN202010354862.XA priority Critical patent/CN113568616A/en
Publication of CN113568616A publication Critical patent/CN113568616A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The embodiment of the application provides a data processing method, a data processing device, data processing equipment and a data processing medium. The method comprises the following steps: displaying a target page, wherein the target page comprises target media elements; when the target media element is triggered to be shared, outputting a sharing object list, wherein the sharing object list comprises at least one sharing object; sending an element sharing message to a selected target sharing object in the sharing object list, wherein the element sharing message carries an identifier of a target media element; and displaying the element sharing message in a conversation page between the sharer and the target sharing object. By the adoption of the method and the device, the target media elements in the target page can be independently shared, and the sharing efficiency is improved.

Description

Data processing method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of media processing technologies, and in particular, to a data processing method, a data processing apparatus, a data processing device, and a computer-readable storage medium.
Background
In the process of browsing a webpage, the content in the webpage is often required to be shared; currently, sharing of a whole page is supported when a sharing demand is responded, for example: the prior art supports sharing the page of an article published by a public service number (or subscription number) to a WeChat friend; or to support sharing news pages to a QQ (an instant messaging application client) friend. The sharing scheme in the prior art has the advantages of low efficiency, high sharing cost and low practicability.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, a data processing apparatus and a data processing medium, which can realize independent sharing of individual target media elements in a target page and improve sharing efficiency.
In one aspect, an embodiment of the present application provides a data processing method, where the method includes:
displaying a target page, wherein the target page comprises target media elements;
when the target media element is triggered to be shared, outputting a sharing object list, wherein the sharing object list comprises at least one sharing object;
sending an element sharing message to a selected target sharing object in the sharing object list, wherein the element sharing message carries an identifier of a target media element;
and displaying the element sharing message in a conversation page between the sharer and the target sharing object.
In one aspect, an embodiment of the present application provides a data processing apparatus, where the apparatus includes:
the display unit is used for displaying a target page, and the target page comprises target media elements;
the processing unit is used for outputting a sharing object list when the target media element is triggered to be shared, wherein the sharing object list comprises at least one sharing object; the element sharing message is used for sending the element sharing message to the selected target sharing object in the sharing object list, and the element sharing message carries the identification of the target media element;
and the display unit is also used for displaying the element sharing message in a conversation page between the sharer and the target sharing object.
In the technical scheme, when a target media element in a target page is triggered to be shared, an element sharing message is sent to a target sharing object, wherein the element sharing message carries an identifier of the target media element; and displaying the element sharing message in a conversation page with the target sharing object, and if the element sharing message is triggered to be played, acquiring the target media element based on the identifier of the target media element. Therefore, the target media elements in the target page are independently shared, and the sharing efficiency is improved.
In one embodiment, the processing unit is further configured to, when the element sharing message in the session page is triggered to be played, obtain the target media element according to the identifier of the target media element, and play the target media element;
the target media element refers to any media element in the target page, and the media element comprises any one of the following: pictures, animations, text paragraphs, videos.
In another embodiment, the element sharing message also carries an entry identifier of the target page;
the display unit is also used for displaying the entrance identifier of the target page in the playing page of the target media element;
and the processing unit is also used for switching from the playing page of the target media element to the target page when the entry identifier of the target page is selected.
In the technical scheme, the entry identifier of the target page is displayed in the playing page of the target media element, and if the entry identifier of the target page is selected, the playing page of the target media element jumps to the target page, so that the target page is accessed more quickly.
In another embodiment, the element sharing message also carries an entry identifier of a source page to which the target page belongs;
the display unit is also used for displaying the entry identifier of the source page in the playing page of the target media element;
and the processing unit is also used for switching from the playing page of the target media element to the source page when the entry identifier of the source page is selected.
In the technical scheme, the entry identifier of the source page is displayed in the playing page of the target media element, and if the entry identifier of the target page is selected, the playing page of the target media element jumps to the source page, so that the access to the source page is quicker.
In another embodiment, the target page refers to any web page in the website, and the source page refers to the main page of the website; alternatively, the first and second electrodes may be,
the target page refers to a content page in the application client, and the source page refers to a main service page of the application client; alternatively, the first and second electrodes may be,
the target page refers to an article page published in the public broadcast service group, and the source page refers to a service page of the public broadcast service group.
In another embodiment, the display unit is further configured to output operation options in the session page or the play page of the target media element, where the operation options include a forward option and a favorite option;
and the processing unit is also used for executing the operation on the target media element according to the selected operation option.
In another embodiment, the element sharing message includes a validity time limit;
the processing unit is further used for acquiring triggering time when the element sharing message in the session page is triggered to be played;
and if the triggering time is within the effective time limit range, executing the step of acquiring the target media element according to the identification of the target media element.
In another embodiment, the identification of the target media element comprises a media format identification of the target media element and a download link of the target media element;
when acquiring the target media element according to the identifier of the target media element, the processing unit is specifically configured to:
inquiring whether the target media element exists in the cache space according to the media format identifier of the target media element;
if the target media element exists in the cache space, acquiring the target media element from the cache space;
and if the target media element does not exist in the cache space, downloading the target media element from the server according to the downloading link of the target media element.
In the technical scheme, whether the target media element exists in the cache space is inquired according to the media format identifier of the target media element; if the target media element exists in the cache space, the target media element is obtained from the cache space, repeated downloading of the target media element can be avoided, and waste of memory space is reduced.
In another embodiment, the processing unit is further configured to obtain a permission status of the target media element;
and if the authority state of the target media element is the play-allowed state, executing the step of playing the target media element.
In the technical scheme, the target media element is played only when the permission state of the target media element is detected to be the play-allowed state, so that the target media element can be ensured to be legally compliant.
In one aspect, an embodiment of the present application provides a data processing apparatus, where the apparatus includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer readable storage medium storing one or more instructions adapted to be loaded by a processor and to perform the above-mentioned data processing method.
In one aspect, embodiments of the present application provide a computer-readable storage medium, which stores one or more instructions, where the one or more instructions are adapted to be loaded by a processor and execute the data processing method described above.
In the embodiment of the application, in the process of displaying the target page, if the target media element in the target page is triggered to be shared, the sharing object list can be output, the identifier of the target media element is packaged into the element sharing message and sent to the selected target sharing object in the sharing object list, and the element sharing message is displayed in the session page with the target sharing object. Therefore, independent sharing of the target media elements is achieved, namely, only the single target media elements need to be shared according to actual sharing requirements, the whole target page does not need to be shared, sharing cost is reduced, and sharing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a block diagram illustrating a data processing system according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a data processing method provided by an exemplary embodiment of the present application;
FIG. 3a is a diagram illustrating a destination page provided by an exemplary embodiment of the present application;
FIG. 3b is a schematic diagram of another destination page provided by an exemplary embodiment of the present application;
FIG. 4 is a flow diagram illustrating another data processing method provided by an exemplary embodiment of the present application;
FIG. 5 is a diagram illustrating a data processing method provided by an exemplary embodiment of the present application;
FIG. 6a is a diagram illustrating a conversation page provided by an exemplary embodiment of the present application;
FIG. 6b is a diagram illustrating a switching of a play page of a target media element to a target page according to an exemplary embodiment of the present application;
FIG. 6c is a diagram illustrating a switching of a play page of a target media element to a source page of a target page according to an exemplary embodiment of the present application;
FIG. 6d is a diagram illustrating a forwarding of a target media element in a play page of the target media element according to an exemplary embodiment of the present application;
FIG. 7 is a block diagram of a data processing apparatus according to an exemplary embodiment of the present application;
fig. 8 shows a schematic structural diagram of a data processing device according to an exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic diagram illustrating a data processing system according to an exemplary embodiment of the present application. As shown in fig. 1, the data processing system may include a server 101 and at least one terminal 102. Wherein:
the terminals 102 may include, but are not limited to: PC (Personal Computer), PDA (tablet), cell phone, wearable smart device, and the like; the terminal 102 may include various application clients; the application client refers to an application program installed and running in the terminal, and the types of the application client may include but are not limited to: an IM (Instant Messaging) client, a content interaction client, an SNS (Social Networking Services) client, and the like. The IM client refers to an application program for implementing online chat and communication based on an instant messaging technology, and may be, for example, WeChat, QQ, enterprise WeChat, and the like. The content interaction client is an application program capable of realizing content interaction, and may be, for example, an application program such as a microblog program, a personal space program, and news program. The SNS client refers to an application program capable of realizing social interaction, and may be, for example, a map application program, a game application program, or the like including a social interaction function. The server 101 may be a background server of various application clients in the terminal 102, and is configured to interact with the terminal 102 to provide computing and application service support for various application clients in the terminal 102. The server 102 may be a single server, a cluster server, a cloud server, and the like, which is not limited in this embodiment.
The data processing system shown in fig. 1 can execute the data processing method, so that the purpose of independently sharing the target media element in the target page is achieved, the sharing cost is reduced, and the sharing efficiency is improved. The data processing method generally comprises the steps of:
(1) the terminal 102 displays the destination page. The target page may refer to a page presented in the first application client that the user on the terminal side is browsing, and here, the first application client may refer to any one of the application clients in the terminal 102, and may be a wechat client, for example. The target page may be any page displayed by the first application client, for example: the target page can be any webpage in the website displayed by the browser client; alternatively, the target page may be an article page or the like published within a public broadcast service group displayed by the IM client. Here, the public broadcasting service group is also referred to as a public number, a service number or a subscription number, and the article pages published in the public broadcasting service group are mainly propagated in the public service group, and the public service group is composed of an operator of the public number, the service number or the subscription number and a user who concerns the public number, the service number or the subscription number. In one embodiment, the target page may be a page that is obtained and displayed by the terminal 102 from the server 101 through the first application client in response to a browsing request of the user. The target page comprises a target media element; the target media element refers to any media element in the target page, and the media elements herein may include but are not limited to: pictures, animations, text passages, videos, emoticons, music, or the like.
(2) When detecting a sharing operation for a target media element, the terminal 102 outputs a sharing object list. For example: a user clicks a certain video in a target page to initiate sharing operation; the user may be referred to as a sharer; then, the terminal 102 may display the sharing object list to the sharer, and specifically, may display the sharing object list in a service interface of the first application client; the sharing object list comprises at least one sharing object, the sharing object refers to a user who wants to be a receiving party when the target media element is shared, the selected target sharing object refers to a user who is determined to be the receiving party when the target media element is shared, and the target sharing object can be called as a receiving party; for example, when a sharer clicks a certain video in a target page to share, and selects a certain wechat friend from a sharing object list as a target sharing object, it indicates that the wechat friend is determined as a receiver, and the video is to be shared to the wechat friend. In one embodiment, the terminal 102 may have a sharing object list built therein; in another embodiment, the terminal 102 may request the server 101 to obtain the shared object list through the first application client. The method and the device support resource sharing inside the application client or among the application clients, namely a sharer and a receiver can belong to users in the same application client; alternatively, the sharer and the receiver may be users belonging to different clients; for example: the micro credit users can share the target media elements in a certain webpage with the micro blog users, and the QQ users can share the target media elements in a certain webpage with self QQ friends. Except for special description, in the subsequent embodiments of the present application, the user triggering the sharing is represented by a sharer, and the target sharing object receiving the target media element is represented by a receiver.
(3) The terminal 102 sends an element sharing message to the selected target sharing object.
The element sharing message includes an identifier of the target media element, where the identifier may refer to a media format identifier of the target media element, a download link of the target media element, and so on. In one embodiment, the terminal 102 directly sends the element sharing message to the target sharing object after generating the element sharing message; in another embodiment, the terminal 102 may first send the element sharing message to the server 101, and then the server 101 forwards the element sharing message to the target sharing object.
(4) The terminal 102 displays an element sharing message in a conversation page between the sharer and the target sharing object.
If the sharer clicks the element sharing message to request to play the target media element, the terminal 102 may obtain the target media element based on the identifier of the target media element and perform playing and displaying. Similarly, the receiver may click the element sharing message in the session page with the sharer to request to play the target media element, and the terminal of the receiver may also obtain the target media element based on the identifier of the target media element and perform playing and displaying. It is to be understood that if the terminal 102 has cached the target media element, the target media element may be retrieved from the cache space. If not, the target media element may be retrieved from the server 101. In addition, the target media elements which are shared out independently also support forwarding, collection, jumping and other operations.
In addition, the embodiment of the application also supports the function of page jump through the shared target media element, and specifically, the page jump can be performed to the target page through the shared target media element or to the source page of the target page. Here, the source page refers to a page to which the target page belongs, and in one embodiment, the target page is any one of web pages in the website, and then the source page refers to a main page of the website; for example: the target page is a sports news page in a certain news website, and the source page is the homepage of the news website; in another embodiment, the target page refers to a content page in an application client, and the source page refers to a main service page of the application client; for example: the target page is an article page of sports news in the news client, and the source page is a main service page of the news client; in another embodiment, the target page is an article page published in a public broadcast service group, and the source page is a service page of the public broadcast service group; here, the public broadcasting service group is colloquially referred to as a public number, a service number, or a subscription number. For example: the target page is an article page in a WeChat public number, and the source page refers to a service page (such as a focus page, a home page and the like) of the public number.
In the embodiment of the application, in the process of displaying the target page, if the target media element in the target page is triggered to be shared, the sharing object list can be output, the identifier of the target media element is packaged into the element sharing message and sent to the selected target sharing object in the sharing object list, and the element sharing message is displayed in the session page with the target sharing object. Therefore, independent sharing of the target media elements is achieved, namely, only the single target media elements need to be shared according to actual sharing requirements, the whole target page does not need to be shared, sharing cost is reduced, and sharing efficiency is improved. And the method supports the jump back to the target page or the jump to the source page of the target page through the shared target media element, so that some use guidance can be effectively given to the target sharing object, the product competitiveness of the application client side is improved, and the intelligence of data processing is improved.
Based on the foregoing description of the data processing system, please refer to fig. 2, and fig. 2 is a flowchart illustrating a data processing method according to an embodiment of the present application. The data processing method may be implemented by the terminal 102 shown in fig. 1, and may include, but is not limited to, the following steps:
s201, displaying a target page, wherein the target page comprises target media elements.
The sharer opens and displays a target page by using the first application client, wherein the target page comprises at least one media element, and the target media element can be any media element to be shared by the sharer in the target page. Taking a first application client as a wechat client and a target page as an article page published in a certain public number in the wechat client as an example, fig. 3a is a schematic diagram of a target page provided in an exemplary embodiment of the present application; where 301 represents a target page and 302 represents a target media element, which may be a video.
S202, when the target media element is triggered to be shared, a sharing object list is output, and the sharing object list comprises at least one sharing object.
In one embodiment, the shared object may refer to a single user or a group; for example: the sharer is any registered user in the wechat client, and the sharing object can be a wechat friend of the sharer or a wechat group which the sharer joins.
In one embodiment, triggering the sharing operation may refer to selecting a sharing option for the target media element. For example, referring to fig. 3a, when the sharer presses (e.g. presses 2s, 3s, etc.) the target media element 302 for a long time, an operation option list 303 is output in the first application client, where the operation option list 303 includes the sharing operation option (e.g. send to a friend), and optionally, as shown in fig. 3a, the operation option list 303 further includes other operation options, such as collection, cancellation, etc. When the sharing operation option is selected, the target media element is triggered to be shared. In another embodiment, triggering the sharing operation may also refer to an operation performed on a sharing control in the target media element, where the control may include but is not limited to: a key or a button. For example, FIG. 3b is a schematic illustration of a target page provided by another exemplary embodiment of the present application; as shown in fig. 3b, a sharing button 304 is provided in the area of the target media element 302, and when the sharer clicks the sharing button 304, it indicates that the target media element is triggered to be shared.
S203, sending an element sharing message to the selected target sharing object in the sharing object list. The target shared object may be one or more shared objects selected in the shared object list.
In one embodiment, if the sharer and the receiver belong to users inside the first application client, the element sharing message is generated according to the message rule of the first application client, and taking the first application client as the wechat client as an example, the element sharing message is generated according to the message rule of the wechat client. In another embodiment, if the sharer is a user in the first application client and the receiver belongs to a user in the second application client, the element sharing message is generated according to the message rule of the second application client (i.e. the application client where the receiver is located); taking the first application client as the WeChat client and the second application client as the QQ client as an example, the element sharing message is generated according to the message rule of the QQ client. The element sharing message carries an identifier of the target media element, where the identifier of the target media element may include a media format identifier of the target media element (for example, the target media element is a video, and the media format identifier of the target media element is a vid of the video), a download link of the target media element, and so on.
And S204, displaying the element sharing message in a conversation page between the sharer and the target sharing object.
In an embodiment, if the sharer and the receiver both belong to users within the first application client, and indicate that the target media element is shared between different users within the first application client, the session page refers to a session page within the first application client between the sharer and the receiver, and in this embodiment, the terminal may directly display the session page in the first application client; taking the first application client as the wechat client as an example, the session page refers to a wechat session page between the sharer and the receiver. In another embodiment, if the sharer is a user in the first application client and the recipient is a user belonging to the second application client, indicating that the target media element is shared from the first application client to the second application client, the session page refers to a session page of the sharer in the second application client between an account corresponding to the second application client and the recipient; in this embodiment, the terminal needs to first switch from the first application client to the second application client, and display the session page in the second application client. Taking the first application client as the WeChat client and the second application client as the QQ client as an example, the session page refers to a QQ session page between a corresponding QQ account of the sharer in the QQ client and a QQ account of the receiver. The element sharing messages displayed in the conversation page may include key content of the target media element, such as: the target media element is a video, and the key content can be a frame of picture of the video or a thumbnail of the frame of picture; for another example: the target media element is music and the key content may be an album image of the music.
In the embodiment of the application, in the process of displaying the target page, if the target media element in the target page is triggered to be shared, the sharing object list can be output, the identifier of the target media element is packaged into the element sharing message and sent to the selected target sharing object in the sharing object list, and the element sharing message is displayed in the session page with the target sharing object. Therefore, independent sharing of the target media elements is achieved, namely, only the single target media elements need to be shared according to actual sharing requirements, the whole target page does not need to be shared, sharing cost is reduced, and sharing efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic flow chart diagram illustrating another data processing method according to an exemplary embodiment of the present application. The data processing method may be implemented by the terminal 102 described in fig. 1, and includes, but is not limited to, the following steps S401 to S414:
s401, displaying a target page, wherein the target page comprises target media elements.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a data processing method according to another exemplary embodiment of the present application; when the sharer opens and displays the target page by using the first application client, the first application client can call the Webview control to display the target page.
S402, when the target media element is triggered to be shared, a sharing object list is output.
In an implementation manner, as shown in fig. 5, an authentication mechanism is further provided in the embodiment of the present application, and the authentication mechanism is used to ensure that the target media element is shared after the sharing right is opened, so as to improve the sharing security. After the target media element is triggered to be shared, authentication can be performed before the sharing object list is output. The authentication process comprises the following steps: (1) acquiring authority configuration information of a target page, wherein the authority configuration information comprises information of whether the target page opens sharing authority and information of which application clients the target page opens the sharing authority; (2) when a first application client carries out sharing operation aiming at a target media element so as to trigger sharing, a terminal carries out authentication according to authority configuration information of a target page; the authentication content is to confirm whether the target page opens the sharing authority to the first application client, and if the target page opens the sharing authority, the first application client is allowed to share the target page or the media elements in the target page; and if the first application client is not opened, the first application client is not allowed to share the target page or the media elements in the target page. And if the authentication is successful, namely the first application client side has the sharing authority to the target page or the media elements in the target page, outputting a sharing object list.
And S403, sending an element sharing message to the selected target sharing object in the sharing object list.
S404, displaying an element sharing message in a conversation page between the sharer and the target sharing object.
In one embodiment, operational options may be output in the session page, including but not limited to: forward options, favorites, play options, delete options, and the like; and performing operation on the target media element according to the selected operation option to realize forwarding, collection, playing or deleting of the target media element and the like. In one implementation, when an element sharing message in a conversation page is selected (e.g., a sharer long-clicks on the element sharing message), an output operation option in the conversation page is triggered. For example, fig. 6a is a schematic diagram illustrating a session page provided by an exemplary embodiment of the present application; fig. 6a includes a session page 305 and at least one operation option 306. Specifically, when the element sharing message in the conversation page 305 is pressed for a long time, the terminal outputs at least one operation option 306, where the operation option 306 may be: sharing, collecting, reminding, deleting, multi-selecting or playing, etc. When a certain operation option is selected, the operation is performed on the target media element according to the operation option. For example, if the delete operation option is selected, the element sharing message is deleted from the session page; if the collection operation option is selected, the terminal collects the element sharing message into a storage space of the terminal or a memory space of the application client; if the sharing operation option is selected, the element sharing message is shared to other application clients.
S405, when the element sharing message is triggered to play, acquiring the authority state of the target media element.
Referring also to fig. 5, the permission status of the target media element is a flag used to determine whether the target media element is allowed to be played. The authority state comprises a blocking state or a play-allowed state; the play allowed state is used for indicating that the target media element is allowed to be played; and the block status is used to indicate that the target media element is not allowed to play. The permission status can be set according to whether the content contained in the target media element is legal, the permission status of the target media element can be set to a blocked status if the target media element relates to illegal or non-compliant content, and the permission status of the target media element can be set to a play-allowed status if the content contained in the target media element is legal compliant content. Among these, the so-called illegal or non-compliant cases may include, but are not limited to: the contents relate to rumors, violence, influence on the healthy growth of teenagers and the like. Another aspect is set according to a caching lifecycle of the target media element; specifically, the method comprises the following steps: after the target media element is shared, the target media element is cached at the terminal of the sharer, for example, cached in a storage space of the terminal or a memory space of the application client, and has a cache life cycle, where the cache life cycle refers to a time allowed to be cached, for example, the cache life cycle is 5 hours, 6 hours, and the like; in one embodiment, the caching lifecycle of the target media element is consistent with the validity time limit range of the element sharing message. When the life cycle of the cache is reached, the terminal deletes the cached target media element, and the authority state of the target media element is set to be a forbidden state; and if the target media element is in the caching life cycle, the authority state of the target media element is set to be a play-allowed state. Yet another aspect is set according to the operation of the sharer on the target media element; specifically, the method comprises the following steps: in the caching life cycle of the target media element, the sharer actively deletes the target media element cached by the terminal, and then the authority state of the target media element is set to be a forbidden state.
In one embodiment, the permission statuses of the target media elements are uniformly set and managed by the server, and specifically, the server may store various media elements and their permission statuses in a uniform database, and then in step S405, the terminal may send a request to the server according to the identifier of the target media element, and the server obtains the permission statuses of the target media elements from the database and feeds back the permission statuses to the terminal. In another embodiment, the permission status of the target media element is set and managed by a management platform to which the target media element belongs, specifically: the various media elements and their rights states are stored in different management platforms according to different sources, for example: storing videos from article pages of the public number and the authority states of the videos in a public platform; and videos from the video website extracted from the target webpage and the authority states of the videos are stored in the video website platform. Then, in step S405, in this embodiment, the server provides a uniform interface, the terminal may send a request to the server according to the identifier of the target media element based on the uniform interface, the server identifies the management platform corresponding to the target media element according to the identifier of the target media element, and acquires the permission status of the target media element from the corresponding management platform and feeds the permission status back to the terminal; because each management platform has respective management specifications, the authority state of the target media element is inquired through a uniform interface, the difference of the management specifications among the management platforms can be effectively shielded, the operation complexity of directly acquiring the authority state of the target media element from each management platform is avoided, the acquisition flow is simplified, and the acquisition efficiency is improved. In another embodiment, the rights state of the target media element may also be stored and managed by the terminal, for example: the terminal obtains the authority state of the target media element and stores the authority state locally, and the authority state is updated according to the caching life cycle of the target media element or the operation of a sharer on the target media element. Then in step S405, the terminal may obtain the permission status of the target media element from the local according to the identifier of the target media element. If the authority state of the target media element is the play-allowed state, continuing to execute the subsequent flow; and if the authority state of the target media element is the forbidden state, outputting prompt information of playing failure and ending the process.
In one embodiment, the identification of the target media element includes a download link for the target media element. In the embodiment of the application, in the process of obtaining the authority state of the target media element, a new download link of the target media element is also obtained, and the obtained new download link of the target media element is adopted to replace the download link of the corresponding target media element in the element sharing message; this process is colloquially referred to as "chaining," and the chaining process occurs during the playing of the target media element. This is because the download link of the target media element in the element sharing message is specially processed when encapsulated into the element sharing message, and is generally set with a time limit, which is generally consistent with the effective time range of the element sharing message; when the element sharing message is triggered to play, it indicates that the target media element needs to be played, if the original download link of the target media element in the element sharing message is directly used to control the playing of the target media element, which is most likely to cause the playing failure or the playing interruption of the target media element due to time limitation, at this time, a link change operation is performed, and a new download link is used to control the playing of the target media element, and in one case, if the new download link is not specially processed and has no time limitation, then the new download link is used to control the playing of the target media element, so that the target media element can be successfully played and has the capability of complete playing. Another situation is that even if the new download link is time-limited, since the new download link is obtained and replaced when the target media element is played, the remaining time limit is more relaxed than the original download link, and then the new download link is used to control the playing of the target media element, which also ensures that the target media element can be successfully played and has the capability of complete playing.
S406, acquiring the trigger time when the element sharing message is triggered to play.
S407, if the trigger time is within the valid time limit range, detecting whether the target media element exists in the cache space.
In steps S406 to S407, the operation of triggering the element sharing message to be played may be an operation of clicking (single-clicking, double-clicking, long-pressing) the element sharing message, or an operation of selecting a play option, where the triggering time refers to an operation time. Typically, element sharing messages are time-limited in validity; beyond the validity time limit, the element sharing message is invalidated. Therefore, if the trigger time is within the valid time limit range, the operation of triggering the playing is performed on the valid element sharing message, and the operation of triggering the playing is valid, so that the target media element in the element sharing message is allowed to be played. If the triggering time is out of the limited time limit range of the element sharing message, the operation of triggering playing is performed on the invalid element sharing message, and the operation of triggering playing is invalid, so that the target media element in the element sharing message cannot be played. For example, the limited time limit of the element sharing message is within 6 hours from the generation of the element sharing message (or the display of the element sharing message in the conversation page), and if the trigger time is within 6 hours, the target media element is triggered to play; if the trigger time exceeds the 6 hours, such as the trigger time occurring at the 7 th hour from the start of the element sharing message generation, then the target media element cannot be triggered to play.
S408, if the target media element exists, acquiring the target media element from the buffer space; and proceeds to step S410.
And S409, if the target media element does not exist in the cache space, downloading the target media element from the server according to the downloading link of the target media element.
S410, playing the target media element.
Referring to fig. 5, if the trigger time is within the valid time limit, a play instruction is sent to the player of the first application client to instruct the player to play the target media element; further, a trigger is made to detect whether a target media element is present in the cache space. If the target media element exists in the cache space, the target media element can be read from the cache space and played by the player. If the target media element does not exist in the cache space, playing by the player after downloading the target media element from the server; it can be understood that, after the link change process described above has obtained the new download link of the target media element, the target media element can be downloaded from the server according to the new download link of the target media element after the link change. In the embodiment of the application, the cache space of the terminal can adopt the media format identifier of the media element as an index when the media element is cached, and the media element in the cache space can be retrieved through the media format identifier of the media element; for example: setting a target media element as a video, wherein the media format identifier of the video is the vid of the video; the vid is a silent video file streaming media format, and generally contains information such as the generation time and the location of the video, so that the vid of the video can be used as a unique identifier of the video. The vid of the video can be used as an index to be retrieved in the cache space of the terminal, if the vid is retrieved, the video is indicated to be cached in the cache space, and if the vid is not retrieved, the video is indicated to be not cached in the cache space. The media format identifier is used as an index for caching, so that the same media element cached in the caching space can be utilized no matter how the download link of the media element is replaced, the storage consumption is avoided, and the terminal performance is improved. And if the target media element exists in the cache space, playing based on the cached target media element. If the target media element does not exist in the cache space, the target media element can be downloaded through the download link of the target media element, and the target media element can be played after the download is finished; or, the target media element is played while downloading. It can be understood that, after downloading the target media element according to the download link, the media format identifier of the target media element is also used as a unique identifier to add the target media element to the cache space of the terminal.
In an implementation manner, the embodiment of the present application is further provided with a monitoring mechanism, where the monitoring mechanism is configured to monitor a playing condition of the target media element in a time period from when the element sharing message is triggered to be played until the target media element is played. The playing situation of the target media element here may include, but is not limited to: the number of times the target media element is triggered to play, the number of times the target media element fails to download, and so forth. For example, if it is detected that the element sharing message is clicked 5 times by the user in the time period from the start of the triggered playing of the element sharing message to the start of the playing of the target media element, the playing condition is recorded as that the number of times of the triggered playing is 5 times before the playing of the target media element. Accordingly, the reason why the element sharing message is triggered 5 times and the target media element is normally played can be detected, for example, the target media element fails to be played because the download link of the target media element is failed or the user repeats the operation. The playing process can be optimized according to the playing condition of the target media element through the monitoring mechanism, and the playing quality of the target media element is improved.
S411, displaying the entry mark of the target page in the playing page of the target media element.
S412, when the entry identifier of the target page is selected, switching from the playing page of the target media element to the target page.
In steps S411-S412, the entry identifier of the target page may be encapsulated in the element sharing message together with the identifier of the target media element; the entry identifier of the target page may be an address (e.g., a URL (Uniform Resource Locator)) of the target page, and the target page may be jumped to through the entry identifier of the target page. And if the entry identification of the target page is detected to be selected, the terminal switches the playing page of the target media element to the target page. For example, fig. 6b is a schematic diagram illustrating a switching from a play page of a target media element to a target page according to an exemplary embodiment of the present application; the entry identifier 307 of the target page is displayed in the playing page 308 of the target media element shown in fig. 6b, wherein the entry identifier 307 of the target page is located at the upper right corner of the playing page of the target media element, and the entry of the target page is identified as "view text >"; if the condition that 'view original text >' is triggered is detected, the terminal switches the playing page 308 of the target media element to the target page 301; for example, the target media element is a video published by the WeChat public number, the target page is an article page where the video is located, and if the entry identifier of the article page in the playing page of the video is triggered, the terminal switches the playing page of the video to the article page. By means of the entry identifier of the encapsulated target page in the element sharing message, the playing page of the target media element can be skipped to the target page by triggering the entry identifier of the target page, and therefore product competitiveness of the application client side is improved.
S413, displaying the entry identifier of the source page in the play page of the target media element.
S414, when the entry mark of the source page is selected, switching from the playing page of the target media element to the source page.
In steps S413-S414, the playing page of the target media element may jump to the source page of the target page; specifically, the playing page of the target media element may further display an entry identifier of a source page of the target page, where the entry identifier of the source page may include an address or a link of the source page, and the entry identifier of the source page may be encapsulated in the element sharing message together with the identifier of the target media element; and if the entry identification of the source page is detected to be selected, the terminal switches from the playing page of the target media element to the source page according to the entry identification of the source page. For example, fig. 6c is a schematic diagram illustrating a switching from a play page of a target media element to a source page of a target page according to an exemplary embodiment of the present application; as shown in fig. 6c, the entry identifier 309 of the source page is located in the upper left corner of the playing page 308 of the target media element, where the entry identifier 309 of the source page is the name or icon of the website, application client or public broadcast service group to which the source page belongs; if detecting that the entry identifier 309 of the source page is triggered, the terminal switches the playing page 308 of the target media element to the source page of the target page according to the entry identifier of the source page; for example, the target media element is a video published by the wechat public number, the target page is an article page where the video is located, the source page is a main service page of the wechat public number, and if the entry identifier of the source page displayed on the playing page of the video is selected, the terminal switches the playing page of the video to the main service page of the wechat public number. By means of the entry identifier of the source page of the encapsulated target page in the element sharing message, the entry identifier of the source page is triggered, the playing page of the target media element can be jumped to the source page of the target page, and product competitiveness of the application client side is improved.
It can be understood that, in the playing page of the target media element, only the entry identifier of the target page may be displayed, only the entry identifier of the source page may be displayed, or the entry identifiers of the target page and the source page may be displayed simultaneously, so as to facilitate the user to perform page jump.
In one implementation, the embodiment of the present application may further output operation options on the play page of the target media element, where the operation options include, but are not limited to: forwarding options, collection options and the like, wherein the forwarding options refer to sharing the target media elements to other users, and the collection options refer to storing the target media elements to a memory space of the terminal or storing the target media elements to a memory space of an application client to which the playing page belongs; when a certain operation option is detected to be selected, the operation is performed on the target media element according to the operation option so as to realize the forwarding or collection of the target media element and the like. In one implementation, when the play page of the target media element is selected (e.g., the sharer presses the play page of the target media element for a long time or a trigger control in the play page of the target media element is triggered), the play page of the target media element is triggered to output the operation option. For example, fig. 6d is a schematic diagram illustrating a forwarding of a target media element in a play page of the target media element according to an exemplary embodiment of the present application; fig. 6d includes a trigger control 310. Specifically, when the trigger control 310 is clicked, the terminal outputs at least one operation option; when a certain operation option is selected, the operation is performed on the target media element according to the operation option. For example, if the operation option-forwarding is selected, the terminal forwards the target media element; and if the operation option-collection is selected, the terminal collects the target media element into a storage space of the terminal or a memory space of the application client. In addition, the operation of quitting the playing page can be executed aiming at the playing page of the target media element; for example, the user may drag the playing page of the target media element downward, and then the terminal exits from the playing page of the target media element; for another example, the playing page of the target page further displays a closing control, as shown in fig. 6d, a closing control 311 is related at the lower left corner of the playing page of the target media element, and when the closing control 311 is triggered, the terminal exits from the playing page of the target media element.
In the embodiment of the application, in the process of displaying the target page, if the target media element in the target page is triggered to be shared, the sharing object list can be output, the identifier of the target media element is packaged into the element sharing message and sent to the selected target sharing object in the sharing object list, and the element sharing message is displayed in the session page with the target sharing object. Therefore, independent sharing of the target media elements is achieved, namely, only the single target media elements need to be shared according to actual sharing requirements, the whole target page does not need to be shared, sharing cost is reduced, and sharing efficiency is improved. And the method supports the jump back to the target page or the jump to the source page of the target page through the shared target media element, so that some use guidance can be effectively given to the target sharing object, the product competitiveness of the application client side is improved, and the intelligence of data processing is improved.
FIG. 7 is a block diagram of a data processing apparatus according to an exemplary embodiment of the present application; the data processing apparatus may be used to be a computer program (including program code) running in the terminal 102, for example, the data processing apparatus may be an application client (e.g., WeChat, QQ) in the terminal 102; the data processing apparatus may be used to perform some or all of the steps in the method embodiments shown in fig. 2 and 4. Referring to fig. 7, the data processing apparatus includes the following units:
a display unit 701, configured to display a target page, where the target page includes a target media element;
the processing unit 702 is configured to output a sharing object list when the target media element is triggered to be shared, where the sharing object list includes at least one sharing object; sending an element sharing message to the selected target sharing object in the sharing object list, wherein the element sharing message carries the identification of the target media element;
the display unit 701 is further configured to display an element sharing message in a session page between the sharer and the target sharing object.
In one embodiment, the data processing apparatus further comprises:
when the element sharing message in the session page is triggered to be shared, the processing unit 702 obtains the target media element according to the identifier of the target media element, and plays the target media element;
the target media element is any media element in the target page, and the media element comprises any one of the following: pictures, animations, text paragraphs, videos.
In another embodiment, the element sharing message also carries an entry identifier of the target page;
the display unit 701 is further configured to display an entry identifier of the target page in the play page of the target media element;
the processing unit 702 is configured to switch from the play page to the target page of the target media element when the entry identifier of the target page is selected.
In another embodiment, the element sharing message also carries an entry identifier of a source page to which the target page belongs;
the display unit 701 is further configured to display an entry identifier of the source page in the playback page of the target media element;
the processing unit 702 is further configured to switch from the playing page of the target page to the source page when the entry identifier of the source page is selected.
In another embodiment, the target page refers to any web page in the website, and the source page refers to the main page of the website; alternatively, the first and second electrodes may be,
the target page refers to a content page in the application client, and the source page refers to a main service page of the application client; alternatively, the first and second electrodes may be,
the target page refers to an article page published in the public broadcast service group, and the source page refers to a service page of the public broadcast service group.
In another embodiment, the display unit 701 is further configured to output operation options in the session page or the play page of the target media element, where the operation options include a forward option and a favorite option;
the processing unit 702 is configured to perform an operation on the target media element according to the selected operation option.
In another embodiment, the element sharing message includes a validity time limit;
the processing unit 702 is further configured to obtain a trigger time when the element sharing message in the session page is triggered to be played;
and if the triggering time is within the effective time limit range, executing the step of acquiring the target media element according to the identification of the target media element.
In another embodiment, the identification of the target media element includes a media format of the target media element and a download link of the target media element;
when acquiring the target media element according to the identifier of the target media element, the processing unit 702 is specifically configured to:
inquiring whether the target media element exists in the cache space according to the media format identifier of the target media element;
if the target media element exists in the cache space, acquiring the target media element from the cache space;
and if the target media element does not exist in the cache space, downloading the target media element from the server according to the downloading link of the target media element.
In another embodiment, the processing unit 702 is further configured to obtain a permission status of the target media element;
and if the authority state of the target media element is the play-allowed state, executing the step of playing the target media element.
According to an embodiment of the present application, the units in the data processing apparatus shown in fig. 7 may be respectively or entirely combined into one or several other units to form the data processing apparatus, or some unit(s) therein may be further split into multiple functionally smaller units to form the data processing apparatus, which may implement the same operation without affecting implementation of technical effects of embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the data processing apparatus may also include other units, and in practical applications, the functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units. According to another embodiment of the present application, the data processing apparatus as shown in fig. 7 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods as shown in fig. 2 and fig. 4 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the data processing method of the embodiment of the present application. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In the embodiment of the application, a terminal displays a target page, wherein the target page comprises target media elements; after the target media element is triggered to be shared, the terminal can perform authentication operation to verify whether a sending end (application client) of the target media element can share the target media element to a receiving end (application client) of the target media element; if the authentication is successful, outputting a sharing object list, wherein the sharing object list comprises at least one sharing object; sending an element sharing message to a target sharing object in the sharing object list, wherein the element sharing message comprises an identifier of a target media element; displaying an element sharing message in a conversation page with a target sharing object; if the element sharing message in the session page is triggered to play, the terminal pulls the permission state of the target media element according to the identifier of the target media element carried by the element sharing message, and acquires the trigger time, and if the permission state of the target media element is the play permission state and the trigger time is within the effective time limit range of the target media element, the target media element is searched in the cache space based on the media format identifier of the target media element; if the target media element exists in the cache space, executing a step of playing the target media element; if the target media element does not exist in the cache space, downloading the target media element from the server based on the downloading link of the target media element, and storing the target media element by taking the media format identifier of the target media element as a unique identifier; the terminal can also start to monitor the playing condition of the target media element from the display element sharing message in the session page; and the playing page surface of the target media element also displays an entry identifier of the target page and an entry identifier of the source page, if the entry identifier of the target page is selected, the playing page of the target media element jumps to the target page, and if the entry identifier of the source page is selected, the playing page of the target media element jumps to the source page. Therefore, the target media elements in the target page can be shared independently, the sharing efficiency is improved, meanwhile, the playing page of the target media elements can jump to the target page or the source page, the product competitiveness of the application client side is improved, and the intelligence of data processing is improved.
Fig. 8 is a schematic structural diagram of a data processing device according to an exemplary embodiment of the present application. Referring to fig. 8, the data processing apparatus includes a processor 801, an input device 802, an output device 803, and a computer-readable storage medium 804. The processor 801, the input device 802, the output device 803, and the computer-readable storage medium 804 may be connected by a bus or other means. A computer readable storage medium 804 may be stored in the memory of the terminal, the computer readable storage medium 804 being for storing a computer program comprising program instructions, the processor 801 being for executing the program instructions stored by the computer readable storage medium 804. The processor 801 (or CPU) is a computing core and a control core of the data Processing apparatus, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute one or more instructions to implement a corresponding method flow or a corresponding function.
Embodiments of the present application also provide a computer-readable storage medium (Memory), where the computer-readable storage medium is a Memory device in a data processing device, and is used for storing programs and data. It will be appreciated that the computer readable storage medium herein may comprise a built-in storage medium in the data processing apparatus, and may of course also comprise an extended storage medium supported by the data processing apparatus. The computer readable storage medium provides a storage space that stores an operating system of the data processing apparatus. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 801. It should be noted that the computer-readable storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer readable storage medium located remotely from the aforementioned processor.
In one embodiment, the data processing device may be the terminal 102 shown in FIG. 1; the computer-readable storage medium has one or more instructions stored therein; one or more instructions stored in the computer-readable storage medium are loaded and executed by the processor 801 to implement the corresponding steps in the above-described data processing method embodiments; in particular implementations, one or more instructions in the computer-readable storage medium are loaded and executed by the processor 801 to perform the steps of:
displaying a target page, wherein the target page comprises target media elements;
when the target media element is triggered to be shared, outputting a sharing object list, wherein the sharing object list comprises at least one sharing object;
sending an element sharing message to a selected target sharing object in the sharing object list, wherein the element sharing message carries an identifier of a target media element;
and displaying the element sharing message in a conversation page between the sharer and the target sharing object.
In one embodiment, one or more instructions in a computer readable storage medium are loaded by the processor 801 and further perform the steps of:
when the element sharing message in the session page is triggered to be played, acquiring a target media element according to the identifier of the target media element, and playing the target media element;
the target media element is any one of the media elements in the target page, and the media element includes any one of the following: pictures, animations, text paragraphs, videos.
In another embodiment, the element sharing message also carries an entry identifier of the target page; one or more instructions in the computer readable storage medium are loaded by the processor 801 and further perform the steps of:
displaying an entry identifier of a target page in a playing page of the target media element;
and when the entry identifier of the target page is selected, switching from the playing page of the target media element to the target page.
In another embodiment, the element sharing message also carries an entry identifier of a source page to which the target page belongs; one or more instructions in the computer readable storage medium are loaded by the processor 801 and further perform the steps of:
displaying an entry identifier of a source page in a playing page of a target media element;
and when the entry identifier of the source page is selected, switching from the playing page of the target page to the source page.
In another embodiment, the target page refers to any web page in the website, and the source page refers to the main page of the website; alternatively, the first and second electrodes may be,
the target page refers to a content page in the application client, and the source page refers to a main service page of the application client; alternatively, the first and second electrodes may be,
the target page refers to an article page published in the public broadcast service group, and the source page refers to a service page of the public broadcast service group.
In another embodiment, one or more instructions in a computer-readable storage medium are loaded and executed by processor 801 to perform the steps of:
outputting operation options in the session page or the playing page of the target media element, wherein the operation options comprise a forwarding option and a collection option;
and executing the operation on the target media element according to the selected operation option.
In another embodiment, the element sharing message includes a validity time limit; one or more instructions in the computer readable storage medium are loaded by the processor 801 and perform the steps of:
when the element sharing message in the session page is triggered to play, acquiring trigger time;
and if the triggering time is within the effective time limit range, executing the step of acquiring the target media element according to the identification of the target media element.
In another embodiment, the identification of the target media element includes a media format of the target media element and a download link of the target media element; one or more instructions in the computer-readable storage medium are loaded by the processor 801 and when executing the step of obtaining the target media element according to the identifier of the target media element, the following steps are specifically executed:
inquiring whether the target media element exists in the cache space according to the media format identifier of the target media element;
if the target media element exists in the cache space, acquiring the target media element from the cache space;
and if the target media element does not exist in the cache space, downloading the target media element from the server according to the downloading link of the target media element.
In another embodiment, one or more instructions in a computer readable storage medium are loaded by processor 801 and further perform the steps of:
acquiring the authority state of the target media element;
and if the authority state of the target media element is the play-allowed state, executing the step of playing the target media element.
In the embodiment of the application, a terminal displays a target page, wherein the target page comprises target media elements; when the target page is triggered to share, the terminal can perform authentication operation to verify whether a sending end (application client) of the target media element can share the target media element to a receiving end (application client) of the target media element; if the authentication is successful, outputting a sharing object list, wherein the sharing object list comprises at least one sharing object; sending an element sharing message to a selected target sharing object in the sharing object list, wherein the element sharing message carries an identifier of a target media element; displaying an element sharing message in a conversation page with a target sharing object; if the element sharing message in the session page is triggered to play, the terminal pulls the permission state of the target media element according to the identifier of the target media element carried by the element sharing message, and acquires the trigger time, and if the permission state of the target media element is the play permission state and the trigger time is within the effective time limit range of the target media element, the target media element is searched in the cache space based on the media format identifier of the target media element; if the target media element exists in the cache space, executing a step of playing the target media element; if the target media element does not exist in the cache space, downloading the target media element from the server based on the downloading link of the target media element, and storing the target media element by taking the media format identifier of the target media element as a unique identifier; the terminal can also start to monitor the playing condition of the target media element from the display element sharing message in the session page; and the playing page surface of the target media element also displays an entry identifier of the target page and an entry identifier of the source page, if the entry identifier of the target page is selected, the playing page of the target media element jumps to the target page, and if the entry identifier of the source page is selected, the playing page of the target media element jumps to the source page. Therefore, the target media elements in the target page can be shared independently, the sharing efficiency is improved, meanwhile, the playing page of the target media elements can jump to the target page or the source page, the product competitiveness of the application client side is improved, and the intelligence of data processing is improved.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A method of data processing, the method comprising:
displaying a target page, wherein the target page comprises target media elements;
when the target media element is triggered to be shared, outputting a sharing object list, wherein the sharing object list comprises at least one sharing object;
sending an element sharing message to a selected target sharing object in the sharing object list, wherein the element sharing message carries an identifier of the target media element;
and displaying the element sharing message in a conversation page between the sharer and the target sharing object.
2. The method of claim 1, further comprising:
when the element sharing message in the session page is triggered to be played, acquiring the target media element according to the identifier of the target media element, and playing the target media element;
the target media element refers to any media element in the target page, and the media element comprises any one of the following: pictures, animations, text paragraphs, videos.
3. The method according to claim 2, wherein the element sharing message further carries an entry identifier of the target page; the method further comprises the following steps:
displaying an entry identifier of the target page in a playing page of the target media element;
and when the entry identifier of the target page is selected, switching from the playing page of the target media element to the target page.
4. The method according to claim 2 or 3, wherein the element sharing message further carries an entry identifier of a source page to which the target page belongs; the method further comprises the following steps:
displaying an entry identifier of the source page in a playing page of the target media element;
and when the entry identifier of the source page is selected, switching from the playing page of the target media element to the source page.
5. The method of claim 4, wherein the target page is any web page of a website, and the source page is a main page of the website; alternatively, the first and second electrodes may be,
the target page refers to a content page in an application client, and the source page refers to a main service page of the application client; alternatively, the first and second electrodes may be,
the target page refers to an article page published in a public broadcast service group, and the source page refers to a service page of the public broadcast service group.
6. The method of claim 2, further comprising:
outputting operation options in the session page or the playing page of the target media element, wherein the operation options comprise a forwarding option and a collection option;
and performing operation on the target media element according to the selected operation option.
7. The method of claim 2, wherein the element sharing message comprises a validity time limit; the method further comprises the following steps:
when the element sharing message in the session page is triggered to play, acquiring trigger time;
and if the trigger time is within the effective time limit range, executing the step of acquiring the target media element according to the identification of the target media element.
8. The method of claim 2, wherein the identification of the target media element comprises a media format identification of the target media element and a download link of the target media element; the obtaining the target media element according to the identifier of the target media element includes:
inquiring whether the target media element exists in a cache space according to the media format identifier of the target media element;
if the target media element exists in the cache space, acquiring the target media element from the cache space;
and if the target media element does not exist in the cache space, downloading the target media element from a server according to the downloading link of the target media element.
9. The method of claim 2, further comprising:
acquiring the authority state of the target media element;
and if the authority state of the target media element is a play-allowed state, executing the step of playing the target media element.
10. A data processing apparatus, characterized in that the apparatus comprises:
the display unit is used for displaying a target page, and the target page comprises target media elements;
the processing unit is used for outputting a sharing object list when the target media element is triggered to be shared, wherein the sharing object list comprises at least one sharing object; the element sharing message is used for sending an element sharing message to the selected target sharing object in the sharing object list, and the element sharing message carries the identification of the target media element;
the display unit is further configured to display the element sharing message in a session page between the sharer and the target sharing object.
11. A data processing apparatus, characterized in that the apparatus comprises:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
computer readable storage medium, storing one or more instructions adapted to be loaded by said processor and to perform the data processing method according to any of claims 1-9.
12. A computer-readable storage medium having stored thereon one or more instructions adapted to be loaded by the processor and to perform the data processing method of any of claims 1-9.
CN202010354862.XA 2020-04-29 2020-04-29 Data processing method, device, equipment and medium Pending CN113568616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010354862.XA CN113568616A (en) 2020-04-29 2020-04-29 Data processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010354862.XA CN113568616A (en) 2020-04-29 2020-04-29 Data processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113568616A true CN113568616A (en) 2021-10-29

Family

ID=78158400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010354862.XA Pending CN113568616A (en) 2020-04-29 2020-04-29 Data processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113568616A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087533A1 (en) * 2022-10-28 2024-05-02 腾讯科技(深圳)有限公司 Expression image sharing method and apparatus, computer device, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087533A1 (en) * 2022-10-28 2024-05-02 腾讯科技(深圳)有限公司 Expression image sharing method and apparatus, computer device, and storage medium

Similar Documents

Publication Publication Date Title
US11223659B2 (en) Broadcast notifications using social networking systems
US11769529B2 (en) Storyline experience
US20210342392A1 (en) Personalized content sharing
US9799081B1 (en) Content recommendation platform
US8949278B2 (en) Contact information management
US20150074548A1 (en) Information Sharing Method and Apparatus
WO2019021048A1 (en) Ephemeral content sharing and connecting users based on sharing unique link from 3r parties' applications and storing and relating unique identity or code of link sharing user with link accessing user
JP2020511711A (en) Message processing method, storage medium, and computer device
US9473444B2 (en) Content sharing platform playlists and subscriptions based on user history
US20130326361A1 (en) System and method for managing mobile multimedia messages
JP2020525881A (en) Application processing method, device and storage medium
CN107660295B (en) Episode timely notification
US9641574B1 (en) Generating connection recommendations on a social network using social contacts
US10025853B2 (en) Method and apparatus for filtering data based on content selected for future access
CN111654730B (en) Video playing method, data processing method, related device and medium
US20140123164A1 (en) Managing display of content in a content feed
CN113568616A (en) Data processing method, device, equipment and medium
US20120071142A1 (en) Generation of multi-media ringtones from a friend's recent social data
CN112054951B (en) Resource transmission method, device, terminal and medium
CN105991417B (en) Method and device for receiving dynamic information of friends in social network
US9769105B2 (en) Runway chat
CN102812479A (en) Method of managing selection information with respect to media content, and user device, service, and storage medium for executing the method
US20150065103A1 (en) Device and Method for Enhancing a Call
CN113010243B (en) Information display method and device, terminal equipment and storage medium
CN105009543A (en) Delivery of a media item

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40055743

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination