CN112422378A - Data backup method and device, smart home equipment and storage medium - Google Patents

Data backup method and device, smart home equipment and storage medium Download PDF

Info

Publication number
CN112422378A
CN112422378A CN202011160012.2A CN202011160012A CN112422378A CN 112422378 A CN112422378 A CN 112422378A CN 202011160012 A CN202011160012 A CN 202011160012A CN 112422378 A CN112422378 A CN 112422378A
Authority
CN
China
Prior art keywords
data
preset
inspection
information
inspected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011160012.2A
Other languages
Chinese (zh)
Inventor
赖祖宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011160012.2A priority Critical patent/CN112422378A/en
Publication of CN112422378A publication Critical patent/CN112422378A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a data backup method, which is applied to intelligent household equipment and comprises the following steps: receiving data to be checked sent aiming at target data information; utilizing a preset inspection library to inspect the data to be inspected to obtain an inspection result, wherein the preset inspection library is obtained based on preset inspection data; judging whether the test result meets a preset condition or not; and when the inspection result meets the preset condition, backing up the target data information. The invention also discloses a data backup device, intelligent household equipment and a storage medium. The target data information is backed up, and the condition of loss can not occur.

Description

Data backup method and device, smart home equipment and storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a data backup method and device, intelligent home equipment and a storage medium.
Background
With the progress of science and technology, intelligent household equipment enters the lives of people. The user can do shopping, payment or web browsing and other behaviors through the intelligent home equipment, and the intelligent home equipment is used for storing relevant data information.
However, when a user uses the smart refrigerator to perform shopping, payment, or browsing a web page, etc., the generated data information is lost.
Disclosure of Invention
The invention mainly aims to provide a data backup method and device, intelligent home equipment and a storage medium, and aims to solve the technical problem that generated data information is lost when a user uses an intelligent refrigerator to perform actions such as shopping, payment or webpage browsing in the prior art.
In order to achieve the above object, the data backup method provided by the present invention is applied to an intelligent home device, and the method includes the following steps:
receiving data to be checked sent aiming at target data information;
utilizing a preset inspection library to inspect the data to be inspected to obtain an inspection result, wherein the preset inspection library is obtained based on preset inspection data;
judging whether the test result meets a preset condition or not;
and when the inspection result meets the preset condition, backing up the target data information.
Optionally, before the step of using a preset inspection library to inspect the data to be inspected and obtain an inspection result, the method further includes:
acquiring preset inspection data;
and obtaining the preset inspection library based on the preset inspection data.
Optionally, the preset inspection library is used for inspecting the data to be inspected, and the step of obtaining the inspection result comprises:
acquiring selected inspection data corresponding to the data to be inspected from the preset inspection library;
and inspecting the data to be inspected by using the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to obtain an inspection result.
Optionally, the data to be detected is fingerprint data to be detected, and the selected detection data is preset fingerprint data; the step of utilizing the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to inspect the data to be inspected and obtain an inspection result comprises the following steps:
acquiring the number of the fingerprint characters to be detected corresponding to the fingerprint data to be detected;
acquiring a preset fingerprint character number corresponding to the preset fingerprint data;
calculating the difference between the number of the fingerprint characters to be detected and the preset number of the fingerprint characters to obtain a calculation result;
and obtaining a test result according to the calculation result.
Optionally, the data to be detected is face image data to be detected, and the selected detection data is preset face image data; the step of utilizing the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to inspect the data to be inspected and obtain an inspection result comprises the following steps:
acquiring parity information to be detected of characters corresponding to the face feature information in the face image data to be detected;
acquiring preset parity information of characters corresponding to the face feature information in the preset face image data;
matching the parity information to be checked with the preset parity information to obtain a parity information matching result;
and obtaining a checking result according to the parity information matching result.
Optionally, the data to be detected is face video data to be detected, and the selected detection data is preset face video data; the step of utilizing the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to inspect the data to be inspected and obtain an inspection result comprises the following steps:
acquiring the number of characteristic characters to be detected of the face characteristic information of a frame to be detected in the face video data to be detected;
acquiring the number of preset characteristic characters of the face characteristic information of a preset frame in the preset face video data;
matching the number of the characteristic characters to be detected with the number of the preset characteristic characters to obtain a frame matching result;
and obtaining a test result according to the frame matching result.
Optionally, the smart home device is an intelligent refrigerator.
In addition, in order to achieve the above object, the present invention further provides a data backup device, which is applied to an intelligent home device, and the device includes:
the receiving module is used for receiving the data to be checked sent aiming at the target data information;
the inspection module is used for inspecting the data to be inspected by utilizing a preset inspection library to obtain an inspection result, wherein the preset inspection library is obtained based on preset inspection data;
the judging module is used for judging whether the test result meets a preset condition or not;
and the backup module is used for backing up the target data information when the detection result meets the preset condition.
In addition, in order to achieve the above object, the present invention further provides an intelligent home device, where the intelligent home device includes: a memory, a processor and a data backup program stored on the memory and executable on the processor, the data backup program configured to implement the steps of the data backup method as claimed in any one of the above.
In addition, to achieve the above object, the present invention further provides a storage medium having a data backup program stored thereon, wherein the data backup program, when executed by a processor, implements the steps of the data backup method according to any one of the above.
The technical scheme of the invention adopts a data backup method, is applied to intelligent household equipment, and receives the data to be detected sent aiming at the target data information; utilizing a preset inspection library to inspect the data to be inspected to obtain an inspection result; judging whether the test result meets a preset condition or not; and when the inspection result meets the preset condition, backing up the target data information. The preset inspection library is used for inspecting the data to be inspected input aiming at the target data information to obtain an inspection result, and the target data information is backed up when the inspection result meets the preset condition, so that the target data information is backed up, and the condition of loss is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an intelligent home device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a data backup method according to a third embodiment of the present invention;
fig. 3 is a block diagram of a data backup device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent home device in a hardware operating environment according to an embodiment of the present invention.
The intelligent household equipment can be an intelligent refrigerator, an intelligent range hood, an intelligent television or an intelligent set top box and the like; in particular to an intelligent refrigerator.
Generally, smart home devices include: at least one processor 301, a memory 302, and a data backup program stored on the memory and executable on the processor, the data backup program configured to implement the steps of the data backup method as previously described.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. Processor 301 may also include an AI (Artificial Intelligence) processor for processing relevant data backup method operations such that the data backup method model may be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 801 to implement the data backup method provided by the method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. . In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology. Those skilled in the art will appreciate that the configuration shown in fig. 1 is not intended to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a data backup program, and the data backup program, when executed by a processor, implements the steps of the data backup method described above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined that, for example, the program instructions may be deployed to be executed on one smart home device, or on multiple smart home devices located at one site, or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the above hardware structure, an embodiment of the data backup method of the present invention is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a data backup method according to a third embodiment of the present invention; the method is applied to the intelligent household equipment, and comprises the following steps:
step S11: and receiving the data to be checked sent aiming at the target data information.
It should be noted that the target data information may be shopping link information generated when the user uses the smart home device to perform shopping, payment record information generated when the user uses the smart home device to pay, or page data information generated when the user uses the smart home device to browse a webpage, which is not limited in the present invention.
When the user utilizes intelligent home equipment to carry out above-mentioned type action and finishes, intelligent home equipment can output prompt message: whether the current data information is backed up or not is judged, and when a user determines to back up the current data information, the data to be checked of the user is collected; the data to be detected may be fingerprint data, face image data or face video data.
In the concrete application, the user can select any one to be examined data according to the demand of oneself, then send corresponding data information can, for example, when multimedia terminal equipment exports the interface of gathering the data of examining to examine, the user can send the fingerprint of examining, the face image data of examining or the face video data of examining can, when the user sends and accomplishes, namely, acquire the data of examining that the user sent, wherein, the user can send the fingerprint data of examining through the fingerprint collection module of intelligent home equipment, or send the face image data of examining or the face video data of examining through the camera collection module of intelligent home equipment.
Step S12: and utilizing a preset inspection library to inspect the data to be inspected to obtain an inspection result, wherein the preset inspection library is obtained based on the preset inspection data.
Before step S12, the method further includes: acquiring preset inspection data; and obtaining the preset inspection library based on the preset inspection data.
The preset inspection data may be standard inspection data that is manually set and input by a user using the smart home device, and the inspection data is used for inspecting data to be inspected input by the user. The preset inspection data input by the user can be preset fingerprint data input by the user through a fingerprint acquisition module of the intelligent home equipment, can also be preset face image data acquired by the user through a camera acquisition module of the intelligent home equipment, and can also be preset face video data input by the user through the camera acquisition module of the intelligent home equipment, wherein the face image data to be inspected and the preset face image data can be a face image shot by the camera acquisition module of the intelligent home equipment; the to-be-inspected face video data and the preset face video data can be videos shot by a camera acquisition module of the intelligent household equipment, wherein one section of the videos comprises a face, the duration of the to-be-inspected face video data is equal to that of the preset face video data, and the number of frames per second of the to-be-inspected face video data is equal to that of the preset face video data.
After the preset inspection data that intelligent home equipment gathered, obtain according to presetting the inspection data and predetermine the inspection storehouse, generally, the preset inspection data that intelligent home equipment obtained includes user's fingerprint data of predetermineeing, predetermine face image data and predetermine face video data, the preset inspection storehouse that obtains includes preset fingerprint data, predetermine face image data and predetermine face video data, so that, when the user input is to wait to inspect the data for the fingerprint data of waiting to inspect, wait to inspect face image data or wait to inspect face video data, all can utilize and predetermine the inspection storehouse and treat inspection data and inspect.
Further, step S12 includes: acquiring selected inspection data corresponding to the data to be inspected from the preset inspection library; and inspecting the data to be inspected by using the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to obtain an inspection result.
It should be noted that the data information to be inspected input by the user is one of fingerprint data to be inspected, face image data to be inspected or face video data to be inspected, and corresponding selected inspection data needs to be acquired according to the input data to be inspected; for example, the data to be inspected input by the user is fingerprint data to be inspected, the selected inspection data acquired from the preset inspection library is preset fingerprint data, similarly, the data to be inspected input by the user is face image data to be inspected, the selected inspection data acquired from the preset inspection library is preset face image data, the data to be inspected input by the user is face video data to be inspected, and the selected inspection data acquired from the preset inspection library is preset face video data.
The types of the selected check data are different, and the corresponding check strategies are different, and the check strategies for the different types of the selected check data will be described in detail below, which is not described herein again.
Further, the data to be detected is fingerprint data to be detected, and the selected detection data is preset fingerprint data; step S12 includes: acquiring the number of the fingerprint characters to be detected corresponding to the fingerprint data to be detected; acquiring a preset fingerprint character number corresponding to the preset fingerprint data; calculating the difference between the number of the fingerprint characters to be detected and the preset number of the fingerprint characters to obtain a calculation result; and obtaining a test result according to the calculation result.
It should be noted that the data form of the fingerprint data to be detected is the fingerprint character to be detected, and the lengths of the fingerprint characters to be detected of different fingerprint data to be detected are different, that is, the numbers of the fingerprint characters to be detected are different; meanwhile, the data form of the preset fingerprint data is also the preset fingerprint character, and the preset fingerprint characters corresponding to different preset fingerprint data have different lengths, that is, the number of the preset fingerprint characters is different. And obtaining a detection result of the fingerprint data to be detected by using the difference (namely, a calculation result) between the number of the fingerprint characters to be detected and the preset number of the fingerprint characters.
The fingerprint character may be a binary character to which the fingerprint data corresponds.
Wherein, in another embodiment, can all match the fingerprint character content and the fingerprint character number of waiting to examine fingerprint data and predetermine fingerprint data to obtain more accurate matching result, and then make the rate of accuracy of inspection result higher, nevertheless, utilize the difference of fingerprint character number, the inspection result rate of accuracy of the fingerprint data of waiting to examine that obtains is higher, can not utilize fingerprint character content to match, in order to save intelligent household equipment's resource.
In addition, when the difference value between the number of the fingerprint characters to be detected and the preset number of the fingerprint characters is 0 or is lower than a preset threshold value, the detection result is that the data to be detected is successfully detected, and when the difference value between the number of the fingerprint characters to be detected and the preset number of the fingerprint characters is not 0 or is not lower than the preset threshold value, the detection result is that the data to be detected is failed to be detected. The preset threshold value is not suitable to be too large, a numerical value not exceeding 5 is preferably adopted, and 0 is optimally adopted.
Further, the data to be detected is face image data to be detected, and the selected detection data is preset face image data; step S12 includes: acquiring parity information of characters to be detected corresponding to the face feature information in the face image data to be detected; acquiring parity information of preset check characters corresponding to the face feature information in the preset face image data; matching the parity information of the character to be checked with the parity information of the preset check character to obtain a parity information matching result; and obtaining a checking result according to the parity information matching result.
It should be noted that the facial image data to be inspected includes a plurality of facial feature information, and different facial image data to be inspected includes a plurality of different facial feature information, for example, different people have different eye information, nose information, or mouth information; meanwhile, the preset face image data also comprises a plurality of face feature information, and the different preset face image data comprises different face feature information. The data form of the face characteristic information in the face image information to be detected is characters, the face characteristic information of the same organ of different people is different, the corresponding characters are different, the parity information to be detected of the corresponding characters is different, meanwhile, the data form of the face characteristic information in the preset face image information is characters, the face characteristic information of the same organ of different people is different, the corresponding characters are different, the characters are different, and the preset parity information corresponding to different characters is different; the parity information to be checked is matched with the preset parity information to obtain a parity information matching result, and it is noted that the parity information to be checked of characters corresponding to a plurality of face feature information in the face image data to be checked needs to be matched with the corresponding preset parity information.
The characters corresponding to the facial features may be binary characters.
In another embodiment, the content of the character corresponding to the face feature information in the face image data to be inspected can be matched with the content of the character corresponding to the face feature information in the preset face image data, and the parity information to be inspected can be matched with the preset parity information to obtain a more accurate matching result, so that the accuracy of the inspection result is higher.
The parity information indicates odd-numbered information and even-numbered information of the character, and the parity information matches the odd-numbered information and the even-numbered information of the character. When parity information to be checked of characters corresponding to a plurality of face feature information in the face image data to be checked is matched with preset parity information of characters corresponding to a plurality of face feature information in preset face image data, the matching result of the parity information is matched, the corresponding checking result is that the data to be checked is checked successfully, when the parity information to be checked of one of the face feature information in the face image data to be checked corresponding to the characters is not matched with the preset parity information of the corresponding one of the face feature information in the preset face image data, the matching result of the parity information is not matched, and the corresponding checking result is that the data to be checked is checked unsuccessfully. That is, when the parity information of the characters corresponding to the plurality of pieces of facial feature information are all matched, the check is successful, and when one of the parity information of the characters corresponding to the plurality of pieces of facial feature information is not matched, the check is failed.
Further, the data to be detected is face video data to be detected, and the selected detection data is preset face video data; step S12 includes: acquiring the number of characteristic characters to be detected of the face characteristic information of a frame to be detected in the face video data to be detected; acquiring the number of preset characteristic characters of the face characteristic information of a preset frame in the preset face video data; matching the number of the characteristic characters to be detected with the number of the preset characteristic characters to obtain a frame matching result; and obtaining a test result according to the frame matching result.
It should be noted that the video data of the face to be inspected includes a plurality of video frame data, the frame to be inspected refers to all frames of the video data of the face to be inspected, each video frame includes a plurality of face feature information, and the data form of each face feature information is a character; meanwhile, the preset face video data comprises a plurality of video frame data, and the preset frames refer to all frames of the preset face video data. The face characteristic information of each video frame in the face video data to be detected corresponds to different characters of the features to be detected, the number of the characters is different, the face characteristic information of the same organ of different people corresponds to different characters of the features to be detected, the number of the characters is different, meanwhile, the face characteristic information of each video frame in the preset face video data corresponds to different preset features, the number of the characters is different, the face characteristic information of the same organ of different people corresponds to different preset features, and the number of the characters is different.
In the specific application, the number of characteristic characters to be detected corresponding to a plurality of face characteristic information included in each video frame in the face video data to be detected is matched with the number of preset characteristic characters corresponding to a plurality of face characteristic information included in each video frame in the corresponding preset face video data, and a frame matching result is obtained. For example, the face video data to be inspected and the preset face video data both include 60 video frames, when matching, the number of characteristic characters to be inspected corresponding to a plurality of face characteristic information included in the 5 th frame of the face video data to be inspected is matched with the number of preset characteristic characters corresponding to a plurality of face characteristic information included in the 5 th frame of the corresponding preset face video data, wherein the 5 th frame of the face video data to be inspected includes eyes, a nose and a mouth, and at this time, the number of characteristic characters corresponding to the face characteristics of the eyes, the nose and the mouth of the 2 nd frame of the face video data to be inspected and the 2 nd frame of the preset face video data need to be matched respectively to obtain a frame matching result.
The characteristic character may be a binary character.
In another embodiment, the content of the characteristic character to be detected corresponding to the face characteristic information included in each video frame in the face video data to be detected and the content of the preset characteristic character corresponding to the face characteristic information included in each video frame in the preset face video data can be matched to obtain a more accurate matching result, so that the accuracy of the detection result is higher.
In addition, when the number of the characteristic characters to be detected of the face characteristic information of each frame in the face video information to be detected is the same as the number of the preset characteristic characters of the face characteristic information of each frame in the preset face video information, the frame matching result is matching, the corresponding detection result is successful detection of the data to be detected, when one of the number of the characteristic characters to be detected of the face characteristic information of each frame in the face video information to be detected is different from the number of the preset characteristic characters of the face characteristic information of each frame in the preset face video information, the frame matching result is unmatched, and the corresponding detection result is failed detection of the data to be detected.
Step S13: and judging whether the detection result meets a preset condition or not.
Based on the above, the inspection result includes the successful inspection of the data to be inspected or the failed inspection of the data to be inspected; and when the data to be detected is successfully detected, the detection result meets the preset condition, and when the data to be detected is successfully detected, the detection result does not meet the preset condition.
Step S14: and when the inspection result meets the preset condition, backing up the target data information.
It should be noted that, when the smart home device backs up the target data, the backup data may be stored in the local memory, or the backup data may be stored in the network memory, or the backup data may be stored in the memory of the electronic device associated with the smart home device, where the electronic device associated with the smart home device may be a mobile terminal or another smart home device, where the associated electronic device and the smart home device may be connected through the same local area network, and the associated electronic device has better security and is in a state of being capable of performing data communication with the smart home device at any time, so that the smart home device may store the file to be backed up to the memory of the associated electronic device at any time.
Through examining the data to be examined of user, and when examining the data examination success to be examined, backup target data information, so that target data information does not lose back, and simultaneously, when examining the data examination success to be examined, just can backup data information, to the produced data information of the temporary user who uses intelligent household equipment temporarily, because, the data that examines of temporary user can't examine the data examination success, temporary user's data information can not backed up, the storage load of intelligent household equipment storage data information has been reduced, the condition that useless data information is backed up has been avoided taking place.
The technical scheme of the embodiment is that a data backup method is adopted, the data backup method is applied to intelligent household equipment, and data to be detected input aiming at target data information is received; utilizing a preset inspection library to inspect the data to be inspected to obtain an inspection result; judging whether the test result meets a preset condition or not; and when the inspection result meets the preset condition, backing up the target data information. The preset inspection library is used for inspecting the data to be inspected input aiming at the target data information to obtain an inspection result, and the target data information is backed up when the inspection result meets the preset condition, so that the target data information is backed up, and the condition of loss is avoided.
Referring to fig. 3, fig. 3 is a block diagram illustrating a first embodiment of a data backup apparatus according to the present invention; be applied to intelligent household equipment, the device includes:
the receiving module 10 is used for receiving data to be checked sent aiming at the target data information;
the inspection module 20 is configured to inspect the data to be inspected by using a preset inspection library to obtain an inspection result, where the preset inspection library is obtained based on preset inspection data;
the judging module 40 is used for judging whether the test result meets a preset condition;
and the backup module 30 is configured to backup the target data information when the check result meets the preset condition.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A data backup method is characterized by being applied to intelligent household equipment and comprising the following steps:
receiving data to be checked sent aiming at target data information;
utilizing a preset inspection library to inspect the data to be inspected to obtain an inspection result, wherein the preset inspection library is obtained based on preset inspection data;
judging whether the test result meets a preset condition or not;
and when the inspection result meets the preset condition, backing up the target data information.
2. The data backup method according to claim 1, wherein before the step of checking the data to be checked by using a preset check library to obtain a check result, the method further comprises:
acquiring preset inspection data;
and obtaining the preset inspection library based on the preset inspection data.
3. The data backup method according to claim 2, wherein the step of using a preset inspection library to inspect the data to be inspected to obtain an inspection result comprises:
acquiring selected inspection data corresponding to the data to be inspected from the preset inspection library;
and inspecting the data to be inspected by using the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to obtain an inspection result.
4. The data backup method according to claim 3, wherein the data to be checked is fingerprint data to be checked, and the selected check data is preset fingerprint data; the step of utilizing the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to inspect the data to be inspected and obtain an inspection result comprises the following steps:
acquiring the number of the fingerprint characters to be detected corresponding to the fingerprint data to be detected;
acquiring a preset fingerprint character number corresponding to the preset fingerprint data;
calculating the difference between the number of the fingerprint characters to be detected and the preset number of the fingerprint characters to obtain a calculation result;
and obtaining a test result according to the calculation result.
5. The data backup method according to claim 3, wherein the data to be inspected is face image data to be inspected, and the selected inspection data is preset face image data; the step of utilizing the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to inspect the data to be inspected and obtain an inspection result comprises the following steps:
acquiring parity information to be detected of characters corresponding to the face feature information in the face image data to be detected;
acquiring preset parity information of characters corresponding to the face feature information in the preset face image data;
matching the parity information to be checked with the preset parity information to obtain a parity information matching result;
and obtaining a checking result according to the parity information matching result.
6. The data backup method according to claim 3, wherein the data to be inspected is face video data to be inspected, and the selected inspection data is preset face video data; the step of utilizing the selected inspection data and the selected inspection strategy corresponding to the selected inspection data to inspect the data to be inspected and obtain an inspection result comprises the following steps:
acquiring the number of characteristic characters to be detected of the face characteristic information of a frame to be detected in the face video data to be detected;
acquiring the number of preset characteristic characters of the face characteristic information of a preset frame in the preset face video data;
matching the number of the characteristic characters to be detected with the number of the preset characteristic characters to obtain a frame matching result;
and obtaining a test result according to the frame matching result.
7. The data backup method according to any one of claims 1 to 6, wherein the smart home device is an intelligent refrigerator.
8. The utility model provides a data backup device, its characterized in that is applied to intelligent household equipment, the device includes:
the receiving module is used for receiving the data to be checked sent aiming at the target data information;
the inspection module is used for inspecting the data to be inspected by utilizing a preset inspection library to obtain an inspection result, wherein the preset inspection library is obtained based on preset inspection data;
the judging module is used for judging whether the test result meets a preset condition or not;
and the backup module is used for backing up the target data information when the detection result meets the preset condition.
9. The utility model provides an intelligent household equipment, its characterized in that, intelligent household equipment includes: memory, a processor and a data backup program stored on the memory and executable on the processor, the data backup program being configured to implement the steps of the data backup method according to any of claims 1 to 7.
10. A storage medium having stored thereon a data backup program which when executed by a processor implements the steps of the data backup method according to any one of claims 1 to 7.
CN202011160012.2A 2020-10-26 2020-10-26 Data backup method and device, smart home equipment and storage medium Pending CN112422378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011160012.2A CN112422378A (en) 2020-10-26 2020-10-26 Data backup method and device, smart home equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011160012.2A CN112422378A (en) 2020-10-26 2020-10-26 Data backup method and device, smart home equipment and storage medium

Publications (1)

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

Family

ID=74840584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011160012.2A Pending CN112422378A (en) 2020-10-26 2020-10-26 Data backup method and device, smart home equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112422378A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699568A (en) * 2015-02-12 2015-06-10 广东欧珀移动通信有限公司 Data backup method and terminal
CN104866393A (en) * 2015-05-29 2015-08-26 四川长虹电器股份有限公司 Information processing method and first intelligent home control equipment
CN106598775A (en) * 2016-11-10 2017-04-26 惠州Tcl移动通信有限公司 Terminal and automatic data backup method thereof
CN106648972A (en) * 2016-11-14 2017-05-10 广东欧珀移动通信有限公司 Data backup method and mobile terminal
CN108170559A (en) * 2017-12-22 2018-06-15 维沃移动通信有限公司 A kind of data back up method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699568A (en) * 2015-02-12 2015-06-10 广东欧珀移动通信有限公司 Data backup method and terminal
CN104866393A (en) * 2015-05-29 2015-08-26 四川长虹电器股份有限公司 Information processing method and first intelligent home control equipment
CN106598775A (en) * 2016-11-10 2017-04-26 惠州Tcl移动通信有限公司 Terminal and automatic data backup method thereof
CN106648972A (en) * 2016-11-14 2017-05-10 广东欧珀移动通信有限公司 Data backup method and mobile terminal
CN108170559A (en) * 2017-12-22 2018-06-15 维沃移动通信有限公司 A kind of data back up method and terminal

Similar Documents

Publication Publication Date Title
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN112215227B (en) Image target detection model attack method and device, terminal equipment and storage medium
CN109544172B (en) Display method and terminal equipment
US20240005695A1 (en) Fingerprint Recognition Method and Electronic Device
CN112071016A (en) Fire monitoring method, device, equipment and storage medium
CN104777902A (en) Screen state control method
CN112036286A (en) Method for achieving temperature sensing and intelligently analyzing and identifying flame based on yoloV3 algorithm
CN113014830A (en) Video blurring method, device, equipment and storage medium
CN113867758A (en) Unmanned aerial vehicle automatic upgrading method and device, unmanned aerial vehicle, remote control terminal and storage medium
US11200437B2 (en) Method for iris-based living body detection and related products
CN107808081A (en) A kind of based reminding method and relevant device
CN112422378A (en) Data backup method and device, smart home equipment and storage medium
CN113225234B (en) Asset detection method, device, terminal equipment and computer readable storage medium
CN106550423A (en) A kind of access point management method and terminal
CN115543500B (en) Window processing method and electronic equipment
EP4280415A1 (en) Charging control method and apparatus, electronic device, and charger
CN113099300B (en) Program playing method, device, display terminal and storage medium
CN113919852A (en) Product infringement judgment method and device, terminal equipment and storage medium
CN110889102B (en) Image unlocking method and device, computer readable storage medium and terminal
CN107832690A (en) The method and Related product of recognition of face
CN110472520B (en) Identity recognition method and mobile terminal
KR102167646B1 (en) Electronic device and method for providing frame information
CN110866488A (en) Image processing method and device
CN215264809U (en) Integrated identity authentication control circuit and device based on fingerprint information
CN114168962A (en) Vulnerability data obtaining method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210226