CN111400004A - Video scanning interrupt processing method and device, storage medium and electronic equipment - Google Patents

Video scanning interrupt processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111400004A
CN111400004A CN202010170347.6A CN202010170347A CN111400004A CN 111400004 A CN111400004 A CN 111400004A CN 202010170347 A CN202010170347 A CN 202010170347A CN 111400004 A CN111400004 A CN 111400004A
Authority
CN
China
Prior art keywords
video
scanning
videos
scanned
scanning operation
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.)
Granted
Application number
CN202010170347.6A
Other languages
Chinese (zh)
Other versions
CN111400004B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010170347.6A priority Critical patent/CN111400004B/en
Publication of CN111400004A publication Critical patent/CN111400004A/en
Application granted granted Critical
Publication of CN111400004B publication Critical patent/CN111400004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition

Landscapes

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

Abstract

The disclosure provides a video scanning interrupt processing method, a video scanning interrupt processing device, a computer readable storage medium and an electronic device, and relates to the technical field of video processing. The video scanning interrupt processing method comprises the following steps: screening a plurality of videos to be scanned from the video set, scanning the plurality of videos to be scanned one by one, and recording information of the videos which have completed the scanning operation; under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the plurality of videos to be scanned with the recorded information, and determining the video which does not finish the scanning operation in the plurality of videos to be scanned; and scanning the videos which do not finish the scanning operation one by one. The video scanning method and the video scanning device can avoid repeated scanning and improve video scanning efficiency.

Description

Video scanning interrupt processing method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a video scanning interrupt processing method, a video scanning interrupt processing apparatus, a computer-readable storage medium, and an electronic device.
Background
With the development of terminal video analysis technology, video scanning can be completed on electronic equipment such as a mobile phone and a tablet, and functions such as tag category identification, key figure information identification, highlight segment identification and the like are realized.
Currently, video scanning is typically performed in the background while the screen is turned off for charging. However, returning to the foreground or brightening during scanning can interrupt scanning. For example, it is often the case that a user lights up a screen to see time, to see the charging progress, etc. during charging, which may cause the video scanning to be interrupted. After resuming scanning, the electronic device needs to perform scanning again, which causes a problem of repeated scanning, resulting in inefficient video scanning.
Disclosure of Invention
The present disclosure provides a video scanning interrupt processing method, a video scanning interrupt processing apparatus, a computer-readable storage medium, and an electronic device, thereby overcoming, at least to some extent, the problem of repetitive scanning due to video scanning interrupt.
According to a first aspect of the present disclosure, there is provided a video scan interruption processing method, including: screening a plurality of videos to be scanned from the video set, scanning the plurality of videos to be scanned one by one, and recording information of the videos which have completed the scanning operation; under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the plurality of videos to be scanned with the recorded information, and determining the video which does not finish the scanning operation in the plurality of videos to be scanned; and scanning the videos which do not finish the scanning operation one by one.
According to a second aspect of the present disclosure, there is provided a video scan interrupt processing apparatus including: the first scanning module is used for screening out a plurality of videos to be scanned from the video set, scanning the videos to be scanned one by one and recording the information of the videos of which the scanning operation is finished; the video determining module is used for comparing the information of the plurality of videos to be scanned with the recorded information if the scanning operation is recovered under the condition that the scanning operation is interrupted, and determining the video which does not finish the scanning operation in the plurality of videos to be scanned; and the second scanning module is used for scanning the videos which do not finish the scanning operation one by one.
According to a third aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the video scan interrupt processing method described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising a processor; a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the video scan interrupt processing method described above.
In some embodiments of the present disclosure, a plurality of videos to be scanned are screened, a scanning operation is performed on the plurality of videos to be scanned one by one, information of the videos for which the scanning operation is completed is recorded, and if the scanning operation is resumed under a condition that the scanning operation is interrupted, the information of the plurality of videos to be scanned is compared with the recorded information, so as to determine videos for which the scanning operation is not completed, and the videos for which the scanning operation is not completed are scanned one by one. On one hand, the method compares the information of the plurality of videos to be scanned with the video information of which the scanning operation is finished, and only scans the videos of which the scanning operation is not finished after the video scanning is recovered, so that repeated scanning can be avoided, time and computing resources are saved, and the scanning efficiency is improved; on the other hand, on the premise of screening the video to be scanned, the user can select or customize the screening rule, and the personalized requirement for identifying the related content is met.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 shows a schematic diagram of an exemplary system architecture to which a video scan interrupt handling method or a video scan interrupt handling apparatus of an embodiment of the present disclosure may be applied;
FIG. 2 illustrates a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure;
fig. 3 schematically illustrates a flow chart of a video scan interrupt handling method according to an exemplary embodiment of the present disclosure;
FIG. 4 schematically illustrates an interface diagram displaying prompt information, according to an exemplary embodiment of the present disclosure;
fig. 5 schematically illustrates a block diagram of a video scan interrupt handling apparatus according to an exemplary embodiment of the present disclosure;
fig. 6 schematically illustrates a block diagram of a video scan interruption processing apparatus according to another exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, all of the following terms "first", "second", etc. are for distinguishing purposes only and should not be construed as limiting the present disclosure.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which a video scan interrupt processing method or a video scan interrupt processing apparatus according to an embodiment of the present disclosure may be applied.
In an exemplary embodiment of the present disclosure, the video scan interruption process of the present disclosure may be implemented only by the first device 10. The first device 10 may be an electronic device such as a mobile phone, a tablet, etc.
In this case, the first device 10 captures a video using its equipped camera module, and stores the captured video locally to form a video set. The video scanning process is performed every predetermined time, for example, once a week, a month, or a half year.
When starting to perform video scanning, first, the first device 10 may screen out a plurality of videos to be scanned from the video set, perform scanning operation on the videos to be scanned one by one, and record information of the videos for which the scanning operation is completed. And under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the plurality of videos to be scanned with the recorded information to determine the videos which do not finish the scanning operation. And then, scanning the videos which do not finish the scanning operation one by one.
In another exemplary embodiment of the present disclosure, the video set stored by the first device 10 may include, in addition to the videos captured by the camera module thereof, the videos transmitted by one or more of the second device 11, the third device 12, the fourth device 13, and the fifth device 14 that may be received by the first device 10. The present disclosure does not limit the device types of the second device 11, the third device 12, the fourth device 13, and the fifth device 14, for example, the second device 11 may be a server, the third device 12 may be a tablet, the fourth device 13 may be a mobile phone, and the fifth device 14 may be a personal computer. In addition, the first device 10 may also receive videos sent by other devices to form a video set as described in this disclosure.
After determining the video set, the first device 10 may implement the processing of the video scanning interruption by using the method described above.
Although the video scan interruption processing procedure of the present disclosure is described in the following description taking an electronic device such as the first device 10 as an example, it should be understood that the video scan interruption processing procedure of the present disclosure may also be executed by a server. In this case, the server may obtain videos transmitted by one or more terminal electronic devices, form a video set, and implement a process similar to the process described above for video scan interruption.
FIG. 2 shows a schematic diagram of an electronic device suitable for use in implementing exemplary embodiments of the present disclosure. It should be noted that the electronic device shown in fig. 2 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.
The electronic device of the present disclosure includes at least a processor and a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the video scan interrupt processing method of the exemplary embodiments of the present disclosure.
Specifically, as shown in fig. 2, the electronic device 200 may include: a processor 210, an internal memory 221, an external memory interface 222, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 271, a microphone 272, a microphone 273, an earphone interface 274, a sensor module 280, a display screen 290, a camera module 291, an indicator 292, a motor 293, a key 294, and a Subscriber Identity Module (SIM) card interface 295, and the like. Among other things, the sensor module 280 may include a depth sensor 2801, a pressure sensor 2802, a gyroscope sensor 2803, a barometric pressure sensor 2804, a magnetic sensor 2805, an acceleration sensor 2806, a distance sensor 2807, a proximity light sensor 2808, a fingerprint sensor 2809, a temperature sensor 2810, a touch sensor 2811, an ambient light sensor 2812, and a bone conduction sensor 2813, among others.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the Processor 210 may include an Application Processor (AP), a modem Processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural Network Processor (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors. Additionally, a memory may be provided in processor 210 for storing instructions and data.
The USB interface 230 is an interface conforming to the USB standard specification, and may specifically be a MiniUSB interface, a microsusb interface, a USB type c interface, or the like. The USB interface 230 may be used to connect a charger to charge the electronic device 200, and may also be used to transmit data between the electronic device 200 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 241 is used for connecting the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives the input of the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 290, the camera module 291, the wireless communication module 260, and the like.
The wireless communication function of the electronic device 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The mobile communication module 250 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 200.
The Wireless Communication module 260 may provide solutions for Wireless Communication applied to the electronic device 200, including Wireless local Area Networks (Wireless L Area Networks, W L AN) (e.g., Wireless Fidelity (Wi-Fi) network), Bluetooth (Bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like.
The electronic device 200 implements a display function through the GPU, the display screen 290, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 290 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
The electronic device 200 may implement a shooting function through the ISP, the camera module 291, the video codec, the GPU, the display screen 290, the application processor, and the like. In some embodiments, the electronic device 200 may include 1 or N camera modules 291, where N is a positive integer greater than 1, and if the electronic device 200 includes N cameras, one of the N cameras is a main camera.
Internal memory 221 may be used to store computer-executable program code, including instructions. The internal memory 221 may include a program storage area and a data storage area. The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 200.
The electronic device 200 may implement an audio function through the audio module 270, the speaker 271, the receiver 272, the microphone 273, the headphone interface 274, the application processor, and the like. Such as music playing, recording, etc.
Audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Audio module 270 may also be used to encode and decode audio signals. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 210.
The speaker 271, also called "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 200 can listen to music through the speaker 271 or listen to a handsfree phone call. The receiver 272, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 200 receives a call or voice information, it can receive the voice by placing the receiver 272 close to the ear of the person. The microphone 273, also known as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 273 by sounding a voice signal near the microphone 273 through the mouth. The electronic device 200 may be provided with at least one microphone 273. The earphone interface 274 is used to connect wired earphones.
For sensors included with electronic device 200, depth sensor 2801 is used to obtain depth information for a scene, pressure sensor 2802 is used to sense a pressure signal, which may be converted into an electrical signal, gyroscope sensor 2803 may be used to determine a motion gesture of electronic device 200, air pressure sensor 2804 is used to measure air pressure, magnetic sensor 2805 includes a hall sensor, electronic device 200 may detect opening and closing of a flip holster using magnetic sensor 2805, acceleration sensor 2806 may detect the magnitude of acceleration of electronic device 200 in various directions (typically three axes), distance sensor 2807 is used to measure distance, proximity light sensor 2808 may include, for example, a light emitting diode (L ED) and a light detector, such as a photodiode, fingerprint sensor 2809 is used to collect a fingerprint, temperature sensor 2810 is used to detect a temperature, touch sensor 2811 may communicate the detected touch operation to an application processor to determine the type of touch event, ambient light sensor 2812 is used to sense ambient light brightness, bone conduction sensor 2813 may obtain a vibration signal.
The keys 294 include a power-on key, a volume key, and the like. The keys 294 may be mechanical keys. Or may be touch keys. The motor 293 may generate a vibration indication. The motor 293 may be used for both electrical vibration prompting and touch vibration feedback. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc. The SIM card interface 295 is used to connect a SIM card. The electronic device 200 interacts with the network through the SIM card to implement functions such as communication and data communication.
The present application also provides a computer-readable storage medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device.
A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. 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.
A computer readable storage medium may transmit, 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 storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below.
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. In this regard, 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 or flowchart illustration, and combinations of blocks in the block diagrams 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 units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Fig. 3 schematically illustrates a flowchart of a video scan interruption processing method of an exemplary embodiment of the present disclosure. Referring to fig. 3, the video scan interruption processing method may include the steps of:
and S32, screening a plurality of videos to be scanned from the video set, scanning the plurality of videos to be scanned one by one, and recording information of the videos which have finished the scanning operation.
In an exemplary embodiment of the present disclosure, the video in the video set may be a video captured by the camera module, or may be a video directly acquired from another device. In addition, the present disclosure does not limit the type of video in the video set, and may be a photographed video or a synthesized video (e.g., an animation video).
The video set may be the sum of the videos accumulated over a period of time, including self-capture and/or acquisition from other devices. For example, in a video scanning process configured to be performed once per week, the video set may be the accumulated video for that week.
First, a plurality of videos to be scanned may be screened from a video set. The rules of the filtering may be user configurable. For example, the rule of the filtering may be the duration of the video, the source of the video, and the like.
According to one embodiment of the present disclosure, first, the duration of each video in a video set may be obtained; and then, screening out videos with the duration within a preset duration range from the video set to serve as videos to be scanned. The preset time length range can be set by the user, for example, a video with a time length of 1 second to 10 minutes is screened out from the video set as the video to be scanned.
According to another embodiment of the present disclosure, first, the source of each video in the video set may be obtained. The source of the video refers to whether the video is a video shot by the camera module of the video, a video acquired from other equipment, or a video acquired from specified equipment. And then, screening out the video with the source as the target source from the video set as the video to be scanned. The target source may be set by the user, for example, a video sent by the device X is screened out from the video set as a video to be scanned.
According to still another embodiment of the present disclosure, the duration and the source of the video may be combined to determine the video to be scanned. Specifically, first, the duration of each video in the video set and the source of each video may be obtained. And then, screening out the video with the duration within the preset duration range and the source as the target source from the video set as the video to be scanned. For example, a video which has a duration of 1 second to 10 minutes and is shot by the self camera module is screened out from the video set to be used as a video to be scanned.
After determining a plurality of videos to be scanned, the electronic device may perform a scanning operation on the plurality of videos to be scanned one by one.
In addition, before the scanning operation is carried out one by one, the present disclosure also provides a scheme for sequencing a plurality of videos to be scanned, and the scanning operation is carried out one by one according to the sequencing result.
For example, the determined videos to be scanned are sequenced in a time sequence from near to far so as to ensure that a newly generated or newly acquired video can be preferentially scanned; for another example, the determined videos to be scanned are sequenced according to the sequence of the video duration from short to long; for another example, the determined multiple videos to be scanned are sorted in the order of the storage size of the videos from small to large, and so on.
In the process of scanning the videos one by one, recording the information of the video after scanning one video. That is, information of the video in which the scanning operation has been completed is recorded in real time. Specifically, the information of the video may be written into the video scanning database to record the information of the video that has completed the scanning operation.
The information of the video in the present disclosure includes, but is not limited to, an identifier of the video, a video scanning result, and the like.
And S34, under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the plurality of videos to be scanned with the recorded information, and determining the videos of which the scanning operation is not finished in the plurality of videos to be scanned.
In the process of scanning a plurality of videos to be scanned one by one, the scanning operation may be interrupted due to a user's operation on the electronic device or a system error of the electronic device, that is, the process of video scanning is stopped.
Next, if the scanning operation is resumed, the information of the screened plurality of videos to be scanned is compared with the information recorded in step S32. Specifically, the identifiers of the screened videos to be scanned are compared with the identifiers of the videos which have already finished the scanning operation, so as to determine the videos which have not finished the scanning operation in the videos to be scanned.
For example, there are 100 videos to be scanned in total, and as the scanning proceeds, when the video a is processed, the scanning operation is interrupted, and at this time, information of 30 videos for which the scanning operation has been completed is recorded. In the case where the scanning operation is resumed, there are 70 videos left without the scanning operation by the comparison, and these 70 videos are determined as the videos without the scanning operation.
And S36, scanning the videos which do not finish the scanning operation one by one.
After determining the videos of the incomplete scanning operation in step S34, the electronic device may perform the scanning operation on the videos of the incomplete scanning operation one by one.
According to some embodiments of the present disclosure, the video in which the scanning operation is not completed includes a target video in which the scanning operation is being performed when the scanning operation is interrupted. For example, when the electronic device is performing a scanning operation on the video a, an interrupt occurs, and at this time, only part of the data of the video a completes the scanning operation, and the video a is taken as the target video of the present disclosure.
In this case, first, a target time at which the scanning operation is being performed of the target video at the time of interruption of the scanning operation can be acquired. For example, when the interruption occurs, the target video is performing video frame scanning at 2 minutes and 15 seconds, and 2 minutes and 15 seconds are set as the target time.
And when the scanning operation is recovered, starting to perform the scanning operation on the part of the target video which is not subjected to the scanning operation from the target moment, and determining the scanning result of the target video by combining the scanning result of the target video which is subjected to the scanning operation before the scanning operation is interrupted.
For example, video A measures 1 minute in duration, and the scan takes 3 minutes. When the video a is scanned for 2 minutes and 15 seconds, the scanning operation is interrupted, and the scan data 2 minutes and 15 seconds before and the target time of the interruption (2 minutes and 15 seconds) are recorded. When the scanning operation is recovered, the scanning is continued from 2 minutes and 15 seconds of the video A, and after the scanning is finished, the scanning data of 2 minutes and 15 seconds before the interruption is combined with the scanning data of 2 minutes and 15 seconds to 3 minutes at this time to obtain the complete scanning data of the video A, so that the scanning operation on the video A is finished.
Subsequently, the scanning operation is performed one by one for the videos for which the scanning operation is not completed except for the target video.
In addition, upon interruption of the scanning operation, the electronic device may display a prompt message, which may include, but is not limited to, an estimated remaining time for the video scan, options for a user to select a plurality of scanning operation resumption triggering events, and the like.
For example, the electronic device may statistically determine that a 1 minute video duration corresponds to a 3 minute scan duration. Therefore, in the case that the time length of the video which is not completely scanned is determined, the video scanning residual time can be estimated, so that the user can know and consider the time of the next video scanning.
Referring to fig. 4, the prompt message may be displayed in the form of a pop-up window. The options of the scanning operation recovery triggering event may include, for example, "next screen off time", "after 10 minutes", "2 am", and the like, so that the user can flexibly select the options according to actual needs.
Next, the electronic device may resume the scanning operation when a scanning operation resumption trigger event corresponding to the selection operation occurs based on the selection operation by the user. For example, in the case where the user selects "after 10 minutes", after 10 minutes elapses, if a screen-off charging situation occurs, a scanning operation recovery triggering event is triggered, and in this case, the scanning operation is recovered.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Further, the present exemplary embodiment also provides a video scanning interrupt processing apparatus.
Fig. 5 schematically shows a block diagram of a video scan interruption processing apparatus according to an exemplary embodiment of the present disclosure. Referring to fig. 5, the video scan interruption processing apparatus 5 according to an exemplary embodiment of the present disclosure may include a first scan module 51, a video determination module 53, and a second scan module 55.
Specifically, the first scanning module 51 may be configured to screen a plurality of videos to be scanned from the video set, perform scanning operation on the plurality of videos to be scanned one by one, and record information of the videos that have completed the scanning operation; the video determining module 53 may be configured to, in a case that the scanning operation is interrupted, compare information of the plurality of videos to be scanned with the recorded information if the scanning operation is resumed, and determine a video of which the scanning operation is not completed in the plurality of videos to be scanned; the second scanning module 55 may be configured to perform scanning operations on videos for which scanning operations are not completed one by one.
Based on the video scanning interrupt processing device of the exemplary embodiment of the disclosure, on one hand, the disclosure compares the information of a plurality of videos to be scanned with the video information of which the scanning operation is completed, and only the video of which the scanning operation is not completed is scanned after the video scanning is recovered, so that the repeated scanning can be avoided, the time and the computing resource can be saved, and the scanning efficiency can be improved; on the other hand, on the premise of screening the video to be scanned, the user can select or customize the screening rule, and the personalized requirement for identifying the related content is met.
According to an exemplary embodiment of the present disclosure, the process of the first scanning module 51 screening out a plurality of videos to be scanned from the video set may be configured to perform: acquiring the time length of each video in a video set; and screening out videos with the duration within a preset duration range from the video set to serve as videos to be scanned.
According to an exemplary embodiment of the present disclosure, the process of the first scanning module 51 screening out a plurality of videos to be scanned from the video set may be configured to perform: acquiring the source of each video in a video set; and screening out the video with the source as the target source from the video set as the video to be scanned.
According to an exemplary embodiment of the present disclosure, the process of the first scanning module 51 screening out a plurality of videos to be scanned from the video set may be configured to perform: acquiring the time length of each video in a video set; acquiring the source of each video in a video set; and screening out videos with the duration within a preset duration range and the source as a target source from the video set, and taking the videos as videos to be scanned.
According to an exemplary embodiment of the present disclosure, the process of the first scanning module 51 performing the scanning operation on the plurality of videos to be scanned one by one may be configured to perform: sequencing a plurality of videos to be scanned; and scanning the plurality of videos to be scanned one by one according to the sequencing result.
According to an exemplary embodiment of the present disclosure, the video in which the scanning operation is not completed includes a target video in which the scanning operation is being performed when the scanning operation is interrupted, in which case, the second scanning module 55 may be configured to perform: acquiring a target moment of a target video which is subjected to scanning operation when the scanning operation is interrupted; when the scanning operation is recovered, starting to perform scanning operation on the part of the target video which is not subjected to the scanning operation from the target moment, and obtaining the scanning result of the target video by combining the scanning result of the target video which is subjected to the scanning operation before the scanning operation is interrupted; and scanning the videos which do not finish the scanning operation except the target video one by one.
According to an exemplary embodiment of the present disclosure, referring to fig. 6, the video scan interruption processing apparatus 6 may further include an information prompt and operation resume module 61, compared to the video scan interruption processing apparatus 5.
Specifically, the information prompt and operation recovery module 61 may be configured to perform: when the scanning operation is interrupted, displaying prompt information; the prompt information comprises estimated video scanning residual time and options of a plurality of scanning operation recovery triggering events for a user to select; based on the selection operation of the user, when a scanning operation recovery triggering event corresponding to the selection operation occurs, the scanning operation is recovered.
Since each functional module of the video scanning interrupt processing apparatus according to the embodiment of the present disclosure is the same as that in the embodiment of the method described above, it is not described herein again.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A video scanning interrupt processing method, comprising:
screening a plurality of videos to be scanned from a video set, scanning the videos to be scanned one by one, and recording information of the videos which have completed the scanning operation;
under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the plurality of videos to be scanned with the recorded information, and determining the video which does not finish the scanning operation in the plurality of videos to be scanned;
and scanning the videos which do not finish the scanning operation one by one.
2. The video scan interrupt processing method of claim 1, wherein screening a plurality of videos to be scanned from a video set comprises:
acquiring the time length of each video in the video set;
and screening out videos with the duration within a preset duration range from the video set to serve as videos to be scanned.
3. The video scan interrupt processing method of claim 1, wherein screening a plurality of videos to be scanned from a video set comprises:
acquiring the source of each video in the video set;
and screening out the video with the source as the target source from the video set as the video to be scanned.
4. The video scan interrupt processing method of claim 1, wherein screening a plurality of videos to be scanned from a video set comprises:
acquiring the time length of each video in the video set;
acquiring the source of each video in the video set;
and screening out videos with the duration within a preset duration range and the source as a target source from the video set, and taking the videos as videos to be scanned.
5. The video scan interrupt processing method of claim 1, wherein scanning the plurality of videos to be scanned one by one comprises:
sequencing the plurality of videos to be scanned;
and scanning the plurality of videos to be scanned one by one according to the sequencing result.
6. The video scan interruption processing method according to any one of claims 1 to 5, wherein the video in which the scan operation is not completed includes a target video in which the scan operation is being performed when the scan operation is interrupted; wherein, scanning the video without scanning operation one by one comprises:
acquiring a target moment of the target video in the process of scanning operation when the scanning operation is interrupted;
when the scanning operation is recovered, starting to perform the scanning operation on the part of the target video which is not subjected to the scanning operation from the target moment, and obtaining the scanning result of the target video by combining the scanning result of the target video which is subjected to the scanning operation before the scanning operation is interrupted;
and scanning the videos which do not finish the scanning operation except the target video one by one.
7. The video scan interrupt processing method of claim 6, further comprising:
when the scanning operation is interrupted, displaying prompt information; the prompt information comprises estimated video scanning residual time and options of a plurality of scanning operation recovery triggering events for a user to select;
and based on the selection operation of the user, when a scanning operation recovery triggering event corresponding to the selection operation occurs, recovering the scanning operation.
8. A video scan interrupt processing apparatus, comprising:
the first scanning module is used for screening a plurality of videos to be scanned from the video set, scanning the videos to be scanned one by one and recording the information of the videos of which the scanning operation is finished;
the video determining module is used for comparing the information of the plurality of videos to be scanned with the recorded information if the scanning operation is recovered under the condition that the scanning operation is interrupted, and determining the video which does not finish the scanning operation in the plurality of videos to be scanned;
and the second scanning module is used for scanning the videos which do not finish the scanning operation one by one.
9. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the video scan interruption processing method of any one of claims 1 to 7.
10. An electronic device, comprising:
a processor;
a memory for storing one or more programs that, when executed by the processor, cause the processor to implement the video scan interrupt processing method of any of claims 1 to 7.
CN202010170347.6A 2020-03-12 2020-03-12 Video scanning interrupt processing method and device, storage medium and electronic equipment Active CN111400004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010170347.6A CN111400004B (en) 2020-03-12 2020-03-12 Video scanning interrupt processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010170347.6A CN111400004B (en) 2020-03-12 2020-03-12 Video scanning interrupt processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111400004A true CN111400004A (en) 2020-07-10
CN111400004B CN111400004B (en) 2023-10-31

Family

ID=71432350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010170347.6A Active CN111400004B (en) 2020-03-12 2020-03-12 Video scanning interrupt processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111400004B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468119A (en) * 2021-05-31 2021-10-01 北京明朝万达科技股份有限公司 File scanning method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5148286A (en) * 1990-09-28 1992-09-15 Xerox Corporation Method and apparatus for operating an electronic reprographic printing system upon scan interruption
CN101304506A (en) * 2007-05-08 2008-11-12 联发科技股份有限公司 Systems and methods for channel scanning
CN101610402A (en) * 2009-07-27 2009-12-23 中兴通讯股份有限公司 Video recording interrupts the method and system of recovery in a kind of video monitoring process
CN101807927A (en) * 2010-03-19 2010-08-18 青岛海信电器股份有限公司 Touch key scanning method and system
US20110102394A1 (en) * 2009-11-04 2011-05-05 Himax Technologies Limited Method and system of controlling halt and resume of scanning an lcd
CN104182519A (en) * 2014-08-25 2014-12-03 百度在线网络技术(北京)有限公司 File scanning method and device
US20160203843A1 (en) * 2015-01-12 2016-07-14 Echostar Technologies L.L.C. Content-triggered highlight recording
CN110532402A (en) * 2018-05-25 2019-12-03 合肥杰发科技有限公司 Multimedia scan method, intelligent terminal and the device with store function
CN110602544A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Video display method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5148286A (en) * 1990-09-28 1992-09-15 Xerox Corporation Method and apparatus for operating an electronic reprographic printing system upon scan interruption
CN101304506A (en) * 2007-05-08 2008-11-12 联发科技股份有限公司 Systems and methods for channel scanning
CN101610402A (en) * 2009-07-27 2009-12-23 中兴通讯股份有限公司 Video recording interrupts the method and system of recovery in a kind of video monitoring process
US20110102394A1 (en) * 2009-11-04 2011-05-05 Himax Technologies Limited Method and system of controlling halt and resume of scanning an lcd
CN101807927A (en) * 2010-03-19 2010-08-18 青岛海信电器股份有限公司 Touch key scanning method and system
CN104182519A (en) * 2014-08-25 2014-12-03 百度在线网络技术(北京)有限公司 File scanning method and device
US20160203843A1 (en) * 2015-01-12 2016-07-14 Echostar Technologies L.L.C. Content-triggered highlight recording
US20170148490A1 (en) * 2015-01-12 2017-05-25 Echostar Technologies L.L.C. Content-triggered highlight recording
CN110532402A (en) * 2018-05-25 2019-12-03 合肥杰发科技有限公司 Multimedia scan method, intelligent terminal and the device with store function
CN110602544A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Video display method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468119A (en) * 2021-05-31 2021-10-01 北京明朝万达科技股份有限公司 File scanning method and device

Also Published As

Publication number Publication date
CN111400004B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN111443884A (en) Screen projection method and device and electronic equipment
CN111917980B (en) Photographing control method and device, storage medium and electronic equipment
CN111246300B (en) Method, device and equipment for generating clip template and storage medium
CN114710640B (en) Video call method, device and terminal based on virtual image
CN111161176B (en) Image processing method and device, storage medium and electronic equipment
CN111212412A (en) Near field communication method and device, computer readable storage medium and electronic equipment
CN111815666B (en) Image processing method and device, computer readable storage medium and electronic equipment
CN111694605A (en) Voice information processing method and device, storage medium and electronic equipment
CN112929654B (en) Method, device and equipment for detecting sound and picture synchronization and storage medium
CN111324196B (en) Memory operation frequency adjusting method and device, storage medium and electronic equipment
CN114422340B (en) Log reporting method, electronic equipment and storage medium
CN111615090A (en) Interaction method and device between Bluetooth devices, storage medium and electronic device
CN111416996A (en) Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium
CN114020387A (en) Terminal screen capturing method and device, storage medium and electronic equipment
CN111400004B (en) Video scanning interrupt processing method and device, storage medium and electronic equipment
CN114911400A (en) Method for sharing pictures and electronic equipment
CN111723124B (en) Data collision analysis method and device, electronic equipment and storage medium
WO2021129444A1 (en) File clustering method and apparatus, and storage medium and electronic device
CN115686182B (en) Processing method of augmented reality video and electronic equipment
CN113867851A (en) Electronic equipment operation guide information recording method, electronic equipment operation guide information acquisition method and terminal equipment
CN111246240A (en) Method and apparatus for storing media data
CN116707050B (en) Method and device for recording charge and discharge times, electronic equipment and readable storage medium
CN112184610B (en) Image processing method and device, storage medium and electronic equipment
CN112291472B (en) Preview image processing method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant