Content sharing method and device, electronic equipment and computer readable medium
By obtaining and processing sharing requests on the smart terminal device, determining the target object, and sharing desktop card content with its devices, the problem that desktop album cards cannot be shared in the smart terminal is solved, and cross-device sharing of content is realized.
Patent Information
- Application Number
- CN202310869547.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-14
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2043-07-14
AI Technical Summary
The desktop album cards in the smart terminal cannot share the displayed picture content to other users, and lack sharing functions.
When displaying cards on the desktop of a smart terminal device, obtain sharing requests, determine the target object, and share the content displayed on the card with the target device, so as to realize the sharing of multimedia content between different devices through desktop cards.
While displaying the card on the desktop, users can share the content on the card with other users to meet sharing needs and enhance the shareability of the content.
Smart Images

Figure CN119311160A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile terminal technology, and more specifically, to a content sharing method, device, electronic device and computer-readable medium. Background Art
[0002] The maturity of smart terminal technology enables smart terminals to recommend richer and more diverse information to users. Desktop cards are a classic way of presenting information to users in smart terminals. Currently, smart terminals can recommend rich content such as photos to users through desktop cards added by users on the desktop. Summary of the invention
[0003] The present application proposes a content sharing method, device, electronic device and computer-readable medium to improve the above-mentioned defects.
[0004] In a first aspect, an embodiment of the present application provides a content sharing method, which is applied to a first device, and the method includes: when a first card is displayed on a first desktop of the first device, obtaining a sharing request for the first card; in response to the sharing request, determining a target object corresponding to the sharing request; and sharing the target content to a second device corresponding to the target object, wherein, at the moment of obtaining the sharing request, the content displayed on the first card is the target content.
[0005] In a second aspect, an embodiment of the present application also provides a content sharing method, which is applied to a second device, and the method includes: acquiring the target content shared by the first device based on the method mentioned in the first aspect; displaying a second card on a second desktop of the second device, wherein the target content is displayed in the second card.
[0006] In a third aspect, an embodiment of the present application further provides a content sharing device, which is applied to a first device, and the device includes: an acquisition unit, a determination unit, and a sharing unit. The acquisition unit is used to acquire a sharing request for a first card when a first card is displayed on a first desktop of the first device. The determination unit is used to determine a target object corresponding to the sharing request in response to the sharing request. The sharing unit is used to share the target content to a second device corresponding to the target object, wherein, when the sharing request is for the first card, the content displayed by the first card includes the target content.
[0007] In a fourth aspect, an embodiment of the present application further provides a content sharing device, which is applied to a second device, and the device includes: a receiving unit and a display unit. The receiving unit is used to obtain the target content shared by the first device based on the above method. The display unit is used to display a second card on a second desktop of the second device, wherein the target content is displayed in the second card.
[0008] In a fifth aspect, an embodiment of the present application also provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the above method.
[0009] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.
[0010] The content sharing method, device, electronic device and computer-readable medium provided by the present application, when a first card is displayed on a first desktop of the first device, a sharing request for the first card is obtained, and in response to the sharing request, a target object corresponding to the sharing request is determined; and the target content is shared to a second device corresponding to the target object. Therefore, not only can the first card be displayed on the desktop, but also the content displayed by the first card can be shared with other users.
[0011] Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by practicing the embodiments of the present application. The purposes and other advantages of the embodiments of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A method flow chart of a content sharing method provided by an embodiment of the present application is shown;
[0014] Figure 2 A schematic diagram showing a sharing operation control on a first card provided by an embodiment of the present application is shown;
[0015] Figure 3 A method flow chart of a content sharing method provided by another embodiment of the present application is shown;
[0016] Figure 4 A schematic diagram of an input interface provided by an embodiment of the present application is shown;
[0017] Figure 5 A schematic diagram of a contact list interface provided by an embodiment of the present application is shown;
[0018] Figure 6 A method flow chart of a content sharing method provided by another embodiment of the present application is shown;
[0019] Figure 7 A method flow chart of a content sharing method provided by another embodiment of the present application is shown;
[0020] Figure 8 A schematic diagram of a confirmation pop-up window provided in an embodiment of the present application is shown;
[0021] Fig. 9 A schematic diagram of a preset control provided by an embodiment of the present application is shown;
[0022] Fig.10 A schematic diagram of a preset control provided by another embodiment of the present application is shown;
[0023] Fig.11 A schematic diagram showing a first card displaying designated content according to an embodiment of the present application is shown;
[0024] Fig.12 A module block diagram of a content sharing device provided by an embodiment of the present application is shown;
[0025] Fig.13 A module block diagram of a content sharing device provided by another embodiment of the present application is shown;
[0026] Fig.14 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;
[0027] Fig.15 A storage unit for storing or carrying a program code for implementing a method for setting a reporting rate according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] In order to make those skilled in the art better understand the present application scheme, the technical scheme in the present application embodiment will be clearly and completely described below in conjunction with the drawings in the present application embodiment. Obviously, the described embodiment is only a part of the present application embodiment, rather than all the embodiments. The components of the present application embodiment usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiment of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0029] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0030] The maturity of smart terminal technology enables smart terminals to recommend richer and more diverse information to users. Desktop cards are a classic way of presenting information to users in smart terminals. At present, smart terminals can recommend rich content such as photos to users through desktop cards added by users on the desktop. For example, a user can choose to add a card corresponding to an album application on the desktop, that is, a desktop album card. The desktop album card belongs to the cardview provided by the operating system (for example, the Android system). When the desktop album card is displayed on the desktop, the desktop album card can display at least one picture, for example, it can be a static display of a picture, or it can be a dynamic playback of multiple pictures, wherein the displayed picture can be from the album application, for example, it can be a photo or video collected by the user using the camera of the electronic device, or a picture received from other devices or networks, etc.
[0031] However, the inventors found in their research that when the desktop album card is displayed on the desktop, the user can view the pictures displayed on the card, but cannot share the displayed pictures with other users. For example, the picture displayed on the desktop album card is a group photo. When the user sees the group photo, he may want to share it with others, but the current desktop album card does not have this sharing function.
[0032] Therefore, in order to overcome the above defects, the present application embodiment provides a content sharing method, please refer to Figure 1 , Figure 1A content sharing method provided in an embodiment of the present application is shown. The method is applied to a first device, which may be an electronic device such as a smart phone, a tablet computer, an e-book, etc. that can run an application. The method includes: S101 to S103.
[0033] S101: When a first card is displayed on a first desktop of the first device, a sharing request for the first card is obtained.
[0034] It should be noted that, when the sharing request is for the first card, the content displayed by the first card is the target content. As an implementation mode, the system desktop of the first device is named the first desktop, and the first card can be displayed on the first desktop. The first card can be a multimedia card that can display pictures, texts or videos, and can also play audio files. In an embodiment of the present application, the first card can be a card corresponding to an album application, that is, the aforementioned desktop album card, and the first card can display photos or videos in the album application.
[0035] It is understandable that when the first card is displayed on the first desktop of the first device, the user can input a sharing request for the first card through the first device, so that when the content displayed by the first card is worth sharing, the user can share the content with other users. Figure 2 As shown, a first card 201 is displayed on the first desktop 20 of the first device, a sharing operation control 203 is displayed on the first card 201, and the content currently displayed by the first card 201 is the first content 202. For example, the first content 202 is a photo in an album application. When the user clicks the sharing operation control 203, the first device determines that the sharing request is obtained, and records the time when the sharing request is obtained, which is recorded as the target time, and determines the content displayed by the first card 201 at the target time, that is, the first content 202, as the target content.
[0036] As another implementation, in addition to obtaining a sharing request through the sharing operation control displayed on the first card, a sharing request can also be obtained through other methods, for example, a user can input a voice signal containing a specified keyword through the first device, and the first device recognizes the voice signal and determines that a sharing request is obtained after extracting the specified keyword. Of course, other methods can also be used, such as special operation gestures, etc., which are not limited here.
[0037] S102: In response to the sharing request, determining a target object corresponding to the sharing request.
[0038] After detecting a sharing request and determining the target content corresponding to the sharing request, the sharing object of the sharing request may be determined, that is, the target object corresponding to the sharing request may be determined.
[0039] As an implementation method, the target object is the sharing object of the sharing request, that is, the object requesting to share the shared content. In the embodiment of the present application, the target object can be manually input by the user, or can be obtained by the first device based on the analysis of the target content. Specifically, it will be described in the subsequent embodiments.
[0040] S103: Share the target content with a second device corresponding to the target object.
[0041] It should be noted that the device corresponding to the target object is the second device. As an implementation method, the first device records the device identifier corresponding to the target object, so that the second device of the target object can be determined. Of course, the device identifiers corresponding to different users can also be stored in the server in advance. After the first device determines the target object corresponding to the sharing request, it sends a query request to the server. The query request includes the identity of the target object. The server responds to the query request, determines the device identifier corresponding to the identity identifier, and sends the device identifier to the first device, wherein the device identifier can be a network address. Through the network address, the first device can exchange data with the device corresponding to the network address.
[0042] As an implementation method, the implementation method of the first device sharing the target content with the second device corresponding to the target object may be that the first device sends the target content to the second device corresponding to the target object. For example, if the target content is a picture, the target content includes the picture, and the first device sends the picture to the second device. In addition, it can also be to send a sharing instruction of the target content to the second device, instructing the second device to download and obtain the target content based on the sharing instruction. Exemplarily, the sharing instruction includes the content identifier of the target content, and the second device sends a content acquisition request to the server storing the target content based on the content identifier. The server responds to the content acquisition request, finds the corresponding target content based on the content identifier, and sends the target content to the second device. Exemplarily, the sharing instruction includes the resource address of the target content, and the resource address can be a uniform resource identifier (Uniform Resource Identifier, URI). After the second device obtains the resource address, it accesses the resource address and downloads the target content. After the second device obtains the target content, it can also display the target content in the form of a card on the desktop, which will be specifically introduced in subsequent embodiments.
[0043] It should be noted that in this application, the acquisition and access of any user data, especially privacy data, are obtained and accessed with the user's authorization, and will not be repeated later.
[0044] Therefore, when the first card is displayed on the first desktop of the first device, a sharing request for the first card is obtained, wherein at the moment of obtaining the sharing request, the content displayed by the first card is the target content, and in response to the sharing request, the target object corresponding to the sharing request is determined; and the target content is shared to the second device corresponding to the target object. Therefore, not only can the first card be displayed on the desktop, but also the content displayed by the first card can be shared with other users.
[0045] See also Figure 3 , Figure 3 A content sharing method provided in an embodiment of the present application is shown. The method is applied to a first device, which may be an electronic device such as a smart phone, a tablet computer, an e-book, etc. that can run an application. The method includes: S301 to S304.
[0046] S301: When a first card is displayed on a first desktop of the first device, a sharing request for the first card is obtained.
[0047] S302: In response to the sharing request, obtaining first content input by the user.
[0048] As an implementation mode, after the user inputs a sharing request, for example, after the user clicks the sharing operation control 203, the first device will display an interactive interface, and the user can input the first content in the interactive interface, so that the first device can obtain the text content input by the user.
[0049] S303: Determine a target object corresponding to the sharing request based on the first content.
[0050] As an implementation method, the first content may be text content, and the target object corresponding to the first content may be determined by processing such as semantic recognition or keyword extraction of the first content. For example, the first content input by the user contains an identity identifier of the target object, and the target object may be determined by extracting the identity identifier. In the embodiment of the present application, the identity identifier is the account of the device logged in by the user.
[0051] like Figure 4 As shown, the user clicks Figure 2After the sharing operation control 203 is shown, the first device switches from the first desktop to the input interface 401 (i.e., the aforementioned interactive interface), and the user enters the first content in the text input area of the input interface. For example, the first content may be the account of the object to be shared entered by the user, and the account may be the device login account or SIM card number of the object to be shared, wherein the device login account is the account of the user when logging into the mobile phone or other devices associated with the mobile phone, wherein other devices associated with the mobile phone may be other user terminals from the same manufacturer as the mobile phone.
[0052] As an implementation mode, the method for obtaining the first content in the embodiment of the present application can also be: in response to the sharing request, display a content list, wherein a plurality of second contents are displayed in the content list, and each second content corresponds to the description information of at least one object; determine the second content selected by the user from the content list as the first content. The description information may include the identity, image, and detailed introduction of the object, and the object can be known through the description information of the object. Figure 4 As shown, the input interface 401 also displays an object selection control 402. When the first device detects that the object selection control 402 is touched, the first device displays a content list, such as Figure 5 As shown, the content list may be a contact list pre-stored in the first device, such as Figure 5 As shown, the content list includes description information of different objects, for example, objects such as Teacher Cai and Auntie and corresponding avatars. The user can select at least one object in the list as the first content. Since the first content is selected by the user from the aforementioned multiple second contents, the first content also corresponds to description information. After acquiring the first content, the identity of the target object corresponding to the first content is extracted through the description information of the first content, so that the second device of the target object can be determined based on the identity, for example, the identity is the account of the object, and the account can be the device login account, SIM card number or login account of the specified application of the object, and the specified application is the application corresponding to the first card. In addition, if the identity of the object is not detected in the description information of the first content, in some embodiments, the first information can be displayed, and the first information is used to indicate that the user inputs the identity corresponding to the object in the first content, so that after the user responds to the first information and inputs the identity, the first device can correspond the acquired identity with the target object, so as to share the target content with the second device based on the identity.
[0053] It should be noted that before displaying the content list, a first inquiry message may be displayed, the first inquiry message being used to ask the user whether to authorize access to the second content in the content list and display the content list. If the user enters first confirmation information based on the first inquiry message, the content list is displayed, indicating that the user authorizes the first device to access the second content.
[0054] As an implementation method, Figure 4 As shown, the input interface 401 also has a selection area 403, which displays the most recently determined historical objects, that is, the sharing objects corresponding to the sharing requests determined within a preset time period. The user can select at least one object as the target object from the multiple historical objects displayed in the selection area 403.
[0055] S304: Share the target content with a second device corresponding to the target object.
[0056] It should be noted that, for the contents not described in detail in the aforementioned steps, reference can be made to the aforementioned embodiments and will not be repeated here.
[0057] See also Figure 6 , Figure 6 A content sharing method provided in an embodiment of the present application is shown. The method is applied to a first device, which may be an electronic device such as a smart phone, a tablet computer, an e-book, etc. that can run an application. The method includes: S601 to S604.
[0058] S601: When a first card is displayed on a first desktop of the first device, a sharing request for the first card is obtained.
[0059] S602: In response to the sharing request, identifying a face image in the target content.
[0060] In the embodiment of the present application, the target content is of picture type. As mentioned above, the first card is a desktop album card, and the first card displays pictures in the album application. The target content is the picture displayed by the first card when the first device detects the sharing request. It should be noted that the target content is of picture type. Furthermore, there is a face in the target content. Specifically, the first device recognizes the face image in the target content in response to the sharing request.
[0061] S603: Determine a target object corresponding to the sharing request based on the facial image.
[0062] After the face image of the target content is identified, since different face images correspond to different identities, the target object corresponding to the sharing request can be determined. However, considering that there may be interference objects among the multiple face images in the target content, all the face images identified in the target content can be used as the initial image, and the face image of the target content can be obtained after removing the interference objects from the initial image.
[0063] As an implementation mode, considering that the target content may be a photo related to a person, the surrounding interfering people may not look at the shooting device of the photo, therefore, the interfering object can be determined by the direction of the face image of the target content. Exemplarily, the face that is not facing the depth direction of the target content in all face images in the target content is taken as an interfering object. Specifically, the face information of all face images in the target content is obtained, and the face information may include an image of the head area of the object. Then, based on the face information, the image in the head area is determined to face the user facing the first device as a candidate object, and the target object is determined based on the candidate object. Exemplarily, the object selected by the user from the candidate objects is determined as the target object. Specifically, the image in the head area is determined based on the face information. Thus, the proportion of the face area of the person is determined, and the object with a proportion less than the specified proportion is taken as an interfering object, that is, the object with a proportion of the face area greater than or equal to the specified proportion is taken as a candidate object. As another implementation mode, the depth distance of all face images in the target content can be obtained, and the face image with a depth distance less than the specified distance is taken as a candidate object.
[0064] Exemplarily, the number of the facial images may be one or more.
[0065] If the number of facial images is one, the facial image is identified to obtain the identity information corresponding to the facial image. If the identity information is the user of the first device (named as the local user), then the friends of the local user can be selected as the target object. As an implementation method, a user whose intimacy with the local user is greater than a specified threshold is determined from the contacts stored in the first device as the target object. The intimacy can be determined based on the interaction between the user account and other accounts. For example, the intimacy is determined based on the frequency of interaction, wherein the interaction operation includes sending messages, commenting, liking, forwarding and other operations. As another implementation method, after determining that the number of facial images is one, and the identity information corresponding to the facial image is the local user, the first device displays Figure 4In the input interface 401 shown, the first device obtains the text content input by the user through the input interface 401, and determines the target object based on the text content. In addition, if the number of face images is one and the identity information corresponding to the face image is not the local user, the user corresponding to the face image is used as the target object. Specifically, an image matching the face image is determined from the avatar images corresponding to the contacts stored in the first device, and the contact corresponding to the matched avatar is used as the target object.
[0066] If there are multiple facial images of the target content, the facial images other than the facial image of the user of the first device are used as candidate facial images; the target facial image is determined from the candidate facial images; and the user corresponding to the target facial image is used as the target object corresponding to the sharing request. In other words, if there are multiple facial images of the target content, it is determined whether there is a local user in the facial images. If there is a local user, the facial images other than the local user are used as candidate facial images, and the target facial image is determined from the candidate facial images.
[0067] Exemplarily, the implementation method of determining the target facial image from the candidate facial images may be through the aforementioned facial area ratio of the person, that is, determining the facial area ratio corresponding to each facial image in the candidate facial images, and taking the facial image with the largest ratio as the target facial image. Of course, it is also possible to determine the depth distance of each facial image in the candidate facial images, and taking the facial image with the smallest depth distance as the target facial image.
[0068] In addition, it is also possible to identify objects corresponding to multiple face images in the target content, and determine the target object from multiple objects. Among them, the first device pre-acquires a preset object relationship, and the preset corresponding relationship includes a preset designated user corresponding to the local user, and the designated user corresponds to a face image and a device identifier. Then, the first device matches each face identified in the target content with each designated user in the preset corresponding relationship, finds the successfully matched user as an alternative user, and determines the target object from the alternative users. For example, the identity information of the alternative user is displayed, and the user selected by the user from multiple alternative users is determined as the target object. It should be noted that the preset corresponding relationship can be the information of the list of people pre-entered by the user, which includes the head portrait and device identifier of the person. Of course, the designated user in the preset corresponding relationship can also be a user whose intimacy is greater than a specified threshold, wherein the acquisition of the intimacy can refer to the aforementioned content and will not be repeated here.
[0069] Furthermore, it is also possible to determine that the face image selected by the user from the candidate face images is used as the target face image. Exemplarily, after the user clicks the share operation button, when the first device determines that there are multiple face images of the target content, the first device displays the selection interface corresponding to the target content of the first card, that is, the target content of the first card is displayed as a picture and the face image in the picture can be selected, and the user clicks a face image from the candidate face images as the target face image.
[0070] Then, an image matching the target face image is determined from the avatar images corresponding to the contacts stored in the first device, and the contact corresponding to the matched avatar is used as the target object.
[0071] S604: Share the target content with a second device corresponding to the target object.
[0072] See also Figure 7 , Figure 7 A content sharing method provided in an embodiment of the present application is shown. The method is applied to a second device, which may be an electronic device such as a smart phone, a tablet computer, an e-book, etc. that can run an application. The method includes: S701 to S702.
[0073] S701: Receive target content shared by the first device.
[0074] It should be noted that the implementation method of the first device sharing the target content with the second device can refer to the aforementioned embodiment, which will not be described in detail here.
[0075] S702: Display a second card on a second desktop of the second device, and display the target content in the second card.
[0076] When the first card is displayed on the first desktop of the first device, the first device obtains a sharing request for the first card, and then, in response to the sharing request, determines the target object corresponding to the sharing request, and shares the target content with the second device corresponding to the target object. After obtaining the target content, the second device displays a second card on the second desktop of the second device, and the target content is displayed in the second card. For example, picture 1 is displayed in the first card on the first desktop of the first device, and the target content is shared with the second device through the first device. The second device can also display picture 1 in the second card on the second desktop, thereby achieving sharing of picture 1 when the picture 1 is displayed through the card on the desktop.
[0077] As an implementation method, before displaying the target content, the user of the second device may be informed by a prompt that the first device requests to share a certain content. Specifically, the implementation method of displaying the second card on the second desktop of the second device is to display a preset prompt message; after detecting a confirmation instruction for the preset prompt message, display the second card on the second desktop of the second device. The prompt message may be a pop-up window, and the user enters the confirmation instruction by clicking the confirmation control in the pop-up window. Figure 8 As shown, after the second device obtains the target content, a confirmation pop-up window 801 is displayed on the second desktop of the second device. The confirmation pop-up window 801 displays a prompt message, and a confirmation control 802 and a rejection control 803 are also provided. The prompt message may be "someone is sharing a picture to your second card". The user enters a confirmation instruction in the confirmation control 802, and the user enters a rejection instruction in the rejection control 803. After the second device detects the confirmation instruction, the second card is displayed on the second desktop of the second device, that is, the target content is displayed on the second card. After the second device detects the rejection instruction, the target content is not displayed on the second card, and this sharing fails.
[0078] After the target content is displayed on the second card of the second desktop of the second device, the second device may send specified information to the first device to instruct the first device to display the specified content on the first card. That is to say, after receiving the specified information, the first device displays the specified content on the first card. The specified content is related to the specified information. Exemplarily, the specified information may be the user's input content when the second device displays the second card. The second device sends the input content as specified information to the first device, and the first device displays the input content as specified content on the first card. For example, the specified content is a barrage, and the content of the barrage is the input content. If the user of the second device inputs "the picture is cool", the "the picture is cool" content will be displayed in the form of a barrage on the first card of the first device.
[0079] As another implementation, the specified information may be information determined by the second device based on a certain triggered control. For example, a preset control is displayed on the second card, and the preset control corresponds to preset information. The displayed preset control may be one or more, and different preset controls correspond to different preset information. For example, the information corresponding to a certain control is "agree", and the information corresponding to a certain control is "disagree". When it is detected that the preset control is triggered, the specified information is sent to the first device. Correspondingly, the specified content refers to the content generated by the first device based on the specified information. The specified information includes the identity of the second device, and the specified content is generated based on the identity.
[0080] In the embodiment of the present application, the information corresponding to the preset control is taken as "like" for example, that is, the specified information corresponding to the preset control is used to represent that the user's attitude towards the target content is like, then after the user triggers the preset control, the second device determines that the user likes the target content, and sends the specified information corresponding to the control to the first device. After the first device receives the specified information, it determines that the user who sent the specified information likes the target content, and then displays the specified content on the first card, for example, in the form of a bullet screen. Fig. 9 As shown, in the case where the second card displays the target content, a preset control 901 is displayed in the second card, and the default state of the preset control 901 is an unselected state. When the user clicks the preset control 901, the preset control 901 changes to a selected state, as shown in FIG. Fig.10 As shown, the second device detects that the preset control 901 is selected, and sends specified information to the first device, wherein the specified information includes the content identifier of the target content. After receiving the specified information, the first device determines that the device sending the specified information is the second device, and is able to learn that the user of the second device is interested in the target content corresponding to the content identifier in the specified information. Then, the first device displays the specified content on the first card. Exemplarily, the specified content includes the identifier of the user of the second device (i.e., the identity identifier of the target object) and the content identifier in the specified information (i.e., the content identifier of the target content). Therefore, the specified content is used to represent that the user of the second device likes the target content.
[0081] As an implementation, the designated content is a bullet screen. Exemplarily, when photo 1 is displayed on the first card of the first device, the user inputs a sharing request, and it is determined that the target object corresponding to the sharing request is user 1, and the device of user 1 is the second device. The first device sends the target content to the second device, and the photo 1 is displayed in the second card displayed on the second desktop of the second device. The user of the second device clicks the preset control, and the second device detects that the preset control is clicked, and sends the designated information to the first device. The first device learns that the user of the second device, that is, user 1, has expressed interest in the photo 1, and thus Fig.11 As shown, the specified content is displayed in the first card in the form of a bullet screen, for example, "User 1 liked this photo."
[0082] It should be noted that after the first device receives the designated information, it determines the content identifier contained in the designated information, and determines whether the content displayed in the first card on the first desktop of the first device is the content with the same content identifier, that is, it determines whether the content currently displayed in the first card is the content liked by the user of the second device represented by the designated information. If the content displayed in the first card on the first desktop of the first device is the content with the same content identifier, the above-mentioned designated content is displayed in the first card. If the content displayed in the first card on the first desktop of the first device is not the content with the same content identifier, the designated content is not displayed in the first card, and the designated content is stored as the description content of the target content. When the user searches the target content, the designated content can be found through the description content of the target content.
[0083] See also Fig.12 , which shows a structural block diagram of a content sharing device 1200 provided in an embodiment of the present application. The device may include: an acquisition unit 1201, a determination unit 1202 and a sharing unit 1203.
[0084] The acquisition unit 1201 is configured to acquire a sharing request for a first card when the first card is displayed on the first desktop of the first device.
[0085] The determining unit 1202 is configured to determine, in response to the sharing request, a target object corresponding to the sharing request.
[0086] Furthermore, the determining unit 1202 is further configured to obtain, in response to the sharing request, a first content input by a user; and determine a target object corresponding to the sharing request based on the first content.
[0087] Furthermore, the determination unit 1202 is also used to respond to the sharing request, display a content list, wherein the content list displays multiple second contents, each of which corresponds to description information of at least one object; and determine the second content selected by the user from the content list as the first content.
[0088] Furthermore, the target content is of a picture type, and the determination unit 1202 is further configured to identify a face image in the target content in response to the sharing request; and determine a target object corresponding to the sharing request based on the face image.
[0089] Furthermore, the determination unit 1202 is also used to use facial images other than the facial image of the user of the first device as candidate facial images; determine a target facial image from the candidate facial images; and use the user corresponding to the target facial image as the target object corresponding to the sharing request.
[0090] Furthermore, the determination unit 1202 is also used to match each of the candidate facial images with the facial images of each designated user in a preset correspondence, wherein the preset correspondence includes the facial image of the designated user corresponding to the user of the first device; the user corresponding to the successfully matched candidate facial image is used as a candidate user; and the target object is determined from the candidate users.
[0091] Furthermore, the determining unit 1202 is further configured to display identity information of the candidate users; and determine a user selected from a plurality of candidate users as a target object.
[0092] The sharing unit 1203 is configured to share the target content with a second device corresponding to the target object, wherein, when the sharing request is for a first card, the content displayed by the first card includes the target content.
[0093] Furthermore, the sharing unit 1203 is further configured to send the target content to a second device corresponding to the target object.
[0094] Furthermore, the sharing unit 1203 is further configured to send a sharing instruction of the target content to the second device, instructing the second device to download and obtain the target content based on the sharing instruction.
[0095] Furthermore, the content sharing device 1200 also includes a display unit, which is used to display specified content on the first card if the specified information sent by the second device is received. Exemplarily, the specified content is a bullet screen.
[0096] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0097] See also Fig.13 , which shows a structural block diagram of a content sharing device 1300 provided in an embodiment of the present application. The device may include: a receiving unit 1301 and a display unit 1302.
[0098] The receiving unit 1301 is configured to obtain the target content shared by the first device.
[0099] The display unit 1302 is configured to display a second card on a second desktop of the second device, and display the target content in the second card.
[0100] Furthermore, the display unit 1302 is also used to display preset prompt information; after detecting a confirmation instruction for the preset prompt information, a second card is displayed on the second desktop of the second device based on the shared content.
[0101] Furthermore, the content sharing apparatus 1300 further includes a sending unit, configured to send designated information to the first device, instructing the first device to display designated content on the first card.
[0102] Furthermore, the sending unit is also used to display a preset control on the second card; when it is detected that the preset control is triggered, send specified information to the first device.
[0103] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0104] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0105] Please refer to Fig.14 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0106] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0107] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0108] Please refer to Fig.15 , which shows a structural block diagram of a computer-readable medium provided in an embodiment of the present application. The computer-readable medium 1500 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0109] The computer readable medium 1500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable medium 1500 includes a non-transitory computer-readable storage medium. The computer readable medium 1500 has storage space for program code 1510 that performs any method step of the above method. These program codes can be read from or written to one or more computer program products. The program code 1510 can be compressed, for example, in an appropriate form.
[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A content sharing method, characterized in that: Applied to a first device, the method includes: When a first card is displayed on a first desktop of the first device, a sharing request for the first card is obtained; In response to the sharing request, determining a target object corresponding to the sharing request; The target content is shared with a second device corresponding to the target object, wherein, when the sharing request is for a first card, content displayed by the first card includes the target content.
2. The method according to claim 1, characterized in that The step of determining, in response to the sharing request, a target object corresponding to the sharing request includes: In response to the sharing request, obtaining first content input by a user; A target object corresponding to the sharing request is determined based on the first content.
3. The method according to claim 2, characterized in that The step of obtaining, in response to the sharing request, first content input by the user includes: In response to the sharing request, display a content list, wherein a plurality of second contents are displayed in the content list, and each of the second contents corresponds to description information of at least one object; The second content selected by the user from the content list is determined as the first content.
4. The method according to claim 1, characterized in that: The target content is a picture type, and in response to the sharing request, determining a target object corresponding to the sharing request includes: In response to the sharing request, identifying a face image in the target content; Based on the facial image, a target object corresponding to the sharing request is determined.
5. The method according to claim 4, characterized in that The determining, based on the face image, a target object corresponding to the sharing request includes: taking facial images other than the facial image of the user of the first device among the facial images as facial images to be selected; Determine a target facial image from the candidate facial images; The user corresponding to the target facial image is used as the target object corresponding to the sharing request.
6. The method according to claim 5, characterized in that The step of determining a target face image from the candidate face images comprises: Matching each of the to-be-selected facial images with facial images of respective designated users in a preset corresponding relationship, wherein the preset corresponding relationship includes facial images of designated users corresponding to users of the first device; The user corresponding to the successfully matched candidate face image is used as a candidate user; Determine the target audience from the candidate users.
7. The method according to claim 6, characterized in that The step of determining the target object from the candidate users includes: Displaying the identity information of the candidate user; A user selected by the user from multiple candidate users is determined as a target object.
8. The method according to claim 1, characterized in that Sharing the target content to a second device corresponding to the target object includes: The target content is sent to a second device corresponding to the target object.
9. The method according to claim 1, characterized in that: Sharing the target content to a second device corresponding to the target object includes: A sharing instruction of the target content is sent to the second device, instructing the second device to download and obtain the target content based on the sharing instruction.
10. The method according to claim 1, characterized in that After sharing the target content to the second device corresponding to the target object, the method further includes: If the designated information sent by the second device is received, the designated content is displayed on the first card, wherein the designated information corresponds to the target content.
11. The method according to claim 10, characterized in that The designated content is barrage.
12. A content sharing method, characterized in that: Applied to the second device, the method includes: Acquire the target content shared by the first device based on the method according to any one of claims 1 to 11; A second card is displayed on a second desktop of the second device, wherein the target content is displayed in the second card.
13. The method according to claim 12, characterized in that The displaying the second card on the second desktop of the second device includes: Display preset prompt information; After detecting a confirmation instruction for the preset prompt information, a second card is displayed on a second desktop of the second device.
14. The method according to claim 12, characterized in that After displaying the second card on the second desktop of the second device, the method further includes: Send specified information to the first device, instructing the first device to display specified content on the first card.
15. The method according to claim 14, characterized in that Sending specified information to the first device includes: Displaying a preset control on the second card; When it is detected that the preset control is triggered, specified information is sent to the first device.
16. A content sharing device, characterized in that: Applied to a first device, the apparatus comprises: an acquisition unit, configured to acquire a sharing request for the first card when the first card is displayed on the first desktop of the first device; a determining unit, configured to determine, in response to the sharing request, a target object corresponding to the sharing request; A sharing unit is used to share the target content to a second device corresponding to the target object, wherein, when the sharing request is for a first card, the content displayed by the first card includes the target content.
17. A content sharing device, characterized in that: Applied to a second device, the apparatus comprises: A receiving unit, configured to obtain target content shared by the first device based on the method according to any one of claims 1 to 12; The display unit is used to display a second card on a second desktop of the second device, wherein the target content is displayed in the second card.
18. An electronic device, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method according to any one of claims 1-11 or claims 12-15.
19. A computer readable medium, characterized in that The computer-readable medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the method according to any one of claims 1 to 11 or claims 12 to 15.
Citation Information
Patent Citations
Terminal desktop content sharing method and device, equipment and storage medium
CN111147549A
Comment sharing method and device and electronic equipment
CN113949901A
Content sharing method and device, electronic equipment and readable storage medium
CN115412522A
Automated Sharing of Digital Images
US20180205848A1
Card sharing method, apparatus and system
WO2021017837A1