Target content processing method and device, medium and electronic equipment

By detecting and prompting the overlap of subtitles and anchors before the video is published, and providing adjustment controls, the problem of users not being able to see subtitles and anchors is solved, and the information display volume and user experience of target content is improved.

CN119473450APending Publication Date: 2025-02-18BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310997089.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-08
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

When a video is published, there may be overlap in the subtitles and anchor points, causing the user to be unable to see the words on the anchor points and the words on the subtitles.

Method used

Provide a target content processing method, by obtaining the target content to be published, determining the display position of text content and anchor component, and displaying prompt information when there is overlap. Users can adjust the display method through adjustment controls to reduce overlapping area .

Benefits of technology

It effectively solves the problem of overlapping subtitles and anchor points displays, ensuring that users can see at least one of them clearly when browsing target content, and improves information visibility and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473450A_ABST
    Figure CN119473450A_ABST
Patent Text Reader

Abstract

The invention relates to a target content processing method and device, a medium and electronic equipment. The method comprises the steps of obtaining target content to be published, and determining text content and an anchor point component which are used for being displayed on the target content; and under the condition that the text content and the anchor component have the display overlap, displaying target prompt information for prompting that the text content and the anchor component have the display overlap. By adopting the mode, the display overlapping condition between the text content and the anchor point component can be prompted before the target content is published, so that a user can process the display overlapping condition before the target content is published, the display quantity of effective information on the published target content can be increased, and the user experience is improved. The user can conveniently obtain more effective information when browsing the target content, and the experience of watching the target content by the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a target content processing method, device, medium and electronic device. Background Art

[0002] When users publish videos, they can add text information, subtitles, etc., as well as anchors. When users browse videos, if they encounter a video with both subtitles and anchors, they may not be able to see the anchors or subtitles clearly. Anchors are a type of hyperlink in web page creation, also called named anchors. Summary of the invention

[0003] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0004] In a first aspect, the present disclosure provides a target content processing method, the method comprising:

[0005] Acquire target content to be published, and determine text content and anchor components for displaying on the target content;

[0006] In the case where there is display overlap between the text content and the anchor component, target prompt information for prompting that there is display overlap between the text content and the anchor component is displayed.

[0007] Optionally, when there is display overlap between the text content and the anchor component, displaying target prompt information for prompting that there is display overlap between the text content and the anchor component includes:

[0008] In the case where there is display overlap between the text content and the anchor component, the target prompt information is displayed in response to a publishing operation on the target content.

[0009] Optionally, the method further comprises:

[0010] While or after displaying the target prompt information, displaying an adjustment control;

[0011] In response to a triggering operation on the adjustment control, the display mode of the text content and / or the anchor component is adjusted to reduce a display overlap area between the text content and the anchor component.

[0012] Optionally, the display adjustment control includes:

[0013] Displaying at least one of the following adjustment controls: a first adjustment control for adjusting the anchor component, a second adjustment control for adjusting the text content, and a third adjustment control for adjusting the anchor component and the text content simultaneously;

[0014] The adjusting, in response to the triggering operation on the adjustment control, the display mode of the text content and / or the anchor component includes:

[0015] When the first adjustment control is displayed, in response to a triggering operation on the first adjustment control, adjusting the display mode of the anchor component;

[0016] When the second adjustment control is displayed, in response to a triggering operation on the second adjustment control, adjusting the display mode of the text content;

[0017] In the case where the third adjustment control is displayed, in response to a triggering operation on the third adjustment control, the display manner of the anchor component and the text content is adjusted.

[0018] Optionally, in the case where the text content and the anchor component are displayed overlapping, before displaying target prompt information for prompting that the text content and the anchor component are displayed overlapping, the method includes:

[0019] Determining a first display position of the text content on the target content;

[0020] Determining a second display position of the anchor component on the target content;

[0021] According to the first display position and the second display position, it is determined whether there is display overlap between the text content and the anchor component.

[0022] Optionally, the adjusting the display mode of the anchor component includes:

[0023] Determine a third display position of other display information displayed on the target content except the anchor component, wherein the other display information includes at least one of target content description information and target content author information;

[0024] Determining a target display position of the anchor component according to the first display position and the third display position;

[0025] The second display position of the anchor component is updated to the target display position.

[0026] Optionally, the determining of the text content and the anchor component for displaying on the target content includes:

[0027] In response to the target content publishing operation, displaying a first publishing interface;

[0028] In response to a target content adding operation on the first publishing interface, determining the target content corresponding to the target content adding operation, and determining the subtitles of the target content as the text content;

[0029] In response to a target content adding confirmation operation on the first publishing interface, displaying a second publishing interface;

[0030] In response to an anchor adding operation on the second publishing interface, the anchor component corresponding to the anchor adding operation is determined.

[0031] Optionally, the determining, according to the first display position and the second display position, whether there is display overlap between the text content and the anchor component includes:

[0032] In response to the anchor adding operation in the second publishing interface, it is determined whether there is display overlap between the text content and the anchor component according to the first display position and the second display position.

[0033] In a second aspect, the present disclosure provides a target content processing device, the device comprising:

[0034] A first determination module is used to obtain target content to be published, and determine text content and anchor components for displaying on the target content;

[0035] The prompt module is used to display target prompt information for prompting that the text content and the anchor component are overlapped in display when the text content and the anchor component are overlapped in display.

[0036] Optionally, the prompt module is used to display the target prompt information in response to a publishing operation on the target content when there is a display overlap between the text content and the anchor component.

[0037] Optionally, the device further comprises:

[0038] A display module, used for displaying an adjustment control while or after displaying the target prompt information;

[0039] An adjustment module is used to adjust the display mode of the text content and / or the anchor component in response to a triggering operation on the adjustment control, so as to reduce the display overlap area of ​​the text content and the anchor component.

[0040] Optionally, the display module is used to display at least one of the following adjustment controls: a first adjustment control for adjusting the anchor component, a second adjustment control for adjusting the text content, and a third adjustment control for adjusting both the anchor component and the text content;

[0041] The adjustment module comprises:

[0042] a first adjustment submodule, configured to adjust a display mode of the anchor component in response to a triggering operation on the first adjustment control when the first adjustment control is displayed;

[0043] a second adjustment submodule, configured to adjust a display mode of the text content in response to a triggering operation on the second adjustment control when the second adjustment control is displayed;

[0044] The third adjustment submodule is used to adjust the display mode of the anchor component and the text content in response to a triggering operation on the third adjustment control when the third adjustment control is displayed.

[0045] Optionally, the device further comprises:

[0046] The second determination module is used to determine, when there is a display overlap between the text content and the anchor component, a first display position of the text content on the target content before displaying target prompt information for prompting that there is a display overlap between the text content and the anchor component; determine a second display position of the anchor component on the target content; and determine whether there is a display overlap between the text content and the anchor component based on the first display position and the second display position.

[0047] Optionally, the first adjustment submodule is used to determine a third display position of other display information displayed on the target content except the anchor component, the other display information including at least one of target content description information and target content author information; determine the target display position of the anchor component according to the first display position and the third display position; and update the second display position of the anchor component to the target display position.

[0048] Optionally, the first determining module includes:

[0049] A first display submodule, configured to display a first publishing interface in response to a target content publishing operation;

[0050] A first determination submodule, configured to, in response to a target content adding operation on the first publishing interface, determine the target content corresponding to the target content adding operation, and determine the subtitles of the target content as the text content;

[0051] A second display submodule, configured to display a second publishing interface in response to a target content adding confirmation operation in the first publishing interface;

[0052] The second determining submodule is used to determine the anchor component corresponding to the anchor adding operation in response to the anchor adding operation in the second publishing interface.

[0053] Optionally, the second determination module is used to determine whether there is display overlap between the text content and the anchor component according to the first display position and the second display position in response to an anchor adding operation in the second publishing interface.

[0054] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of any one of the methods described in the first aspect.

[0055] In a fourth aspect, the present disclosure provides an electronic device, including:

[0056] a storage device having a computer program stored thereon;

[0057] A processing device is used to execute the computer program in the storage device to implement the steps of any one of the methods in the first aspect.

[0058] By adopting the above technical solution, at least the following beneficial technical effects can be achieved:

[0059] By prompting that there is a display overlap problem between the text content and the anchor component used to be displayed on the target content to be published, it is convenient for users to solve or improve the display overlap problem between the text content and the anchor component before the target content is published, so that users can at least see at least one of the anchor component and the text content when browsing the published target content, thereby increasing the visibility of at least one of the text content and the anchor component, and improving the display amount of effective information on the target content, so that users can obtain more effective information when browsing the target content, thereby improving the user's experience in viewing the target content.

[0060] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:

[0062] Figure 1 The figure is a flowchart of a method for processing target content according to an exemplary embodiment of the present disclosure.

[0063] Figure 2 It is a schematic diagram of a first publishing interface according to an exemplary embodiment of the present disclosure.

[0064] Figure 3 It is a schematic diagram of a second publishing interface according to an exemplary embodiment of the present disclosure.

[0065] Figure 4 It is a block diagram of a target content processing device according to an exemplary embodiment of the present disclosure.

[0066] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0067] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0068] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0069] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0070] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0071] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0072] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0073] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0074] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0075] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0076] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0077] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0078] When users publish videos, they can add text information, subtitles, etc., as well as anchors. Therefore, when users browse videos, if they encounter a video with both subtitles and anchors, and the background of the anchors is transparent, when the subtitles and anchors overlap, users may not be able to see the words on the anchors or the subtitles clearly.

[0079] In view of this, the embodiments of the present disclosure provide a method, device, medium and electronic device for processing target content, so as to detect in advance whether there is a display overlap problem between the text content and the anchor component used to display on the target content before the user publishes the target content. If there is a display overlap problem, the user is prompted to publish the target content after processing the display overlap problem, so that the user can at least see at least one of the anchor component and the text content when browsing the published target content.

[0080] Figure 1 This is a flowchart of a method for processing target content according to an exemplary embodiment of the present disclosure. The method for processing target content is applicable to products with a target content publishing function. Products with a target content publishing function are, for example, short video apps, film and television drama delivery platforms, image publishing products, text publishing products, etc. The method for processing target content in the embodiment of the present disclosure can be executed by an electronic device, such as a mobile phone, a tablet computer, etc. Figure 1 As shown, the target content processing method may include the following steps:

[0081] S11. Acquire target content to be published, and determine text content and anchor components to be displayed on the target content.

[0082] It should be explained that on a web page, an anchor is a web page component, and an anchor component refers to a link component within a page. By clicking on a link component, you can jump to a different location in the page, or jump to other pages. Anchor components are, for example, shopping cart anchor components, group purchase anchor components, store anchor components, store address anchor components, navigation anchor components, etc. Anchor text is displayed on the anchor component, and anchor text refers to the visible text part in the link component. Anchor text can include text, images, buttons, and other elements.

[0083] In the embodiments of the present disclosure, the target content may be a video, an image, text, a symbol, etc. The video may be a film and television video, a DIY photo video, or a pure text video, which is not limited by the present disclosure. The text content in the target content may be a subtitle, a bullet screen, or other element object including text in the video.

[0084] Optionally, the implementation method of determining the text content and anchor component for display on the target content may be: in response to the target content publishing operation, displaying the first publishing interface; in response to the target content adding operation on the first publishing interface, determining the target content corresponding to the target content adding operation, and determining the subtitles of the target content as text content. In response to the target content adding confirmation operation on the first publishing interface, displaying the second publishing interface; in response to the anchor adding operation on the second publishing interface, determining the anchor component corresponding to the anchor adding operation.

[0085] In some embodiments, the target content publishing operation may be an operation in which a user clicks a target content publishing button to enter a first publishing interface. The first publishing interface may be a page for a user to add target content to be published and edit subtitles. For example, in response to the target content publishing operation, the following information may be displayed / entered: Figure 2 The first publishing interface is shown.

[0086] In some embodiments, the target content adding operation may be an operation in which the user clicks an "add target content" button on the first publishing interface to upload or load the target content selected by the user. For example, the user may click an "add target content" button on the first publishing interface to upload the target content. The "add target content" button may also be a "post daily" button, etc., and the present disclosure does not limit the button name of this function.

