Content publishing method, apparatus, device, storage medium, and program product
Patent Information
- Application Number
- CN202611038570.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-13
- Publication Date
- 2026-10-30
AI Technical Summary
多个用户若希望共同创作发布内容,只能依赖以下离线方式:一,由一方汇总全部素材后进行单人编辑发布;二,多人各自独立发布发布内容,再在发布内容的内容详情页面通过评论或话题标签等方式进行松散关联,内容碎片化,无法形成统一的创作结果,导致发布内容的趣味性较低
[0020]本申请实施例中,在显示包括第一媒体内容的目标页面之后,可以响应于针对第一媒体内容的账号选择操作,发送内容编辑邀请信息至所选择的各个第二账号对应的第二客户端,内容编辑邀请信息包括第一媒体内容,然后可以显示发布内容编辑页面,发布内容编辑页面包括合成内容,合成内容基于第一媒体内容以及各个第二账号编辑的第二媒体内容生成,进而可以响应于针对合成内容的发布操作,发布目标发布内容,目标发布内容包括合成内容。由此可见,本申请实施例能够实现多人协同创作同一发布内容,从而提高发布内容的趣味性。
Smart Images

Figure CN123020649A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to content publishing methods, apparatus, devices, storage media, and program products. Background Technology
[0002] With the development of information technology and social networking platforms, user-generated content (UGC) has become one of the mainstream methods of online information dissemination. In the process of publishing content, the design is typically based on a single user as the atomic unit; that is, each piece of content corresponds to a unique creator account, and the editing, storage, and publishing of the content are all completed by a single user. If multiple users wish to collaboratively create and publish content, they can only rely on the following offline methods: First, one person gathers all the materials and then edits and publishes them individually; second, multiple users independently publish content and then loosely connect them on the content details page through comments or hashtags. This fragmented content fails to form a unified creative result, leading to low engagement and appeal. Summary of the Invention
[0003] The technical problem to be solved by the embodiments of this application is to provide a content publishing method, apparatus, device, storage medium and program product that enables multiple people to collaboratively create the same published content and improve the interest of the published content.
[0004] On one hand, embodiments of this application provide a content publishing method, which is applied to a first client corresponding to a first account, and the method includes: Display the target page, which includes the first media content; In response to the account selection operation for the first media content, a content editing invitation message is sent to the second client corresponding to each selected second account, the content editing invitation message including the first media content; The content editing page is displayed, which includes synthesized content, which is generated based on the first media content and the second media content edited by each of the second accounts. In response to a publishing operation for the synthesized content, a target publishing content is published, the target publishing content including the synthesized content.
[0005] On the other hand, embodiments of this application provide a content publishing method, which is applied to a second client corresponding to a second account, and the method includes: The message page displays a message page that includes a content editing invitation message. The content editing invitation message includes the first media content edited by the first account. The content editing invitation message is used to indicate the target content to be published. In response to a triggered operation for the content editing invitation information, a media content aggregation page is displayed. The media content aggregation page includes at least one content information block, which includes a first content information block and a second content information block. The first content information block is used to display the first media content. In response to an editing operation on the media content aggregation page, the edited second media content is displayed in the second content information block. The first media content and the second media content are used to generate composite content, and the target published content includes the composite content.
[0006] On the other hand, embodiments of this application provide a content publishing device, which is applied to a first client corresponding to a first account, and the device includes: A display unit is used to display a target page, the target page including first media content; A sending unit is configured to respond to an account selection operation for the first media content by sending content editing invitation information to the second clients corresponding to each selected second account, wherein the content editing invitation information includes the first media content; The display unit is also used to display a published content editing page, which includes synthesized content generated based on the first media content and the second media content edited by each of the second accounts. A processing unit is configured to, in response to a publishing operation for the synthesized content, publish target publishing content, the target publishing content including the synthesized content.
[0007] In one embodiment, the display unit displays a target page, the target page including first media content, including: A topic page displaying the target topic, the topic page including a topic information block for the first account regarding the target topic, the topic information block including the first media content and an account selection control, the account selection control being used to select at least one second account; or... A media content aggregation page is displayed, comprising at least one content information block and an account selection control. Each content information block displays media content edited by a corresponding account, wherein the first media content was edited by the first account, and the account selection control is used to select at least one second account; or... The conversation page between the first account and the target agent is displayed. The conversation page includes conversation messages between the first account and the target agent, and the conversation messages include the first media content.
[0008] In one implementation, the display unit displays a topic page for the target topic, the topic page including a topic information block for the first account regarding the target topic, including: The topic information editing control is displayed on the topic page; In response to a trigger operation on the topic information editing control, a topic information editing page for the target topic is displayed; In response to an editing operation on the topic information editing page, the first media content is displayed; In response to the determination operation for the first media content, the topic information block of the first account for the target topic is displayed on the topic page of the target topic.
[0009] In one implementation, the topic information block further includes at least one of the following: Progress notification information, which is used to indicate the generation progress of the synthesized content; A media content adjustment control, wherein the media content adjustment control is used to update the first media content; A media content acquisition control is used to acquire third media content, and the third media content, the first media content, and the second media content are used to generate the synthesized content.
[0010] In one embodiment, the display unit can also be used for: The media content aggregation page is displayed, which includes at least one content information block and at least one content editing component. Each content information block is used to display media content edited by the corresponding account. In response to a triggered operation on the first content editing component, the updated first media content is displayed in the content information block corresponding to the first media content. The updated first media content is obtained by performing editing processing on the first media content corresponding to the first content editing component.
[0011] In one embodiment, the display unit can also be used for: The editing status information is displayed on the media content aggregation page. This editing status information is used to indicate the editing behavior of the account currently in the editing state.
[0012] In one embodiment, the display unit can also be used for: In response to a confirmation operation on the media content aggregation page, the published content editing page is displayed. The published content editing page includes the synthesized content and the account identifiers of each of the second accounts.
[0013] In one embodiment, the processing unit is further configured to generate operation data in response to a trigger operation on the second content editing component, the operation data including operation content, a client identifier of a first client responding to the trigger operation, a server version identifier on which the trigger operation is based, and a local version identifier of the second content editing component. The sending unit is further configured to send the operation data to the server, so that the server performs operation transformation processing on the operation content based on the server version identifier, the local version identifier and the current version identifier of the server to obtain new operation content, the server updates the composite content based on the new operation content to obtain new composite content, and the server sends the new composite content to the first client and each of the second clients. The display unit is also used to display the new composite content on the media content aggregation page.
[0014] In one implementation, the display unit, in response to a confirmation operation on the media content aggregation page, displays the published content editing page, including: In response to a confirmation operation on the media content aggregation page, a consensus request is generated and sent to the server, so that the server sends the current version identifier of the synthesized content to the first client and each of the second clients; the first client and each of the second clients confirm whether the current version identifier of the synthesized content displayed in their respective clients is consistent with the current version identifier of the synthesized content sent by the server, obtain a confirmation result, and send the confirmation result to the server; the server confirms, based on the confirmation result, that the current version identifier of the synthesized content displayed in the first client and each of the second clients is consistent with the current version identifier of the synthesized content sent by the server, and when all the operation data received by the server has been processed, a publication confirmation message is generated, and the server sends the publication confirmation message to the first client; Upon receiving the publication confirmation information, the publication content editing page is displayed.
[0015] On the other hand, embodiments of this application provide a content publishing device, which is applied to a second client corresponding to a second account. The device includes: A display unit is used to display a message page, the message page including content editing invitation information, the content editing invitation information including first media content edited by the first account, the content editing invitation information being used to indicate the target content to be published; The display unit is further configured to display a media content aggregation page in response to a trigger operation for the content editing invitation information. The media content aggregation page includes at least one content information block, and the at least one content information block includes a first content information block and a second content information block. The first content information block is used to display the first media content. The display unit is further configured to, in response to an editing operation on the media content aggregation page, display the edited second media content in the second content information block, wherein the first media content and the second media content are used to generate composite content, and the target published content includes the composite content.
[0016] In one implementation, the message page includes one or more of the following: an account message page, a conversation page for communicating with the first account, a social group page, a notification message page, and a topic page for the target topic.
[0017] On the other hand, embodiments of this application provide a computer device, which includes a memory, a communication interface, and a processor, wherein the memory, the communication interface, and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the above-mentioned content publishing method.
[0018] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described content publishing method.
[0019] On the other hand, embodiments of this application provide a computer program product, which includes a computer program stored in a computer storage medium; the processor of a computer device reads the computer program from the computer storage medium and executes the computer program, causing the computer device to perform the above-described content publishing method.
[0020] In this embodiment, after displaying the target page including the first media content, in response to the account selection operation for the first media content, content editing invitation information can be sent to the second clients corresponding to each selected second account. The content editing invitation information includes the first media content. Then, a content publishing and editing page can be displayed. The content publishing and editing page includes composite content, which is generated based on the first media content and the second media content edited by each second account. Subsequently, in response to the publishing operation for the composite content, the target publishing content can be published, which includes the composite content. Therefore, this embodiment enables multiple people to collaboratively create the same publishing content, thereby increasing the fun of the published content. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.
[0022] Figure 1 This is a schematic diagram of the structure of a content publishing system provided in an embodiment of this application; Figure 2 This is a flowchart illustrating a content publishing method provided in an embodiment of this application; Figure 3A This is a schematic diagram of the topic page provided in an embodiment of this application; Figure 3B This is a schematic diagram of the topic page provided in an embodiment of this application; Figure 3C This is a schematic diagram of a media content aggregation page provided in an embodiment of this application; Figure 3D This is a schematic diagram of a session page provided in an embodiment of this application; Figure 3E This is a schematic diagram of a media content aggregation page provided in an embodiment of this application; Figure 3F This is a schematic diagram of a media content aggregation page provided in an embodiment of this application; Figure 4 This is a flowchart illustrating another content publishing method provided in an embodiment of this application; Figure 5A This is a schematic diagram of a message page provided in an embodiment of this application; Figure 5B This is a schematic diagram of a session page provided in an embodiment of this application; Figure 6 This is an interactive schematic diagram of a content publishing method provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a content publishing device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0024] Furthermore, in the description of the embodiments of this application, the terms "first," "second," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0025] The descriptions involved in the embodiments of this application will be defined below: Published content refers to user-submitted content information on the online platform. This can include text, images, audio, and video, and can be displayed in formats such as notes, articles, and video files. The specific content information included in published content can be adjusted for different scenarios, and the content information can be determined by the publisher. Published content is stored on a server and distributed to users browsing the content platform through a content distribution algorithm deployed on the server.
[0026] "In response to" indicates the state in which a corresponding event occurs or a condition is met. The timing of subsequent actions performed in response to this event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is met. For example, in some cases, subsequent actions may be performed immediately when the event occurs or the condition is met; while in other cases, subsequent actions may be performed some time after the event occurs or the condition is met.
[0027] Triggered actions refer to actions or responses that are automatically executed when specific conditions or events occur. Triggered actions for controls mainly refer to events and behaviors triggered after a user interacts with page controls (such as buttons, text boxes, drop-down menus, etc.). These triggered actions can include the following types: 1. Click event: The user clicks a button, link, or icon.
[0028] 2. Mouse Over / Mouse Enter: The mouse pointer moves over the control and hovers.
[0029] 3. Text Input Event (Input): The user enters or modifies text in the text box.
[0030] 4. Change Event: The user changes the options in the drop-down menu or selection box.
[0031] 5. Focus events (Focus / Blur): Controls gaining or losing input focus, etc.
[0032] In the specific implementation of this application, user-related data is involved, such as first media content, synthesized content, etc. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with local laws, regulations and standards.
[0033] Research has revealed that users typically design their content publishing process around a single user as the atomic unit. Each piece of content corresponds to a unique creator account, and the editing, storage, and publishing of content are all completed by a single user. If multiple users wish to collaboratively create and publish content, they can only rely on the following offline methods: 1) One party gathers all materials and then edits and publishes them individually; 2) Multiple users independently publish content and then loosely connect them on the content details page through comments or hashtags, resulting in fragmented content that fails to form a unified creative outcome and leads to low engagement. Based on this, this application's embodiment can, after displaying a target page including the first media content, respond to an account selection operation for the first media content by sending content editing invitation information to the second clients corresponding to each selected second account. The content editing invitation information includes the first media content. Then, a content editing page can be displayed, including composite content generated based on the first media content and the second media content edited by each second account. Finally, in response to a publishing operation for the composite content, the target publishing content, including the composite content, can be published. Therefore, the embodiments of this application can enable multiple people to collaboratively create and publish the same content, thereby increasing the interest of the published content.
[0034] The content publishing method in this embodiment is applied to a content publishing device, which is located on a client, such as a first client or a second client. The client can run on a computer device, which has one or more processors, a memory, and one or more applications. The one or more applications are stored in the memory and configured to be executed by the processor to implement the content publishing method. The computer device can be a smart terminal, such as a mobile phone, wearable device, in-vehicle device, tablet computer, network device, and smart computer.
[0035] This application provides a content publishing system, exemplarily, such as... Figure 1 As shown, Figure 1 This is a schematic diagram of the structure of a content publishing system provided in an embodiment of this application. The content publishing system may include at least one first client 100 corresponding to a first account (any first client 100 integrates the following...) Figure 7 The content publishing device shown), at least one second client 200 corresponding to a second account (each second client 200 integrates the following Figure 7 The content publishing device (shown) and server 300. The first client 100 runs a computer-readable storage medium corresponding to the content publishing method to execute... Figure 2 The content publishing method is shown. The second client 200 runs a computer-readable storage medium corresponding to the content publishing method to execute... Figure 4 The content publishing method is shown. The server 300 communicates and interacts with at least one first client 100 and a second client 200.
[0036] The primary account refers to the account that initiates collaborative content creation and sends out content editing invitations. The primary account can include, for example, a merchant account, a consumer account, or a buyer account. Merchant accounts are used to provide goods and / or services on the platform.
[0037] The second account is used to receive content editing invitations and participate in the collaborative creation and publication of content. This second account can include, for example, a consumer account, a buyer account, or an account with a social relationship to the first account. Social relationships include friendships, colleague relationships, relationships with the same or similar interests or preferences, or kinship.
[0038] It should be noted that in practical applications, a client can be either a first client or a second client. For example, a client can initiate a collaborative creation operation for media content 1, generating corresponding content editing invitation information. This client can also receive content editing invitation information sent by other clients and participate in the collaborative creation operation of other media content.
[0039] The first client 100 can display a target page, which includes the first media content. If the first account wants to initiate collaborative content creation and publication for the first media content, the first account can perform an account selection operation for the first media content. Based on this, the first client 100 can respond to the account selection operation for the first media content by sending content editing invitation information to the second clients 200 corresponding to each selected second account. The content editing invitation information includes the first media content.
[0040] When sending content editing invitation information to the second clients 200 corresponding to each selected second account, the first client 100 can forward the content editing invitation information to the server 300. After receiving the content editing invitation information, the server 300 can forward the content editing invitation information to the second clients 200 corresponding to each selected second account.
[0041] Each second client 200 can display a message page, which includes a content editing invitation message. This invitation message includes the first media content edited by the first account and is used to instruct the target content to be published. Each second client 200 can respond to a trigger operation based on the content editing invitation message by displaying a media content aggregation page. This page includes at least one content information block, comprising a first content information block and a second content information block. The first content information block displays the first media content. Then, each second client 200 can respond to an editing operation on the media content aggregation page by displaying the edited second media content in the second content information block. The first and second media content are used to generate composite content.
[0042] After the first client 100 and each of the second clients 200 jointly create the composite content, the first client 100 can display a content editing page. This page includes the composite content, which is generated based on the first media content and the second media content edited by each of the second accounts. Then, in response to a publishing operation on the composite content, the first client 100 can publish the target content, which includes the composite content.
[0043] The server 300 in the content publishing system can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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 network (CDN), and big data and artificial intelligence platforms.
[0044] Any first client 100 can communicate directly or indirectly with the server 300 via wired or wireless communication, and any second client 200 can communicate directly or indirectly with the server 300 via wired or wireless communication. This application does not impose any restrictions on this.
[0045] Understandable, Figure 1The server 300, or at least one first client 100, or at least one second client 200 in the content publishing system shown do not constitute a limitation on the embodiments of the present invention. That is, the number of servers, the type of servers, the number of at least one first client, the type of at least one first client, the number of at least one second client, the type of at least one second client, or the number and type of devices contained in each server, each client (e.g., first client or second client) or client, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0046] Please see Figure 2 , Figure 2 This is a flowchart illustrating a content publishing method provided in an embodiment of this application. The content publishing method can be derived from the above... Figure 1 The content publishing method is implemented by the first client 100, but can also be implemented by other devices capable of implementing this content publishing method. The following description uses the implementation of the content publishing method by the aforementioned first client 100 as an example. The flow of the content publishing method provided in this embodiment includes, but is not limited to: S201. Display the target page, which includes the primary media content.
[0047] In this embodiment, the first client can display a target page, which includes first media content. The first media content is the media content that the first account wants to initiate collaborative creation and publication of. The first media content can be acquired in real-time by the first account through an image acquisition device in a computer device, selected by the first account from the local storage of the computer device, downloaded by the first account from the Internet through the computer device, or at least one session message from the session page with the target intelligent agent can be used as the first media content. The first media content can include images, text, videos, animations, etc.
[0048] In one embodiment, the target page may include a topic page for the target topic. The first client may display the topic page for the target topic, which includes a topic information block for the first account regarding the target topic. The topic information block includes first media content and an account selection control, which is used to select at least one second account.
[0049] by Figure 3ATaking the illustrated topic page as an example, the first client can access the topic page of the target topic. The topic page can include a topic information block for the first account regarding the target topic. The topic information block can include first media content and an account selection control. The first media content can be captured in real time by the first account through an image acquisition device in the computer device, or selected by the first account from the local storage of the computer device, or downloaded by the first account from the Internet through the computer device. The account selection control is, for example... Figure 3A The "Invite Friends to Take Photos Together" control on the topic page allows the first account to select at least one second account to invite the selected second account to co-create and publish content with the first account.
[0050] Optionally, the first client can initiate collaborative content creation and publication for the target topic through the target topic's topic page. For example, the first client can display a topic information editing control on the topic page; in response to a trigger operation on the topic information editing control, display the topic information editing page for the target topic; in response to an editing operation on the topic information editing page, display the first media content; and in response to a confirmation operation on the first media content, display the first account's topic information block for the target topic on the target topic's topic page.
[0051] by Figure 3B Taking the illustrated topic page as an example, the first client can access the topic page of the target topic. The topic page may include topic information editing controls, such as... Figure 3B The "Go to Publish" control is shown on the topic page. When the first account wants to initiate collaborative content creation for a target topic, it can trigger the topic information editing control. The first client can respond to the triggering of the topic information editing control and display the topic information editing page for the target topic. The first account can edit the relevant content of the topic information for the collaborative content creation for the target topic through the topic information editing page, such as the copy "Unlock gifts by taking a photo with friends," or the first media content. For example, the first client can respond to the triggering of the media content collection control on the topic information editing page and display the media content selection page. The media content selection page can include at least one candidate media content and a media content collection control. The first account can determine the first media content by selecting a candidate media content from at least one candidate media content. The first account can also collect the first media content in real time by triggering the media content collection control. The media content collection control is, for example... Figure 3BThe "Go to Shoot" control is shown on the media content selection page. After the first account confirms the first media content, the first account can click the "Next" control on the media content selection page. The first client can then display a preview page showing the first media content. After the first account confirms the first media content again through the preview page, the first account can click the "Next" control on the preview page. The first client can then display the topic information editing page, which displays the confirmed first media content. After the first account completes the topic information editing, the first account can click the "Finish" control on the topic information editing page to confirm the first media content. The first client can then display the topic page for the target topic, which displays the first account's topic information block for the target topic, including the first media content.
[0052] Optionally, the topic information block may also include at least one of the following: Progress notification information, used to indicate the generation progress of the synthesized content. For example, the progress notification information... Figure 3B The topic information block for the first account on the topic page shows "Current collaboration progress: 30%".
[0053] A media content adjustment control, used to update the first media content. For example, a media content adjustment control... Figure 3B The topic page shown illustrates the "Enter Edit" control within the topic information block for the first account targeting the target topic. If the first account wants to adjust the first media content used for collaborative content creation and publication—for example, replacing the first media content with other media content, or making content adjustments to the first media content to obtain new first media content—the first account can click the media content adjustment control. The first client can respond to the trigger operation of the media content adjustment control, displaying a media content aggregation page including at least one content information block and at least one content editing component. Any content information block is used to display the media content edited by the corresponding account. The first client can respond to the trigger operation of any content editing component to update the first media content.
[0054] A media content acquisition control is used to acquire third media content, which, along with the first and second media content, is used to generate the synthesized content. For example, the media content acquisition control... Figure 3BThe "Go Shoot Now" control appears in the topic information block of the first account for the target topic on the topic page. If the first account wants to add third-party media content for collaborative creation of target-related content, the first account can click the media content collection control. The first client can respond to the trigger operation of the media content collection control and collect the third-party media content. Optionally, the first client can use the third-party media content as the new first-party media content, replacing the first-party media content in the topic information block of the first account for the target topic on the topic page with the new first-party media content. The synthesized content can be generated based on the new first-party media content and various second-party media content. Optionally, the first client can add third-party media content for collaborative creation of target-related content, displaying the third-party media content in the topic information block of the first account for the target topic on the topic page. The synthesized content can be generated based on the third-party media content, the first-party media content, and various second-party media content.
[0055] In one embodiment, the first client can display a media content aggregation page, which includes at least one content information block and an account selection control. Each content information block is used to display media content edited by the corresponding account. The first media content is edited by the first account. The account selection control is used to select at least one second account.
[0056] by Figure 3C Taking the illustrated media content aggregation page as an example, the media content aggregation page can aggregate and display media content edited by the first account and at least one selected second account. If the first account wants to invite other second accounts to participate in co-creating content to be published while browsing the media content aggregation page, the first account can click the account selection control on the media content aggregation page, for example... Figure 3C The "Invite Friends to Film Together" control on the media content aggregation page shown. The first account can use this account selection control to select at least one second account to invite the selected second account to co-create the target content with the first account.
[0057] In one embodiment, the first client may display a conversation page between the first account and the target intelligent agent, the conversation page including conversation messages between the first account and the target intelligent agent, the conversation messages including the first media content.
[0058] by Figure 3DTaking the illustrated conversation page as an example, if a first account wants to co-create target content based on at least one conversation message in the conversation page with the target agent, the first account can access the conversation page between the first account and the target agent through a first client. For example, the conversation page can include conversation messages sent by the target agent, and also conversation messages sent by the first account. The first account can trigger an operation on the conversation message for which they want to co-create target content. In response to the trigger operation on the target conversation message, the first client uses the target conversation message as the first media content and displays an account selection control. The target conversation message includes at least one conversation message in the conversation page. For example, the first account can long-press the target conversation message. In response to the trigger operation on the target conversation message, the first client displays an account selection control overlaid at the top of the conversation page. The first account can then click on the account selection control, for example... Figure 3D The "Invite Friends to Take Photos Together" control is located at the top of the chat page. The first account can use this account selection control to select at least one second account to invite the selected second account to co-create the target content with the first account.
[0059] S202. In response to the account selection operation for the first media content, send content editing invitation information to the second client corresponding to each selected second account. The content editing invitation information includes the first media content.
[0060] In one embodiment, in response to a triggering operation of an account selection control, a first client displays an object list containing account identifiers of one or more objects. In response to a selection operation of at least one account identifier in the object list, the first client designates the account corresponding to the selected account identifier as a second account. In response to a confirmation operation of the selected second account, the first client sends content editing invitation information to the second clients corresponding to each selected second account. The confirmation operation of the first account for the selected second account may include the first account clicking a confirmation control, such as... Figure 3A , Figure 3C or Figure 3D The "OK" control in the list of objects shown.
[0061] Optionally, determining at least one second account can be achieved by displaying multiple candidate objects and determining the second account based on the selection operation for the multiple candidate objects; by displaying an object search area and displaying objects that meet the search criteria based on the input search criteria, and determining the second account based on the objects that meet the search criteria; or by displaying an object input area and determining the second account based on the input object information (e.g., object name, number, etc.).
[0062] It should be noted that the selected second account can be an independent single object, or it can be all or part of the objects within a group or category. The method provided in this application embodiment can conveniently and quickly determine the second account, which helps to shorten the content publishing process and improve the user experience.
[0063] S203. Display the published content editing page. The published content editing page includes composite content, which is generated based on the first media content and the second media content edited by each second account.
[0064] After the first account and all selected second accounts have finished editing, the first client can display the content editing page, which includes the composite content jointly created by the first account and all the second accounts. Optionally, the content editing page can also automatically add at least one of the following information: account identifiers of each second account and topic tags. This is to display the account identifiers of each second account and the account identifier of the first account on the content details page of the target published content, so that the viewing account of the target published content is aware that the target published content was jointly created by the first account and all the second accounts. Topic tags can also be displayed on the content details page of the target published content to inform the viewing account of the target published content that the target published content is related to a target topic. Optionally, the content editing page can also include at least one of the following: a text editing area, a location tagging control, a permission setting control, a component addition control, and a note publishing control. The text editing area is used to edit the text of the target published content. The location tagging control is used to mark the location information displayed in association with the target published content. The permission settings control is used to set whether other accounts are allowed to view the target published content, or the effective duration for which the target published content can be viewed by other accounts. That is, when the effective duration expires, other accounts will no longer be able to view the target published content. Alternatively, it can specify which accounts are authorized to view the target published content; that is, accounts other than authorized accounts will not be able to view the target published content. The component addition control is used to set what components to add to the content details page of the target published content. The note publishing control is used to publish the target published content.
[0065] In one embodiment, the first client can display a media content aggregation page, which includes at least one content information block and at least one content editing component. Any content information block is used to display media content edited by the corresponding account. In response to a trigger operation on the first content editing component, the updated first media content is displayed in the content information block corresponding to the first media content. The updated first media content is obtained by performing the editing processing corresponding to the first content editing component on the first media content.
[0066] by Figure 3ETaking the media content aggregation page shown as an example, the media content aggregation page can include at least one content information block and at least one content editing component. The at least one content editing component can be, for example, a filter component, a text component, a sticker component, a cropping component, a marker component, or an adjustment component. The first client or any second client can edit the first media content or the second media content to obtain composite content. For example, the first media content and each of the second media contents can be spliced together to obtain spliced media content. Then, a filter component can be used to add a filter to the spliced media content to obtain composite content. Alternatively, by long-pressing and sliding the display position of any content information block, the arrangement order of each content information block can be updated, and the media content displayed in the corresponding content information blocks can be spliced according to the new arrangement order to obtain composite content. Similarly, by using the text component, text can be added to any position of any media content, and the media content with added text can be spliced with other media content to obtain composite content. Again, by using the text component, the first media content and each of the second media contents can be spliced together to obtain spliced media content. Then, by using the text component, text can be added to any position of the spliced media content to obtain composite content. For example, the sticker component can be used to add stickers to any position within any media content, and then the media content with stickers added can be spliced with other media content to obtain composite content. Similarly, the first media content can be spliced with each of the second media content pieces to obtain spliced media content, and then the sticker component can be used to add stickers to any position within the spliced media content to obtain composite content. Likewise, the cropping component can be used to crop any media content, and then the cropped media content can be spliced with other media content to obtain composite content. Again, the first media content can be spliced with each of the second media content pieces to obtain spliced media content, and then the cropping component can be used to crop the spliced media content to obtain composite content. Finally, the tagging component can be used to tag any media content, and then the tagged media content can be spliced with other media content to obtain composite content. Again, the first media content can be spliced with each of the second media content pieces to obtain spliced media content, and then the tagging component can be used to tag the spliced media content to obtain composite content. For example, parameters of any media content can be adjusted using adjustment components, and then the adjusted media content can be spliced with other media content to obtain composite content. Similarly, a first media content can be spliced with each second media content to obtain spliced media content, and then parameters of the spliced media content can be adjusted using adjustment components to obtain composite content. Parameter adjustments can include brightness adjustment, exposure adjustment, contrast adjustment, saturation adjustment, and sharpness adjustment.
[0067] In one embodiment, the first client can display editing status information on the media content aggregation page, the editing status information being used to prompt the editing behavior of the account currently in editing status.
[0068] by Figure 3E Taking the media content aggregation page shown as an example, if the account currently in editing mode includes the first account, and the first account has not currently triggered any content editing components, then the first client can display the editing status information "The account identifier (e.g., avatar) of the first account is being edited" on the media content aggregation page. For example, the editing status information can be displayed at the top of the media content aggregation page. As another example, if the account currently in editing mode includes the first account, and the first account has currently triggered a filter component, then the first client can display the editing status information "The account identifier of the first account has selected the duet filter" on the media content aggregation page.
[0069] In one embodiment, the first client may display the published content editing page in response to a confirmation operation on the media content aggregation page. The published content editing page includes the synthesized content and the account identifiers of each of the second accounts.
[0070] by Figure 3F Taking the media content aggregation page shown as an example, after the first account finishes editing the media content, it can perform a confirmation operation on the media content aggregation page, such as clicking... Figure 3F The "Complete" control is shown on the media content aggregation page. The first client can respond to a confirmation operation on the media content aggregation page by displaying a publishing prompt page. This page indicates that the first account and all the second accounts have completed the collaborative creation. When the first account wants to publish content based on the composite content created by the first account and the second accounts, it can perform a confirmation operation on the publishing prompt page, for example, by clicking... Figure 3F The "Publish Now" control is shown on the publishing prompt page. The first client can respond to the confirmation action on the publishing prompt page and display the publishing content editing page.
[0071] S204. In response to a publish operation for the composite content, publish the target publish content, which includes the composite content.
[0072] by Figure 3F For example, after the first client displays the content editing page, the first account can edit the target content to be published through the content editing page. If the editing is complete, the first account can click... Figure 3F The "Publish Notes" control in the content editing page shown allows the first client to respond to publishing operations on the synthesized content, publishing the target content, which includes the synthesized content.
[0073] In this embodiment, after displaying the target page including the first media content, in response to the account selection operation for the first media content, content editing invitation information can be sent to the second clients corresponding to each selected second account. The content editing invitation information includes the first media content. Then, a content publishing and editing page can be displayed. The content publishing and editing page includes composite content, which is generated based on the first media content and the second media content edited by each second account. Subsequently, in response to the publishing operation for the composite content, the target publishing content can be published, which includes the composite content. Therefore, this embodiment enables multiple people to collaboratively create the same publishing content, thereby increasing the fun of the published content.
[0074] Please see Figure 4 , Figure 4 This is a flowchart illustrating another content publishing method provided in an embodiment of this application. This content publishing method can be derived from the above... Figure 1 The content publishing method is implemented by the second client 200, but can also be implemented by other devices capable of implementing this content publishing method. The following description uses the implementation of the content publishing method by the aforementioned second client 200 as an example. The flow of the content publishing method provided in this embodiment includes, but is not limited to: S401. Display a message page. The message page includes content editing invitation information. The content editing invitation information includes the first media content edited by the first account. The content editing invitation information is used to instruct the target to publish the content.
[0075] After the first client sends the content editing invitation to the second client, the second client can display a message page containing the content editing invitation. The second account can then collaborate with the first account and other second accounts to create and publish content for the target audience.
[0076] In one embodiment, the message page may include one or more of the following: an account message page, a conversation page for communicating with the first account, a social group page, a notification message page, and a topic page for the target topic.
[0077] by Figure 5A Taking the illustrated message page as an example, when the message page is an account message page, the second client can display something like this: Figure 5A The account message page shown includes a content editing invitation, which contains the account identifier of the first account and the first media content. When the message page is a conversation page for interacting with the first account, the second client can display something like this. Figure 5A The conversation page shown includes a content editing invitation. When the message page is a social group page, the second client can display something like this. Figure 5A The social group page shown includes content editing invitation information. When the message page is a notification message page, the second client can display something like this. Figure 5A The notification message page shown includes a content editing invitation.
[0078] S402. In response to a trigger operation on a content editing invitation message, a media content aggregation page is displayed. The media content aggregation page includes at least one content information block, and the at least one content information block includes a first content information block and a second content information block. The first content information block is used to display first media content.
[0079] by Figure 5B Taking the example of the chat page shown, assuming the message page is the chat page for a conversation with the first account, the first client can send a content editing invitation message to the second client through the chat page. The second client can then display the content editing invitation message on the chat page for a conversation with the first account. When the second account wants to participate in the collaborative creation goal and publish content, it can click on the content editing invitation message. In response to the triggered operation of the content editing invitation message, the second client displays a media content aggregation page. The media content aggregation page includes at least one content information block, which includes a first content information block and a second content information block. The first content information block displays the first media content, and the second content information block displays the second media content to be edited by the second account. The second content information block includes media content editing controls, such as... Figure 5B The "Add To" control shown on the media content aggregation page.
[0080] S403. In response to the editing operation on the media content aggregation page, the edited second media content is displayed in the second content information block. The first media content and the second media content are used to generate composite content, and the target published content includes the composite content.
[0081] by Figure 5B Taking the illustrated session page as an example, in response to the triggering operation of the content editing invitation information, the second client displays a media content aggregation page. This page includes at least one content information block, comprising a first content information block and a second content information block. The first content information block displays first media content, and the second content information block displays second media content to be edited by the second account. The second content information block includes media content editing controls. The second account can edit the second media content by clicking the media content editing controls, and the edited second media content is displayed in the second content information block.
[0082] In one embodiment, after the first account and all selected second accounts have finished editing, the second client can display a content editing page. This page includes composite content jointly created by the first account and all second accounts, enabling the first and second accounts to jointly create the target content. Optionally, the content editing page can automatically add at least one of the following: account identifiers of each second account and topic tags. This allows the account identifiers of each second account and the first account to be displayed on the content details page of the target content, informing the viewing account that the target content was jointly created by the first account and all second accounts. Topic tags can also be displayed on the content details page of the target content to inform the viewing account that the target content is related to a specific topic. Optionally, the content editing page can also include at least one of the following: a text editing area, a location tagging control, a permission setting control, a component addition control, and a note publishing control. The text editing area is used to edit the text of the target content. The location tagging control is used to mark location information associated with the target content. The permission settings control is used to set whether other accounts are allowed to view the target published content, or the effective duration for which the target published content can be viewed by other accounts. That is, when the effective duration expires, other accounts will no longer be able to view the target published content. Alternatively, it can specify which accounts are authorized to view the target published content; that is, accounts other than authorized accounts will not be able to view the target published content. The component addition control is used to set what components to add to the content details page of the target published content. The note publishing control is used to publish the target published content.
[0083] In one embodiment, the second client can display a media content aggregation page, which includes at least one content information block and at least one content editing component. Any content information block is used to display media content edited by the corresponding account. In response to a trigger operation on the first content editing component, the updated second media content is displayed in the content information block corresponding to the second media content. The updated second media content is obtained by performing the editing processing corresponding to the first content editing component on the second media content.
[0084] by Figure 3ETaking the media content aggregation page shown as an example, the media content aggregation page can include at least one content information block and at least one content editing component. The at least one content editing component can be, for example, a filter component, a text component, a sticker component, a cropping component, a marker component, or an adjustment component. The first client or any second client can edit the first media content or the second media content to obtain composite content. For example, the first media content and each of the second media contents can be spliced together to obtain spliced media content. Then, a filter component can be used to add a filter to the spliced media content to obtain composite content. Alternatively, by long-pressing and sliding the display position of any content information block, the arrangement order of each content information block can be updated, and the media content displayed in the corresponding content information blocks can be spliced according to the new arrangement order to obtain composite content. Similarly, by using the text component, text can be added to any position of any media content, and the media content with added text can be spliced with other media content to obtain composite content. Again, by using the text component, the first media content and each of the second media contents can be spliced together to obtain spliced media content. Then, by using the text component, text can be added to any position of the spliced media content to obtain composite content. For example, the sticker component can be used to add stickers to any position within any media content, and then the media content with stickers added can be spliced with other media content to obtain composite content. Similarly, the first media content can be spliced with each of the second media content pieces to obtain spliced media content, and then the sticker component can be used to add stickers to any position within the spliced media content to obtain composite content. Likewise, the cropping component can be used to crop any media content, and then the cropped media content can be spliced with other media content to obtain composite content. Again, the first media content can be spliced with each of the second media content pieces to obtain spliced media content, and then the cropping component can be used to crop the spliced media content to obtain composite content. Finally, the tagging component can be used to tag any media content, and then the tagged media content can be spliced with other media content to obtain composite content. Again, the first media content can be spliced with each of the second media content pieces to obtain spliced media content, and then the tagging component can be used to tag the spliced media content to obtain composite content. For example, parameters of any media content can be adjusted using adjustment components, and then the adjusted media content can be spliced with other media content to obtain composite content. Similarly, a first media content can be spliced with each second media content to obtain spliced media content, and then parameters of the spliced media content can be adjusted using adjustment components to obtain composite content. Parameter adjustments can include brightness adjustment, exposure adjustment, contrast adjustment, saturation adjustment, and sharpness adjustment.
[0085] In one embodiment, the second client can display editing status information on the media content aggregation page, the editing status information being used to prompt the editing behavior of the account currently in editing status.
[0086] by Figure 3E Taking the media content aggregation page shown as an example, if the account currently in editing mode includes the first account, and the first account has not yet triggered any content editing components, then the second client can display the editing status information "The account identifier of the first account is editing" on the media content aggregation page. For example, the editing status information can be displayed at the top of the media content aggregation page. As another example, if the account currently in editing mode includes the first account, and the first account has currently triggered a filter component, then the second client can display the editing status information "The account identifier of the first account has selected the duet filter" on the media content aggregation page.
[0087] In one embodiment, the second client may display the published content editing page in response to the confirmation operation of the first client on the media content aggregation page. The published content editing page includes the synthesized content and the account identifiers of each of the second accounts.
[0088] In this embodiment, the second client can display a message page, which includes a content editing invitation message. This message page includes first media content edited by the first account and is used to indicate the target content to be published. In response to a trigger operation on the content editing invitation message, a media content aggregation page is displayed. This page includes at least one content information block, comprising a first content information block and a second content information block. The first content information block displays the first media content. In response to an editing operation on the media content aggregation page, the edited second media content is displayed in the second content information block. The first and second media content are used to generate composite content, and the target published content includes the composite content. Therefore, this embodiment enables multiple users to collaboratively create the same published content, thereby increasing the appeal of the published content.
[0089] Please see Figure 6 This figure is an interactive schematic diagram of a content publishing method provided in an embodiment of this application. The content publishing method can be derived from the above... Figure 1 The content publishing method provided in this application includes, but is not limited to, the following: a first client, a second client, and a server. S601, The first client displays the target page, which includes the first media content.
[0090] S602. In response to the account selection operation for the first media content, the first client sends content editing invitation information to the second clients corresponding to each selected second account. The content editing invitation information includes the first media content.
[0091] This application introduces a Collaboration Session abstraction layer, overlays a multi-client state synchronization layer on top of the existing content editing architecture, uses an operation transformation algorithm to resolve concurrency conflicts, and introduces a multi-party consensus mechanism and atomic writing of joint signature metadata during the publishing phase, thereby enabling collaborative creation and joint publishing of the same note object by multiple users.
[0092] The server can generate jointly published content containing the account identifiers of all participants based on the asynchronous operation sequence (including atomic operations such as image insertion, text editing, material addition, and filter application) generated by multiple clients participating in the collaborative session, as well as the confirmation and publishing signals of each participant's client. The target published content is persistently stored in the platform's content system after publication and automatically injected with activity topic tags and participant @related metadata.
[0093] The first client can respond to the account selection operation for the first media content and create a collaborative session for the target content to be published in the content publishing system. The server can assign a globally unique identifier (Session ID) to the session and initialize the following state structure: (a) Participant List: The participant list can include the initiator account (i.e., the first account), and the initial state of the first account is marked as the READY state; (b) Operation Log: The operation log records the atomic operations submitted by each client in an orderly manner, and is initially empty; (c) Version Vector: Monitors the operation progress of each client, and is initially zero; (d) Session State Machine: Defines the state transition of the session from the PENDING state to the ACTIVE state, then to the CONFIRMING state, and finally to the PUBLISHED / CANCELLED state.
[0094] Collaboration Session: Refers to a time-limited, permission-controlled collaborative editing context established by multiple users for the same note object, including a participant list, operation log, version snapshot, and other statuses. Version Vector: A multi-dimensional timestamp vector used to monitor the progress of operations on each client; this application uses it to detect causal relationships between concurrent operations. Operation Log: An ordered log recording of atomic operations performed by each client on the structured object, used for conflict detection and state replay.
[0095] In one example, the server can push a content editing invitation to the invited user (i.e., the second account) via the platform's instant messaging channel. The invitation carries a session ID and the first account's identifier. After the second account responds (accepts / rejects / times out), the server adjusts the second account's status accordingly and broadcasts a participant list change event to all accepted participants in the session, maintaining real-time consistency of the participant set. For example, if any second account accepts the content editing invitation, the server changes its status from pending to active. If any second account rejects the invitation or the invitation times out, the server keeps its status pending.
[0096] S603. The first client displays a media content aggregation page, which includes at least one content information block and at least one content editing component. Any content information block is used to display media content edited by the corresponding account.
[0097] S604. In response to the trigger operation on the second content editing component, the first client generates operation data, which includes operation content, the client identifier of the first client responding to the trigger operation, the server version identifier on which the trigger operation is based, and the local version identifier of the second content editing component.
[0098] S605, The first client sends the operation data to the server.
[0099] S606. The server performs operation transformation processing on the operation content based on the server version identifier, local version identifier, and the current version identifier of the server to obtain new operation content.
[0100] S607. The server updates the synthesized content based on the new operation content to obtain the new synthesized content.
[0101] S608, The server sends the new synthesized content to the first client and each of the second clients.
[0102] The collaborative session becomes active when at least one secondary account accepts the content editing invitation. Once active, each active secondary client can independently edit the media content on the media content aggregation page. Each editing operation is an atomic operation, and each atomic operation (op) is defined by the following tuple: op = (type, object Id, payload, client Id, local Seq, base Version, objectVersion).
[0103] Here, `type` represents the operation type, which can include INSERT, DELETE, UPDATE, and MOVE operations. INSERT operations include inserting text, media content, footage, and stickers. DELETE operations include deleting text, media content, footage, and stickers. UPDATE operations include updating filters, cropping, brightness, and sticker positions. MOVE operations include sorting media content, adjusting layer levels, and adjusting the display position of text, footage, and stickers.
[0104] Here, the object ID is the identifier of the object being edited. The target published content can consist of multiple independently editable structured objects. These structured objects can include text, media content, media content order, sticker / material layers, filter parameters, cropping parameters, hashtags, @user references, and publishing metadata. The server can assign a unique object ID to each editable object and record its object type, parent relationship, order identifier, version number, and most recent modifier. During collaborative editing, any edit submitted by a client applies to the specific object ID, rather than directly overwriting the entire target published content, thus supporting fine-grained synchronization and conflict handling for different types of content.
[0105] The payload is the content of the operation, such as the specific text content to be inserted, deleted or replaced, the images, materials, stickers, etc. to be added or deleted, the sorting or layer level of the adjusted media content, and the updated parameters such as filters, cropping, brightness, and sticker position.
[0106] Here, clientId is the client identifier, which refers to the client that initiated the editing operation.
[0107] Where localSeq is the client's local sequence number.
[0108] Here, `baseVersion` is the server-side global version number upon which the editing operation is based, i.e., the server version identifier. The server-side global version number typically refers to the version identifier of the server as a whole or its core components (such as APIs, databases, application frameworks, etc.), and is used to monitor server iterations, compatibility, and feature changes.
[0109] Wherein, object Version is the local version number of the object being edited, that is, the local version identifier of the second content editing component.
[0110] Each client submits its edit operation data to the server. The server maintains a global operation sequence, version vectors for each client, and object-level version information. The server performs operation transformation processing on the received operation data. For example, if the base version of the operation data lags behind the current server version, the server first determines the causal relationship between the edit operation and intermediate operations based on the version vector. Then, for operations with concurrent relationships, it sequentially applies the transformation function T(op,op'), calculates the equivalent operation, appends it to the global log, and broadcasts it to all participating clients, namely the first client and all second clients. After receiving the broadcast, each client performs symmetric transformation, deduplication, and sequential replay on operations that have not yet been confirmed locally, ensuring that the published content status of each client eventually converges and becomes consistent.
[0111] For different types of text and image editing operations, the server employs a layered conflict handling strategy. For example, text insertion, deletion, and replacement operations use operation transformation algorithms to reposition the text; the addition and deletion of objects such as images, materials, and stickers are merged using object-level operation logs; sequential operations such as image sorting and layer level adjustment recalculate the target position using sequence identifiers; and parameter-based operations such as filters, cropping, brightness adjustments, and sticker positions are updated according to field dimensions. If a deletion and modification of an object occur concurrently, the server prioritizes retaining the deletion operation and marks the modified object as unapplicable. If two users simultaneously modify the same field and automatic merging is not possible, the server retains the final version determined by the server and displays a conflict warning to the client to avoid undefined overwrites. The final version determined by the server is the new object content obtained by updating the structured object based on the content of the last editing operation performed on it.
[0112] Operational Transformation (OT): A collaborative algorithm for resolving operation conflicts during concurrent editing by multiple users. It transforms concurrent operations to ensure eventual consistency among clients.
[0113] S609: The first client displays new composite content on the media content aggregation page.
[0114] S610, the first client responds to the confirmation operation for the media content aggregation page by displaying the published content editing page, which includes the new composite content.
[0115] In one embodiment, in response to a confirmation operation on the media content aggregation page, a first client generates a consensus request and sends the consensus request to a server, causing the server to send the current version identifier of the synthesized content to the first client and each of the second clients. The first client and each of the second clients confirm whether the current version identifier of the synthesized content displayed in their respective clients is consistent with the current version identifier of the synthesized content sent by the server, obtain a confirmation result, and send the confirmation result to the server. Based on the confirmation result, the server confirms that the current version identifier of the synthesized content displayed in the first client and each of the second clients is consistent with the current version identifier of the synthesized content sent by the server, and when all the operation data received by the server has been processed, it generates publication confirmation information and sends the publication confirmation information to the first client. Upon receiving the publication confirmation information, the first client displays the publication content editing page.
[0116] When the first account triggers the "Complete Editing" operation, i.e., the first client responds to the confirmation operation on the media content aggregation page, the server transitions the collaborative session state to the confirmed state and pushes a confirmation request to all active participants (i.e., accounts in the active state). The first client's confirmation operation on the media content aggregation page initiates a multi-party confirmation phase. The server may, in response to the first client's confirmation operation on the media content aggregation page, freeze the latest version number of the current collaborative session and broadcast the frozen latest version number to all participant clients. Each participant client returns to the server the confirmed version of the collaborative session displayed on the corresponding participant client when it received the frozen latest version number. The server only allows entry into the publishing transaction if all active participants' confirmed versions are equal to the latest version, and there are no unprocessed operations in the server's operation log. If any active participant continues to perform editing operations, the server cancels the existing confirmed state, i.e., generates a new latest version, and re-initiates the confirmation process to ensure that all participant clients confirm the same composite content.
[0117] The server employs a multi-party consensus threshold mechanism. Assuming a total of N participants and K confirmed confirmations, the server triggers the release process when K = N (i.e., all active participants confirm the same latest version). If any active participant fails to respond within the timeout window, the server can either remove that participant (based on the first account's choice) and recalculate the threshold, or cancel the release of the target content. The server maintains an independent confirmation record for each participant and ensures the atomicity and idempotency of confirmation status updates through database transactions, optimistic locking, or distributed locking, preventing count errors caused by duplicate or concurrent confirmations from the same user.
[0118] In one embodiment, after the consensus among the multiple parties is satisfied, the server can execute an atomic publish transaction. The main steps are as follows: extract all account identifiers with a state of CONFIRMED from the participant list of the collaborative session, and construct a set of joint signature accounts {userId1, userId2, …, userId}. n The process involves writing the set of co-signing accounts into the co_authors field of the note's metadata, while the note's ownership field records all participating accounts; extracting associated activity topic tags and participant @references from the collaborative session context and automatically injecting them into the note's tags and mentions fields; submitting the target content to the content storage system in a transactional manner, with the session state transitioning to PUBLISHED upon successful submission and a successful publication notification being pushed to all participating clients; and pushing the published content to the content distribution system based on the subscription relationships of each participant's account, with the target content displayed on the front end in a multi-account co-signing format.
[0119] Multi-party Consensus: Before the official release of collaborative content, all participants are required to complete a confirmation process at the system level. Only after the threshold is met can the server trigger the release process, ensuring that all parties agree on the final content.
[0120] Co-authorship: refers to recording the account identifiers of all collaborating participants in the note's metadata, and presenting it externally in the form of multiple account signatures after publication.
[0121] S611, The first client responds to the publish operation for the new composite content by publishing the target publish content, which includes the new composite content.
[0122] The content publishing method provided in this application includes: a first client displaying a target page, the target page including first media content; the first client responding to an account selection operation for the first media content by sending content editing invitation information to the second clients corresponding to each selected second account, the content editing invitation information including the first media content; the first client displaying a media content aggregation page, the media content aggregation page including at least one content information block and at least one content editing component, any content information block being used to display media content edited by the corresponding account; and the first client responding to a trigger operation for the second content editing component by generating operation data, the operation data including operation content, the client identifier of the first client responding to the trigger operation, the server version identifier on which the trigger operation is based, and the second content editing component. The component has a partial version identifier; the first client sends operation data to the server; the server, based on the server version identifier, the partial version identifier, and the server's current version identifier, performs operation transformation processing on the operation content to obtain new operation content; the server updates the composite content based on the new operation content to obtain new composite content; the server sends the new composite content to the first client and each second client; the first client responds to the confirmation operation for the media content aggregation page and displays the published content editing page, which includes the new composite content; the first client responds to the publishing operation for the new composite content and publishes the target published content, which includes the new composite content, enabling multiple people to collaboratively create the same published content, thereby increasing the fun of the published content.
[0123] This application also provides a computer storage medium storing program instructions, which, when executed, are used to implement the corresponding methods described in the above embodiments.
[0124] This application provides a computer program product, which includes a computer program stored in a computer storage medium. The processor of a computer device reads the computer program from the computer storage medium and executes the computer program, causing the computer device to perform the corresponding methods described in the above embodiments.
[0125] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of a content publishing device provided in an embodiment of this application.
[0126] In one implementation of the content publishing device according to an embodiment of this application, the content publishing device is applied to a first client corresponding to a first account, and the content publishing device includes the following structure: Display unit 701 is used to display a target page, the target page including first media content; Sending unit 702 is configured to respond to an account selection operation for the first media content by sending content editing invitation information to the second clients corresponding to each selected second account, wherein the content editing invitation information includes the first media content; The display unit 701 is also used to display a published content editing page, the published content editing page including synthesized content, the synthesized content being generated based on the first media content and the second media content edited by each of the second accounts; Processing unit 703 is configured to publish target content, which includes the composite content, in response to a publishing operation for the composite content.
[0127] In one embodiment, the display unit 701 displays a target page, the target page including first media content, including: A topic page displaying the target topic, the topic page including a topic information block for the first account regarding the target topic, the topic information block including the first media content and an account selection control, the account selection control being used to select at least one second account; or... A media content aggregation page is displayed, comprising at least one content information block and an account selection control. Each content information block displays media content edited by a corresponding account, wherein the first media content was edited by the first account, and the account selection control is used to select at least one second account; or... The conversation page between the first account and the target agent is displayed. The conversation page includes conversation messages between the first account and the target agent, and the conversation messages include the first media content.
[0128] In one embodiment, the display unit 701 displays a topic page for the target topic, the topic page including a topic information block for the first account regarding the target topic, including: The topic information editing control is displayed on the topic page; In response to a trigger operation on the topic information editing control, a topic information editing page for the target topic is displayed; In response to an editing operation on the topic information editing page, the first media content is displayed; In response to the determination operation for the first media content, the topic information block of the first account for the target topic is displayed on the topic page of the target topic.
[0129] In one implementation, the topic information block further includes at least one of the following: Progress notification information, which is used to indicate the generation progress of the synthesized content; A media content adjustment control, wherein the media content adjustment control is used to update the first media content; A media content acquisition control is used to acquire third media content, and the third media content, the first media content, and the second media content are used to generate the synthesized content.
[0130] In one embodiment, the display unit 701 can also be used for: The media content aggregation page is displayed, which includes at least one content information block and at least one content editing component. Each content information block is used to display media content edited by the corresponding account. In response to a triggered operation on the first content editing component, the updated first media content is displayed in the content information block corresponding to the first media content. The updated first media content is obtained by performing editing processing on the first media content corresponding to the first content editing component.
[0131] In one embodiment, the display unit 701 can also be used for: The editing status information is displayed on the media content aggregation page. This editing status information is used to indicate the editing behavior of the account currently in the editing state.
[0132] In one embodiment, the display unit 701 can also be used for: In response to a confirmation operation on the media content aggregation page, the published content editing page is displayed. The published content editing page includes the synthesized content and the account identifiers of each of the second accounts.
[0133] In one embodiment, the processing unit 703 is further configured to generate operation data in response to a trigger operation on the second content editing component, the operation data including operation content, a client identifier of a first client responding to the trigger operation, a server version identifier on which the trigger operation is based, and a local version identifier of the second content editing component. The sending unit 702 is further configured to send the operation data to the server, so that the server performs operation transformation processing on the operation content based on the server version identifier, the local version identifier and the current version identifier of the server to obtain new operation content, the server updates the composite content based on the new operation content to obtain new composite content, and the server sends the new composite content to the first client and each of the second clients. The display unit 701 is also used to display the new composite content on the media content aggregation page.
[0134] In one embodiment, the display unit 701, in response to a confirmation operation on the media content aggregation page, displays the published content editing page, including: In response to a confirmation operation on the media content aggregation page, a consensus request is generated and sent to the server, so that the server sends the current version identifier of the synthesized content to the first client and each of the second clients; the first client and each of the second clients confirm whether the current version identifier of the synthesized content displayed in their respective clients is consistent with the current version identifier of the synthesized content sent by the server, obtain a confirmation result, and send the confirmation result to the server; the server confirms, based on the confirmation result, that the current version identifier of the synthesized content displayed in the first client and each of the second clients is consistent with the current version identifier of the synthesized content sent by the server, and when all the operation data received by the server has been processed, a publication confirmation message is generated, and the server sends the publication confirmation message to the first client; Upon receiving the publication confirmation information, the publication content editing page is displayed.
[0135] In this embodiment, after the display unit 701 displays the target page including the first media content, the sending unit 702 can respond to the account selection operation for the first media content and send content editing invitation information to the second clients corresponding to each selected second account. The content editing invitation information includes the first media content. Then, the processing unit 703 can display the content editing page, which includes composite content. The composite content is generated based on the first media content and the second media content edited by each second account. Furthermore, in response to the publishing operation for the composite content, the processing unit 703 can publish the target content, which includes the composite content. Therefore, this embodiment enables multiple people to collaboratively create the same published content, thereby increasing the enjoyment of the published content.
[0136] In another implementation of the content publishing device according to the embodiments of this application, the content publishing device is applied to the second client corresponding to the second account, and the content publishing device includes the following structure: Display unit 701 is used to display a message page, the message page including content editing invitation information, the content editing invitation information including first media content edited by the first account, the content editing invitation information being used to indicate the target content to be published; The display unit 701 is further configured to display a media content aggregation page in response to a trigger operation for the content editing invitation information. The media content aggregation page includes at least one content information block, and the at least one content information block includes a first content information block and a second content information block. The first content information block is used to display the first media content. The display unit 701 is further configured to, in response to an editing operation on the media content aggregation page, display the edited second media content in the second content information block, wherein the first media content and the second media content are used to generate composite content, and the target published content includes the composite content.
[0137] In one implementation, the message page includes one or more of the following: an account message page, a conversation page for communicating with the first account, a social group page, a notification message page, and a topic page for the target topic.
[0138] In this embodiment, the display unit 701 displays a message page, which includes a content editing invitation message. The content editing invitation message includes first media content edited by a first account and is used to indicate the target content to be published. In response to a trigger operation on the content editing invitation message, the display unit 701 displays a media content aggregation page. The media content aggregation page includes at least one content information block, which includes a first content information block and a second content information block. The first content information block is used to display the first media content. In response to an editing operation on the media content aggregation page, the display unit 701 displays the edited second media content in the second content information block. The first media content and the second media content are used to generate composite content, and the target published content includes the composite content. Therefore, this embodiment enables multiple people to collaboratively create the same published content, thereby increasing the interest of the published content.
[0139] See also Figure 8 , Figure 8 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. The computer device in this embodiment includes a power supply module and other structures, and includes a processor 801, a memory 802, and a communication interface 803. The processor 801, the memory 802, and the communication interface 803 can exchange data, and the processor 801 implements the corresponding content publishing method.
[0140] The memory 802 may include volatile memory, such as random-access memory (RAM); the memory 802 may also include non-volatile memory, such as flash memory, solid-state drive (SSD), etc.; the memory 802 may also include a combination of the above types of memory.
[0141] Processor 801 may be a central processing unit (CPU). Processor 801 may also be a combination of CPU and GPU. In a computer device, multiple CPUs and GPUs may be included as needed for corresponding page interaction. In one embodiment, memory 802 is used to store program instructions. Processor 801 can invoke program instructions to implement the various methods described above in the embodiments of this application.
[0142] The communication interface 803 may include a display screen, microphone, or speaker, etc.
[0143] In one possible implementation, the processor 801 of the computer device invokes program instructions stored in memory 802 to display a target page via communication interface 803, the target page including first media content; in response to an account selection operation for the first media content, it sends content editing invitation information to the second clients corresponding to each selected second account, the content editing invitation information including the first media content; it displays a published content editing page, the published content editing page including composite content, the composite content being generated based on the first media content and the second media content edited by each second account; in response to a publishing operation for the composite content, it publishes target published content, the target published content including the composite content.
[0144] In one embodiment, the processor 801 displays a target page via a communication interface 803, the target page including first media content, including: A topic page displaying the target topic, the topic page including a topic information block for the first account regarding the target topic, the topic information block including the first media content and an account selection control, the account selection control being used to select at least one second account; or... A media content aggregation page is displayed, comprising at least one content information block and an account selection control. Each content information block displays media content edited by a corresponding account, wherein the first media content was edited by the first account, and the account selection control is used to select at least one second account; or... The conversation page between the first account and the target agent is displayed. The conversation page includes conversation messages between the first account and the target agent, and the conversation messages include the first media content.
[0145] In one embodiment, the processor 801 displays a topic page for the target topic via a communication interface 803. The topic page includes a topic information block for the first account regarding the target topic, comprising: The topic information editing control is displayed on the topic page; In response to a trigger operation on the topic information editing control, a topic information editing page for the target topic is displayed; In response to an editing operation on the topic information editing page, the first media content is displayed; In response to the determination operation for the first media content, the topic information block of the first account for the target topic is displayed on the topic page of the target topic.
[0146] In one implementation, the topic information block further includes at least one of the following: Progress notification information, which is used to indicate the generation progress of the synthesized content; A media content adjustment control, wherein the media content adjustment control is used to update the first media content; A media content acquisition control is used to acquire third media content, and the third media content, the first media content, and the second media content are used to generate the synthesized content.
[0147] In one embodiment, the processor 801 is also used via the communication interface 803 to perform the following operations: The media content aggregation page is displayed, which includes at least one content information block and at least one content editing component. Each content information block is used to display media content edited by the corresponding account. In response to a triggered operation on the first content editing component, the updated first media content is displayed in the content information block corresponding to the first media content. The updated first media content is obtained by performing editing processing on the first media content corresponding to the first content editing component.
[0148] In one embodiment, the processor 801 is also used via the communication interface 803 to perform the following operations: The editing status information is displayed on the media content aggregation page. This editing status information is used to indicate the editing behavior of the account currently in the editing state.
[0149] In one embodiment, the processor 801 is also used via the communication interface 803 to perform the following operations: In response to a confirmation operation on the media content aggregation page, the published content editing page is displayed. The published content editing page includes the synthesized content and the account identifiers of each of the second accounts.
[0150] In one embodiment, the processor 801 is further configured to perform the following operations: In response to a trigger operation on the second content editing component, operation data is generated, the operation data including operation content, a client identifier of the first client responding to the trigger operation, a server version identifier on which the trigger operation is based, and a local version identifier of the second content editing component; The operation data is sent to the server, so that the server performs operation transformation processing on the operation content based on the server version identifier, the local version identifier and the current version identifier of the server to obtain new operation content. The server updates the composite content based on the new operation content to obtain new composite content. The server sends the new composite content to the first client and each of the second clients. The new composite content is displayed on the media content aggregation page.
[0151] In one embodiment, the processor 801, in response to a confirmation operation on the media content aggregation page via the communication interface 803, displays the published content editing page, including: In response to a confirmation operation on the media content aggregation page, a consensus request is generated and sent to the server, so that the server sends the current version identifier of the synthesized content to the first client and each of the second clients; the first client and each of the second clients confirm whether the current version identifier of the synthesized content displayed in their respective clients is consistent with the current version identifier of the synthesized content sent by the server, obtain a confirmation result, and send the confirmation result to the server; the server confirms, based on the confirmation result, that the current version identifier of the synthesized content displayed in the first client and each of the second clients is consistent with the current version identifier of the synthesized content sent by the server, and when all the operation data received by the server has been processed, a publication confirmation message is generated, and the server sends the publication confirmation message to the first client; Upon receiving the publication confirmation information, the publication content editing page is displayed.
[0152] In this embodiment, after the processor 801 displays a target page including the first media content through the communication interface 803, it can respond to the account selection operation for the first media content by sending content editing invitation information to the second clients corresponding to each selected second account. The content editing invitation information includes the first media content. Then, a content editing page can be displayed, which includes composite content. The composite content is generated based on the first media content and the second media content edited by each second account. Subsequently, in response to the publishing operation for the composite content, the target publishing content can be published, which includes the composite content. Therefore, this embodiment enables multiple people to collaboratively create the same publishing content, thereby increasing the fun of the published content.
[0153] In another implementation of the computer device according to this application, the processor 801 of the computer device calls program instructions stored in the memory 802 to display a message page through the communication interface 803. The message page includes content editing invitation information, which includes first media content edited by a first account. The content editing invitation information is used to indicate the target content to be published. In response to a trigger operation on the content editing invitation information, a media content aggregation page is displayed. The media content aggregation page includes at least one content information block, which includes a first content information block and a second content information block. The first content information block is used to display the first media content. In response to an editing operation on the media content aggregation page, the edited second media content is displayed in the second content information block. The first media content and the second media content are used to generate composite content, and the target content to be published includes the composite content.
[0154] In one implementation, the message page includes one or more of the following: an account message page, a conversation page for communicating with the first account, a social group page, a notification message page, and a topic page for the target topic.
[0155] In this embodiment, the processor 801 displays a message page via a communication interface 803. The message page includes a content editing invitation message, which includes first media content edited by a first account. The content editing invitation message is used to indicate the target content to be published. In response to a trigger operation on the content editing invitation message, a media content aggregation page is displayed. The media content aggregation page includes at least one content information block, which includes a first content information block and a second content information block. The first content information block is used to display the first media content. In response to an editing operation on the media content aggregation page, the edited second media content is displayed in the second content information block. The first media content and the second media content are used to generate composite content, and the target published content includes the composite content. Therefore, this embodiment enables multiple people to collaboratively create the same published content, thereby increasing the interest and enjoyment of the published content.
[0156] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0157] The above-disclosed embodiments are merely some of the embodiments of this application, and should not be construed as limiting the scope of this application. Those skilled in the art can understand that all or part of the processes for implementing the above embodiments, and equivalent changes made in accordance with the claims of this application, still fall within the scope of this application.
Claims
1. A content publishing method, characterized in that, The method is applied to the first client corresponding to the first account, and the method includes: Display the target page, which includes the first media content; In response to the account selection operation for the first media content, a content editing invitation message is sent to the second client corresponding to each selected second account, the content editing invitation message including the first media content; The content editing page is displayed, which includes synthesized content, which is generated based on the first media content and the second media content edited by each of the second accounts. In response to a publishing operation for the synthesized content, a target publishing content is published, the target publishing content including the synthesized content.
2. The method as described in claim 1, characterized in that, The target page to be displayed includes first media content, including: A topic page displaying the target topic, the topic page including a topic information block for the first account regarding the target topic, the topic information block including the first media content and an account selection control, the account selection control being used to select at least one second account; or... A media content aggregation page is displayed, comprising at least one content information block and an account selection control. Each content information block displays media content edited by a corresponding account, wherein the first media content was edited by the first account, and the account selection control is used to select at least one second account; or... The conversation page between the first account and the target agent is displayed. The conversation page includes conversation messages between the first account and the target agent, and the conversation messages include the first media content.
3. The method as described in claim 2, characterized in that, The topic page displaying the target topic includes a topic information block for the first account regarding the target topic, comprising: The topic information editing control is displayed on the topic page; In response to a trigger operation on the topic information editing control, a topic information editing page for the target topic is displayed; In response to an editing operation on the topic information editing page, the first media content is displayed; In response to the determination operation for the first media content, the topic information block of the first account for the target topic is displayed on the topic page of the target topic.
4. The method as described in claim 2, characterized in that, The topic information block also includes at least one of the following: Progress notification information, which is used to indicate the generation progress of the synthesized content; A media content adjustment control, wherein the media content adjustment control is used to update the first media content; A media content acquisition control is used to acquire third media content, and the third media content, the first media content, and the second media content are used to generate the synthesized content.
5. The method as described in claim 1, characterized in that, The method further includes: The media content aggregation page is displayed, which includes at least one content information block and at least one content editing component. Each content information block is used to display media content edited by the corresponding account. In response to a triggered operation on the first content editing component, the updated first media content is displayed in the content information block corresponding to the first media content. The updated first media content is obtained by performing editing processing on the first media content corresponding to the first content editing component.
6. The method as described in claim 5, characterized in that, The method further includes: The editing status information is displayed on the media content aggregation page. This editing status information is used to indicate the editing behavior of the account currently in the editing state.
7. The method as described in claim 5, characterized in that, The method further includes: In response to a confirmation operation on the media content aggregation page, the published content editing page is displayed. The published content editing page includes the synthesized content and the account identifiers of each of the second accounts.
8. The method as described in claim 5, characterized in that, The method further includes: In response to a trigger operation on the second content editing component, operation data is generated, the operation data including operation content, a client identifier of the first client responding to the trigger operation, a server version identifier on which the trigger operation is based, and a local version identifier of the second content editing component; The operation data is sent to the server, so that the server performs operation transformation processing on the operation content based on the server version identifier, the local version identifier and the current version identifier of the server to obtain new operation content. The server updates the composite content based on the new operation content to obtain new composite content. The server sends the new composite content to the first client and each of the second clients. The new composite content is displayed on the media content aggregation page.
9. The method as described in claim 7, characterized in that, The step of displaying the published content editing page in response to a confirmation operation on the media content aggregation page includes: In response to a confirmation operation on the media content aggregation page, a consensus request is generated and sent to the server, so that the server sends the current version identifier of the synthesized content to the first client and each of the second clients; the first client and each of the second clients confirm whether the current version identifier of the synthesized content displayed in their respective clients is consistent with the current version identifier of the synthesized content sent by the server, obtain a confirmation result, and send the confirmation result to the server; the server confirms, based on the confirmation result, that the current version identifier of the synthesized content displayed in the first client and each of the second clients is consistent with the current version identifier of the synthesized content sent by the server, and when all the operation data received by the server has been processed, a publication confirmation message is generated, and the server sends the publication confirmation message to the first client; Upon receiving the publication confirmation information, the publication content editing page is displayed.
10. A content publishing method, characterized in that, The method is applied to the second client corresponding to the second account, and the method includes: The message page displays a message page that includes a content editing invitation message. The content editing invitation message includes the first media content edited by the first account. The content editing invitation message is used to indicate the target content to be published. In response to a triggered operation for the content editing invitation information, a media content aggregation page is displayed. The media content aggregation page includes at least one content information block, which includes a first content information block and a second content information block. The first content information block is used to display the first media content. In response to an editing operation on the media content aggregation page, the edited second media content is displayed in the second content information block. The first media content and the second media content are used to generate composite content, and the target published content includes the composite content.
11. The method as described in claim 10, characterized in that, The message page includes one or more of the following: an account message page, a conversation page for communicating with the first account, a social group page, a notification message page, and a topic page for the target topic.
12. A content publishing device, characterized in that, The device is applied to a first client corresponding to a first account, and the device includes: A display unit is used to display a target page, the target page including first media content; A sending unit is configured to respond to an account selection operation for the first media content by sending content editing invitation information to the second clients corresponding to each selected second account, wherein the content editing invitation information includes the first media content; The display unit is also used to display a published content editing page, which includes synthesized content generated based on the first media content and the second media content edited by each of the second accounts. A processing unit is configured to, in response to a publishing operation for the synthesized content, publish target publishing content, the target publishing content including the synthesized content.
13. A content publishing device, characterized in that, The device is applied to a second client corresponding to a second account, and the device includes: A display unit is used to display a message page, the message page including content editing invitation information, the content editing invitation information including first media content edited by the first account, the content editing invitation information being used to indicate the target content to be published; The display unit is further configured to display a media content aggregation page in response to a trigger operation for the content editing invitation information. The media content aggregation page includes at least one content information block, and the at least one content information block includes a first content information block and a second content information block. The first content information block is used to display the first media content. The display unit is further configured to, in response to an editing operation on the media content aggregation page, display the edited second media content in the second content information block, wherein the first media content and the second media content are used to generate composite content, and the target published content includes the composite content.
14. A computer device, characterized in that, The computer device includes a memory, a communication interface, and a processor, wherein the memory, the communication interface, and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the content publishing method as described in any one of claims 1 to 11.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the content publishing method as described in any one of claims 1 to 11.
16. A computer program product, characterized in that, The computer program product includes a computer program stored in a computer storage medium; a processor of a computer device reads the computer program from the computer storage medium and executes the computer program, causing the computer device to perform the content publishing method as described in any one of claims 1 to 11.
