Resource uploading method, computer equipment and computer program product
By conducting compliance testing and providing adjustment and review options before resource upload, the problem of resource upload non-compliance in the background management system is solved, time cost is reduced and efficiency is improved.
Patent Information
- Application Number
- CN202410685244.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing backend management system cannot effectively regulate the compliance of resources when uploading resources, resulting in increased upload and loading time costs and affecting user experience.
Compliance testing is performed before resources are uploaded, and two options are provided: adjusting resources and auditing resources. If the resources do not comply with the rules, the resources will be adjusted according to the detection rules. Otherwise, they will be sent to the manual review process to ensure that the resources are compliant before uploading.
It reduces the upload and loading time cost of non-compliant resources, improves the efficiency of human-computer interaction, saves adjustment time when it is inconvenient to adjust, and improves the efficiency of uploading resources.
Smart Images

Figure CN118550701A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a resource uploading method, a computer device, and a computer program product. Background Art
[0002] At present, mainstream backend management systems all have resource upload functions. Technical personnel can upload some user-oriented resources, such as pictures, videos, audio, etc., to the server through the backend management system. Since the above resources are mainly for users, that is, after the user opens the business platform, the user needs to load resources from the server and display them to the user. Therefore, if you upload non-compliant resources such as large size, low clarity, and poor sound quality, it will not only increase the time cost of uploading and loading resources, but also reduce the user's experience of using the business platform. Therefore, how to standardize the resources uploaded through the backend management system to improve the efficiency of human-computer interaction is a technical problem that needs to be solved. Summary of the invention
[0003] The embodiments of the present application provide a resource uploading method, a computer device, and a computer program product, which can perform compliance detection on resources before uploading them, and provide two options of adjusting resources and reviewing resources when resources are non-compliant, so as to avoid uploading a large number of non-compliant resources, thereby reducing the time cost of uploading and loading resources and improving the efficiency of human-computer interaction. The technical solution is as follows:
[0004] According to one aspect of an embodiment of the present application, a resource uploading method is provided, the method comprising:
[0005] In response to an upload operation of a first resource on a resource upload page, if the first resource fails a compliance check, a first control and a second control are displayed on the resource upload page, wherein the first control is used to adjust the first resource based on a detection rule of the compliance check after being triggered, and the second control is used to send the first resource to a manual review process after being triggered;
[0006] In response to a triggering operation on the first control, if the second resource passes the compliance detection, uploading the second resource, wherein the second resource is obtained by adjusting the first resource according to a detection rule of the compliance detection;
[0007] In response to the triggering operation on the second control, if the first resource passes the review, the first resource is uploaded.
[0008] According to another aspect of an embodiment of the present application, a computer device is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the resource uploading method as described in the above aspect.
[0009] According to another aspect of an embodiment of the present application, a computer program product is provided. The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the resource uploading method described in the above aspect.
[0010] An embodiment of the present application provides a resource uploading solution that can perform compliance checks on resources before uploading them. In the case that the resources fail the compliance check, two options are provided: adjusting the resources and reviewing the resources. If you choose to adjust the resources, the resources are adjusted according to the detection rules of the compliance check. The resources are uploaded only when the adjusted resources pass the compliance check. By adjusting the resources, it is possible to avoid uploading non-compliant resources, thereby reducing the time cost of uploading and loading resources and improving the efficiency of human-computer interaction. If you choose to review the resources, the resources are sent to the manual review process. The resources are uploaded only when the resources pass the review. By providing the option of manually reviewing resources, it is possible to support uploading original resources when it is inconvenient to adjust the resources, saving the time for adjusting the resources and further improving the efficiency of uploading resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0013] Figure 2 It is a flow chart of a resource uploading method provided by an embodiment of the present application;
[0014] Figure 3 is a flowchart of another resource uploading method provided in an embodiment of the present application;
[0015] Figure 4 This is a flow chart of interaction between a terminal and a server provided in an embodiment of the present application;
[0016] Figure 5 is an architecture diagram of a compliance detection system provided in an embodiment of the present application;
[0017] Figure 6 is a schematic diagram of a preview page provided in an embodiment of the present application;
[0018] Figure 7 It is a schematic diagram of an audit status page provided in an embodiment of the present application;
[0019] Figure 8 is a schematic diagram of a resource upload page provided in an embodiment of the present application;
[0020] Fig. 9 It is a flow chart of resource processing provided by an embodiment of the present application;
[0021] Fig.10 It is a structural diagram of a resource uploading device provided in an embodiment of the present application;
[0022] Fig.11 It is a structural diagram of another resource uploading device provided in an embodiment of the present application;
[0023] Fig.12 It is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0025] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0026] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the resources and resource addresses involved in this application are obtained with full authorization.
[0027] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 can be directly or indirectly connected to the server 102 through wired or wireless communication.
[0028] In some embodiments, the terminal 101 can be a mobile phone, a desktop computer, a laptop computer, a tablet computer and other types of terminals. The technician can access the background management system of various business platforms through the terminal 101, such as the background management system of the e-commerce platform, the background management system of the live broadcast platform or the background management system of the video platform. For any business platform, the technician can configure and update the resources in the business platform in the background management system of the business platform through the terminal 101. For example, the background management system can update the images and videos displayed in the business platform, or update the audio played in the business platform, or update the various types of files displayed in the business platform. The background management system of the business platform is associated with the server 102, and the server 102 provides background services.
[0029] In some embodiments, server 102 is an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0030] In some embodiments, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.
[0031] Figure 2 is a flow chart of a resource uploading method provided in an embodiment of the present application. The method is executed by a terminal, see Figure 2 , the method comprising:
[0032] 201. In response to an upload operation of a first resource in a resource upload page, if the first resource fails a compliance check, display a first control and a second control in the resource upload page.
[0033] In an embodiment of the present application, the resource upload page may be a page displayed in the background management system of the business platform. The technician can access the background management system through a terminal and upload resources on the resource upload page. The resources are used to be displayed on the business platform. The resources include but are not limited to images, videos, audios, and documents in various formats.
[0034] In response to the technician's upload operation of the first resource in the resource upload page, the terminal performs a compliance check on the first resource. The compliance check is used to detect whether the first resource complies with the preset specifications. If the first resource fails the compliance check, it indicates that the first resource is a non-compliant resource and the first resource cannot be directly uploaded at present. Therefore, the terminal displays a first control and a second control on the resource upload page. Among them, the first control is used to adjust the first resource based on the detection rules of the compliance check after being triggered. By adjusting the first resource, the adjusted first resource can be made to comply with the detection rules as much as possible, so that the technician can upload the adjusted first resource. The second control is used to send the first resource to the manual review process after being triggered. The manual review process refers to a manual review of the first resource by the reviewer to review whether the first resource is suitable for uploading to the server.
[0035] 202. In response to a triggering operation on the first control, upload the second resource if the second resource passes a compliance check.
[0036] In an embodiment of the present application, in response to a technician's triggering operation on the first control, the terminal adjusts the first resource according to the detection rule of the compliance detection to obtain the adjusted first resource, that is, the second resource. Then, the terminal performs a compliance detection on the second resource to determine whether the second resource is compliant. If the second resource passes the compliance detection, the terminal uploads the second resource to the server.
[0037] 203. In response to the triggering operation on the second control, if the first resource passes the review, upload the first resource.
[0038] In the embodiment of the present application, in response to the triggering operation of the second control by the technician, the terminal sends the first resource to the manual review process. If the first resource passes the review, the terminal uploads the first resource to the server.
[0039] An embodiment of the present application provides a resource uploading method, which can perform compliance detection on resources before uploading them. In the case that the resources fail the compliance detection, two options are provided: adjusting the resources and reviewing the resources. If you choose to adjust the resources, the resources are adjusted according to the detection rules of the compliance detection. The resources are uploaded only when the adjusted resources pass the compliance detection. By adjusting the resources, it is possible to avoid uploading non-compliant resources, thereby reducing the time cost of uploading and loading resources and improving the efficiency of human-computer interaction. If you choose to review the resources, the resources are sent to the manual review process. The resources are uploaded only when the resources pass the review. By providing the option of manually reviewing resources, it is possible to support uploading original resources when it is inconvenient to adjust the resources, saving the time for adjusting the resources and further improving the efficiency of uploading resources.
[0040] Figure 3is a flowchart of another resource uploading method provided in an embodiment of the present application. The method is executed by a terminal, see Figure 3 , the method comprising:
[0041] 301. In response to an upload operation on a first resource in a resource upload page, obtain attributes of the first resource.
[0042] In an embodiment of the present application, the resource upload page may be a page displayed in the background management system of the business platform. The resource upload page is used to upload resources displayed in the business platform. For example, business platforms include e-commerce platforms, live broadcast platforms, and social platforms. Technicians can access the background management system of any business platform through a terminal to upload resources to be displayed on the resource upload page of the background management system. Among them, resources include but are not limited to images, videos, audios, documents, and documents in various formats. The embodiment of the present application does not limit the type of resources.
[0043] In response to the technician's upload operation on the first resource in the resource upload page, the terminal obtains the attributes of the first resource. The first resource is a resource stored locally in the terminal. Optionally, the attributes of the first resource include at least one of size, resource type, resolution, and size. For example, when the first resource is an image, the attributes of the first resource include at least one of size, size, resolution, and image format. When the first resource is a video, the attributes of the first resource include at least one of size, resolution, and video format. When the first resource is audio, the attributes of the first resource include at least one of size, sound quality, and audio format. Optionally, the resource upload page displays an upload control. In response to the triggering operation of the upload control, the terminal displays multiple local resources so that the technician can select the resource to be uploaded from them. In response to the technician's selection operation on the first resource among the multiple resources, the terminal obtains the attributes of the first resource.
[0044] 302. Perform compliance detection on the first resource based on the attribute of the first resource.
[0045] In an embodiment of the present application, the terminal performs a compliance check on the first resource based on the attributes of the first resource. The compliance check is used to detect whether the attributes of the first resource are compliant. When the attributes of the first resource are compliant, the terminal can directly upload the first resource. When the attributes of the first resource are not compliant, the terminal cannot directly upload the first resource, but needs to adjust the first resource first or send it to a manual review process. The terminal uploads the first resource only when the adjusted first resource is compliant or the first resource passes the manual review, which can avoid uploading a large number of non-compliant resources.
[0046] In some embodiments, compliance detection is used to detect whether the size of a resource exceeds a preset threshold. Accordingly, the attribute of the first resource includes the size of the first resource, and the detection rule of the compliance detection is that the size of the resource does not exceed the preset threshold. After the terminal obtains the size of the first resource, it determines whether the first resource is compliant by comparing the size of the first resource with the preset threshold. In the case where the size of the first resource exceeds the preset threshold, it indicates that the volume of the first resource is large and the first resource is non-compliant, so the first resource fails the compliance detection. In the case where the size of the first resource does not exceed the preset threshold, it indicates that the volume of the first resource is moderate and the first resource is compliant, so the first resource passes the compliance detection. By performing a compliance detection on the first resource according to the size of the first resource, it is possible to detect non-compliant resources with larger volumes before uploading the resources, thereby avoiding technicians from uploading larger resources, thereby shortening the time for the terminal to upload resources and the time for the user end to load resources, and improving the efficiency of human-computer interaction and resource transmission.
[0047] In some embodiments, the attribute of the first resource also includes at least one of the resource type, size and resolution of the first resource. The terminal can determine the detection rule of compliance detection according to the above attributes. After the terminal obtains at least one attribute of the first resource, the terminal determines the preset threshold corresponding to the attribute according to any attribute of the first resource. Or, the terminal determines the preset threshold corresponding to the preset range in which the attribute value of the attribute is located. After the terminal obtains at least one preset threshold according to at least one attribute of the first resource, the terminal can determine the minimum value of at least one preset threshold as the preset threshold indicated by the detection rule of compliance detection. Optionally, the terminal can also determine the maximum value of at least one preset threshold as the preset threshold indicated by the detection rule of compliance detection. Or, the terminal can also determine the average value of at least one preset threshold as the preset threshold indicated by the detection rule of compliance detection. The embodiment of the present application does not limit this. By determining the preset threshold in the detection rule according to at least one attribute of the resource, the detection rules corresponding to resources of different attributes can be made not completely the same, so that compliance detection can be performed on resources of multiple attributes according to dynamic detection rules, thereby improving the rationality and accuracy of compliance detection.
[0048] Optionally, different attributes correspond to different preset thresholds. Different attribute values of the same attribute may also correspond to different preset thresholds. For example, take the first resource as an image. The attributes of the first resource include image format, size, and resolution. Image formats include JPEG (Joint Photographic Experts Group), PNG (Portable Network Graphics), BMP (Bitmap), SVG (Scalable Vector Graphics), etc.
[0049] Table 1 below shows the preset thresholds corresponding to the above four image formats.
[0050] Table 1 Comparison table of image formats and preset thresholds
[0051] Image Format Preset Threshold JPEG 200kb (kilobytes) PNG 300kb BMP 400kb SVG 200kb
[0052] Table 2 below shows a comparison table of the value range of image size and the preset threshold value.
[0053] Table 2 Comparison table of image size and preset threshold
[0054] Image size (x) Preset Threshold x≤500*500 pixels 150kb 500*500 pixels<x≤2000*1500 pixels 200kb 2000*1500 pixels<x≤2500*2000 pixels 300kb 2500*2000 pixels<x≤3500*3000 pixels 400kb
[0055] Table 3 below shows a comparison table of image resolution and preset thresholds.
[0056] Table 3 Comparison table of image resolution and preset threshold
[0057]
[0058]
[0059] According to the comparison relationship shown in the above three comparison tables, after the terminal obtains at least one attribute of the image format, size and resolution of the first resource, the terminal can determine the preset threshold corresponding to each attribute. Then, the terminal determines the detection rule of compliance detection as that the size of the resource does not exceed the minimum preset threshold.
[0060] For example, when the image format of the first resource is JPEG, the size is 640*480 pixels, and the resolution is 72 dpi, the terminal determines that the detection rule for compliance detection is that the size of the resource does not exceed 200 kb.
[0061] In some embodiments, the detection rules for compliance detection may also include that the size of the resource is within a preset range. The terminal determines whether the size of the first resource is within the preset range. When the size of the first resource is not within the preset range, it indicates that the size of the first resource is too large or too small, and the first resource fails the compliance detection. When the size of the first resource is within the preset range, it indicates that the size of the first resource is moderate, and the first resource passes the compliance detection. Among them, the preset range can be a range set according to actual business needs, and the embodiments of the present application do not limit the preset range. By performing a compliance check on the first resource according to the size of the first resource, non-compliant resources with too large or too small sizes can be detected before uploading the resources, avoiding the display of oversized resources on the business platform, thereby improving the efficiency of resource transmission and the user experience in the business platform.
[0062] In some embodiments, the detection rules for compliance detection may also include that the resolution of the resource is not less than a preset resolution. After the terminal obtains the resolution of the first resource, the terminal compares the resolution of the first resource with the preset resolution. When the resolution of the first resource is less than the preset resolution, it indicates that the resolution of the first resource is low, which may affect the user's viewing experience. Therefore, the terminal determines that the first resource has not passed the compliance detection. When the resolution of the first resource is not less than the preset resolution, the first resource passes the compliance detection. Among them, the preset resolution can be a resolution set according to actual business needs, and the embodiment of the present application does not limit the value of the preset resolution. By performing a compliance check on the first resource according to the resolution of the first resource, non-compliant resources with too low resolution can be detected before uploading the resource, avoiding the display of unclear resources on the business platform, thereby improving the efficiency of users in obtaining information on the business platform and the viewing experience of users.
[0063] It should be noted that the above-mentioned multiple detection rules for compliance detection are exemplary detection rules. In some embodiments, compliance detection may include only one detection rule: the size of the resource does not exceed a preset threshold. Accordingly, the purpose of compliance detection is to avoid directly uploading a large number of large resources, thereby improving the upload efficiency and download efficiency of resources.
[0064] 303. When the first resource passes the compliance check, upload the first resource.
[0065] In the embodiment of the present application, when the first resource passes the compliance check, the terminal uploads the first resource to the server.
[0066] In some embodiments, when the first resource is successfully uploaded, the terminal can display the resource address of the first resource returned by the server. Optionally, the resource address of the first resource can be a URL (Uniform Resource Locator) address of the first resource. The URL address is a standard resource address on the Internet, and the URL address can be used to identify the location of various resources such as images, videos, and documents on the Internet.
[0067] By displaying the resource address returned by the server, when there is a need to download resources in the future, the corresponding resources can be downloaded from the server by accessing the resource address, which improves the efficiency of downloading resources. For example, technicians can configure the URL address of the resource to be displayed in the background management system of the business platform. After the user opens the business platform, the user can download and display the corresponding resources from the server according to the URL address, so that the user can watch and use the business platform normally.
[0068] 304. If the first resource fails the compliance check, display the first control and the second control on the resource upload page.
[0069] In an embodiment of the present application, when the first resource fails the compliance test, it indicates that the first resource is a non-compliant image, and the first image cannot be directly uploaded at present. Optionally, non-compliant resources include, but are not limited to: resources with larger volumes, resources with larger or smaller sizes, and resources with lower resolutions. The terminal displays a first control and a second control in the resource upload page. Among them, the first control is used to adjust the first resource based on the detection rules of the compliance test after being triggered. By adjusting the first resource, the adjusted first resource can be made to meet the detection rules of the compliance test as much as possible, so that the technician can upload the adjusted first resource. The second control is used to send the first resource to a manual review process after being triggered. The manual review process refers to a manual review of the first resource by the reviewer to review whether the first resource is suitable for direct upload to the server.
[0070] In some embodiments, the terminal can display the first control and the second control through a pop-up window. When the first resource fails to pass the compliance test, the terminal displays a pop-up window containing the first control and the second control in the resource upload page. In addition, a first prompt message is also displayed in the pop-up window. The first prompt message is used to prompt that the first resource has not passed the compliance test. By informing the user through a pop-up window when the first resource fails to pass the compliance test, and by displaying the first control and the second control in the pop-up window to provide the technician with two options of adjusting the resource and reviewing the resource, the technician can be prevented from directly uploading non-compliant resources, thereby reducing the time cost of uploading and loading resources and improving the efficiency of human-computer interaction.
[0071] It should be noted that the above embodiment is described by taking the terminal performing compliance detection on the first resource as an example. In some embodiments, the terminal can also call a compliance detection service provided by the server to perform compliance detection on the first resource through the server. Figure 4 is a flow chart of interaction between a terminal and a server provided in an embodiment of the present application. Figure 4 As shown, the resource upload page is a page in the background management system of any business platform. The front-end control component is a component accessed by the background management system. The front-end control component is used to control the resources uploaded in the resource upload page to avoid directly uploading non-compliant resources. The server is used to provide background services for the front-end control component, such as compliance detection service, resource upload service, resource adjustment service, resource review service, etc. Figure 4 The flowchart shown illustrates the compliance detection process through the following steps 401-408.
[0072] 401. In response to the technician uploading the first resource in the resource upload page, the terminal triggers the upload process of the first resource. 402. The terminal obtains the attributes of the first resource through the front-end control component. The attributes of the first resource include but are not limited to resource type, size, resolution, etc. After the front-end control component obtains at least one attribute of the first resource, the front-end control component calls the compliance detection service provided by the server to perform compliance detection on the first resource through the server. In the process of calling the compliance detection service, the front-end control component can upload at least one attribute of the first resource to the server. 403. The server performs compliance detection on the first resource according to at least one attribute of the first resource, and returns the detection result to the front-end control component. Among them, the process of the server performing compliance detection is the same as the above step 302, which is not repeated here. 404. When the first resource passes the compliance detection, the front-end control component calls the resource upload service provided by the server to upload the first resource to the server. 405. The server stores the first resource to at least one storage node in the CDN (Content Delivery Network) and refreshes the cache of at least one storage node as needed. Then, the server returns the resource address of the first resource to the front-end control component. 406. The front-end control component returns the received resource address to the resource upload page. 407. In the case that the first resource fails the compliance check, the front-end control component enters the adjustment process or the manual review process to upload the adjusted resource or upload the reviewed resource. Among them, the adjustment process refers to the following steps 305-310. The manual review process refers to the following steps 311-313. After the adjustment process or the manual review process, the front-end control component can return the resource address or the review status to the resource upload page. 408. Upon receiving the resource address or the review status returned by the front-end control component, the terminal displays the resource address or the review status on the resource upload page.
[0073] It should be noted that the technology stacks used by the backend management system may not be exactly the same. Therefore, technical personnel can develop front-end control components suitable for different technology stacks, such as front-end control components of multiple technology stacks including Vue, React, and PHP, for access by backend management systems of different technology stacks, thereby achieving compliance testing of resources uploaded in backend management systems of different technology stacks. For any backend management system, developers only need to replace the original resource upload component in the backend management system with the front-end control component of the corresponding technology stack, and then use the compliance testing service provided by the server, with low access costs.
[0074] Figure 5 is an architecture diagram of a compliance detection system provided in an embodiment of the present application. Figure 5As shown, the business side includes multiple business platforms. The backend management systems of different business platforms can access the front-end control components of the corresponding technology stack. The front-end control layer includes front-end control components of multiple technology stacks for the business side to access. In addition, the front-end control layer also includes a general docking layer. Through the general docking layer, the front-end control components of different technology stacks can reuse the same set of server-side control services. Figure 5 As shown, the server-side management and control services provided by the server include compliance detection, resource upload, resource adjustment, resource audit and statistical services. Among them, the statistical service is used to calculate the compliance rate of resources. The compliance rate of resources can be the ratio of the number of resources that pass the compliance detection to the number of resources that undergo compliance detection.
[0075] The above embodiment mainly introduces the process of performing compliance detection on the first resource. The following steps 305-310 and steps 311-313 respectively illustrate the process of adjusting the first resource and the process of sending the first resource to the manual review process.
[0076] 305. In response to a triggering operation on the first control, display the first resource and the second resource on the preview page.
[0077] In the embodiment of the present application, in response to the technician's triggering operation on the first control, the terminal adjusts the first resource according to the detection rule of the compliance detection to obtain the adjusted first resource, that is, the second resource. Then, the terminal displays the first resource and the second resource on the preview page so that the technician can intuitively view the adjustment effect of the first resource.
[0078] For example, the first resource is an image. If the detection rule is that the size of the resource does not exceed a preset threshold, the terminal performs lossless compression on the first resource to reduce the size of the first resource. If the detection rule is that the size of the resource is within a preset range, the terminal scales or stretches the first resource to adjust the size of the first resource. If the detection rule is that the resolution of the resource is not less than the preset resolution, the terminal interpolates the pixels in the first resource to increase the resolution of the first resource.
[0079] Optionally, the terminal can also adjust the first resource by calling a resource adjustment service provided by the server. The embodiment of the present application does not limit the manner in which the terminal adjusts the first resource.
[0080] Figure 6 is a schematic diagram of a preview page provided in an embodiment of the present application. Figure 6As shown, the preview page displays the first resource and the second resource. The preview page also displays the size of the first resource and the size of the second resource. In addition, when the detection rule includes that the size of the resource is within a preset range, the preview page can also display the size of the first resource and the size of the second resource. When the detection rule includes that the resolution of the resource is not less than the preset resolution, the preview page can also display the resolution of the first resource and the resolution of the second resource.
[0081] 306. In response to the upload operation on the second resource, perform compliance check on the second resource.
[0082] In an embodiment of the present application, in response to the technician uploading the second resource, the terminal obtains the attributes of the second resource and performs compliance detection on the second resource according to the attributes. The process of performing compliance detection on the second resource is the same as the process of performing compliance detection on the first resource described in step 302 above, and will not be repeated here. Optionally, the terminal can also call the compliance detection service provided by the server to perform compliance detection on the second resource through the server.
[0083] In some embodiments, the preview page displays a usage control. In response to a trigger operation on the usage control, the terminal performs a compliance check on the second resource. Figure 6 As shown, the preview page displays a use control and a return control. In response to the triggering operation of the return control, the terminal displays a resource upload page so that the technician can continue to upload other resources.
[0084] 307. When the second resource passes the compliance check, upload the second resource to the server.
[0085] In the embodiment of the present application, if the second resource passes the compliance check, it indicates that the adjusted resource is compliant, so the terminal can upload the second resource to the server. For example, the terminal can call the resource upload service provided by the server through the front-end management component to upload the second resource to the server.
[0086] In some embodiments, after the server receives the second resource, the server stores the second resource in at least one storage node in the CDN and refreshes the cache of at least one storage node as needed. Then, the server returns the resource address of the second resource to the terminal. The resource address can identify the location of the second resource on the Internet. When the terminal obtains the resource address of the second resource returned by the server, the terminal can display the resource address of the second resource so that the second resource can be loaded from the server later according to the resource address.
[0087] By adjusting the first resource when the first resource fails the compliance check, uploading of the non-compliant first resource can be avoided, thereby reducing the time cost of uploading and loading the first resource and improving human-computer interaction efficiency.
[0088] 308. If the second resource fails the compliance check, display the second control.
[0089] In the embodiment of the present application, if the second resource fails the compliance check, it indicates that the adjusted resource is still non-compliant. The terminal displays a second control so that the technician can trigger the manual review process of the second resource.
[0090] 309. In response to the triggering operation on the second control, send the second resource to a manual review process.
[0091] In an embodiment of the present application, in response to a technician's triggering operation on the second control, the terminal sends the second resource to a manual review process.
[0092] In some embodiments, the terminal can call the resource audit service provided by the server through the front-end control component and send an audit request for the second resource to the audit terminal, where the audit terminal is a terminal used by the auditor.
[0093] 310. When the second resource passes the review, upload the second resource.
[0094] In the embodiment of the present application, when the second resource passes the review, the terminal can upload the second resource to the server.
[0095] In some embodiments, when the second resource is successfully uploaded, the terminal can also display the resource address of the second resource.
[0096] In some embodiments, when the audit end audits and approves the second resource, the server forwards the audit result of the second resource to the terminal. After receiving the audit result of the second resource being audited and approved, the terminal uploads the second resource to the server. Alternatively, after receiving the audit result of the audit being approved, the terminal can also display a notification message to notify the technician to manually upload the second resource.
[0097] The above steps 305-310 mainly introduce the process of adjusting the first resource. In some embodiments, when it is inconvenient to adjust the first resource, the technician can also choose to submit the first resource to the manual review process so as to upload the first resource after the review is passed. The manual review process is described below through steps 311-313.
[0098] 311. In response to a triggering operation on the second control, the first resource is sent to a manual review process, and a second prompt message is displayed.
[0099] In an embodiment of the present application, when a second control is displayed on the resource upload page, in response to a technician triggering the second control, the terminal sends the first resource to a manual review process and displays a second prompt message to prompt the technician to check the review status of the first resource.
[0100] In some embodiments, the terminal can also send a review request for the first resource to the review end by calling a resource review service provided by the server.
[0101] 312. In response to a confirmation operation on the second prompt information, at least one resource that has been sent to a manual review process and a review status of at least one resource are displayed on a review status page.
[0102] In an embodiment of the present application, in response to the technician's confirmation operation on the second prompt information, the terminal displays an audit status page. The audit status page displays at least one resource that has been submitted to the manual review process and the audit status of at least one resource. The audit status includes passed, failed, and under review. By displaying the audit status page, it is easy for the technician to intuitively know the audit status of the resources submitted for review, and then when the resources pass the review, the resources can be manually uploaded to the server in a timely manner, thereby improving the efficiency of uploading resources.
[0103] 313. When the review status of the first resource is passed, in response to an upload operation on the first resource, upload the first resource to the server.
[0104] In the embodiment of the present application, when the review status of the first resource is passed, the technician can manually upload the first resource to the server. Accordingly, in response to the technician's upload operation on the first resource, the terminal uploads the first resource to the server.
[0105] In some embodiments, when the audit status of the first resource is passed, the audit status page displays an upload control for the first resource. In response to the technician's triggering operation on the upload control, the terminal uploads the first resource to the server. Optionally, the terminal can upload the first resource by calling a resource upload service provided by the server through a front-end control component.
[0106] In some embodiments, the resource upload page also displays a status viewing control. In response to the triggering operation of the status viewing control, the terminal can jump to the review status page so that the technical personnel can view the review status of the resource. Among them, the review status page displays at least one resource that has been sent to the manual review process, the review status of at least one resource, and the operation control of at least one resource. For any resource, when the review status of the resource is passed, the operation control of the resource is an upload control. The upload control is used to upload the resource after triggering. When the review status of the resource is under review, the operation control of the resource is a withdrawal control. The withdrawal control is used to withdraw the manual review process of the resource after triggering. Accordingly, in response to the user's triggering operation of the withdrawal control of any resource, the terminal sends a withdrawal request to the server to request the withdrawal of the review request of the resource. When the review status of the resource is not passed, the operation control of the resource is a delete control. The delete control is used to delete the resource in the review status page. Accordingly, in response to the user's triggering operation of the delete control of any resource, the terminal cancels the display of the resource in the review status page. By displaying the operation controls corresponding to resources with different review statuses on the review status page, technical personnel can quickly upload resources that have passed the review, quickly withdraw resources under review, and quickly delete resources that have not passed the review, thereby improving the efficiency of human-computer interaction.
[0107] Figure 7 Schematic diagram of an audit status page provided in an embodiment of the present application. Figure 7 As shown, the review status page displays multiple resources that have been submitted for review, the size of the resource, the standard size (preset threshold), the review status of the resource, the submission date of the resource for review, and the operation controls of the resource. In addition, the review status page also displays a filter control. The technician can use the filter control to filter the resources displayed in the review status page according to the submission date or review status.
[0108] In some embodiments, when the terminal receives the resource address of the first resource returned by the server, the terminal can also display the resource address of the first resource on the resource upload page.
[0109] In some embodiments, the resource upload page also displays an address box, which is used to display the resource address of the uploaded resource. When any resource is successfully uploaded, that is, after the terminal obtains the resource address of any resource returned by the server, the terminal can display the resource address of the resource in the address box. For example, the terminal can display the URL address of the first resource or the URL address of the second resource in the address box. Optionally, the address box can only display the resource address of the most recently uploaded resource. Alternatively, the address box can also display the resource addresses of the resources uploaded the last N times. Alternatively, the address box can also display the resource addresses of the resources uploaded in the recent period of time. The embodiments of the present application do not limit this. Figure 8 Schematic diagram of a resource upload page provided in an embodiment of the present application. Figure 8 As shown, the resource upload page displays an upload control 801, a status view control 802, and an address box 803. In response to the triggering operation of the upload control 801, the terminal displays multiple local resources for the technician to select. In response to the triggering operation of the status view control 802, the terminal displays a status review page.
[0110] The above steps 311-313 mainly introduce the process of sending the first resource to the manual review process. In order to more clearly explain the above resource adjustment process and the process of sending to the manual review process, the following is combined with Fig. 9 The resource processing flowchart shown in FIG. Fig. 9 As shown, when the first resource fails the compliance check, the terminal displays the first control and the second control through a pop-up window.
[0111] When the technician triggers the first control in the pop-up window, the terminal adjusts the first resource to obtain the second resource. Then, the terminal displays the first resource and the second resource on the preview page.
[0112] If the technician chooses to upload the second resource, the terminal calls the compliance detection service through the front-end control component to perform compliance detection on the second resource through the compliance detection service. In the case where the second resource passes the compliance detection, the terminal calls the resource upload service through the front-end control component to upload the second resource to the server through the resource upload service. In addition, when the front-end control component receives the resource address of the second resource returned by the server, the front-end control component returns the resource address to the terminal so that the terminal displays the resource address in the address box of the resource upload page. In the case where the second resource does not pass the compliance detection, the terminal displays the second control so that the technician can send the second resource to the manual review process by triggering the second control. Accordingly, the terminal can call the resource review service through the front-end control component to send the second resource to the manual review process through the resource review service. In addition, the front-end control component can also return the review status of the second resource to the terminal so that the terminal displays the review status of the second resource and the corresponding operation control on the review status page.
[0113] If the technician chooses not to upload the second resource, the front-end control component can return an abnormal status to the terminal. The terminal can display the resource upload page when receiving the abnormal status returned by the front-end control component so that the technician can continue to upload other resources. In addition, if the second resource fails the compliance test, if the technician chooses not to conduct manual review, that is, if the technician does not trigger the second control, the front-end control component can also return an abnormal status to the terminal.
[0114] When the technician triggers the second control in the pop-up window, the terminal can also call the resource review service through the front-end control component to send the first resource to the manual review process through the resource review service. In addition, the front-end control component can also return the review status of the first resource to the terminal, so that the terminal displays the review status of the first resource and the corresponding operation control on the review status page.
[0115] It should be noted that the above embodiment is described by applying the resource upload method to the scenario of uploading resources through the background management system. In some embodiments, the resource upload method provided in the embodiment of the present application can also be applied to other scenarios, such as the scenario of publishing resources on social media, the scenario of sending resources in chat software, etc. Of course, the resource upload method provided in the embodiment of the present application can also be applied to other scenarios of resource uploading or resource publishing, and the embodiment of the present application does not limit this.
[0116] An embodiment of the present application provides a resource uploading method, which can perform compliance detection on resources before uploading them. In the case that the resources fail the compliance detection, two options are provided: adjusting the resources and reviewing the resources. If you choose to adjust the resources, the resources are adjusted according to the detection rules of the compliance detection. The resources are uploaded only when the adjusted resources pass the compliance detection. By adjusting the resources, it is possible to avoid uploading non-compliant resources, thereby reducing the time cost of uploading and loading resources and improving the efficiency of human-computer interaction. If you choose to review the resources, the resources are sent to the manual review process. The resources are uploaded only when the resources pass the review. By providing the option of manually reviewing resources, it is possible to support uploading original resources when it is inconvenient to adjust the resources, saving the time for adjusting the resources and further improving the efficiency of uploading resources.
[0117] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0118] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0119] Fig.10 Schematic diagram of a resource uploading device provided in an embodiment of the present application. Fig.10 , the device includes: a first display module 1001 and an upload module 1002.
[0120] The first display module 1001 is used to respond to the upload operation of the first resource in the resource upload page, and display the first control and the second control in the resource upload page when the first resource fails the compliance detection, wherein the first control is used to adjust the first resource based on the detection rule of the compliance detection after being triggered, and the second control is used to send the first resource to the manual review process after being triggered;
[0121] The uploading module 1002 is used to upload the second resource in response to the triggering operation on the first control, if the second resource passes the compliance detection, and the second resource is obtained by adjusting the first resource according to the detection rule of the compliance detection;
[0122] The upload module 1002 is further configured to respond to a trigger operation on the second control and upload the first resource if the first resource passes the review.
[0123] In some embodiments, Fig.11 is a schematic diagram of the structure of another resource uploading device provided in an embodiment of the present application. Fig.10 , the first display module 1001 includes:
[0124] The acquisition unit 1101 is configured to acquire the attribute of the first resource in response to an upload operation on the first resource in the resource upload page;
[0125] A detection unit 1102 is used to perform compliance detection on the first resource based on the attribute of the first resource, where the compliance detection is used to detect whether the attribute of the first resource is compliant;
[0126] The display unit 1103 is configured to display the first control and the second control in the resource upload page when the first resource fails the compliance check.
[0127] In some embodiments, the attribute of the first resource includes the size of the first resource, and the detection rule of the compliance detection is that the size of the resource does not exceed a preset threshold;
[0128] The detection unit 1102 is used to compare the size of the first resource with a preset threshold; when the size of the first resource exceeds the preset threshold, determine that the first resource has not passed the compliance check; when the size of the first resource does not exceed the preset threshold, determine that the first resource has passed the compliance check.
[0129] In some embodiments, the attribute of the first resource further includes at least one of a resource type, a size, and a resolution of the first resource;
[0130] The first display module 1001 is also used to determine, based on any attribute of the first resource, a preset threshold corresponding to the attribute or a preset threshold corresponding to a preset range of the attribute value of the attribute; based on the minimum value of at least one preset threshold, determine the detection rule for compliance detection, and at least one preset threshold corresponds one-to-one to at least one attribute of the first resource.
[0131] In some embodiments, the attribute of the first resource further includes the size of the first resource, and the detection rule of the compliance detection further includes that the size of the resource is within a preset range;
[0132] The detection unit 1102 is used to determine whether the size of the first resource is within a preset range; if the size of the first resource is not within the preset range, determine that the first resource has failed the compliance check; if the size of the first resource is within the preset range, determine that the first resource has passed the compliance check.
[0133] In some embodiments, the attribute of the first resource further includes a resolution of the first resource, and the detection rule of the compliance detection further includes that the resolution of the resource is not less than a preset resolution;
[0134] The detection unit 1102 is used to compare the resolution of the first resource and the preset resolution; when the resolution of the first resource is less than the preset resolution, determine that the first resource has not passed the compliance detection; when the resolution of the first resource is not less than the preset resolution, determine that the first resource has passed the compliance detection.
[0135] In some embodiments, the first display module 1001 is used to display a pop-up window including a first control and a second control in a resource upload page when the first resource fails the compliance check. The pop-up window also displays a first prompt message, and the first prompt message is used to prompt that the first resource fails the compliance check.
[0136] In some embodiments, the upload module 1002 is used to display the first resource and the second resource on the preview page in response to a trigger operation on the first control; perform a compliance check on the second resource in response to an upload operation on the second resource; and upload the second resource to the server if the second resource passes the compliance check.
[0137] In some embodiments, the upload module 1002 is used to display the second control when the second resource fails the compliance check; send the second resource to the manual review process in response to the triggering operation of the second control; and upload the second resource when the second resource passes the review.
[0138] In some embodiments, the upload module 1002 is used to send the first resource to the manual review process and display a second prompt message in response to a trigger operation on the second control, and the second prompt message is used to prompt to check the review status of the first resource; in response to a confirmation operation on the second prompt message, at least one resource that has been sent to the manual review process and the review status of at least one resource are displayed on the review status page, and the review status includes passed, failed, and under review; when the review status of the first resource is passed, in response to the upload operation of the first resource, the first resource is uploaded to the server.
[0139] In some embodiments, the resource upload page further displays a status viewing control; the device further comprises:
[0140] The second display module 1003 is used to display at least one resource that has been sent to the manual review process, the review status of at least one resource, and the operation control of at least one resource on the review status page in response to the triggering operation of the status viewing control;
[0141] Among them, for any resource, when the review status of the resource is passed, the operation control of the resource is an upload control, and the upload control is used to upload the resource after triggering;
[0142] When the review status of a resource is under review, the operation control of the resource is a withdraw control, which is used to trigger and withdraw the manual review process of the resource;
[0143] When the review status of a resource is Failed, the operation control of the resource is a Delete control, which is used to delete the resource on the Review Status page.
[0144] In some embodiments, the resource upload page also displays an address box, which is used to display the resource address of the uploaded resource;
[0145] The device also includes:
[0146] The third display module 1004 is used to display the resource address of the second resource in the address box when the second resource is successfully uploaded; and to display the resource address of the first resource in the address box when the first resource is successfully uploaded.
[0147] An embodiment of the present application provides a resource uploading device that can perform compliance detection on resources before uploading them. In the case that the resources fail the compliance detection, two options are provided: adjusting the resources and reviewing the resources. If you choose to adjust the resources, the resources are adjusted according to the detection rules of the compliance detection. The resources are uploaded only when the adjusted resources pass the compliance detection. By adjusting the resources, it is possible to avoid uploading non-compliant resources, thereby reducing the time cost of uploading and loading resources and improving the efficiency of human-computer interaction. If you choose to review the resources, the resources are sent to the manual review process. The resources are uploaded only when the resources pass the review. By providing the option of manually reviewing resources, it is possible to support uploading original resources when it is inconvenient to adjust the resources, saving the time for adjusting resources and further improving the efficiency of uploading resources.
[0148] It should be noted that the above embodiment provides a device for uploading resources. When implementing its functions, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the resource uploading device provided in the above embodiment and the resource uploading method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0149] An embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the resource uploading method provided by the above-mentioned various method embodiments.
[0150] Fig.12It is a structural block diagram of a terminal provided in an embodiment of the present application. In some embodiments, the terminal 1200 is a terminal such as a smart phone, a tablet computer, a wearable device, etc. that can access a wireless local area network as a wireless station. The terminal 1200 in the present application includes at least one or more of the following components: a processor 1210, a memory 1220, and at least two wireless links 1230.
[0151] In some embodiments, the processor 1210 includes one or more processing cores. The processor 1210 uses various interfaces and lines to connect various parts of the entire terminal 1200, and executes various functions and processes data of the terminal 1200 by running or executing program codes stored in the memory 1220, and calling data stored in the memory 1220. In some embodiments, the processor 1210 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1210 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1210, but may be implemented by a separate chip.
[0152] In some embodiments, the processor 1210 is used to control the working conditions of at least two wireless links 1230. Accordingly, the processor 1210 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip, etc.
[0153] In some embodiments, the memory 1220 includes a random access memory (RAM), and in some embodiments, the memory 1220 includes a read-only memory (ROM). In some embodiments, the memory 1220 includes a non-transitory computer-readable storage medium. The memory 1220 can be used to store program codes. The memory 1220 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal 1200 (such as audio data, a phone book), etc.
[0154] In some embodiments, the memory 1220 stores reception schemes for receiving beacon frames of different wireless links 1230, as well as identifiers of access nodes connected to different wireless links 1230, identifiers of wireless links 1230, and the like.
[0155] The at least two wireless links 1230 are used to connect different access points (APs) to receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.
[0156] In some embodiments, the terminal 1200 also includes a display screen. The display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen. In some embodiments, the display screen is usually arranged on the front panel of the terminal 1200. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.
[0157] In addition, those skilled in the art will appreciate that the structure of the terminal 1200 shown in the above drawings does not limit the terminal 1200, and the terminal 1200 includes more or fewer components than shown in the drawings, or combines certain components, or arranges components differently. For example, the terminal 1200 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.
[0158] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the resource uploading method shown in the above embodiments.
[0159] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the resource uploading method shown in the above embodiments.
[0160] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0161] Those skilled in the art can understand that all or part of the steps in the resource uploading method of the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete, and the above program can be stored in a computer-readable storage medium, and the above storage medium can be a read-only memory, a disk or an optical disk, etc. The above is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A resource uploading method, characterized in that: The method comprises: In response to an upload operation of a first resource on a resource upload page, if the first resource fails a compliance check, a first control and a second control are displayed on the resource upload page, wherein the first control is used to adjust the first resource based on a detection rule of the compliance check after being triggered, and the second control is used to send the first resource to a manual review process after being triggered; In response to a triggering operation on the first control, if the second resource passes the compliance detection, uploading the second resource, wherein the second resource is obtained by adjusting the first resource according to a detection rule of the compliance detection; In response to the triggering operation on the second control, if the first resource passes the review, the first resource is uploaded.
2. The method according to claim 1, characterized in that: In response to an upload operation of a first resource on a resource upload page, displaying a first control and a second control on the resource upload page when the first resource fails compliance detection includes: In response to an upload operation on a first resource in a resource upload page, obtaining attributes of the first resource; Based on the attribute of the first resource, performing the compliance check on the first resource, the compliance check is used to detect whether the attribute of the first resource is compliant; In a case where the first resource fails the compliance check, the first control and the second control are displayed in the resource upload page.
3. The method according to claim 2, characterized in that The attribute of the first resource includes the size of the first resource, and the detection rule of the compliance detection is that the size of the resource does not exceed a preset threshold; The performing the compliance detection on the first resource based on the attribute of the first resource includes: comparing the size of the first resource with the preset threshold; In a case where the size of the first resource exceeds the preset threshold, determining that the first resource fails the compliance check; When the size of the first resource does not exceed the preset threshold, it is determined that the first resource passes the compliance check.
4. The method according to claim 3, characterized in that The attribute of the first resource further includes at least one of a resource type, a size, and a resolution of the first resource; The method further comprises: Based on any attribute of the first resource, determine a preset threshold corresponding to the attribute or a preset threshold corresponding to a preset range within which an attribute value of the attribute lies; A detection rule for the compliance detection is determined based on a minimum value of at least one preset threshold value, wherein the at least one preset threshold value corresponds one-to-one to at least one attribute of the first resource.
5. The method according to claim 2, characterized in that: The attribute of the first resource further includes the size of the first resource, and the detection rule of the compliance detection further includes that the size of the resource is within a preset range; The performing the compliance detection on the first resource based on the attribute of the first resource includes: Determining whether the size of the first resource is within the preset range; If the size of the first resource is not within the preset range, determining that the first resource fails the compliance check; When the size of the first resource is within the preset range, it is determined that the first resource passes the compliance detection.
6. The method according to claim 2, characterized in that The attribute of the first resource further includes a resolution of the first resource, and the detection rule of the compliance detection further includes that the resolution of the resource is not less than a preset resolution; The performing the compliance detection on the first resource based on the attribute of the first resource includes: comparing the resolution of the first resource with the preset resolution; In a case where the resolution of the first resource is less than the preset resolution, determining that the first resource fails the compliance detection; When the resolution of the first resource is not less than the preset resolution, it is determined that the first resource passes the compliance detection.
7. The method according to claim 1, characterized in that The method of displaying a first control and a second control on the resource upload page when the first resource fails to pass the compliance check includes: In the case that the first resource fails the compliance check, a pop-up window including the first control and the second control is displayed on the resource upload page, and the pop-up window also displays first prompt information, where the first prompt information is used to prompt that the first resource fails the compliance check.
8. The method according to claim 1, characterized in that In response to the triggering operation on the first control, uploading the second resource if the second resource passes the compliance check includes: In response to a triggering operation on the first control, displaying the first resource and the second resource on a preview page; In response to the upload operation on the second resource, performing the compliance check on the second resource; If the second resource passes the compliance check, the second resource is uploaded to the server.
9. The method according to claim 8, characterized in that The method further comprises: In a case where the second resource fails the compliance check, displaying the second control; In response to a triggering operation on the second control, sending the second resource to a manual review process; If the second resource passes the review, upload the second resource.
10. The method according to claim 1, characterized in that In response to the triggering operation on the second control, uploading the first resource if the first resource passes the review includes: In response to the triggering operation on the second control, the first resource is sent to a manual review process, and second prompt information is displayed, where the second prompt information is used to prompt to check the review status of the first resource; In response to a confirmation operation on the second prompt information, displaying at least one resource that has been sent to the manual review process and the review status of the at least one resource on the review status page, wherein the review status includes passed, failed, and under review; When the review status of the first resource is passed, in response to an upload operation on the first resource, the first resource is uploaded to the server.
11. The method according to claim 1, characterized in that: The resource upload page also displays a status viewing control; the method further includes: In response to a trigger operation on the status viewing control, displaying at least one resource that has been sent to a manual review process, the review status of the at least one resource, and an operation control of the at least one resource on a review status page; Wherein, for any resource, when the audit status of the resource is passed, the operation control of the resource is an upload control, and the upload control is used to upload the resource after being triggered; When the review status of the resource is under review, the operation control of the resource is a withdraw control, and the withdraw control is used to withdraw the manual review process of the resource after being triggered; When the audit status of the resource is failed, the operation control of the resource is a delete control, and the delete control is used to delete the resource in the audit status page.
12. The method according to claim 1, characterized in that The resource upload page also displays an address box, which is used to display the resource address of the uploaded resource; The method further comprises: In case the second resource is successfully uploaded, displaying the resource address of the second resource in the address box; When the first resource is successfully uploaded, the resource address of the first resource is displayed in the address box.
13. A computer device, characterized in that: The computer device includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the resource uploading method according to any one of claims 1 to 12.
14. A computer program product comprising a computer program, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the resource uploading method according to any one of claims 1 to 12.