[0087] In some embodiments, the target content includes subtitles. After the target content is successfully loaded on the first publishing interface, the user can edit (such as modify) the subtitles for the target content on the first publishing interface. In other embodiments, the target content does not include subtitles. After the target content is successfully loaded on the first publishing interface, the user can add subtitles to the target content on the first publishing interface. For example, add an "Edit Subtitles" box on the first publishing interface, and drag the "Edit Subtitles" box to adjust the subtitle display position. Edit the subtitles in the "Edit Subtitles" box to obtain text content. It should be noted that the subtitles of the target content can be used as the text content described in the present disclosure, and the text content includes but is not limited to text, symbols, emoticons, etc.

[0088] In some embodiments, the target content addition confirmation operation may be an operation in which the user clicks a "next" button on the first publishing interface to enter the second publishing interface. The second publishing interface may be a page for the user to add target content description information and anchor components. For example, in response to the target content addition confirmation operation, Figure 2 The first publishing interface shown jumps to Figure 3 The second publishing interface is shown.

[0089] In some embodiments, the anchor adding operation may be an operation of a user operating an anchor selection button on the second publishing interface. For example, in response to the anchor adding operation on the second publishing interface, an added anchor component for display on the target content is determined. In some embodiments, the user may edit the anchor text of the anchor on the second publishing interface.

[0090] S12: When there is display overlap between the text content and the anchor component, target prompt information for prompting that there is display overlap between the text content and the anchor component is displayed.

[0091] In some embodiments, the text content is used to be displayed in the target content display layer or a layer above it. The anchor component is used to be displayed in a layer above the target content display layer.

[0092] In some embodiments, when it is detected at any time that the text content and the anchor component are displayed overlapping, the target prompt information can be displayed. The target prompt information is used to prompt that the text content and the anchor component are displayed overlapping.

[0093] For example, when it is determined that there is display overlap between the text content and the anchor component, in response to a publishing operation on the target content, target prompt information is displayed.

[0094] The publishing operation of the target content may be an operation in which the user clicks a "publish" button on the second publishing interface to publish the target content. For example, when there is a display overlap between the text content and the anchor component, in response to the user triggering the "publish" button on the second publishing interface, the target prompt information is displayed.

[0095] In another example, when it is determined that there is display overlap between the text content and the anchor component, in response to a save operation on the target content, target prompt information is displayed.

[0096] The operation of saving the target content may be an operation in which the user clicks a "Save Draft" button on the second publishing interface to save the target content to be published. For example, when there is a display overlap between the text content and the anchor component, in response to the user triggering the operation of the "Save Draft" button on the second publishing interface, the target prompt information is displayed. The present disclosure does not limit the name of the "Save Draft" button, and its name may also be, for example, a "Save" button.

[0097] In another example, when it is determined that there is display overlap between the text content and the anchor component, target prompt information is displayed in response to a preview operation on the target content.

[0098] The preview operation of the target content may be an operation of the user triggering the preview function on the second publishing interface. For example, when the text content and the anchor component are displayed overlapping, the target prompt information is displayed in response to the user triggering the preview function on the second publishing interface.

[0099] In addition, in some embodiments, the step of displaying the target prompt information does not require a triggering operation, that is, when the text content and the anchor component are detected to have a display overlap at any time, the target prompt information can be displayed immediately. For example, in response to the anchor point adding operation in the second publishing interface, it is determined whether the text content and the anchor component have a display overlap according to the first display position and the second display position. If it is determined that the text content and the anchor component have a display overlap, the target prompt information is displayed.

[0100] In some embodiments, the target prompt information may be displayed in the form of a pop-up window or in other ways. For example, when the text content and the anchor component are displayed overlapping, in response to the user triggering the "Publish" button on the second publishing interface, the page including the target prompt information is jumped to indicate that the text content and the anchor component are displayed overlapping.

[0101] It should be noted that, in the case where there is no display overlap between the text content and the anchor component, in response to a publishing operation on the target content, the target content is directly published.

[0102] By adopting the above method of the present invention, a display overlap between text content and anchor components can be prompted before the target content is released, so that the user can deal with the display overlap before the target content is released, and then the processed target content can be released. This can increase the amount of effective information displayed on the target content after release, making it easier for the user to obtain more effective information when browsing the target content, thereby improving the user's experience in viewing the target content.

[0103] Optionally, before step S12, the target content processing method includes: determining a first display position of the text content on the target content; determining a second display position of the anchor component on the target content; and determining whether there is display overlap between the text content and the anchor component based on the first display position and the second display position.

[0104] In some embodiments, the implementation method of determining the first display position of the text content on the target content may be that, when the target content includes subtitles, optical character recognition (OCR) technology may be used to identify and determine the first display position of the text content in the target content.

[0105] In some embodiments, in response to a text editing operation on the first publishing interface, a first display position of the text content on the target content is determined.

[0106] By way of example, an implementation method for determining the first display position of text content on the target content may be, in a case where the subtitles of the target content are subtitles added to the target content by a user on a first publishing interface, a call may be made to an API interface of the target content publishing product in response to a text editing operation on the first publishing interface to obtain the position where the subtitles are added by the user, so as to obtain the first display position where the subtitles, i.e., the text content, are located.

[0107] In some embodiments, in response to an anchor adding operation on the second publishing interface, a second display position of the anchor component on the target content is determined.

[0108] By way of example, an implementation method for determining the second display position of an anchor component on target content may be, in response to an anchor adding operation on a second publishing interface, calling an API interface of a target content publishing product, identifying location information of the anchor component added by the user on the second publishing interface, and obtaining the second display position of the anchor component.

[0109] In some embodiments, if the display positions of various anchor components edited on the second publishing interface on the playback interface are fixed, then the implementation method of determining the second display position of the anchor component on the target content may be to respond to the anchor adding operation on the second publishing interface, call the API interface of the target content publishing product, obtain the fixed display position information of the anchor component, and obtain the second display position of the anchor component.

[0110] In some embodiments, when a first display position corresponding to the text content and a second display position corresponding to the anchor component are known, it can be calculated whether there is display overlap between the text content and the anchor component based on the first display position and the second display position.

[0111] In some embodiments, in response to an anchor point adding operation in the second publishing interface, a step of determining whether there is display overlap between the text content and the anchor point component according to the first display position and the second display position is triggered.

[0112] For example, if it is determined that the intersection of the first pixel point set corresponding to the first display position and the second pixel point set corresponding to the second display position is not empty, it is determined that the text content and the anchor component have display overlap. Similarly, if the intersection of the first pixel point set and the second pixel point set is empty, it is determined that the text content and the anchor component do not have display overlap.

[0113] In another example, if it is determined that the first rectangular box corresponding to the first display position and the second rectangular box corresponding to the second display position have an intersecting area, it is determined that the text content and the anchor component have a display overlap. The first rectangular box is the circumscribed rectangular box of the text content, and the second rectangular box is the circumscribed rectangular box of the anchor component. Similarly, if it is determined that the first rectangular box and the second rectangular box do not have an intersecting area, it is determined that the text content and the anchor component do not have a display overlap.

[0114] The application explains that the larger the overlapping area between the text content and the anchor component, the more serious the mutual interference between the text content and the anchor component, and the more difficult it is for the user to see the text content and the anchor component. On the contrary, the smaller the overlapping area between the text content and the anchor component, the less serious the mutual interference between the text content and the anchor component, and the easier it is for the user to see the text content and the anchor component. Therefore, the embodiment of the present disclosure also proposes an optional implementation. If it is determined that the first rectangular box corresponding to the first display position and the second rectangular box corresponding to the second display position have an intersection area, and the area of ​​the intersection area is greater than or equal to a threshold, it is determined that there is a display overlap between the text content and the anchor component. Among them, the threshold is determined according to the area of ​​the first rectangular box or the second rectangular box. For example, assuming that the area of ​​the first rectangular box is m, the threshold can be determined as Another example, assuming that the area of ​​the second rectangular box is n, the threshold can be determined as Equal value.

[0115] Optionally, the target content processing method also includes: displaying an adjustment control while or after displaying the target prompt information; in response to a triggering operation on the adjustment control, adjusting the display mode of the text content and / or anchor component to reduce the display overlapping area of ​​the text content and the anchor component.

[0116] For example, when the target prompt information is displayed in any manner, the adjustment control is displayed in response to the user confirming the operation of modifying the display overlap problem. For example, when the target prompt information is displayed in a pop-up window, the pop-up window may also include the adjustment control.

[0117] In some embodiments, in response to a trigger operation on an adjustment control, the display mode of at least one of the text content and the anchor component can be adjusted. For example, the display position of at least one of the text content and the anchor component can be adjusted to reduce the display overlapping area of ​​the text content and the anchor component.

[0118] Optionally, the adjustment control includes at least one of a first adjustment control, a second adjustment control, and a third adjustment control. The first adjustment control is used to adjust the display mode of the anchor component. The second adjustment control is used to adjust the display mode of the text content. The third adjustment control is used to adjust the display mode of the anchor component and the text content at the same time.

[0119] In some embodiments, when the first adjustment control is displayed, the display mode of the anchor component is adjusted in response to a triggering operation on the first adjustment control.

[0120] For example, the implementation method of adjusting the display mode of the anchor component may be: determining a third display position of other display information displayed on the target content except the anchor component, the other display information includes at least one of the target content description information and the target content author information. Determine the target display position of the anchor component according to the first display position and the third display position. For example, determine the target display position from the display area other than the first display position and the third display position. Update the second display position of the anchor component to the target display position.

[0121] In this way, when adjusting the display mode of the anchor component, the anchor component is not only prevented from overlapping with the text content, but also from overlapping with other display information such as the target content description information and the target content author information. This ensures the display of effective information on the target content when displaying the target content, making it easier for users to obtain more effective information when browsing the target content, and improving the user's experience of viewing the target content.

[0122] In another example, the implementation method of adjusting the display mode of the anchor component may be: based on the relative position relationship between the anchor component and the text content, at least one moving direction of the anchor component is determined. By determining the minimum moving distance corresponding to each moving direction, the target moving direction with the shortest moving distance is selected, and the display position of the anchor component is adjusted according to the target moving direction to improve the adjustment efficiency. It should be noted that the anchor component after the display position is adjusted cannot overflow the display interface.

[0123] For another example, if the background of the anchor component is transparent, and the text content is located in the next layer of the anchor component. Then the implementation method of adjusting the display mode of the anchor component can be: adjusting the background of the anchor component to a non-transparent state, and controlling the color of the background to be different from the color of the anchor text of the anchor component. In this way, the text content located in the next layer of the anchor component cannot interfere with the display of the anchor text of the anchor component through the background of the anchor component, and this method can improve the visibility of the anchor text on the anchor component.

[0124] In some embodiments, when the second adjustment control is displayed, the display mode of the text content is adjusted in response to a triggering operation on the second adjustment control.

[0125] For example, the implementation method of adjusting the display mode of the text content may be: determining a third display position of other display information displayed on the target content except the anchor component, the other display information includes at least one of the target content description information and the target content author information. According to the second display position and the third display position, determining the first target display position of the text content. For example, determining the first target display position from the display area other than the second display position and the third display position. Updating the first display position of the text content to the first target display position.

[0126] In this way, when adjusting the display mode of text content, the overlapping display of text content and anchor components can be avoided, and the overlapping display of text content and other display information such as target content description information and target content author information can also be avoided. This ensures the display amount of effective information on the target content when displaying the target content, making it easier for users to obtain more effective information when browsing the target content, and improving the user's experience of viewing the target content.

[0127] In another example, the implementation method of adjusting the display mode of the text content may be: based on the relative position relationship between the anchor component and the text content, at least one moving direction of the text content is determined. By determining the minimum moving distance corresponding to each moving direction, the target moving direction with the shortest moving distance is selected, and the display position of the text content is adjusted according to the target moving direction to improve the adjustment efficiency. It should be noted that the text content after the display position is adjusted cannot overflow the display interface.

[0128] For another example, if the text content is located in the next layer of the anchor component, then the display method of the text content can be adjusted by adjusting the text content to the previous layer of the anchor component and setting the background of the text content to a non-transparent state. In this way, the anchor component located in the next layer of the text content cannot interfere with the display of the text content through the background of the text content, which can improve the visibility of the text content.

[0129] In some embodiments, when the third adjustment control is displayed, the display manner of the anchor component and the text content is adjusted in response to a triggering operation on the third adjustment control.

[0130] In some embodiments, the display position of the text content and the display position of the anchor component can be adjusted simultaneously. For example, based on the relative position relationship between the anchor component and the text content, at least one moving direction of the text content is determined. By determining the minimum moving distance corresponding to each moving direction, the target moving direction with the shortest moving distance is selected. Assuming that the target moving direction is upward movement, and the corresponding moving distance is Y. Then the display position of the text content can be moved upward, and the moving distance can be At the same time, move the display position of the anchor component downward. The moving distance can be Compared with only moving the display position of the text content upward, or only moving the display position of the anchor component downward, etc., where the moving distance is Y, this method of simultaneously moving the display position of the anchor component and the text content is not only more efficient, but also can reduce the range of change in the display position of the anchor component and the text content, and has less impact on the information layout on the target content.

[0131] Based on the same inventive concept, the embodiment of the present disclosure also provides a target content processing device, such as Figure 4 As shown, the target content processing device 400 includes:

[0132] A first determination module 410 is used to obtain target content to be published, and determine text content and anchor components to be displayed on the target content;

[0133] The prompt module 420 is used to display target prompt information for prompting that the text content and the anchor component are overlapped in display when the text content and the anchor component are overlapped in display.

[0134] By adopting the above-mentioned device, by prompting that there is a display overlap problem between the text content and the anchor component used to be displayed on the target content, it is convenient for users to solve or improve the display overlap problem between the text content and the anchor component before the target content is released, so that users can at least see at least one of the anchor component and the text content when browsing the published target content, thereby increasing the visibility of at least one of the text content and the anchor component, and improving the amount of effective information displayed on the target content, so that users can obtain more effective information when browsing the target content, and improve the user's experience of viewing the target content.

[0135] Optionally, the prompt module 420 is used to display the target prompt information in response to a publishing operation on the target content when there is a display overlap between the text content and the anchor component.

[0136] Optionally, the device 400 further includes:

[0137] A display module, used for displaying an adjustment control while or after displaying the target prompt information;

[0138] An adjustment module is used to adjust the display mode of the text content and / or the anchor component in response to a triggering operation on the adjustment control, so as to reduce the display overlap area of ​​the text content and the anchor component.

[0139] Optionally, the display module is used to display at least one of the following adjustment controls: a first adjustment control for adjusting the anchor component, a second adjustment control for adjusting the text content, and a third adjustment control for adjusting both the anchor component and the text content;

[0140] The adjustment module comprises:

[0141] a first adjustment submodule, configured to adjust a display mode of the anchor component in response to a triggering operation on the first adjustment control when the first adjustment control is displayed;

[0142] a second adjustment submodule, configured to adjust a display mode of the text content in response to a triggering operation on the second adjustment control when the second adjustment control is displayed;

[0143] The third adjustment submodule is used to adjust the display mode of the anchor component and the text content in response to a triggering operation on the third adjustment control when the third adjustment control is displayed.

[0144] Optionally, the device further comprises:

[0145] The second determination module is used to determine, when there is a display overlap between the text content and the anchor component, a first display position of the text content on the target content before displaying target prompt information for prompting that there is a display overlap between the text content and the anchor component; determine a second display position of the anchor component on the target content; and determine whether there is a display overlap between the text content and the anchor component based on the first display position and the second display position.

[0146] Optionally, the first adjustment submodule is used to determine a third display position of other display information displayed on the target content except the anchor component, the other display information including at least one of target content description information and target content author information; determine the target display position of the anchor component according to the first display position and the third display position; and update the second display position of the anchor component to the target display position.

[0147] Optionally, the first determining module 410 includes:

[0148] A first display submodule, configured to display a first publishing interface in response to a target content publishing operation;

[0149] A first determination submodule, configured to, in response to a target content adding operation on the first publishing interface, determine the target content corresponding to the target content adding operation, and determine the subtitles of the target content as the text content;

[0150] A second display submodule, configured to display a second publishing interface in response to a target content adding confirmation operation in the first publishing interface;

[0151] The second determining submodule is used to determine the anchor component corresponding to the anchor adding operation in response to the anchor adding operation in the second publishing interface.

[0152] Optionally, the second determination module is used to determine whether there is display overlap between the text content and the anchor component according to the first display position and the second display position in response to an anchor adding operation in the second publishing interface.

[0153] Based on the same concept, the present disclosure also provides a non-transitory computer-readable medium on which a computer program is stored. When the program is executed by a processing device, the steps of any of the above-mentioned target content processing methods are implemented.

[0154] Based on the same concept, the present disclosure also provides an electronic device, including: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of any of the above-mentioned target content processing methods.

[0155] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0156] like Figure 5 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0157] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0158] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0159] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0160] In some embodiments, the electronic device can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0161] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0162] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the target content to be published, determines the text content and anchor component to be displayed on the target content; and, when there is a display overlap between the text content and the anchor component, displays target prompt information for prompting that there is a display overlap between the text content and the anchor component.

[0163] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0164] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0165] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, limit the module itself.

[0166] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0167] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0168] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0169] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0170] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims

1. A target content processing method, characterized in that: The method comprises: Acquire target content to be published, and determine text content and anchor components for displaying on the target content; In the case where there is display overlap between the text content and the anchor component, target prompt information for prompting that there is display overlap between the text content and the anchor component is displayed.

2. The method according to claim 1, characterized in that When the text content and the anchor component are displayed overlapping, displaying target prompt information for prompting that the text content and the anchor component are displayed overlapping includes: In the case where there is display overlap between the text content and the anchor component, the target prompt information is displayed in response to a publishing operation on the target content.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: While or after displaying the target prompt information, displaying an adjustment control; In response to a triggering operation on the adjustment control, the display mode of the text content and / or the anchor component is adjusted to reduce a display overlap area between the text content and the anchor component.

4. The method according to claim 3, characterized in that The display adjustment control comprises: Displaying at least one of the following adjustment controls: a first adjustment control for adjusting the anchor component, a second adjustment control for adjusting the text content, and a third adjustment control for adjusting the anchor component and the text content simultaneously; The adjusting, in response to the triggering operation on the adjustment control, the display mode of the text content and / or the anchor component includes: When the first adjustment control is displayed, in response to a triggering operation on the first adjustment control, adjusting the display mode of the anchor component; When the second adjustment control is displayed, in response to a triggering operation on the second adjustment control, adjusting the display mode of the text content; In the case where the third adjustment control is displayed, in response to a triggering operation on the third adjustment control, the display manner of the anchor component and the text content is adjusted.

5. The method according to claim 4, characterized in that In the case where the text content and the anchor component are displayed overlapping, before displaying target prompt information for prompting that the text content and the anchor component are displayed overlapping, the method includes: Determining a first display position of the text content on the target content; Determining a second display position of the anchor component on the target content; According to the first display position and the second display position, it is determined whether there is display overlap between the text content and the anchor component.

6. The method according to claim 5, characterized in that The adjusting the display mode of the anchor component includes: Determine a third display position of other display information displayed on the target content except the anchor component, wherein the other display information includes at least one of target content description information and target content author information; Determining a target display position of the anchor component according to the first display position and the third display position; The second display position of the anchor component is updated to the target display position.

7. The method according to claim 5 or 6, characterized in that: The determining of the text content and the anchor component for displaying on the target content includes: In response to the target content publishing operation, displaying a first publishing interface; In response to a target content adding operation on the first publishing interface, determining the target content corresponding to the target content adding operation, and determining the subtitles of the target content as the text content; In response to a target content adding confirmation operation on the first publishing interface, displaying a second publishing interface; In response to an anchor adding operation on the second publishing interface, the anchor component corresponding to the anchor adding operation is determined.

8. The method according to claim 7, characterized in that The determining, according to the first display position and the second display position, whether there is display overlap between the text content and the anchor component includes: In response to the anchor adding operation in the second publishing interface, it is determined whether there is display overlap between the text content and the anchor component according to the first display position and the second display position.

9. A target content processing device, characterized in that: The device comprises: A first determination module is used to obtain target content to be published, and determine text content and anchor components for displaying on the target content; The prompt module is used to display target prompt information for prompting that the text content and the anchor component are overlapped in display when the text content and the anchor component are overlapped in display.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method described in any one of claims 1 to 8 are implemented.

11. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 8.