CN112019410A - Data importing method and device of intelligent household equipment, server and storage medium - Google Patents

Data importing method and device of intelligent household equipment, server and storage medium Download PDF

Info

Publication number
CN112019410A
CN112019410A CN202010819696.6A CN202010819696A CN112019410A CN 112019410 A CN112019410 A CN 112019410A CN 202010819696 A CN202010819696 A CN 202010819696A CN 112019410 A CN112019410 A CN 112019410A
Authority
CN
China
Prior art keywords
data
smart home
intelligent household
server
home device
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
CN202010819696.6A
Other languages
Chinese (zh)
Other versions
CN112019410B (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 Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202010819696.6A priority Critical patent/CN112019410B/en
Publication of CN112019410A publication Critical patent/CN112019410A/en
Application granted granted Critical
Publication of CN112019410B publication Critical patent/CN112019410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a data importing method, a data importing device, a server and a storage medium of intelligent household equipment, relates to the field of intelligent household, is applied to the server, and comprises the following steps: detecting whether a data import instruction sent by first intelligent household equipment is received, wherein the first intelligent household equipment is used for replacing second intelligent household equipment; if so, determining whether the server stores the configuration information of the second intelligent household equipment; when redundant data does not exist in the configuration data, the configuration data is imported into the first intelligent household equipment. The method can improve the effectiveness of data import to a certain extent by judging whether redundant data exists in the configuration data.

Description

Data importing method and device of intelligent household equipment, server and storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a data importing method and apparatus for smart home devices, a server, and a storage medium.
Background
Along with the progress of science and technology, smart home is also popularized in people's daily life, and more users can all select to use smart home to promote the quality of life of oneself. In order to realize control over the intelligent devices, a plurality of intelligent home devices can be simultaneously equipped in a user home, and how to better manage data on the intelligent home devices is a problem to be solved urgently.
Disclosure of Invention
In view of the above problems, the present application provides a data importing method and apparatus for smart home devices, a server, and a storage medium, so as to improve the above problems.
In a first aspect, an embodiment of the present application provides a data importing method for smart home devices, which is applied to a server, and the method includes: and detecting whether a data import instruction sent by first intelligent household equipment is received or not, wherein the first intelligent household equipment is used for replacing second intelligent household equipment, if so, determining whether the server stores configuration information of the second intelligent household equipment, and importing the configuration data into the first intelligent household equipment when redundant data does not exist in the configuration data.
Further, if the server does not store the configuration information of the second smart home device, it is determined whether the server stores the configuration information of a third smart home device, where the third smart home device is another smart home device except the first smart home device and the second smart home device, if the server stores the configuration information of the third smart home device, the configuration data corresponding to the third smart home device is obtained, and when there is no redundant data in the configuration data, the configuration data corresponding to the third smart home device is imported into the first smart home device.
Further, when the server stores configuration information of a plurality of third smart home devices, searching for a target device from the plurality of third smart home devices includes: and searching for a third intelligent household device with the best communication condition from the plurality of third intelligent household devices, taking the third intelligent household device with the best communication condition as a target device, and acquiring configuration data corresponding to the target device.
Further, when the server stores configuration information of a plurality of third smart home devices, searching for a target device from the plurality of third smart home devices includes: and acquiring the use frequency of each third intelligent household device, taking the third intelligent household device with the highest use frequency as a target device, and acquiring configuration data corresponding to the target device.
Further, when redundant data does not exist in the configuration data, the configuration data is imported into the first smart home device, and the method includes: when redundant data does not exist in the configuration data, detecting whether virus data exists in the configuration data or not; and if the configuration data does not contain virus data, importing the configuration data into the first intelligent household equipment.
Further, when redundant data exists in the configuration data, other data except the redundant data in the configuration data corresponding to the second intelligent home device are imported into the first intelligent home device.
In a second aspect, an embodiment of the present application provides a data importing method for smart home devices, which is applied to a server, and the method includes: and sending a data import instruction to a server so that the server detects whether configuration information of second intelligent household equipment is stored according to the data import instruction, and if the configuration information of the second intelligent household equipment is stored, further enabling the server to detect whether redundant data information exists in the acquired configuration data, and receiving the configuration data corresponding to the second intelligent household equipment sent by the server.
In a third aspect, an embodiment of the present application provides a data importing apparatus for smart home devices, where the data importing apparatus is applied to a server, and the data migrating apparatus includes: the device comprises a detection module, a determination module and an import module. The detection module is used for detecting whether a data import instruction sent by first intelligent household equipment is received or not, and the first intelligent household equipment is used for replacing second intelligent household equipment. And the determining module is used for determining whether the server stores the configuration information of the second intelligent household equipment if the server stores the configuration information of the second intelligent household equipment. And the importing module is used for importing the configuration data into the first intelligent household equipment when the redundant data does not exist in the configuration data.
In a fourth aspect, the present application provides a server, comprising: a memory; one or more processors coupled with the memory; wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of the first aspect.
In a fifth aspect, the present application provides a computer-readable storage medium having program code stored therein, the program code being invoked by a processor to perform the method of the first aspect.
The embodiment of the application provides a data importing method and device of intelligent home equipment, a server and a storage medium, wherein the method is applied to the server, and in the method, when the server receives a data importing instruction sent by first intelligent home equipment, whether configuration information of second intelligent home equipment is stored in the server can be determined, at the moment, the server can judge whether redundant data does not exist in the configuration data, and when the redundant data does not exist in the configuration data, the configuration data corresponding to the second intelligent home equipment is imported into the first intelligent home equipment. According to the data migration method, when the data on the intelligent household equipment are migrated, the server can judge whether redundant data exist in the acquired configuration data, the data migration efficiency can be improved through the detection of the redundant data, and the actual requirements of users are met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a flowchart of a method for importing data of smart home devices according to an embodiment of the present application.
Fig. 2 shows a flowchart of a method for importing data of smart home devices according to another embodiment of the present application.
Fig. 3 shows a flowchart of step S250 in a data importing method of a smart home device according to another embodiment of the present application.
Fig. 4 shows a flowchart of other steps in step S250 of a data importing method of smart home devices according to another embodiment of the present application.
Fig. 5 shows a block diagram of a data importing apparatus of an intelligent home device according to an embodiment of the present application;
fig. 6 shows another block diagram of the data importing apparatus of the smart home device according to the embodiment of the present application;
fig. 7 shows a block diagram of a server for executing a data importing method of smart home devices according to an embodiment of the present application.
Fig. 8 shows a storage unit, according to an embodiment of the present application, for storing or carrying program codes for implementing a data importing method of smart home devices according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
The intelligent home is characterized in that a home is used as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and a multimedia information technology, an efficient management system of home facilities and family schedule affairs is constructed, home safety, convenience, comfortableness and artistry are improved, and an environment-friendly and energy-saving living environment is realized.
Along with the popularization of intelligent house, more and more users begin to install intelligent home equipment in the house, through this intelligent home equipment user can be simple swift more control other intelligent equipment, however behind the intelligent home equipment of having installed in a family, intelligent home equipment trouble phenomenon such as ageing can appear usually, consequently need replace intelligent home equipment, after replacing intelligent home equipment, in order to make things convenient for the user to intelligent home equipment's use, need be with data introduction to on the new intelligent home equipment on the old intelligent home equipment. However, the old smart home devices may generate some junk data during use, the junk data may be stored in the server along with other useful configuration data, and if the junk data is migrated to the first smart home device, the space of the first smart home device may be wasted to some extent, and the use experience of the user may be affected.
In order to solve the above problems, the inventors have long studied and proposed a data importing method, device, server and storage medium for smart home devices in the embodiments of the present application. The method is applied to a server, and when a data import instruction sent by first intelligent household equipment is received, whether configuration information of second intelligent household equipment is stored in the server or not can be determined, at the moment, the server can judge whether redundant data does not exist in the configuration data, and when the redundant data does not exist in the configuration data, the configuration data corresponding to the second intelligent household equipment is imported into the first intelligent household equipment. According to the data migration method, when the data on the intelligent household equipment are migrated, the server can judge whether redundant data exist in the acquired configuration data, the data migration efficiency can be improved through the detection of the redundant data, and the actual requirements of users are met.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a method for importing data of a smart home device according to an embodiment of the present application is shown, where the method is applied to a server, and it can be seen from fig. 1 that the method includes steps S110 to S130.
Step S110: whether a data import instruction sent by first intelligent household equipment is received or not is detected, and the first intelligent household equipment is equipment used for replacing second intelligent household equipment.
In the embodiment of the application, the server may be a cloud server, a database server, a network access server, and the like, the first smart home device may access the server in a wired or wireless connection manner, and after the first smart home device is connected to the server, the first smart home device may download data from the server or upload local data to the server. In addition, the server and the first smart home devices can also be respectively connected with the mobile terminal, when the mobile terminal is connected with the first smart home devices, the mobile terminal can directly control the smart home devices, and the mobile terminal can also control the smart home devices connected with the smart home devices through the smart home devices.
In some embodiments, the server may detect whether a data import instruction sent by the first smart home device is received in real time, where the data import instruction may be a touch instruction input by the first smart home device and may also be a voice instruction input by the first smart home device. Specifically, the first smart home device may include a touch screen, and when receiving a data import instruction input by a user based on the data import control, the first smart home device may upload the received data import instruction to the server in a wired or wireless manner. The server can determine whether the data import instruction is a false trigger instruction after receiving the data import instruction, and if the data import instruction is the false trigger instruction, prompt information of instruction error is sent to the first intelligent home equipment; if the data import instruction is not the false trigger instruction, a successful receiving instruction is sent to the first smart home device, and then whether the server stores the configuration information of the second smart home device is determined, that is, the step S120 is performed.
In other embodiments, the first smart home device may include a voice collecting device, where the voice collecting device may collect specified voice input by a user, and send the collected specified voice to the server in a wired or wireless manner, and after receiving the specified voice, the server may perform voice recognition on the specified voice to obtain a voice recognition result, and determine whether the specified voice includes a data import instruction according to the voice recognition result, where if the specified voice includes the data import instruction, the server may receive the data import instruction sent by the first smart home device. In the embodiment of the application, the server may include a voice recognition module, and when receiving the voice data, the server may recognize the voice data according to actual requirements to obtain a voice recognition result.
In other embodiments, the first smart home device may include an image acquisition device, where the image acquisition device may acquire a gesture image input by a user, and send the acquired gesture image to a server in a wired or wireless manner, and after receiving the gesture image, the server may perform gesture recognition on the gesture image to obtain an image recognition result, and determine whether a gesture of user data is a data import gesture according to the image recognition result, and if the gesture is the data import gesture, it indicates that the server receives a data import instruction sent by the first smart home device. In the embodiment of the application, the server may include an image recognition module, and when receiving gesture image data, the image recognition module may recognize the gesture image according to actual requirements to obtain an image recognition result.
In the embodiment of the application, the first smart home device may also be referred to as a new smart home device, which is mainly used to replace a second smart home device, and the second smart home device may also be referred to as an old smart home device. As a mode, when the second smart home device fails during use or the second smart home device does not meet the requirements of the user, the second smart home device needs to be replaced. In some embodiments, the first smart home device is a new smart home device, and the working performance, working duration, and functions of the first smart home device are better than those of the second smart home device.
It should be noted that the installation positions of the first smart home device and the second smart home device may be the same or different, the usage habit of the user is usually to install the first smart home device and the second smart home device at the same position, the main reason is that the installation position of the second smart home device is more in line with the usage habit of the user, and the installation position of the smart home device is usually fixed, on one hand, the reasonable layout of the smart home devices in the room can be satisfied, on the other hand, the wired or wireless network can be better received by the smart home device. Therefore, in the embodiment of the present application, the installation positions of the first smart home device and the second smart home device are the same or approximately the same.
As a mode, if the server does not receive the data import instruction sent by the first smart home device, the server may detect in real time whether the smart home device connected to the server changes, and if the server detects that the smart home device connected to the server changes, the server may determine which smart home device is replaced, and then send the data update prompt message to the replaced smart home device, and if a confirmation instruction input by the user based on the update prompt message is received, search for another smart home device on the server that matches the smart home device.
Step S120: and determining whether the server stores the configuration information of the second intelligent household equipment.
In the embodiment of the application, if the server receives a data import instruction sent by the first smart home device, whether the server stores the configuration information of the second smart home device is determined, and if the server stores the configuration information of the second smart home device, the configuration data corresponding to the second smart home device is obtained.
In a specific embodiment, when receiving a data import instruction sent by a first smart home device, a server may first obtain an installation location of the first smart home device, determine whether another smart home device that is the same as the installation location exists on the server according to the installation location, and if another smart home device that is the same as the installation location of the first smart home device exists on the server, use the smart home device as a second smart home device, that is, determine that a second smart home device that is matched with the first smart home device is stored on the server.
In the embodiment of the application, after the server acquires the installation position of the first smart home device, the installation position can be searched and compared with the installation positions of other smart home devices stored in the server, and the smart home devices with the same or approximately the same installation positions are used as the second smart home devices. According to the method and the system, whether the second intelligent household equipment matched with the first intelligent household equipment is stored in the server or not can be determined by comparing the positions of the intelligent household equipment on the indoor plane graph of the room, and if the intelligent household equipment with the same or similar installation position as the first intelligent household equipment exists in the server, the intelligent household equipment is used as the second intelligent household equipment. If the intelligent home devices with the same or approximately the same installation positions as the first intelligent home devices are not stored in the server, it indicates that the configuration information of the second intelligent home devices matched with the first intelligent home devices is not stored in the server.
As one mode, when it is determined that the server stores the configuration information of the second smart home device that matches the first smart home device, the server may obtain the configuration data corresponding to the second smart home device. When it is determined that the server does not store the configuration information of the second smart home device matched with the first smart home device, whether the server stores the configuration information of the third smart home device or not can be determined; or the server may also send a prompt message to the first smart home device to instruct the user to manually generate the configuration data corresponding to the first smart home device; or the server may detect whether a data import instruction sent by the first smart home device is received again, or directly end the data migration operation.
In the embodiment of the application, the panel information of the smart home devices may be the identification of the smart home devices, or may be the models of the devices, and the like, and is mainly used for representing the "identity" of the smart home devices, that is, the panel information of the smart home devices may be called as the identity information of the devices, and the smart home devices may be controlled and managed more conveniently and quickly by the identity information server.
Step S130: when redundant data do not exist in the configuration data, the configuration data are imported into the first intelligent household equipment.
In some embodiments, it is determined that the server stores configuration information of a second smart home device that matches the first smart home device, and configuration data corresponding to the second smart home device is obtained. In this embodiment of the application, the configuration data corresponding to the second smart home device may be data generated by the second smart home device working before the second smart home device is replaced and after the second smart home device is connected to the server via a wired or wireless network, and the configuration data may include application data downloaded by the user and other data generated by the application data, in addition to the setting data input by the user. In addition, the configuration data corresponding to the second smart home device may further include control data and device parameters of a plurality of smart home devices connected thereto.
As a way, after acquiring configuration data corresponding to the second smart home device, the server may determine whether the configuration data includes redundant data, where the redundant data refers to data that does not affect normal operation of the second smart home device, and the redundant data may also be referred to as garbage data, and if the redundant data and other data in the configuration data are imported together to the first smart home device, the redundant data and other data in the configuration data may cause waste of a storage space of the first smart home device to a certain extent, and reduce user experience.
In the embodiment of the application, the redundant data may include an image thumbnail, an application installation package, or repeated data, so that the server may determine whether the repeated data, the image thumbnail, and the application installation package exist in the configuration data after acquiring the configuration data of the second smart home device, and if so, delete the data as the redundant data, and send the remaining configuration data after deletion to the first smart home device. And if the configuration data does not contain redundant data, importing the configuration data corresponding to the second intelligent household equipment into the first intelligent household equipment.
In other embodiments, after the server obtains the configuration data corresponding to the second smart home device, the server may obtain a first device parameter in the configuration data of the first smart home device and a second device parameter in the second smart home device, match the first device parameter with the second device parameter, and determine whether redundant data exists in the configuration data if the first device parameter is matched with the second device parameter. If the first equipment parameter is not matched with the second equipment parameter, prompt information is sent to prompt a user whether the equipment parameters of the first intelligent household equipment and the second intelligent household equipment are not matched to continuously import the configuration data to the first intelligent household equipment, and the server can import the acquired configuration data of the second intelligent household equipment to the first intelligent household equipment only after receiving an agreement instruction input by the user.
In this embodiment, the device parameters of the smart home device may include a manufacturer, a model, a date of delivery, a function introduction, and the like of the smart home device, and the server determines whether the first device parameter and the second device parameter are matched, specifically, whether the first manufacturer in the first device parameter is the same as the second manufacturer in the second device parameter is determined; or whether the first equipment model in the first equipment parameters is matched with the second equipment model in the second equipment parameters can be judged, and if so, the equipment parameters of the first intelligent household equipment are determined to be matched with the equipment parameters of the second intelligent household equipment. According to the method and the device, the matching of the device parameters of the first intelligent household device and the device parameters of the second intelligent household device can be determined under the condition that the manufacturer and the device model are matched.
In other embodiments, when it is determined that the first smart home device and the second smart home belong to the same manufacturer, the method and the system can also respectively obtain the production dates of the first smart home device and the second smart home device, determine whether the production dates of the first smart home device and the second smart home device meet a preset condition, and determine that the device parameter of the first smart home device matches the device parameter of the second smart home device if the preset condition is met. The preset condition may be whether the difference between the first production date of the first smart home device and the production date of the second smart home device is less than a threshold number of days, and if so, it indicates that the production dates of the first smart home device and the second smart home device meet the preset condition. The preset condition may also be whether a first production date of the first smart home device and a second production date of the second smart home device are both within a preset time period, and if so, the first smart home device and the second smart home device meet the preset condition, where the preset time period is a time period before the current time. For example, the manufacturer a produces the second smart home device in number 1 month 30 in 2018, and at the same time, the manufacturer a produces the first smart home device in number 2 month 30 in 2019, the number of days threshold is one and a half years, and obviously, the device parameter of the first smart home device is matched with the device parameter of the second smart home device at this time. For another example, a manufacturer B produces the second smart home device in 2019, and a manufacturer B produces the first smart home device in 2020, where the current time is 2020, and the preset time period is one year from 2019 to 2020, obviously, the device parameter of the first smart home device matches the device parameter of the second smart home device at this time.
In this embodiment, when redundant data exists in the configuration data of the second smart home device, the server may import other data except the redundant data in the configuration data corresponding to the second smart home device to the first smart home device. As a mode, when importing other data except the redundant data in the configuration data corresponding to the second smart home device to the first smart home device, the server may also determine whether the other data except the redundant data includes virus data, and if the other data includes virus data, the virus data in the other data may be removed, and then data import operation is performed.
As another mode, if other data in the configuration data includes virus data, the server may also send a virus prompt message to the first smart home device, and notify the user that the data to be imported includes virus data through the virus prompt message, and whether to continue importing the data from the server. If the user inputs the 'consent' confirmation information through the first intelligent household equipment, the server imports the residual configuration data except the virus data into the first intelligent household equipment; if the user inputs the rejection information of 'disagreement' through the first intelligent household equipment, the server can send data input prompt information to the first intelligent household equipment so as to remind the user to download applications or set data and the like according to the requirements of the user. Meanwhile, data generated by the operation of the first intelligent household equipment by the user can be uploaded to the server in a wired or wireless mode.
As another mode, after the server obtains the configuration data of the second smart home device, it may first determine whether redundant data exists in the configuration data, and then determine whether virus data exists in the configuration data; or judging whether virus data exists in the configuration data or not, and then judging whether redundant data exists in the configuration data or not; or simultaneously judging whether redundant data and virus data exist in the configuration data corresponding to the second intelligent household equipment, if both redundant data and virus data exist, removing the redundant data and the virus data, and then importing the remaining data to the first intelligent household equipment. Specifically, which data is determined first and then which data is determined is not explicitly displayed here, and may be selected according to actual conditions.
In the data importing method of the smart home device provided in this embodiment, when the server receives a data importing instruction sent by the first smart home device, the server may determine whether the server stores configuration information of the second smart home device that matches the first smart home device, at this time, the server may determine whether redundant data does not exist in the configuration data, and when the redundant data does not exist in the configuration data, import the configuration data corresponding to the second smart home device to the first smart home device. According to the data migration method, when the data on the intelligent home equipment are migrated, the server can judge whether redundant data exist in the configuration data of the second intelligent home equipment acquired by the server, the efficiency of data migration can be improved through detection of the redundant data, and actual requirements of users are met better. In addition, when the configuration information of the second intelligent household equipment is stored in the server, whether the equipment parameters of the first intelligent household equipment are matched with the equipment parameters of the second intelligent household equipment can be judged, if yes, the configuration data of the second intelligent household equipment are imported to the first intelligent household equipment, the accuracy of data migration can be guaranteed to a certain extent, and the safety of the first intelligent household equipment can be protected by not migrating virus data in the configuration data.
Referring to fig. 2, a flowchart of a method for importing data into smart home devices according to another embodiment of the present application is shown, where the method is applied to a server, and it can be seen from fig. 2 that the method includes steps S210 to S270.
Step S210: whether a data import instruction sent by the first intelligent household equipment is received or not is detected.
Step S220: and determining whether the server stores the configuration information of the second intelligent household equipment.
Step S230: when the redundant data does not exist in the configuration data, the configuration data corresponding to the second intelligent household equipment is imported into the first intelligent household equipment.
In the embodiment of the application, if the server stores the configuration information of the second smart home device matched with the first smart home device, whether redundant data exists in the configuration data corresponding to the second smart home device is judged, and if the redundant data does not exist in the configuration data corresponding to the second smart home device, the configuration data corresponding to the second smart home device is imported into the first smart home device.
In other embodiments, if the server does not store the configuration information of the second smart home device matched with the first smart home device, it is determined whether the server stores the configuration information of the third smart home device, that is, step S240 is performed.
Step S240: and determining whether the server stores the configuration information of the third intelligent household equipment.
In this embodiment of the application, the third smart home device is another smart home device except the first smart home device and the second smart home device. In addition, the installation position of the third intelligent household equipment is different from the installation positions of the first intelligent household equipment and the second intelligent household equipment. According to the introduction, the first smart home device is a new smart home device, the second smart home device is an old smart home device, and the first smart home device is used for replacing the second smart home device, so that the first smart home device and the second smart home device cannot be installed in a room at the same time. However, if the smart home device is not installed before at the installation position of the first smart home device, the second smart home device does not exist, and at this time, in order to better implement data migration, it may be determined whether the server stores the configuration information of the third smart home device.
In the embodiment of the application, the third smart home device is similar to the second smart home device, and before the first smart home device and the server are connected to the network, the third smart home device has been connected to the server for a certain length of time, that is, the installation time of the third smart home device is earlier than that of the first smart home device, the third smart home device is different from the second smart home device in that the second smart home device has been replaced by the first smart home device and is not working, that is, the third smart home control is not replaced by the first smart home device, the third smart home device and the first smart home device are installed at different positions of the same house at the same time, and the smart home device connected to the third smart home device is different from the smart home device connected to the first smart home device.
In the embodiment of the present application, if the server stores the configuration information of the third smart home device, acquiring the configuration data corresponding to the third smart home device, that is, entering step S260; if the server does not store the configuration information of the third smart home device, outputting data input prompt information, namely, entering step S280.
Step S250: and acquiring configuration data corresponding to the third intelligent household equipment.
As a manner, if configuration information of a third smart home device is stored in the server, the configuration data corresponding to the third smart home device is obtained, and then the server may determine whether redundant data exists in the configuration data corresponding to the third smart home device, and if there is no redundant data in the configuration data corresponding to the third smart home device, the configuration data corresponding to the third smart home device is imported to the first smart home device, that is, step S260 is performed. However, in this process, if it is detected that the server stores the configuration information of the plurality of third smart home devices, one of the plurality of third smart home devices needs to be selected as the target smart home device, which may specifically refer to the following description.
Referring to fig. 3, step S250 may include steps S251 to S252.
Step S251: when the server stores the configuration information of the plurality of third intelligent household devices, the third intelligent household device with the best communication condition is searched from the plurality of third intelligent household devices.
In some embodiments, when it is determined that the server does not store the configuration information of the second smart home device matched with the first smart home device, the configuration information of the third smart home device stored in the server may be searched, and the searched configuration information of the third smart home device is counted to obtain a third device statistical result. And finally, the server can determine whether a plurality of third intelligent household devices are stored on the server according to the statistical result of the third devices, and if the plurality of third intelligent household devices are stored on the server, the server searches for the target device from the plurality of third intelligent household devices and obtains the configuration data corresponding to the target device.
In the embodiment of the application, if the server stores configuration information of a plurality of third smart home devices, it indicates that a plurality of different third smart home devices may be installed at different locations in a house, except for the first smart home device, and the third smart home devices are installed at different locations in the same house, and device parameters of the third smart home devices may be the same or different. Meanwhile, the functions of the plurality of third smart home devices installed at different positions and the smart home devices connected thereto may be different.
In some embodiments, when it is determined that the server stores the configuration information of the plurality of third smart home devices at the same time, the server may obtain the communication status between each third smart home device and the first smart home device. Specifically, the server may instruct the first smart home device to detect a communication status between the first smart home device and the third smart home device by using the communication status sensor configured in the first smart home device, and send a plurality of detected communication statuses to the server, and the server may select the third smart home device with the best communication status from the third smart home device as the target device by comparing the communication statuses.
Step S252: and taking the third intelligent household equipment with the best communication condition as target equipment, and acquiring configuration data corresponding to the target equipment.
In summary, the server may search for a third smart home device with the best communication status from the plurality of third smart home devices, and use the third smart home device searched for as the target device. As an example, three smart home devices, namely a first smart home device a, a third smart home device B, and a third smart home device C, are installed in a room, and communication conditions between the smart home devices are respectively obtained, and a communication condition between the first smart home device a and the third smart home device B is obtained as AB, a communication condition between the first smart home device a and the third smart home device C is obtained as AC, and AC < AB is found by comparison, and at this time, the third smart home device can be used as a target device.
Referring to fig. 4, the obtaining of the configuration data corresponding to the third smart home device may further include steps S253 to S254.
Step S253: when the server stores configuration information of a plurality of third intelligent household devices, the use frequency of each third intelligent household device is obtained.
In the embodiment of the application, the higher the use frequency of the smart home devices by the user is, the more important the smart home devices are to the user, and meanwhile, the higher the use frequency of the smart home devices by the user is, the more configuration data sent to the server by the user through the smart home devices is indicated, so that when the server does not store the configuration information of the second smart home devices and stores the configuration information of a plurality of third smart home devices, the third smart home devices with the highest use frequency can be used as target devices.
Step S254: and taking the third intelligent household equipment with the highest use frequency as target equipment, and acquiring configuration data corresponding to the target equipment.
In some embodiments, the server may also obtain the use frequency of each third smart home device, and use the third smart home device with the highest use frequency as the target device. The target device can be selected from the plurality of third smart home devices by combining at least one of the three modes.
Step S260: when the redundant data does not exist in the configuration data, the configuration data corresponding to the third intelligent household equipment is imported into the first intelligent household equipment.
In the embodiment of the application, when the server acquires the configuration data corresponding to the third smart home device, the server may determine whether redundant data exists in the configuration data corresponding to the third smart home device, and if the redundant data does not exist, the configuration data corresponding to the third smart home device is imported to the first smart home device. Meanwhile, the server may also determine whether virus data exists in the configuration data corresponding to the third smart home device, and if a virus exists, import other data except the redundant data and the virus data in the configuration data corresponding to the third smart home device into the first smart home device.
Step S270: and outputting prompt information.
In some embodiments, if the server does not store the configuration information of the third smart home device, a data input prompt message is output, and the data input prompt message server may notify the user that the server does not store the data required by the user and ask the user to manually input the configuration data. In addition, when it is determined that the server does not store the configuration information of the third smart home device, the server may also detect whether the configuration information of a fourth smart home device is stored, where the fourth smart home device and the first smart home device are not installed in the same house, that is, the fourth smart home device may be a smart home device used by another user.
According to the data importing method of the smart home device, when data on the smart home device are migrated, the server can judge whether redundant data exist in the acquired configuration data, and the data migration efficiency can be improved by detecting the redundant data. In addition, when the server is determined to store the third intelligent household devices, the data on the intelligent household devices are determined to be imported into the first intelligent household device by comparing communication conditions among the intelligent household devices, so that the configuration of the newly installed intelligent household devices can be simplified to a certain extent, and the accuracy and the effectiveness of data import can be improved.
The application provides a configuration data importing method of intelligent household equipment, which is characterized in that the method is applied to first intelligent household equipment and comprises the following steps: and sending a data import instruction to a server so that the server detects whether configuration information of second intelligent household equipment is stored according to the data import instruction, and if the configuration information of the second intelligent household equipment is stored, further enabling the server to detect whether redundant data information exists in the acquired configuration data, and receiving the configuration data corresponding to the second intelligent household equipment sent by the server.
Referring to fig. 5, a block diagram of a data import structure of an intelligent home device according to an embodiment of the present application is applied to a server, where the apparatus 300 includes: a detection module 310, a determination module 320, and an import module 330.
The detection module 310 is configured to detect whether a data import instruction sent by a first smart home device is received, where the first smart home device is a device used to replace a second smart home device.
The determining module 320 is configured to determine whether the server stores the configuration information of the second smart home device if the server stores the configuration information of the second smart home device.
The importing module 330 is configured to import the configuration data to the first smart home device when redundant data does not exist in the configuration data.
As a mode, the importing module 330 is further configured to detect whether virus data exists in the configuration data when redundant data does not exist in the configuration data, and if the virus data does not exist in the configuration data, import the configuration data to the first smart home device.
Referring to fig. 6, the apparatus 300 may further include a second determining module 340, a second obtaining module 350, and a second importing module 360.
A second determining module 340, configured to determine whether configuration information of a third smart home device is stored on the server if the server does not store the configuration information of the second smart home device, where the third smart home device is another smart home device except the first smart home device and the second smart home device.
A second obtaining module 350, configured to obtain configuration data corresponding to a third smart home device if the server stores configuration information of the third smart home device.
As a manner, the second obtaining module 350 is further configured to, when the server stores configuration information of a plurality of third smart home devices, search for a third smart home device with the best communication status from the plurality of third smart home devices, use the third smart home device with the best communication status as a target device, and obtain configuration data corresponding to the target device.
As a mode, the second obtaining module 350 is further configured to, when the server stores configuration information of a plurality of third smart home devices, obtain a usage frequency of each of the third smart home devices, use a third smart home device with a highest usage frequency as a target device, and obtain configuration data corresponding to the target device.
And a second import module 360, configured to import the configuration data corresponding to the third smart home device to the first smart home device when there is no redundant data in the configuration data.
Further, the apparatus 300 may be further configured to, when there is redundant data in the configuration data, import other data in the configuration data except the redundant data into the first smart home device.
It should be noted that, in the present application, the embodiment of the smart home device corresponds to the embodiment of the foregoing method, and specific principles in the embodiment of the smart home device may refer to the contents in the foregoing method embodiment, which is not described herein again.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling. In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
To sum up, the embodiment of the present application provides a data importing method, an apparatus, a server and a storage medium for smart home devices, where the method includes determining, by the server, whether configuration information of a second smart home device matched with a first smart home device is stored in the server when the server receives a data importing instruction sent by the first smart home device, and at this time, the server may determine whether redundant data does not exist in the configuration data, and when the redundant data does not exist in the configuration data, importing the configuration data corresponding to the second smart home device into the first smart home device. According to the data migration method, when the data on the intelligent household equipment are migrated, the server can judge whether redundant data exist in the acquired configuration data, the data migration efficiency can be improved through the detection of the redundant data, and the actual requirements of users are met.
A server provided by the present application will be described below with reference to fig. 7.
Referring to fig. 7, based on the data importing method, apparatus, server and storage medium of the smart home device, an embodiment of the present application further provides another server 700 capable of executing the data importing method of the smart home device. The server 700 includes one or more processors 710 (only one shown) and a memory 720 coupled to each other. The memory 720 stores programs that can execute the contents of the foregoing embodiments, and the processor 710 can execute the programs stored in the memory 720, and the memory 720 includes the devices described in the foregoing embodiments.
Processor 710 may include one or more processing cores, among other things. Processor 710, utilizing various interfaces and connections throughout server 700, performs various functions of server 700 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in memory 720 and invoking data stored in memory 720. Alternatively, the processor 710 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 710 may integrate one or more of a Central Processing Unit (CPU), a video Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 710, but may be implemented by a communication chip.
The Memory 720 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 720 may be used to store instructions, programs, code sets, or instruction sets. The memory 720 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, a video image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created by server 700 during use (e.g., phone book, audio-video data, chat log data), etc.
It will be understood by those skilled in the art that the structure shown in fig. 7 is only an illustration, and is not intended to limit the structure of the server. For example, server 700 may also include more or fewer components than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
Referring to fig. 8, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A data importing method of intelligent household equipment is applied to a server, and the method comprises the following steps:
detecting whether a data import instruction sent by first intelligent household equipment is received, wherein the first intelligent household equipment is used for replacing second intelligent household equipment;
if so, determining whether the server stores the configuration information of the second intelligent household equipment;
when redundant data does not exist in the configuration data, the configuration data is imported into the first intelligent household equipment.
2. The method of claim 1, further comprising:
if the server does not store the configuration information of the second intelligent household equipment, determining whether the server stores the configuration information of third intelligent household equipment, wherein the third intelligent household equipment is other intelligent household equipment except the first intelligent household equipment and the second intelligent household equipment;
if the server stores the configuration information of the third intelligent household equipment, acquiring the configuration data corresponding to the third intelligent household equipment;
when redundant data does not exist in the configuration data of the third intelligent household equipment, the configuration data corresponding to the third intelligent household control panel is imported into the first intelligent household equipment.
3. The method according to claim 2, wherein if the server stores configuration information of a third smart home device, acquiring configuration data corresponding to the third smart home device includes:
when configuration information of a plurality of third intelligent household devices is stored in the server, searching for the third intelligent household device with the best communication condition from the plurality of third intelligent household devices;
and taking the third intelligent household equipment with the best communication condition as target equipment, and acquiring configuration data corresponding to the target equipment.
4. The method according to claim 2, wherein if the server stores configuration information of a third smart home device, acquiring configuration data corresponding to the third smart home device includes:
when configuration information of a plurality of third intelligent household devices is stored in the server, the use frequency of each third intelligent household device is obtained;
and taking the third intelligent household equipment with the highest use frequency as target equipment, and acquiring configuration data corresponding to the target equipment.
5. The method according to claim 1, wherein when the configuration data does not have redundant data, importing the configuration data to the first smart home device includes:
when redundant data does not exist in the configuration data, detecting whether virus data exists in the configuration data or not;
and if the configuration data does not contain virus data, importing the configuration data into first intelligent household equipment.
6. The method of claim 1, further comprising:
when redundant data exists in the configuration data, importing other data except the redundant data in the configuration data corresponding to the second intelligent home device into the first intelligent home device.
7. A data importing method of intelligent household equipment is applied to first intelligent household equipment, and the method comprises the following steps:
sending a data import instruction to a server so that the server detects whether configuration information of second intelligent household equipment is stored or not according to the data import instruction;
if the configuration data is stored, the server further detects whether redundant data information exists in the acquired configuration data;
and receiving configuration data corresponding to the second intelligent household equipment sent by the server.
8. The utility model provides a data import device of intelligent household equipment which characterized in that is applied to the server, the device includes:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether a data import instruction sent by first intelligent household equipment is received or not, and the first intelligent household equipment is used for replacing second intelligent household equipment;
the determining module is used for determining whether the server stores the configuration information of the second smart home device if the server stores the configuration information of the second smart home device;
and the importing module is used for importing the configuration data into the first intelligent household equipment when redundant data does not exist in the configuration data.
9. A server, comprising:
a memory;
one or more processors coupled with the memory;
one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 7.
CN202010819696.6A 2020-08-14 2020-08-14 Data importing method and device of intelligent household equipment, server and storage medium Active CN112019410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010819696.6A CN112019410B (en) 2020-08-14 2020-08-14 Data importing method and device of intelligent household equipment, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010819696.6A CN112019410B (en) 2020-08-14 2020-08-14 Data importing method and device of intelligent household equipment, server and storage medium

Publications (2)

Publication Number Publication Date
CN112019410A true CN112019410A (en) 2020-12-01
CN112019410B CN112019410B (en) 2022-08-26

Family

ID=73504533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010819696.6A Active CN112019410B (en) 2020-08-14 2020-08-14 Data importing method and device of intelligent household equipment, server and storage medium

Country Status (1)

Country Link
CN (1) CN112019410B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506705A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Distributed storage configuration information backup method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294793A (en) * 2017-07-26 2017-10-24 北京小米移动软件有限公司 Replacement method, device, equipment and the storage medium of intelligent home device
CN107612792A (en) * 2017-08-14 2018-01-19 苏州众天力信息科技有限公司 A kind of intelligent home device gateway data information quick replacement method
CN109991860A (en) * 2017-12-30 2019-07-09 成都标制文化创意有限公司 A kind of method and device by scanning the two-dimensional code replacement smart home device
CN110083069A (en) * 2019-04-16 2019-08-02 佛山职业技术学院 A kind of long-range control cut-in method and system of smart home
CN110401583A (en) * 2019-06-21 2019-11-01 深圳绿米联创科技有限公司 Method, apparatus, system, mobile terminal and the storage medium of equipment replacement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294793A (en) * 2017-07-26 2017-10-24 北京小米移动软件有限公司 Replacement method, device, equipment and the storage medium of intelligent home device
CN107612792A (en) * 2017-08-14 2018-01-19 苏州众天力信息科技有限公司 A kind of intelligent home device gateway data information quick replacement method
CN109991860A (en) * 2017-12-30 2019-07-09 成都标制文化创意有限公司 A kind of method and device by scanning the two-dimensional code replacement smart home device
CN110083069A (en) * 2019-04-16 2019-08-02 佛山职业技术学院 A kind of long-range control cut-in method and system of smart home
CN110401583A (en) * 2019-06-21 2019-11-01 深圳绿米联创科技有限公司 Method, apparatus, system, mobile terminal and the storage medium of equipment replacement

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506705A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Distributed storage configuration information backup method and device

Also Published As

Publication number Publication date
CN112019410B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN111638651A (en) Intelligent household control panel, setting method thereof, server and storage medium
CN108491147A (en) A kind of man-machine interaction method and mobile terminal based on virtual portrait
CN106302996B (en) Message display method and device
CN110018858B (en) Application management method and device based on voice control
CN112311612B (en) Information construction method and device and storage medium
CN102929980B (en) Folder cleaning method and device
CN109240991B (en) File recommendation method and device, storage medium and intelligent terminal
CN108475277B (en) Identification method and terminal for uncommon data
CN103024169A (en) Method and device for starting communication terminal application program through voice
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN112331213A (en) Intelligent household equipment control method and device, electronic equipment and storage medium
CN103500195A (en) Updating method, device, system and equipment for classifier
CN111614529B (en) Intelligent household control panel, network management method thereof and electronic equipment
CN113498594A (en) Control method and device of intelligent household system, electronic equipment and storage medium
CN112019410B (en) Data importing method and device of intelligent household equipment, server and storage medium
CN110324216A (en) Automatic configuration method, apparatus, system, server and storage medium
CN112949172A (en) Data processing method and device, machine readable medium and equipment
CN112908321A (en) Device control method, device, storage medium, and electronic apparatus
WO2020252751A1 (en) Resource pushing method, device, server, and storage medium
CN108833662B (en) Weather reminding method and device, storage medium and terminal
CN108234758B (en) Application display method and device, storage medium and electronic equipment
CN108121720A (en) A kind of resource recommendation method and device
CN112068947A (en) Application program entering method and device, terminal equipment and computer readable medium
WO2020132991A1 (en) Application pushing method, device, mobile terminal and storage medium
CN107291543B (en) Application processing method and device, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant