Content sharing method and apparatus, electronic device, and computer readable medium
By obtaining sharing requests from desktop photo album cards and identifying the target object, the problem of not being able to share pictures in existing technologies is solved, and interactive sharing of desktop card content is realized.
Patent Information
- Application Number
- CN202310869547.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-14
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2043-07-14
AI Technical Summary
The existing desktop photo album cards cannot share displayed images with other users.
Obtain a sharing request from a desktop photo album card, identify the target object, and share the target content to the target object's device, including identifying the target object by recognizing a facial image or user input, and using a sharing command or sending the target content directly.
This feature enables the content displayed on desktop cards to be shared with other users, enhancing the interactivity and sharing capabilities of information.
Smart Images

Figure CN119311160B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mobile terminal technology, and more specifically, to a content sharing method, apparatus, electronic device, and computer-readable medium. Background Technology
[0002] The maturity of smart terminal technology has enabled smart terminals to recommend richer and more diverse information to users. Desktop cards are a classic way to present information to users on smart terminals. Currently, smart terminals can recommend rich content such as photos to users through desktop cards added to the desktop. Summary of the Invention
[0003] This application proposes a content sharing method, apparatus, electronic device, and computer-readable medium to improve upon the aforementioned deficiencies.
[0004] In a first aspect, embodiments of this application provide a content sharing method applied to a first device. 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 with a second device corresponding to the target object, wherein, at the moment the sharing request is obtained, the content displayed on the first card is the target content.
[0005] Secondly, embodiments of this application also provide a content sharing method applied to a second device, the method comprising: obtaining 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] Thirdly, embodiments of this application also provide a content sharing device applied to a first device. The device includes: an acquisition unit, a determination unit, and a sharing unit. The acquisition unit is configured to acquire a sharing request for the first card when the first card is displayed on a first desktop of the first device. The determination unit is configured to determine a target object corresponding to the sharing request in response to the sharing request. The sharing unit is configured to share the target content with a second device corresponding to the target object, wherein, when the sharing request is for the first card, the content displayed on the first card includes the target content.
[0007] Fourthly, this application also provides a content sharing device applied to a second device, the device comprising: a receiving unit and a display unit. The receiving unit is configured to acquire target content shared by the first device based on the aforementioned method. The display unit is configured to display a second card on a second desktop of the second device, wherein the target content is displayed within the second card.
[0008] Fifthly, embodiments of this application also provide an electronic device, including: 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 perform the methods described above.
[0009] Sixthly, embodiments of this application also provide a computer-readable medium storing processor-executable program code, which, when executed by the processor, causes the processor to perform the above-described method.
[0010] The content sharing method, apparatus, electronic device, and computer-readable medium provided in this application, when a first card is displayed on a first desktop of a first device, obtains a sharing request for the first card, determines the target object corresponding to the sharing request in response to the sharing request, and shares the target content to a second device corresponding to the target object. Therefore, it is possible not only to display the first card on the desktop, but also to share the content displayed on the first card with other users.
[0011] Other features and advantages of the embodiments of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the embodiments of this application. The objects and other advantages of the embodiments of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 A flowchart of a content sharing method provided in an embodiment of this application is shown;
[0014] Figure 2 A schematic diagram of the sharing operation controls on a first card according to an embodiment of this application is shown;
[0015] Figure 3 A flowchart of a content sharing method according to another embodiment of this application is shown;
[0016] Figure 4 A schematic diagram of an input interface provided in an embodiment of this application is shown;
[0017] Figure 5 A schematic diagram of a contact list interface provided in an embodiment of this application is shown;
[0018] Figure 6 A flowchart of a content sharing method according to another embodiment of this application is shown;
[0019] Figure 7 A flowchart of a content sharing method provided in another embodiment of this application is shown;
[0020] Figure 8 A schematic diagram of a confirmation pop-up window provided in an embodiment of this application is shown;
[0021] Figure 9 A schematic diagram of a preset control provided in an embodiment of this application is shown;
[0022] Figure 10 A schematic diagram of a preset control provided in another embodiment of this application is shown;
[0023] Figure 11 This illustration shows a schematic diagram of a first card displaying specified content according to an embodiment of this application;
[0024] Figure 12 This invention illustrates a module block diagram of a content sharing device provided in one embodiment of the present application;
[0025] Figure 13 A block diagram of a content sharing device according to another embodiment of this application is shown;
[0026] Figure 14 A structural block diagram of the electronic device provided in an embodiment of this application is shown;
[0027] Figure 15 A storage unit for storing or carrying program code implementing the reporting rate setting method according to an embodiment of the present application is shown. Detailed Implementation
[0028] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of them. The components of the embodiments of the present application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without inventive effort are within the scope of protection of the present application.
[0029] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0030] The maturity of smart terminal technology has enabled smart terminals to recommend richer and more diverse information to users. Desktop cards are a classic way to present information to users on smart terminals. Currently, smart terminals can recommend rich content such as photos to users through desktop cards added by the user. For example, users can select to add a card corresponding to a photo album application to the desktop, namely a desktop photo album card. This desktop photo album card belongs to CardView provided by the operating system (e.g., Android system). When the desktop photo album card is displayed on the desktop, it can display at least one image. For example, it can display a single image statically or play multiple images dynamically. The displayed images can come from the photo album application, such as photos and videos taken by the user using the camera of the electronic device, or images received from other devices or networks.
[0031] However, the inventors discovered during their research that while users can view the displayed images on the desktop photo album card, they cannot share them with other users. For example, if the photo album card displays a group photo, a user might want to share it with others, but the current photo album card lacks this sharing functionality.
[0032] Therefore, in order to overcome the above-mentioned shortcomings, this application provides a content sharing method. Please refer to [link / reference]. Figure 1 , Figure 1This application illustrates a content sharing method provided by an embodiment of the present application. The method is applied to a first device, which may be an electronic device capable of running applications, such as a smartphone, tablet computer, or e-book reader. The method includes steps S101 to S103.
[0033] S101: When the first card is displayed on the 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 directed to the first card, the content displayed on the first card is the target content. As one implementation, the system desktop of the first device is named the first desktop, on which the first card can be displayed. The first card can be a multimedia card, capable of displaying images, text, or videos, and can also play audio files. In this embodiment, the first card can be a card corresponding to a photo album application, i.e., the aforementioned desktop photo album card, which can display photos or videos from the photo album application.
[0035] Understandably, when the first card is displayed on the first desktop of the first device, the user can enter a sharing request for the first card through the first device, and thus, if the content displayed on the first card is worth sharing, share that content with other users. For example... Figure 2 As shown, a first card 201 is displayed on the first desktop 20 of the first device, and a sharing operation control 203 is displayed on the first card 201. The content currently displayed on the first card 201 is the first content 202, for example, the first content 202 is a photo in the album application. When the user clicks the sharing operation control 203, the first device determines that a sharing request has been obtained, and records the time when the sharing request was obtained as the target time. The content displayed on the first card 201 at the target time, i.e., the first content 202, is determined as the target content.
[0036] As another implementation, besides obtaining the sharing request through the sharing operation controls displayed on the first card, the sharing request can also be obtained in other ways. For example, the user can input a voice signal containing a specified keyword through the first device, and the first device can recognize the voice signal, extract the specified keyword, and then determine that a sharing request has been obtained. 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, determine the 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 can be determined, that is, the target object corresponding to the sharing request can be determined.
[0039] In one implementation, the target object is the sharing object of the sharing request, that is, the object to which the content is requested to be shared. In the embodiments of this application, the target object can be manually input by the user or obtained by the first device based on the analysis of the target content. Specifically, this will be described in detail in the following embodiments.
[0040] S103: Share the target content with the second device corresponding to the target object.
[0041] It should be noted that the device corresponding to the target object is the second device. In one implementation, the first device records the device identifier corresponding to the target object, thereby enabling the identification of the second device of the target object. Alternatively, device identifiers corresponding to different users can be pre-stored on the server. After the first device determines the target object corresponding to the sharing request, it sends a query request to the server. This query request includes the identity identifier 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. This device identifier can be a network address, through which the first device can interact with the device corresponding to the network address.
[0042] In one implementation, the first device can share the target content with the second device corresponding to the target object by sending the target content to the second device. For example, if the target content is an image, then the target content includes the image, and the first device sends the image to the second device. Alternatively, a sharing instruction for the target content can be sent to the second device, instructing the second device to download and obtain the target content based on the sharing instruction. For example, the sharing instruction includes a content identifier for the target content. The second device sends a content retrieval request to the server storing the target content based on the content identifier. The server responds to the content retrieval request, locates the corresponding target content based on the content identifier, and sends the target content to the second device. Another example is that the sharing instruction includes a resource address for the target content, which can be a Uniform Resource Identifier (URI). After obtaining the resource address, the second device accesses the resource address and downloads the target content. After obtaining the target content, the second device can also display the target content as a desktop card, which will be described in detail in subsequent embodiments.
[0043] It should be noted that in this application, any acquisition and access to user data, especially private data, is done with the user's authorization, and will not be elaborated further.
[0044] Therefore, when a first card is displayed on the first desktop of the first device, a sharing request for the first card is obtained. At the moment the sharing request is obtained, the content displayed on the first card is the target content. In response to the sharing request, the target object corresponding to the sharing request is determined; and the target content is shared with the second device corresponding to the target object. Therefore, not only can the first card be displayed on the desktop, but the content displayed on the first card can also be shared with other users.
[0045] Please see Figure 3 , Figure 3 This application illustrates a content sharing method provided by an embodiment of the present application. The method is applied to a first device, which may be an electronic device capable of running applications, such as a smartphone, tablet computer, or e-book reader. The method includes steps S301 to S304.
[0046] S301: When the first card is displayed on the first desktop of the first device, a sharing request for the first card is obtained.
[0047] S302: In response to the sharing request, obtain the first content input by the user.
[0048] In one implementation, 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, where the user can input first content, thereby enabling the first device to obtain the text content input by the user.
[0049] S303: Determine the target object corresponding to the sharing request based on the first content.
[0050] In one implementation, the first content can be text content. By processing the first content through semantic recognition or keyword extraction, the target object corresponding to the first content can be determined. For example, if the first content input by the user contains an identifier for the target object, the target object can be identified by extracting this identifier. In this embodiment, the identifier is the account of the device the user logged into.
[0051] like Figure 4 As shown, when the user clicks... Figure 2After the sharing operation control 203 shown, the first device switches from the first desktop to the input interface 401 (i.e. the aforementioned interactive interface). The user enters the first content in the text input area of the input interface. For example, the first content can be the account of the object to be shared by the user. The account can be the device login account or SIM card number of the object to be shared. The device login account is the account of the user when logging into the mobile phone or other devices associated with the mobile phone. Other devices associated with the mobile phone can be other user terminals from the same manufacturer as the mobile phone.
[0052] As one implementation method, the way to obtain the first content in this application embodiment can also be as follows: in response to the sharing request, a content list is displayed, in which multiple second contents are displayed, each second content corresponding to the description information of at least one object; the second content selected by the user from the content list is determined as the first content. The description information may include the object's identity identifier, image, and detailed description, etc., through which the object can be identified. 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 has been touched, the first device displays a list of contents, such as... Figure 5 As shown, this content list can be a contact list pre-stored in the first device, such as... Figure 5 As shown, the content list includes descriptive information for different objects, such as "Teacher Cai," "Auntie," and their corresponding avatars. Users can select at least one object from this list as the first content. Since this first content is selected by the user from the aforementioned multiple second contents, it also has corresponding descriptive information. After obtaining the first content, the identity identifier of the target object corresponding to the first content is extracted through its descriptive information. Based on this identity identifier, the second device of the target object can be determined. For example, the identity identifier is the object's account, which could be the object's device login account, SIM card number, or login account for a specified application, where the specified application is the application corresponding to the first card. Alternatively, if the object's identity identifier is not detected in the descriptive information of the first content, in some embodiments, first information can be displayed. This first information instructs the user to input the identity identifier corresponding to the object in the first content. Therefore, after the user responds to the first information and inputs the identity identifier, the first device can associate the obtained identity identifier with the target object, so as to share the target content with the second device based on the identity identifier.
[0053] It should be noted that a first prompt message can be displayed before displaying the content list. This first prompt message is used to ask the user whether they authorize access to the second content in the content list and then display the content list. If the user enters a first confirmation message based on the first prompt message, then the content list is displayed, indicating that the user authorizes the first device to access the second content.
[0054] As one implementation method, such as 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. Users 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 the second device corresponding to the target object.
[0056] It should be noted that any details not described in the foregoing steps can be found in the foregoing embodiments, and will not be repeated here.
[0057] Please see Figure 6 , Figure 6 This application illustrates a content sharing method provided by an embodiment of the present application. The method is applied to a first device, which may be an electronic device capable of running applications, such as a smartphone, tablet computer, or e-book reader. The method includes steps S601 to S604.
[0058] S601: When the first card is displayed on the first desktop of the first device, a sharing request for the first card is obtained.
[0059] S602: In response to the sharing request, identify the face image in the target content.
[0060] In this embodiment of the application, the target content is an image. As mentioned above, the first card is a desktop photo album card that displays images from the photo album application. The target content is the image displayed on the first card at the moment the first device detects a share request. It should be noted that while the target content is an image, it further includes a face. Specifically, in response to the share request, the first device identifies the face image in the target content.
[0061] S603: Based on the face image, determine the target object corresponding to the sharing request.
[0062] After identifying the facial images in the target content, since different facial images correspond to different identities, the target object corresponding to the sharing request can be determined. However, considering that there may be interfering objects among the multiple facial images in the target content, all facial images identified in the target content can be used as the initial image. After removing interfering objects from the initial image, the facial images of the target content can be obtained.
[0063] As one implementation method, considering that the target content may be a photo of a person, and the surrounding crowd may not be looking at the camera, the interference objects can be determined by the orientation of the facial images in the target content. For example, faces not facing the depth direction of the target content in all facial images within the target content are considered interference objects. Specifically, facial information of all facial images in the target content is acquired, which may include images of the head region of the object. Based on this facial information, users facing the first device are identified as candidate objects in the images within the head region, and the target object is determined based on these candidate objects. For example, the object selected by the user from the candidate objects is identified as the target object. Specifically, the images within the head region are determined based on this facial information. This determines the proportion of a person's facial region, and objects with a proportion less than a specified proportion are considered interference objects; that is, objects with a facial region proportion greater than or equal to a specified proportion are considered candidate objects. As another implementation method, the depth distance of all facial images in the target content can be acquired, and facial images with a depth distance less than a specified distance can be considered candidate objects.
[0064] For example, the number of facial images can be one or multiple.
[0065] If there is only one face image, the identity information corresponding to that face image is obtained by recognizing it. If the identity information is that of a user of the first device (named the local user), then the local user's friends can be selected as the target. As one implementation, users with a closeness level greater than a specified threshold to the local user are selected from the contacts stored on the first device as the target. This closeness level can be determined based on the interaction between the user account and other accounts. For example, closeness can be determined based on the frequency of interaction, where interaction includes sending messages, commenting, liking, forwarding, etc. As another implementation, after determining that there is only one face image and that the identity information corresponding to that face image is that of the local user, the first device displays... Figure 4As shown in the input interface 401, the first device acquires the text content entered by the user through the input interface 401 and determines the target object based on the text content. Additionally, if there is only one face image and the identity information corresponding to the face image is not the user of the device, then the user corresponding to that face image is taken as the target object. Specifically, the first device determines the image that matches the face image from the avatar images corresponding to the contacts stored in its database, and the contact corresponding to the matched avatar is taken as the target object.
[0066] If there are multiple facial images in the target content, all facial images other than the facial image of the user of the first device are selected 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 taken as the target object corresponding to the sharing request. In other words, when there are multiple facial images in the target content, it is determined whether the local user exists in the facial images. If the local user exists, facial images other than the local user are selected as candidate facial images, and the target facial image is determined from the candidate facial images.
[0067] For example, one implementation method for determining the target face image from the candidate face images can be based on the proportion of the facial region of the person, that is, determining the proportion of the facial region corresponding to each face image in the candidate face images, and selecting the face image with the largest proportion as the target face image. Alternatively, it can be based on determining the depth distance of each face image in the candidate face images, and selecting the face image with the smallest depth distance as the target face image.
[0068] Alternatively, it can identify objects corresponding to multiple facial images within the target content, and determine the target object from among these objects. Specifically, the first device pre-acquires a preset object relationship, which includes pre-defined designated users corresponding to the local user. Each designated user corresponds to a facial image and a device identifier. The first device then matches each face identified in the target content with each designated user in the preset relationship, finding successfully matched users as candidate users, and determining the target object from among these candidate users. For example, the identity information of the candidate users is displayed, and the user selected from multiple candidate users is determined as the target object. It should be noted that the preset relationship can be information from a pre-entered list of personnel, including the personnel's headshots and device identifiers. Of course, the designated users in the preset relationship can also be users with a level of intimacy greater than a specified threshold. The determination of intimacy can refer to the aforementioned content and will not be repeated here.
[0069] Furthermore, the user can also select a face image from the candidate face images as the target face image. For example, after the user clicks the share button, if the first device determines that there are multiple face images for 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 an image and the face image within the image can be selected. Then, the user clicks on a face image from the candidate face images as the target face image.
[0070] Then, the image that matches the target face image is determined from the profile picture images of the contacts stored in the first device, and the contact corresponding to the matched profile picture is taken as the target object.
[0071] S604: Share the target content with the second device corresponding to the target object.
[0072] Please see Figure 7 , Figure 7 This application illustrates a content sharing method provided by an embodiment of the present application. The method is applied to a second device, which may be an electronic device capable of running applications, such as a smartphone, tablet computer, or e-book reader. The method includes steps S701 to S702.
[0073] S701: Received the target content shared by the first device.
[0074] It should be noted that the implementation method for the first device to share the target content with the second device can refer to the foregoing embodiments, and will not be repeated here.
[0075] S702: Display a second card on the second desktop of the second device, and display the target content within the second card.
[0076] When a first card is displayed on the first desktop of the first device, the first device receives a sharing request for the first card. Then, in response to the sharing request, it determines the target object corresponding to the sharing request and shares the target content with the second device corresponding to the target object. After receiving the target content, the second device displays a second card on its second desktop, which displays the target content. For example, if image 1 is displayed in the first card on the first desktop of the first device, and the first device shares the target content with the second device, the second device can also display image 1 in the second card on its second desktop, thus enabling sharing of image 1 when it is displayed as a card on the desktop.
[0077] As one implementation method, the user of the second device can be notified via a prompt before displaying the target content that the first device requests to share certain content. Specifically, the implementation method for displaying the second card on the second device's second desktop involves displaying a preset prompt message; after detecting a confirmation command for the preset prompt message, the second card is displayed on the second device's second desktop. This prompt message can be a pop-up window, where the user can enter a confirmation command by clicking a confirmation control within the pop-up window. Figure 8 As shown, after the second device acquires the target content, a confirmation pop-up window 801 is displayed on the second desktop of the second device. This confirmation pop-up window 801 displays a prompt message and also includes a confirmation control 802 and a rejection control 803. The prompt message could be something like "XXX is sharing 1 image to your second card." The user inputs a confirmation command through the confirmation control 802, and a rejection command through the rejection control 803. When the second device detects a confirmation command, it displays the target content on the second card on the second desktop. If the second device detects a rejection command, it does not display the target content on the second card, and the sharing fails.
[0078] After the target content is displayed on the second card of the second desktop of the second device, the second device can send specified information to the first device, instructing the first device to display the specified content on the first card. That is, 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. For example, the specified information could be user input when the second device displays the second card. The second device sends this input as specified information to the first device, and the first device displays this input as specified content on the first card. For instance, the specified content could be a bullet screen comment, and the content of the bullet screen comment is the input content. If the user on the second device inputs "The picture is cool," then the first device's first card will display "The picture is cool" as a bullet screen comment.
[0079] In another implementation, the specified information can be information determined by the second device based on a triggered control. For example, preset controls are displayed on the second card, each corresponding to preset information. There can be one or more preset controls, and different preset controls correspond to different preset information. For instance, one control might correspond to "agree," while another might correspond to "disagree." When the preset control is detected to be 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 this specified information. This specified information includes the identity identifier of the second device, and the specified content is generated based on this identity identifier.
[0080] In this embodiment of the application, taking "like" as an example, the specified information corresponding to the preset control is used to represent the user's attitude towards the target content as "like". 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 receiving the specified information, the first device 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 bullet comments. Figure 9 As shown, when the target content is displayed in the second card, a preset control 901 is displayed within the second card. The default state of the preset control 901 is unselected. When the user clicks on the preset control 901, the preset control 901 changes to a selected state, as shown below. Figure 10 As shown, the second device detects that the preset control 901 is selected and sends specified information to the first device. The specified information includes the content identifier of the target content. After receiving the specified information, the first device determines that the device that sent the specified information is the second device and can know 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. For example, 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 indicate that the user of the second device likes the target content.
[0081] As one implementation method, the specified content is a bullet screen (or "bullet screen"). For example, when photo 1 is displayed on the first card of the first device, the user inputs a share request. The target object of the share request is determined to be user 1, and user 1's device is the second device. The first device sends the target content to the second device. Photo 1 is displayed on the second card on the second desktop of the second device. The user of the second device clicks the preset control. The second device detects that the preset control has been clicked and sends specified information to the first device. The first device then learns that the user of the second device, i.e., user 1, has expressed interest in photo 1, thus... Figure 11 As shown, the specified content is displayed as a bullet screen on the first card, for example, "User 1 liked this photo".
[0082] It should be noted that after the first device receives the specified information, it determines the content identifier contained in the specified information and whether the content displayed in the first card on the first desktop of the first device is the same as the content identifier. In other words, it determines whether the content currently displayed in the first card is the content that the user of the second device, as represented by the specified information, likes. If the content displayed in the first card on the first desktop of the first device is the same as the content identifier, then the specified 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 same as the content identifier, then the specified content is not displayed in the first card, and the specified content is stored as the description content of the target content. When the user searches for the target content, they can find the specified content through the description content of the target content.
[0083] Please see Figure 12 The diagram illustrates a structural block diagram of a content sharing device 1200 provided in an embodiment of this application. The device may include: an acquisition unit 1201, a determination unit 1202, and a sharing unit 1203.
[0084] The acquisition unit 1201 is used to acquire a sharing request for the first card when the first card is displayed on the first desktop of the first device.
[0085] The determining unit 1202 is used to determine the target object corresponding to the sharing request in response to the sharing request.
[0086] Furthermore, the determining unit 1202 is also configured to, in response to the sharing request, obtain the first content input by the user; and determine the target object corresponding to the sharing request based on the first content.
[0087] Furthermore, the determining unit 1202 is also configured to, in response to the sharing request, display a content list, wherein the content list displays a plurality of second contents, each of the second contents corresponding to description information of at least one object; and determine the second contents selected by the user from the content list as the first contents.
[0088] Furthermore, since the target content is an image, the determining unit 1202 is also used to respond to the sharing request by identifying a face image in the target content; and based on the face image, determining the target object corresponding to the sharing request.
[0089] Furthermore, the determining unit 1202 is also configured to select face images other than the face image of the user of the first device from the face image as candidate face images; determine a target face image from the candidate face images; and select the user corresponding to the target face image as the target object corresponding to the sharing request.
[0090] Furthermore, the determining unit 1202 is also configured to match each candidate face image with the face images of each designated user in a preset correspondence, wherein the preset correspondence includes the face images of designated users corresponding to the users of the first device; to use the users corresponding to the successfully matched candidate face images as candidate users; and to determine the target object from the candidate users.
[0091] Furthermore, the determining unit 1202 is also used to display the identity information of the candidate users; and to determine the user selected by the user from multiple candidate users as the target object.
[0092] The sharing unit 1203 is used to share the target content with the second device corresponding to the target object, wherein, when the sharing request is directed to the first card, the content displayed on the first card includes the target content.
[0093] Furthermore, the sharing unit 1203 is also used to send the target content to the second device corresponding to the target object.
[0094] Furthermore, the sharing unit 1203 is also used to send a sharing instruction for 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 for displaying specified content on the first card if specified information is received from the second device. For example, the specified content is a bullet screen.
[0096] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0097] Please see Figure 13 The diagram illustrates a structural block diagram of a content sharing device 1300 provided in an embodiment of this application. The device may include a receiving unit 1301 and a display unit 1302.
[0098] The receiving unit 1301 is used to obtain the target content shared by the first device.
[0099] Display unit 1302 is used to display a second card on a second desktop of the second device, and to display the target content within 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 device 1300 also includes a sending unit for sending specified information to the first device, instructing the first device to display specified content on the first card.
[0102] Furthermore, the sending unit is also used to display a preset control on the second card; when the preset control is detected to be triggered, it sends specified information to the first device.
[0103] In the several embodiments provided in this application, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0104] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0105] Please refer to Figure 14 This document illustrates a structural block diagram of an electronic device according to an embodiment of this application. The electronic device 100 can be a smartphone, tablet computer, e-reader, or other electronic device capable of running applications. The electronic device 100 in this 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 can be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more applications are configured to perform the methods described in the foregoing method embodiments.
[0106] Processor 110 may include one or more processing cores. Processor 110 connects to various parts within the electronic device 100 using various interfaces and lines, and performs various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, processor 110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 110 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 110 and may be implemented separately using a communication chip.
[0107] The memory 120 may include random access memory (RAM) or read-only memory (ROM). The memory 120 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below. The data storage area may also store data created by the electronic device 100 during use (such as phonebook data, audio and video data, chat log data, etc.).
[0108] Please refer to Figure 15 This diagram illustrates a structural block diagram of a computer-readable medium provided in an embodiment of this application. The computer-readable medium 1500 stores program code that can be called by a processor to execute the methods described in the above method embodiments.
[0109] The computer-readable medium 1500 may be an electronic storage device such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or 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 of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 1510 may be compressed, for example, in a suitable form.
[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions 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 this application.
Claims
1. A content sharing method, characterized in that, Applied to a first device, the method includes: When the first card is displayed on the first desktop of the first device, a sharing request for the first card is obtained; In response to the sharing request, determine the target object corresponding to the sharing request; Share the target content to the second device corresponding to the target object, wherein, when the sharing request is directed to the first card, the content displayed on the first card includes the target content; If the first device receives specified information sent by the target object of the second device, it instructs the first device to display specified content on the first card, wherein the specified information corresponds to the target content.
2. The method according to claim 1, characterized in that, The step of determining the target object corresponding to the sharing request in response to the sharing request includes: In response to the sharing request, obtain the first content input by the user; The 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 the first content input by the user in response to the sharing request includes: In response to the sharing request, a content list is displayed, which contains multiple second contents, each of which corresponds to description information of at least one object; The second item selected by the user from the content list is designated as the first item.
4. The method according to claim 1, characterized in that, The target content is an image, and the step of responding to the sharing request by determining the target object corresponding to the sharing request includes: In response to the sharing request, identify the facial image in the target content; Based on the facial image, the target object corresponding to the sharing request is determined.
5. The method according to claim 4, characterized in that, The step of determining the target object corresponding to the sharing request based on the facial image includes: The facial images other than the facial image of the user of the first device in the facial image are selected as candidate facial images; The target face image is determined from the candidate face images; The user corresponding to the target face image is taken as the target object of the sharing request.
6. The method according to claim 5, characterized in that, Determining the target face image from the candidate face images includes: Each candidate face image is matched with the face images of designated users in a preset correspondence, wherein the preset correspondence includes the face images of designated users corresponding to the users of the first device; Users whose face images are successfully matched will be used as candidate users. The target audience is determined from the pool of potential users.
7. The method according to claim 6, characterized in that, The step of determining the target object from the candidate users includes: Display the identity information of the candidate users; The user selected by the user from multiple candidate users is identified as the target user.
8. The method according to claim 1, characterized in that, Sharing the target content with the second device corresponding to the target object includes: The target content is sent to the second device corresponding to the target object.
9. The method according to claim 1, characterized in that, Sharing the target content with the second device corresponding to the target object includes: The sharing instruction for 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, The specified content refers to bullet comments.
11. A content sharing method, characterized in that, Applied to a second device, the method includes: Obtain the target content shared by the first device based on the method described in any one of claims 1-10; A second card is displayed on the second desktop of the second device, wherein the target content is displayed in the second card; Send specified information to the first device, instructing the first device to display specified content on the first card, wherein the specified information corresponds to the target content.
12. The method according to claim 11, characterized in that, The step of displaying the second card on the second desktop of the second device includes: Display preset prompt information; After detecting a confirmation command for the preset prompt information, a second card is displayed on the second desktop of the second device.
13. The method according to claim 11, characterized in that, Send specified information to the first device, including: Preset controls are displayed on the second card; When the preset control is detected to be triggered, the specified information is sent to the first device.
14. A content sharing device, characterized in that, Applied to a first device, the device includes: The acquisition unit is used 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 is configured to determine the target object corresponding to the sharing request in response to the sharing request; A sharing unit is used to share target content with a second device corresponding to the target object, wherein, when the sharing request is directed to a first card, the content displayed on the first card includes the target content; The display unit is configured to, upon receiving specified information sent by the target object of the second device, instruct the first device to display specified content on the first card, wherein the specified information corresponds to the target content.
15. A content sharing device, characterized in that, Applied to a second device, the device includes: The receiving unit is configured to acquire the target content shared by the first device based on the method described in any one of claims 1-10; 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; A sending unit is configured to send specified information to the first device, instructing the first device to display specified content on the first card, wherein the specified information corresponds to the target content.
16. 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, the one or more applications being configured to perform the method as described in any one of claims 1-10 or 11-13.
17. A computer-readable medium, characterized in that, The computer-readable medium stores processor-executable program code, which, when executed by the processor, causes the processor to perform the method according to any one of claims 1-10 or 11-13.
Citation Information
Patent Citations
Terminal desktop content sharing method and device, equipment and storage medium
CN111147549A
Content sharing method and device, electronic equipment and readable storage medium
CN115412522A