Content publishing method and device, electronic equipment and storage medium
By obtaining the target user's current location, and acquiring and displaying shared content related to that location on social platforms, the problem of limited content on terminal devices is solved, enabling efficient content publishing and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, when publishing content on social platforms through terminal devices, users can only select content that has been saved locally on the terminal device or content that has been captured on-site. This results in a limited selection of content and makes it impossible to guarantee that satisfactory content will be obtained, leading to low content publishing efficiency and a poor user experience.
By obtaining the target user's current location, the system retrieves and displays shared content posted by other users related to that location on social media platforms, allowing users to select and post target content from this content.
It improves content publishing efficiency and user experience, allowing users to access relevant content published by other users based on their current location and publish their own content, thus avoiding the problem of limited content on terminal devices.
Smart Images

Figure CN121644512A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a content publishing method and device, electronic equipment and storage medium. BACKGROUND
[0002] Content publishing is one of the core functions of social platforms. Through the content publishing function of social platforms, users can easily share their daily life, and at the same time, they can also establish contact with others, transmit information or seek help, etc. This function not only promotes the communication between individuals, but also provides great value for business, education and other fields.
[0003] However, when publishing content on a social platform through a terminal device at present, only content saved to the local of the terminal device or content captured on the spot can be selected for publishing, which results in limited content selection, and when content is obtained on the spot, it cannot be guaranteed that satisfactory content can be obtained, which leads to low content publishing efficiency and reduces user experience. SUMMARY
[0004] The embodiments of the present application provide a content publishing method, device, electronic equipment and storage medium, which can use shared content related to the current location published by other users to publish content when publishing content at the current location, thereby improving content publishing efficiency and user experience.
[0005] The embodiments of the present application provide a content publishing method, comprising:
[0006] obtaining the current location of a target user;
[0007] According to the current location, obtaining shared content and displaying the shared content, wherein the shared content contains content published by a user other than the target user in a social platform;
[0008] In response to a selection operation on the shared content, determining target content from the shared content;
[0009] publishing the target content.
[0010] The embodiments of the present application also provide a content publishing method, comprising:
[0011] In response to a content browsing operation of a target user in a social platform, displaying a content browsing interface, wherein the content browsing interface includes at least one browsing content, and the browsing content contains content published by a friend user of the target user;
[0012] In response to a content selection operation of the target user on the browsing content, determining target content from the browsing content;
[0013] publishing the target content.
[0014] The embodiment of the present application further provides a content publishing method, comprising:
[0015] displaying social content published by a first user on a social platform;
[0016] displaying a sharing mark on the social content corresponding to a sharing operation of the first user, the social content with the sharing mark being used to indicate that the social content can be sent to a second user, so that the second user publishes content based on the social content with the sharing mark.
[0017] The embodiment of the present application further provides a content publishing method, comprising:
[0018] obtaining content to be published by a first user;
[0019] performing classification processing on the content to be published to obtain first content and second content, the first content being able to be sent to a second user, so that the second user publishes content based on the first content, and the second content being unable to be sent to the second user, the second user being a user other than the first user;
[0020] publishing and displaying the first content and the second content on a social platform.
[0021] The embodiment of the present application further provides a content publishing device, comprising:
[0022] a position obtaining unit, configured to obtain a current position of a target user;
[0023] a display unit, configured to obtain sharing content according to the current position and display the sharing content, the sharing content including content published by a user other than the target user on a social platform;
[0024] a determination unit, configured to determine target content from the sharing content in response to a selection operation on the sharing content;
[0025] a publishing unit, configured to publish the target content.
[0026] In some embodiments, the display unit comprises:
[0027] a region determination subunit, configured to determine a target region according to the current position;
[0028] a content obtaining module, configured to obtain the sharing content according to the target region, the sharing content being obtained in the target region.
[0029] In some embodiments, the content obtaining module comprises:
[0030] an obtaining module, configured to obtain a target screening condition and initial content obtained in the target region;
[0031] a screening module, configured to determine the sharing content from the initial content according to the target screening condition.
[0032] In some embodiments, the initial content is multiple, and the screening module is specifically configured to:
[0033] if the target screening condition is a first screening condition, obtain a number of users of each of the initial content;
[0034] determine, as the sharing content, initial content of which the number of users meets a preset number condition among the multiple initial content.
[0035] In some embodiments, the screening module is specifically further configured to:
[0036] determine, as the sharing content, initial content of which the number of users is greater than or equal to a number threshold among the multiple initial content;
[0037] or, sort the multiple initial content in descending order of the number of users to obtain a first sequence of the multiple initial content;
[0038] determine, as the sharing content, the first M initial content in the first sequence, where M is a positive integer.
[0039] In some embodiments, the initial content is multiple, and the screening module is specifically configured to:
[0040] if the target screening condition is a second condition, obtain a publishing time corresponding to each of the initial content;
[0041] determine, as the sharing content, initial content of which the publishing time meets a preset time condition among the multiple initial content.
[0042] In some embodiments, the screening module is specifically further configured to:
[0043] determine, as the sharing content, initial content of which an interval duration between the publishing time and a current time is less than or equal to a duration threshold among the multiple initial content;
[0044] or, sort the multiple initial content in descending order of the interval duration between the publishing time and the current time to obtain a second sequence of the multiple initial content;
[0045] determine, as the sharing content, the first N initial content in the second sequence, where N is a positive integer.
[0046] In some embodiments, the initial contents are multiple, and the screening module is specifically configured to:
[0047] If the target screening condition is a third condition, a publishing location corresponding to each of the initial contents is obtained, the publishing location being a location where a user is located when publishing a content on the social platform;
[0048] An initial content in the multiple initial contents, which satisfies a preset distance condition with respect to a publishing distance, is determined as the sharing content, the publishing distance being a distance between a current location of the target user and a publishing location of the initial content.
[0049] In some embodiments, the screening module is further configured to:
[0050] An initial content in the multiple initial contents, which satisfies a preset distance condition with respect to a publishing distance, is determined as the sharing content, the publishing distance being a distance between a current location of the target user and a publishing location of the initial content.
[0051] Alternatively, the multiple initial contents are sorted in ascending order of the publishing distance, to obtain a third sequence of the multiple initial contents.
[0052] A first K initial contents in the third sequence are determined as the sharing content, K being a positive integer.
[0053] In some embodiments, the region determining subunit is specifically configured to:
[0054] The target region is determined according to the current location and a specified distance, a center of the target region being the current location, and a radius of the target region being the specified distance.
[0055] Alternatively, a specified region and a region range of the specified region are obtained.
[0056] If the current location is within the region range of the specified region, the specified region is determined as the target region.
[0057] In some embodiments, the content device further comprises:
[0058] The first display unit is configured to display a content editing interface in response to a content editing operation of a target user on a social platform, the content editing interface comprising a sharing content obtaining option and a local content obtaining option.
[0059] The second display unit is configured to display candidate local contents if a determination operation of the target user on the local content obtaining option is detected.
[0060] The local content publishing unit is configured to determine target local content from the candidate local content in response to a selection operation on the candidate local content, and publish the target local content on the social platform.
[0061] The execution unit is configured to execute the step of obtaining the current location of the target user if it is detected that the target user determines the sharing content obtaining option.
[0062] In some embodiments, the content device further comprises:
[0063] The third display unit is configured to display a sharing page in response to a sharing operation on the content published on the social platform, the sharing page comprising the target local content.
[0064] The sending unit is configured to determine target sharing content in response to a content selection operation on the target local content, and upload the target sharing content to a sharing server for storage.
[0065] Embodiments of the present application also provide a content publishing device, the device comprising:
[0066] The first response unit is configured to display a content browsing interface in response to a content browsing operation of a target user on a social platform, the content browsing interface comprising at least one browsing content, the browsing content comprising content published by a friend user of the target user.
[0067] The second response unit is configured to determine target content from the browsing content in response to a content selection operation of the target user on the browsing content.
[0068] The content publishing unit is configured to publish the target content.
[0069] In some embodiments, the content selection operation comprises a first selection operation and a second selection operation, and the second response unit is specifically configured to:
[0070] determine a plurality of target browsing contents from the browsing content in response to a first selection operation of the target user on the browsing content, and display the plurality of target browsing contents.
[0071] determine target content from the plurality of target browsing contents in response to a second selection operation on the target browsing content.
[0072] In some embodiments, the second response unit is specifically further configured to:
[0073] obtain publishing information of each of the target browsing content, the publishing information comprising at least one of a publishing location, a publishing time, and a number of users.
[0074] The display order of the target browsing content is determined based on the published information;
[0075] Based on the aforementioned display order, the multi-target browsing content is displayed.
[0076] This application embodiment also provides a content publishing device, the device comprising:
[0077] The social content display unit is used to display the social content posted by the first user on the social platform;
[0078] An operation response unit is configured to respond to the first user's sharing operation on the social content by displaying a sharing marker on the social content corresponding to the sharing operation. The social content displaying the sharing marker indicates that the social content can be sent to the second user, so that the second user can publish content based on the social content displaying the sharing marker.
[0079] In some embodiments, the sharing operation includes a selection sub-operation and a determination sub-operation, and the operation response unit is specifically used for:
[0080] In response to the first user's selection sub-operation on the social content, a selection mark is displayed on the social content corresponding to the selection sub-operation;
[0081] In response to the first user's confirmation sub-operation on the social content displaying the selected tag, the shared tag is displayed on the social content displaying the selected tag.
[0082] In some embodiments, the device further includes a cancellation response unit for:
[0083] In response to the first user's unshake operation on the social content displaying the share tag, the share tag is removed from the social content displaying the share tag.
[0084] In some embodiments, the operation response unit is further configured to:
[0085] Obtain the posting duration of the social content;
[0086] If the posting duration is greater than or equal to the specified duration, then the step of displaying a share marker on the social content corresponding to the sharing operation of the first user is executed.
[0087] This application embodiment also provides a content publishing device, including:
[0088] The acquisition unit is used to acquire the content to be published by the first user.
[0089] The classification unit is configured to classify the to-be-published content to obtain first content and second content, the first content being capable of being sent to a second user to enable the second user to publish content based on the first content, and the second content being incapable of being sent to the second user, the second user being a user other than the first user.
[0090] The publishing and displaying unit is configured to publish and display the first content and the second content on a social platform.
[0091] The embodiments of the present application further provide an electronic device, which comprises a memory storing a plurality of computer instructions; and a processor loading the computer instructions from the memory to execute the steps in any of the content publishing methods provided by the embodiments of the present application.
[0092] The embodiments of the present application further provide a computer readable storage medium storing a plurality of computer instructions, the computer instructions being adapted to be loaded by a processor to execute the steps in any of the content publishing methods provided by the embodiments of the present application.
[0093] The embodiments of the present application further provide a computer program product comprising computer instructions, the computer instructions being executed by a processor to implement the steps in any of the content publishing methods provided by the embodiments of the present application.
[0094] The embodiments of the present application acquire the current location of a target user, acquire sharing content according to the current location, and display the sharing content, the sharing content comprising content published by a user other than the target user on a social platform; in response to a selection operation on the sharing content, determine target content from the sharing content; and finally, publish the target content. Thus, the user can acquire content published by other users on the social platform according to the current location of the user to publish the content, avoiding the problem that the target user has limited content available for publishing on the terminal device or cannot obtain satisfactory content through the terminal device, thereby improving the content publishing efficiency and user experience.
[0095] The embodiment of the present application also displays a content browsing interface in response to the content browsing operation of the target user on the social platform, the content browsing interface comprising at least one browsing content, the browsing content comprising the content published by the friend user of the target user; determines target content from the browsing content in response to the content selection operation of the target user on the browsing content; and finally publishes the target content. Thus, the target user can browse the browsing content published by the friend user on the social platform, and directly selects the target content needed by the target user from the browsing content to publish the content, thereby avoiding the problem that the target user cannot obtain satisfactory content or the content available for publishing is limited on the terminal device of the target user, and improving the content publishing efficiency and user experience.
[0096] The embodiment of the present application also displays the social content published by the first user on the social platform; and displays a sharing mark on the social content corresponding to the sharing operation in response to the sharing operation of the first user on the social content, wherein the social content with the sharing mark is used to indicate that the social content can be sent to the second user, so that the second user publishes content based on the social content with the sharing mark. Thus, the first user can send the social content published by the first user to other users for content publishing through simple sharing operation, thereby avoiding the problem that the other users cannot obtain satisfactory content or the content available for publishing is limited on the terminal device of the other users, and improving the content publishing efficiency and user experience.
[0097] The embodiment of the present application also obtains the to-be-published content of the first user; classifies the to-be-published content to obtain the first content and the second content, the first content can be sent to the second user to enable the second user to publish content based on the first content, and the second content cannot be sent to the second user, the second user being a user other than the first user; and finally publishes and displays the first content and the second content on the social platform. Thus, the to-be-published content of the first user can be divided into the first content that can be shared and the second content that cannot be shared before the first user publishes the content, so that the second user can use the first content to publish the social content on the to-be-published content displayed on the social platform after the to-be-published content is published, thereby avoiding the problem that the second user cannot obtain satisfactory content or the content available for publishing is limited on the terminal device of the second user, and improving the content publishing efficiency and user experience. BRIEF DESCRIPTION OF DRAWINGS
[0098] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0099] Figure 1a is a scenario diagram of a content publishing method provided by an embodiment of the present application;
[0100] Figure 1b is a flow diagram of a content publishing method provided by an embodiment of the present application;
[0101] Figure 1c is a content display interface diagram in a social platform provided by an embodiment of the present application;
[0102] Figure 1d is a content editing interface diagram provided by an embodiment of the present application;
[0103] Figure 1e is a display diagram of to-be-published content provided by an embodiment of the present application;
[0104] Figure 1f is a sharing interface diagram provided by an embodiment of the present application;
[0105] Figure 1g is another content editing interface diagram provided by an embodiment of the present application;
[0106] Figure 1h is a content browsing interface provided by an embodiment of the present application;
[0107] Figure 1i is a flow diagram of another content publishing method provided by an embodiment of the present application;
[0108] Figure 1j is another content browsing interface provided by an embodiment of the present application;
[0109] Figure 1k is still another content browsing interface provided by an embodiment of the present application;
[0110] Figure 1L is a target content display interface provided by an embodiment of the present application;
[0111] Figure 1m is another target content display interface provided by an embodiment of the present application;
[0112] Figure 1n is a flow diagram of still another content publishing method provided by an embodiment of the present application;
[0113] Figure 1oAnother flowchart of a content publishing method provided by an embodiment of the present application is shown in FIG. 1B;
[0114] Figure 1p A content division interface and a content editing interface provided by an embodiment of the present application are shown in FIGS. 2A and 2B;
[0115] Figure 2a A flowchart of an application scenario in which the content publishing method provided by an embodiment of the present application is applied is shown in FIG. 3; Figure 1a
[0116] Figure 2b A selection interface of initial content provided by an embodiment of the present application is shown in FIG. 4;
[0117] Figure 2c A display diagram of a friend circle message provided by an embodiment of the present application is shown in FIG. 5;
[0118] Figure 2d An editing interface of a friend circle message provided by an embodiment of the present application is shown in FIG. 6;
[0119] Figure 2e Another display diagram of a friend circle message provided by an embodiment of the present application is shown in FIG. 7;
[0120] Figure 2f A data format used by a server when storing a photo provided by an embodiment of the present application is shown in FIG. 8;
[0121] Figure 2g A flowchart of filtering shared content according to a use number limit condition provided by an embodiment of the present application is shown in FIG. 9;
[0122] Figure 2h A flowchart of filtering shared content according to a publishing time limit condition provided by an embodiment of the present application is shown in FIG. 10;
[0123] Figure 2i A flowchart of filtering shared content according to a publishing distance limit condition provided by an embodiment of the present application is shown in FIG. 11;
[0124] Figure 2j A display diagram of shared content in the Figure 2g example provided by an embodiment of the present application is shown in FIG. 12;
[0125] Figure 2k A display diagram of shared content in the Figure 2h example provided by an embodiment of the present application is shown in FIG. 13;
[0126] Figure 2L A display diagram of shared content in the Figure 2i example provided by an embodiment of the present application is shown in FIG. 14;
[0127] Figure 2m A content editing interface provided by an embodiment of the present application is shown in FIG. 15;
[0128] Figure 3a is a structural schematic diagram of a content publishing device provided by an embodiment of the present application;
[0129] Figure 3b is another structural schematic diagram of a content publishing device provided by an embodiment of the present application;
[0130] Figure 3c is still another structural schematic diagram of a content publishing device provided by an embodiment of the present application;
[0131] Figure 3d is still another structural schematic diagram of a content publishing device provided by an embodiment of the present application;
[0132] Figure 4 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0133] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0134] An embodiment of the present application provides a content publishing method and device, an electronic device and a storage medium.
[0135] The electronic device can be a terminal, a server or the like. The terminal can be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart television, a vehicle-mounted device or the like. The server can be a single server, a server cluster composed of multiple servers or a cloud server.
[0136] For example, referring to Figure 1a , Figure 1a application scenarios of a content publishing method provided by an embodiment of the present application are shown.
[0137] As Figure 1aAs shown, the application scenario can include a first terminal 100, a second terminal 200, and a server 300, wherein the server 300 can be in communication connection with the first terminal 100 and the second terminal 200 respectively, the first terminal 100 can serve as a content sharing end, a user of the content sharing end can publish shared content for other users to share, the second terminal 200 can serve as a content publishing end, a user of the content publishing end can receive and use the shared content to publish content, and the server 300 can be used to receive the shared content uploaded by the first terminal 100 and store the shared content, and send the stored shared content to the second terminal 200. The number of the first terminal 100 and the second terminal 200 can be one or more, which is not limited herein.
[0138] In some embodiments, the first terminal 100 and the second terminal 200 can be in communication connection, for example, the first terminal 100 and the second terminal 200 can be connected through Bluetooth, local area network, and the like.
[0139] Optionally, the first terminal 100 and the second terminal 200 include but are not limited to mobile phones, tablet computers, smart wearable devices, notebook computers, vehicle-mounted devices, and the like.
[0140] It can be understood that in the specific embodiments of the present application, data related to the current location is involved, and when the above embodiments of the present application are applied to specific products or technologies, the user's permission or consent needs to be obtained, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of the country and region.
[0141] The following will be described in detail. It should be noted that the serial numbers of the following embodiments do not limit the preferred order of the embodiments.
[0142] In this embodiment, a content publishing method is provided, as shown in the following. Figure 1b The specific process of the content publishing method can be as follows:
[0143] 101, obtaining a current location of a target user.
[0144] The target user can be a user who needs to publish content at present, and can be specifically a user of the second terminal in Figure 1a
[0145] The current location can be a geographical location where the target user is currently located, and the current location can be a geographical location represented by longitude and latitude. The current location can be obtained through the satellite positioning function of the second terminal.
[0146] In some embodiments, before step 101, the method can further include one or more of the following embodiments:
[0147] A1, in response to the target user's content editing operation on the social platform, displaying a content editing interface, the content editing interface including a shared content obtaining option and a local content obtaining option.
[0148] Wherein, the social platform refers to a kind of online services and applications, for connecting users through Internet or mobile network, so that users can carry out social activities, content publishing and sharing information, participate in collaborative creation, enjoy interactive services, etc.In the present embodiment, the social platform can be pre-installed in the second terminal, and the social platform can have content editing, content publishing, content evaluation, content forwarding, content sharing and other functions.The above-mentioned content includes but is not limited to: text content, image content, audio content, video content, animation content, etc.
[0149] Wherein, the content editing operation is an operation for instructing the second terminal to enter the content editing interface of the social platform.In some embodiments, the content editing operation can be a click operation on the content editing option displayed in the social platform on the touch screen of the second terminal. Figure 1c As shown in Figure 1c A content display interface in the social platform is shown, which includes a content display area for displaying the content published by the target user or other users on the social platform, and the content display area can also include an "edit" control, which can enter the content editing interface when the target user clicks it.The "edit" control can be displayed in various forms, such as an icon of a camera, or an icon of a pen, or other icons or other forms.
[0150] In other embodiments, the content editing operation can also be a voice control operation, for example, the target user can send a voice "edit content" to the second terminal, which can enter the content editing interface.
[0151] In still other embodiments, the content editing operation can also be a specific gesture operation that the second terminal can recognize, and optionally, the specific gesture operation includes but is not limited to: multiple taps, long press, sliding in a specified direction, etc., for example, when the second terminal opens the social platform to enter the content display interface, a rightward sliding operation can be made on the screen of the second terminal to make the second terminal enter the content editing interface.
[0152] Wherein, the content editing interface is an interface for content editing in the social platform, as Figure 1dAs shown, the interface of content editing can include a content adding area, a local content obtaining option, a shared content obtaining option, a text input box, etc. Among them, the content adding area can be used to display the content currently selected by the user to be used for publishing, the local content obtaining option can be used to enter the display interface of the optional local content (such as the album display interface). The shared content obtaining option is used to enter the display interface of the optional shared content, and the text input box is used for the user to edit the text part in the to-be-published content.
[0153] Exemplarily, in actual application, when the target user selects the local content obtaining option, the second terminal can display the locally stored content for the target user to select, or start the shooting function or recording function of the second terminal, so that the target user can collect live content. When the target user selects the local content obtaining option, the second terminal can execute step 101 and the steps after step 101.
[0154] A2, if it is detected that the target user performs a determination operation on the local content obtaining option, display the candidate local content.
[0155] Among them, the candidate local content can be the content pre-stored in the local storage space of the second terminal, wherein the candidate local content can be the content obtained by the user through shooting or recording in the past or currently, or the content pre-downloaded from the Internet, which is not limited here.
[0156] Exemplarily, taking the image content as an example, when the second terminal detects that the target user performs a determination operation (such as a click determination operation or a voice determination operation) on the local content obtaining option, the second terminal can jump to the album interface and display the images, videos, etc. in the album. Similarly, when the local content to be published by the user is audio, the second terminal can jump to the audio selection interface and display the audio list of the recorded audio or downloaded audio in the audio selection interface.
[0157] A3, in response to the selection operation on the candidate local content, determining the target local content from the candidate local content, and publishing the content on the social platform based on the target local content.
[0158] Exemplarily, when the second terminal displays the candidate local content, the displayed candidate local content can enter a selectable state, if the candidate local content is selected by the user through a selection operation (such as a click operation), it can be switched to a selected state, thereafter, all candidate local content in the selected state can be determined as the target local content, then the target local content can be added to the content adding area in Figure 1d for display, then the user can click the “publish” option in Figure 1d , so as to publish the target local content, or continue to edit the content in the content adding area.Figure 1d text in the text input box in the target local content in the content to be published, and finally clicks a "publish" option to publish the content to be published on the social platform to show the content to be published to other users in the social platform.
[0159] A4、If it is detected that the target user performs a determination operation on the sharing content obtaining option, the step of obtaining the current location of the target user is performed, i.e., the step 101 and the steps 102-104 after the step 101 are performed.
[0160] In some embodiments, the method can include the following steps one to two:
[0161] One, in response to a sharing operation on the published content in the social platform, a sharing page is displayed, and the sharing page includes the target local content in the published content.
[0162] Two, in response to a content selection operation on the target local content, the target sharing content is determined, and the target sharing content is uploaded to the sharing server for storage.
[0163] In an embodiment, taking the social platform as a friend circle as an example, the content to be published can be a friend circle message, and the content to be published displayed in the social platform can be as shown in Figure 1e , which includes the user avatar of the target user, the username, the friend circle text, the publishing date, and the target local content (such as the friend circle photos 1-9 in Figure 1e ). In addition, the interactive control for the friend circle message can also be displayed in the social platform, such as Figure 1e , which can include "like", "comment", and "share". It can be understood that the "share" control is only displayed for the user who publishes the friend circle message.
[0164] When the target user performs a preparation sharing operation (such as clicking the "share" control), the second terminal can display a sharing interface as shown in Figure 1f , in which the target local content described above can be displayed for the target user to select. When the target user performs a selection operation (such as a click operation) on the target local content, the target local content can be checked, and after the selection operation is completed, all the checked target local content can be determined as the target sharing content (such as the friend circle photo 1, the friend circle photo 5, and the friend circle photo 6 in Figure 1f ), and then Figure 1fAfter the "determination" option in the "share" interface, the target shared content can be uploaded to the sharing server for storage, so that other users of the social platform can publish content through the target shared content stored in the sharing server.
[0165] 102. According to the current location, obtain the shared content, and display the shared content, the shared content including content published by users other than the target user on the social platform.
[0166] In some embodiments, the shared content can be filtered from the sharing server according to the current location, and the content having the same obtained location or published location as the current location can be obtained as the shared content. For example, if the location coordinates of the current location are coordinates (X1, Y1), at least one content having the same obtained location (such as the shooting location of a photo) as the coordinates (X1, Y1) can be filtered from the sharing server as the shared content. For another example, at least one content having the same published location as the coordinates (X1, Y1) can be filtered from the sharing server as the shared content. Wherein, if the number of shared content is more than one, the multiple shared content can be published by the same user or different users, which is not limited herein. Thus, the target user can quickly obtain the content related to the current location.
[0167] In some embodiments, whether there is an associated location pre-associated with the current location can also be determined according to the current location, wherein the associated location can be one or more, and then the content having the same obtained location or published location as the associated location can be filtered from the sharing server as the shared content. For example, different scenic locations in a scenic area are associated with each other, such as location 1 of scenic spot A, location 2 of scenic spot B, and location 3 of scenic spot C. If the current location of the target user is location 2 of scenic spot B, at least one content having the same published location or obtained location as location 1 and location 3 can be filtered from the sharing server as the shared content. Thus, the target user can quickly obtain the content related to the current location.
[0168] In some embodiments, in step 102, the specific implementation of obtaining the shared content according to the current location can include:
[0169] B1. Determine the target area according to the current location.
[0170] Wherein, the target area can refer to the area where the current location of the target user is located, and the area range of the target area can be set according to actual needs. Wherein, the area range can be a set of geographic coordinates of the target area.
[0171] In some embodiments, the target region can be specifically a geographical region in which the target user is currently located and desires to obtain scene content related to the region. The scene content of the region can refer to content specific to the scene of the region, including but not limited to images, audio, and the like.
[0172] For example, when the target user is in a scenic spot and desires to obtain content such as photos and videos related to the scenic spot, the scenic spot can be taken as the target region. For another example, when the user is in a concert venue and desires to obtain audio information related to the venue, the venue can be taken as the target region. For another example, when the user is in an exhibition hall and desires to obtain text introduction of the exhibited items in the exhibition hall, the exhibition hall can be taken as the target region. For another example, when the user desires to obtain scene content within a few hundred meters from the current location, the region within a few hundred meters from the current location can be taken as the target region. In some embodiments, in step B1, the specific implementation of determining the target region according to the current location can include:
[0173] According to the current location and a specified distance, the target region is determined, the center of the target region is the current location, and the radius of the target region is the specified distance.
[0174] For example, the geographical coordinates of the current location can be taken as a center, a circular region can be generated with a specified distance as the radius, and the region range corresponding to the circular region can be determined as the target region. The specified distance can be set by the user, for example, the specified distance can be set to 500 meters.
[0175] In some other embodiments, in step B1, the specific implementation of determining the target region according to the current location can include:
[0176] The region range of a specified region is obtained, and if the current location is within the region range of the specified region, the specified region is determined as the target region.
[0177] The specified region can be a region pre-divided and marked on a geographical map, for example, in the case of an electronic map, various scene regions divided and marked by default in the electronic map can be taken as the specified region. The scene regions can include but are not limited to schools, scenic spots, shopping malls, communities, parks, and the like. Alternatively, the specified region can be divided by the user, for example, the user can circle a part of the region on the electronic map as the specified region, or combine two or more scene regions in the electronic map to obtain the specified region.
[0178] Exemplarily, taking the region of scenic spot A as the specified region for example, when it is detected that the current position of the target user is within scenic spot A, the region range corresponding to scenic spot A can be determined as the target region, so that the target user can accurately obtain the shared content in the scene region where the target user is located, so that when the user cannot obtain satisfactory content in the scene, the shared content published and shared by other users in the scene can be used for content publishing, thereby improving the content publishing efficiency. B2, according to the target region, obtaining the shared content, the shared content is obtained in the target region.
[0179] In some embodiments, the obtained positions of the published content published by each user (including the target user and other users whose published content is visible to the target user, such as friends of the target user) on the social platform can be obtained, wherein the obtained position can be the position of the user when the user obtains the published content through the corresponding device, such as the shooting position when the user shoots a photo, the recording position when the user records audio, etc. Then, the published content whose obtained position is in the target region is determined as the shared content. Exemplarily, the coordinates of the obtained position can be compared with the coordinate set corresponding to the target region, and if the coordinate set corresponding to the target region includes the coordinates of the obtained position, the published content corresponding to the obtained position can be determined as the shared content.
[0180] In some embodiments, the obtained positions of the published content published by each user (including the target user and other users whose published content is visible to the target user, such as friends of the target user) on the social platform can be obtained, wherein the obtained position can be the position of the user when the user obtains the published content through the corresponding device, such as the shooting position when the user shoots a photo, the recording position when the user records audio, etc. Then, the published content whose obtained position is in the target region is determined as the shared content. Exemplarily, the coordinates of the obtained position can be compared with the coordinate set corresponding to the target region, and if the coordinate set corresponding to the target region includes the coordinates of the obtained position, the published content corresponding to the obtained position can be determined as the shared content.
[0181] In some embodiments, the obtained positions of the published content published by each user (including the target user and other users whose published content is visible to the target user, such as friends of the target user) on the social platform can be obtained, wherein the obtained position can be the position of the user when the user obtains the published content through the corresponding device, such as the shooting position when the user shoots a photo, the recording position when the user records audio, etc. Then, the published content whose obtained position is in the target region is determined as the shared content. Exemplarily, the coordinates of the obtained position can be compared with the coordinate set corresponding to the target region, and if the coordinate set corresponding to the target region includes the coordinates of the obtained position, the published content corresponding to the obtained position can be determined as the shared content.
[0182] Exemplarily, taking a circle of friends of a target user as an example, for example, the current location of the target user is in a target area (such as a scenic spot), and the target user wants to publish a circle of friends message about the scenic spot, for example, a circle of friends message containing a photo of the scenic spot, but may be limited by some on-site factors, resulting in that the target user cannot directly obtain a better scenic spot photo, for example, the weather of the scenic spot is poor, the visibility is low; the number of people in the scenic spot is large, and a photo containing only the scenery of the scenic spot cannot be taken; the device of the target user has poor shooting performance and cannot take a high-quality scenic spot photo. Since the circle of friends message in the circle of friends is usually composed of photos, texts and the like, the target user can consider selecting a photo of the scenic spot from the circle of friends messages (i.e., the above-mentioned published content) published by other people in the circle of friends to publish his own circle of friends message. However, given the large number of circle of friends messages in the circle of friends, the photo related to the scenic spot can be pushed as sharing content to the target user according to the publishing location and publishing time of each circle of friends message, specifically, for each circle of friends message, the publishing location of the circle of friends message can be compared with the current location of the target user, if the distance between the publishing location of the circle of friends message and the current location of the target user is within a specified distance, it indicates that the circle of friends message is likely to contain a photo of the scenic spot, and thus the photo content in the circle of friends message can be pushed as sharing content to the target user. Further, after selecting part of the circle of friends messages through the publishing location, it can also be determined whether the time length between the publishing time of the selected circle of friends message and the current time is less than a specified time, if it is less than the specified time, it indicates that the selected circle of friends message is recently published, and the publisher is likely to be in the target area, so as to ensure that the selected circle of friends message is more likely to contain a recent photo of the scenic spot, and thus the photo content in the selected circle of friends message can be further selected as sharing content to be pushed to the target user, so that the target user can conveniently obtain the photo of the scenic spot.
[0183] It can be seen that, considering the content published by other users at a location close to the target user, and the publishing time of the content is close to the current time, it is likely that the user publishes the content in the same area as the target user, and thus in the embodiment, the sharing content is determined by the publishing time and the publishing distance, and the sharing content required by the target user can be efficiently and flexibly selected.
[0184] In some embodiments, in step B2, according to the target area, the specific implementation of obtaining the sharing content can include:
[0185] S1, obtaining a target filtering condition and initial content obtained in a target area
[0186] The target screening condition can be a condition for screening content meeting user needs. The target screening condition can include, but is not limited to, a publication time condition, a publication distance condition, a user number condition, etc. The target screening condition can be set by the user.
[0187] When the target user selects the local content obtaining option, the second terminal can display a content editing interface for the shared content. As shown in Figure 1g The content editing interface can include a content adding area, a publication distance option, a publication time option, a user number option, etc. The publication distance option is used to enter a display interface of shared content screened by the publication distance. The publication time option is used to enter a display interface of shared content screened by the publication time. The user number option is used to enter a display interface of shared content screened by the user number. The user number refers to the number of users using the shared content other than the publication user. Optionally, for each shared content, the number of times a single user uses the shared content cannot exceed a specified number of times. For example, when the specified number of times of a shared content is 1, each user can only use the shared content once.
[0188] S2, determining shared content from the initial content according to the target screening condition.
[0189] In some embodiments, the initial content is multiple, and the specific implementation of step S2 can include:
[0190] S21a, if the target screening condition is a first screening condition, obtaining a user number corresponding to each initial content. The first screening condition can be a limitation condition for the user number of the shared content.
[0191] S22a, determining, as the shared content, the initial content whose user number meets a preset user number condition from the multiple initial content.
[0192] In some embodiments, the specific implementation of step S22a can include:
[0193] Determining, as the shared content, the initial content whose user number is greater than or equal to a user number threshold from the multiple initial content.
[0194] For example, when the user number threshold is 500, the initial content whose user number is greater than or equal to 500 can be determined as the shared content.
[0195] Optionally, the number of users can be the number of users using the initial content within a specified time period, for example, to avoid using the number of users accumulated for a long time, the server can record the number of users using an initial content in the last day as the number of users of the initial content.
[0196] Alternatively, the plurality of initial contents are sorted in descending order of the number of users to obtain a first sequence of the plurality of initial contents.
[0197] The first M initial contents in the first sequence are determined as sharing contents, where M is a positive integer.
[0198] For example, the initial contents include photo 1, photo 2, photo 3, and photo 4, where the number of users corresponding to photo 1 is 500, the number of users corresponding to photo 2 is 300, the number of users corresponding to photo 3 is 50, and the number of users corresponding to photo 4 is 400. If M is 2, photo 1 and photo 4 can be determined as sharing contents.
[0199] In some embodiments, a first target number of sharing contents to be obtained can be set, and if the number of sharing contents determined according to the first screening condition does not reach the first target number, some initial contents close to the first screening condition can be supplemented as sharing contents.
[0200] In some embodiments, initial contents with a number of users greater than or equal to a number threshold can be screened out from the plurality of initial contents, and then the screened initial contents are sorted in descending order of the number of users to obtain a first sequence of the plurality of initial contents, and the first M initial contents in the first sequence are determined as sharing contents.
[0201] It is considered that the more the number of users of an initial content, the higher the quality of the initial content and the higher the probability of being used by others. In this embodiment, the initial contents with a number of users satisfying a preset number condition are determined as sharing contents, so that the quality of the initial contents pushed to the user can be ensured, and the efficiency of publishing candidate contents is improved.
[0202] In other embodiments, the initial contents are a plurality of initial contents, and the specific implementation of step S2 can include:
[0203] S21b, if the target screening condition is a second condition, the publishing time corresponding to each initial content is obtained.
[0204] The second screening condition can be a limitation condition on the publishing time of the sharing contents.
[0205] S22b, determining, as the sharing content, the initial content whose publishing time meets the preset time condition among the plurality of initial contents.
[0206] In some embodiments, the specific implementation of step S22b can include:
[0207] determining, as the sharing content, the initial content whose interval duration between the publishing time and the current time is less than or equal to the duration threshold among the plurality of initial contents.
[0208] For example, the duration threshold is 15 minutes, the interval duration between the publishing time of initial content 1 and the current time is 30 minutes, the interval duration between the publishing time of initial content 2 and the current time is 10 minutes, the interval duration between the publishing time of initial content 3 and the current time is 1 minute, and the interval duration between the publishing time of initial content 4 and the current time is 5 minutes, then initial content 2, initial content 3 and initial content 4 can be determined as the sharing content.
[0209] Alternatively, the plurality of initial contents are sorted in the order of the interval duration between the using time and the current time from small to large, to obtain a second sequence of the plurality of initial contents.
[0210] determining, as the sharing content, the first M initial contents in the second sequence, where M is a positive integer.
[0211] In the above example, the second sequence is initial content 3, initial content 4, initial content 2 and initial content 1, and if M is 2, then initial content 3 and initial content 4 can be determined as the sharing content.
[0212] In some embodiments, the initial content whose interval duration between the publishing time and the current time is less than or equal to the duration threshold among the plurality of initial contents can be filtered out first, and then the filtered initial content is sorted in the order of the interval duration from small to large, to obtain a second sequence of the plurality of initial contents, and the first M initial contents in the second sequence are determined as the sharing content. In the above example, initial content 3 and initial content 4 can be determined as the sharing content.
[0213] Considering that the closer the publishing time is to the current time, the newer the content is, in the present embodiment, by determining, as the sharing content, the initial content whose publishing time meets the preset time condition among the plurality of initial contents, the quality of the initial content pushed to the user can be improved.
[0214] In yet some embodiments, the initial content is a plurality, and the specific implementation of step S2 can include:
[0215] S21c, if the target screening condition is the third condition, obtaining a publishing location corresponding to each initial content, the publishing location being a location where a user is located when publishing the content on the social platform.
[0216] The third screening condition can be a restriction condition on a publishing location of the shared content.
[0217] S22c, determining, as the shared content, an initial content in the plurality of initial contents that has a publishing distance satisfying a preset distance condition, the publishing distance being a distance between a current location of the target user and a publishing location of the initial content.
[0218] In some embodiments, the specific implementation of step S22c can include:
[0219] Determining, as the shared content, an initial content in the plurality of initial contents that has a publishing distance less than or equal to a distance threshold.
[0220] For example, the distance threshold is 500 meters, the initial content a has a publishing distance of 100 meters, the initial content b has a publishing distance of 1000 meters, the initial content c has a publishing distance of 130 meters, and the initial content d has a publishing distance of 200 meters. Then, the initial content a, the initial content c, and the initial content d can be determined as the shared content.
[0221] Alternatively, the plurality of initial contents are sorted in ascending order of the publishing distance to obtain a third sequence of the plurality of initial contents, and the first K initial contents in the third sequence are determined as the shared content, where K is a positive integer.
[0222] Using the above example, the third sequence is the initial content a, the initial content c, the initial content d, and the initial content b. If K is 3, the initial content a, the initial content c, and the initial content d can be determined as the shared content.
[0223] In some embodiments, the initial content in the plurality of initial contents that has a publishing distance less than or equal to a distance threshold can be screened out first, the screened initial content is sorted in ascending order of the publishing distance to obtain a third sequence of the plurality of initial contents, and the first K initial contents in the third sequence are determined as the shared content.
[0224] It is considered that the closer the publishing distance of the initial content is, the more likely the initial content contains scene content in a target region required by the target user. In this embodiment, by determining, as the shared content, the initial content in the plurality of initial contents that has a publishing distance satisfying a preset distance condition, the quality of the initial content pushed to the user can be improved.
[0225] As some embodiments, the distance threshold can be updated according to the acquisition result of the sharing content, which can include the number of acquired initial content, for example, the target user needs to acquire a target number of sharing content, if only a first number of initial content is searched in the target area with a distance threshold of 500 meters, wherein the initial number is less than the target number, then the distance threshold can be increased by a preset distance before acquisition, until the initial number reaches the target number, or the distance threshold is increased to the upper limit of the distance, so as to ensure that the most sufficient sharing content can be acquired. Alternatively, the preset distance can be determined according to the difference between the target number and the initial number, for example, the difference between the target number and the initial number can be positively correlated with the preset distance, so as to improve the acquisition efficiency.
[0226] In some embodiments, any two or all of the above-mentioned first screening condition, second screening condition, third screening condition can be used according to the needs, for example, the sharing content selected from the plurality of initial content needs to meet the first screening condition and the second screening condition, and for example, the sharing content needs to meet the first screening condition, the second screening condition and the third screening condition, so as to obtain higher quality sharing content.
[0227] 103、In response to the selection operation of the sharing content, the target content is determined from the sharing content.
[0228] In some embodiments, when the second terminal displays the sharing content, the displayed sharing content can enter a selectable state, if the sharing content is selected by the user through the selection operation (such as click operation), it can be switched to the selected state, thereafter, all sharing content in the selected state can be determined as the target content. Wherein, the specific embodiments of step 103 can refer to the specific embodiments of determining the target local content in step A3, so as not to be repeated here.
[0229] 104、Publish the target content.
[0230] Exemplarily, the target content can be added to the content addition area in Figure 1d for display, then the user can click the "publish" option in Figure 1d , so as to publish the target content, or continue to input text in the text input box in Figure 1d , so as to generate the target publishing content based on the input text and the target content, and finally click the "publish" option to publish the target publishing content on the social platform, so as to display the target publishing content to other users in the social platform. Alternatively, the target user can also directly publish the target content (such as photo), without adding content (such as text, audio, etc.) other than the target content (such as photo) on the basis of the target content.
[0231] It can be seen that, considering that the current social platform can only publish content through the content local to the terminal device carried by the user when the user publishes content, if the user wants to publish a photo related to the current location, the user can only select from the stored photos in the terminal device, and if there is no stored photo, the user needs to take a photo on the spot through the terminal device, which results in limited photo resources that the user can select, and cannot guarantee that the photo taken on the spot can satisfy the user, for example, the user wants to take a scenic photo of a scenic spot, but may fail to take a scenic photo that satisfies the user due to bad weather, too many people, etc. In the embodiment, the current location of the target user is obtained, the sharing content is obtained according to the current location, and the sharing content is displayed, the sharing content including content published by a user other than the target user on a social platform (in a specific embodiment, the social platform can be WeChat Moments or other similar platforms, and the content published by a person on the social platform can be seen by part of the contact users of the person, for example, friends in the contact users; in another specific embodiment, the social platform can be Weibo or other similar platforms, and the content published by a person on the social platform can be seen by all users of the entire platform, including but not limited to friends or users followed in the contact users); then, the target content is determined from the sharing content in response to a selection operation on the sharing content; and finally, the target content is published. Thus, when the target user is at the current location and wants to publish content about the current location, the sharing content obtained by other users in the area related to the current location can be used for content publishing, so that the available content is more abundant, and the target content determined is more in line with the current needs of the target user, avoiding the problem that the target user has limited content available for publishing in the terminal device, or cannot obtain satisfactory content at the current location through the terminal device, thereby improving the content publishing efficiency and user experience.
[0232] In another embodiment, a content publishing method is provided, as shown in Figure 1i The specific process of the content publishing method can be as follows:
[0233] C1, in response to a content browsing operation of a target user on a social platform, a content browsing interface is displayed, the content browsing interface including at least one browsing content, the browsing content including content published by a friend user of the target user.
[0234] For example, taking the social platform as WeChat Moments, the content browsing operation can be an operation of clicking a content browsing control, where the content browsing control is used to enter the content browsing interface of WeChat Moments. As an example, as shown in Figure 1jAs shown, the content browsing interface can include content posted by multiple target users' friends in their Moments. For example, the friends include user a and user b. User a's browsing content in Moments includes photos 1 to 9, and user b's browsing content in Moments includes photos 10 to 15. Optionally, the content browsing interface can also include a "Selection Complete" control, which is used to confirm that the selection of target content has ended.
[0235] In one embodiment, if a photo posted on WeChat Moments has been set to be shareable, a shareable marker will be displayed in a certain area of the photo. For example, there may be a selection box in the lower right corner of the photo, or the entire photo may be surrounded by a selection box. The above forms are for illustrative purposes only and are not limited to the forms described above. Other technologies that display shareable markers may also be included.
[0236] C2. In response to the target user's selection of content from the browsed content, determine the target content from the browsed content.
[0237] Using the example above, target users can add a "selection mark" (e.g., ...) to photos displayed in their Moments by clicking on them. Figure 1j (The checkmark in the image) Photos with the "checkmark" added will be automatically identified as target content, and the target user can then continue to... Figure 1j The next photo in the list is marked with a "selection mark", and so on. The target user can select the target content one by one from the browsed content until the target user clicks the "selection complete" control to indicate that the selection of the target content is finished.
[0238] Optionally, the target user can also click on multiple photos at once to add "selection marks" to multiple photos in batches, and then click "selection complete" to directly select all the browsed content with "selection marks" as the target content.
[0239] Optionally, the content browsing interface can also be like Figure 1k As shown, in Figure 1k In addition to displaying content posted by multiple friends of a target user in their Moments, the app also displays a "Publish" option. When triggered, this option directly publishes selected photos from the content browsing interface to the social media platform. For example, if a target user adds "selection marks" to multiple photos in the content browsing interface (e.g., photos 4, 5, 9, 11, and 14), the target user can then click the "Publish" option to directly publish photos 4, 5, 9, 11, and 14 to the social media platform. The published result can be viewed as follows: Figure 1kThe published content of the user B is only changed from the user B to the target user, and the photos 10 to 15 are changed to the photos 4, 5, 9, 11, and 14.
[0240] In some embodiments, the content selection operation includes a first selection operation and a second selection operation, and in step C2, the target content is determined from the browsing content in response to the content selection operation of the target user on the browsing content, including:
[0241] C21, in response to the first selection operation of the target user on the browsing content, a plurality of target browsing contents are determined from the browsing content, and the plurality of target browsing contents are displayed.
[0242] In the above example, the first selection operation can be a click operation on the photos in the circle of friends. When the target user clicks on the photos in the circle of friends, the target content display interface as shown in Figure 1L may be entered, which can include the photos selected by the user in the circle of friends for the target user to perform the next operation of selecting the target content from the plurality of browsing contents.
[0243] In some embodiments, in step C21, the specific implementation of displaying the plurality of target browsing contents can include:
[0244] Obtaining the publishing information of each target browsing content, the publishing information including at least one of the publishing location, the publishing time, and the number of uses.
[0245] Determining the display order of the target browsing content according to the publishing information.
[0246] Displaying the plurality of target browsing contents based on the display order.
[0247] For example, as shown in Figure 1m , the target user can select the "sort by publishing location", "sort by publishing time", "sort by publishing location", and the like to adjust the display order of the plurality of target browsing contents in the target browsing content display interface. For example, when the target user selects "sort by publishing location", the plurality of target browsing contents in the target browsing content display interface can be sorted according to the distance between the publishing location of the target browsing content and the current location of the target user, wherein the target browsing content with the closer distance is displayed in the earlier position in the plurality of target browsing contents, as shown in Figure 1mIn the example, photo 4 is 1 meter away, photo 5 is 10 meters away, and photo 9 is 15 meters away. Therefore, the display order is photo 4, photo 5, and photo 9, respectively. For another example, when the target user selects "Sort by Publication Time," the multiple target content items in the display interface can be sorted according to the interval between the publication time and the current time. Target content with a shorter interval is displayed earlier in the list. Similarly, when the target user selects "Sort by Number of Users," the multiple target content items in the display interface can be sorted according to the number of users, from highest to lowest. Target content with more users is displayed earlier in the list. Thus, the display order of target content can be adjusted based on its publication information, so that when there are many target content items (e.g., the number is greater than or equal to a preset number), the target user can prioritize selecting the content they want.
[0248] C22. In response to a second selection operation on the target browsing content, determine the target content from multiple target browsing content.
[0249] Continuing with the example above, for instance, in Figure 1L In the process, when the target user clicks on photo 11, photo 11 can be designated as the target content and added to the content editing interface. This content editing interface includes the target content added by the target user. When the target user clicks on the "Content Addition Control" in the content editing interface, such as... Figure 1L The "+" control allows you to return to the target content display interface, so that the target user can continue to select target content from the target browsing content.
[0250] C3. Publish the target content.
[0251] In one embodiment, when click Figure 1L The "Publish" control in the content editing interface allows target users to directly publish target content (e.g., posting a selected photo directly to their Moments) without adding additional content (such as text or audio) to the target content. Optionally, when the target user clicks... Figure 1L Before the "Publish" control in the content editing interface, you can also edit the target content that has been selected in the content editing interface, such as adding text descriptions, emoticons or other content, to generate the target published content and publish the target published content (for example, publishing a Moments message that includes the selected photo, text description and other video content).
[0252] It can be seen that in the embodiment, the content browsing interface is displayed in response to the content browsing operation of the target user on the social platform, the content browsing interface includes at least one browsing content, and the browsing content includes content published by a friend user of the target user; the target content is determined from the browsing content in response to the content selection operation of the target user on the browsing content; and finally, the target content is published. Thus, the target user can browse the browsing content published by the friend user of the target user on the social platform, and directly select the target content needed by the target user from the browsing content to publish the content online, thereby avoiding the problem that the target user cannot publish content due to limited content available on the terminal device of the target user or cannot obtain satisfactory content through the terminal device, and improving the content publishing efficiency and user experience.
[0253] In another embodiment, a content publishing method is provided, as shown in the following table: Figure 1n The specific process of the content publishing method can be as follows:
[0254] D1, social content published by a first user on a social platform is displayed.
[0255] The first user can be a user who wants to share the social content of the first user with other users on the social platform. The social content can be various content created and shared by the first user on the social platform, which can include but is not limited to text, pictures, videos, audio, links, etc. It can be understood that the social content can be content obtained from the local device terminal of the first user, or content obtained from the online network, which is not limited here.
[0256] For example, as shown in Figure 1e , for example, the first user publishes a circle of friends message as shown in Figure 1e on the social platform (such as a circle of friends), and the circle of friends message includes multiple social content, such as circle of friends photo 1 to circle of friends photo 9. When the first user opens the content browsing interface of the circle of friends on the social platform, the multiple social content in the circle of friends message can be displayed in the content browsing interface as shown in Figure 1e .
[0257] D2, in response to a sharing operation of the first user on the social content, a sharing mark is displayed on the social content corresponding to the sharing operation, and the social content on which the sharing mark is displayed is used to indicate that the social content can be sent to a second user, so that the second user publishes content based on the social content on which the sharing mark is displayed.
[0258] The second user can be a user other than the first user on the social platform, a friend user of the first user on the social platform, or a user on the social platform who has similar social habits with the first user, which is not limited here.
[0259] The sharing operation can be a series of operations for sharing the social content to other users for use on a social platform.
[0260] Optionally, the sharing operation can include a preparation sharing operation, for example, please refer to Figure 1e , again. Figure 1e The friend circle message will display an interactive space corresponding to the friend circle message. The interactive control can include "like", "comment", and "share", etc. The preparation sharing operation can be an operation of clicking the "share" control. The "share" control is used to enter a sharing interface when triggered. The sharing interface can be used for the user to configure the social content to be shared.
[0261] In some embodiments, the sharing operation includes a selection sub-operation and a determination sub-operation. In step D2, in response to the first user's sharing operation on the social content, the specific implementation of displaying an operation mark on the social content corresponding to the sharing operation can include:
[0262] In response to the first user's selection sub-operation on the social content, a selected mark is displayed on the social content corresponding to the selection sub-operation. In response to the first user's determination sub-operation on the social content with the selected mark, a sharing mark is displayed on the social content with the selected mark.
[0263] Exemplarily, the sharing interface can be as shown in Figure 1f In the sharing interface, each social content can be in a selectable state. The first user can perform a selection sub-operation on the social content in the selectable state. For example, the selection sub-operation can be a selected operation (such as a click operation) on at least one social content. Then, the selected social content in the sharing interface will be added with a selected mark (such as the check mark in Figure 1f ).
[0264] Thereafter, the first user can perform a determination sub-operation on all the social content with the selected mark in the sharing interface. In the above example, the determination sub-operation can be a click operation on the "OK" option in the sharing interface, so that a sharing mark is displayed on the social content with the selected mark. For example, the sharing mark can be a "shareable" text mark displayed at the lower right of the social content, or a pattern mark that can represent that the social content can be used by other users, and the specific mark manner is not limited herein.
[0265] It can be understood that when the sharing mark is displayed on the social content, the social content will be uploaded to the sharing server at the same time, so that the second user can obtain the social content from the sharing server to publish the content.
[0266] In some embodiments, the content publishing method can further include:
[0267] In response to a share cancel operation of the first user on the shared social content with the sharing mark displayed, removing the sharing mark on the shared social content with the sharing mark displayed.
[0268] Exemplarily, the share cancel operation is used to indicate that the shared social content with the sharing mark displayed is canceled, and the sharing mark is eliminated. Alternatively, the share cancel operation can be a double-click operation, a long-press operation, a multi-click operation, etc. on the shared social content with the sharing mark displayed, which is not limited herein.
[0269] It can be understood that when the social content is eliminated from the sharing mark, the state of the social content in the sharing server is also synchronized to be an invalid state, and when the social content is in the invalid state, the server will not send the social content to the second user again.
[0270] In some embodiments, the content publishing method can further include:
[0271] Obtaining a publishing duration of the social content; if the publishing duration is greater than or equal to a specified duration, performing the step of displaying the sharing mark on the social content corresponding to the sharing operation of the first user on the social content.
[0272] The publishing duration is an interval duration from a time when the social content is published on the social platform to a current time.
[0273] Exemplarily, taking the specified duration as 1 hour as an example, if the first user makes a sharing operation on a social content, and the publishing duration of the social content detected at this time is within 1 hour, the step of displaying the sharing mark on the social content corresponding to the sharing operation of the first user on the social content can be performed. If the publishing duration of the social content exceeds 1 hour, the social content can be set to an unselectable state in the sharing interface, and when the social content is in the unselectable state, the social content cannot be operated by the first user. Thus, the timeliness of the social content used for sharing can be ensured.
[0274] It can be seen that in the embodiment, the social content published by the first user on the social platform is displayed, and then, in response to the sharing operation of the first user on the social content, the sharing mark is displayed on the social content corresponding to the sharing operation, wherein the social content on which the sharing mark is displayed is used to represent that the social content can be sent to the second user, so that the second user publishes content based on the social content on which the sharing mark is displayed. Therefore, the first user can send the social content published by himself to other users for content publishing through a simple sharing operation, avoiding the problem that other users cannot obtain satisfactory content through the terminal device or the content available for publishing in the terminal device of the other users is limited, and improving the interactive interest of social interaction, and thus improving the content publishing efficiency and user experience.
[0275] In another embodiment, a content publishing method is provided, as shown in the figure, the specific process of the content publishing method can be as follows: Figure 1o
[0276] E1, obtaining the to-be-published content of the first user.
[0277] The first user can be a user who wants to publish content on a social platform. The to-be-published content can be content uploaded by the first user to the social platform for publishing. Optionally, the to-be-published content can be one or more, and the to-be-published content includes but is not limited to text, picture, video, audio, link, etc.
[0278] In some embodiments, the first user obtains the to-be-published content from the local storage of the device terminal, for example, the first user can select at least one photo from the album of the device terminal as the to-be-published content, and for another example, the first user selects at least one audio from the audio file of the device terminal as the to-be-published content.
[0279] E2, classifying the to-be-published content to obtain first content and second content, the first content can be sent to the second user to make the second user publish content based on the first content; the second content cannot be sent to the second user, and the second user is a user other than the first user.
[0280] The first content can be content published by the first user on the social platform and allowed to be used by other users in the social platform, and the second content can be content published by the first user on the social platform and not allowed to be used by other users in the social platform.
[0281] In some embodiments, the first user can manually select the first content and the second content from the to-be-published content, for example, refer to Figure 1p For the content added from the local content to the content division interface, the content can be as the to-be-published content, and an optional mark (such as a circle in FIG. 1) can be displayed for each to-be-published content. When the first user clicks the optional mark, the to-be-published content can enter a selected state, and a selected mark (for example, a check mark displayed at the lower right of photo 4 in FIG. 1) can be displayed on the to-be-published content. Thereafter, the first user can click a "share" control in the content division interface, so as to take the to-be-published content with the selected mark displayed in the content division interface as the first content, and take the to-be-published content without the selected mark displayed in the content division interface as the second content. Therein, after the first user clicks the "share" control, a content editing interface can be entered, and an "already shared" mark can be displayed on the first content. Optionally, when the first user selects the first content with the "already shared" mark displayed again, a "cancel sharing" control can also be displayed in the content editing interface. When the first user clicks the "cancel sharing" control, the "already shared" mark in the first content selected again with the "already shared" mark displayed can be removed, and the first content with the "already shared" mark removed can be automatically switched to the second content. Figure 1p
[0282] In some other embodiments, the first user can also automatically divide the to-be-published content into the first content and the second content by setting a classification condition. For example, the classification condition can be a time condition. Specifically, the first user can set a specific time period, and then take the to-be-published content with an obtained time (such as a shooting time of a photo) in the specific time period as the first content, and take the to-be-published content with the obtained time not in the specific time period as the second content. For example, the classification condition can be a location condition. Specifically, the first user can set a specific geographic range, and then take the to-be-published content with an obtained location (such as a shooting location of a photo) in the specific geographic range as the first content, and take the to-be-published content with the obtained location not in the specific geographic location as the second content. For example, the classification condition can be a content restriction condition. Taking an image as an example of the to-be-published content, the content restriction condition can be that the image does not include a target object. Then, whether each to-be-published content includes the target object can be identified. If not, the to-be-published content is taken as the first content. If yes, the to-be-published content is taken as the second content. Optionally, the target object can be set by the first user according to requirements, such as a person, an article, a plant or animal, and the like, which are not limited herein.
[0283] E3、publishing and displaying the first content and the second content on a social platform.
[0284] For example, please continue to refer to Figure 1p In the content editing interface, after adding all the first content and the second content, a "publish" control in the content editing interface can be clicked to publish the first content and the second content to the social platform to display the first content and the second content on the social platform.
[0285] When the second user browses the first content and the second content published by the first user in the social platform, the first content can be freely selected to publish the social content of the second user, such as sending the first content selected by the second user to the second user. The second user can edit new social content based on the received first content and publish it on the social platform. The specific implementation of the second user selecting the first content to publish the social content of the second user can refer to the specific implementation of steps C1 to C3 described above, and will not be repeated here. Any operation of the second user on the second content will not be responded.
[0286] It can be seen that in the embodiment, the content to be published by the first user is obtained, and the content to be published is classified to obtain the first content and the second content. The first content can be sent to the second user to enable the second user to publish content based on the first content. The second content cannot be sent to the second user, and the second user is a user other than the first user. Finally, the first content and the second content are published and displayed on the social platform. Thus, the content to be published can be divided into first content that can be shared and second content that cannot be shared before the first user publishes the content, so that after the content to be published is published, the second user can use the first content to publish his own social content in the content to be published displayed on the social platform, avoiding the problem that the second user has limited content available for publishing on his terminal device or cannot obtain satisfactory content through the terminal device, thereby improving the content publishing efficiency and user experience.
[0287] The method described in the above embodiment will be further described in detail below.
[0288] A content publishing method, in this embodiment, the method will be executed by the first terminal 100, the second terminal 200 and the server 300 in Figure 1a As shown in Figure 2a , a content publishing method specific process is as follows:
[0289] 201, the first terminal uploads the initial content to the server, wherein the initial content is the content published by the user of the first terminal on the social platform.
[0290] For example, a user of the first terminal (hereinafter referred to as a sharing user) can display a selection interface for initial content through a sharing and editing operation (such as clicking a specified control) on a social platform (such as the Moments application). As an example, the selection interface for initial content is as follows: Figure 2b This can include up to nine photos from a single Moments post by a user. When a user selects a photo, the selected photo (e.g., Moments Photo 1, Moments Photo 5, Moments Photo 9) will be put into a state ready for sharing.
[0291] Then, users can use the sharing function to make selected photos in their Moments shareable, for example, as shown below. Figure 2c As shown, when the selected Moments photos are put into shared mode, the selected Moments photos (such as Moments Photo 1, Moments Photo 5, and Moments Photo 9) can be marked as "shared" in the above Moments message, that is, the Moments photos marked as "shared" are uploaded to the server as the initial content.
[0292] Optionally, when displaying the aforementioned Moments messages on social media platforms, a "Cancel Sharing" control can also be displayed so that sharing users can cancel sharing content marked as "Shared" at any time.
[0293] As one implementation method, users can choose to unshare some or all of the content marked "Shared". For example... Figure 2d As shown, users can select Moments Photo 1 and Moments Photo 5 from the Moments photos marked "Shared" and then proceed to unshare them. This will unshare Moments Photo 1 and Moments Photo 5, causing the Moments post to update as shown. Figure 2e The state shown is in Figure 2e Of the photos, only photo 6 from Moments was marked as "shared".
[0294] For example, when a target user selects photo 5 in their Moments to edit the target content, they can access the aforementioned... Figure 1hThe content browsing interface shown allows users to add Moments photo 5 to the content addition area. Similarly, the target user can add Moments photo 1 in the content editing interface using the same operation, and so on, until the target user publishes the target content based on the Moments photos added in the content editing interface. During the process of the target user adding Moments photos in the content editing interface, it can detect in real time whether a cancellation action is received from the sharing user. When a cancellation action is detected, the Moments photo to be cancelled can be immediately cancelled, and a corresponding label can be added to the cancelled Moments photo in the content editing interface to remind the target user that the Moments photo is invalid and cannot be shared. For example, if it is detected that Moments photo 1 has been cancelled by the sharing user, the following can be displayed on the target user's second device: Figure 2m The content editing interface shown can be seen in... Figure 2m In the content editing interface shown, Moments Photo 1 is marked as "Expired," and the "Publish" control in this interface can be made unselectable. Only when the target user deletes Moments Photo 1 from the content addition area can the "Publish" control be restored to an selectable state. This effectively prevents shared content that has been unshared by the original user from being published by other users, improving the accuracy of content publishing.
[0295] In some implementations, when uploading initial content, the first terminal may simultaneously upload the publication time and location of the initial content.
[0296] For example, when the first terminal uploads files related to the initial content to the server, only the acquisition time and location of the initial content can be retained in the files. For instance, taking a photo of the initial content as an example, only the latitude and longitude data and the shooting time fields of the Global Positioning System (GPS) in the standard format information (Exchangeable Image File Format, EXIF) of the photo can be retained, while other fields in the EXIF information except for the latitude and longitude data and the shooting time fields can be deleted to protect the privacy of the sharing user.
[0297] In some implementations, to ensure the timeliness of the initial content, the server may only allow users to share content within a specific time period after it is posted on the social platform. For example, if photo U is posted in Moments at 1:00, and the specific time period is 1 hour, if photo U is posted in Moments for more than 1 hour, such as when the current time is 3:00, then the server will prohibit receiving photo U as initial content to share with other users.
[0298] 202. The server stores the initial content in the shared content library.
[0299] In some implementations, the server can store initial content uploaded by multiple shared users in a shared content library. Optionally, for each piece of initial content, upon receiving the initial content, the server can check whether the initial content includes two fields corresponding to the obtained location and the obtained time. If these two fields are missing, the sharing user is not allowed to share the initial content.
[0300] As an example, taking a photo as the initial content, the server can store the photo using a preset data format, such as... Figure 2f As shown, this data format can include a unique identifier for the sharing user (user ID), photo sharing time, sharing expiration time, photo longitude, photo latitude, photo shooting time, number of users of the photo, and unique photo identifier (photo ID). The photo sharing time can refer to the time the sharing user clicked to confirm sharing the photo. The sharing expiration time can refer to the time the photo was canceled from sharing, or a specific time after the photo sharing time (e.g., one hour after the photo sharing time). The number of users of the photo is the number of other users who have used the photo; the initial value is 0, and it increases according to the number of users. The photo content can be a shared photo file, stored in binary format.
[0301] Optionally, the photo ID can be the MD5 value (a cryptographic hash function value) of the photo's binary file. In some real-time modes, when a sharing user manually cancels sharing, the server can find the corresponding stored data based on the MD5 value of the canceled photo and modify the photo sharing expiration time to the time the user clicked cancel.
[0302] In some implementations, the server can also store the initial content via blockchain. Taking photos as an example, the server can add a blockchain identifier to each photo that needs to be stored to establish a real-time query system for photos. For instance, a unique hash value can be generated for each photo using a cryptographic hash function (such as SHA-256), serving as the digital fingerprint of the photo, i.e., the aforementioned blockchain identifier. Then, key information such as the photographer, shooting date, sharing time, and expiration time can be embedded into the image using digital watermarking technology or EXIF information. The photo and its corresponding key information are then uploaded to the blockchain, creating a sharing record. This record can record the original creator of the photo, the creation time, and any other relevant information. Whenever a photo is shared with other users, a new sharing record is created on the blockchain, recording the new user and sharing details (such as the sharing time, user information, etc.). Thus, by continuously creating new sharing records, a sharing chain about the photo can be generated in the blockchain. Through this sharing chain, users can query the sharing status and users of the photo at various points in time in the blockchain at any time, thereby improving the efficiency of managing shared content.
[0303] 203. The second terminal obtains the target user's current location and sends a content retrieval instruction carrying the current location to the server.
[0304] 204. Based on the current location in the content retrieval instruction, the server determines the target region and retrieves the shared content from the shared content library according to the target region. The shared content includes content retrieved by users other than the target user in the target region.
[0305] In some implementations, the specific implementation of "determining the target region for the shared content based on the current location" in step 204 may include:
[0306] Based on the current location and the specified distance, determine the target area, with the current location as the center of the target area and the specified distance as the radius of the target area;
[0307] Alternatively, retrieve a specified region and its area range;
[0308] If the current location is within the specified region, then the specified region will be designated as the target region.
[0309] In some implementations, the method may further include the following steps before the step of "obtaining the target user's current location":
[0310] In response to the target user's content editing actions on the social platform, a content editing interface is displayed, which includes options for obtaining shared content and obtaining local content.
[0311] If a user confirms their selection of local content, then candidate local content is displayed.
[0312] In response to the selection of candidate local content, the target local content is determined from the candidate local content, and the content is published on the social platform based on the target local content;
[0313] If the target user confirms the option to share content, then the step of obtaining the target user's current location is executed.
[0314] In some implementations, after publishing content on a social platform based on the target local content, the method may further include:
[0315] In response to sharing of content already published on a social media platform, a sharing page is displayed, which includes the target local content;
[0316] In response to the content selection operation on the target local content, the target shared content is determined and uploaded to the shared server for storage.
[0317] In some implementations, the specific implementation of "obtaining shared content based on the target region" in step 204 includes:
[0318] Retrieve target filtering criteria and initial content from the target region;
[0319] Based on the target filtering criteria, determine the content to be shared from the initial content.
[0320] In some implementations, there are multiple initial contents, and the specific implementation of the step "determine the sharing content from the initial contents according to the target filtering criteria" may include:
[0321] If the target filter is the first filter, then obtain the number of users for each initial content.
[0322] The initial content that meets the preset number of users among multiple initial content entries is identified as the content to be shared.
[0323] The specific implementation of the step "identifying initial content whose number of users meets the preset number condition as shared content" may include:
[0324] The initial content that has a number of users greater than or equal to the number of users among multiple initial content entries is identified as the content to be shared.
[0325] Alternatively, sort the initial content in descending order of the number of users to obtain the first sequence of the initial content;
[0326] The first M initial contents in the first sequence are determined as the shared contents, where M is a positive integer.
[0327] For example, such as Figure 2g As shown, when the target user on the second terminal selects the "first filter condition" to filter shared content based on the number of users, the second terminal can upload the latitude and longitude information of the target user's current location. Since latitude and longitude distances differ by approximately 111 meters for every 0.001 degrees, the server can first filter out initial photos within a 0.005-degree latitude and longitude difference (approximately 500 meters) of the current location, excluding expired shared photos. Then, the server sorts the shared photos according to the number of users, and finally selects a maximum of 9 photos for the target user to choose from. If fewer than 9 initial photos are selected within 500 meters based on the first filter condition, all photos are provided to the user. If more than 9 photos are selected based on the number of users, for example, 10 photos, 9 photos can be randomly selected for the target user to choose from.
[0328] In other implementations, there are multiple initial contents, and the specific implementation of the step "determine the sharing content from the initial contents according to the target filtering criteria" may include:
[0329] If the target filter condition is the second condition, then obtain the publication time of each initial content;
[0330] The initial content whose publication time meets the preset time condition among multiple initial content will be identified as the shareable content.
[0331] The specific implementation of the step "identifying the initial content whose publication time meets the preset time condition from among multiple initial content as shareable content" may include:
[0332] Among multiple initial content pieces, those whose publication time and current time interval are less than or equal to the duration threshold are identified as shareable content.
[0333] Alternatively, sort the multiple initial contents in ascending order of the interval between the usage time and the current time to obtain a second sequence of multiple initial contents;
[0334] The first N initial contents in the second sequence are determined as the shared contents, where N is a positive integer.
[0335] For example, such as Figure 2hAs shown, when the target user on the second terminal selects the "second filter condition" to filter shared content based on the publication time, the second terminal can upload the latitude and longitude information of the target user's current location. The server can first filter initial photos within 0.005 degrees (approximately 500 meters) of the current location based on the latitude and longitude information, excluding expired shared photos. Then, it sorts the photos according to the time interval between their shooting time (i.e., the publication time mentioned above) and the current time, and finally selects 9 photos most recent to the current time for the target user on the second terminal to choose from. If fewer than 9 initial photos are selected within 500 meters based on the second filter condition, all of them are provided to the user for selection. If more than 9 photos are selected based on shooting time, for example, 10 photos, 9 photos can be randomly selected for the target user to choose from.
[0336] In some other implementations, there are multiple initial contents, and the specific implementation of the step "determine the sharing content from the initial contents according to the target filtering criteria" may include:
[0337] If the target filtering condition is the third condition, then obtain the posting location corresponding to each initial content. The posting location is the location where the user is when posting content on the social platform.
[0338] Among multiple initial content sets, the initial content whose publishing distance meets the preset distance condition is determined as the shareable content. The publishing distance is the distance between the target user's current location and the publishing location of the initial content.
[0339] The specific implementation of step "determining the initial content whose publication distance meets the preset distance condition from multiple initial content as shareable content" may include:
[0340] Among multiple initial content sets, those initial content sets whose publishing distance is less than or equal to the distance threshold are identified as shareable content.
[0341] Alternatively, sort the multiple initial contents in ascending order of publication distance to obtain a third sequence of multiple initial contents;
[0342] The first K initial contents in the third sequence are determined as the shared contents, where K is a positive integer.
[0343] For example, such as Figure 2iAs shown, when the target user of the second terminal selects the "third filter condition" to filter shared content based on the distance restriction, the second terminal can upload the latitude and longitude information of the target user's current location. The server can first filter initial photos based on the latitude and longitude information, selecting those within 0.005 degrees (approximately 500 meters) of the current location, and excluding expired shared photos. Then, the service can calculate the distance between the shooting location of the shared photo and the target user's current location (i.e., the aforementioned publishing distance) based on the latitude and longitude of the shared photo and the target user's latitude and longitude. The shared photos are then sorted from smallest to largest publishing distance, and finally, 9 photos closest to the current location are selected for the target user of the second terminal to choose from. If fewer than 9 initial photos are selected within 500 meters based on the second filter condition, all of them are provided to the user. If more than 9 photos are selected based on shooting time, for example, 10 photos, 9 photos can be randomly selected for the target user to choose from.
[0344] 205. The server returns the shared content to the second terminal.
[0345] 206. The second terminal displays the shared content.
[0346] 207. The second terminal responds to the selection operation of the shared content and determines the target content from the shared content.
[0347] Continue using the above Figure 2g For example, when a target user on a second terminal selects "First Filter" to filter shared content based on the number of users, the shared content displayed can be as follows: Figure 2j As shown, in Figure 2j In this system, the shared content is photos, and each photo can be labeled with the number of users corresponding to that photo, so that target users can select the photos they want as their target content based on the precise number of users.
[0348] Continue using the above Figure 2h For example, when the target user on the second terminal selects "Second Filter Condition" and wants to filter shared content based on the publication time, the shared content displayed can be as follows: Figure 2h As shown, in Figure 2k In this app, the shared content is photos. Each photo can be labeled with its posting time, which can be represented by a comparison with the current time, such as 4 minutes ago, 9 minutes ago, etc. This allows target users to select the photos they want as their target content based on the precise posting time.
[0349] Continue using the above Figure 2iFor example, when the target user on the second terminal selects a "third filter" to filter shared content based on the distance to the posting location, the shared content displayed can be as follows: Figure 2L As shown, in Figure 2L In this system, the shared content is photos. Each photo can be labeled with its corresponding posting distance, such as "80 meters away from you" for photo 4 and "130 meters away from you" for photo 9, so that target users can select the photos they want as their target content based on the precise posting distance.
[0350] 208. The second terminal generates target content based on the target content and publishes the target content.
[0351] The second terminal can publish the target content to the server used to manage the social media platform, thereby instructing the server to publish the target content. Optionally, the server used to manage the social media platform can be... Figure 1a The server in the middle.
[0352] In some implementations, when the server detects that a second terminal has published the target content, it updates the usage count of the target content in the shared content library, for example, by incrementing the usage count by 1.
[0353] In some implementations, the shared content library in the server can be a dedicated database of the aforementioned social platform (such as social application A). Through the shared database, the first terminal and the second terminal can only achieve content sharing functionality on social application A.
[0354] In other implementations, the shared content library on the server can be a public database of multiple different social platforms, forming a single independent database. For example, the social platform used by the first terminal could be a first social platform (such as social application B), and the social platform used by the second terminal could be a second social platform (such as social application C). The first and second social platforms are different platforms, but both can use the server's shared content library. For instance, content X uploaded by a user in social application B to the shared content library can be accessed by a user in social application C, who can then use content X to publish content. This achieves cross-platform content sharing functionality.
[0355] In some implementations, the server can detect in real time whether the initial content in the shared content library has expired. For example, this can be determined by the cancellation of sharing sent by the uploader of the initial content, or by the expiration time preset in the initial content.
[0356] When the server detects that initial content in the shared content library is invalid, it can first logically delete that initial content, putting it into a logically deleted state. Then, if the current time is within a specified timeframe, all initial content in the shared content library that has entered the logically deleted state will be physically deleted. Logical deletion is an operation that marks data as deleted in the database but does not actually remove it. As you can understand, unlike physical deletion, logical deletion does not directly delete data rows; instead, it indicates that the data has been deleted by modifying the data's state or adding additional markers. This method preserves the data's historical record and allows for recovery or review when needed.
[0357] Understandably, when initial content enters a logical deletion state, the server will not provide that initial content to the target user for searching. Physical deletion, on the other hand, refers to the operation of completely removing data from the storage medium; once data is physically deleted, it cannot be recovered.
[0358] For example, regarding a photo in a shared content library, when the user who uploaded the photo cancels sharing it, or when the upload time of the photo meets a preset expiration time requirement, the server will not immediately delete the photo's data. Instead, it will mark the photo as deleted and delete the marked photos at a set time every day (e.g., 00:00). The preset expiration time requirement may include: the current time has reached the photo's preset expiration time (e.g., the photo is only valid until 23:59:59 on the day it was uploaded, and automatically expires after 00:00), or the time interval between the photo's upload time and the current time exceeds a preset duration (e.g., the photo can only be used for 3 hours, and automatically expires after 3 hours).
[0359] In some embodiments, prior to step 207, the method may further include:
[0360] In response to the target user's content browsing action on the social platform, a content browsing interface is displayed. The content browsing interface includes at least one piece of content to be browsed, which contains content posted by the target user's friends.
[0361] In response to the target user's selection of content from the browsed content, the target content is determined from the browsed content.
[0362] Publish the target content.
[0363] In other words, target users can not only access shared content based on their current location and select target content from it for posting, but they can also directly select target content from content posted by their friends on the social platform. This allows target users to flexibly utilize existing online content on social platforms for their own content posting, avoiding the problem of limited content available for posting on their own devices, or the inability to collect satisfactory content through their current devices.
[0364] In summary, the content publishing method of this embodiment allows users to publish content in a target area by using shared content obtained by other users in the target area. This enables users to share their own content (such as Moments) with other users, solving the problem of not having suitable photos to publish on Moments, improving content publishing efficiency, and increasing the fun of interaction between users through published content, thereby enhancing user experience and enthusiasm for publishing content.
[0365] To better implement the above methods, this application also provides an audio retrieval device, which can be integrated into an electronic device, such as a terminal or server. The terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, or personal computer; the server can be a single server or a server cluster composed of multiple servers.
[0366] For example, in this embodiment, the method of the present application will be described in detail by taking the audio retrieval device specifically integrated into an electronic device as an example.
[0367] For example, such as Figure 3a As shown, the audio retrieval device may include a location acquisition unit 301, a region determination unit 302, a display unit 303, a determination unit 304, and a publishing unit 305, as follows:
[0368] Location acquisition unit 301 is used to acquire the current location of the target user;
[0369] The region determination unit 302 is used to determine the target region based on the current location;
[0370] Display unit 303 is used to obtain and display shared content based on the target region. The shared content includes content obtained by users other than the target user in the target region.
[0371] The determining unit 304 is used to determine the target content from the shared content in response to the selection operation of the shared content;
[0372] Publishing unit 305 is used to publish target content.
[0373] In some embodiments, the display unit 303 includes:
[0374] The region determination sub-unit is used to determine the target region based on the current location;
[0375] The content acquisition module is used to acquire shareable content based on the target region. The shareable content is acquired from the target region.
[0376] In some embodiments, the content acquisition module includes:
[0377] The acquisition module is used to acquire target filtering criteria and initial content from the target region;
[0378] The filtering module is used to determine the content to be shared from the initial content based on the target filtering criteria.
[0379] In some embodiments, the initial content consists of multiple elements, and the filtering module is specifically used for:
[0380] If the target filter is the first filter, then obtain the number of users for each initial content.
[0381] The initial content that meets the preset number of users among multiple initial content entries is identified as the content to be shared.
[0382] In some embodiments, the filtering module is further configured to:
[0383] The initial content that has a number of users greater than or equal to the number of users among multiple initial content entries is identified as the content to be shared.
[0384] Alternatively, sort the initial content in descending order of the number of users to obtain the first sequence of the initial content;
[0385] The first M initial contents in the first sequence are determined as the shared contents, where M is a positive integer.
[0386] In some embodiments, the initial content consists of multiple elements, and the filtering module is specifically used for:
[0387] If the target filter condition is the second condition, then obtain the publication time corresponding to each initial content;
[0388] The initial content whose publication time meets the preset time condition among multiple initial content will be identified as the shareable content.
[0389] In some embodiments, the filtering module is further configured to:
[0390] Among multiple initial content pieces, those whose publication time and current time interval are less than or equal to the duration threshold are identified as shareable content.
[0391] Alternatively, sort the initial content in ascending order of the interval between the usage time and the current time to obtain a second sequence of the initial content;
[0392] The first N initial contents in the second sequence are determined as the shared contents, where N is a positive integer.
[0393] In some embodiments, the initial content consists of multiple elements, and the filtering module is specifically used for:
[0394] If the target filtering condition is the third condition, then obtain the posting location corresponding to each initial content. The posting location is the location where the user is when posting content on the social platform.
[0395] Among multiple initial content sets, the initial content whose publishing distance meets the preset distance condition is determined as the shareable content. The publishing distance is the distance between the target user's current location and the publishing location of the initial content.
[0396] In some embodiments, the filtering module is further configured to:
[0397] Among multiple initial content sets, those initial content sets whose publishing distance is less than or equal to the distance threshold are identified as shareable content.
[0398] Alternatively, sort the multiple initial contents in ascending order of publication distance to obtain a third sequence of multiple initial contents;
[0399] The first K initial contents in the third sequence are determined as the shared contents, where K is a positive integer.
[0400] In some embodiments, the region determination subunit is specifically used for:
[0401] Based on the current location and the specified distance, determine the target area, with the current location as the center of the target area and the specified distance as the radius of the target area;
[0402] Alternatively, retrieve a specified region and its area range;
[0403] If the current location is within the specified region, then the specified region will be designated as the target region.
[0404] In some embodiments, the content device further includes:
[0405] The first display unit is used to respond to the content editing operations of the target user on the social platform and display the content editing interface, which includes options for obtaining shared content and local content.
[0406] The second display unit is used to display candidate local content if a confirmation operation of the target user on the local content retrieval option is detected.
[0407] The local content publishing unit 305 is used to respond to the selection operation of candidate local content, determine the target local content from the candidate local content, and publish the content on the social platform based on the target local content;
[0408] An execution unit is used to execute the step of obtaining the target user's current location if a confirmation operation is detected that the target user has selected the option to obtain shared content.
[0409] In some embodiments, the content device further includes:
[0410] The third display unit 303 is used to display a shared page in response to a sharing operation of content published on a social platform. The shared page includes the target local content.
[0411] The sending unit is used to respond to the content selection operation of the target local content, determine the target shared content, and upload the target shared content to the shared server for storage.
[0412] For example, such as Figure 3b As shown, the audio retrieval device may include a first response unit 310, a second response unit 320, and a content publishing unit 330, as follows:
[0413] The first response unit 310 is used to respond to the target user's content browsing operation on the social platform and display a content browsing interface. The content browsing interface includes at least one piece of browsing content, which includes content posted by the target user's friends.
[0414] The second response unit 320 is used to respond to the target user's content selection operation on the browsed content and determine the target content from the browsed content;
[0415] Content publishing unit 330 is used to publish target content.
[0416] In some embodiments, the content selection operation includes a first selection operation and a second selection operation, and the second response unit 320 is specifically used for:
[0417] In response to the target user's first selection of browsing content, multiple target browsing content items are identified from the browsing content, and these multiple target browsing content items are displayed.
[0418] In response to a second selection operation on the target browsing content, the target content is determined from multiple target browsing content.
[0419] In some embodiments, the second response unit 320 is further configured to:
[0420] Obtain the publishing information for each target browsing content, including at least one of the following: publishing location, publishing time, and number of users;
[0421] The display order of the target browsing content is determined based on the published information;
[0422] Based on the display order, content for multi-target browsing is displayed.
[0423] For example, such as Figure 3c As shown, the audio retrieval device may include a social content display unit 501 and an operation response unit 502, as follows:
[0424] The social content display unit 501 is used to display the social content posted by the first user on the social platform;
[0425] The operation response unit 502 is used to respond to the first user's sharing operation on social content, display a sharing mark on the social content corresponding to the sharing operation, and the social content displaying the sharing mark is used to indicate that the social content can be sent to the second user, so that the second user can publish content based on the social content displaying the sharing mark.
[0426] In some implementations, the sharing operation includes a selection sub-operation and a determination sub-operation, and the operation response unit 502 is specifically used for:
[0427] In response to the first user's selection of social content, a selection marker is displayed on the social content corresponding to the selection sub-operation;
[0428] In response to the first user's confirmation sub-operation on displaying the selected social content, a share tag is displayed on the selected social content.
[0429] In some embodiments, the apparatus further includes a cancellation response unit, which is used to:
[0430] In response to the first user's unshake operation on the social content displaying the share tag, the share tag is removed from the social content displaying the share tag.
[0431] In some embodiments, the operation response unit 502 is further configured to:
[0432] The duration of social media content postings;
[0433] If the posting duration is greater than or equal to the specified duration, then the step of displaying a share tag on the social content corresponding to the first user's sharing operation is executed.
[0434] For example, such as Figure 3dAs shown, the audio retrieval device may include an acquisition unit 601, a classification unit 602, and a publishing and display unit 603, as follows:
[0435] The acquisition unit 601 is used to acquire the content to be published by the first user.
[0436] The classification unit 602 is used to classify the content to be published to obtain first content and second content. The first content can be sent to a second user so that the second user can publish content based on the first content; the second content cannot be sent to a second user, and the second user is a user other than the first user.
[0437] The publishing and display unit 603 is used to publish and display the first and second content on social media platforms.
[0438] In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.
[0439] This application also provides an electronic device, such as... Figure 4 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically:
[0440] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, an input module 404, and a communication module 405. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0441] The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby performing overall detection of the electronic device. In some embodiments, the processor 401 may include one or more processing cores; in some embodiments, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor 401.
[0442] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and content publishing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as an image display function), etc.; the data storage area may store data created based on the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0443] The electronic device also includes a power supply 403 that supplies power to the various components. In some embodiments, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0444] The electronic device may also include an input module 404, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0445] The electronic device may also include a communication module 405. In some embodiments, the communication module 405 may include a wireless module, through which the electronic device can perform short-range wireless transmission, thereby providing users with wireless broadband internet access. For example, the communication module 405 can be used to help users send and receive emails, browse web pages, and access streaming media.
[0446] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following computer instructions, and the processor 401 runs the application programs stored in the memory 402, thereby realizing the various functions in the embodiments of this application.
[0447] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0448] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by computer instructions, or by controlling related hardware with computer instructions. The computer instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0449] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of computer instructions that can be loaded by a processor to execute the steps in any of the content publishing methods provided in embodiments of this application.
[0450] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0451] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the above embodiments.
[0452] Since the computer instructions stored in the storage medium can execute the steps in any of the content publishing methods provided in the embodiments of this application, the beneficial effects that any of the content publishing methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0453] The above provides a detailed description of an audio retrieval method, apparatus, electronic device, and computer-readable storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A content distribution method characterized by comprising: The method comprises: obtaining a current location of a target user; obtaining sharing content according to the current location, and displaying the sharing content, the sharing content comprising content published by a user other than the target user in a social platform; determining target content from the sharing content in response to a selection operation on the sharing content; and publishing the target content.
2. The content distribution method according to claim 1, characterized by, The obtaining of the sharing content according to the current location comprises: determining a target region according to the current location; obtaining the sharing content according to the target region, the sharing content being obtained in the target region.
3. The content distribution method according to claim 2, characterized by, The obtaining of the sharing content according to the target region comprises: obtaining a target filtering condition and initial content obtained in the target region; determining the sharing content from the initial content according to the target filtering condition.
4. The content distribution method according to claim 3, characterized by, The initial content is multiple, and the determining of the sharing content from the initial content according to the target filtering condition comprises: if the target filtering condition is a first filtering condition, obtaining a number of users using each of the initial content; determining, as the sharing content, initial content in which a number of users satisfies a preset number condition among the multiple initial content.
5. The content distribution method according to claim 4, characterized by, The determining of the initial content in which the number of users satisfies the preset number condition among the multiple initial content as the sharing content comprises: determining, as the sharing content, initial content in which a number of users is greater than or equal to a number threshold among the multiple initial content; or, sorting the multiple initial content in descending order of a number of users to obtain a first sequence of the multiple initial content; determining, as the sharing content, the first M initial content in the first sequence, where M is a positive integer.
6. The content distribution method according to claim 3, characterized by, The initial content is multiple, and the determining of the sharing content from the initial content according to the target filtering condition comprises: if the target filtering condition is a second condition, obtaining a publishing time of each of the initial content; determining, as the sharing content, initial content in which a publishing time satisfies a preset time condition among the multiple initial content.
7. The content distribution method according to claim 6, characterized by, The determining of the initial content in which the publishing time satisfies the preset time condition among the multiple initial content as the sharing content comprises: determining, as the sharing content, initial content in which an interval time length between a publishing time and a current time is less than or equal to a time length threshold among the multiple initial content; or, sorting the multiple initial content in descending order of an interval time length between a publishing time and a current time to obtain a second sequence of the multiple initial content; determining, as the sharing content, the first N initial content in the second sequence, where N is a positive integer.
8. The content distribution method according to claim 3, characterized by, The initial content is multiple, and the determining of the sharing content from the initial content according to the target filtering condition comprises: if the target filtering condition is a third condition, obtaining a publishing location corresponding to each of the initial content, the publishing location being a location of a user when publishing content in the social platform; Determine, as the sharing content, initial content in the plurality of initial content whose publishing distance meets a preset distance condition, the publishing distance being a distance between a current location of the target user and a publishing location of the initial content.
9. The content distribution method according to claim 8, characterized by, The determining, as the sharing content, initial content in the plurality of initial content whose publishing distance meets a preset distance condition includes: Determine, as the sharing content, initial content in the plurality of initial content whose publishing distance is less than or equal to a distance threshold. Alternatively, sort the plurality of initial content in ascending order of publishing distance to obtain a third sequence of the plurality of initial content. Determine, as the sharing content, the first K initial content in the third sequence, where K is a positive integer.
10. The content distribution method according to any one of claims 2 to 9, characterized by, The determining a target region according to the current location includes: Determine the target region according to the current location and a specified distance, the center of the target region being the current location and the radius of the target region being the specified distance. Alternatively, obtain a specified region and a region range of the specified region. If the current location is within the region range of the specified region, determine the specified region as the target region.
11. The content distribution method according to any one of claims 1 to 9, characterized by, Before the obtaining the current location of the target user, the method further includes: In response to a content editing operation of a target user on a social platform, display a content editing interface, the content editing interface including a sharing content obtaining option and a local content obtaining option. If a determination operation of the target user on the local content obtaining option is detected, display candidate local content. In response to a selection operation on the candidate local content, determine target local content from the candidate local content and publish content based on the target local content on the social platform. If a determination operation of the target user on the sharing content obtaining option is detected, perform the step of obtaining the current location of the target user.
12. The content distribution method according to claim 11, characterized by, After the publishing content based on the target local content on the social platform, the method further includes: In response to a sharing operation on the content published on the social platform, display a sharing page, the sharing page including the target local content. In response to a content selection operation on the target local content, determine target sharing content and upload the target sharing content to a sharing server for storage.
13. A content distribution method characterized by comprising: The method includes: In response to a content browsing operation of a target user on a social platform, display a content browsing interface, the content browsing interface including at least one browsing content, the browsing content including content published by a friend user of the target user. In response to a content selection operation of the target user on the browsing content, determine target content from the browsing content. Publish the target content.
14. The content distribution method according to claim 13, characterized by, The content selection operation includes a first selection operation and a second selection operation, and the determining target content from the browsing content in response to a content selection operation of the target user on the browsing content includes: In response to a first selection operation of the target user on the browsing content, determine a plurality of target browsing content from the browsing content and display the plurality of target browsing content. In response to a second selection operation on the target browsing content, a target content is determined from the plurality of target browsing contents.
15. The content distribution method according to claim 14, characterized by, The displaying the plurality of target browsing contents comprises: obtaining publishing information of each of the target browsing contents, the publishing information comprising at least one of a publishing location, a publishing time, and a number of users using; determining a display order of the target browsing contents according to the publishing information; displaying the plurality of target browsing contents based on the display order.
16. A content distribution method characterized by comprising: The method comprises: displaying social content published by a first user on a social platform; in response to a sharing operation of the first user on the social content, displaying a sharing mark on the social content corresponding to the sharing operation, the social content with the sharing mark displayed being used to indicate that the social content can be sent to a second user, so that the second user publishes content based on the social content with the sharing mark displayed.
17. The method of claim 16, wherein, The sharing operation comprises a selection sub-operation and a determination sub-operation, and the displaying a mark on the social content corresponding to the sharing operation in response to the sharing operation of the first user on the social content comprises: in response to a selection sub-operation of the first user on the social content, displaying a selected mark on the social content corresponding to the selection sub-operation; in response to a determination sub-operation of the first user on the social content with the selected mark displayed, displaying the sharing mark on the social content with the selected mark displayed.
18. The method of claim 16, wherein, The method further comprises: in response to a sharing cancel operation of the first user on the social content with the sharing mark displayed, removing the sharing mark on the social content with the sharing mark displayed.
19. The method of claim 16, wherein, Before the displaying a sharing mark on the social content corresponding to the sharing operation in response to the sharing operation of the first user on the social content, the method further comprises: obtaining a publishing duration of the social content; if the publishing duration is greater than or equal to a specified duration, performing the displaying a sharing mark on the social content corresponding to the sharing operation in response to the sharing operation of the first user on the social content.
20. A content distribution method characterized by comprising: The method comprises: obtaining to-be-published content of a first user; performing classification processing on the to-be-published content to obtain first content and second content, the first content being able to be sent to a second user, so that the second user publishes content based on the first content, and the second content being unable to be sent to the second user, the second user being a user other than the first user; publishing and displaying the first content and the second content on a social platform.
21. A content distribution apparatus characterized by comprising: The apparatus comprises: a position obtaining unit configured to obtain a current position of a target user; a display unit configured to obtain sharing content according to the current position and display the sharing content, the sharing content comprising content published by a user other than the target user on a social platform; a determination unit configured to determine target content from the sharing content in response to a selection operation on the sharing content; a publishing unit configured to publish the target content.
22. A content distribution apparatus characterized by comprising: The apparatus comprises: The first response unit is configured to display a content browsing interface in response to a content browsing operation of a target user on a social platform, the content browsing interface comprising at least one browsing content, the browsing content comprising content published by a friend user of the target user. The second response unit is configured to determine target content from the browsing content in response to a content selection operation of the target user on the browsing content. The content publishing unit is configured to publish the target content.
23. A content distribution apparatus characterized by comprising: The device comprises: The social content display unit is configured to display social content published by a first user on a social platform. The operation response unit is configured to display a sharing mark on the social content in response to a sharing operation of the first user on the social content, the social content with the sharing mark being used to indicate that the social content can be sent to a second user, so that the second user publishes content based on the social content with the sharing mark.
24. A content distribution apparatus characterized by comprising: The device comprises: The acquisition unit is configured to acquire content to be published by a first user. The classification unit is configured to perform classification processing on the content to be published to obtain first content and second content, the first content being able to be sent to a second user, so that the second user publishes content based on the first content, and the second content being unable to be sent to the second user, the second user being a user other than the first user. The publishing and display unit is configured to publish and display the first content and the second content on a social platform.
25. An electronic device, comprising: The computer readable storage medium stores a plurality of computer instructions, and the computer instructions are adapted to be loaded by a processor to execute the steps in the content publishing method according to any one of claims 1-20.
26. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a plurality of computer instructions, and the computer instructions are adapted to be loaded by a processor to execute the steps in the content publishing method according to any one of claims 1-20.
27. A computer program product, characterised in that, The computer readable storage medium stores a plurality of computer instructions, and the computer instructions are adapted to be loaded by a processor to execute the steps in the content publishing method according to any one of claims 1-20.