Content interaction method and apparatus, device, and storage medium
By adding foreground image elements to users' media content, multi-user co-creation is achieved, solving the problem of a single creator in traditional media works and improving the richness of content and the efficiency of information acquisition.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2024-12-10
- Publication Date
- 2026-06-18
AI Technical Summary
Traditional media works typically have only one creator, and once users have co-created a work, they cannot continue to co-create, which affects the richness of the content.
Multi-user collaborative creation is achieved by acquiring users' images and adding them as foreground elements to other users' media content.
It enhances the richness of media content, supports multi-user co-creation of works, and simultaneously displays the contributions of multiple users within the same media content, thereby improving the efficiency of information retrieval.
Smart Images

Figure CN2024138284_18062026_PF_FP_ABST
Abstract
Description
A method, apparatus, device, and storage medium for content interaction Technical Field
[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to a method, apparatus, device, and computer-readable storage medium for content interaction. Background Technology
[0002] With the popularization of computer technology, the internet has become an important platform for people's daily communication. For example, users can publish various types of works on internet platforms, such as video works and image works. Traditionally, users can comment on, share, and like the works published by other users. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for content interaction is provided. The method includes: acquiring a first image associated with a first user; and adding a first foreground element associated with the first image to first media content associated with a second user, the first foreground element comprising at least a portion of the first image, wherein a first background image of the first media content is determined based on a posting action by the second user.
[0004] In a second aspect of this disclosure, an apparatus for content interaction is provided. The apparatus includes: an acquisition module configured to acquire a first image associated with a first user; and an adding module configured to add a first foreground element associated with the first image to first media content associated with a second user, the first foreground element including at least a portion of the first image, and a first background image of the first media content determined based on a publishing operation by the second user.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0009] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented;
[0010] Figures 2A to 2M show example interfaces according to some embodiments of the present disclosure;
[0011] Figure 3 illustrates a flowchart of an example process of content interaction according to some embodiments of the present disclosure;
[0012] Figure 4 shows a schematic structural block diagram of an example device for content interaction according to some embodiments of the present disclosure; and
[0013] Figure 5 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation
[0014] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0015] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0016] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0017] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0018] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0019] As mentioned above, media works have become an important medium for online interaction. Traditional media works typically have only one creator. While some platforms support user-generated content (CEP), the types of such CEPs are relatively limited. For example, two users can publish a CEP video, with different users' image content being added to different parts of the video. However, once such a CEP is published, other users cannot continue to co-create, which greatly affects the richness of the content.
[0020] Embodiments of this disclosure propose a content interaction scheme. The scheme includes: acquiring a first image associated with a first user; and adding a first foreground element associated with the first image to first media content associated with a second user, the first foreground element comprising at least a portion of the first image, wherein a first background image of the first media content is determined based on a publishing operation by the second user.
[0021] In this way, embodiments of this disclosure enable users to co-create works by adding foreground elements, thereby enhancing the richness of media content. Consequently, embodiments of this disclosure support multi-user co-creation and can simultaneously display the contributions of multiple users within the same media content, thus enriching the displayed information of the media content and improving information retrieval efficiency.
[0022] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings. Example Environment
[0023] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.
[0024] In this example environment 100, electronic device 110 may run an application 120 that supports content interaction. Application 120 may be any suitable type of application for content interaction, examples of which may include, but are not limited to, social applications, shopping applications, content sharing applications, video playback applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0025] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting content interaction.
[0026] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0027] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support content interaction in electronic devices 110.
[0028] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0029] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0030] The following description continues with reference to the accompanying drawings, outlining some exemplary embodiments of this disclosure. Example Interaction
[0031] Figures 2A to 2M illustrate example interfaces 200A to 200M according to some embodiments of the present disclosure. Interfaces 200A to 200M may be provided, for example, by the electronic device 110 shown in Figure 1.
[0032] In some embodiments, the electronic device 110 may present an interface 200A as shown in FIG2A to a first user. The interface 200A may be used to present a media content stream, which may include multiple media contents published by multiple users of the current application platform. The electronic device 110 may switch between multiple media contents in the media content stream based on received content switching operations, such as up or down swiping. The electronic device 110 may also receive any user's interactive operations on the media content, such as liking, commenting, editing, or sharing.
[0033] In some embodiments, the electronic device 110 acquires a first image associated with a first user. As an example, such a first image may be an image or video content selected by the first user in their photo album, or it may be an image or video content captured by the first user using the electronic device 110. Example 1:
[0034] In some embodiments, the electronic device 110 may first present a viewing interface of the first media content to be co-created, and then enter the first image acquisition interface through a first entry point in the viewing interface of the first media content. Further, after acquiring the first image through the first image acquisition interface, the electronic device 110 may perform co-creation of the first media and content based on the first image. Co-creation may instruct the addition of a portion of the first image to the first media content.
[0035] Specifically, the electronic device 110 can present a viewing interface for first media content, the viewing interface including a first entry point. As an example, as shown in FIG2A, the first media content can be displayed in a media content stream, and the interface 200A can be, for example, a viewing interface for the first media content. The interface 200A can present the first media content. The first media content may include a first background image 201 and one or more foreground elements superimposed on the first background image 201, such as element 202 and element 203.
[0036] In some embodiments, the first media content may be a work published by a second user. Exemplarily, the background image 201 may be a solid color background or a background containing a pattern. Additionally, the background image 201 may be automatically determined based on the media content selected by the second user. The electronic device 110 may present the first entry point 204 on the interface 200A.
[0037] Furthermore, the electronic device 110 can present a first image acquisition interface in response to the selection of the first entry point. Finally, the electronic device 110 can acquire the first image associated with the first user via the first acquisition interface. As an example, as shown in FIG2B, the first image acquisition interface can be, for example, interface 200B as shown in FIG2B. The electronic device 110 can present multiple preview components in interface 200B, such as preview component 205, which is associated with the first image. After preview component 205 is selected, the electronic device 110 can acquire the first image associated with preview component 205.
[0038] In some embodiments, the electronic device 110 can also generate stickers (i.e., foreground elements) from the first image. Specifically, the electronic device 110 can receive a first user's selection of the preview component 205 and present an interface 200C as shown in FIG2C. The interface 200C may, for example, be an image editing interface of the first image.
[0039] Furthermore, the electronic device 110 can receive a first user's selection of an image portion 206 in the first image within the interface 200C, thereby presenting the image portion 206 of the first image in a targeted style. As an example, as shown in FIG2C, the electronic device 110 can present a first outline element around the image portion 206. The first outline element can be implemented as a dashed line, a solid line, or other suitable style. Further still, the electronic device 110 can determine a first foreground element (i.e., sticker 207) associated with the first image based on the image portion 206.
[0040] After obtaining sticker 207, electronic device 110 can collaboratively create primary media content based on the obtained sticker 207. Example 2:
[0041] In some embodiments, the electronic device 110 may first acquire a first image by taking a picture, and then select the media content to be co-created.
[0042] As an example, electronic device 110 may present interface 200D as shown in FIG2D. The media content presented in interface 200D may be first media content or other media content. Electronic device 110 may present a first indicator element 208 in interface 200D. The first indicator element 208 is used to indicate a gesture for presenting a second image acquisition interface. Such a gesture may be, for example, a user's swiping operation on interface 200D (e.g., swiping right).
[0043] Furthermore, the electronic device 110 can receive a right swipe operation from the first user on the interface 200D, presenting the interface 200E as shown in Figure 2E. The interface 200E can be a media content capture interface (i.e., a second image acquisition interface). In this way, the embodiments of this disclosure can quickly present the second image acquisition interface through the user's swipe operation, thereby improving the efficiency of media content creation.
[0044] In some embodiments, the electronic device 110 can acquire a first image associated with a first user via a second image acquisition interface. For example, when the first user selects the shooting control 209, the electronic device 110 can perform a shooting operation to acquire the captured first image. After acquiring the first image, the electronic device 110 can present the first image in the interface 200F of FIG. 2F and determine the sticker 207 based on the first user's selection of the image portion 206.
[0045] In some embodiments, after the electronic device 110 acquires the first image by taking a picture, the first user can also select media content to be co-created through the electronic device 110. The media content to be co-created can be media content published today by a second user or other users. In some scenarios, the media content to be co-created can be referred to as a canvas.
[0046] Specifically, the electronic device 110 can, in response to acquiring a set of candidate media content associated with a group of users, present a set of candidate media content in a selection control. The set of candidate media content may include at least one piece of media content published by the group of users within a preset time period, wherein the association between the group of users and the first user satisfies a preset condition. The group of users includes the first user, or, the second user is the first user.
[0047] As an example, after the first image is acquired, the electronic device 110 can display an interface 200E as shown in Figure 2E, which includes a control 210. After the first user selects the control 210, the electronic device 110 can display a selection control 211 as shown in Figure 2F. When the first user or their friends post a board today, the electronic device 110 can display multiple posted boards in the selection control 211.
[0048] Furthermore, the electronic device 110 can determine the first media content based on the selection of the first media content in the selection control. As an example, as shown in FIG2F, the electronic device 110 can receive the first user's selection of the canvas 212 in the selection control 210 to determine to collaborate on the canvas 212. After the canvas 212 is selected, the electronic device 110 can display a preview image corresponding to the canvas 212 in the component 210.
[0049] In some embodiments, when neither the first user's friends nor the first user have posted a new board today, the first user can post a new board via electronic device 110. Specifically, electronic device 110 can create new media content based on the first image in response to the lack of candidate media content. The new media content includes at least one foreground element overlaid on a second background image, the at least one foreground element being determined based on the first image.
[0050] As an example, when neither the first user's friends nor the first user has posted a board today, the electronic device 110 can present component 210 in the style shown in Figure 2F. After the first user selects component 210, the electronic device 110 can generate sticker 207 based on the image portion 206 selected by the first user in the first image. Furthermore, the electronic device 110 can also acquire a second background image selected by the first user. After the sticker 213 and the second background image are determined, the electronic device 110 can generate a new board based on the target sticker and the second background image.
[0051] Once the first image is acquired and the canvas is determined or generated, the electronic device 110 can present an interface 200I as shown in FIG2I. The interface 200I includes a second indicator element 214, which indicates that a sticker 213 is added to the canvas 212 displayed in the component 210.
[0052] The process by which electronic device 110 adds a first image to first media content will be described below.
[0053] In some embodiments, the electronic device 110 may add a first foreground element associated with a first image to first media content associated with a second user. The first foreground element includes at least a portion of the first image. The first background image of the first media content is determined based on the second user's publishing action.
[0054] As an example, as shown in Figure 2J, the electronic device 110 can present an interface 200J, which can be an editing interface for the first media content. The interface 200J includes a sticker 207 (i.e., a first foreground element) associated with the first image. The electronic device 110 can add the sticker 207 to the first media content to complete the co-creation of the first media content.
[0055] In some embodiments, the electronic device 110 may add different portions of a first image to first media content. Specifically, the electronic device 110 may add multiple foreground elements associated with the first image to the first media content associated with a second user. The multiple foreground elements include a first foreground element, and the multiple foreground elements correspond to different portions of the first image.
[0056] As an example, as shown in Figure 2C, the electronic device 110 can receive operations (e.g., selection, box selection, drawing lines, etc.) from a first user on a first image in the interface 200C, and capture multiple image regions from the first image. Such image regions could be, for example, image regions corresponding to "people" or image regions corresponding to "butterflies." After obtaining multiple image regions, the electronic device 110 can convert these multiple image regions into multiple stickers to add to the first media content.
[0057] In some embodiments, the image portion added to the first media content includes: a first image portion and a second image portion. The first image portion includes a first image portion determined from the reference first media content based on a first editing operation by a user. The first editing operation indicates a first region to be segmented. The second image portion is determined by segmenting a second region of the reference first media content corresponding to a preset object.
[0058] As an example, as shown in Figure 2K, the electronic device 110 can determine a first region 214 in the reference first media content corresponding to the sticker 207 based on a user's first editing operation on the reference first media content (e.g., drawing lines, selecting boxes, etc.). Further, the electronic device 110 can provide adjustment controls 215 in the interface 200K. The electronic device 110 can receive a second editing operation from the user via the adjustment controls 215 to adjust the first region 214. For example, before receiving the second editing operation, the area corresponding to the sticker 216 only includes the first region 214. After receiving the adjustment operation, the sticker 216 also includes a second image portion 217 (e.g., the image area corresponding to the foreground element 202).
[0059] In some embodiments, after determining that the sticker 216 to be added to the first media content, the electronic device 110 may also adjust the display attributes of the sticker in the first media content based on the adjustment operation of the first user. The display attributes include: the display position of the first foreground element, the display size of the first foreground element, the display direction of the first foreground element, and the display level of the first foreground element.
[0060] As an example, adjustments could include changing the display position, size, or hierarchy of the first foreground element within the first media content. This can improve the content quality and optimize the presentation of the first media content.
[0061] In some embodiments, the display attributes may be determined by the electronic device 110 or the server 130 based on reference information. The reference information includes a first set of attributes, a second set of attributes, and template information associated with the first media content. The first set of attributes is associated with a first background image in the first media content. The second set of attributes is associated with at least one sticker (i.e., a foreground element) in the first media content.
[0062] In some embodiments, when adding sticker 216 to the first media content, the electronic device 110 also needs to determine whether sticker 216 meets preset display constraints, which at least indicate the occlusion relationship between display elements in the first media content. For example, a display constraint could be that the display layer of sticker 216 needs to be higher than the display layer of the first background image 201. Another display constraint could be that sticker 216 cannot obscure sticker 203.
[0063] In some embodiments, after the sticker 216 is added to the first media content, the electronic device 110 can display the user identifier of the second user in a first style on the viewing interface of the first media content. Further, the electronic device 110 can display the user identifier of at least one user in a second style on the viewing interface of the first media content. At least one user is associated with a foreground element added to the first media content. At least one user includes the first user, and the first style differs from the second style.
[0064] As an example, as shown in Figure 2L, the electronic device 110 can display the user ID 217 of the second user and the user ID 218 of the first user in the interface 200L. The user ID 217 can be displayed in a first style, and the user ID 218 can be displayed in a second style. For example, the second style can have a different display size, display position, etc. than the first style.
[0065] In some scenarios, as shown in Figure 2M, Figure 2M includes a second user's user identifier 217 and a viewing component 218. The electronic device 110 can display user identifiers of multiple users who co-created the first media content in the viewing component 218, such as user identifier 219 associated with the first user.
[0066] In some embodiments, the electronic device 110 may, in response to the selection of a target user identifier associated with a target user, selectively display target foreground elements associated with the target user in the viewing interface. As an example, the target user may be, for instance, a first user, and the sticker associated with the first user may be 216. As shown in FIG2L, after the user identifier 218 is selected, the electronic device 110 may highlight the first foreground element 216 associated with the first user. The highlighting may be, for example, a magnified display, a highlighting effect, or any suitable style such as presenting outline elements around the sticker 216.
[0067] In some embodiments, the electronic device 110 may present contour elements for indicating the boundaries of target foreground elements. Such contour elements may be implemented as any suitable contour element, such as a solid line, a dashed line, or a bold solid line. In this way, embodiments of the present disclosure can more conveniently allow users to identify the creator of the foreground element, thereby improving the efficiency of information retrieval.
[0068] In some embodiments, the viewing interface is a first viewing interface, which presents interface elements associated with the second media content. The electronic device 110 can respond to a preset operation received on the first viewing interface to present a second viewing interface of the second media content.
[0069] As an example, as shown in Figure 2A, interface 200A can be a viewing interface for first media content. The first media content is displayed in a media content stream. After receiving a preset operation from the user on interface 200A, electronic device 110 can present a second viewing interface for second media content. Such a preset operation could be, for example, a swiping operation by the user on interface 200A (e.g., swiping up or down).
[0070] In some embodiments, the electronic device 110 may display a set of foreground elements in a third style in the viewing interface of the first media content. The first set of foreground elements corresponds to a first group of users, and the association between the first group of users and the first user satisfies preset conditions.
[0071] As an example, when the relationship between the first group of users corresponding to the first group of foreground elements and the first user meets preset conditions (e.g., friend relationship or mutual following), the electronic device 110 can display the first group of foreground elements in a color style to indicate that the first group of users and the first user have a friend relationship or have followed each other.
[0072] In some embodiments, the electronic device 110 may display a second group of foreground elements in a fourth style within the viewing interface of the first media content. The second group of foreground elements corresponds to a second group of users, and the association between the second group of users and the first user does not meet preset conditions. The third style differs from the fourth style.
[0073] As an example, when the relationship between the second group of users corresponding to the first group of foreground elements and the first user does not meet preset conditions (e.g., not friends or not following each other), the electronic device 110 can present the second group of foreground elements in grayscale to indicate that the second group of users and the first user are "strangers" (i.e., not friends or not following each other). In this way, embodiments of this disclosure enable users to more easily distinguish whether multiple foreground elements in the first media content were created by friends, thereby effectively improving the efficiency of information acquisition.
[0074] In some embodiments, the electronic device 110 can publish first media content based on a publishing operation by a second user. The publishing operation by the second user can, for example, indicate whether foreground elements are allowed in the first media content, or specify the range of users allowed to add foreground elements to the first media content. As an example, the electronic device 110 can obtain editing permissions for the first media content through the publishing operation by the second user. Such editing permissions can, for example, indicate whether stickers are allowed to be added, adjusted, or deleted in the first media content. Alternatively, editing permissions can also indicate the range of users allowed to edit the first media content. Exemplarily, the range of users allowed to co-create can include, for example, the second user's friends or users who follow the second user. Alternatively, the range of users can also include all users who can participate in the co-creation of the media content.
[0075] In this way, embodiments of this disclosure enable users to collaboratively create works by adding foreground elements, thereby enriching the media content. Thus, embodiments of this disclosure support multi-user collaborative creation and can simultaneously display the contributions of multiple users within the same media content, thereby enriching the displayed information of the media content and improving information retrieval efficiency. Example Process
[0076] Figure 3 illustrates a flowchart of an example process 300 for content interaction according to some embodiments of the present disclosure. Process 300 can be implemented at electronic device 110. Process 300 will now be described with reference to Figure 1.
[0077] As shown in Figure 3, in box 310, electronic device 110 acquires a first image associated with a first user.
[0078] In box 320, electronic device 110 adds a first foreground element associated with a first image to the first media content associated with a second user. The first foreground element includes at least a portion of the first image, and the first background image of the first media content is determined based on the second user's publishing operation.
[0079] In some embodiments, process 300 further includes: presenting an image portion of a first image in a target style; and determining a first foreground element associated with the first image based on the image portion.
[0080] In some embodiments, the image portion includes: a first image portion determined from reference to first media content based on a user's first editing operation, the first editing operation indicating a first region to be segmented; or a second image portion determined by segmenting a second region in the reference to first media content corresponding to a preset object.
[0081] In some embodiments, acquiring a first image associated with a first user includes: presenting a viewing interface of first media content, the viewing interface including a first entry point; presenting a first image acquisition interface in response to selection of the first entry point; and acquiring the first image associated with the first user via the first acquisition interface.
[0082] In some embodiments, acquiring the first image associated with the first user includes: acquiring the first image associated with the first user via a second image acquisition interface.
[0083] In some embodiments, the second image acquisition interface includes a selection control, and process 300 further includes: in response to acquiring a set of candidate media content associated with a set of users, presenting a set of candidate media content in the selection control; and determining the first media content based on the selection of the first media content in the selection control.
[0084] In some embodiments, a set of candidate media content includes at least one piece of media content published by a group of users within a preset time period, wherein the association between the group of users and the first user meets preset conditions.
[0085] In some embodiments, a group of users includes a first user, or a second user is the first user.
[0086] In some embodiments, process 300 further includes: in response to not obtaining candidate media content, creating new media content based on the first image, the new media content including at least one foreground element overlaid on a second background image, the at least one foreground element being determined based on the first image.
[0087] In some embodiments, the display attributes of the first foreground element in the first media content are determined based on at least one of the following: a first set of attributes of the first background image in the first media content; a second set of attributes of at least one foreground element in the first media content; and template information associated with the first media content.
[0088] In some embodiments, process 300 further includes: adjusting the display attributes of the first foreground element in the first media content based on the received adjustment operation.
[0089] In some embodiments, the display attributes include at least one of the following: the display position of the first foreground element; the display size of the first foreground element; the display direction of the first foreground element; and the display level of the first foreground element.
[0090] In some embodiments, the display attributes of the first foreground element satisfy a preset display constraint, which at least indicates the occlusion relationship between foreground elements in the first media content.
[0091] In some embodiments, process 300 further includes: displaying a second user's identifier in a first style in a viewing interface of the first media content; and displaying a user identifier of at least one user in a second style in a viewing interface of the first media content, wherein the at least one user is associated with a foreground element added to the first media content, the at least one user including the first user, and the first style being different from the second style.
[0092] In some embodiments, process 300 further includes: in response to the selection of a target user identifier associated with the target user, distinguishably displaying target foreground elements associated with the target user in the viewing interface.
[0093] In some embodiments, distinguishing target foreground elements associated with a target user includes presenting outline elements to indicate the boundaries of the target foreground elements.
[0094] In some embodiments, the viewing interface is a first viewing interface, which presents interface elements associated with the second media content. The process 300 further includes: in response to a preset operation received in the first viewing interface, presenting a second viewing interface of the second media content.
[0095] In some embodiments, process 300 further includes: displaying a first group of foreground elements in a third style in the viewing interface of the first media content, the first group of foreground elements corresponding to a first group of users, and the association between the first group of users and the first user satisfying a preset condition; and displaying a second group of foreground elements in a fourth style in the viewing interface of the first media content, the second group of foreground elements corresponding to a second group of users, and the association between the second group of users and the first user not satisfying a preset condition, the third style being different from the fourth style.
[0096] In some embodiments, the publishing operation indicates whether the first media content is allowed to have foreground elements added; or the scope of users allowed to add foreground elements to the first media content.
[0097] In some embodiments, adding a first foreground element associated with a first image to first media content associated with a second user includes adding a plurality of foreground elements associated with the first image to the first media content associated with the second user. The plurality of foreground elements includes the first foreground element, and the plurality of foreground elements correspond to different image portions of the first image. Example apparatus and devices
[0098] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. FIG4 shows a schematic structural block diagram of an example apparatus 400 for content interaction according to certain embodiments of this disclosure. Apparatus 400 may be implemented as or included in electronic device 110. The various modules / components in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0099] As shown in Figure 4, the device 400 includes: an acquisition module 410 configured to acquire a first image associated with a first user; and an addition module 420 configured to add a first foreground element associated with the first image to first media content associated with a second user, the first foreground element including at least a portion of the first image, and a first background image of the first media content determined based on a publishing operation by the second user.
[0100] In some embodiments, the apparatus 400 further includes a first presentation module configured to present an image portion of a first image in a target style; and to determine a first foreground element associated with the first image based on the image portion.
[0101] In some embodiments, the image portion includes: a first image portion determined from reference to first media content based on a user's first editing operation, the first editing operation indicating a first region to be segmented; or a second image portion determined by segmenting a second region in the reference to first media content corresponding to a preset object.
[0102] In some embodiments, the acquisition module 410 is further configured to: present a viewing interface for first media content, the viewing interface including a first entry point; present a first image acquisition interface in response to selection of the first entry point; and acquire a first image associated with a first user via the first acquisition interface.
[0103] In some embodiments, the acquisition module 410 is further configured to acquire a first image associated with the first user via a second image acquisition interface.
[0104] In some embodiments, the second image acquisition interface includes a selection control, and the device 400 further includes a second presentation module configured to, in response to acquiring a set of candidate media content associated with a set of users, present a set of candidate media content in the selection control; and determine a first media content based on the selection of a first media content in the selection control.
[0105] In some embodiments, a set of candidate media content includes at least one piece of media content published by a group of users within a preset time period, wherein the association between the group of users and the first user meets preset conditions.
[0106] In some embodiments, a group of users includes a first user, or a second user is the first user.
[0107] In some embodiments, the apparatus 400 further includes a creation module configured to create new media content based on a first image in response to the failure to acquire candidate media content. The new media content includes at least one foreground element overlaid on a second background image, the at least one foreground element being determined based on the first image.
[0108] In some embodiments, the display attributes of the first foreground element in the first media content are determined based on at least one of the following: a first set of attributes of the first background image in the first media content; a second set of attributes of at least one foreground element in the first media content; and template information associated with the first media content.
[0109] In some embodiments, the apparatus 400 further includes an adjustment module configured to adjust the display attributes of the first foreground element in the first media content based on a received adjustment operation.
[0110] In some embodiments, the display attributes include at least one of the following: the display position of the first foreground element; the display size of the first foreground element; the display direction of the first foreground element; and the display level of the first foreground element.
[0111] In some embodiments, the display attributes of the first foreground element satisfy a preset display constraint, which at least indicates the occlusion relationship between foreground elements in the first media content.
[0112] In some embodiments, the device 400 further includes a first display module configured to display a second user's identifier in a first style in a viewing interface of the first media content; and to display a user identifier of at least one user in a second style in a viewing interface of the first media content, wherein the at least one user is associated with a foreground element added to the first media content, and the at least one user includes the first user, and the first style is different from the second style.
[0113] In some embodiments, the device 400 further includes a second display module configured to, in response to the selection of a target user identifier associated with the target user, distinguishably display target foreground elements associated with the target user in a viewing interface.
[0114] In some embodiments, the second display module is further configured to: present outline elements for indicating the boundaries of target foreground elements.
[0115] In some embodiments, the viewing interface is a first viewing interface that presents interface elements associated with the second media content. The device 400 also includes a presentation module configured to present a second viewing interface of the second media content in response to a preset operation received in the first viewing interface.
[0116] In some embodiments, the device 400 further includes a third display module configured to display a first group of foreground elements in a third style in the viewing interface of the first media content, the first group of foreground elements corresponding to a first group of users, and the association between the first group of users and the first user satisfying a preset condition; and to display a second group of foreground elements in a fourth style in the viewing interface of the first media content, the second group of foreground elements corresponding to a second group of users, and the association between the second group of users and the first user not satisfying a preset condition, the third style being different from the fourth style.
[0117] In some embodiments, the publishing operation indicates whether the first media content is allowed to have foreground elements added; or the scope of users allowed to add foreground elements to the first media content.
[0118] In some embodiments, the adding module 420 is further configured to add multiple foreground elements associated with a first image to the first media content associated with a second user, the multiple foreground elements including the first foreground element, the multiple foreground elements corresponding to different image portions of the first image.
[0119] As shown in Figure 5, the electronic device 500 is in the form of a general-purpose electronic device. Components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage devices 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in the memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0120] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.
[0121] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0122] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0123] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0124] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0125] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0126] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0127] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0128] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0129] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
A method for content interaction includes: Obtain the first image associated with the first user; as well as In the first media content associated with the second user, a first foreground element associated with the first image is added, the first foreground element including at least a portion of the first image, and the first background image of the first media content is determined based on the second user's posting action. The method according to claim 1 further includes: The image portion of the first image is rendered in the target style; as well as Based on the image portion, the first foreground element associated with the first image is determined. The method according to claim 2, wherein the image portion comprises: Based on the user's first editing operation, a first image portion is determined from reference to the first media content, the first editing operation indicating a first region to be segmented; or The second image portion is determined by segmenting a second region in the reference first media content that corresponds to a preset object. The method of claim 1, wherein acquiring the first image associated with the first user comprises: A viewing interface for the first media content is presented, the viewing interface including a first entry point; In response to the selection of the first entry point, a first image acquisition interface is presented; as well as The first image associated with the first user is obtained through the first acquisition interface. The method of claim 1, wherein acquiring the first image associated with the first user comprises: The first image associated with the first user is obtained via the second image acquisition interface. According to the method of claim 5, wherein the second image acquisition interface includes a selection control, and the method further includes: In response to obtaining a set of candidate media content associated with a group of users, the set of candidate media content is presented in the selection control; as well as The first media content is determined based on the selection of the first media content in the selection control. According to the method of claim 6, the set of candidate media content includes: At least one piece of media content published by the group of users within a preset time period, wherein the association between the group of users and the first user satisfies preset conditions. According to the method of claim 6, the group of users includes the first user, or the second user is the first user. The method according to claim 6 further includes: In response to the lack of candidate media content, new media content is created based on the first image. The new media content includes at least one foreground element overlaid on a second background image, the at least one foreground element being determined based on the first image. According to the method of claim 1, the display attributes of the first foreground element in the first media content are determined based on at least one of the following: The first set of attributes of the first background image in the first media content; The second set of attributes of at least one foreground element in the first media content; Template information associated with the first media content. The method according to claim 10 further includes: Based on the received adjustment operation, the display attributes of the first foreground element in the first media content are adjusted. The method of claim 10, wherein the display attribute includes at least one of the following: The display position of the first foreground element; The display size of the first foreground element; The display direction of the first foreground element; The display hierarchy of the first foreground element. According to the method of claim 10, the display attributes of the first foreground element satisfy a preset display constraint, the display constraint at least indicating the occlusion relationship between foreground elements in the first media content. The method according to claim 1 further includes: In the viewing interface of the first media content, the user identifier of the second user is displayed in a first style; as well as In the viewing interface of the first media content, the user identifier of at least one user is displayed in a second style. The at least one user is associated with a foreground element added to the first media content. The at least one user includes the first user. The first style is different from the second style. The method according to claim 14 further includes: In response to the selection of a target user identifier associated with the target user, target foreground elements associated with the target user are displayed distinctly in the viewing interface. The method of claim 15, wherein distinguishably displaying target foreground elements associated with the target user comprises: Presents a contour element used to indicate the boundary of the target foreground element. According to the method of claim 14, wherein the viewing interface is a first viewing interface, the first viewing interface presents interface elements associated with the second media content, and the method further includes: In response to a preset operation received in the first viewing interface, a second viewing interface is presented to display the second media content. The method according to claim 1 further includes: In the viewing interface of the first media content, the first group of foreground elements is displayed in the third style. The first group of foreground elements corresponds to the first group of users, and the association between the first group of users and the first user meets the preset conditions. as well as In the viewing interface of the first media content, the second group of foreground elements is displayed in the fourth style. The second group of foreground elements corresponds to the second group of users. The association between the second group of users and the first user does not meet the preset conditions. The third style is different from the fourth style. The method according to claim 1, wherein the publishing operation instruction is: Does the first media content allow for the addition of foreground elements? The scope of users allowed to add foreground elements to the first media content. The method of claim 1, wherein adding a first foreground element associated with the first image to the first media content associated with the second user comprises: In the first media content associated with the second user, a plurality of foreground elements associated with the first image are added, the plurality of foreground elements including the first foreground element, the plurality of foreground elements corresponding to different image portions of the first image. A device for content interaction, comprising: The acquisition module is configured to acquire a first image associated with the first user; as well as The module is configured to add a first foreground element associated with the first image to first media content associated with a second user. The first foreground element includes at least a portion of the first image, and the first background image of the first media content is determined based on the second user's publishing action. An electronic device, comprising: At least one processing unit; as well as At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 20 when executed by the at least one processing unit. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 20.