CN115547402A - Zero drop monitoring method, device, equipment and storage medium - Google Patents

Zero drop monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN115547402A
CN115547402A CN202211304431.8A CN202211304431A CN115547402A CN 115547402 A CN115547402 A CN 115547402A CN 202211304431 A CN202211304431 A CN 202211304431A CN 115547402 A CN115547402 A CN 115547402A
Authority
CN
China
Prior art keywords
task window
zero
window picture
picture
task
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
CN202211304431.8A
Other languages
Chinese (zh)
Other versions
CN115547402B (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.)
Shenzhen Sandiyixin Electronic Co ltd
Original Assignee
Shenzhen Sandiyixin Electronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Sandiyixin Electronic Co ltd filed Critical Shenzhen Sandiyixin Electronic Co ltd
Priority to CN202211304431.8A priority Critical patent/CN115547402B/en
Publication of CN115547402A publication Critical patent/CN115547402A/en
Application granted granted Critical
Publication of CN115547402B publication Critical patent/CN115547402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C29/56016Apparatus features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/635Overlay text, e.g. embedded captions in a TV program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/16Image preprocessing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/16Image preprocessing
    • G06V30/162Quantising the image signal
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C2029/5602Interface to device under test
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C2029/5606Error catch memory
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to a zero drop monitoring method, a zero drop monitoring device, zero drop monitoring equipment and a storage medium, wherein the method comprises the following steps: copying files to a mobile flash disk to be tested; according to a preset time interval, locally intercepting a task window which is automatically popped up when a file is copied to a mobile flash disk to be detected to obtain a task window picture containing a writing speed identifier; saving the task window picture; and obtaining a zero-dropping monitoring result based on the task window picture. The technical scheme of this application can improve and fall zero monitoring personnel's that monitors work efficiency to portable flash disk.

Description

Zero drop monitoring method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of data storage, in particular to a zero drop monitoring method, a zero drop monitoring device, zero drop monitoring equipment and a storage medium.
Background
The portable flash disk is a plug-and-play portable storage device, and is widely used due to the advantages of high efficiency, convenience, safety and the like of data transmission. When the mobile flash disk is inserted into the peripheral port of the electronic equipment to realize successful connection, the mobile flash disk can perform data interaction with the electronic equipment.
Before leaving the factory, the mobile flash disk needs to be subjected to zero drop monitoring, and the purpose is to test the compatibility of the mobile flash disk with different electronic devices. In the related art, for the zero drop monitoring of the removable flash disk, a method is generally adopted to write a file into the removable flash disk (i.e. copy the file into the removable flash disk), and a monitoring person observes the writing speed displayed on a screen window. When the writing speed at a plurality of moments is displayed as 0 MB/s, namely the zero-dropping times reach the preset threshold value times, the problem that the zero is dropped frequently in the mobile flash disk can be judged, and the mobile flash disk does not meet the factory requirements.
The method can be used for monitoring the zero-drop of the mobile flash disk, but in the zero-drop monitoring process, monitoring personnel are required to observe a screen window of a computer host in the whole process, the situation of false detection or missing detection is inevitable when people observe the screen window, the effectiveness and the accuracy of the zero-drop monitoring are difficult to guarantee, and the working efficiency of the monitoring personnel is also restricted.
Disclosure of Invention
The embodiment of the invention provides a flash zero-drop monitoring method, a flash zero-drop monitoring device, flash zero-drop monitoring equipment and a storage medium, and aims to solve the problems that in the zero-drop detection process, detection personnel need to observe a screen window in the whole process, the situation of false detection or missing detection is inevitable in human eye observation, the effectiveness and the accuracy of zero-drop monitoring are difficult to guarantee, and the working efficiency of the monitoring personnel is restricted.
A first aspect of the present application provides a zero drop monitoring method, including:
copying files to a mobile flash disk to be tested;
according to a preset time interval, locally intercepting a task window which is automatically popped up when a file is copied to a mobile flash disk to be detected to obtain a task window picture containing a writing speed identifier;
storing the task window picture;
and obtaining a zero-dropping monitoring result based on the task window picture.
As a possible implementation manner of the present application, in this implementation manner, according to a preset time interval, performing local interception on a task window that is automatically popped up when a file is copied to a to-be-tested mobile flash disk, to obtain and store a task window picture including a writing speed identifier, includes:
moving a task window which is automatically popped up when a file is copied to a mobile flash disk to be tested to a preset position area;
and based on a preset interception range, locally intercepting the task window according to a preset time interval to obtain a task window picture containing a writing speed identifier.
As a possible embodiment of the present application, in this embodiment, after moving the task window that pops up automatically when copying files to the mobile flash disk to be tested to the preset location area, the method further includes:
and adjusting the display state of the task window into a top setting display state, wherein the top setting display state is a display state which cannot be covered by any type of task window.
As a possible embodiment of the present application, in this embodiment, the preset clipping range is determined as follows:
constructing a preset interception range based on at least three coordinate point values input in advance; alternatively, the first and second electrodes may be,
at least three corner point coordinate values of a rectangular area formed when the mouse pointer is dragged are obtained, and a preset intercepting range is established based on the corner point coordinate values.
As a possible implementation manner of the present application, in this implementation manner, after performing local interception on a task window that is automatically popped up when copying a file to a mobile flash disk to be tested according to a preset time interval to obtain a task window picture including a writing speed identifier, the method further includes:
processing the task window picture according to a preset rule to obtain a target window picture;
extracting the characteristics of the target window picture to obtain identification data about the writing speed;
generating a log file based on the identification data;
storing the task window picture, including:
storing the target window picture;
obtaining a zero-dropping monitoring result based on the task window picture, including:
and obtaining a zero-dropping monitoring result based on the target window picture and/or the log file.
As a possible implementation manner of the present application, in the implementation manner, processing a task window picture according to a preset rule to obtain a target window picture includes:
performing color removal processing on the task window picture;
and sequentially carrying out amplification, blurring, gray scale and binarization processing on the task window picture after the decoloring processing to obtain a target window picture.
As one possible embodiment of the present application, in this embodiment, the color removal processing performed on the task window picture includes:
and adjusting the tristimulus values of the pixel points corresponding to the writing speed identifications in the task window picture into preset tristimulus values.
This application second aspect provides a fall zero monitoring devices, includes:
the file copying module is used for copying files to the mobile flash disk to be tested;
the task window intercepting module is used for locally intercepting a task window which is automatically popped up when a file is copied to the mobile flash disk to be detected according to a preset time interval to obtain a task window picture containing a writing speed identifier;
the window picture storage module is used for storing the task window picture;
and the analysis module is used for obtaining a zero-dropping monitoring result based on the task window picture.
A third aspect of the present application provides an electronic device comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method as described above.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon executable code, which, when executed by a processor of an electronic device, causes the processor to perform a method as described above.
In one embodiment of the application, a task window which is automatically popped up when a file is copied to a to-be-tested mobile flash disk is locally intercepted according to a preset time interval, so that a task window picture containing a writing speed identifier is obtained, the task window picture is stored, and a zero drop monitoring result is obtained based on the task window picture; compared with the prior art, the method and the device have the advantages that the copy file is simulated and executed on the mobile flash memory disc to be detected firstly, so that the task window which corresponds to the copy file and can display the transmission speed is popped up on the screen, and then the picture recognition is carried out according to the task window picture with the writing speed mark on the task window, so that the effectiveness and the accuracy of zero drop monitoring on the mobile flash memory disc to be detected can be improved, the false detection or the omission of human eye monitoring can be avoided, and the working efficiency of monitoring personnel can be improved.
In another embodiment, by adjusting the tristimulus values of the pixel points corresponding to the written speed identifiers in the task window picture into preset tristimulus values, other noise colors occurring in the process of identifying the task window picture can be avoided, so that the pixel points corresponding to the written speed identifiers are ensured to be only composed of the preset tristimulus values, and the complexity of identifying the speed identifiers is reduced.
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 application.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail exemplary embodiments thereof with reference to the attached drawings, in which like reference numerals generally represent like parts throughout.
Fig. 1 is a schematic flow chart of a zero drop monitoring method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an application environment for copying data stored in an electronic device onto a removable flash drive according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a task window that pops up by the electronic device when copying data to the removable flash drive according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a zero drop monitoring method according to another embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an abnormal situation in which a task window picture is not displayed on a display screen of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating that a preset intercepting range is determined from a task window to obtain a task window picture according to an embodiment of the present application;
FIG. 7 is a schematic flow chart diagram illustrating a zero drop monitoring method according to another embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a task window with a color band thereon according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram illustrating a log file generated after feature recognition is performed on a target window picture according to an embodiment of the application;
fig. 10 is a schematic diagram illustrating a storage of target window pictures in an order of feature recognition according to an embodiment of the application;
FIG. 11 is a schematic diagram illustrating a log file and a comparison of unique target window pictures corresponding to each value in the log file according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a computing apparatus of a zero drop monitoring method according to an embodiment of the present application;
FIG. 13 is a schematic structural diagram of a computing apparatus of a zero drop monitoring method according to another embodiment of the present application;
FIG. 14 is a schematic structural diagram of a computing apparatus of a zero drop monitoring method according to another embodiment of the present application;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are illustrated in the accompanying drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the related art, for the drop-zero monitoring of the portable flash disk, a method is usually adopted to write a file into the portable flash disk, and a monitoring person observes the writing speed displayed on a screen window. When the writing speed at a plurality of moments is displayed as 0 MB/s, namely the number of zero-dropping times reaches the preset threshold value, the problem that zero-dropping occurs frequently on the mobile flash disk can be judged, and the mobile flash disk is not in line with the factory requirements. The method can be used for monitoring the zero dropping of the mobile flash disk, but in the zero dropping monitoring process, monitoring personnel need to observe a screen window of a computer host in the whole process, and the situation of false detection or missing detection is inevitable when people observe the screen window, so that the effectiveness and the accuracy of the zero dropping monitoring are difficult to guarantee, and the working efficiency of the monitoring personnel is also restricted.
Therefore, in order to solve the technical problems, the application discloses a zero-drop monitoring method, a zero-drop monitoring device, zero-drop monitoring equipment and a storage medium, which can solve the problems that in the process of zero-drop monitoring of a mobile flash disk, monitoring personnel need to observe a screen window of a computer host in the whole process, the situation of false detection or missed detection is inevitable when the monitoring personnel observe by eyes, the effectiveness and the accuracy of zero-drop monitoring are difficult to guarantee, and the working efficiency of the monitoring personnel is restricted.
The technical scheme of the application is described in detail in the following with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a zero drop monitoring method in an embodiment of the present application.
Referring to fig. 1, a method for monitoring zero drop includes the following steps:
and step S110, copying the file to the mobile flash disk to be tested.
In the embodiment of the application, the mobile flash memory to be tested is a produced flash memory to be subjected to factory test, wherein the factory comprehensive test of the flash memory comprises multi-dimensional comprehensive evaluation on the aspects of the function, the performance, the reliability, the usability and the like of the mobile flash memory to be tested. The zero drop monitoring can belong to one of various performance evaluation of the flash memory disk, and the purpose of the zero drop monitoring is to monitor whether the transmission speed of the mobile flash memory disk to be tested is 0 MB/s or not when the mobile flash memory disk to be tested transmits data.
It will be appreciated that the mobile flash drive under test is primarily used to access data. In the process of writing data into the mobile flash disk, if the phenomenon of data zero drop occurs, the storage performance of the mobile flash disk is affected. In addition, in the current zero-drop monitoring process, monitoring personnel need to observe a screen window all the time and cannot leave a work post or process other work, and the work efficiency of the detection personnel can be seriously influenced.
For convenience of illustration, as shown in fig. 2, in a specific application provided in this embodiment, the real file may be an audio/video file, an image file, or a text file, and is not limited specifically here. Firstly, a mobile flash memory disk to be tested is connected to the electronic equipment so as to copy audio and video files to the mobile flash memory disk to be tested. The following examples are presented to illustrate this particular application.
In step S10 provided in this embodiment, the file is actually copied to the mobile flash disk to be tested, so as to implement zero drop monitoring on the mobile flash disk which is just shipped from factory, and ensure authenticity and reliability of the monitoring result, so as to implement subsequent maintenance or work such as returning to factory on the mobile flash disk which does not meet the factory requirements.
And step S120, locally intercepting a task window which is automatically popped up when the file is copied to the mobile flash disk to be detected according to a preset time interval to obtain a task window picture containing a writing speed identifier.
In the embodiment of the present application, the preset time interval refers to a frequency of capturing the pictures, for example, may be 1 piece/second or 3 pieces/second, and the frequency may be determined according to a copying speed of the file. It is understood that the higher the copying speed of the file is, the higher the frequency of intercepting the picture is, and the document is not particularly limited herein.
Referring to fig. 3, when copying a file to the to-be-tested mobile flash disk, the desktop of the electronic device may automatically pop up a corresponding task window as shown in fig. 3, and a task window picture (i.e., a dotted line local area shown in fig. 3) including a writing speed identifier may be obtained by locally capturing a current task window.
The task window picture is a picture including a speed identification region. It can be understood that, because the to-be-processed picture corresponding to the task window includes many unnecessary identifiers, and zero-drop monitoring only requires attention to the characteristics of the writing speed portion, a current task window is locally intercepted (local interception can be understood as local screenshot), and a task window picture including the writing speed identifier is obtained.
And step S130, storing the task window picture.
In the embodiment of the application, the task window pictures intercepted according to the preset time interval are uniformly stored in a monitoring folder which is established in advance, so that monitoring personnel can conveniently and quickly open the corresponding task window pictures according to the storage address. For the centralized storage of the task window pictures, the subsequent fast retrieval based on all the stored task window pictures is facilitated, so that the big data analysis is realized, and the frequency, time, the type of the copied file, the type of the mobile flash disk, the factory batch, the factory place, the factory time and the like of zero occurrence are judged, and the method is not particularly limited herein.
In addition, as the task window is locally intercepted, the overall size of the task window picture can be reduced by means of local interception, so that the task window picture obtained by screenshot does not occupy too much memory space.
And step S140, obtaining a zero-dropping monitoring result based on the task window picture.
In the embodiment of the present application, the zero-drop monitoring result is a condition of 0 MB/second in the process of copying the file to the removable flash disk. If the monitoring personnel find the corresponding task window picture with the identification of 0 MB/s by opening the monitoring folder, the situation that zero falls occurs in the process of copying the files of the current mobile flash disk to be tested can be confirmed, and the monitoring personnel need to count the zero falling times of the current mobile flash disk to be tested so as to evaluate the stability of the current mobile flash disk to be tested.
It should be noted that the number of zero dropping is related to the size of the copied file itself, the copied file has a large capacity, and the number of zero dropping that may occur during transmission is also increased. Therefore, the zero-drop monitoring result should be considered by balancing the ratio of the zero-drop times to the copy files to confirm the stability of the mobile flash disk to be tested. In addition, it is understood that the embodiment can also perform zero-drop monitoring for data reading, and the implementation principle is the same as that of copying files to a removable flash disk (U-disk), except that files are copied to the U-disk in one case, and files are copied from the U-disk in the other case.
In the embodiment of the application, the file is copied to the mobile flash disk to be tested, the task window which is automatically popped up when the file is copied to the mobile flash disk to be tested is locally intercepted according to the preset time interval, the task window picture containing the writing speed identifier is obtained, the task window picture is stored, and the zero-dropping monitoring result is obtained based on the task window picture. Compared with the prior art, according to the embodiment of the application, the file is copied in the mobile flash disk to be detected, so that the task window which corresponds to the copied file and can display the transmission speed is automatically popped up on the desktop of the computer, then the task window picture with the writing speed identification on the task window is intercepted and stored uniformly, and the follow-up monitoring personnel only need to open the corresponding folder according to the picture storage path, and obtain the zero-dropping monitoring result based on the task window picture. The screen window of the computer host does not need to be observed by monitoring personnel in the whole process in the related technology, the false detection or the missing detection of human eye monitoring can be well avoided, and meanwhile, the working efficiency of the monitoring personnel is also improved.
Fig. 2 is a schematic flow chart of a zero drop monitoring method in another embodiment of the present application.
Referring to fig. 4, a zero drop monitoring method includes the following steps:
and step S410, copying the file to the mobile flash disk to be tested.
In the embodiment of the present application, the purpose of the zero drop monitoring is to monitor whether the transmission speed of the mobile flash disk to be tested is 0 MB/s when the mobile flash disk to be tested transmits data. It will be appreciated that the mobile flash drive under test is primarily used to access data. Data access includes the process of writing or reading data. In the process of writing or reading data into or from the mobile flash disk, if the phenomenon of data zero drop occurs, the storage performance of the mobile flash disk is affected.
Step S410 provided in this embodiment is to implement zero drop monitoring on the mobile flash disk that has just left the factory by actually copying the file to the mobile flash disk to be tested, so as to ensure the authenticity and reliability of the monitoring result, and to implement subsequent maintenance or factory return and other work on the mobile flash disk that does not meet the factory requirements.
And step S420, moving the task window which is automatically popped up when the file is copied to the mobile flash disk to be tested to a preset position area.
In the embodiment of the application, the position of each task window pop-up is related to the position of the window during historical monitoring. If the task window is in a partial display state on the display screen of the electronic display device, and the task window picture is partially visible or completely invisible, as shown in fig. 5, the monitoring task may be interfered, for example, the task window picture cannot be captured; the intercepted task window picture is covered by other types of windows, so that the intercepted task window picture has elements of other types of windows and the intercepted picture has the problem that the speed identification part is covered by the elements of other types of windows; or the position of the task window is uncertain every time, the calculation time for judging the position of the task window picture is increased, and the like. In order to avoid the foregoing problem and improve the monitoring efficiency, the embodiment of the present application may provide a predetermined location area.
As a possible implementation manner of the present application, the preset position area is an area that ensures that the speed identifier area on the task window can be completely captured to form a task window picture (i.e. the speed identifier area can be completely displayed on the screen of the electronic device), for example, the preset position area may be an upper left corner, a screen edge, or a lower right corner of the screen of the electronic device. The task window picture is a displayable and interceptable portion on the screen no matter where the area of the preset position is set.
And step S430, adjusting the display state of the task window into a set top display state, wherein the set top display state is a display state which cannot be covered by any type of task window.
In the embodiment of the application, a plurality of activated task execution windows can exist on the interface of the electronic device. How to ensure that the zero drop detection method provided by the embodiment is prevented from being interfered by the start of other task execution windows, the embodiment of the application provides a monitoring function of a top display state. Specifically, the embodiment can set the top of the execution task corresponding to the current task window through the task window top plug-in, thereby ensuring that the task window remains in the top-set and viewable states in the activated state.
As a possible implementation manner of the application, the application can dynamically adjust the task window to be in a top display state, namely, a display state which cannot be covered by any type of task window, so that normal execution of the zero-drop monitoring task is guaranteed, and sustainability and anti-interference performance of the monitoring task provided by the application are guaranteed.
And step S440, based on a preset intercepting range, locally intercepting the task window according to a preset time interval to obtain a task window picture containing a writing speed identifier.
For convenience of description, as shown in fig. 6, the display length and the display width of the task window are both preset by an operating system adopted by the electronic device, that is, the position of each pixel point on the task window is constant relative to the origin (generally, the upper left corner) of the task window. It can be seen that the length and width of the task window picture are also constant with respect to the task window. According to the plurality of established relationships, the interception range of the task window picture on the task window can be obtained, namely the interception length and the interception width by taking the original point of the task window picture as an interception starting point. Continuing with FIG. 6 as an example, the following is illustrated:
the coordinates of the origin of the task window are (0, 0), the starting point of the task window picture relative to the origin of the task window (namely, the origin of the task window picture) is set according to the setting of the operating system, and the length and the width of the picture relative to the task window are respectively set, for example, the length of the origin of the task window picture relative to the horizontal direction of the task is 400 pixels, the length of the origin of the task window picture in the vertical direction is 50 pixels, and then the coordinates of the starting point of the task window picture are (400, 50). The task window picture comprises a speed and a character which is used for expressing speed transmission data, namely 208 MB/s and the like, and the speed comprises the speed and the character, namely the speed, the length and the width of the speed are respectively 80 pixels and 20 pixels, a preset intercepting range is formed by comprehensively intercepting a plurality of data, the preset intercepting range is that (400, 50) on a coordinate axis position which takes a coordinate of a task window as an origin is taken as a starting point, an image of the task window according to the length of 80 pixels and the width of 20 pixels is intercepted to obtain a rectangular task window picture which is stored, and the task window picture can be a rectangular task window picture which comprises the speed: 208 MB/sec "minimum range picture.
The preset intercepting range is set in the embodiment, and the preset intercepting range provided by the embodiment does not need to pay attention to the specific pixel position on the display screen of the electronic equipment where the current task window picture is located. As long as the original point position of the task window on the screen of the electronic equipment is determined, the embodiment can acquire the relative position of the task window picture on the screen of the electronic equipment by calculating the preset intercepting range, thereby directly and quickly intercepting the picture on the corresponding position to generate the current task window picture, and improving the picture acquiring efficiency for monitoring the mobile flash disk.
And S450, saving the task window picture.
In the embodiment of the application, the task window pictures intercepted according to the preset time interval are uniformly stored in a pre-established monitoring folder, so that monitoring personnel can conveniently and quickly open the corresponding task window pictures according to the storage address. For the centralized storage of the task window pictures, the subsequent quick retrieval based on all the stored task window pictures is facilitated, so that the data analysis is realized.
In addition, as the task window is locally intercepted, the overall size of the task window picture can be reduced by means of local interception, so that the task window picture obtained by screenshot does not occupy too much memory space.
And step S460, obtaining a zero-dropping monitoring result based on the task window picture.
In the embodiment of the application, if a task window picture of 0 MB/second exists, it can be determined that the current mobile flash disk to be tested has zero-drop in the process of copying the file, and the number of times of zero-drop of the current mobile flash disk to be tested is counted, so as to evaluate the stability of the current mobile flash disk to be tested.
It can be understood that the number of times of occurrence of the zero-dropping is related to the size of the copied file itself, the copied file has a large capacity, and the more times of occurrence of the zero-dropping may occur during the transmission. Therefore, the zero-drop monitoring result should be considered by balancing the ratio of the zero-drop times to the size of the copy file, so as to confirm the stability of the mobile flash disk to be tested. Alternatively, the duration of time may be monitored to account for, for example, the number of times a removable flash drive goes down to zero within one hour of continuous copying.
The embodiment can set a ratio threshold value and a preset time interval zero-falling threshold value respectively based on the ratio of the zero-falling times and the size of the copy file and the zero-falling times occurring in the continuous copy preset time interval, the ratio of the zero-falling times and the size of the copy file corresponding to the mobile flash disk obtained through actual monitoring is greater than the ratio threshold value, or the mobile flash disk, in which the zero-falling times occurring in the continuous monitoring time interval of the mobile flash disk obtained through actual monitoring is greater than the preset time interval zero-falling threshold value, is determined as the mobile flash disk which does not meet the factory requirements.
Fig. 7 is a flow chart illustrating a zero drop monitoring method in another embodiment of the present application.
Referring to fig. 7, a zero drop monitoring method includes the following steps:
and step S711, copying the file to the mobile flash disk to be tested.
In the embodiment of the present application, the purpose of the zero drop monitoring is to monitor whether the transmission speed of the mobile flash disk to be tested is 0 MB/second when transmitting data.
The embodiment is that the file is actually copied to the mobile flash disk to be tested, so that zero drop monitoring is performed on the mobile flash disk which just leaves the factory, the authenticity and the reliability of a monitoring result are guaranteed, and subsequent maintenance or factory return and other work on the mobile flash disk which does not meet the factory leaving requirements are realized.
And step S712, moving the task window automatically popped up when the file is copied to the mobile flash disk to be tested to a preset position area.
In the embodiment of the application, the position of each task window pop-up is related to the position of the window during historical monitoring. If the problem that the area where the speed identifier is located (the speed identifier area forming the task window picture) is not completely displayed on the screen of the electronic equipment exists in the historical monitoring position, the current monitoring task may be interfered; or the position of the task window is uncertain every time, the time for calculating the position of the task window is increased, and the like; in order to avoid the foregoing problem and improve the monitoring efficiency, the embodiment of the present application may provide a predetermined location area.
As a possible implementation manner of the present application, the preset location area is an area that ensures that the speed identifier area on the task window can be completely intercepted (that is, the speed identifier area can be completely displayed on the screen of the electronic device), for example, the preset location area may be an upper left corner, a screen edge, or a lower right corner of the screen of the electronic device. The speed identification area is a displayable and cuttable portion on the screen no matter where the area of the preset position is set.
Step S713, adjusting the display state of the task window to a set-top display state, where the set-top display state is a display state that is not covered by any type of task window.
In the embodiment of the application, it is considered that the interface of the electronic device may activate a plurality of task execution windows. How to ensure that the zero drop detection method provided by the embodiment is prevented from being interfered by the starting of other task execution windows, the embodiment of the application provides a monitoring function of a top display state.
As a possible implementation manner of the application, the application can dynamically adjust the task window to be in a top display state, namely, a display state which cannot be covered by any type of task window, so that normal execution of the zero-drop monitoring task is guaranteed, and sustainability and anti-interference performance of the monitoring task provided by the application are guaranteed.
And step S714, constructing a preset intercepting range based on at least three coordinate point values input in advance. Or acquiring at least three corner point coordinate values of a rectangular area formed when the mouse pointer is dragged, and constructing a preset interception range based on the corner point coordinate values.
In this embodiment of the present application, the implementation manner provided in step S340 may determine a specific capturing position of the task window picture relative to the origin of the electronic device by acquiring three points, namely, a starting point of the task window picture, a length capturing point of the task window picture, and a width capturing point of the task window picture. Alternatively, the first and second liquid crystal display panels may be,
the embodiment of the application can also directly receive the manually obtained coordinate values, for example, coordinate values corresponding to a preset intercepting range obtained by dragging a mouse pointer or a touch range defined on a touch screen, and the like, which are not specifically limited herein, so as to construct the preset intercepting range.
And S715, based on a preset interception range, locally intercepting the task window according to a preset time interval to obtain a task window picture containing a writing speed identifier.
In the embodiment of the present application, the display length and the display width of the task window by an operating system adopted by the electronic device are both preset by default, that is, the position of each pixel point on the task window is constant relative to the origin (generally, the upper left corner) of the task window. It can be seen that the length and width of the task window picture are also constant with respect to the task window. According to the plurality of established relationships, the intercepting range of the task window picture on the task window can be rapidly obtained, namely the intercepting length and the intercepting width with the original point of the task window picture as the intercepting starting point, so that the task of rapidly intercepting the task window picture is completed.
And step S716, performing color removal processing on the task window picture.
In the embodiment of the application, in order to improve the feature extraction speed of the picture, the application also provides a solution for the color removal processing of the task window of the color interface in consideration of the fact that some electronic devices have multicolor display for the setting of the task window.
The embodiment can collect display colors which can be set for the task window by each electronic device in advance, and match corresponding color value ranges according to the display colors. In the embodiment, a conversion color can be matched for each color value range, so that the tristimulus values of the pixel points corresponding to the writing speed identification are adjusted into the preset tristimulus values, and the processing complexity of the task window picture is reduced.
Based on the theory of three primary colors (R, G, B), that is, in the RGB mode, the color corresponding to each pixel on the task window picture corresponds to a tristimulus value. And acquiring colors corresponding to pixels which do not belong to the speed identification characteristics, wherein the colors are called colors to be filtered, and converting the tristimulus values corresponding to the colors to be filtered into the tristimulus values corresponding to white. After the above processing, the task window picture only remains in two colors, namely white and black (for example, the color corresponding to the speed identifier, although the color of the task window picture with respect to the speed identifier may not be black based on different operating systems).
For convenience of explanation, an example is illustrated as shown in fig. 8. The operating system of some electronic devices also sets a transmission speed to be displayed by a speed transmission trend curve on the task window. The transmission curve and its corresponding time axis form a color band, such as a green color band, etc., on the task window to represent the speed. At this time, the present embodiment needs to convert green into white (perform a decoloring process), and finally only white and black as ground colors remain, where black is a character color that needs to be extracted.
As a possible implementation manner of the present application, since each color corresponds to a tristimulus value, when a picture is scaled to a certain multiple, colors of pixel points of the same object in the picture have a slight difference, all the pixel points of the same object belong to the same hue as a whole, but the tristimulus values corresponding to each pixel point may be different. In view of this situation, when the color to be filtered is converted, a preferred mode may be to input a range of tristimulus values, for example, the tristimulus values corresponding to the dark green color are (122, 200, 214), when the tristimulus values corresponding to the color to be filtered are input, the tristimulus values may be input (110 to 130, 180 to 210, 200 to 220), the colors similar to the dark green color may also be converted, and finally, a picture with only white and black is formed, so as to greatly simplify the image features carried by the task window picture.
And step 717, sequentially carrying out amplification, blurring, gray scale and binarization processing on the task window picture after the decoloring processing to obtain a target window picture.
In the embodiment of the present application, in order to save computing resources and efficiently process the task window picture, the task window picture after the decoloring processing may be amplified according to a preset amplification factor to the pixel points in the picture to be processed, so as to improve the processing precision of each pixel point on the picture, and facilitate the subsequent feature extraction of the data.
And (4) fuzzifying the edge of the amplified task window picture to reduce color contrast and save the smoothness of the picture edge. Specifically, the present embodiment may call a gaussian blur function and a normal blur function to process the picture to be processed. Wherein:
the Gaussian fuzzy function can eliminate the saw teeth of the picture to be processed, so that the edge of the picture to be processed is fuller; the common fuzzy function can enable the colors of the pixel points of the identification features in the picture to be processed to be uniform, the situation that the colors of the corresponding pixel points are not uniform after the same identification feature is amplified is avoided, and meanwhile, the common fuzzy function can enable the edge of the picture to be processed to be fuller. The obfuscation operation may call the encapsulated function library to do so.
And (3) performing gray scale and binarization processing on the task window picture after the fuzzification processing so as to enable the corresponding real-time transmission data after the speed keyword at the speed identification area to be displayed more clearly and definitely, thereby obtaining a target window picture. Specifically, the gray processing may be a process of changing the three primary colors (R, G, B) in the picture to be processed into the same values, that is, changing the value range of the pixel point into a value in the range of [0, 255], that is, changing the picture to be processed into a black and white picture. The gray scale processing can reduce image information and accelerate the subsequent extraction speed of the speed features.
Image Binarization (Image Binarization) is a process of setting the gray value of a pixel point on an Image to be 0 or 255, namely, the whole Image presents an obvious black-and-white effect. In this embodiment, the process of implementing the binarization processing of the picture to be processed is as follows:
in this embodiment, a gray level threshold may be preset, for example, 100, each pixel point in the to-be-processed picture corresponds to a value, and when the value of a pixel point is greater than the gray level threshold 100, the value of the current pixel point is set to 255; otherwise, it is set to 0. The binarization of the image greatly reduces the data volume in the image, so that the outline of the target window picture can be highlighted, the outline of the target window picture is clear, and only two colors, namely black and white, exist, so that the target window picture is finally generated.
Step S718, performing feature extraction on the target window picture to obtain identification data about the writing speed.
In the embodiment of the application, the characteristic extraction can be performed on the target window picture through a preset rule to obtain the identification data about the writing speed. The preset rule is a rule for performing decolorizing and denoising on the task window picture while retaining the image characteristics, so as to improve the efficiency of subsequent characteristic extraction. It can be understood that the target window picture is a picture which is used for denoising and decolorizing the task window picture and carries image characteristics.
As a possible implementation manner of the present application, an OCR (Optical Character Recognition, image text Recognition) or a pre-trained image extraction convolution model may be adopted, where the method is not specifically limited herein, and characters on a target window image are extracted, so as to obtain writing speed text data corresponding to a speed identification area, where the speed text data is, for example, as described above, the speed text data is: "speed: 208 MB/sec ".
The identification data about writing speed on the target window picture is extracted through the embodiment, so that monitoring personnel can conveniently and visually and quickly read the zero dropping condition of the mobile flash disk, or quickly retrieve data based on the identification data.
And step S719, generating a log file based on the identification data.
In the embodiment of the present application, for convenience of description, as shown in fig. 9, the embodiment may store the recognized text data in a recognition order, for example, according to the time for recognizing and storing the features, and generate a log file about the writing speed. And the subsequent monitoring personnel can conveniently compare and check the task window picture and the identification data at the same time. For example, the following steps are carried out:
and storing the identification data corresponding to the first intercepted and stored task window picture as a first log file, and storing a second log file corresponding to the subsequently stored task window picture until the last log file in the log folder according to the identification sequence (namely, according to the time sequence). At this time, the time of the feature identification and/or the serial number of the capturing order of the captured task window picture may be used as the file ID of each log file in the log folder. At this time, if the monitoring person matches the corresponding task window picture through the log file corresponding to the file ID (the time of the feature identification or the sequence number of the capturing sequence of the captured task window picture, etc.), a unique task window picture can be matched through the time of the feature identification or the sequence number of the capturing sequence of the captured task window picture, so that the monitoring person can conveniently perform comparison check on the task window picture and the identification data at the same time.
And step S721, saving the target window picture.
In the embodiment of the present application, corresponding to step S390, as shown in fig. 10, while generating and storing a log file based on the identification data, according to the generation sequence of the log file, the target window picture corresponding to the log file is simultaneously stored by using the same file ID as the log file, so that a one-to-one correspondence relationship between the log file and the target window picture is formed, as shown in fig. 11, and it is beneficial for subsequent monitoring personnel to obtain the corresponding log file and the target window picture at the same time for the file ID, so as to improve the retrieval and monitoring efficiency.
Step S722, a zero-dropping monitoring result is obtained based on the target window picture and/or the log file.
In the embodiment of the application, the significance of the comparison check of the monitoring personnel on the target window picture and the identification data is that when the task window picture is subjected to feature extraction to obtain the identification data, the situation of data omission or inaccurate feature extraction may occur because the picture feature extraction model is adopted for feature extraction of the target picture. For example, an identification character such as "0.amb/sec" is extracted (in the case where it is difficult to confirm whether the data is 0 MB/sec). Until the scheme flow is finished, a follow-up monitoring person can directly observe whether the problem that zero falls in the mobile flash disk occurs in the file writing process through the log file, namely, whether the mark of '0 MB' appears is observed.
When abnormal data appear in the follow-up process, monitoring personnel can simultaneously combine the log file and the corresponding target window picture to carry out comparative monitoring, and whether zero is lost or not is verified by comparing the log file and the corresponding target window picture, so that the reliability and the accuracy of the monitoring process are guaranteed.
Considering that the data of the log file may be very large, the monitoring personnel may lock the image or the log file search item field input keyword in fig. 11 to quickly find whether there is a zero drop problem. Or the monitoring personnel can observe whether the mobile flash disk has the problem of zero drop by monitoring the image file in the figure 10; or comparing and observing the log file and the task window picture, thereby realizing zero-drop monitoring and ensuring the monitoring reliability.
Corresponding to the foregoing method embodiments, the present application provides a zero drop monitoring device and corresponding embodiments.
Fig. 12 is a schematic structural diagram of a zero drop monitoring apparatus in an embodiment of the present application.
Referring to fig. 12, a zero drop monitoring apparatus 1200 includes: a file copying module 1210, a task window intercepting module 1220, a window picture saving module 1230 and an analyzing module 1240.
The file copy module 1210 is used for copying files to the mobile flash disk to be tested.
The task window intercepting module 1220 is configured to locally intercept a task window that is automatically popped up when a file is copied to the mobile flash disk to be tested according to a preset time interval, so as to obtain a task window picture including a writing speed identifier.
The window picture saving module 1230 is configured to save the task window picture.
The analysis module 1240 is configured to obtain a zero-dropping monitoring result based on the task window picture.
Fig. 13 is a schematic structural diagram of a zero drop monitoring apparatus in another embodiment of the present application.
Referring to fig. 13, a zero drop monitoring apparatus 1300 includes: file copy module 1310, task window moving module 1320, task window top display module 1330, task window intercept module 1340, window picture save module 1350 and analysis module 1360.
The file copy module 1310 is used for copying files to the mobile flash disk to be tested.
The task window moving module 1320 is configured to move a task window that is automatically popped up when a file is copied to the to-be-tested mobile flash disk to a preset location area.
The task window top display module 1330 is configured to adjust a display status of a task window to a top display status, where the top display status is a display status that is not covered by any type of task window.
The task window intercepting module 1340 is configured to perform local interception on a task window according to a preset time interval based on a preset intercepting range, so as to obtain a task window picture including a writing speed identifier.
The window picture saving module 1350 is configured to save the task window picture.
The analysis module 1360 is configured to obtain the zero-dropping monitoring result based on the task window picture.
It should be noted that, the method of the zero drop monitoring device implemented by the zero drop monitoring device disclosed in this embodiment is as described in the above embodiments, and therefore, detailed description thereof is omitted here. Alternatively, each module in the present embodiment and the other operations or functions described above are respectively for realizing the method in the foregoing embodiments.
Fig. 14 is a schematic structural diagram of a zero-drop monitoring device in another embodiment of the present application.
Referring to fig. 14, a zero drop monitoring apparatus 1400 includes: the system comprises a file copying module 1411, a task window moving module 1412, a task window top display module 1413, a preset intercepting range constructing module 1414, a window intercepting module 1415, a tristimulus value adjusting module 1416, a task window picture processing module 1417, a target window picture characteristic extracting module 1418, a log file generating module 1419, a target window picture storing module 1421 and a zero drop monitoring result acquiring module 1422.
The file copy module 1411 is used to copy files to the removable flash drive under test.
The task window moving module 1412 is configured to move a task window that is automatically popped up when a file is copied to the to-be-tested mobile flash disk to a preset location area.
The task window top display module 1413 is configured to adjust a display state of a task window to a top display state, wherein the top display state is a display state that is not covered by any type of task window.
The preset clipping range constructing module 1414 is configured to construct a preset clipping range based on at least three coordinate point values input in advance. Or acquiring at least three corner point coordinate values of a rectangular area formed when the mouse pointer is dragged, and constructing a preset intercepting range based on the corner point coordinate values.
The task window intercepting module 1415 is configured to perform local interception on a task window according to a preset time interval based on a preset intercepting range, so as to obtain a task window picture including a writing speed identifier.
The tristimulus value adjusting module 1416 is configured to adjust the tristimulus values of the pixel points corresponding to the writing speed identifiers in the task window picture into preset tristimulus values.
The task window picture processing module 1417 is configured to sequentially perform amplification, blurring, grayscale and binarization on the task window picture after the color removal processing, so as to obtain a target window picture.
The target window picture feature extraction module 1418 is configured to perform feature extraction on the target window picture to obtain identification data about writing speed.
The log file generation module 1419 is configured to generate a log file based on the identification data.
The target window picture saving module 1421 is configured to save the target window picture.
The zero-dropping monitoring result obtaining module 1422 is configured to obtain a zero-dropping monitoring result based on the target window picture and/or the log file.
It should be noted that, the method of the zero drop monitoring device implemented by the zero drop monitoring device disclosed in this embodiment is as described in the above embodiments, and therefore, detailed description thereof is omitted here. Alternatively, each module in the present embodiment and the other operations or functions described above are respectively for realizing the method in the foregoing embodiments.
Referring to fig. 15, another embodiment of the present application illustrates a computing electronic device 1500 comprising a memory 1510 and a processor 1520.
Processor 1520 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc.
The general purpose processor may be a microprocessor or the processor may be any conventional processor memory 1510 including various types of memory units such as system memory, read Only Memory (ROM), and permanent storage.
Wherein the ROM may store static data or instructions for the processor 1520 or other modules of the computer. The persistent storage device may be a read-write storage device. The persistent storage may be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device.
In other embodiments, the permanent storage may be a removable storage device (e.g., floppy disk, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as a dynamic random access memory. The system memory may store instructions and data that some or all of the processors require at runtime.
Further, the memory 1510 may comprise any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic and/or optical disks, may also be employed.
In some embodiments, memory 1510 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, flash memory cards (e.g., SD, min SD, and Micro-SD cards, etc.), magnetic floppy disks, and the like. Computer-readable storage media do not contain carrier waves or transitory electronic signals transmitted by wireless or wired means. The memory 1510 has stored thereon executable code that, when processed by the processor 1520, may cause the processor 1520 to perform some or all of the methods described above.
Furthermore, the method according to the present application may also be implemented as a computer program or computer program product comprising computer program code instructions for performing some or all of the steps of the above-described method of the present application.
Alternatively, the present application may also be embodied as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) having executable code (or a computer program or computer instruction code) stored thereon, which, when executed by a processor of an electronic device (or server, etc.), causes the processor to perform part or all of the various steps of the above-described method according to the present application.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A zero drop monitoring method is characterized by comprising the following steps:
copying files to a mobile flash disk to be tested;
according to a preset time interval, locally intercepting a task window which is automatically popped up when the file is copied to the mobile flash disk to be tested to obtain a task window picture containing a writing speed identifier;
storing the task window picture;
and obtaining a zero dropping monitoring result based on the task window picture.
2. The method for monitoring zero drop according to claim 1, wherein the step of locally intercepting a task window that is automatically popped up when copying a file to the mobile flash disk to be tested according to a preset time interval to obtain and store a task window picture including a writing speed identifier comprises:
moving a task window which is automatically popped up when the file is copied to the mobile flash disk to be tested to a preset position area;
and based on a preset interception range, locally intercepting the task window according to a preset time interval to obtain a task window picture containing a writing speed identifier.
3. The zero drop monitoring method according to claim 2, wherein after the task window automatically popped up when copying the file to the mobile flash disk to be tested is moved to a preset position area, the method further comprises:
adjusting a display state of the task window to a set-top display state, wherein the set-top display state is a display state that is not covered by any type of task window.
4. The drop zero monitoring method according to claim 2, wherein the preset clipping range is determined as follows:
constructing the preset interception range based on at least three coordinate point values input in advance; alternatively, the first and second electrodes may be,
and acquiring at least three corner point coordinate values of a rectangular area formed when the mouse pointer is dragged, and constructing the preset intercepting range based on the corner point coordinate values.
5. The method for monitoring zero drop according to claim 1, wherein after the task window that pops up automatically when copying files to the mobile flash disk to be tested is locally intercepted according to the preset time interval to obtain a task window picture containing a writing speed identifier, the method further comprises:
processing the task window picture according to a preset rule to obtain a target window picture;
extracting the characteristics of the target window picture to obtain identification data about writing speed;
generating a log file based on the identification data;
the storing the task window picture includes:
storing the target window picture;
the obtaining of the zero-dropping monitoring result based on the task window picture comprises:
and obtaining a zero-dropping monitoring result based on the target window picture and/or the log file.
6. The zero drop monitoring method according to claim 5, wherein the processing the task window picture according to a preset rule to obtain a target window picture comprises:
performing color removal processing on the task window picture;
and sequentially carrying out amplification, blurring, gray scale and binarization processing on the task window picture after the decoloring processing to obtain a target window picture.
7. The zero drop monitoring method according to claim 6, wherein the performing a color removal process on the task window picture comprises:
and adjusting the tristimulus values of the pixel points corresponding to the writing speed identifications in the task window picture into preset tristimulus values.
8. A drop zero monitoring device, comprising:
the file copying module is used for copying files to the mobile flash disk to be tested;
the task window intercepting module is used for locally intercepting a task window which is automatically popped up when the file is copied to the mobile flash disk to be detected according to a preset time interval to obtain a task window picture containing a writing speed identifier;
the window picture storage module is used for storing the task window picture;
and the analysis module is used for obtaining a zero-dropping monitoring result based on the task window picture.
9. An electronic device, comprising:
a processor; and
memory having executable code stored thereon, wherein the executable code, when executed by the processor, causes the processor to perform the zero crossing detection method of any one of claims 1 to 7.
10. A computer readable medium having executable code stored thereon, wherein the executable code, when executed by a processor, causes the processor to perform the zero crossing detection method of any one of claims 1 to 7.
CN202211304431.8A 2022-10-24 2022-10-24 Zero-loss monitoring method, device, equipment and storage medium Active CN115547402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211304431.8A CN115547402B (en) 2022-10-24 2022-10-24 Zero-loss monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211304431.8A CN115547402B (en) 2022-10-24 2022-10-24 Zero-loss monitoring method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115547402A true CN115547402A (en) 2022-12-30
CN115547402B CN115547402B (en) 2023-05-05

