CN111400004B - 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
CN111400004B
CN111400004B CN202010170347.6A CN202010170347A CN111400004B CN 111400004 B CN111400004 B CN 111400004B CN 202010170347 A CN202010170347 A CN 202010170347A CN 111400004 B CN111400004 B CN 111400004B
Authority
CN
China
Prior art keywords
video
scanning
videos
scanning operation
scanned
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.)
Active
Application number
CN202010170347.6A
Other languages
Chinese (zh)
Other versions
CN111400004A (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

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 electronic equipment, 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 a video set, scanning the videos to be scanned one by one, and recording information of the videos with the scanning operation completed; under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the videos to be scanned with the recorded information, and determining the video which does not complete the scanning operation in the videos to be scanned; and scanning the videos which are not subjected to the scanning operation one by one. The method and the 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 technology, 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 mobile phones and tablets, and functions such as tag category identification, key character information identification, highlight identification and the like are realized.
Currently, video scanning is typically performed in the background while off-screen charging. However, returning to the foreground or a bright screen during scanning may interrupt the scanning. For example, it is often encountered that a user lights up a screen to view time, view charge progress, etc. during charging, which can interrupt video scanning. After the scan is resumed, the electronic device needs to be scanned again, which causes a problem of repeated scanning, resulting in low video scanning efficiency.
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 the problem of repeated scanning due to video scanning interrupt at least to some extent.
According to a first aspect of the present disclosure, there is provided a video scan interrupt processing method, including: 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 with the scanning operation completed; under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the videos to be scanned with the recorded information, and determining the video which does not complete the scanning operation in the videos to be scanned; and scanning the videos which are not subjected to the scanning operation one by one.
According to a second aspect of the present disclosure, there is provided a video scanning interrupt processing apparatus including: the first scanning module is used for screening a plurality of videos to be scanned from the video set, carrying out scanning operation on the videos to be scanned one by one, and recording the information of the videos with the scanning operation completed; the video determining module is used for comparing the information of the plurality of videos to be scanned with the recorded information to determine the video with incomplete scanning operation in the plurality of videos to be scanned if the scanning operation is recovered under the condition that the scanning operation is interrupted; and the second scanning module is used for scanning the videos which are not subjected to 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 scanning interrupt processing method described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising a processor; and the memory is used for storing one or more programs, and when the one or more programs are executed by the processor, the processor is caused to realize the video scanning interrupt processing method.
In some embodiments of the present disclosure, a plurality of videos to be scanned are screened, scanning operations are performed on the plurality of videos to be scanned one by one, information of videos for which the scanning operations are completed is recorded, if the scanning operations are recovered under the condition that the scanning operations are interrupted, the information of the plurality of videos to be scanned is compared with the recorded information, videos for which the scanning operations are not completed are determined, and the videos for which the scanning operations are not completed are scanned one by one. On one hand, the method and the device compare the information of the videos to be scanned with the video information of the completed scanning operation, and only scan the video of which the scanning operation is not completed 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 videos to be scanned, a user can select or customize screening rules, so that personalized requirements on relevant content identification are 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 disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort. In the drawings:
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which a video scan interrupt processing method or video scan interrupt processing apparatus of embodiments of the present disclosure may be applied;
FIG. 2 illustrates a schematic 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 processing method according to an exemplary embodiment of the present disclosure;
FIG. 4 schematically illustrates an interface diagram displaying hints information in accordance with an exemplary embodiment of the present disclosure;
FIG. 5 schematically illustrates a block diagram of a video scan interrupt processing apparatus according to an exemplary embodiment of the present disclosure;
fig. 6 schematically illustrates a block diagram of a video scan interrupt 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. However, the exemplary embodiments may be embodied in many 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 the 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 present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. 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 a repetitive description thereof 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 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 diagrams depicted in the figures are exemplary only and not necessarily all steps are included. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations. In addition, all of the following terms "first," "second," and the like are used for distinguishing purposes only and should not be taken 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 of an embodiment of the present disclosure may be applied.
In one exemplary embodiment of the present disclosure, the video scan interrupt handling process of the present disclosure may be implemented by only the first device 10. The first device 10 may be an electronic device such as a mobile phone, tablet, or the like.
In this case, the first device 10 captures 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 every week, every month, or half year.
When starting to perform video scanning, first, the first device 10 may screen a plurality of videos to be scanned from a 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 resumed, comparing the information of the plurality of videos to be scanned with the recorded information, and determining the video which does not complete the scanning operation. Then, the video which is not finished with the scanning operation is scanned 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 video captured by the camera module thereof, the first device 10 may also receive the video transmitted by one or more of the second device 11, the third device 12, the fourth device 13, and the fifth device 14. 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 the present disclosure.
After determining the video set, the first device 10 may implement the processing of the video scan interrupt using the method described above.
Although in the following description, the video scan interrupt processing procedure of the present disclosure is described by taking an electronic device such as the first device 10 as an example, it should be understood that the video scan interrupt processing procedure of the present disclosure may also be performed by a server. In this case, the server may acquire video 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 impose any limitation on the functions and the application scope 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, enable 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: processor 210, internal memory 221, external memory interface 222, universal serial bus (Universal Serial Bus, USB) interface 230, charge management module 240, power management module 241, battery 242, antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 271, receiver 272, microphone 273, headset interface 274, sensor module 280, display screen 290, camera module 291, indicator 292, motor 293, keys 294, and subscriber identity module (Subscriber Identification 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 sensor 2804, a magnetic sensor 2805, an acceleration sensor 2806, a distance sensor 2807, a proximity 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 should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the application, electronic device 200 may include more or fewer components than shown, or certain components may be combined, or certain components may be separated, or different arrangements 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, for example: the processor 210 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing Unit, GPU), an image signal processor (Image Signal Processor, ISP), a controller, a video codec, a digital signal processor (Digital Signal Processor, DSP), a baseband processor, and/or a Neural network processor (Neural-etwork Processing Unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. In addition, a memory may be provided in the 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 micro USB 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, or may be used to transfer data between the electronic device 200 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
The charge management module 240 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. The power management module 241 is used for connecting the battery 242, the charge management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charge management module 240 and provides power to the processor 210, the internal memory 221, the display 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 for wireless communication including 2G/3G/4G/5G, etc., applied on the electronic device 200.
The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (Wireless Local Area Networks, WLAN) (e.g., wireless fidelity (Wireless Fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (Global Navigation Satellite System, GNSS), frequency modulation (Frequency Modulation, FM), near field wireless communication technology (Near Field Communication, NFC), infrared technology (IR), etc., as applied on the electronic device 200.
The electronic device 200 implements display functions through a GPU, a display screen 290, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 290 and the 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 change display information.
The electronic device 200 may implement a photographing function through an ISP, a camera module 291, a video codec, a GPU, a display screen 290, an 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 master camera.
Internal memory 221 may be used to store computer executable program code that includes instructions. The internal memory 221 may include a storage program area and a storage data area. The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 200.
The electronic device 200 may implement audio functions through an audio module 270, a speaker 271, a receiver 272, a microphone 273, a headphone interface 274, an application processor, and the like. Such as music playing, recording, etc.
The 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. The 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.
A speaker 271, also called "horn", is used to convert the audio electrical signal into a sound signal. The electronic device 200 may listen to music through the speaker 271 or to hands-free conversation. A receiver 272, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the electronic device 200 is answering a telephone call or voice message, the voice can be heard by placing the receiver 272 close to the human ear. A microphone 273, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 273 through the mouth, inputting a sound signal to the microphone 273. The electronic device 200 may be provided with at least one microphone 273. The earphone interface 274 is used to connect a wired earphone.
The depth sensor 2801 is used to acquire depth information of a scene for a sensor included in the electronic device 200. The pressure sensor 2802 is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. The gyro sensor 2803 may be used to determine a motion gesture of the electronic device 200. The air pressure sensor 2804 is used to measure air pressure. The magnetic sensor 2805 includes a hall sensor. The electronic device 200 may detect the opening and closing of the flip holster using the magnetic sensor 2805. The acceleration sensor 2806 can detect the magnitude of acceleration of the electronic device 200 in various directions (typically three axes). The distance sensor 2807 is used to measure distance. Proximity light sensor 2808 may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The fingerprint sensor 2809 is used to collect a fingerprint. The temperature sensor 2810 is configured to detect temperature. The touch sensor 2811 can communicate a detected touch operation to an application processor to determine a touch event type. Visual output related to touch operations may be provided through display screen 290. The ambient light sensor 2812 is used to sense ambient light levels. The bone conduction sensor 2813 may acquire a vibration signal.
The keys 294 include a power on key, a volume key, etc. The keys 294 may be mechanical keys. Or may be a touch key. The motor 293 may generate a vibratory alert. The motor 293 may be used for incoming call vibration alerting as well as for touch vibration feedback. The indicator 292 may be an indicator light, which may be used to indicate a state of charge, a change in power, a message indicating a missed call, a notification, etc. The SIM card interface 295 is for interfacing with a SIM card. The electronic device 200 interacts with the network through the SIM card to realize functions such as communication and data communication.
The present application also provides a computer-readable storage medium that may be included in the electronic device described in the above embodiments; or may exist alone without being incorporated into the electronic device.
The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this 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 one of the electronic devices, cause the electronic device to implement the methods described in the embodiments below.
The flowcharts 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 involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
Fig. 3 schematically illustrates a flowchart of a video scan interrupt processing method of an exemplary embodiment of the present disclosure. Referring to fig. 3, the video scan interrupt processing method may include the steps of:
s32, screening a plurality of videos to be scanned from the video set, carrying out scanning operation on the videos to be scanned one by one, and recording information of the videos with the scanning operation completed.
In an exemplary embodiment of the present disclosure, the video in the video set may be a video captured by using the camera module, or may be a video directly acquired from another device. In addition, the present disclosure does not limit the types of videos in the video set, and may be captured videos or synthesized videos (e.g., animated videos).
The video collection may be a sum of videos accumulated over a period of time, including taken by itself and/or acquired from other devices. For example, in a video scan process configured to be performed once a week, the video collection may be video accumulated for that week.
First, a plurality of videos to be scanned can be screened from a video set. The rules of the filtering may be configured by the user. For example, the rules for filtering may be the duration of the video, the source of the video, etc.
According to one embodiment of the present disclosure, first, a duration of each video in a video set may be obtained; and then, screening videos with the duration in a preset duration range from the video set to serve as videos to be scanned. The preset duration range can be set by a user, for example, videos with duration ranging from 1 second to 10 minutes are screened out from the video set and used as videos to be scanned.
According to another embodiment of the present disclosure, first, the source of each video in a video collection may be obtained. The source of the video refers to whether the video is shot by a camera module of the video, or acquired from other equipment, or acquired from a designated equipment. And then, screening the video with the source as the target source from the video set to serve as the video to be scanned. The target source may be set by the user, for example, to screen the video sent by the device X from the video set, as the video to be scanned.
According to yet another embodiment of the present disclosure, the duration of the video described above may be combined with the source to determine the video to be scanned. Specifically, first, the duration of each video in the video set may be acquired and the source of each video may be acquired. And then, screening videos with the duration in a preset duration range and the source being a target source from the video set, and taking the videos as videos to be scanned. For example, a video with a duration between 1 second and 10 minutes and belonging to the video shot by the self camera module is selected from the video set as the video to be scanned.
After determining a plurality of videos to be scanned, the electronic equipment can perform scanning operation on the videos to be scanned one by one.
In addition, before the scanning operation is performed one by one, the present disclosure also provides a scheme for sorting a plurality of videos to be scanned, and the scanning operation is performed one by one according to the sorting result.
For example, the determined videos to be scanned are sequenced according to the time sequence from the current near to the far so as to ensure that the newly generated or newly acquired videos can be scanned preferentially; for another example, the determined videos to be scanned are sequenced according to the sequence from short to long of the video duration; for another example, the determined plurality of videos to be scanned are ordered in order of storage size of the videos from small to large, and so on.
In the process of carrying out video scanning operation one by one, every time one video is scanned, the information of the video is recorded. That is, information of the video for which the scanning operation has been completed is recorded in real time. Specifically, the information of the video may be written into the video scan database to record the information of the video for which the scanning operation has been completed.
The information of the video in the disclosure includes, but is not limited to, identification of the video, video scanning results, and the like.
S34, under the condition that the scanning operation is interrupted, if the scanning operation is recovered, comparing the information of the videos to be scanned with the recorded information, and determining the video which is not finished in the scanning operation in the 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, that is, the process of scanning the videos is stopped, due to the operation of the electronic device by the user or the system error of the electronic device.
Next, if the scanning operation is resumed, the information of the plurality of screened videos to be scanned is compared with the information recorded in step S32. Specifically, the identifications of the screened videos to be scanned are compared with the identifications of the videos with the scanning operation completed, so that the videos with the incomplete scanning operation in the videos to be scanned are determined.
For example, there are 100 videos to be scanned in total, and when the video a is processed as the scanning proceeds, the scanning operation is interrupted, and at this time, information of 30 videos for which the scanning operation has been completed has been recorded. In the case where the scanning operation is resumed, by comparison, there are 70 more videos that have not completed the scanning operation, and these 70 videos are determined as videos that have not completed the scanning operation.
S36, scanning the videos which are not subjected to 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, the video a only partially completes the scanning operation, and the video a is regarded as a target video of the present disclosure.
In this case, first, the target timing of the ongoing scanning operation of the target video at the time of interruption of the scanning operation may be acquired. For example, when an interruption occurs and the target video is being scanned for 2 minutes 15 seconds, then 2 minutes 15 seconds is taken as the target time.
And then, when the scanning operation is resumed, the scanning operation is executed on the part of the target video, which is not subjected to the scanning operation, from the target moment, and the scanning result of the target video is determined by combining the scanning result of the scanning operation completed by the target video before the interruption of the scanning operation.
For example, video a counts for a period of 1 minute and scanning takes 3 minutes. When the video a is scanned for 2 minutes 15 seconds, the scanning operation is interrupted, and then the scanning data before 2 minutes 15 seconds and the target time of interruption (2 minutes 15 seconds) are recorded. When the scanning operation is recovered, continuing to scan from 2 minutes and 15 seconds of the video A, combining the scanning data of 2 minutes and 15 seconds before interruption with the scanning data of 2 minutes and 15 seconds to 3 minutes after the scanning is completed, obtaining complete scanning data of the video A, and completing the scanning operation of the video A.
Subsequently, the scanning operation is performed one by one on the videos that are not completed in the scanning operation except the target video.
In addition, when the scanning operation is interrupted, the electronic device may display prompt information, where the prompt information may include, but is not limited to, estimated video scanning remaining time, options of multiple scanning operation recovery trigger events for user selection, and the like.
For example, the electronic device may statistically determine that a video duration of 1 minute corresponds to a scan duration of 3 minutes. Thus, in the case where the duration of the video which is not scanned is determined, the video scanning remaining time can be estimated so that the user can know and consider the time of the next video scanning.
Referring to fig. 4, the hint information may be displayed in the form of a pop-up window. The options of the scan operation recovery trigger event may include, for example, "when the screen is turned off next time", "after 10 minutes", "2 a.m. and so on, so that the user can flexibly select according to actual needs.
Next, the electronic device may resume the scanning operation when a scanning operation resume trigger event corresponding to the selection operation occurs based on the selection operation of the user. For example, in the case where the user selects "after 10 minutes", after elapse of 10 minutes, if a case of off-screen charging occurs, a scan operation resume trigger event is triggered, in which case the scan operation is resumed.
It should be noted that although the steps of the methods in the present disclosure are depicted in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
Further, in this example embodiment, a video scan interrupt processing apparatus is also provided.
Fig. 5 schematically shows a block diagram of a video scan interrupt processing apparatus of an exemplary embodiment of the present disclosure. Referring to fig. 5, the video scan interrupt 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 a video set, perform a scanning operation on the plurality of videos to be scanned one by one, and record information of the videos for which the scanning operation is completed; the video determining module 53 may be configured to compare the information of the plurality of videos to be scanned with the recorded information to determine a video in which the scanning operation is not completed in the plurality of videos to be scanned if the scanning operation is resumed in the case where the scanning operation is interrupted; the second scanning module 55 may be used to perform scanning operations on videos that have not completed the scanning operations one by one.
On the one hand, the video scanning interrupt processing device compares the information of a plurality of videos to be scanned with the video information of which the scanning operation is completed, and only scans the video of which the scanning operation is not completed 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 videos to be scanned, a user can select or customize screening rules, so that personalized requirements on relevant content identification are met.
According to an example embodiment of the present disclosure, the process of the first scanning module 51 screening out a plurality of videos to be scanned from a video set may be configured to perform: acquiring the duration of each video in a video set; and screening videos with the duration in a preset duration range from the video set to serve as videos to be scanned.
According to an example embodiment of the present disclosure, the process of the first scanning module 51 screening out a plurality of videos to be scanned from a video set may be configured to perform: acquiring sources of videos in a video set; and screening the video with the source as the target source from the video set to serve as the video to be scanned.
According to an example embodiment of the present disclosure, the process of the first scanning module 51 screening out a plurality of videos to be scanned from a video set may be configured to perform: acquiring the duration of each video in a video set; acquiring sources of videos in a video set; and screening videos with the duration in a preset duration range and the source being 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, a process in which the first scanning module 51 performs a scanning operation on a 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 videos to be scanned one by one according to the sequencing result.
According to an exemplary embodiment of the present disclosure, the target video on which the scanning operation is being performed when the scanning operation is interrupted is included in the video on which the scanning operation is not completed, in which case the second scanning module 55 may be configured to perform: acquiring the target moment of the target video in the process of scanning operation when the scanning operation is interrupted; when the scanning operation is recovered, the scanning operation is executed on the part of the target video, which is not subjected to the scanning operation, from the target moment, and the scanning result of the scanning operation is obtained by combining the scanning result of the completed scanning operation of the target video before the interruption of the scanning operation; the scanning operation is performed one by one on the video of the unfinished scanning operation other than the target video.
According to an exemplary embodiment of the present disclosure, referring to fig. 6, the video scan interrupt processing apparatus 6 may further include an information prompt and operation restoration module 61, as compared to the video scan interrupt 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 the estimated video scanning residual time and options for recovering triggering events of a plurality of scanning operations selected by a user; based on the selection operation of the user, when a scan operation restoration trigger event corresponding to the selection operation occurs, the scan operation is restored.
Since each functional module of the video scanning interrupt processing apparatus in the embodiment of the present disclosure is the same as that in the above-described method embodiment, a detailed description thereof is omitted herein.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, 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 (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
It should be noted that although in the above detailed description several modules or units of a 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 in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A video scan 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 the identification of the video with the scanning operation completed;
under the condition that the scanning operation is interrupted, prompt information is displayed in a popup window mode, the prompt information comprises estimated video scanning residual time and options of a plurality of scanning operation recovery trigger events selected by a user, the scanning operation is recovered when the scanning operation recovery trigger event corresponding to the selection operation occurs based on the selection operation of the user, and the identification of the plurality of videos to be scanned is compared with the identification of the video which has completed the scanning operation, so that the video which does not complete the scanning operation in the plurality of videos to be scanned is determined;
and scanning the video which is not subjected to the scanning operation.
2. The video scan interrupt processing method of claim 1, wherein screening out a plurality of videos to be scanned from a video set comprises:
acquiring the duration of each video in the video set;
and screening videos with duration in 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 out a plurality of videos to be scanned from a video set comprises:
acquiring the source of each video in the video set;
and screening the video with the source being the target source from the video set to serve as the video to be scanned.
4. The video scan interrupt processing method of claim 1, wherein screening out a plurality of videos to be scanned from a video set comprises:
acquiring the duration of each video in the video set;
acquiring the source of each video in the video set;
and screening videos with the duration in a preset duration range and the source being a target source from the video set, and taking the videos as videos to be scanned.
5. The video scan interrupt processing method according to 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 videos to be scanned one by one according to the sequencing result.
6. The video scan interrupt processing method according to any one of claims 1 to 5, wherein 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; wherein, scanning the video of the incomplete scanning operation includes:
acquiring the target moment of the target video, which is subjected to 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 combining the scanning result of the scanning operation, which is completed by the target video before the scanning operation is interrupted, so as to obtain the scanning result of the target video;
and performing scanning operation on the video which is not completed with the scanning operation except the target video.
7. A video scanning interrupt processing apparatus, comprising:
the first scanning module is used for screening a plurality of videos to be scanned from the video set, carrying out scanning operation on the videos to be scanned one by one, and recording the identification of the video with the scanning operation completed;
the video determining module is used for displaying prompt information in a popup window mode under the condition that scanning operation is interrupted, wherein the prompt information comprises estimated video scanning residual time and options of a plurality of scanning operation recovery triggering events selected by a user, the scanning operation is recovered based on the selection operation of the user when the scanning operation recovery triggering event corresponding to the selection operation occurs, the identification of the plurality of videos to be scanned is compared with the identification of the video of which the scanning operation is completed, and the video of which the scanning operation is not completed in the plurality of videos to be scanned is determined;
and the second scanning module is used for scanning the video which is not subjected to the scanning operation.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the video scanning interrupt processing method according to any one of claims 1 to 6.
9. 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 6.
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 CN111400004A (en) 2020-07-10
CN111400004B true 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)

Families Citing this family (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 (7)

* 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
CN104182519A (en) * 2014-08-25 2014-12-03 百度在线网络技术(北京)有限公司 File scanning method and device
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8228322B2 (en) * 2009-11-04 2012-07-24 Himax Technologies Limited Method and system of controlling halt and resume of scanning an LCD
US9536569B2 (en) * 2015-01-12 2017-01-03 Echostar Technologies L.L.C. Content-triggered highlight recording

Patent Citations (7)

* 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
CN104182519A (en) * 2014-08-25 2014-12-03 百度在线网络技术(北京)有限公司 File scanning method and device
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

Also Published As

Publication number Publication date
CN111400004A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN111212412B (en) Near field communication method and device, computer readable storage medium and electronic equipment
CN111917980B (en) Photographing control method and device, storage medium and electronic equipment
CN111815666B (en) Image processing method and device, computer readable storage medium and electronic equipment
CN111161176B (en) Image processing method and device, storage medium and electronic equipment
CN114422340B (en) Log reporting method, electronic equipment and storage medium
CN111243105B (en) Augmented reality processing method and device, storage medium and electronic equipment
CN112929654B (en) Method, device and equipment for detecting sound and picture synchronization and storage medium
CN111694605A (en) Voice information processing method and device, storage medium and electronic equipment
CN111641829B (en) Video processing method, device and system, storage medium and electronic equipment
CN111274043B (en) Near field communication method, near field communication device, near field communication system, storage medium and electronic equipment
CN111613213A (en) Method, device, equipment and storage medium for audio classification
CN110807769A (en) Image display control method and device
CN111400004B (en) Video scanning interrupt processing method and device, storage medium and electronic equipment
CN110827830B (en) Voiceprint recognition method, voiceprint recognition device, terminal and storage medium based on voice data
WO2021129444A1 (en) File clustering method and apparatus, and storage medium and electronic device
CN113867851A (en) Electronic equipment operation guide information recording method, electronic equipment operation guide information acquisition method and terminal equipment
CN116320123B (en) Voice signal output method and electronic equipment
CN111246240A (en) Method and apparatus for storing media data
CN112258498B (en) Image fault detection method and device, storage medium and electronic equipment
CN116707050B (en) Method and device for recording charge and discharge times, electronic equipment and readable storage medium
CN115515001B (en) Screen mirroring method, device, equipment and storage medium
CN114205318B (en) Head portrait display method and electronic equipment
CN112291472B (en) Preview image processing method and device, storage medium and electronic equipment
CN112184610B (en) 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