CN114780003A - Material uploading method and related equipment - Google Patents

Material uploading method and related equipment Download PDF

Info

Publication number
CN114780003A
CN114780003A CN202210567383.5A CN202210567383A CN114780003A CN 114780003 A CN114780003 A CN 114780003A CN 202210567383 A CN202210567383 A CN 202210567383A CN 114780003 A CN114780003 A CN 114780003A
Authority
CN
China
Prior art keywords
uploaded
uploading
target
materials
state information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210567383.5A
Other languages
Chinese (zh)
Inventor
吕晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210567383.5A priority Critical patent/CN114780003A/en
Publication of CN114780003A publication Critical patent/CN114780003A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure provides a material uploading method and related equipment. The method comprises the following steps: responding to a selection instruction aiming at a target material to be uploaded in the plurality of materials to be uploaded, and determining the plurality of target materials to be uploaded and a designated uploading sequence thereof; determining a material occupancy map according to the specified uploading sequence of the plurality of target materials to be uploaded, wherein the material occupancy map comprises a plurality of display controls which are in one-to-one correspondence with the plurality of target materials to be uploaded, and the plurality of display controls are arranged and displayed according to the specified uploading sequence of the plurality of target materials to be uploaded; and updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded. The method can display the display controls corresponding to the target materials to be uploaded according to the uploading sequence expected by the user, so that the user can dynamically and intuitively obtain the uploading state of the target materials to be uploaded.

Description

Material uploading method and related equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for uploading a material, an electronic device, a computer-readable storage medium, and a computer program product.
Background
With the rapid development of computer technology and intelligent terminal devices, more and more users become the producers of network contents, so that the users have an increasing demand for uploading materials to various application programs through the intelligent terminal devices.
However, in the related art, if the size difference of the uploaded materials is large, the uploading efficiency and the uploading sequence of the materials cannot be considered, which is not favorable for the user to watch and search the uploaded materials, and thus the user experience is affected.
It is noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure and therefore may include information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
The embodiment of the disclosure provides a material uploading method, a material uploading device, electronic equipment, a computer readable storage medium and a computer program product.
The embodiment of the disclosure provides a material uploading method, which comprises the following steps: responding to a selection instruction aiming at a target material to be uploaded in the plurality of materials to be uploaded, and determining the plurality of target materials to be uploaded and a designated uploading sequence thereof; determining a material occupancy map according to the specified uploading sequence of the plurality of target materials to be uploaded, wherein the material occupancy map comprises a plurality of display controls which are in one-to-one correspondence with the plurality of target materials to be uploaded, and the plurality of display controls are arranged and displayed according to the specified uploading sequence of the plurality of target materials to be uploaded; and updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded.
In some exemplary embodiments of the present disclosure, the upload status includes an upload success, and the status information includes status information to be uploaded and uploaded status information; the method for updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded comprises the following steps: and when the uploading state of the target material to be uploaded is the uploading success, updating the state information of the display control corresponding to the target material to be uploaded into the uploaded state information.
In some exemplary embodiments of the present disclosure, the upload status further includes upload failure, and the status information further includes upload failure status information; wherein, according to the uploading state of the materials to be uploaded, the state information of the display controls in the material occupation bitmap is updated, and the method further comprises the following steps: and when the uploading state of the target material to be uploaded is the uploading failure, updating the state information of the display control corresponding to the target material to be uploaded into the uploading failure state information from the state information to be uploaded.
In some exemplary embodiments of the present disclosure, the method further comprises: the method comprises the steps that a display control of a target material to be uploaded, of which the uploading state is uploading failure, is responded to trigger operation, and the target material to be uploaded is uploaded again; and when the target material to be uploaded is successfully uploaded again, updating the state information of the display control corresponding to the target material to be uploaded into the uploaded state information from the uploading failure state information.
In some exemplary embodiments of the present disclosure, the uploading status includes successful uploading, and the status information includes status information to be uploaded and uploaded status information; wherein the method further comprises: calling a plurality of threads to respectively upload the target materials to be uploaded; when the target materials to be uploaded are uploaded successfully, adding the successfully uploaded target materials to be uploaded to the appointed position of the successfully uploaded queue according to the appointed uploading sequence; the method for updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded comprises the following steps: when the situation that the target materials to be uploaded exist in the uploading success queue is detected, the uploading state of the target materials to be uploaded is determined to be uploading success, and the state information of the corresponding display control in the material occupation map is updated to be uploaded state information.
In some exemplary embodiments of the present disclosure, the upload status further includes upload failure, and the status information further includes upload failure status information; wherein the method further comprises: when the target material to be uploaded fails to be uploaded, adding the target material to be uploaded which fails to be uploaded into an uploading failure queue; wherein, according to the uploading state of the material to be uploaded, updating the state information of the display controls in the material occupation bitmap, including: when the target material to be uploaded is detected to exist in the uploading failure queue, the uploading state of the target material to be uploaded is determined to be uploading failure, and the state information of the corresponding display control in the material occupation bitmap is updated to be uploading failure state information.
In some exemplary embodiments of the present disclosure, the plurality of materials to be uploaded are located in a material standby pool; calling a plurality of threads to upload the target materials to be uploaded respectively, wherein the method comprises the following steps: calling a plurality of threads to respectively carry out pre-transcoding on a plurality of target materials to be uploaded in the material standby pool; putting the target material to be uploaded which is successfully subjected to pre-transcoding into a material transcoding pool; calling a plurality of threads to respectively upload the target materials to be uploaded in the material transcoding pool; and returning the target material to be uploaded with the failure of pre-transcoding to the material standby pool.
The embodiment of the present disclosure provides a material uploading apparatus, including: the system comprises a determining module, a judging module and a judging module, wherein the determining module is configured to execute a selection instruction for a target material to be uploaded in a plurality of materials to be uploaded, and determine the plurality of materials to be uploaded and a designated uploading sequence thereof; the determining module is further configured to determine a material occupancy map according to the specified uploading sequence of the plurality of target materials to be uploaded, wherein the material occupancy map comprises a plurality of display controls in one-to-one correspondence with the plurality of target materials to be uploaded, and the plurality of display controls are arranged and displayed according to the specified uploading sequence of the plurality of target materials to be uploaded; and the updating module is configured to update the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded.
In some exemplary embodiments of the present disclosure, the upload status includes an upload success, and the status information includes status information to be uploaded and uploaded status information; the updating module is further configured to update the state information of the display control corresponding to the target material to be uploaded into the uploaded state information when the uploading state of the target material to be uploaded is the uploading success.
In some exemplary embodiments of the present disclosure, the upload status further includes upload failure, and the status information further includes upload failure status information; the updating module is further configured to update the state information of the display control corresponding to the target material to be uploaded into the uploading failure state information when the uploading state of the target material to be uploaded is the uploading failure.
In some exemplary embodiments of the present disclosure, the above apparatus further comprises: the uploading module is configured to execute triggering operation of a display control of a target material to be uploaded, of which the uploading state is uploading failure, and re-upload the target material to be uploaded; the updating module is further configured to update the state information of the display control corresponding to the target material to be uploaded into the uploaded state information from the uploading failure state information when the target material to be uploaded is successfully uploaded again.
In some exemplary embodiments of the present disclosure, the uploading status includes successful uploading, and the status information includes status information to be uploaded and uploaded status information; wherein the apparatus further comprises: an uploading module and an adding module; the uploading module is configured to execute a plurality of threads to upload the target materials to be uploaded respectively; the adding module is configured to add the uploaded target materials to be uploaded to the appointed position of the uploading success queue according to the appointed uploading sequence when the target materials to be uploaded are uploaded successfully; the updating module is further configured to determine that the uploading state of the target material to be uploaded is successful when the target material to be uploaded is detected to exist in the uploading success queue, and update the state information of the corresponding display control in the material occupation bitmap to be the uploaded state information.
In some exemplary embodiments of the present disclosure, the upload status further comprises an upload failure, and the status information further comprises upload failure status information; the adding module is further configured to add the target to-be-uploaded material with the uploading failure into an uploading failure queue when the target to-be-uploaded material fails to be uploaded; the updating module is further configured to determine that the uploading state of the target material to be uploaded is uploading failure when the target material to be uploaded is detected to exist in the uploading failure queue, and update the state information of the corresponding display control in the material occupation bitmap to be uploading failure state information.
In some exemplary embodiments of the present disclosure, the plurality of materials to be uploaded are located in a material standby pool; the device also comprises a pre-transcoding module, a putting module and a putting-back module: the pre-transcoding module is configured to call a plurality of threads to respectively pre-transcode a plurality of target materials to be uploaded in the material standby pool; the putting-in module is configured to put the target material to be uploaded which is successfully pre-transcoded into a material transcoding pool; the uploading module is also configured to execute the steps of calling a plurality of threads to respectively upload the target materials to be uploaded in the material transcoding pool; the putting-back module is configured to perform putting back the target material to be uploaded with the failed pre-transcoding into the material standby pool.
An embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement the material uploading method as described in any one of the above.
The disclosed embodiments provide a computer-readable storage medium, wherein when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the material uploading method.
The embodiment of the disclosure provides a computer program product, which comprises a computer program, and the computer program realizes the material uploading method of any item when being executed by a processor.
On one hand, in the material uploading method provided by the embodiment of the disclosure, in response to a selection instruction for a target material to be uploaded in a plurality of materials to be uploaded, a plurality of materials to be uploaded and a designated uploading sequence thereof are determined, and display controls corresponding to the plurality of materials to be uploaded are displayed on a material placeholder map according to the designated uploading sequence, that is, the display controls corresponding to the plurality of materials to be uploaded can be displayed according to the uploading sequence expected by a user, so that the user can watch, search and use the target material to be uploaded conveniently, and thus the user experience is improved; on the other hand, the state information of the plurality of display controls in the material occupation bitmap is dynamically updated according to the uploading state of the plurality of target materials to be uploaded, so that a user can dynamically and intuitively obtain the uploading state of the target materials to be uploaded.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which the material uploading method of the embodiment of the present disclosure can be applied.
Fig. 2 is a flowchart illustrating a material uploading method according to an exemplary embodiment.
Fig. 3 is a diagram of a material occupancy bitmap shown according to an example.
Fig. 4 is a schematic diagram of another material occupancy bitmap shown according to an example.
Fig. 5 is a schematic diagram of yet another material occupancy bitmap shown according to an example.
Fig. 6 is a schematic diagram of yet another material occupancy bitmap shown according to an example.
Fig. 7 is a schematic diagram of yet another material occupancy bitmap shown according to an example.
Fig. 8 is a schematic diagram of yet another material occupancy bitmap shown according to an example.
Fig. 9 is a flow chart illustrating another method of uploading material according to an example embodiment.
Fig. 10 is a flow chart illustrating another method of uploading material, according to an example embodiment.
Fig. 11 is a schematic diagram illustrating a material upload process, according to an example embodiment.
Fig. 12 is a block diagram illustrating a material uploading apparatus according to an exemplary embodiment.
FIG. 13 is a block diagram illustrating an electronic device suitable for use in implementing exemplary embodiments of the present disclosure, according to an exemplary embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The drawings are merely schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus, a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in at least one hardware module or integrated circuit, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and steps nor must they be performed in the order described. For example, some steps may be decomposed, some steps may be combined or partially combined, and thus the actual execution order may be changed according to the actual situation.
In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of at least one element/component/etc.; the terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first," "second," and "third," etc. are used merely as labels, and are not limiting on the number of their objects.
Fig. 1 is a schematic diagram illustrating an exemplary system architecture to which a material uploading method of an embodiment of the present disclosure may be applied.
As shown in fig. 1, the system architecture may include a server 101, a network 102, and at least one of a terminal device 103, a terminal device 104, and a terminal device 105. Network 102 is the medium used to provide communication links between terminal device 103, terminal device 104, or terminal device 105, and server 101. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The server 101 may be a server that provides various services, such as a background management server that provides support for devices operated by the user using the terminal apparatus 103, the terminal apparatus 104, or the terminal apparatus 105. The background management server may analyze and otherwise process the received data such as the request, and feed back the processing result to the terminal device 103, the terminal device 104, or the terminal device 105.
Terminal device 103, terminal device 104, and terminal device 105 may be, but are not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a wearable smart device, a virtual reality device, an augmented reality device, and the like.
In the embodiment of the present disclosure, the terminal device 103 (which may also be the terminal device 104 or the terminal device 105) may display a plurality of materials to be uploaded, the user may select a target material to be uploaded from the plurality of materials to be uploaded, and the terminal device 103 determines a plurality of target materials to be uploaded and a designated uploading order thereof in response to a selection instruction for the target material to be uploaded in the plurality of materials to be uploaded; the terminal device 103 can determine a material occupancy bitmap according to the specified uploading sequence of the multiple target materials to be uploaded, wherein the material occupancy bitmap comprises multiple display controls in one-to-one correspondence with the multiple target materials to be uploaded, and the multiple display controls are arranged and displayed according to the specified uploading sequence of the multiple target materials to be uploaded; the terminal device 103 updates the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded.
It should be understood that the numbers of the terminal device 103, the terminal device 104, the terminal device 105, the network 102 and the server 101 in fig. 1 are only illustrative, and the server 101 may be a physical server, a server cluster composed of a plurality of servers, a cloud server, and any number of terminal devices, networks and servers according to actual needs.
Hereinafter, the steps of the material uploading method in the exemplary embodiment of the present disclosure will be described in more detail with reference to the drawings and the embodiments. The method provided by the embodiment of the present disclosure may be executed by any electronic device, for example, the terminal device 103 in fig. 1 is described as an example in the following description, but the present disclosure does not limit the method that the terminal device executes the embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a material uploading method according to an exemplary embodiment.
As shown in fig. 2, the method provided by the embodiment of the present disclosure may include the following steps.
In step S210, in response to a selection instruction for a target material to be uploaded among the plurality of materials to be uploaded, a plurality of target materials to be uploaded and a designated uploading order thereof are determined.
In the embodiment of the disclosure, the terminal device can display a material selection interface, the material selection interface is an interface for a user to select materials to be uploaded, the material selection interface can include a plurality of materials to be uploaded, the materials can include at least one of text materials, picture materials, video materials and audio materials, the selection instruction can include at least one of a click instruction, a double click instruction, a long press instruction and a voice selection instruction, and the designated uploading sequence refers to a pre-designated sequence for uploading a plurality of target materials to be uploaded.
In the embodiment of the disclosure, a user can select a plurality of target materials to be uploaded from a plurality of materials to be uploaded, wherein the number of the materials to be uploaded is greater than or equal to the number of the target materials to be uploaded; in response to a selection instruction of a user for a target material to be uploaded in the multiple materials to be uploaded, the material to be uploaded selected by the user can be used as the target material to be uploaded, and the designated uploading sequence of the target material to be uploaded is determined according to the sequence of the target material to be uploaded selected by the user.
In the embodiment of the present disclosure, a plurality of materials to be uploaded may be located in the material standby pool, that is, the material standby pool may be used to store the materials that the user needs to upload.
For example, the material reserve pool includes a plurality of materials to be uploaded: material A, material B, material C, material D, … …, the user selects in proper order from these waiting to upload the material: material B, material A, material C, then the target waits to upload the material and be material B, material A, material C, the appointed upload order of target waiting to upload the material is: material B → material a → material C.
In the embodiment of the disclosure, a flag bit and/or a priority may be set for each target material to be uploaded, the flag bit may be used to indicate an uploading order of the target material to be uploaded, and the priority may be used to indicate an uploading priority of the target material to be uploaded. For example, the mark position of the material B, the mark position of the material a, and the mark position of the material C in the target material to be uploaded are 1, 2, and 3; or the priority of the material B in the target material to be uploaded is highest, the priority of the material A is medium, and the priority of the material C is lowest.
In step S220, a material occupancy bitmap is determined according to an appointed uploading sequence of a plurality of target materials to be uploaded, where the material occupancy bitmap includes a plurality of display controls in one-to-one correspondence with the plurality of target materials to be uploaded, and the plurality of display controls are arranged and displayed according to the appointed uploading sequence of the plurality of target materials to be uploaded.
In the embodiment of the present disclosure, a material occupancy bitmap (also referred to as a material display list) is a graph (or list) used for representing display positions of multiple target materials to be uploaded, the material occupancy bitmap may include multiple display controls, the display controls correspond to the target materials to be uploaded one by one, the display controls are controls used for displaying an uploading state of the target materials to be uploaded corresponding to the display controls, and the multiple display controls in the material occupancy bitmap are arranged and displayed according to a specified uploading sequence of the multiple target materials to be uploaded, for example, the multiple display controls may be arranged from left to right according to the specified uploading sequence of the target materials to be uploaded, or the multiple display controls may be arranged from top to bottom according to the specified uploading sequence of the target materials to be uploaded, or the multiple display controls may be arranged in other manners according to the specified uploading sequence of the target materials to be uploaded.
Fig. 3 is a diagram of a material occupancy bitmap shown according to an example. Referring to fig. 3, the material occupancy bitmap 301 may include a display control 302 corresponding to the material B, a display control 303 corresponding to the material a, and a display control 304 corresponding to the material C, which are sequentially arranged from left to right, where the display controls 302, 303, and 304 may display preset pictures.
It can be understood that the number, the position, the arrangement mode, the triggered function, the page layout, and the like of the display controls in the material occupation bitmap shown in fig. 3 can be set according to actual requirements, which is not limited by the present disclosure.
In step S230, according to the uploading states of the target materials to be uploaded, the state information of the plurality of display controls in the material occupation bitmap is updated.
In an exemplary embodiment, the upload status may include upload success and upload failure, and the status information may include to-be-uploaded status information, and upload failure status information.
In the embodiment of the present disclosure, the initial state information of the target material to be uploaded may be state information to be uploaded, and the information to be uploaded may be represented by using a word "to be uploaded", for example, but the present disclosure is not limited thereto.
For example, with continued reference to fig. 3, the state information 305 of the display control 302 corresponding to the material B is represented by the text "to be uploaded", the state information 306 of the display control 303 corresponding to the material a is represented by the text "to be uploaded", and the state information 307 of the display control 304 corresponding to the material C is represented by the text "to be uploaded".
In an exemplary embodiment, updating the state information of the plurality of presentation controls in the material occupancy bitmap according to the uploading state of the plurality of target materials to be uploaded may include: and when the uploading state of the target material to be uploaded is successful, updating the state information of the display control corresponding to the target material to be uploaded into the uploaded state information from the state information to be uploaded.
In the embodiment of the present disclosure, when the target material to be uploaded is successfully uploaded, the state information of the display control corresponding to the target material to be uploaded may be updated to the uploaded state information from the state information to be uploaded.
In the embodiment of the disclosure, when the target material to be uploaded is successfully uploaded, the display control corresponding to the target material to be uploaded can be updated to the display control including the thumbnail of the target material to be uploaded.
Fig. 4 is a schematic diagram of another material occupancy bitmap shown according to an example, and fig. 5 is a schematic diagram of still another material occupancy bitmap shown according to an example.
For example, referring to fig. 4, when the material B is successfully uploaded, the display control 302 corresponding to the material B may be updated to a thumbnail (which may also be a preview) of the material B, and the state information 305 corresponding to the material B is updated from "to be uploaded" to "uploaded"; or, referring to fig. 5, when the material a is successfully uploaded, the display control 303 corresponding to the material a may be updated to a thumbnail (which may also be a preview) of the material a, and the state information 306 corresponding to the material a is updated from "to be uploaded" to "uploaded".
In the embodiment of the disclosure, the state information of the material occupying multiple display controls in the bitmap can be updated according to the specified uploading sequence of the target material to be uploaded.
Fig. 6 is a schematic diagram of yet another material occupancy bitmap shown according to an example.
With reference to fig. 3, 4 and 6, for example, the specified uploading sequence of the target material to be uploaded is: material B → material A → material C, after the material A is uploaded successfully, the state information of the display control of the material A can not be updated firstly; after the material B is successfully uploaded, the display control 302 of the material B is updated to the thumbnail of the material B, the status information 305 of the material B is updated to "uploaded" (refer to fig. 3 and 4), then the display control 303 of the material a is updated to the thumbnail of the material a, and the status information 306 of the material a is updated to "uploaded" (refer to fig. 4 and 6).
In the embodiment of the disclosure, the display controls can be displayed according to the specified uploading sequence of the target materials to be uploaded, and when the target materials to be uploaded are successfully uploaded, the state information of the display controls of the target materials to be uploaded is dynamically updated, so that a user can dynamically and intuitively obtain the uploading state of the target materials to be uploaded.
In an exemplary embodiment, updating the state information of the plurality of presentation controls in the material occupancy bitmap according to the uploading state of the plurality of target materials to be uploaded may include: and when the uploading state of the target material to be uploaded is uploading failure, updating the state information of the display control corresponding to the target material to be uploaded into uploading failure state information.
In the embodiment of the disclosure, when the target material to be uploaded fails to be uploaded, the state information of the display control corresponding to the target material to be uploaded can be updated to the uploading failure state information from the state information to be uploaded.
Fig. 7 is a schematic diagram of yet another material occupancy bitmap shown according to an example.
For example, referring to fig. 7, when the uploading of the material C fails, the state information 307 of the presentation control 304 corresponding to the material C may be updated from "to be uploaded" to "uploading failed".
In the embodiment of the disclosure, the display controls can be displayed according to the specified uploading sequence of the target materials to be uploaded, and for the target materials to be uploaded which are unsuccessfully uploaded, the display controls corresponding to the target materials to be uploaded which are unsuccessfully uploaded are displayed in the material occupation map according to the specified uploading sequence.
In an exemplary embodiment, the method may further include: and in response to the triggering operation of the display control aiming at the target material to be uploaded with uploading failure in the uploading state, re-uploading the target material to be uploaded.
In the embodiment of the present disclosure, the trigger operation may include at least one of a click operation, a double-click operation, a long-press operation, a slide operation, and a voice trigger operation, and in the following description, the trigger operation is a click operation as an example, but the present disclosure is not limited thereto.
In the embodiment of the disclosure, a user can click the display control of the target material to be uploaded which fails to be uploaded, and the target material to be uploaded can be uploaded again in response to the click operation.
For example, the user may click on the presentation control 304 of the material C shown in fig. 7, and in response to the click operation, the material C is re-uploaded.
In the embodiment of the disclosure, the display control corresponding to the material to be uploaded of the target with the uploading failure can be displayed in the material occupation map, so that the user can trigger the display control corresponding to the material to be uploaded of the target with the uploading failure and upload the material to be uploaded of the target again, and the success rate of uploading the material is improved.
In an exemplary embodiment, the method may further include: and when the target material to be uploaded is successfully uploaded again, updating the state information of the display control corresponding to the target material to be uploaded into the uploaded state information from the uploading failure state information.
In the embodiment of the disclosure, when the target material to be uploaded which is unsuccessfully uploaded is successfully uploaded again, the state information of the display control corresponding to the target material to be uploaded can be updated to the uploaded state information from the uploading failure state information.
In the embodiment of the present disclosure, when the target to-be-uploaded material that has failed to be uploaded is successfully uploaded again, the display control corresponding to the target to-be-uploaded material may also be updated to the display control including the thumbnail of the target to-be-uploaded material.
Fig. 8 is a schematic diagram of yet another material occupancy bitmap shown according to an example.
For example, referring to fig. 8, when the material C is successfully re-uploaded, the display control 304 corresponding to the material C may be updated to a thumbnail (or a preview) of the material C, and the status information 307 corresponding to the material C may be updated from "upload failed" to "uploaded".
On one hand, in the material uploading method provided by the embodiment of the disclosure, in response to a selection instruction for a target material to be uploaded in a plurality of materials to be uploaded, a plurality of target materials to be uploaded and an appointed uploading sequence thereof are determined, display controls corresponding to the plurality of target materials to be uploaded are displayed on a material occupancy map according to the appointed uploading sequence, that is, the display controls corresponding to the plurality of target materials to be uploaded can be displayed according to the uploading sequence expected by a user, so that the user can conveniently watch, search and use the target materials to be uploaded, and the user experience is improved; on the other hand, according to the uploading states of the target materials to be uploaded, the state information of the material occupying bitmap and the display controls is dynamically updated, so that a user can dynamically and intuitively obtain the uploading states of the target materials to be uploaded.
In addition, compared with a method for synchronously uploading materials in the related art, the material uploading method provided by the disclosure uses multithreading to asynchronously upload the materials, so that the material uploading efficiency is higher; compared with a method for asynchronously uploading materials in the related art, the method for uploading materials can display the display controls corresponding to the materials to be uploaded in multiple targets according to the uploading sequence expected by the user, and therefore user experience is improved.
Fig. 9 is a flow chart illustrating another method of uploading material according to an example embodiment.
As shown in fig. 9, the method provided by the embodiment of the present disclosure may include the following steps.
In step S910, in response to a selection instruction for a target material to be uploaded among the plurality of materials to be uploaded, a plurality of target materials to be uploaded and a designated uploading order thereof are determined.
In an exemplary embodiment, the plurality of materials to be uploaded are located in a material standby pool, a user can select a target material to be uploaded from the plurality of materials to be uploaded in the material standby pool, and in response to a selection instruction for the target material to be uploaded in the plurality of materials to be uploaded from the material standby pool, the plurality of target materials to be uploaded and a designated uploading sequence thereof are determined.
In step S920, a material occupation map is determined according to the specified uploading sequence of the multiple target materials to be uploaded, where the material occupation map includes multiple display controls in one-to-one correspondence with the multiple target materials to be uploaded, and the multiple display controls are arranged and displayed according to the specified uploading sequence of the multiple target materials to be uploaded.
In the embodiment of the present disclosure, step S910 is similar to step S210, and step S920 is similar to step S220, and reference may be made to the description of step S210 and step S220, which is not repeated herein.
In step S930, a plurality of threads are invoked to upload a plurality of target to-be-uploaded materials, respectively.
In the embodiment of the disclosure, multiple threads can be called to asynchronously upload multiple target materials to be uploaded. For example, the material B, the material a, and the material C are uploaded using 3 threads, respectively.
Because the material sizes of the material B, the material a and the material C may be different, the uploading order of the material B, the material a and the material C may be different, for example, the material size relationship of the material B, the material a and the material C is: and if the material C is larger than the material B and larger than the material A, a plurality of threads are called to asynchronously upload the material B, the material A and the material C, under the general condition, the material A is uploaded firstly, the material B is uploaded secondly, and the material C is uploaded finally.
In an exemplary embodiment, the invoking of the plurality of threads to upload the plurality of target to-be-uploaded materials, respectively, may include: calling a plurality of threads to respectively carry out pre-transcoding on a plurality of target materials to be uploaded in the material standby pool; putting the target material to be uploaded which is successfully subjected to pre-transcoding into a material transcoding pool; calling a plurality of threads to respectively upload target materials to be uploaded in the material transcoding pool; and returning the target material to be uploaded with the failure of pre-transcoding to the material standby pool.
In the embodiment of the disclosure, material inspection can be performed on a plurality of target materials to be uploaded, for example, whether the material size meets the requirement can be set; calling a plurality of threads to asynchronously pre-transcode a plurality of target materials to be uploaded which pass through material inspection, for example, converting the picture formats of the plurality of target materials to be uploaded into a uniform format; putting the target materials to be uploaded which are successfully subjected to code pre-conversion into a material transcoding pool, and putting the target materials to be uploaded which are failed to be subjected to code pre-conversion back into a material standby pool; and calling the target to-be-uploaded material in the multiple threads to asynchronously upload the material transcoding pool.
In step S940, when the target to-be-uploaded material is uploaded successfully, the uploaded target to-be-uploaded material is added to the specified position of the upload success queue according to the specified upload order.
For example, the specified uploading sequence of the target material to be uploaded is as follows: material B → material A → material C, that is, material B is arranged at 1 st place, material A is arranged at 2 nd place, and material C is arranged at 3 rd place; when the material A is uploaded successfully, adding the material A into the 2 nd position of the uploading successful queue; when the material B is successfully uploaded, the material A can be added to the 1 st position of the successfully uploaded queue; when the material C is uploaded successfully, adding the material C into the 3 rd position of the uploading successful queue; thus, the material can be uploaded in the specified upload order, i.e., in the order intended by the user.
In the embodiment of the disclosure, when the target to-be-uploaded materials are uploaded successfully, the target to-be-uploaded materials which are uploaded successfully are added to the specified position of the uploading success queue (also referred to as an application queue) according to the specified uploading sequence, and the materials can be uploaded according to the specified uploading sequence, that is, the materials are uploaded according to the sequence expected by the user.
In the embodiment of the disclosure, the priority queue can be used for processing the target material to be uploaded which is successfully uploaded.
Specifically, a priority may be set for each target material to be uploaded according to a designated uploading order, for example, the priority of the material B is set to 1, the priority of the material a is set to 2, and the priority of the material C is set to 3; when the target materials to be uploaded are uploaded successfully, adding the successfully uploaded target materials to be uploaded into a priority queue, for example, the materials B, A and C are all uploaded successfully; the priority queue can output the target to-be-uploaded material queue according to the priority of the target to-be-uploaded material, namely, the material B can be output firstly, then the material A is output, and finally the material C is output, so that the materials can be uploaded according to a specified uploading sequence, namely, the materials are uploaded according to a sequence expected by a user.
In step S950, when it is detected that the target to-be-uploaded material exists in the upload success queue, it is determined that the upload state of the target to-be-uploaded material is an upload success, and the state information of the corresponding display control in the material occupancy bitmap is updated to be uploaded state information.
For example, when it is detected that the material B exists in the upload success queue, it is determined that the material B is uploaded successfully, and the state information of the display control of the material B in the material occupation bitmap may be updated to be the uploaded state information.
Similar steps in the embodiment of fig. 9 and the embodiment of fig. 2 can be referred to the text description in the embodiment of fig. 2, and the details of the disclosure are not repeated here.
Fig. 10 is a flow chart illustrating another method of uploading material, according to an example embodiment.
As shown in fig. 10, the method provided by the embodiment of the present disclosure may include the following steps.
In step S1010, in response to a selection instruction for a target material to be uploaded in the plurality of materials to be uploaded, a plurality of materials to be uploaded and a designated uploading order thereof are determined.
In step S1020, a material occupancy bitmap is determined according to an appointed uploading sequence of a plurality of target to-be-uploaded materials, where the material occupancy bitmap includes a plurality of display controls in one-to-one correspondence with the plurality of target to-be-uploaded materials, and the plurality of display controls are arranged and displayed according to the appointed uploading sequence of the plurality of target to-be-uploaded materials.
In step S1030, a plurality of threads are invoked to upload a plurality of target to-be-uploaded materials, respectively.
In the embodiment of the present disclosure, step S1010 is similar to step S910, step S1020 is similar to step S920, and step S1030 is similar to step S930, and reference may be made to the descriptions of steps S910, S920, and step S930, which is not described herein again.
In step S1040, when the target material to be uploaded fails to be uploaded, the target material to be uploaded that fails to be uploaded is added to the upload failure queue.
For example, when the upload of the material C fails, the material C may be added to the upload failure queue.
In step S1050, when it is detected that the target to-be-uploaded material exists in the upload failure queue, it is determined that the upload state of the target to-be-uploaded material is upload failure, and the state information of the corresponding display control in the material occupancy bitmap is updated to be upload failure state information.
For example, when it is detected that the material C exists in the upload failure queue, it is determined that the upload of the material C fails, and the state information of the display control of the material C in the material occupancy bitmap may be updated to upload failure state information.
In the embodiment of the disclosure, when the target material to be uploaded fails to be uploaded, the display control corresponding to the target material to be uploaded, which fails to be uploaded, can be updated in the material occupancy bitmap, so that a user can trigger the display control corresponding to the target material to be uploaded, and can upload the target material to be uploaded again, thereby improving the success rate of uploading the material.
Fig. 11 is a schematic diagram illustrating a material upload process, according to an example embodiment.
Referring to fig. 11, the material upload process may include:
in step S1101, checking target materials (e.g., material a, material B, and material C) to be uploaded selected by a user from a material standby pool;
in step S1102, pre-transcoding the target to-be-uploaded material, so as to unify the formats of the target to-be-uploaded material.
In step S1103, determining whether the pre-transcoding of the material is successful, and returning the target material to be uploaded, of which the pre-transcoding is failed, to the material standby pool;
in step S1104, the target material to be uploaded, which is successfully transcoded, is placed into a material transcoding pool;
in step S1105, a target material to be uploaded starts to be uploaded;
specifically, a plurality of target materials to be uploaded can be uploaded by using an asynchronous multithreading uploading queue, and the target materials to be uploaded which are successfully uploaded are placed into an uploading success queue; putting the target material to be uploaded which fails to be uploaded into an uploading failure queue;
in step S1106, when it is detected that the target material to be uploaded exists in the upload success queue, updating the state information of the corresponding display control in the material occupation bitmap to be upload success state information; and when the situation that the target materials to be uploaded exist in the uploading failure queue is detected, updating the state information of the corresponding display control in the material occupation bitmap into uploading failure state information.
It is noted that the above-mentioned figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Fig. 12 is a block diagram illustrating a material uploading apparatus according to an exemplary embodiment. Referring to fig. 12, the apparatus 1200 may include a determination module 1210 and an update module 1220.
Wherein the determining module 1210 is configured to execute, in response to a selection instruction for a target material to be uploaded among the plurality of materials to be uploaded, determining a plurality of target materials to be uploaded and a designated uploading order thereof; the determining module 1210 is further configured to perform determining a material occupancy map according to the specified uploading sequence of the plurality of target materials to be uploaded, where the material occupancy map includes a plurality of display controls corresponding to the plurality of target materials to be uploaded one by one, and the plurality of display controls are arranged and displayed according to the specified uploading sequence of the plurality of target materials to be uploaded; the updating module 1220 is configured to update the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the target materials to be uploaded.
In some exemplary embodiments of the present disclosure, the upload status includes an upload success, and the status information includes status information to be uploaded and uploaded status information; the updating module 1220 is further configured to update the state information of the display control corresponding to the target material to be uploaded to the uploaded state information when the uploading state of the target material to be uploaded is the uploading success.
In some exemplary embodiments of the present disclosure, the upload status further comprises an upload failure, and the status information further comprises upload failure status information; the updating module 1220 is further configured to update the state information of the display control corresponding to the target material to be uploaded to the uploading failure state information when the uploading state of the target material to be uploaded is the uploading failure.
In some exemplary embodiments of the present disclosure, the apparatus 1200 described above further includes: the uploading module is configured to execute triggering operation of a display control aiming at a target material to be uploaded of which the uploading state is uploading failure, and to re-upload the target material to be uploaded; the updating module 1220 is further configured to update the state information of the display control corresponding to the target material to be uploaded to the uploaded state information from the uploading failure state information when the target material to be uploaded is successfully uploaded again.
In some exemplary embodiments of the present disclosure, the upload status includes an upload success, and the status information includes status information to be uploaded and uploaded status information; wherein the apparatus 1200 further comprises: an uploading module and an adding module; the uploading module is configured to execute and call a plurality of threads to respectively upload the target materials to be uploaded; the adding module is configured to add the uploaded target materials to be uploaded to the appointed position of the uploading success queue according to the appointed uploading sequence when the target materials to be uploaded are uploaded successfully; the updating module 1220 is further configured to determine that the uploading status of the target material to be uploaded is successful when the target material to be uploaded is detected to exist in the uploading successful queue, and update the status information of the corresponding display control in the material occupation map to the uploaded status information.
In some exemplary embodiments of the present disclosure, the upload status further includes upload failure, and the status information further includes upload failure status information; the adding module is further configured to add the target to-be-uploaded material with the uploading failure into an uploading failure queue when the target to-be-uploaded material fails to be uploaded; the updating module 1220 is further configured to determine that the uploading state of the target material to be uploaded is uploading failure when the target material to be uploaded is detected to exist in the uploading failure queue, and update the state information of the corresponding display control in the material occupation map to be uploading failure state information.
In some exemplary embodiments of the present disclosure, the plurality of materials to be uploaded are located in a material standby pool; wherein, the device 1200 further comprises a pre-transcoding module, a putting module and a putting-back module: the pre-transcoding module is configured to call a plurality of threads to respectively pre-transcode a plurality of target materials to be uploaded in the material standby pool; the putting-in module is configured to put the target material to be uploaded which is successfully pre-transcoded into a material transcoding pool; the uploading module is also configured to execute the steps of calling a plurality of threads to respectively upload the target materials to be uploaded in the material transcoding pool; the putting-back module is configured to perform putting back the target material to be uploaded with the failed pre-transcoding into the material standby pool.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
An electronic device 1300 according to such an embodiment of the present disclosure is described below with reference to fig. 13. The electronic device 1300 shown in fig. 13 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 13, the electronic device 1300 is in the form of a general purpose computing device. The components of the electronic device 1300 may include, but are not limited to: the at least one processing unit 1310, the at least one memory unit 1320, the bus 1330 connecting the various system components including the memory unit 1320 and the processing unit 1310, and the display unit 1340.
Where the memory unit stores program code, the program code may be executed by the processing unit 1310 to cause the processing unit 1310 to perform steps according to various exemplary embodiments of the present disclosure as described in the "exemplary methods" section above in this specification. For example, the processing unit 1310 may perform the various steps as shown in fig. 2.
As another example, the electronic device may implement the various steps shown in FIG. 2.
The storage 1320 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)1321 and/or a cache memory unit 1322, and may further include a read only memory unit (ROM) 1323.
Storage 1320 may also include a program/utility 1324 having a set (at least one) of program modules 1325, such program modules 1325 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1330 may be any bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1300 may also communicate with one or more external devices 1370 (e.g., keyboard, pointing device, bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 1300, and/or any devices that enable the electronic device 1300 to communicate with one or more other computing devices (e.g., router, modem, etc.). Such communication may occur via input/output (I/O) interfaces 1350. Also, the electronic device 1300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) through the network adapter 1360. As shown, the network adapter 1360 communicates with the other modules of the electronic device 1300 via the bus 1330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of an apparatus to perform the above-described method is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instructions which, when executed by a processor, implement the material uploading method in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for uploading material, comprising:
responding to a selection instruction aiming at a target material to be uploaded in the plurality of materials to be uploaded, and determining the plurality of target materials to be uploaded and a designated uploading sequence thereof;
determining a material occupancy map according to the specified uploading sequence of the plurality of target materials to be uploaded, wherein the material occupancy map comprises a plurality of display controls which are in one-to-one correspondence with the plurality of target materials to be uploaded, and the plurality of display controls are arranged and displayed according to the specified uploading sequence of the plurality of target materials to be uploaded;
and updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded.
2. The material uploading method according to claim 1, wherein the uploading status comprises successful uploading, and the status information comprises to-be-uploaded status information and uploaded status information;
the method for updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded comprises the following steps:
and when the uploading state of the target material to be uploaded is the uploading success, updating the state information of the display control corresponding to the target material to be uploaded into the uploaded state information.
3. The material uploading method according to claim 2, wherein the uploading status further includes uploading failure, and the status information further includes uploading failure status information;
wherein, according to the uploading state of the materials to be uploaded, the state information of the display controls in the material occupation bitmap is updated, and the method further comprises the following steps:
and when the uploading state of the target material to be uploaded is the uploading failure, updating the state information of the display control corresponding to the target material to be uploaded into the uploading failure state information from the state information to be uploaded.
4. A method for uploading material as claimed in claim 3 further comprising:
the method comprises the steps that in response to the triggering operation of a display control aiming at a target material to be uploaded of which the uploading state is uploading failure, the target material to be uploaded is uploaded again;
and when the target material to be uploaded is successfully uploaded again, updating the state information of the display control corresponding to the target material to be uploaded into the uploaded state information from the uploading failure state information.
5. The material uploading method according to claim 1, wherein the uploading status comprises successful uploading, and the status information comprises to-be-uploaded status information and uploaded status information;
wherein the method further comprises:
calling a plurality of threads to respectively upload the target materials to be uploaded;
when the target materials to be uploaded are uploaded successfully, adding the successfully uploaded target materials to be uploaded to the appointed position of the successfully uploaded queue according to the appointed uploading sequence;
the method for updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded comprises the following steps:
when the situation that the target material to be uploaded exists in the uploading success queue is detected, the uploading state of the target material to be uploaded is determined to be uploading success, and the state information of the corresponding display control in the material occupation bitmap is updated to be uploaded state information.
6. The material uploading method according to claim 5, wherein the uploading status further comprises uploading failure, and the status information further comprises uploading failure status information;
wherein the method further comprises:
when the target material to be uploaded fails to be uploaded, adding the target material to be uploaded which fails to be uploaded into an uploading failure queue;
the method for updating the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded comprises the following steps:
when the target material to be uploaded exists in the uploading failure queue, determining that the uploading state of the target material to be uploaded is uploading failure, and updating the state information of the corresponding display control in the material occupation map into uploading failure state information.
7. A material uploading apparatus, comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is configured to execute a selection instruction for a target material to be uploaded in a plurality of materials to be uploaded, and determine the plurality of materials to be uploaded and a designated uploading sequence thereof;
the determining module is further configured to determine a material occupancy map according to the specified uploading sequence of the plurality of target materials to be uploaded, wherein the material occupancy map comprises a plurality of display controls in one-to-one correspondence with the plurality of target materials to be uploaded, and the plurality of display controls are arranged and displayed according to the specified uploading sequence of the plurality of target materials to be uploaded;
and the updating module is configured to update the state information of the plurality of display controls in the material occupation bitmap according to the uploading state of the plurality of target materials to be uploaded.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the material uploading method of any of claims 1 to 6.
9. A computer readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the material upload method of any of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the material uploading method of any of claims 1 to 6.
CN202210567383.5A 2022-05-23 2022-05-23 Material uploading method and related equipment Pending CN114780003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210567383.5A CN114780003A (en) 2022-05-23 2022-05-23 Material uploading method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210567383.5A CN114780003A (en) 2022-05-23 2022-05-23 Material uploading method and related equipment

Publications (1)

Publication Number Publication Date
CN114780003A true CN114780003A (en) 2022-07-22

Family

ID=82409428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210567383.5A Pending CN114780003A (en) 2022-05-23 2022-05-23 Material uploading method and related equipment

Country Status (1)

Country Link
CN (1) CN114780003A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131651A (en) * 2019-12-26 2020-05-08 北大方正集团有限公司 Picture uploading method, picture uploading device and computer readable storage medium
CN111290678A (en) * 2020-01-19 2020-06-16 深圳集智数字科技有限公司 Picture preview method, device and equipment
CN111417001A (en) * 2020-04-26 2020-07-14 北京达佳互联信息技术有限公司 Video transmission method, device, server and storage medium
CN111857919A (en) * 2020-07-16 2020-10-30 北京字节跳动网络技术有限公司 Video processing method, device, terminal equipment and medium
WO2021088881A1 (en) * 2019-11-04 2021-05-14 华为技术有限公司 Picture selecting method and electronic device
CN113726842A (en) * 2021-07-09 2021-11-30 北京房江湖科技有限公司 File uploading method and device, electronic equipment and storage medium
CN113792173A (en) * 2021-08-18 2021-12-14 五八有限公司 Vehicle source picture marking method and device, electronic equipment and readable medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021088881A1 (en) * 2019-11-04 2021-05-14 华为技术有限公司 Picture selecting method and electronic device
CN111131651A (en) * 2019-12-26 2020-05-08 北大方正集团有限公司 Picture uploading method, picture uploading device and computer readable storage medium
CN111290678A (en) * 2020-01-19 2020-06-16 深圳集智数字科技有限公司 Picture preview method, device and equipment
CN111417001A (en) * 2020-04-26 2020-07-14 北京达佳互联信息技术有限公司 Video transmission method, device, server and storage medium
CN111857919A (en) * 2020-07-16 2020-10-30 北京字节跳动网络技术有限公司 Video processing method, device, terminal equipment and medium
CN113726842A (en) * 2021-07-09 2021-11-30 北京房江湖科技有限公司 File uploading method and device, electronic equipment and storage medium
CN113792173A (en) * 2021-08-18 2021-12-14 五八有限公司 Vehicle source picture marking method and device, electronic equipment and readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ICOS官方账号: "微博9宫格的制作教程!超简单实用而且很短!", Retrieved from the Internet <URL:https://www.bilibili.com/video/BV17W411W7xa/?spm_id_from=333.337.search-card.all.click> *

Similar Documents

Publication Publication Date Title
US7603627B2 (en) Systems and methods for creating and managing graphical user interface lists
CN110597595A (en) Method for providing multi-language information, method for configuring multi-language information, device, equipment and medium
CN112214155B (en) View information playing method, device, equipment and storage medium
CN108958731B (en) Application program interface generation method, device, equipment and storage medium
CN112000911A (en) Page management method and device, electronic equipment and storage medium
CN109947528B (en) Information processing method and device
CN111736825A (en) Information display method, device, equipment and storage medium
CN112395517A (en) House resource searching and displaying method and device and computer readable storage medium
CN112395297A (en) Method, device and server for synchronizing work information
CN114780003A (en) Material uploading method and related equipment
CN111371950A (en) Split screen response method and device, terminal and storage medium
CN112015309A (en) Display switching method and device and mobile terminal
CN113126863B (en) Object selection implementation method and device, storage medium and electronic equipment
US11303464B2 (en) Associating content items with images captured of meeting content
CN113835929A (en) Data acquisition method and device, electronic equipment and storage medium
CN115687704A (en) Information display method and device, electronic equipment and computer readable storage medium
CN114283565A (en) Multi-screen seat machine early warning method and device, electronic equipment and storage medium
CN114138140A (en) Information management method, electronic device, and storage medium
CN114066098A (en) Method and device for estimating completion duration of learning task
CN114968216A (en) Application program development project generation method and device
CN112966201A (en) Object processing method, device, electronic equipment and storage medium
CN111813407A (en) Game development method, game running device and electronic equipment
WO2023028832A1 (en) Data display method and apparatus, storage medium, and electronic device
US9960972B1 (en) Contextual backup and restore operations
CN112527422A (en) View updating method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination