Content item uploading method and device, electronic equipment, storage medium and product

By providing a content item upload control in content item generation products, which automatically identifies and corrects errors, the complexity of operations when users upload content that does not meet the requirements is solved, thus improving user experience and efficiency.

CN121657902APending Publication Date: 2026-03-13ALIBABA CLOUD COMPUTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing content generation products are complex to operate when users upload content that does not meet the input requirements, which affects the user experience and lacks effective error correction guidance.

Method used

Provides a content upload control that automatically identifies the content type by detecting user input, displays error correction prompts when the content does not meet the requirements, and provides adjustment options to interactively help users adjust the content to meet the input requirements.

Benefits of technology

It reduces the complexity of user operations, improves input efficiency and user experience, and ensures that content uploads are completed smoothly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121657902A_ABST
    Figure CN121657902A_ABST
Patent Text Reader

Abstract

The invention provides a content item uploading method and device, electronic equipment, a storage medium and a product, and belongs to the technical field of artificial intelligence. The method comprises the steps of obtaining a target content item with first attribute information based on an input operation detected in a control area of a content item uploading control; under the condition that the first attribute information does not meet the preset condition, an error correction prompt control is displayed, and at least one adjustment option aiming at the error reason is displayed on the error correction prompt control; in response to a selection operation for any adjustment option, adjusting the target content item with the first attribute information to obtain a target content item with second attribute information, the second attribute information meeting a preset condition; and uploading the target content item with the second attribute information. When the uploaded content item does not meet the input requirement, the content item can be adjusted to meet the input requirement without the help of a third-party tool, so that the complexity of uploading operation is reduced, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and in particular to a method, apparatus, electronic device, storage medium, and product for uploading content items. Background Technology

[0002] With the development of artificial intelligence technology, various cloud vendors have launched content generation products. Users can use these products to process documents, images, videos, and other content to generate content that meets their needs. Typically, these content generation products are not free and require a purchase. However, to help users understand the functionality of these products before purchasing, various cloud vendors offer free trials. Users can try these content generation products for free through the user interfaces provided by each cloud vendor without registering an account.

[0003] When using content item generation products, users need to upload the content items to be processed through the product's interface. Typically, these products have requirements regarding the format, size, and resolution of the content items. If the uploaded content does not meet these requirements, it cannot be processed. Users will need to use third-party tools to edit and convert the content, and then try uploading the adjusted content again until it meets the input requirements.

[0004] For content-generating products, the user experience is crucial. A positive experience is essential for users to confirm their purchase intention before making a purchase. Conversely, a poor experience hinders conversion. However, existing content upload methods require users to make multiple adjustments when content does not meet input requirements, leading to high complexity and significantly impacting the user experience. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, storage medium, and product for uploading content items, which can reduce operational complexity when the uploaded content items do not meet the input requirements. The technical solution is as follows:

[0006] Firstly, a method for uploading content items is provided, the method comprising:

[0007] The operation interface is displayed, and the operation interface displays a content item upload control;

[0008] Based on the input operation detected in the control area of ​​the content item upload control, a target content item is obtained, and the target content item has first attribute information;

[0009] If the first attribute information does not meet the preset conditions, an error correction prompt control is displayed. The error correction prompt control displays at least one adjustment option for the cause of the error. Each adjustment option corresponds to an adjustment method. The preset conditions are the input requirements of the content type to which the target content item belongs.

[0010] In response to the selection operation for any adjustment option, the target content item with first attribute information is adjusted to obtain a target content item with second attribute information, wherein the second attribute information meets the preset conditions;

[0011] Upload the target content item that has the second attribute information.

[0012] Secondly, a content item uploading device is provided, the device comprising:

[0013] The display module is used to display the operation interface, which displays a content item upload control.

[0014] The acquisition module is used to acquire a target content item based on the input operation detected in the control area of ​​the content item upload control, wherein the target content item has first attribute information;

[0015] The display module is also used to display an error correction prompt control when the first attribute information does not meet the preset conditions. The error correction prompt control displays at least one adjustment option for the cause of the error, and each adjustment option corresponds to an adjustment method. The preset conditions are the input requirements of the content type to which the target content item belongs.

[0016] An adjustment module is used to adjust a target content item with first attribute information in response to a selection operation for any adjustment option, so as to obtain a target content item with second attribute information, wherein the second attribute information meets the preset conditions.

[0017] The upload module is used to upload the target content item with the second attribute information.

[0018] Thirdly, an electronic device is provided, including a processor and a memory; the memory stores at least one piece of program code; the at least one piece of program code is called and executed by the processor to implement the content item uploading method described in the first aspect.

[0019] Fourthly, a computer-readable storage medium is provided, wherein at least one computer program is stored therein, and when executed by a processor, the at least one computer program is capable of implementing the content item uploading method described in the first aspect.

[0020] Fifthly, a computer program product is provided, the computer program product including a computer program, which, when executed by a processor, is capable of implementing the content item uploading method described in the first aspect.

[0021] The beneficial effects of the technical solutions provided in this application are:

[0022] For products with input requirements, a content upload control can be provided on the product's interface. This control allows users to upload target content items to be processed, which have first attribute information. Typically, the product's capabilities are limited, and its processing capacity varies for different content types. To better handle different content types, different input requirements are set for each. The first attribute information of the target content item entered by the user may or may not meet the input requirements of its content type. When the first attribute information does not meet the input requirements of the target content type, this application provides an error correction control. This control displays the reason why the first attribute information does not meet preset conditions and at least one adjustment option for that reason. Each adjustment option corresponds to an adjustment method. When a user selects any adjustment option, the target content item with the first attribute information can be adjusted based on the adjustment method corresponding to the selected option, resulting in a target content item with second attribute information. This second attribute information meets the input requirements of the target content type, and the target content item with the second attribute information can be uploaded. By adopting the solution of this application, when the target content entered by the user does not meet the input requirements, the solution can provide the user with assistance and guidance, and provide the user with at least one adjustment method. By interacting with the user, the solution can obtain the processing method selected by the user to generate compliant content, thereby reducing the complexity of the user's upload operation, improving input efficiency and ease of operation, ensuring the smooth completion of the user's input operation, and improving the smoothness of the experience and the completion rate of the task. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a flowchart of the content item upload method provided by the relevant technology;

[0025] Figure 2This is a flowchart of a content item uploading method provided in an embodiment of this application;

[0026] Figure 3 This is a flowchart of a content item uploading method provided in an embodiment of this application;

[0027] Figure 4 This is an interface diagram of a content item generation product provided in an embodiment of this application;

[0028] Figure 5 This is a flowchart of another content item uploading method provided in the embodiments of this application;

[0029] Figure 6 This is a schematic diagram of the content item upload control provided in this application embodiment in different states;

[0030] Figure 7 These are illustrations showing the display effects of several types of icons in the hover state according to embodiments of this application;

[0031] Figure 8 This is an interface diagram of the upload operation provided in an embodiment of this application;

[0032] Figure 9 This is an interface diagram of the drag-and-drop operation provided in the embodiments of this application;

[0033] Figure 10 This is an interface diagram of the paste operation provided in an embodiment of this application;

[0034] Figure 11 This describes the display effect on the operation interface when content items of several content types provided in the embodiments of this application are normally entered;

[0035] Figure 12 This is a schematic diagram of the error correction prompt control provided in this application embodiment when the content item is an image type;

[0036] Figure 13 This is a schematic diagram of the error correction prompt control provided in this application embodiment when the content item is an image link type;

[0037] Figure 14 This is a schematic diagram of the error correction prompt control provided in this application embodiment when the content item is a file type;

[0038] Figure 15 This is a schematic diagram of the image input process provided in an embodiment of this application;

[0039] Figure 16 This is an example of a multi-image link input effect provided in an embodiment of this application;

[0040] Figure 17 This is another example of a multi-image link input effect provided in this application embodiment;

[0041] Figure 18 This is another example of a multi-image link input effect provided in this application embodiment;

[0042] Figure 19 This is a schematic diagram of an application interface provided in an embodiment of this application;

[0043] Figure 20 This is a schematic diagram of another application interface provided in an embodiment of this application;

[0044] Figure 21 This is a schematic diagram of the structure of a content item uploading device provided in an embodiment of this application;

[0045] Figure 22 This is a structural block diagram of an electronic device provided in an exemplary embodiment of this application. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0047] It is understood that the terms "each," "multiple," and "any" used in the embodiments of this application, etc., mean that "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the corresponding multiples. For example, multiple words include 10 words, and "each word" refers to each of the 10 words, while "any word" refers to any one of the 10 words.

[0048] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0049] Before implementing the embodiments of this application, the terms involved in the embodiments of this application will be explained first.

[0050] An input box, also known as a text box or input field, is a common control in various user interfaces such as web pages, applications, and operating system interfaces. Its main function is to allow users to enter text or data for subsequent processing or storage. This application refers to the input box as a content item upload control.

[0051] Content item recognition refers to the process of analyzing and understanding multimedia content (such as text, images, audio, video, etc.) using computer technology, that is, using artificial intelligence (AI) and machine learning (ML) to automatically identify and classify key information in content items.

[0052] Interactive generation refers to a process in which users can interact with a system or software in real time during the result realization process, and the system immediately generates a response or result based on the user's input or feedback, thereby meeting the user's requirements.

[0053] The Visual Intelligence Open Platform is a comprehensive visual AI capability platform that provides users with easy-to-use and universally accessible visual APIs (Application Programming Interfaces) to help enterprises quickly build visual intelligence technology application capabilities.

[0054] Visual API services are services based on artificial intelligence technologies, particularly computer vision and deep learning, that can understand and interpret image or video content. Visual API services are provided to users in the form of APIs, allowing them to integrate image recognition, object detection, scene analysis, and other functions into their applications without needing to deeply understand the underlying machine learning algorithms.

[0055] Artificial intelligence (AI) is the theory, methods, technology, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve better results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to have perception, reasoning, and decision-making capabilities. AI technology is a comprehensive discipline involving a wide range of fields, encompassing both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly include computer vision, speech processing, natural language processing, and machine learning / deep learning.

[0056] With the research and advancement of artificial intelligence (AI) technology, AI is being researched and applied in various fields, such as smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, autonomous driving, robotics, smart healthcare, and smart customer service. It is believed that with further technological development, AI will be applied in even more fields and play an increasingly important role. The solutions provided in this application's embodiments involve AI technologies such as computer vision, machine learning / deep learning, etc.

[0057] Visual and AI open capabilities, as fundamental capabilities of various cloud vendors in the fields of artificial intelligence and machine learning, provide users with basic and rich API services. Currently, most content generation products from various cloud vendors offer free trials. Users confirm their purchase intention after trying the product before paying for it. When trying these products, users need to upload content items to be processed to the product's interface. If the uploaded content item meets the input requirements, it is processed to obtain content that meets the user's needs.

[0058] Figure 1 A flowchart of the content item upload method provided by the relevant technology is shown. See [link / reference] Figure 1 When a user uploads images or files through the interface, if the uploaded content has issues such as format, quality, or size that do not meet the input requirements, the user needs to exit the current operation and use other tools to edit or convert the content to obtain an adjusted content. The adjusted content is then re-uploaded. If the adjusted content meets the input requirements, the upload is complete. If the adjusted content still does not meet the input requirements, it needs to be adjusted again until it meets the input requirements.

[0059] By analyzing the content upload process of content item generation products from various cloud vendors currently on the market, it can be found that these products have a weak user experience and suffer from the following problems:

[0060] 1. Generally, it only supports two input methods: local upload and paste, which is not rich and flexible enough.

[0061] 2. Within the same product from the same cloud vendor, different content items have different interaction methods. For example, the input box for an image can be displayed directly, while the input box for an image link needs to be clicked to appear. Due to the inconsistent interaction methods for different content items, the user experience is poor.

[0062] 3. Generally, only two content items can be entered (such as two images, two image links, two files, etc.), which has poor expansion capabilities.

[0063] 4. The interface has limited transparency regarding the input requirements for different content items. When there is an error in the input of a content item, there is a lack of assistance for the user. The user needs to check the documentation to understand the input requirements for different content items, and then use third-party tools to adjust the content items that do not meet the input requirements. After obtaining the adjusted content items, the user can try to upload the adjusted content items. Uploading content items may require multiple upload operations, making the upload process relatively complex and inefficient.

[0064] While some professional image processing products on the market offer a wider range of input methods compared to cloud vendors, they generally handle only a limited range of content types, typically limited to images. They cannot process or recognize other content types such as image links or files. Furthermore, these products lack input error correction capabilities. When user input does not meet the requirements, they only provide an error message without guiding the user to complete the input. Users are required to use third-party tools to adjust the incorrect input before attempting to upload the corrected content, resulting in a complex and inefficient upload process.

[0065] against Figure 1 This application illustrates the problems with content item uploading methods provided by related technologies. This application provides a content item uploading method, see [link to relevant documentation]. Figure 2 When users upload images or files on the interface, if the uploaded content has issues such as format, quality, or size that do not meet the input requirements, the system can interact with the user to correct these problems and generate compliant content that meets the input requirements, thus completing the upload.

[0066] Figure 3 for Figure 2 For a more detailed flowchart of the content item upload method shown, please refer to [link / reference]. Figure 3 This application provides a content item upload control that supports three input operations: click, paste, and drag-and-drop. For the paste operation, it can automatically identify the content type of the item to be uploaded and then guide the user based on the identified content type, for example... Figure 10The content upload control displays a type icon corresponding to the content type in its control area, and can also display operation guidance information such as "right-click or press Ctrl+V". If the uploaded content meets the input requirements, the input is completed; if the input content does not meet the requirements, an error correction control is displayed, showing the reason why the content does not meet the input requirements and at least one adjustment option for the reason. Based on at least one adjustment option, the control interacts with the user to obtain the adjustment option selected, and then adjusts the content item according to the adjustment method corresponding to the user's selected adjustment option to obtain a compliant content item that meets the input requirements, thus completing the content upload.

[0067] Figure 4 This is a schematic diagram of the user interface of a content generation product using the content item uploading method provided in this application embodiment. See also: Figure 4 The user interface includes an input area and an output area. The input area includes an input switching area, a sample image area, and an input box (i.e., a content upload control). The input switching area allows switching between automatic color matching, color swatch color matching, and reference image color matching. The sample image area displays example images, and the input box is used to input the content to be processed. The input box can display prompts such as "Support uploading, dragging, or pasting images or image URLs here." The input area also includes parameter setting controls, such as color recommendations and color matching settings. The output area includes a result switching area and a result / content display area. The result switching area switches between the original image and the result image, while the result / content display area displays either the original image or the result image processed by the product, depending on the image selected in the result switching area.

[0068] This application improves upon traditional input boxes by adding error messages and operation interception functions to their existing features. Based on these added functions, an interactive, intelligent solution for "content correction and regeneration" is provided, ensuring the smooth completion of user input tasks and enhancing user experience and trust. Furthermore, the input box provided in this application, as a general-purpose input component, offers significant flexibility and scalability in its placement and layout within the user interface.

[0069] Compared with the solutions of related technologies, the solution of this application has at least the following improvements:

[0070] Improvement point 1: Interactive content correction and generation

[0071] In any information input or content editing process, the core user need is to complete the operation and obtain the expected result. Therefore, the lack of necessary prompts, abnormal interruptions, and unclear guidance during the process seriously affect the user experience. This application, when the user inputs abnormal or does not meet the input requirements, not only provides help and guidance to the user and informs the user of the reason for the error, but also supports the adjustment of the content that does not meet the input requirements. It proactively provides the user with possible adjustment solutions and generates compliant content that meets the input requirements in an interactive manner, ensuring the smooth completion of the user's input operation and improving the smoothness of the experience and the completion rate of the task.

[0072] Improvement point two: Autonomous and accurate identification of content items

[0073] The input box (i.e., content item upload control) provided in this application supports various input operations (including upload, drag and drop, and paste operations) for content items of various content types. For the paste operation, it can also automatically identify the content type of the copied content item and then display an "icon with graphical guidance" in the input box to remind the user of the content type of the content item to be pasted, thereby providing the user with a more convenient, efficient, natural, and reliable input experience.

[0074] In summary, this application helps users complete their operational goals more conveniently, efficiently, and naturally through efficient and flexible content input, autonomous and accurate content recognition, and interactive content correction and generation.

[0075] This embodiment provides a method for uploading content items. Taking an electronic device executing this embodiment as an example, see [link to embodiment]. Figure 5 The method flow provided in this application embodiment includes:

[0076] 501. Display the operation interface, which displays a content upload control.

[0077] The method provided in this application can be applied to various content item generation products, as well as applications with content item input requirements such as social applications and email. The operation interface can be the application interface of an application, or a product introduction interface provided by a cloud vendor for its content item generation product, etc. The operation interface displays a content item upload control. This content item upload control supports multiple input operations, including click, drag-and-drop, and paste operations. The content item upload control also supports multiple content types, including image types, image link types, and file types. The operation interface also displays multiple type icons, each corresponding to a content type; for example, an image icon for image types, an image link icon for image link types, and a file icon for file types.

[0078] In this embodiment, the content item upload control has multiple states, including a first state, a second state, and a third state. The first state, also known as the default state, refers to the state of the content item upload control when no operation is performed. The second state, also known as the hover state, refers to the state of the content item upload control when the cursor of an input device (such as a mouse or keyboard) hovers over its control area. The third state, also known as the active state, refers to the state of the content item upload control when an input device performs an activation operation on its control area, such as a click, drag, or paste operation. This application can determine the state of the content item upload control based on the detected operation in its control area, and then display it using different styles according to its state to distinguish content item upload controls in different states.

[0079] Specifically, this includes, but is not limited to, the following situations:

[0080] In the first scenario, when no operation is detected in the control area of ​​the content item upload control, the content item upload control is determined to be in the first state, and the content item upload control in the first state is displayed using the first display style.

[0081] The first display style can be to gray out the control area of ​​the content upload control. Since no operation has been performed on the content upload control at this time, graying it out indicates that the content upload control is in a no-input state. For example, Figure 6 When the input box is in its default state, the input box is grayed out.

[0082] In the second scenario, when a hover operation of an input device is detected in the control area of ​​the content upload control, it is determined that the content upload control is in the second state, and the content upload control in the second state is displayed using the second display style.

[0083] The second display style can be to highlight the border of the content upload control's area, for example, by displaying the border of the content upload control's area in blue. Even though no input operation is being performed on the content upload control at this time, the user can still perform input operations on the content upload control at any time by hovering the cursor over the control area. Highlighting the border of the content upload control's area indicates that the content upload control is in an input-ready state. For example... Figure 6 When the input box is hovered, the border of the input box is highlighted to provide feedback on its current state.

[0084] In the third scenario, if an input device activation operation is detected in the control area of ​​the content upload control, it is determined that the content upload control is in the third state, and the content upload control in the third state is displayed using the third display style.

[0085] The third display style can be, based on user actions, highlighting the border of the content upload control's area, displaying a type icon within the control area, or displaying a content recognition area on the control area. For example... Figure 6 When the input box is active, if the user performs a click operation, the border of the input box will be highlighted; if the user performs a copy operation, the content type of the copied content item will be automatically identified, and the corresponding type icon will be displayed; if the user performs a drag operation, a content recognition area will be displayed on the input box.

[0086] Optionally, the multiple type icons displayed on the user interface in this embodiment can indicate the input requirements corresponding to the content type. For the multiple type icons displayed on the user interface, when an input device is detected hovering over the icon area of ​​any type icon, a fourth display style can be used to display the type icon. This fourth display style can be to highlight the hovered type icon and gray out other non-hovered type icons. When an input device is detected hovering over the icon area of ​​any type icon, the input requirements for the content type corresponding to that type icon can also be displayed. For example... Figure 7 When the mouse hovers over the image icon area, a pop-up window will display the image type input requirements, such as "Image format: JPEG, JPG, PNG; Image size: less than 10MB; Image resolution: unlimited resolution / greater than 15*15, less than 4096*4096"; when the mouse hovers over the image link icon area, a pop-up window will display the image link type input requirements, such as "Right-click the image / file and click 'Copy image address'"; when the mouse hovers over the file icon area, a pop-up window will display the file type input requirements, such as "File format: PDF; File size: less than 10MB; Document length: less than 3 pages".

[0087] 502. Based on the input operation detected in the control area of ​​the content item upload control, obtain the target content item, which has first attribute information.

[0088] The first attribute information can be determined based on the content type of the target content item. If the content type of the target content item is an image, the first attribute information includes compliance, format, size, resolution, etc. If the content type of the target content item is an image link, the first attribute information includes whether the link address includes image information. If the content type of the target content item is a file, the first attribute information includes format, size, etc.

[0089] The content input control in this application supports various input operations, including click, paste, and drag-and-drop operations. For different input operations, the method for obtaining the target content item differs based on the input detected in the control area for the content upload operation. Specifically, this may include the following scenarios:

[0090] The first scenario involves a click operation.

[0091] In this embodiment, the control area of ​​the content item upload control may include a first sub-area, which may display local upload options. When the input operation is a click operation on the local upload option, a content item upload window can be displayed in response to the click operation. This content item upload window displays various content items stored locally. When a user's selection operation on any content item is detected, the selected content item is taken as the target content item. For example... Figure 8 When a click on the local upload option is detected, multiple content items stored locally are displayed, including images and files. When a user selects any image, the selected image is retrieved as the target content item.

[0092] The second scenario involves drag-and-drop input.

[0093] In this embodiment, the control area of ​​the content item upload control may further include a second sub-area, which may be the same as or different from the first sub-area. This second sub-area is used to input the content item to be processed. The content item upload control in this embodiment can detect operations previously performed by the user. When a drag operation on any content item is detected, it can be determined that the input operation is a drag operation, and a content recognition area is displayed above the second sub-area. This content recognition area is the area used to obtain the dragged content item based on the drag operation. This content recognition area is larger than and can cover the second sub-area of ​​the control area of ​​the content upload control. In response to detecting a release operation for the dragged content item in the content recognition area, the dragged content item is taken as the target content item. For example... Figure 9 When a drag operation is detected on any image, a content recognition area is displayed. When a release operation is detected on the image within the content recognition area, the image is identified as the target content item.

[0094] The third scenario involves the input operation being a paste operation.

[0095] The content item upload control in this embodiment can detect previous user operations. When a copy operation on any content item is detected, it can determine that the input operation is a paste operation, thereby obtaining the content type of the content item, and then displaying a paste operation prompt in the second sub-area. This paste operation prompt can be "right-click or Ctrl+V". Alternatively, a type icon corresponding to the content type of the content item can also be displayed in the second sub-area. For example... Figure 10 If the content type of the item being copied is an image, an image icon will be displayed in the input box; if the content type of the item being copied is an image link, an image link icon will be displayed in the input box; if the content type of the item being copied is a file, a file icon will be displayed in the input box.

[0096] 503. If the first attribute information does not meet the preset conditions, display an error correction prompt control, which displays at least one adjustment option for the cause of the error.

[0097] Once the target content item is obtained, the preset conditions corresponding to the content type to which the target content item belongs are obtained. These preset conditions are the input requirements for the content type to which the target content item belongs. Then, the first attribute information of the target content item is compared with the preset conditions to determine whether the target content item has the input requirements.

[0098] In one possible implementation, when the first attribute information meets preset conditions, the input operation is completed, and the target content item with the first attribute information is directly uploaded. Optionally, after the input operation is completed, the content information of the entered target content item, such as the content name and link address, can be displayed; the type icon of the content type to which the target content type belongs can be highlighted; and a re-upload control can be displayed to support the user to re-enter the content item to be processed. For example... Figure 11 If the target content item is an image, the image name "I am a test image" and a re-upload control can be displayed, and the image icon can be highlighted; if the target content item is an image link (i.e., image URL type), the link address and a re-upload control can be displayed, and the image link icon can be highlighted; if the target content item is a file, the file name and a re-upload control can be displayed, and the file icon can be highlighted.

[0099] In another possible implementation, when the first attribute information does not meet preset conditions, an error correction control can be displayed. This control can show the reason why the first attribute information does not meet the preset conditions, at least one adjustment option for the reason, and each adjustment option corresponds to an adjustment method. Since the reasons for input errors are different for different content types, the adjustment options displayed for different content types and error reasons are different.

[0100] See Figure 12 The target content item is the image type. Error reasons for incorrect image type input can include size, compliance, and format issues. For any image, if the error reason is "Image resolution exceeds 5000 pixels, exceeding size requirements," the displayed adjustment options can be "Fit," "Stretch," "Crop," or "Fit." If the error reason is "Image size greater than 7.4M, exceeding the 5M requirement," the display options for "Lossless Compression" and "Reduce Resolution" will be shown. If the error reason is "Uploaded image contains sensitive information, please re-upload," the display options for content one, content two, and content three will be shown. If the error reason is "Uploaded image format is AI, please convert," the display options for "JPEG," "JPG," and "PNG" will be shown.

[0101] See Figure 13 The target content item is an image URL. Errors for image URLs can include issues such as an abnormal image URL. For any image URL, if the error message is "Unable to recognize that the uploaded image URL contains image information, please re-paste according to the instructions," then the following adjustment options will be displayed: "Select the image in the webpage," "Right-click and select 'Copy image link'," and "Paste in the input box."

[0102] See Figure 14 The target content item is the file type. Error reasons for the file type can include format, size, etc. For any file, if the error reason for entering the error is "PDF file only supports 3 pages or less, file exceeds the limit", then the adjustment options corresponding to "first three pages", "from _ to _", and "last three pages" will be displayed. If the error reason for entering the error is "Excel file only supports processing one page, please select", then the adjustment options corresponding to "first page", "second page", and "page _" will be displayed.

[0103] 504. In response to the selection operation for any adjustment option, adjust the target content item with first attribute information to obtain a target content item with second attribute information.

[0104] Based on at least one displayed adjustment option, the user can select any adjustment option according to their needs. When a user's selection of any adjustment option is detected, the target content item with the first attribute information is adjusted according to the user's selected adjustment option to obtain a target content item with the second attribute information. Since the second attribute information meets preset conditions, the adjusted target content item with the second attribute information can be uploaded.

[0105] Optionally, the error correction control can also display "Generate" and "Cancel" options. When a user selects any adjustment option, and then selects the "Generate" option, the target content item with the first attribute information can be adjusted according to the adjustment method corresponding to the user's selected option. If the user wants to reselect the adjustment method for the target content item after a user selects any adjustment option, they can choose the "Cancel" option to cancel the selected adjustment option.

[0106] The complete process of interactive generation based on the error correction prompt control described above will be explained below in conjunction with... Figure 15 Please provide an explanation. See also... Figure 15 After a user uploads an image, if the image is detected as not meeting the input requirements, an error correction control is displayed. The error message indicates that the image size is greater than 7.4MB, exceeding the 5MB requirement, and the displayed adjustment options include "lossless compression" and "reduce resolution." If the user selects the "reduce resolution" option, and then selects a different option, the image is adjusted using the reduced resolution method to obtain the adjusted image. The adjusted image and the "complete" option are then displayed. Finally, if the user selects the "complete" option, the image input is complete.

[0107] In another embodiment of this application, after adjusting the target content item with the first attribute information to obtain the target content item with the second attribute information, the content attribute information of the target content item can also be displayed, and the content type icon of the target content item can be displayed using a fourth display style.

[0108] The content attribute information of the target content item is displayed, including but not limited to the following:

[0109] In the first scenario, when the content type of the target content item is an image, at least one of the image name and image thumbnail corresponding to the target content item will be displayed.

[0110] In the second scenario, when the content type of the target content item is an image link, at least one of the link address and image thumbnail corresponding to the target content item will be displayed.

[0111] In this embodiment, the content upload control supports the input of two image links. See also... Figure 16 After entering one image link, the interface displays the input box and the URL of the uploaded image. After entering two image links, the interface displays the URLs of both uploaded image links, but the input box is not displayed. See also Figure 17 After entering one image link, the interface displays the link address and corresponding image thumbnail of the uploaded image. After entering two image links, the interface displays the link addresses and image thumbnails of both uploaded image links.

[0112] In this embodiment, the content item upload control also supports input of multiple content items. Considering the space and layout of the interface, when the number of target content items does not exceed a preset number, such as 3, the link address and image thumbnail corresponding to the target content item can be displayed; when the number of target content items exceeds the preset number, the image thumbnail corresponding to the target content item can be displayed. See also Figure 18 When a large number of image links are entered, due to limited screen space, thumbnails of the images corresponding to each entered image link will be displayed.

[0113] Furthermore, when the number of target content items exceeds a preset number, after displaying the image thumbnails of the target content items, if the cursor of the input device is detected hovering over the image thumbnail corresponding to the target content item, a pop-up window can be displayed on the image thumbnail to show the link address of the target content item.

[0114] In the third scenario, when the content type of the target content item is a file, at least one of the following is displayed: the file name, the file type icon, and the thumbnail representing the document.

[0115] 505. Upload target content items with second attribute information.

[0116] Once the target content item with second attribute information that meets the input requirements is obtained through the above steps, it can be uploaded so that the target content item can be processed.

[0117] The method provided in this application is applicable not only to content item generation products, but also to applications with input requirements, such as social applications and email applications. For example, see [link to relevant documentation]. Figure 19When the input image is too large, exceeding 20MB, the system can directly prompt the user, "Image size exceeds 20MB; it is recommended to use attachments for large images." See also... Figure 20 When the input image is too large, an error correction control can be displayed, showing the error reason: "Image size is 23M, exceeding 20M. Regenerate or use attachments according to the prompt." Along with the error reason, adjustment options for "lossless compression" and "reduce resolution" will also be displayed. Responding to the user's selection of any adjustment option, the image can be processed based on the selected adjustment method to obtain an image that meets the input requirements.

[0118] The specific technical effects of the solution in this application embodiment are as follows:

[0119] Efficient and flexible content input: The input box itself supports three input operations: "click, drag and drop, and paste".

[0120] Autonomous and accurate content recognition: For the paste operation, it can automatically identify the type of copied content and then guide and prompt the user, improving the accuracy and ease of use of content input.

[0121] Interactive content correction and generation: When the content entered by the user does not meet the requirements, interactive question and answer, with the help of the product's own image processing capabilities, will proactively help the user correct the input error, so that the adjusted content meets the input requirements.

[0122] In summary, this application proactively identifies content types and transmits them to users, while also providing solutions to users when input errors occur. This reduces the need for non-professional users to read operation documents or use other products for secondary processing, greatly improving the efficiency of user input and the convenience of operation.

[0123] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.

[0124] Please refer to Figure 21 The diagram illustrates a content item uploading device according to an embodiment of this application. This device can be implemented through software, hardware, or a combination of both, and can be all or part of an electronic device. The device includes:

[0125] Display module 2101 is used to display the operation interface, which displays a content item upload control;

[0126] The acquisition module 2102 is used to acquire a target content item based on the input operation detected in the control area of ​​the content item upload control, the target content item having first attribute information;

[0127] The display module 2101 is also used to display an error correction prompt control when the first attribute information does not meet the preset conditions. The error correction prompt control displays at least one adjustment option for the cause of the error, and each adjustment option corresponds to an adjustment method. The preset conditions are the input requirements of the content type to which the target content item belongs.

[0128] The adjustment module 2103 is used to adjust the target content item with first attribute information in response to the selection operation of any adjustment option, so as to obtain the target content item with second attribute information, wherein the second attribute information meets the preset conditions.

[0129] Upload module 2104 is used to upload target content items with second attribute information.

[0130] In another embodiment of this application, the device further includes:

[0131] The determination module is used to determine that the content item upload control is in the first state when no operation is detected in the control area of ​​the content item upload control.

[0132] The display module is also used to display the content item upload control in the first state using the first display style;

[0133] The determination module is also used to determine that the content item upload control is in the second state when a hover operation of an input device is detected in the control area of ​​the content item upload control;

[0134] The display module is also used to display the content item upload control in the second state using a second display style;

[0135] The determination module is also used to detect the activation operation of the input device in the control area of ​​the content item upload control and determine that the content item upload control is in the third state;

[0136] The display module is also used to display the content item upload control in the third state using a third display style.

[0137] In another embodiment of this application, the operation interface also displays multiple type icons, each type icon corresponding to a content type. The display module is also used to display the type icon in a fourth display style and display the input requirements of the content type corresponding to the type icon when the input device is detected to be hovering over the icon area of ​​any type icon.

[0138] In another embodiment of this application, the input operation is a click operation. The control area of ​​the content item upload control includes a first sub-area, which displays local upload options. The acquisition module is used to respond to the click operation on the local upload options and display a content item upload window, which displays various content items stored locally. When a selection operation on any content item is detected, the selected content item is taken as the target content item.

[0139] In another embodiment of this application, the input operation is a paste operation, the control area of ​​the content item upload control includes a second sub-area, and the acquisition module is used to take the copied content item as the target content item in response to the paste operation on the second sub-area.

[0140] In another embodiment of this application, the acquisition module is further configured to acquire the content type of the content item when a copy operation on any content item is detected;

[0141] The display module is also used to display the type icon corresponding to the content type of the content item and the paste operation prompt information on the second sub-area.

[0142] In another embodiment of this application, the input operation is a drag-and-drop operation, the control area of ​​the content item upload control includes a second sub-area, and the acquisition module is used to, in response to the detection of a release operation for the dragged content item in the content recognition area, take the dragged content item as the target content item, the content recognition area is the area displayed above the second sub-area when a drag operation for any content item is detected, and the content recognition area is larger than the second sub-area and covers the second sub-area.

[0143] In another embodiment of this application, the display module is further configured to display the content attribute information of the target content item and display the content type icon of the target content item using a fourth display style.

[0144] In another embodiment of this application, the display module is further configured to: when the content type of the target content item is an image, display at least one of the image name and image thumbnail corresponding to the target content item; when the content type of the target content item is an image link, display at least one of the link address and image thumbnail corresponding to the target content item; and when the content type of the target content item is a file, display at least one of the file name, file type icon, and thumbnail representing the document corresponding to the target content item.

[0145] In another embodiment of this application, the display module is further configured to display the link address and image thumbnail corresponding to the target content item when the number of target content items does not exceed a preset number; and to display the image thumbnail corresponding to the target content item when the number of target content items exceeds the preset number.

[0146] In another embodiment of this application, the display module is further configured to display a pop-up window on the image thumbnail containing the link address of the target content item when the input device is detected to be hovering over the image thumbnail corresponding to the target content item.

[0147] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0148] Figure 22 This diagram illustrates a structural block diagram of an electronic device 2200 provided in an exemplary embodiment of this application. Typically, the electronic device 2200 includes a processor 2201 and a memory 2202.

[0149] Processor 2201 can be implemented in at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 2201 may also include a main processor and a coprocessor; the main processor is a processor for processing data in the wake-up state, and the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, processor 2201 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 2201 may also include an artificial intelligence processor for handling computational operations related to machine learning.

[0150] The memory 2202 may include one or more computer-readable storage media, which may be non-transitory computer-readable storage media, such as CD-ROM (Compact Disc Read-Only Memory), ROM, RAM (Random Access Memory), magnetic tape, floppy disk, and optical data storage devices. The computer-readable storage medium stores at least one computer program, which, when executed, enables the implementation of the aforementioned content item uploading method.

[0151] Of course, the aforementioned electronic device may also include other components, such as input / output interfaces and communication components. Input / output interfaces provide an interface between the processor and peripheral interface modules, which can be output devices, input devices, etc. Communication components are configured to facilitate wired or wireless communication between the electronic device and other devices.

[0152] Those skilled in the art will understand that Figure 22 The structure shown does not constitute a limitation on the electronic device 2200, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0153] This application provides a computer-readable storage medium storing at least one computer program, which, when executed by a processor, can implement the above-described content item uploading method.

[0154] This application provides a computer program product, which includes a computer program that, when executed by a processor, can implement the above-described content item uploading method.

[0155] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for uploading content items, characterized in that, The method includes: The operation interface is displayed, and the operation interface displays a content item upload control; Based on the input operation detected in the control area of ​​the content item upload control, a target content item is obtained, and the target content item has first attribute information; If the first attribute information does not meet the preset conditions, an error correction prompt control is displayed. The error correction prompt control displays at least one adjustment option for the cause of the error. Each adjustment option corresponds to an adjustment method. The preset conditions are the input requirements of the content type to which the target content item belongs. In response to the selection operation for any adjustment option, the target content item with first attribute information is adjusted to obtain a target content item with second attribute information, wherein the second attribute information meets the preset conditions; Upload the target content item that has the second attribute information.

2. The method according to claim 1, characterized in that, The method further includes: When no operation is detected in the control area of ​​the content item upload control, the content item upload control is determined to be in a first state, and the content item upload control in the first state is displayed using a first display style; When a hover operation of an input device is detected in the control area of ​​the content item upload control, it is determined that the content item upload control is in a second state, and the content item upload control in the second state is displayed using a second display style; When an activation operation of an input device is detected in the control area of ​​the content item upload control, it is determined that the content item upload control is in a third state, and the content item upload control in the third state is displayed using a third display style.

3. The method according to claim 1, characterized in that, The user interface also displays multiple type icons, each corresponding to a content type. The method further includes: When an input device is detected hovering over the icon area of ​​any type of icon, the icon of that type is displayed using the fourth display style, and the input requirements for the content type corresponding to that type of icon are also displayed.

4. The method according to claim 1, characterized in that, The input operation is a click operation. The control area of ​​the content item upload control includes a first sub-area, which displays a local upload option. The step of obtaining the target content item based on the input operation detected in the control area of ​​the content item upload control includes: In response to a click on the local upload option, a content item upload window is displayed, which shows the various content items stored locally. When a selection operation on any content item is detected, the selected content item is taken as the target content item.

5. The method according to claim 1, characterized in that, The input operation is a paste operation, the control area of ​​the content item upload control includes a second sub-area, and the step of obtaining the target content item based on the input operation detected in the control area of ​​the content item upload control includes: In response to a paste operation targeting the second sub-region, the copied content item is used as the target content item.

6. The method according to claim 5, characterized in that, Before using the copied content item as the target content item in response to the paste operation for the second sub-region, the method further includes: When a copy operation on any content item is detected, the content type of the content item is obtained; The second sub-area displays the type icon corresponding to the content type of the content item and the paste operation prompt information.

7. The method according to claim 1, characterized in that, The input operation is a drag-and-drop operation. The control area of ​​the content item upload control includes a second sub-area. The step of obtaining the target content item based on the input operation detected in the control area of ​​the content item upload control includes: In response to detecting a release operation for a dragged content item in the content recognition area, the dragged content item is designated as the target content item. The content recognition area is the area displayed above the second sub-area when a drag operation for any content item is detected. The content recognition area is larger than the second sub-area and covers the second sub-area.

8. The method according to claim 1, characterized in that, Before uploading the target content item with the second attribute information, the method further includes: Display the content attribute information of the target content item, and display the content type icon of the target content item using the fourth display style.

9. The method according to claim 8, characterized in that, The display of the content attribute information of the target content item includes: When the content type of the target content item is an image, at least one of the image name and image thumbnail corresponding to the target content item is displayed; When the content type of the target content item is an image link, at least one of the link address and image thumbnail corresponding to the target content item is displayed. When the content type of the target content item is a file, at least one of the following is displayed: the file name, the file type icon, and the thumbnail representing the document.

10. The method according to claim 9, characterized in that, When the content type of the target content item is an image link, displaying at least one of the link address and image thumbnail corresponding to the target content item includes: If the number of target content items does not exceed the preset number, display the link address and image thumbnail corresponding to the target content item; When the number of target content items exceeds a preset number, the image thumbnail corresponding to the target content item is displayed.

11. The method according to claim 10, characterized in that, After displaying image thumbnails of the target content items when the number of target content items exceeds a preset number, the method further includes: When an input device is detected hovering over the image thumbnail corresponding to the target content item, a pop-up window appears on the image thumbnail displaying the link address of the target content item.

12. A content item uploading device, characterized in that, The device includes: The display module is used to display the operation interface, which displays a content item upload control. The acquisition module is used to acquire a target content item based on the input operation detected in the control area of ​​the content item upload control, wherein the target content item has first attribute information; The display module is also used to display an error correction prompt control when the first attribute information does not meet the preset conditions. The error correction prompt control displays at least one adjustment option for the cause of the error, and each adjustment option corresponds to an adjustment method. The preset conditions are the input requirements of the content type to which the target content item belongs. An adjustment module is used to adjust a target content item with first attribute information in response to a selection operation for any adjustment option, so as to obtain a target content item with second attribute information, wherein the second attribute information meets the preset conditions. The upload module is used to upload the target content item with the second attribute information.

13. An electronic device, characterized in that, It includes a processor and a memory; the memory stores at least one piece of program code; the at least one piece of program code is called and executed by the processor to implement the content item uploading method as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which, when executed by a processor, is capable of implementing the content item uploading method as described in any one of claims 1 to 11.

15. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, can implement the content item uploading method as described in any one of claims 1 to 11.