CN111857919A - Video processing method, device, terminal equipment and medium - Google Patents

Video processing method, device, terminal equipment and medium Download PDF

Info

Publication number
CN111857919A
CN111857919A CN202010687791.5A CN202010687791A CN111857919A CN 111857919 A CN111857919 A CN 111857919A CN 202010687791 A CN202010687791 A CN 202010687791A CN 111857919 A CN111857919 A CN 111857919A
Authority
CN
China
Prior art keywords
video
displaying
application program
interface
video processing
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
CN202010687791.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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010687791.5A priority Critical patent/CN111857919A/en
Publication of CN111857919A publication Critical patent/CN111857919A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

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

Abstract

The disclosure discloses a video processing method, a video processing device, terminal equipment and a medium. The method comprises the following steps: after detecting that a user clicks a video processing control in an application program, displaying a processing task interface; when the application program is switched to the background operation, displaying state information on a setting interface, wherein the state information represents the processing state of a video processed by a video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation. By the method, the video processing process can be kept alive after the application program is switched to the background to run, the probability of video processing failure in the application program is reduced, and the experience of a user in video processing is improved.

Description

Video processing method, device, terminal equipment and medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, and in particular relates to a video processing method, a video processing device, a terminal device and a medium.
Background
With the rapid development of computer technology, more and more video sharing application programs are available for users to share videos, for example, short video sharing application programs are available for users to share short videos.
When a user uses a video sharing application program to perform video processing (such as video uploading, editing, or downloading), if the user exits the application program to the background, the process of the application program may be killed, thereby causing video processing failure.
Therefore, how to reduce the probability of video processing failure in the application program after the application program exits to the background is a technical problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the disclosure provides a video processing method, a video processing device, a terminal device and a medium, which reduce the probability of failure of video processing in an application program after the application program exits to a background.
In a first aspect, an embodiment of the present disclosure provides a video processing method, including:
after detecting that a user clicks a video processing control in an application program, displaying a processing task interface;
when the application program is switched to the background operation, displaying state information on a setting interface, wherein the state information represents the processing state of a video processed by a video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
In a second aspect, an embodiment of the present disclosure further provides a video processing apparatus, including:
The first display module is used for triggering and displaying a processing task interface after detecting that a user clicks a video processing control in an application program;
and the second display module is used for displaying state information on a set interface when the application program is switched to the background operation, wherein the state information represents the processing state of the video processed by the video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
In a third aspect, an embodiment of the present disclosure further provides a terminal device, including:
one or more processing devices;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processing devices, so that the one or more processing devices implement the methods provided by the embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer readable medium, on which a computer program is stored, which when executed by a processing device implements the method provided by the disclosed embodiments.
The embodiment of the disclosure provides a video processing method, a video processing device, a terminal device and a medium, wherein a processing task interface is displayed after a user clicks a video processing control in an application program is detected; and then displaying state information on a setting interface when the application program is switched to the background operation, wherein the state information represents the processing state of the video processed by the video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation. By the aid of the technical scheme, the video processing process can be kept alive after the application program is switched to the background to run, the probability of video processing failure in the application program is reduced, and the experience of a user in video processing is improved.
Drawings
Fig. 1 is a schematic flowchart of a video processing method according to an embodiment of the present disclosure;
fig. 1a is a schematic view of a scene displaying a processing task interface according to a first embodiment of the disclosure;
fig. 2 is a schematic flowchart of a video processing method according to a second embodiment of the disclosure;
fig. 2a is a schematic view of a display scene of status information of a video according to a second embodiment of the disclosure;
FIG. 2b is a schematic interface diagram of a target interface according to a second embodiment of the disclosure;
fig. 2c is a schematic view of a display scene of status information of another video according to a second embodiment of the disclosure;
FIG. 2d is a schematic interface diagram of another target interface provided in the second embodiment of the disclosure;
fig. 2e is a schematic view of a display scene of state information of another video according to a second embodiment of the disclosure;
FIG. 2f is a schematic interface diagram of another target interface according to a second embodiment of the disclosure;
fig. 3 is a schematic structural diagram of a video processing apparatus according to a third embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution. Furthermore, the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
Example one
Fig. 1 is a flowchart of a video processing method according to an embodiment of the present disclosure, where the method is applicable to a situation where the probability of video processing failure in an application program is reduced, and the method may be executed by a video processing apparatus, where the apparatus may be implemented by software and/or hardware and is generally integrated on a terminal device, where the terminal device in this embodiment includes but is not limited to: mobile phones, computers, personal digital assistants, and the like.
As shown in fig. 1, a video processing method according to a first embodiment of the present disclosure includes the following steps:
and S110, displaying a processing task interface after detecting that the user clicks the video processing control in the application program.
In this embodiment, the application program may be a video application program, and the present disclosure may be applied to a scene in which the application program is switched to a background operation when there is a video processing task in the video application program. The video processing control may be a control for triggering a video processing process, and the video processing control is not limited herein as long as it can trigger the video processing process. The video processing comprises video editing, video uploading and/or video downloading. The video processing controls may include video upload controls, video download controls, and video editing controls. The video processing process includes, but is not limited to, a video editing process, a video uploading process, and a video downloading process. The video editing process can be regarded as a process generated at the time of video editing. The video upload process may be considered as a process that occurs when the video upload is performed. The video download process may be considered as a process that occurs when a video download is performed.
After the user clicks the video processing control, a processing task interface can be displayed, and the processing task interface can be an interface for displaying the processing state of the video processed by the video processing process. Taking video uploading as an example for explanation, a user clicks the uploading control to trigger the video uploading process, and then a processing task interface corresponding to the video uploading process is displayed on the terminal device.
Fig. 1a is a scene schematic diagram for displaying a processing task interface according to an embodiment of the present disclosure, referring to fig. 1a, when a user clicks a video processing control, for example, when the video processing control is released, the processing task interface may be displayed, the processing task interface may be an interface under an application focus tab, the interface may include a floating control of a processing state of a video processed by a video processing process, for example, X% in fig. 1a represents a processing progress of the video, and the control may be the floating control. The processing task interface is not limited in the present disclosure, and the interface including the floating control of the video processing state may be regarded as the processing task interface.
And S120, displaying the state information on a setting interface when the application program is switched to the background operation.
The state information represents the processing state of the video processed by the video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to a background to run.
The present disclosure shows that the processing task interface can be considered that the application program currently has a video processing process, i.e. a video processing task exists. If the application program is switched to the background operation at this time, the video processing process will be recovered due to the memory recovery mechanism of the operating system.
According to the video processing method and device, in order to improve the success rate of video processing, when the application program is switched to the background operation, the processing state of the video processed by the video processing process is displayed on the setting interface. The video processing process is in a keep-alive state when the application is switched to background operation. When the video processing process is in the keep-alive state, the video processing process can be considered to be kept alive, namely the video processing is continuously carried out at present, and the processing state of the processed video is displayed in the setting interface. The embodiment does not limit how to keep alive the video processing process, and a person skilled in the art can keep alive the video processing process by adopting any technical means capable of keeping alive the process.
The setting interface is not limited, and may be any interface outside the application program, such as an interface where a notification bar of the terminal device is located, an interface currently displayed by the terminal device, or a desktop of the terminal device. The user can view the processing state of the video in the settings interface. The processing state may be information characterizing the progress or state of video processing during video processing. The state information may characterize that the video is in process, that the video processing is successful, that the video processing is failed, and the like. Taking video transmission as an example, the state information may represent that video is in transmission, that video transmission is successful, and that video transmission is failed.
In the step, a triggering means for switching the application program to the background operation is not limited, for example, the application program is switched to the background operation after a user clicks a main page key of the terminal equipment; and if the rest application programs are started, the application programs are switched to run in the background.
The video processing method provided by the first embodiment of the disclosure includes the steps that firstly, after a user clicks a video processing control in an application program, a processing task interface is displayed; and then displaying state information on a setting interface when the application program is switched to the background operation, wherein the state information represents the processing state of the video processed by the video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation. By the aid of the technical scheme, the video processing process can be kept alive after the application program is switched to the background to run, the probability of video processing failure in the application program is reduced, and the experience of a user in video processing is improved.
On the basis of the above-described embodiment, a modified embodiment of the above-described embodiment is proposed, and it is to be noted herein that, in order to make the description brief, only the differences from the above-described embodiment are described in the modified embodiment.
In one embodiment, the video processing process is kept alive by increasing the priority of the video processing process after the application program is switched to the background running.
The video processing process being in a keep-alive state can be achieved by increasing the priority of the video processing process. The video processing process with the improved priority can realize keep-alive without being recycled by a memory, and the level to which the priority of the video processing process is improved is not limited, so long as the video processing process can be kept alive. For example, the priority of the video processing process is increased to at least the level of the operating system foreground visible process. Optionally, the priority of the video processing process may be increased to the highest level, so as to achieve exclusive memory.
In one embodiment, the level of increased priority is the level of the operating system foreground visible process.
In this embodiment, when the video processing process is kept alive, the level of the video processing process with the increased priority may be the level of the visible process in the foreground of the operating system. The visible process of the operating system foreground can be regarded as the visible process of the operating system, and the visible process cannot be recycled by the memory, namely cannot be cleared, so that the video processing process is kept alive.
Example two
Fig. 2 is a schematic flow chart of a video processing method according to a second embodiment of the present disclosure, which is embodied on the basis of various alternatives in the above embodiments. In this embodiment, the method further specifically includes: after interface display state information is set, receiving a switching instruction, wherein the switching instruction is generated by triggering a switching control in a display area for displaying the state information when a user clicks, and the switching instruction is used for switching a currently displayed interface to a target interface of the application program; and displaying the target interface. Please refer to the first embodiment for a detailed description of the present embodiment.
As shown in fig. 2, a video processing method provided in the second embodiment of the present disclosure includes the following steps:
and S210, displaying a processing task interface after detecting that the user clicks the video processing control in the application program.
And S220, displaying state information on a setting interface when the application program is switched to the background operation.
And S230, receiving a switching instruction.
And triggering and generating the switching instruction when a user clicks a switching control in a display area for displaying the state information, wherein the switching instruction is used for switching the currently displayed interface to the target interface of the application program.
The display area may be considered as an area where the status information is displayed. The toggle control can be considered a control that implements page toggling. And after the switching control is triggered, a target interface of the application program can be displayed. The switching control is not limited here, and the positions of the switching controls set in the display areas of different state information are different, so long as the interface currently displayed by the terminal device can be switched to the corresponding target interface. The display area may be an area in the setting interface.
The target interface may be an interface in an application program, and the switching control of the display area of different state information may correspond to different target interfaces, which is not limited herein. As long as the prompt information of the video processed by the video processing process can be displayed in the target interface. The content of the prompt information is different under different scenes, and the prompt information can prompt the transmission progress, the transmission success or the transmission failure and the like of the video.
And S240, displaying the target interface.
The video processing method provided by the second embodiment of the disclosure specifically includes an operation of switching a display target interface. By the method, when the user clicks the switching control in the display area in the setting interface, the target interface of the application program can be displayed, so that the user can quickly and intuitively know the state of the video.
On the basis of the above-described embodiment, a modified embodiment of the above-described embodiment is proposed, and it is to be noted herein that, in order to make the description brief, only the differences from the above-described embodiment are described in the modified embodiment.
In one embodiment, the displaying the target interface includes:
under the condition that the state information displayed in the display area represents that the video is in transmission, displaying a target interface under the application program attention tag or the recommendation tag, and displaying prompt information of transmission progress in the target interface;
under the condition that the state information displayed in the display area represents that the video transmission is successful, displaying a target interface under the application program attention label or the recommended label, displaying prompt information of successful transmission in the target interface, and displaying the transmitted video;
and under the condition that the state information displayed in the display area represents that the video transmission fails, displaying a target interface under the application program attention label or the recommendation label, and displaying prompt information of the transmission failure in the target interface.
The state information displayed in the display area is not limited as long as different state information can represent different processing states of the video, such as representing that the video is in transmission through a 'transmitting' word; the success of video transmission is represented by the word of "success of transmission"; the video transmission failure is characterized by the word "transmission failure".
If the switching instruction is generated by triggering the switching control in the display area, and the state information displayed in the display area indicates that the video is in processing, a target interface under an application program attention tag or a recommendation tag can be displayed, and prompt information of the transmission progress is displayed in a set area in the target interface. The set area is not limited as long as the rest of the content displayed in the target interface is not occluded.
The focus tab may include content focused on by the user when using the application, such as other focused users. The recommendation tag may include content recommended to the user based on the content included in the user interest tag. A plurality of attention interfaces can be included under the attention tab, and different attention interfaces can be presented to different contents of the user. The recommendation label can comprise a plurality of recommendation interfaces, and different recommendation interfaces can be presented to users with different contents. The target interface includes a focus interface and a recommendation interface. The focus interface may be considered to be the interface under the focus label. The recommendation interface may be considered an interface under the recommendation label.
After the target interface is displayed, prompt information of the transmission progress of the video can be displayed in the target interface, and the prompt information can represent the progress of video transmission. The form of the prompt message is not limited here, and may be in the form of a file, a progress bar, or a progress percentage.
If the switching instruction is generated by triggering the switching control in the display area, and the state information displayed in the display area represents that the video transmission is successful, displaying a target interface under an application program attention label or a recommended label, and then displaying prompt information of successful transmission in the target interface, wherein the prompt information can be presented in a file form. In addition, the embodiment can also display the transmitted video in the target interface for the user to view.
If the switching instruction is generated by triggering the switching control in the display area, and the state information displayed in the display area represents that the video transmission fails, displaying a target interface under an application program attention label or a recommended label, and displaying prompt information of the transmission failure in the target interface, wherein the prompt information can be presented in a way of a file, and the specific content of the file is not limited here.
In one embodiment, after the setting interface displays the status information, the method further includes:
receiving a reprocessing instruction, wherein the reprocessing instruction is triggered and generated when a user clicks a reprocessing control in a display area for displaying the state information, and the reprocessing instruction is used for triggering a process for reprocessing the video processed by the video transmission process;
Displaying reprocessing information on the setting interface, wherein the reprocessing information represents the processing state of the reprocessed video.
The reprocessing control can be a control that triggers reprocessing of the video. The re-processing control can re-trigger the video processing process to process the video. In this embodiment, the position of the reprocessing control is not limited to be an arbitrarily set position in the display area.
A re-processing instruction may be triggered in the settings interface for re-processing the video. After receiving the reprocessing instruction, the reprocessing information can be displayed in the display area of the setting interface display state information. The reprocessing information may display a processing status of the reprocessed video.
For example, if the status information displayed in the display area is a transmission failure, the video may be reprocessed after the user clicks the reprocessing control, and the reprocessing information of the video is displayed on the setting interface, so that the user can know the processing status of the video.
In one embodiment, the re-processing information is determined when re-processing video processed by the video processing process.
In re-processing the video processed by the video processing process, the re-processing information may be determined based on the process of processing the video, and the means for determining is not limited herein.
The video processing method provided by the present disclosure is exemplarily described below, and the video processing method provided by the present disclosure can be applied to a short video sharing application program, so the video processing method provided by the present disclosure can be regarded as a method for keeping alive and displaying a state of a short video uploading process. Corresponding contents of the video downloading process and the video processing process are not described in detail, and may refer to corresponding contents of the video uploading process.
In the existing short video content platform, when a user uploads a video, the user exits the application to the system background in some scenes, and due to a memory recovery mechanism of some systems, such as an android system, the memory recovery of the application process of the background is performed in some situations, so that the application process is killed, and a video uploading task of the user is interrupted unexpectedly.
The video processing method provided by the disclosure can solve the following technical problems: how to keep the uploading task uninterrupted after the application program is switched to the system background; and showing the progress and the state of the user visualization.
In order to solve the above technical problem, according to the video processing method provided by the present disclosure, when an application program is uploading a task, that is, a processing task interface is displayed, and a user moves the application program back to a background, the priority of an application program process, for example, a video processing process, is increased, so that the application program process is changed into an operating system foreground visible process.
In addition, the video processing method provided by the disclosure can also display the state information, such as the current uploading progress, in the system notification bar, wherein the uploading progress comprises various condition prompts such as uploading in progress, uploading success, uploading failure and the like. The video processing method provided by the disclosure can ensure that the application can still be successfully uploaded when exiting to the system background when the application currently has the uploading task, and the uploading success rate of the user is improved. When the application program is in the background of the system, the uploading task state is visualized for the user, and the user can know the uploading progress conveniently.
When a user uploads a task through a video sharing application program, if the application program returns to a background, an uploading process is kept active, and an android system informs a bar to display the uploading progress, namely state information of a video transmission process is displayed.
Fig. 2a is a schematic view of a display scene of video status information provided by a second embodiment of the present disclosure, and fig. 2b is an interface schematic view of a target interface provided by a second embodiment of the present disclosure, and referring to fig. 2a, a notification bar progress prompt is shown as "being uploaded", and when a user clicks a switching control in a display area in fig. 2a, if the user clicks the progress, an application is hoisted to enter the target interface under a focus tab (i.e., tab). At this time, the upload task is still in progress, and the upload progress widget is still displayed above the target interface, for example, the upload progress widget displayed below the live broadcast in fig. 2b, the form displayed in the upload progress widget includes but is not limited to: video thumbnails, "in-progress" typeface, progress bar, motion picture, net speed, and progress percentage, etc. The upload progress widget may be a floating control. And when the target interface is switched, the target interface is always displayed in the currently displayed target interface until the uploading is successful.
Fig. 2c is a schematic view of a display scene of status information of another video according to a second embodiment of the disclosure; fig. 2d is an interface schematic diagram of another target interface provided in the second embodiment of the disclosure. Referring to fig. 2c, the notification bar progress prompt is shown as "upload successful", that is, the status information displayed in the display area represents that the video upload is successful. When the user clicks the switching control in the display area in fig. 2c, if "upload success" is clicked, the prompt disappears, the application program is hoisted to enter the target interface under the attention tag, and an upload success prompt is displayed on the target interface, such as "work is successfully sent out and can be viewed by clicking" displayed in fig. 2d, and the video which is just uploaded is played in the current target interface.
Fig. 2e is a schematic view of a display scene of state information of another video according to a second embodiment of the disclosure;
fig. 2f is an interface schematic diagram of another target interface provided in the second embodiment of the disclosure. Referring to fig. 2e, the progress prompt of the notification bar is shown as "upload failed", the status information is displayed in the notification bar, and when the status information is displayed, when the user clicks the reprocessing control in the display area in fig. 2e, for example, when the retry button is located in the area, the reprocessing instruction may be triggered to trigger the video to be uploaded again; when the user clicks the switching control in the display area in fig. 2e, for example, the area outside the retry area, or the designated area in the display area (the area is not limited and may be designed based on the actual situation), the application program is hoisted, and the uploading failure error-reporting typeface is displayed, for example, "the work is not failed to be sent, and the draft box has been stored". The position of the failed display typeface is not limited, and the failed display typeface can be displayed in a target interface hoisted by the application program.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a video processing apparatus according to a third embodiment of the present disclosure, which may be applied to a situation of reducing the probability of video processing failure in an application, where the apparatus may be implemented by software and/or hardware and is generally integrated on a terminal device.
As shown in fig. 3, the apparatus includes:
the first display module 31 is configured to trigger to display a processing task interface after detecting that a user clicks a video processing control in an application;
the second display module 32 is configured to display state information on a setting interface when the application program is switched to the background operation, where the state information represents a processing state of a video processed by a video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
In this embodiment, the device first triggers and displays a task processing interface after detecting that a user clicks a video processing control in an application program through the first display module 31; and then, displaying state information on a setting interface through a second display module 32 when the application program is switched to the background operation, wherein the state information represents a processing state of a video processed by a video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
The embodiment provides a video processing device, which can reduce the probability of video processing failure in an application program and improve the experience of a user in video processing by keeping the video processing progress alive after the application program is switched to a background to run.
Further, after the application program is switched to a background to run, the priority of the video processing process is increased, so that the video processing process is in a keep-alive state.
Further, the level of the increased priority is the level of the visible process in the foreground of the operating system.
Further, the apparatus further includes a first receiving module configured to: after interface display state information is set, receiving a switching instruction, wherein the switching instruction is generated by triggering a switching control in a display area for displaying the state information when a user clicks, and the switching instruction is used for switching a currently displayed interface to a target interface of the application program;
and displaying the target interface.
Further, the first receiving module displays the target interface, including:
under the condition that the state information displayed in the display area represents that the video is in transmission, displaying a target interface under the application program attention tag or the recommendation tag, and displaying prompt information of transmission progress in the target interface;
Under the condition that the state information displayed in the display area represents that the video transmission is successful, displaying a target interface under the application program attention label or the recommended label, displaying prompt information of successful transmission in the target interface, and displaying the transmitted video;
and under the condition that the state information displayed in the display area represents that the video transmission fails, displaying a target interface under the application program attention label or the recommendation label, and displaying prompt information of the transmission failure in the target interface.
Further, the apparatus further includes a second receiving module configured to: after setting interface display state information, receiving a reprocessing instruction, wherein the reprocessing instruction is generated by triggering a reprocessing control in a display area for displaying the state information clicked by a user, and the reprocessing instruction is used for triggering a process for reprocessing a video processed by the video transmission process;
displaying reprocessing information on the setting interface, wherein the reprocessing information represents the processing state of the reprocessed video.
Further, the re-processing information is determined when re-processing the video processed by the video processing process.
The video processing device can execute the video processing method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present disclosure. Fig. 4 shows a schematic structural diagram of a terminal device 400 suitable for implementing an embodiment of the present disclosure. The terminal Device 400 in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a vehicle mounted terminal (e.g., a car navigation terminal), etc., and a fixed terminal such as a digital TV, a desktop computer, etc. The terminal device 400 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the terminal device 400 may include one or more processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. The one or more processing devices 401 implement a video processing method as provided by the present disclosure. In the RAM403, various programs and data necessary for the operation of the terminal apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408, including, for example, magnetic tape, hard disk, etc., storage 408 for storing one or more programs; and a communication device 409. The communication means 409 may allow the terminal device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates a terminal apparatus 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable medium may be contained in the terminal device 400; or may exist separately without being assembled into the terminal device 400.
The computer readable medium stores one or more computer programs which, when executed by a processing device, implement the method of:
after detecting that a user clicks a video processing control in an application program, displaying a processing task interface;
when the application program is switched to the background operation, displaying state information on a setting interface, wherein the state information represents the processing state of a video processed by a video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the name of a module in some cases does not constitute a limitation on the module itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides a video processing method according to one or more embodiments of the present disclosure, including:
after detecting that a user clicks a video processing control in an application program, displaying a processing task interface;
when the application program is switched to the background operation, displaying state information on a setting interface, wherein the state information represents the processing state of a video processed by a video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
Example 2 the method of example 1, after the application is switched to a background run, the video processing process is kept alive by increasing the priority of the video processing process.
Example 3 the method of example 2, wherein the level of the increased priority is a level of a foreground visible process of the operating system.
Example 4 the method of example 1, after the setting interface displays the status information, further comprising:
receiving a switching instruction, wherein the switching instruction is generated by triggering a switching control in a display area where the user clicks and displays the state information, and the switching instruction is used for switching a currently displayed interface to a target interface of the application program;
And displaying the target interface.
Example 5 the method of example 4, the displaying the target interface, according to one or more embodiments of the present disclosure, includes:
under the condition that the state information displayed in the display area represents that the video is in transmission, displaying a target interface under the application program attention tag or the recommendation tag, and displaying prompt information of transmission progress in the target interface;
under the condition that the state information displayed in the display area represents that the video transmission is successful, displaying a target interface under the application program attention label or the recommended label, displaying prompt information of successful transmission in the target interface, and displaying the transmitted video;
and under the condition that the state information displayed in the display area represents that the video transmission fails, displaying a target interface under the application program attention label or the recommendation label, and displaying prompt information of the transmission failure in the target interface.
Example 6 the method of example 1, after the setting interface displays the status information, further comprising:
receiving a reprocessing instruction, wherein the reprocessing instruction is triggered and generated when a user clicks a reprocessing control in a display area for displaying the state information, and the reprocessing instruction is used for triggering a process for reprocessing the video processed by the video transmission process;
Displaying reprocessing information on the setting interface, wherein the reprocessing information represents the processing state of the reprocessed video.
Example 7 the method of example 6, the reprocessing information determined when reprocessing the video processed by the video processing process, according to one or more embodiments of the present disclosure.
Example 8 provides, in accordance with one or more embodiments of the present disclosure, a video processing apparatus comprising:
the first display module is used for triggering and displaying a processing task interface after detecting that a user clicks a video processing control in an application program;
and the second display module is used for displaying state information on a set interface when the application program is switched to the background operation, wherein the state information represents the processing state of the video processed by the video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
Example 9 provides, in accordance with one or more embodiments of the present disclosure, a terminal device, comprising:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the method of any of examples 1-7.
Example 10 provides a computer-readable medium having stored thereon a computer program that, when executed by a processing apparatus, implements the method of any of examples 1-7, in accordance with one or more embodiments of the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A video processing method, comprising:
after detecting that a user clicks a video processing control in an application program, displaying a processing task interface;
when the application program is switched to the background operation, displaying state information on a setting interface, wherein the state information represents the processing state of a video processed by a video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
2. The method of claim 1, wherein the video processing process is kept alive by increasing the priority of the video processing process after the application is switched to the background running.
3. The method of claim 2, wherein the increased priority level is a level of a foreground-visible process of the operating system.
4. The method of claim 1, after displaying the status information on the setting interface, further comprising:
receiving a switching instruction, wherein the switching instruction is generated by triggering a switching control in a display area where the user clicks and displays the state information, and the switching instruction is used for switching a currently displayed interface to a target interface of the application program;
and displaying the target interface.
5. The method of claim 4, wherein the displaying the target interface comprises:
under the condition that the state information displayed in the display area represents that the video is in transmission, displaying a target interface under the application program attention tag or the recommendation tag, and displaying prompt information of transmission progress in the target interface;
under the condition that the state information displayed in the display area represents that the video transmission is successful, displaying a target interface under the application program attention label or the recommended label, displaying prompt information of successful transmission in the target interface, and displaying the transmitted video;
And under the condition that the state information displayed in the display area represents that the video transmission fails, displaying a target interface under the application program attention label or the recommendation label, and displaying prompt information of the transmission failure in the target interface.
6. The method of claim 1, after displaying the status information on the setting interface, further comprising:
receiving a reprocessing instruction, wherein the reprocessing instruction is triggered and generated when a user clicks a reprocessing control in a display area for displaying the state information, and the reprocessing instruction is used for triggering a process for reprocessing the video processed by the video transmission process;
displaying reprocessing information on the setting interface, wherein the reprocessing information represents the processing state of the reprocessed video.
7. The method of claim 6, wherein the reprocessing information is determined when reprocessing the video processed by the video processing process.
8. A video processing apparatus, comprising:
the first display module is used for triggering and displaying a processing task interface after detecting that a user clicks a video processing control in an application program;
and the second display module is used for displaying state information on a set interface when the application program is switched to the background operation, wherein the state information represents the processing state of the video processed by the video processing process corresponding to the processing task interface, and the video processing process is in a keep-alive state after the application program is switched to the background operation.
9. A terminal device, comprising:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the method of any of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the method according to any one of claims 1-7.
CN202010687791.5A 2020-07-16 2020-07-16 Video processing method, device, terminal equipment and medium Pending CN111857919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010687791.5A CN111857919A (en) 2020-07-16 2020-07-16 Video processing method, device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010687791.5A CN111857919A (en) 2020-07-16 2020-07-16 Video processing method, device, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN111857919A true CN111857919A (en) 2020-10-30

Family

ID=72983182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010687791.5A Pending CN111857919A (en) 2020-07-16 2020-07-16 Video processing method, device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN111857919A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925463A (en) * 2021-04-12 2021-06-08 网易(杭州)网络有限公司 Information flow publishing processing method, device, medium and electronic equipment
CN113204298A (en) * 2021-04-30 2021-08-03 北京达佳互联信息技术有限公司 Method and device for displaying release progress, electronic equipment and storage medium
CN113242451A (en) * 2021-05-07 2021-08-10 上海哔哩哔哩科技有限公司 Video generation method and device
CN113395531A (en) * 2021-05-14 2021-09-14 广州虎牙科技有限公司 Play switching method and device, electronic equipment and computer readable storage medium
CN113626639A (en) * 2021-06-21 2021-11-09 武汉理工数字传播工程有限公司 Tutorial video management method, electronic equipment and storage medium
CN113741994A (en) * 2021-06-26 2021-12-03 荣耀终端有限公司 Keep-alive method of video application and electronic equipment
CN114302208A (en) * 2021-12-23 2022-04-08 北京字跳网络技术有限公司 Video distribution method, video distribution device, electronic equipment, storage medium and program product
CN114489897A (en) * 2022-01-21 2022-05-13 北京字跳网络技术有限公司 Object processing method, device, terminal equipment and medium
CN114780003A (en) * 2022-05-23 2022-07-22 北京达佳互联信息技术有限公司 Material uploading method and related equipment
CN116055793A (en) * 2022-06-07 2023-05-02 荣耀终端有限公司 Method, equipment and storage medium for managing screen throwing process
WO2024099017A1 (en) * 2022-11-07 2024-05-16 蔚来移动科技有限公司 Process management method, and electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095051A (en) * 2015-06-30 2015-11-25 努比亚技术有限公司 Method and device for reminding working state of background application program
CN107291356A (en) * 2017-08-03 2017-10-24 北京达佳互联信息技术有限公司 file transmission display control method, device and corresponding terminal
CN108521607A (en) * 2018-04-04 2018-09-11 Oppo广东移动通信有限公司 The processing method of advertisement, device, storage medium and intelligent terminal in video
CN110515717A (en) * 2019-08-29 2019-11-29 Oppo广东移动通信有限公司 Backstage switching method, device, equipment and the storage medium of application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095051A (en) * 2015-06-30 2015-11-25 努比亚技术有限公司 Method and device for reminding working state of background application program
CN107291356A (en) * 2017-08-03 2017-10-24 北京达佳互联信息技术有限公司 file transmission display control method, device and corresponding terminal
CN108521607A (en) * 2018-04-04 2018-09-11 Oppo广东移动通信有限公司 The processing method of advertisement, device, storage medium and intelligent terminal in video
CN110515717A (en) * 2019-08-29 2019-11-29 Oppo广东移动通信有限公司 Backstage switching method, device, equipment and the storage medium of application program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925463A (en) * 2021-04-12 2021-06-08 网易(杭州)网络有限公司 Information flow publishing processing method, device, medium and electronic equipment
CN113204298B (en) * 2021-04-30 2023-09-22 北京达佳互联信息技术有限公司 Method and device for displaying release progress, electronic equipment and storage medium
CN113204298A (en) * 2021-04-30 2021-08-03 北京达佳互联信息技术有限公司 Method and device for displaying release progress, electronic equipment and storage medium
CN113242451A (en) * 2021-05-07 2021-08-10 上海哔哩哔哩科技有限公司 Video generation method and device
CN113395531A (en) * 2021-05-14 2021-09-14 广州虎牙科技有限公司 Play switching method and device, electronic equipment and computer readable storage medium
CN113626639A (en) * 2021-06-21 2021-11-09 武汉理工数字传播工程有限公司 Tutorial video management method, electronic equipment and storage medium
CN113741994A (en) * 2021-06-26 2021-12-03 荣耀终端有限公司 Keep-alive method of video application and electronic equipment
CN114302208A (en) * 2021-12-23 2022-04-08 北京字跳网络技术有限公司 Video distribution method, video distribution device, electronic equipment, storage medium and program product
CN114489897B (en) * 2022-01-21 2023-08-08 北京字跳网络技术有限公司 Object processing method, device, terminal equipment and medium
CN114489897A (en) * 2022-01-21 2022-05-13 北京字跳网络技术有限公司 Object processing method, device, terminal equipment and medium
CN114780003A (en) * 2022-05-23 2022-07-22 北京达佳互联信息技术有限公司 Material uploading method and related equipment
CN116055793A (en) * 2022-06-07 2023-05-02 荣耀终端有限公司 Method, equipment and storage medium for managing screen throwing process
CN116055793B (en) * 2022-06-07 2024-04-05 荣耀终端有限公司 Method, equipment and storage medium for managing screen throwing process
WO2024099017A1 (en) * 2022-11-07 2024-05-16 蔚来移动科技有限公司 Process management method, and electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN111857919A (en) Video processing method, device, terminal equipment and medium
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN111629252B (en) Video processing method and device, electronic equipment and computer readable storage medium
CN109710370B (en) Session list display method and device and electronic equipment
CN112394892A (en) Screen projection method, screen projection equipment, mobile terminal and storage medium
CN114491349B (en) Page display method, page display device, electronic device, storage medium and program product
CN114217707B (en) Sharing method, sharing device, electronic equipment and storage medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN112035202A (en) Method and device for displaying friend activity information, electronic equipment and storage medium
CN113934349B (en) Interaction method, interaction device, electronic equipment and storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN114238673A (en) Content display method, device, equipment and storage medium
CN114938427B (en) Shooting method, device, equipment, storage medium and program product of media content
CN110267088B (en) Video playing control method and device, electronic equipment and storage medium
CN106998493B (en) Video previewing method and device
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN114443201A (en) Message display method, device, equipment and storage medium
WO2023207543A1 (en) Media content publishing method and apparatus, and device, storage medium and program product
CN114419201B (en) Animation display method and device, electronic equipment and medium
CN115562527A (en) Comment information publishing method and device, electronic equipment and storage medium
CN115933921A (en) Media content display method and device, electronic equipment and storage medium
CN114095670A (en) Method, device, equipment and medium for switching video personal works
CN113608816A (en) Progress adjusting method and device, electronic equipment and storage medium
CN113253962A (en) Application window display method, device and equipment
CN114187169B (en) Method, device, equipment and storage medium for generating video special effect package

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