CN112422693A - User online short video draft queue exporting method - Google Patents

User online short video draft queue exporting method Download PDF

Info

Publication number
CN112422693A
CN112422693A CN202011390099.2A CN202011390099A CN112422693A CN 112422693 A CN112422693 A CN 112422693A CN 202011390099 A CN202011390099 A CN 202011390099A CN 112422693 A CN112422693 A CN 112422693A
Authority
CN
China
Prior art keywords
draft
server
stage
load condition
load
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
CN202011390099.2A
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.)
Shenzhen Qianhai Hand Painted Technology and Culture Co Ltd
Original Assignee
Shenzhen Qianhai Hand Painted Technology and Culture 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 Shenzhen Qianhai Hand Painted Technology and Culture Co Ltd filed Critical Shenzhen Qianhai Hand Painted Technology and Culture Co Ltd
Priority to CN202011390099.2A priority Critical patent/CN112422693A/en
Publication of CN112422693A publication Critical patent/CN112422693A/en
Priority to PCT/CN2021/106068 priority patent/WO2022116544A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for exporting a user online short video draft queue, which is characterized in that after a draft downloading request instruction is acquired, the load condition of a server is confirmed, and the draft is segmented; according to the load condition of the server, starting to execute the downloading action on the draft in a single segmentation mode; the video drafts are efficiently downloaded by the aid of segmentation processing of the drafts and real-time monitoring of the server.

Description

User online short video draft queue exporting method
Technical Field
The invention belongs to the technical field of short video export, and particularly relates to an export method and device of a user online short video draft queue, electronic equipment and a storage medium.
Background
In the short video creation process, the short video draft is generally exported to a video file for downloading or online transmission.
The on-line short video export is usually completed by a server, and when a plurality of users make and export the short video on line, the server needs to perform export processing on the works according to a certain sequence in a queue form. The prior server-side draft export queue system is generally carried out in sequence, and the next draft export is carried out after the export of one draft is finished, and the export queue form is that the draft export is carried out in sequence, and the export time cost is higher
Therefore, how to efficiently and orderly derive a plurality of short videos is a technical problem which needs to be solved urgently at present.
Disclosure of Invention
In order to solve the technical defects, the invention provides a method for exporting a user online short video draft queue, which comprises the following steps:
receiving a first draft export request instruction, wherein the request instruction comprises attribute information of the first draft;
acquiring server state information to timely solve the load condition of the server;
decomposing the first draft into a plurality of stages according to a processing flow so as to independently process the single stage;
and judging whether the first draft first stage is executed or not, and determining whether the second stage of the first draft is executed or not according to the load condition of the server.
Correspondingly, the invention also provides a device for exporting the user online short video draft queue, which comprises:
the instruction receiving module is used for receiving a first draft export request instruction, and the request instruction comprises attribute information of the first draft;
the load acquisition module is used for acquiring the state information of the server so as to know the load condition of the server at regular time;
the stage decomposition module is used for decomposing the first draft into a plurality of stages according to a processing flow so as to independently process the single stage;
and the appointed judging module is used for judging whether the first draft first stage is executed or not and determining whether the first draft is executed immediately or not according to the load condition of the server.
Description of technical effects: the invention provides a method for exporting a user online short video draft queue, which is characterized in that after a draft downloading request instruction is acquired, the load condition of a server is confirmed, and the draft is segmented; according to the load condition of the server, starting to execute the downloading action on the draft in a single segmentation mode; the video drafts are efficiently downloaded by the aid of segmentation processing of the drafts and real-time monitoring of the server.
It should be noted that, by knowing the load condition of the server regularly, the downloading of the drafts can be better distributed, so as to complete the downloading action of the video drafts efficiently.
It should be further noted that by segmenting the draft, each stage can be executed independently, thereby avoiding the increase of time cost caused by the need of downloading the draft completely before downloading another draft.
Further, the step of obtaining the server state information and knowing the load condition of the server includes:
sending a load feedback instruction to the server;
and acquiring the load condition of each server.
Correspondingly, the load obtaining module includes:
the load feedback instruction unit is used for sending a load feedback instruction to the server;
a load condition obtaining unit, configured to obtain a load condition of each server;
description of technical effects: the load condition of each server is known by sending a load feedback instruction to the servers, so that the real-time monitoring of the server load is realized.
Since the server is the core of the download operation, it is necessary to know the load of the server at any time regardless of which phase is executed.
Further, the step of decomposing the first draft into a plurality of stages according to the processing flow is as follows:
segmenting the draft according to different loads occupied by executing the downloading task;
and setting a trigger instruction between the segments so as to conveniently start the execution action of the next stage in time after judging that the execution of the current stage is finished.
Correspondingly, the stage decomposition module comprises:
the draft segmenting unit is used for segmenting the draft according to different loads occupied by executing the downloading task;
and the trigger instruction setting unit is used for setting a trigger instruction between the segments so as to start the execution of the next stage after the current stage is completed.
Description of technical effects: and segmenting the draft according to different loads required in the draft downloading process, and setting a trigger instruction between the segments of the draft for starting and executing the next stage in time after the execution of the current stage is finished. .
It should be noted that the segmentation process is divided based on the occupation of the network, content and CPU by the downloading process.
Further, whether the first draft first stage is executed or not is judged, and whether the second stage of the first draft is executed or not is judged immediately according to the load condition of the server; and simultaneously judging the load condition of the server to determine whether the first stage of the second draft can be executed comprises the following steps:
judging the load required for executing the second stage of the first draft, and simultaneously, according to the load condition of the current server, facilitating whether to immediately execute the second stage of the first draft;
and receiving a downloading request instruction of the second draft, and matching one server according to the load condition of the server so as to execute the first stage of the second draft.
Correspondingly, the appointed judging module is as follows:
the stage execution judging unit is used for judging the load required by executing the second stage of the first draft and simultaneously judging whether to immediately execute the second stage of the first draft according to the load condition of the current server;
and the server matching unit is used for receiving the downloading request instruction of the second draft and matching one server to execute the first stage of the second draft according to the load condition of the server.
Description of technical effects: after the first stage of the first draft is executed, firstly, the server judges whether the load environment of the second stage of the first draft is met or not, and if the load environment of the second stage of the first draft is met, the execution can be continued; meanwhile, the occupied server is based on the execution of the first stage of the second draft, and therefore it is necessary to confirm whether the first stage of the second draft can be executed.
The invention also provides an electronic device comprising a memory and a processor, the memory storing a computer program, the computer program being executable in the processor to implement any of the methods described above.
The present invention also provides a storage medium storing a computer program which is executed in a processor to implement any of the methods described above.
The invention provides a method for exporting a user online short video draft queue, which is characterized in that after a draft downloading request instruction is acquired, the load condition of a server is confirmed, the draft is segmented, the execution of each segment is started through the load condition of the server, and the effect of efficiently downloading the video draft is achieved through the segmented processing and the real-time monitoring of the server.
Drawings
Fig. 1 is a flowchart of a method for exporting a user online short video draft queue according to an embodiment;
FIG. 2 is a flow diagram of an embodiment of a method for modifying the method of FIG. 1;
FIG. 3 is a flow diagram of an embodiment of a method for modifying the method of FIG. 1;
FIG. 4 is a flow chart of an embodiment of an improved method for the method of FIG. 1;
FIG. 5 is an architecture diagram of an export device for a user online short video draft queue, according to an embodiment;
FIG. 6 is an architecture diagram of a modified portion of the lead-out device of FIG. 5 according to one embodiment;
FIG. 7 is an architecture diagram of a modified portion of the lead-out device of FIG. 5 according to one embodiment;
fig. 8 is an architecture diagram of a modified portion of the lead-out device of fig. 5 according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that in the description of the present invention, unless otherwise explicitly specified or limited, the term "storage medium" may be various media that can store a computer program, such as ROM, RAM, a magnetic or optical disk, or the like. The term "processor" may be a chip or a circuit having a data Processing function, such as a CPLD (Complex Programmable Logic Device), an FPGA (Field-Programmable Gate Array), an MCU (micro Controller Unit), a PLC (Programmable Logic Controller), and a CPU (Central Processing Unit). The term "electronic device" may be any device having data processing and storage functions and may generally include fixed and mobile terminals. Fixed terminals such as desktop computers and the like. Mobile terminals such as mobile phones, PADs, and mobile robots, etc. Furthermore, the technical features mentioned in the different embodiments of the invention described later can be combined with each other as long as they do not conflict with each other.
In the following, the present invention proposes some preferred embodiments to teach those skilled in the art to implement.
The first embodiment is as follows:
referring to fig. 1, the present embodiment provides a method for exporting a user online short video draft queue, including the steps of:
s1, receiving a first draft export request instruction, wherein the request instruction comprises attribute information of the first draft;
s2, acquiring server state information to timely solve the load condition of the server;
s3, decomposing the first draft into a plurality of stages according to a processing flow so as to independently process the single stage;
s4, determining whether the first draft stage is completed, and determining whether to execute the second draft stage according to the load of the server.
Example two
Referring to fig. 5, correspondingly, the present embodiment provides an apparatus for exporting a user online short video draft queue, including:
an instruction receiving module 1, configured to receive a first draft export request instruction, where the request instruction includes attribute information of the first draft;
the load acquisition module 2 is used for acquiring the server state information so as to know the load condition of the server at regular time;
the stage decomposition module 3 is used for decomposing the first draft into a plurality of stages according to a processing flow so as to independently process the single stage;
the designation judging module 4 judges whether the first draft first stage is executed or not, and determines whether to execute the first draft immediately or not according to the load condition of the server.
Description of technical effects: the invention provides a method for exporting a user online short video draft queue, which is characterized in that after a draft downloading request instruction is acquired, the load condition of a server is confirmed, and the draft is segmented; according to the load condition of the server, starting to execute the downloading action on the draft in a single segmentation mode; the video drafts are efficiently downloaded by the aid of segmentation processing of the drafts and real-time monitoring of the server.
It should be noted that, by knowing the load condition of the server regularly, the downloading of the drafts can be better distributed, so as to complete the downloading action of the video drafts efficiently.
It should be further noted that by segmenting the draft, each stage can be executed independently, thereby avoiding the increase of time cost caused by the need of downloading the draft completely before downloading another draft.
EXAMPLE III
Referring to fig. 2, further, the step of obtaining the server status information and knowing the load condition of the server includes:
s21, sending a load feedback instruction to the server;
and S22, acquiring the load condition of each server.
Example four
Referring to fig. 6, the corresponding load acquisition module includes:
a load feedback instruction unit 21, configured to send a load feedback instruction to the server;
a load condition obtaining unit 22, configured to obtain a load condition of each server;
description of technical effects: the load condition of each server is known by sending a load feedback instruction to the servers, so that the real-time monitoring of the server load is realized.
Since the server is the core of the download operation, it is necessary to know the load of the server at any time regardless of which phase is executed.
EXAMPLE five
Referring to fig. 3, further, the step of decomposing the first draft into a plurality of stages according to the processing flow is:
s31, segmenting the draft according to different loads occupied by executing the downloading task;
and S32, setting triggering instructions among the segments so as to start the execution action of the next stage in time after judging that the execution of the current stage is finished.
EXAMPLE six
Referring to fig. 7, correspondingly, the phase decomposition module includes:
a draft segmenting unit 31, configured to segment the draft according to different loads occupied by executing the downloading task;
a trigger setup unit 32, configured to set up a trigger between the segments so that the execution of the next phase is started after the current phase is completed.
Description of technical effects: and segmenting the draft according to different loads required in the draft downloading process, and setting a trigger instruction between the segments of the draft for starting and executing the next stage in time after the execution of the current stage is finished. .
It should be noted that the segmentation process is divided based on the occupation of the network, content and CPU by the downloading process.
EXAMPLE seven
Referring to fig. 4, further, the determining whether the first draft first stage is executed completely, and determining whether to execute the second stage of the first draft immediately according to the load condition of the server; and simultaneously judging the load condition of the server to determine whether the first stage of the second draft can be executed comprises the following steps:
s41, judging the load needed by executing the second stage of the first draft, and simultaneously, according to the load condition of the current server, facilitating whether to immediately execute the second stage of the first draft;
and S42, receiving a download request instruction of the second draft, and matching a server according to the load condition of the server so as to execute the first stage of the second draft.
Example eight
Referring to fig. 8, correspondingly, the designation judging module is:
a stage execution judging unit 41, configured to judge a load required to execute the second stage of the first draft, and meanwhile, according to a load condition of the current server, to facilitate whether to immediately execute the second stage of the first draft;
the server matching unit 42 is configured to receive a download request instruction of the second draft, and match one server to execute the first stage of the second draft according to a load condition of the server.
Description of technical effects: after the first stage of the first draft is executed, firstly, the server judges whether the load environment of the second stage of the first draft is met or not, and if the load environment of the second stage of the first draft is met, the execution can be continued; meanwhile, the occupied server is based on the execution of the first stage of the second draft, and therefore it is necessary to confirm whether the first stage of the second draft can be executed.
The invention also provides an electronic device comprising a memory and a processor, the memory storing a computer program, the computer program being executable in the processor to implement any of the methods described above. The electronic device may be a mobile terminal or a web server.
The present invention also provides a storage medium storing a computer program which is executed in a processor to implement any of the methods described above.

Claims (10)

1. A method for exporting a user online short video draft queue is characterized by comprising the following steps:
receiving a first draft export request instruction, wherein the request instruction comprises attribute information of the first draft;
acquiring server state information to timely solve the load condition of the server;
decomposing the first draft into a plurality of stages according to a processing flow so as to independently process the single stage;
and judging whether the first draft first stage is executed or not, and judging whether the second stage of the first draft is executed immediately or not according to the load condition of the server.
2. The exporting method according to claim 1, wherein the step of obtaining the server status information and knowing the load condition of the server comprises:
sending a load feedback instruction to the server;
and acquiring the load condition of each server.
3. The exporting method according to claim 1, wherein the step of decomposing the first draft into a plurality of stages according to the process flow comprises:
segmenting the draft according to different loads occupied by executing the downloading task;
and setting a trigger instruction between the segments so as to conveniently start the execution action of the next stage in time after judging that the execution of the current stage is finished.
4. The exporting method according to claim 1, wherein the determining whether the first draft first stage is executed or not is completed, and the determining whether the second stage of the first draft is executed immediately is based on the load condition of the server:
judging the load required for executing the second stage of the first draft, and simultaneously, according to the load condition of the current server, facilitating whether to immediately execute the second stage of the first draft;
and receiving a downloading request instruction of the second draft, and matching one server according to the load condition of the server so as to execute the first stage of the second draft.
5. A user online short video draft queue exporting device is characterized by comprising
The instruction receiving module is used for receiving a first draft export request instruction, and the request instruction comprises attribute information of the first draft;
the load acquisition module is used for acquiring the state information of the server so as to know the load condition of the server at regular time;
the stage decomposition module is used for decomposing the first draft into a plurality of stages according to a processing flow so as to independently process the single stage;
and the appointed judging module is used for judging whether the first draft first stage is executed or not and determining whether the first draft second stage is executed or not immediately according to the load condition of the server.
6. The exporting apparatus according to claim 5, wherein the load obtaining module comprises:
the load feedback instruction unit is used for sending a load feedback instruction to the server;
and the load condition acquisition unit is used for acquiring the load condition of each server.
7. The exporting apparatus of claim 5, wherein the stage decomposition module comprises:
the draft segmenting unit is used for segmenting the draft according to different loads occupied by executing the downloading task;
and the trigger instruction setting unit is used for setting a trigger instruction between the segments so as to start the next stage after the current stage is completed.
8. The deriving device according to claim 5, wherein the designation judging module is:
the stage execution judging unit is used for judging the load required by executing the second stage of the first draft and simultaneously judging whether to immediately execute the second stage of the first draft according to the load condition of the current server;
and the server matching unit is used for receiving the downloading request instruction of the second draft and matching one server to execute the first stage of the second draft according to the load condition of the server.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the computer program is executed in the processor to perform the method of any of claims 1-4.
10. A storage medium storing a computer program, characterized in that the computer program is executed in a processor to implement the method of any of claims 1-4.
CN202011390099.2A 2020-12-02 2020-12-02 User online short video draft queue exporting method Pending CN112422693A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011390099.2A CN112422693A (en) 2020-12-02 2020-12-02 User online short video draft queue exporting method
PCT/CN2021/106068 WO2022116544A1 (en) 2020-12-02 2021-07-13 Method for user to export short video draft queue online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011390099.2A CN112422693A (en) 2020-12-02 2020-12-02 User online short video draft queue exporting method

Publications (1)

Publication Number Publication Date
CN112422693A true CN112422693A (en) 2021-02-26

Family

ID=74829648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011390099.2A Pending CN112422693A (en) 2020-12-02 2020-12-02 User online short video draft queue exporting method

Country Status (2)

Country Link
CN (1) CN112422693A (en)
WO (1) WO2022116544A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022116544A1 (en) * 2020-12-02 2022-06-09 深圳市前海手绘科技文化有限公司 Method for user to export short video draft queue online

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095827A (en) * 2013-01-11 2013-05-08 中国传媒大学 Local multiple client terminals synergic data download method based on random network coding
CN104363511A (en) * 2014-11-28 2015-02-18 北京奇艺世纪科技有限公司 Method and system for online playing F4v videos on mobile device
CN105847370A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Video file scheduling distribution or request method and system
US20170279877A1 (en) * 2016-03-28 2017-09-28 Industrial Technology Research Institute Load balancing method, load balancing system, load balancing device and topology reduction method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003467B2 (en) * 2008-10-09 2015-04-07 Telefonaktiebolaget L M Ericsson (Publ) Supporting functions for quality-assured P2P VoD services
CN102629938B (en) * 2012-03-14 2015-05-06 网宿科技股份有限公司 Method for carrying out video acceleration on network video loading and system thereof
CN105915938B (en) * 2016-06-24 2019-06-25 贵州万臻时代通讯技术有限公司 A kind of method, apparatus and system of foradownloaded video
CN107277558B (en) * 2017-06-19 2020-03-31 网宿科技股份有限公司 Player client, system and method for realizing synchronization of live video
CN112422693A (en) * 2020-12-02 2021-02-26 深圳市前海手绘科技文化有限公司 User online short video draft queue exporting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095827A (en) * 2013-01-11 2013-05-08 中国传媒大学 Local multiple client terminals synergic data download method based on random network coding
CN104363511A (en) * 2014-11-28 2015-02-18 北京奇艺世纪科技有限公司 Method and system for online playing F4v videos on mobile device
US20170279877A1 (en) * 2016-03-28 2017-09-28 Industrial Technology Research Institute Load balancing method, load balancing system, load balancing device and topology reduction method
CN105847370A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Video file scheduling distribution or request method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022116544A1 (en) * 2020-12-02 2022-06-09 深圳市前海手绘科技文化有限公司 Method for user to export short video draft queue online

Also Published As

Publication number Publication date
WO2022116544A1 (en) 2022-06-09

Similar Documents

Publication Publication Date Title
CN108563579B (en) White box testing method, device and system and storage medium
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN102957622A (en) Method, device and system for data processing
CN107526623A (en) A kind of data processing method and device
CN111352851A (en) Program testing method and device, computer equipment and storage medium
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
CN104717103A (en) Method and device for testing network device
CN117215910A (en) Interface test frame generation method, test method, electronic device and storage medium
CN108023905B (en) Internet of things application system and method
CN112422693A (en) User online short video draft queue exporting method
CN111651482A (en) Data acquisition method and device
CN113641544B (en) Method, apparatus, device, medium and product for detecting application state
CN112732556B (en) Automatic testing method, device, equipment and storage medium of distributed system
CN113535586A (en) Test environment switching method, device, equipment and readable storage medium
CN113778771A (en) Terminal testing method, system and storage medium
CN115129574A (en) Code testing method and device
CN115629951B (en) Task full-link tracking method, first node, link system and medium
CN113485855B (en) Memory sharing method and device, electronic equipment and readable storage medium
CN112055058A (en) Data storage method and device and computer readable storage medium
CN112925623B (en) Task processing method, device, electronic equipment and medium
CN114239301A (en) Simulation scene generation method and device
CN113672225A (en) User interface processing method, device, equipment and storage medium
CN113671924A (en) DCS real-time value setting method and system, equipment and storage medium
CN111694739A (en) Interface test 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210226

RJ01 Rejection of invention patent application after publication