Family

ID=84719024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211304431.8A Active CN115547402B (en) 2022-10-24 2022-10-24 Zero-loss monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115547402B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568522A (en) * 2011-12-31 2012-07-11 曙光信息产业股份有限公司 Hardware performance test method and device
CN106383789A (en) * 2016-12-05 2017-02-08 广州唯品会信息科技有限公司 Software interface test method and software interface test system
CN109359032A (en) * 2018-09-05 2019-02-19 Oppo(重庆)智能科技有限公司 Test data collection method, device, system and electronic equipment
US20190163908A1 (en) * 2017-11-30 2019-05-30 Siemens Aktiengesellschaft Control method and unit of mobile storage devices, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568522A (en) * 2011-12-31 2012-07-11 曙光信息产业股份有限公司 Hardware performance test method and device
CN106383789A (en) * 2016-12-05 2017-02-08 广州唯品会信息科技有限公司 Software interface test method and software interface test system
US20190163908A1 (en) * 2017-11-30 2019-05-30 Siemens Aktiengesellschaft Control method and unit of mobile storage devices, and storage medium
CN109359032A (en) * 2018-09-05 2019-02-19 Oppo(重庆)智能科技有限公司 Test data collection method, device, system and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张鹏: "浅谈SSD 固态硬盘测试方法的研究" *

Also Published As

Publication number Publication date
CN115547402B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
WO2020140698A1 (en) Table data acquisition method and apparatus, and server
CN107509107B (en) Method, device and equipment for detecting video playing fault and readable medium
CN111124888B (en) Method and device for generating recording script and electronic device
US9679354B2 (en) Duplicate check image resolution
US20210124928A1 (en) Object tracking methods and apparatuses, electronic devices and storage media
CN105046186A (en) Two-dimensional code recognition method and device
CN111917740A (en) Abnormal flow alarm log detection method, device, equipment and medium
CN110392232B (en) Real-time data monitoring platform
CN107451507A (en) A kind of two-dimensional code identification method being used in dynamic image and device
US10395373B1 (en) Image feature detection
CN112153373A (en) Fault identification method and device for bright kitchen range equipment and storage medium
CN112559341A (en) Picture testing method, device, equipment and storage medium
CN110784486A (en) Industrial vulnerability scanning method and system
CN112206508A (en) Image detection method and device and computer readable storage medium
CN115547402B (en) Zero-loss monitoring method, device, equipment and storage medium
CN111368785A (en) Camera shielding judgment method, device, equipment and storage medium
US9070015B2 (en) System and method for iris detection in digital images
CN109255291A (en) A kind of machining center breaking alarm system
JP6834126B2 (en) Information processing equipment, defect detection methods and programs
CN113343769A (en) Method and device for automatically receiving text messages
CN113628192A (en) Image blur detection method, device, apparatus, storage medium, and program product
CN110211085B (en) Image fusion quality evaluation method and system
CN112416689A (en) Method for assisting research and development personnel in analyzing small-probability non-startup problem
CN111935480A (en) Detection method for image acquisition device and related device
CN111240583B (en) Self-adaptive big data storage method

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 402-406, floor 4, building 4, Tianan Yungu Industrial Park, Gangtou community, Bantian street, Longgang District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Sandi Yixin Electronics Co.,Ltd.

Address before: 518000 402-406, floor 4, building 4, Tianan Yungu Industrial Park, Gangtou community, Bantian street, Longgang District, Shenzhen, Guangdong Province

Applicant before: SHENZHEN SANDIYIXIN ELECTRONIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant