CN109587018B - Equipment configuration method, device, network system and mobile terminal - Google Patents

Equipment configuration method, device, network system and mobile terminal Download PDF

Info

Publication number
CN109587018B
CN109587018B CN201811489135.3A CN201811489135A CN109587018B CN 109587018 B CN109587018 B CN 109587018B CN 201811489135 A CN201811489135 A CN 201811489135A CN 109587018 B CN109587018 B CN 109587018B
Authority
CN
China
Prior art keywords
sub
equipment
configuration information
mobile terminal
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811489135.3A
Other languages
Chinese (zh)
Other versions
CN109587018A (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.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United 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 Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN201811489135.3A priority Critical patent/CN109587018B/en
Publication of CN109587018A publication Critical patent/CN109587018A/en
Application granted granted Critical
Publication of CN109587018B publication Critical patent/CN109587018B/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
    • 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/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a device configuration method, a device, a network system and a mobile terminal. The method comprises the following steps: the mobile terminal acquires target equipment matched with the sub-equipment; the mobile terminal sends a configuration information acquisition request of target equipment to the server; the server receives and returns the configuration information of the target equipment corresponding to the configuration information acquisition request; the mobile terminal receives configuration information of the target equipment returned by the server, and configures the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment; the mobile terminal sends the new configuration information of the sub-equipment to the server; and the server stores the configuration information of the sub-equipment obtained after the configuration returned by the mobile terminal. The method can realize the quick transplantation of the data information of the old or fault equipment to other equipment, thereby enabling the equipment added into the system to copy the functions of the existing equipment by one key, completing the configuration of the equipment and improving the user experience.

Description

Equipment configuration method, device, network system and mobile terminal
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a method, an apparatus, a network system, a mobile terminal, a server, and a storage medium for device configuration.
Background
The smart home system may include various devices, such as a smart meter, a wireless switch, a camera, and the like. When a certain device in the smart home system breaks down or needs to be replaced due to upgrading requirements, or automation of the device or rapid configuration of scenes needs to be carried out by a user according to memory, so that a large amount of time and energy are wasted, the problem of configuration errors also occurs, and user experience is poor.
Disclosure of Invention
In view of the foregoing, the present application provides a method, an apparatus, a network system, a mobile terminal, a server, and a storage medium for configuring a device, so as to improve the foregoing problems.
In a first aspect, the present application provides a method for device configuration, the method comprising: the mobile terminal acquires target equipment matched with the sub-equipment; the mobile terminal sends a configuration information acquisition request of the target equipment to the server; the mobile terminal receives configuration information of the target equipment returned by the server; the mobile terminal configures the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment; and the mobile terminal sends the new configuration information of the sub-equipment to the server.
In a second aspect, the present application provides a method of device configuration, the method comprising: the server receives a configuration information acquisition request of target equipment sent by the mobile terminal; the server returns the configuration information of the target equipment corresponding to the configuration information acquisition request, instructs the mobile terminal to configure the configuration information of the target equipment to the sub-equipment and returns the configuration information; and the server stores the new configuration information of the sub-equipment obtained after the configuration returned by the mobile terminal.
In a third aspect, the present application provides a method for device configuration, where the method includes: the mobile terminal acquires target equipment matched with the sub-equipment; the mobile terminal sends a configuration information acquisition request of the target equipment to the server; the server receives a configuration information acquisition request of the target equipment sent by the mobile terminal and returns the configuration information of the target equipment corresponding to the configuration information acquisition request; the mobile terminal receives the configuration information of the target equipment returned by the server, and configures the configuration information of the target equipment to the sub-equipment to obtain the configuration information of the sub-equipment; the mobile terminal sends the configuration information of the sub-equipment to the server; and the server stores the new configuration information of the sub-equipment obtained after the configuration returned by the mobile terminal.
In a fourth aspect, the present application provides a method for device configuration, the method including: acquiring target equipment matched with the sub-equipment; configuring the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment; and storing the new configuration information of the sub-equipment.
In a fifth aspect, the present application provides an apparatus configured to operate in a mobile terminal, the apparatus including: the target equipment acquisition module is used for acquiring target equipment matched with the sub-equipment; the request sending module is used for sending a configuration information acquisition request of the target equipment to the server; the configuration information receiving module is used for receiving the configuration information of the target equipment returned by the server; the information configuration module is used for configuring the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment; and the configuration information sending module is used for sending the new configuration information of the sub-equipment to the server.
In a sixth aspect, the present application provides an apparatus for device configuration, running on a server, the apparatus comprising: the request receiving module is used for receiving a configuration information acquisition request of the target equipment sent by the mobile terminal; the configuration information returning module is used for returning the configuration information of the target equipment corresponding to the configuration information acquisition request, indicating the mobile terminal to configure the configuration information of the target equipment to the sub-equipment and returning the configuration information; and the configuration information storage module is used for storing the new configuration information of the sub-equipment, which is obtained after the configuration returned by the mobile terminal.
In a seventh aspect, the present application provides a network system, where the network system includes a mobile terminal, a gateway, and a server: the mobile terminal acquires target equipment matched with the sub-equipment; the mobile terminal is also used for sending a configuration information acquisition request of the target equipment to the server; the server is used for receiving a configuration information acquisition request of the target equipment sent by the mobile terminal and returning the configuration information of the target equipment corresponding to the configuration information acquisition request; the mobile terminal is further used for receiving the configuration information of the target equipment returned by the server, and configuring the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment; the mobile terminal is also used for sending the new configuration information of the sub-equipment to the server; the server is also used for storing new configuration information of the sub-equipment, which is obtained after the configuration returned by the mobile terminal.
In an eighth aspect, the present application provides a mobile terminal comprising one or more processors and a memory; 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 device configuration of the first aspect described above.
In a ninth aspect, the present application provides a server comprising one or more processing units and a storage unit; one or more programs are stored in the storage unit and configured to be executed by the one or more processing units, the one or more programs configured to perform the method of the apparatus configuration of the second aspect described above.
In a tenth aspect, the present application provides a computer-readable storage medium having program code stored therein, wherein the method of device configuration described above is performed when the program code is executed by a processor.
According to the device configuration method, device, network system, mobile terminal server and storage medium, the mobile terminal acquires the target device matched with the sub-device, the mobile terminal sends the configuration information acquisition request of the target device to the server, the mobile terminal configures the configuration information of the target device to the sub-device after receiving the configuration information of the target device returned by the server, new configuration information of the sub-device is further obtained, and then the mobile terminal sends the new configuration information of the sub-device to the server, so that the server stores the new configuration information of the sub-device. The method and the device realize that the data information of the fault equipment or the old equipment is quickly transplanted to the new equipment, so that the sub-equipment newly added into the system can quickly copy the functions of the existing equipment, the configuration of the newly added sub-equipment is completed, simultaneously, the operation steps of a user are reduced, and the user experience is improved. When a certain device in the intelligent home system breaks down or needs to be replaced due to upgrading and the like, or the device is automatically configured or scenes are rapidly configured, the method can be more rapid and efficient.
In order to make the aforementioned and other objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 is a schematic diagram illustrating a network system according to an embodiment of the present application;
FIG. 2 illustrates a timing diagram of a method of device configuration provided by an embodiment of the present application;
FIG. 3 shows a flowchart of one embodiment of step S110 in FIG. 2;
FIG. 4 shows a flowchart of another embodiment of step S110 in FIG. 2;
FIG. 5 illustrates a flow diagram of a method for device configuration provided by another embodiment;
FIG. 6 illustrates a flow chart of a method of device configuration provided by yet another embodiment of the present application;
fig. 7 shows a flowchart of steps following step S330 in fig. 6;
fig. 8 shows a flowchart of steps following step S350 of fig. 6;
FIG. 9 illustrates a flow chart of a method for device configuration provided by yet another embodiment of the present application;
FIG. 10 is a block diagram illustrating an apparatus of a device configuration provided by an embodiment of the present application;
FIG. 11 is a block diagram illustrating an apparatus of a device configuration according to another embodiment of the present application;
fig. 12 is a block diagram illustrating a mobile terminal according to an embodiment of the present disclosure, configured to perform a method for configuring a device according to an embodiment of the present disclosure;
fig. 13 is a block diagram illustrating a server according to an embodiment of the present disclosure for executing a method for configuring a device according to an embodiment of the present disclosure;
fig. 14 illustrates a storage unit for storing or carrying program codes for implementing a method of configuring a device 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
In the existing intelligent home system, when a certain sub-device in a system composed of existing devices fails or needs to be replaced due to upgrading requirements, or when automation of the devices or rapid configuration of scenes are required, the original sub-device needs to be deleted from the system, meanwhile, data information of the original sub-device needs to be completely discarded, then the new sub-device is added into the system composed of the existing devices, and then a user performs configuration step by step on the newly added sub-device according to the functions realized by the original sub-device according to memory. For example, in the hotel industry, automation and/or scene configuration of sub-devices in each room is almost the same, and for these rooms with commonality, if some sub-devices in only a part of the rooms fail or need to be replaced due to upgrade, repeated configuration wastes a lot of time and effort, and configuration errors are easily caused.
Therefore, the inventor has found a technical problem that inconvenience is brought to a user due to the fact that a certain sub-device in the system fails or information configuration needs to be repeatedly performed on the device when the sub-device needs to be replaced due to upgrading, and has proposed a device configuration method, apparatus, network system, mobile terminal, server, and storage medium in the embodiments of the present application.
For the convenience of describing the scheme of the present application in detail, the following description will first describe an application environment in the embodiments of the present application with reference to the drawings.
As shown in fig. 1, for a network system 10 provided in an embodiment of the present application, the device configuration system 10 includes: mobile terminal 11, server 12, ZigBee gateway 13, and sub-device 14. The ZigBee gateway 13 is built based on a ZigBee protocol, and the sub-device 14 may be a device added in the ZigBee gateway 13 in advance, for example, the sub-device 14 may be a device in a suite to which the gateway belongs when the gateway leaves a factory; or a device subsequently connected to the ZigBee gateway 13 by a user operation. As one mode, the slave device 14 may establish a network connection with the ZigBee gateway 13 based on ZigBee protocol/bluetooth/WIFI or the like, thereby joining in the network. For example, the sub-device 14 may receive, through the ZigBee protocol, a control instruction transmitted by the mobile terminal 11, which may control the sub-device 14 to perform a scene and/or an automated action of the sub-device corresponding to the control instruction.
Both the ZigBee gateway 13 and the mobile terminal 11 may be connected to a router, and access to the ethernet via the router. For example, the ZigBee gateway 13 and the mobile terminal 11 may store the acquired information in the server 12. Optionally, the mobile terminal 11 may establish a network connection with the server 12 through 2G/3G/4G/5G, WIFI, so as to obtain the data sent by the server 12.
As one mode, a client capable of managing automation and scene configuration of the smart home device is installed in the mobile terminal 11, where the client may be an application client or a web page client, and is not limited herein. The mobile terminal 11 may be any device with communication and storage functions, such as: the smart phone, the desktop computer, the notebook computer, the tablet computer or other smart communication devices with network connection functions. The server 12 may be a network access server, a database server, a cloud server, or the like. The sub-devices 14 may be physical intelligent devices, such as electric meters, door sensors, body sensors, door and window sensors, temperature and humidity sensors, water sensors, natural gas alarms, smoke alarms, wall switches, wall sockets, smart sockets, wireless switches, wireless wall switches, magic cube controllers, curtain motors, multifunctional gateways, air conditioner partners, cameras, and other intelligent devices, or may be virtual sensor devices, such as virtual body sensor devices, which are not limited herein.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a flowchart of a method for configuring a device according to an embodiment of the present application is shown, where the embodiment provides a method for configuring a device, and the method includes:
step S110: and the mobile terminal acquires the target equipment matched with the sub-equipment.
As one way, one or more gateways exist under the mobile terminal bound account, in which case, one or more sub-devices can be connected under each gateway. Optionally, different sub-devices existing under the current login account of the mobile terminal are all bound with the current login account. In the embodiment of the application, the mobile terminal is provided with the application program with the user operation interface, a user can operate on the user operation interface, and the mobile terminal can respond to the touch operation of the user to further execute corresponding actions.
The mobile terminal can acquire the target device matched with the sub-device, so that the configuration information of the target device can be configured to the sub-device.
As a mode, a device information list is pre-stored in the server, and the device information list includes all devices under a gateway corresponding to an account bound by the access mobile terminal.
As one way, the mobile terminal determines whether the sub-device of the access gateway is accessed for the first time. When it is detected that the sub-device accesses the gateway for the first time, step S110 is executed again. The application program of the mobile terminal may include a new device detection module, which may be used to detect whether the sub-device of the access gateway is accessed for the first time.
It should be noted that the first access may indicate that the sub-device has never been accessed, and is a completely new device, or may indicate that the sub-device may have been accessed, but the sub-device has been formatted or reset, and becomes a new device, and any information that has been accessed is not retained before the access.
When detecting that the sub-equipment is accessed to the gateway for the first time and before the step of acquiring the target equipment matched with the sub-equipment by the mobile terminal, a new equipment detection module of the mobile terminal can detect whether equipment which is bound with the mobile terminal and added to the gateway corresponding to the account number bound with the mobile terminal exists, if so, the mobile terminal can send a data information deletion request to the server so that the server can delete the data information of the equipment stored in the database, thereby obtaining the equipment which is not configured with any data information, and as a mode, the equipment which is not configured with any data can be judged as the sub-equipment; if not, the mobile terminal can directly judge that the device joining the gateway is the sub-device.
When detecting that the sub-device is accessed to the gateway for the first time, the mobile terminal may acquire the target device matched with the sub-device, so as to configure the configuration information of the target device to the sub-device.
As an embodiment, referring to fig. 3, step S110 may specifically include:
step S111: and the mobile terminal acquires the type of the sub-equipment.
As one way, when the sub-device joins the account number logged in by the mobile terminal, the device identification code of the sub-device may be obtained, so as to obtain the type of the sub-device.
As another way, in the case where the child device is bound to the mobile terminal, the mobile terminal may make a communication connection with the gateway based on the short range wireless protocol when the mobile terminal approaches the gateway. Wherein the close range wireless communication protocol may be an NFC communication protocol. NFC (near field Communication) is an emerging technology, and devices (such as mobile phones) using NFC technology can exchange data in close proximity to each other.
Optionally, the sub-devices are preconfigured with device identification codes, each sub-device has one device identification code, the device identification code may be used to uniquely identify the sub-devices of different types, and the types of the sub-devices may be obtained according to the obtained device identification codes of the sub-devices. As a mode, after the gateway and the mobile terminal are connected, the application user operation interface of the mobile terminal can display all the sub-devices accessed to the gateway, and the application of the mobile terminal can automatically read the device identification codes of the sub-devices through NFC, and then obtain the types of the sub-devices according to the read device identification codes.
Step S112: and detecting whether the accessed devices have the same type of devices.
Optionally, the user operation interface of the mobile terminal may display the device information list. After the mobile terminal acquires the type of the sub-device, whether a device with the same type as the sub-device exists in a gateway corresponding to the mobile terminal binding account can be searched according to the device identification code of the sub-device.
For example, a door and window sensor and an intelligent switch are connected below the gateway, a bulb 1 is connected below the intelligent switch, the door and window sensor, the intelligent switch and the bulb 1 are all bound with an account of the mobile terminal, the bulb 1 has a unique device identification code, the mobile terminal can add a device into a logged account or read the device identification code of the bulb 1 through NFC, and the read device identification code of the bulb 1 is stored in the device information list. When the bulb 1 needs to be replaced due to failure or upgrading, in this case, a new bulb 2 is added to the gateway, and the bulb 2 is bound with the mobile terminal. The mobile terminal is added to the equipment or is close to the bulb 2 through the logged account, the equipment identification code of the bulb 2 can be read through NFC, when the equipment identification code of the bulb 2 is read, whether the equipment which is the same as the equipment identification code of the bulb 2 exists in the equipment information list or not is detected, if the equipment which is the same as the type of the bulb 2 exists in the gateway, namely the bulb 1 exists, and the equipment information list of the mobile terminal can display that the bulb 1 and the bulb 2 are the same in type.
Step S113: if so, the device with the same type as the target device is taken as the target device.
As one way, if there is a device of the same type as the child device in the gateway, the device of the same type may be used as the target device, so as to configure the configuration information of the target device to the child device. Optionally, if there is no device of the same type as the child device, a new child device may be added in a subsequent operation.
As another embodiment, referring to fig. 4, step S110 may specifically include:
step S114: and the mobile terminal acquires the functions of the sub-equipment.
It should be noted that the child device includes an attribute identifier and an event identifier. The attribute identifier may be used to describe an attribute or a state of the child device itself, for example: the temperature and humidity of the temperature and humidity sensor, and the state of the lamp being on and off; the event identifier can be used to describe a trigger action that causes the operating state of the sub-device to change, such as a single click or a double click of a switch. Optionally, the data information formats of the sub-devices having the same attribute identifier and event identifier are the same.
As a mode, the mobile terminal may obtain, in addition to the type of the sub-device, attribute identifiers of the sub-device and related information of the event identifier, so as to find whether a device with a function matching the sub-device exists in the accessed devices according to the obtained attribute identifiers and the obtained event identifiers of the sub-device.
In this embodiment, except that the devices with the same type may perform configuration information migration, the devices with different types and matching functions and the sub-devices may also perform data exchange.
Step S115: and detecting whether the accessed devices have devices matched with the functions.
The mobile terminal can detect whether the accessed device has a device with the same function or part of the same function as the sub-device according to the obtained attribute identifier and the event identifier of the sub-device. It should be noted that the same function indicates that the attribute identifiers and the event identifiers of different sub-devices are the same; the functional part is the same, which means that the attribute identification and the event identification part of different sub-devices are the same.
For example, if the acquired child device has event identifiers representing single-click and double-click, and if there is a device having event identifiers representing single-click, double-click and long-click in the detected accessed device, or if there is a device including both the event identifier representing single-click and the event identifier representing double-click in the detected accessed device, the device may be identified as a device having a function matching with the child device.
Such as wireless switches (event markers with single and double click) and upgraded wireless switches (event markers with single, double and long click)
It should be noted that the devices with matched functions may be the same type of device or different types of devices. For example, a wireless switch (event identifier with single click and double click) and an upgraded wireless switch (event identifier with single click, double click and long press) are the same type of device; and the single-fire single-key wall switch and the zero-fire single-key wall switch both have event identifications for representing single clicks and belong to different types of equipment.
Step S116: and if so, taking the equipment matched with the function as the target equipment.
If it is detected that there is a device matching the function of the sub-device in the accessed devices, the device may be used as a target device.
It should be noted that, in the two embodiments of obtaining the target device matched with the sub device, when the mobile terminal and the sub device are bound, the mobile terminal may determine whether the same device or the similar device of the sub device exists in the same account. As an implementation manner, the mobile terminal may determine whether there is a device with the same type as the sub-device or a device with a function matching with the sub-device in the same account. If so, the mobile terminal may issue a prompt instruction to recommend the device as the target device (e.g., display a prompt message that the device may be recommended as the target device for cloning, etc.). Therefore, the user does not need to search the target equipment through the mobile terminal, the efficiency of user setting can be improved, and the user experience is further improved.
Step S120: and the mobile terminal sends a configuration information acquisition request of the target equipment to a server.
The configuration information of the target device is stored in the server, and the configuration information of the target device may include information such as intelligent automation, intelligent scenes, and intelligent timing of the configuration of the target device. For example: door and window sensor and intelligent switch are two sub-equipment that are connected to the gateway, assume that the user has set up an intelligent scene and opens such a scene of automatic turn-on for door and window, and the execution condition of this scene is that door and window open, and the execution action is that intelligent switch controls the bulb to turn on the light, and intelligent automation and intelligent timing's principle and effect are the same, and here is no longer repeated. The mobile terminal configures the configuration information of the target equipment to the sub-equipment, a configuration information acquisition request of the target equipment needs to be sent to the server firstly, and after the target equipment is determined, the mobile terminal receives equipment configuration operation triggered by a user and sends the configuration information acquisition request of the target equipment to the server.
Step S130, the server receives a configuration information acquisition request of the target equipment sent by the mobile terminal and returns the configuration information of the target equipment corresponding to the configuration information acquisition request.
After receiving a configuration information acquisition request of a target device sent by the mobile terminal, the server searches configuration information corresponding to the target device and stored in the database, and then returns the configuration information of the target device corresponding to the configuration information acquisition request to the mobile terminal.
Step S140: and the mobile terminal receives the configuration information of the target equipment returned by the server, and configures the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment.
As an embodiment, the specific steps of step S140 may include: and modifying the identifier of the target device in the configuration information into the identifier of the sub-device to obtain new configuration information including the identifier of the sub-device and the event information, or configuring part of the configuration information to the sub-device to obtain new configuration information of the sub-device.
As a way, the mobile terminal may respond to a modification operation of a user, modify the identifier in the configuration information to the identifier of the sub-device, and obtain new configuration information including the identifier of the sub-device and the event information. As a way, in the process of modifying the identifier of the target device in the configuration information to the identifier of the sub-device, the mobile terminal may further associate the new configuration information with the identifier of the target device, that is, perform tag processing on the data obtained by configuring the sub-device, so that the data source of the configuration information of the sub-device may be quickly detected, and the new configuration information of the sub-device obtained by modifying the identifier of the target device is easier to identify.
As a manner, part of the configuration information is configured to the sub-device, and the part of the configuration information may be used as new configuration information of the sub-device.
In a specific application scenario, for example, when there are multiple sub-devices newly joining the gateway that need configuration data, there may be two target devices in order to complete the configuration process quickly. Assuming that there are a target device a and a target device B, the configuration information of the target device a is configured to the sub-device 1, and the configuration information of the target device B is configured to the sub-device 2. At this time, the new configuration information is associated with the identifier of the corresponding target device, so that the data source of the new configuration information of the sub-device can be quickly judged. In addition, the configuration information of the copied sub-equipment can be conveniently distinguished from the configuration information of the equipment actually added or manually operated by the user, and the user experience is improved.
Step S150: and the mobile terminal sends the new configuration information of the sub-equipment to the server.
Optionally, the mobile terminal sends the new configuration information of the configured sub-device to the server, and the subsequent step further includes that the mobile terminal sends a data deletion request carrying an identifier of the target device to the server, so that the server deletes the configuration information of the target device.
Step S160: and the server stores the new configuration information of the sub-equipment, which is obtained after the configuration returned by the mobile terminal.
After the server receives the new configuration information of the sub-device obtained after configuration sent by the mobile terminal, as a manner, the server may automatically mark and store the new configuration information of the sub-device to obtain new configuration information associated with the identifier of the target device. Optionally, when the new configuration information of the identifier associated with the target device is modified, the server may also delete the identifier of the target device at the same time.
It should be noted that some of the newly added sub-devices or the already bound sub-devices are connected to the gateway in a function migration manner, in which case the newly added sub-devices or the already bound sub-devices may migrate the function of the devices that have established connection with the gateway. For example, according to the foregoing, after configuring the configuration information of the child device newly joining the gateway according to the determined configuration information of the target device, it can be regarded that the child device has migrated the function of the target device. Then, when the function of the target device is migrated to the child device, as a manner, the server may further receive a data deletion request carrying an identifier of the target device and sent from the mobile terminal, and delete the configuration information of the target device corresponding to the data deletion request, thereby implementing fast migration of the data information of the faulty device or the old device to the new child device or the bound child device, so that the child device newly added to the system or the bound child device may fast copy the function of the existing device, complete configuration of the newly added child device or the bound child device, and further implement replacement of the old device with the new child device.
It should be noted that, as another way, if the function of the target device is migrated to the child device, and the target device only needs to be upgraded and does not need to be deleted, the mobile terminal may not send the data deletion request carrying the identifier of the target device, and in this case, the target device may migrate the configured configuration information to at least one child device newly added to the gateway, so as to implement fast configuration of the device.
The following is a specific example to illustrate the present embodiment:
assuming that there is a multi-functional gateway X1, and a temperature and humidity sensor a and an air conditioner B are connected to the X1, where the temperature and humidity sensor a is configured with an automation, it should be noted that the automation may be regarded as one of configuration information, and optionally, specific contents of the automation may include: if the temperature and humidity sensor A detects that the temperature rises to 30 ℃, the air conditioner B is started, and the air conditioner B is automatically stored in a cloud server database. If the temperature and humidity sensor A is old or needs to be replaced due to other reasons, a new temperature and humidity sensor B is connected to the multifunctional gateway X, under the condition, the temperature and humidity sensor A is equivalent to target equipment, the temperature and humidity sensor B is equivalent to sub-equipment, the temperature and humidity sensor B can be automatically configured for the temperature and humidity sensor A, the temperature and humidity sensor B is also automatically configured after the temperature and humidity sensor A is successfully configured, the air conditioner B can be opened as long as the temperature sensor B detects that the temperature rises to 30 ℃, and thus the air conditioner can be opened as long as one of the temperature and humidity sensor A or B detects that the temperature rises to 30 ℃.
As a mode, after the automatic configuration of the temperature and humidity sensor B is successful, the relevant configuration data of the temperature and humidity sensor a may be deleted, and the temperature and humidity sensor a is removed at the same time. Optionally, for the temperature and humidity sensor B, the strip of temperature and humidity sensor B may be automatically configured to a sub-device of the same type as or matched with the temperature and humidity sensor B.
According to the device configuration method provided by the embodiment, the target device matched with the sub-device is obtained through the mobile terminal, the configuration information of the target device is configured to the corresponding sub-device newly added to the gateway, the sub-device does not need to be configured repeatedly, and the data information of the old or fault device can be quickly transplanted to the new device or the bound sub-device, so that the new device added to the system or the bound sub-device can quickly copy the functions of the existing device, the configuration of the new device is completed, and the user experience is improved.
Referring to fig. 5, a flowchart of a configuration method according to an embodiment of the present application is shown, where the embodiment provides a method for device configuration, and the embodiment mainly describes a processing flow of a mobile terminal, where the method includes:
step S210: and the mobile terminal acquires the target equipment matched with the sub-equipment.
As one mode, the mobile terminal may acquire type information of the child device through a logged-in account or through the NFC module, and the mobile terminal may acquire a target device that can be associated with the child device according to the type of the child device. As another mode, the mobile terminal may acquire function information of the child device through the NFC module, where the function information of the child device includes an attribute identifier and an event identifier of the child device, and the mobile terminal may acquire, according to the attribute identifier and the event identifier of the child device, a device that meets the condition as the target device.
Step S220: and the mobile terminal sends a configuration information acquisition request of the target equipment to a server.
After the target device is acquired, before configuring the configuration information of the target device for the sub-device, the mobile terminal needs to send a configuration information acquisition request of the target device to the server, where the configuration information of the target device includes an identifier of the target device and event information, and the event information includes automation and/or scenario information of the target device, such as a trigger action that causes a change in an operating state of the device.
Step S230: and receiving the configuration information of the target equipment returned by the server.
And the mobile terminal receives the configuration information of the target equipment returned by the server and is used for configuring the sub-equipment.
Step S240: and configuring the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment.
The mobile terminal configures the configuration information of the target device to the sub-device, and obtaining the new configuration information of the sub-device specifically includes: and the mobile terminal modifies the identifier of the target equipment in the configuration information into the identifier of the sub-equipment to obtain new configuration information comprising the identifier of the sub-equipment and the event information of the sub-equipment.
Step S250: and sending the new configuration information of the sub-equipment to the server.
As a mode, after the mobile terminal completes configuration of the child device, the mobile terminal sends the configuration information of the child device to the server, so that the server stores the new configuration information of the child device.
Optionally, after the sub-device sends the data to the server, the method further includes: and the mobile terminal sends a data deletion request carrying the identification of the target equipment to the server so that the server deletes the configuration information of the target equipment stored in the database.
According to the device configuration method provided by the embodiment, the target device matched with the sub-device is obtained through the mobile terminal, the configuration information of the target device is configured to the corresponding sub-device newly added to the gateway or the sub-device already bound, the sub-device is not required to be configured repeatedly, and the data information of the old or fault device can be rapidly transplanted to the new device or the sub-device already bound, so that the function of the existing device can be rapidly copied by the new device added to the system or the sub-device already bound, the configuration of the new device or the sub-device already bound is completed, and the user experience is improved.
Referring to fig. 6, a flowchart of a configuration method according to an embodiment of the present application is shown, where the embodiment provides a method for device configuration, and the embodiment mainly describes a processing flow of a server, where the method includes:
step S310: the server receives a configuration information acquisition request of the target equipment sent by the mobile terminal.
Step S320: and returning the configuration information of the target equipment corresponding to the configuration information acquisition request, and indicating the mobile terminal to configure the configuration information of the target equipment to the sub-equipment and returning.
Step S330: and storing the new configuration information of the sub-equipment, which is obtained after the configuration returned by the mobile terminal.
As an embodiment, referring to fig. 7, after step S330, the method may include:
step S340: and receiving a data deletion request which is sent by the mobile terminal and carries the identification of the target equipment.
After receiving a data deletion request carrying the identifier of the target device and sent by the mobile terminal, the server searches the configuration information of the target device, which is correspondingly stored in the database.
Step S350: and deleting the configuration information of the target equipment corresponding to the data deletion request.
And deleting the found configuration information of the target equipment.
As an embodiment, referring to fig. 8, step S350 may be followed by:
step S360: and the server automatically marks and stores the new configuration information of the sub-equipment to obtain the new configuration information of the identification of the associated target equipment.
As a mode, the server may automatically mark and store the configuration information of the child device, where the mark may be an added copy identifier or an added device identification code, and the like, and the configuration information of the child device carrying the configuration identifier is obtained without limitation.
Step S370: when the new configuration information associated with the identity of the target device is modified, the server deletes the identity of the target device.
As one way, the server may delete the identification of the target device when detecting that the information of the child device is different from the configuration information of the child device that has just been configured.
According to the device configuration method provided by the embodiment, the target device matched with the sub-device is obtained through the mobile terminal, the configuration information of the target device is configured to the corresponding sub-device newly added to the gateway or the sub-device already bound, the sub-device or the sub-device already bound is not required to be configured repeatedly, and the data information of the old or fault device can be rapidly transplanted to the new device or the sub-device already bound, so that the new device added to the system or the sub-device already bound can rapidly duplicate the function of the existing device, the configuration of the new device is completed, and the user experience is improved.
Referring to fig. 9, a method for configuring a device is provided, the method includes:
s410: and acquiring the target equipment matched with the sub-equipment.
In this embodiment, the mobile terminal or the server may obtain the target device matched with the sub-device, so as to configure the configuration information of the target device to the sub-device.
As a mode, a device information list is pre-stored in the server, and the device information list includes all devices under a gateway corresponding to an account bound by the access mobile terminal.
S420: and configuring the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment.
In this embodiment, the mobile terminal may instruct the server to configure the configuration information of the target device to the sub-device by sending a configuration instruction to the server. Wherein the configuration instruction may include a device identification code of the target device.
As an implementation manner, the configuration information includes an identifier of a target device and event information, where the event information includes automation and/or scenario information of the target device, and the identifier of the target device in the configuration information is modified to the identifier of the sub device to obtain new configuration information including the identifier of the sub device and the event information, or part of the configuration information is configured to the sub device to obtain new configuration information of the sub device.
S430: and storing the new configuration information of the sub-equipment.
And the server stores the generated new configuration information.
Referring to fig. 10, which is a block diagram of an apparatus configured by a device according to an embodiment of the present application, in this embodiment, an apparatus 500 configured by a device is provided, where the apparatus 500 operates in a mobile terminal, and the apparatus 500 includes: a target device obtaining module 510, a request sending module 520, a configuration information receiving module 530, an information configuring module 540, and a configuration information sending module 550.
And a target device obtaining module 510, where the mobile terminal obtains the target device matched with the child device.
As one manner, the target device obtaining module 510 may specifically include obtaining a type of the sub-device through the mobile terminal, detecting whether there is a device in the accessed devices that is the same as the type, and if so, taking the device in the same type as the target device.
As another mode, the target device obtaining module 510 may specifically include: the method comprises the steps of obtaining the functions of the sub-devices through the mobile terminal, detecting whether the accessed devices have the devices matched with the functions or not, and if yes, taking the devices matched with the functions as target devices. Wherein the device matched with the function comprises a device with the same function or part of the same function as the sub-device.
Optionally, the apparatus 500 further includes a prompting module, configured to, when it is detected that there is a device of the same type as the sub-device or a device matching the function of the sub-device in the accessed devices, display a prompting message that recommends the device as the target device on the mobile terminal.
A request sending module 520, configured to send, by the mobile terminal, a configuration information obtaining request of the target device to a server.
A configuration information receiving module 530, configured to receive new configuration information of the target device returned by the server.
An information configuring module 540, configured to configure the configuration information of the target device to the sub device, so as to obtain new configuration information of the sub device.
Optionally, the apparatus 500 further includes an association module, configured to associate the new configuration information with the identifier of the target device.
A configuration information sending module 550, configured to send the new configuration information of the sub-device to the server.
Optionally, the configuration information sending module 550 further includes: the mobile terminal sends a data deletion request carrying the identification of the target equipment to the server so that the server deletes the configuration information of the target equipment.
Referring to fig. 11, which is a block diagram of an apparatus for device configuration according to an embodiment of the present application, in which the apparatus 600 for device configuration is provided in this embodiment and runs on a server, the apparatus 600 includes: a request receiving module 610, a configuration information returning module 620 and a configuration information storing module 630.
A request receiving module 610, configured to receive, by the server, a configuration information acquisition request of the target device sent by the mobile terminal.
A configuration information returning module 620, configured to return the configuration information of the target device corresponding to the configuration information obtaining request, instruct the mobile terminal to configure the configuration information of the target device to the sub-device, and return the configuration information.
A configuration information storage module 630, configured to store the new configuration information of the sub-device, which is obtained after configuration and returned by the mobile terminal.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules 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 or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
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.
Referring to fig. 12, a block diagram of a mobile terminal 11 applicable to the embodiment of the present application is shown, where the mobile terminal 11 includes a memory 111, an information configuration module 112, and one or more processors 113, and the memory 111 and the processors 113 are connected by communication lines.
The memory 111 may be used for storing software programs and modules, such as the method for device configuration in the embodiments of the present application, the information configuration module 112, and program instructions/modules corresponding to the apparatuses, and the processor 113 executes various functional applications and data processing, such as the method for device configuration provided in the embodiments of the present application, by executing the software programs and modules stored in the memory 111.
The memory 111 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. It will be appreciated that the configuration shown in fig. 12 is merely illustrative, and that mobile terminal 11 may include more or fewer components than shown in fig. 12, or may have a different configuration than shown in fig. 12. The components shown in fig. 12 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 13, a schematic structural diagram of a server 100 applicable to the embodiment of the present application is shown, where the server 100 includes a storage unit 104 and one or more processing units 102, and the storage unit 104 and the processing unit 102 are connected by a communication line.
The storage unit 104 can be used to store software programs and modules, such as the method for configuring the device in the embodiment of the present application, and program instructions/modules corresponding to the apparatus, and the processing unit 102 executes various functional applications and data processing, such as the method for configuring the device provided in the embodiment of the present application, by executing the software programs and modules stored in the storage unit 104.
The memory cells 104 may include high speed random access memory cells and may also include non-volatile memory cells, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory cells. It will be appreciated that the configuration shown in fig. 13 is merely illustrative, and that the server 100 may include more or fewer components than shown in fig. 13, or have a different configuration than shown in fig. 13. The components shown in fig. 13 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 14, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 700 has stored therein program code that can be called by a processor to perform the methods described in the above-described method embodiments.
The computer-readable storage medium 700 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. Optionally, the computer-readable storage medium 700 includes a non-transitory computer-readable storage medium. The computer readable storage medium 700 has storage space for program code 710 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 710 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (17)

1. A method of device configuration, the method comprising:
the mobile terminal acquires the type of the sub-equipment and detects whether the accessed equipment has the equipment with the same type;
if so, taking the equipment with the same type as the target equipment;
if not, the mobile terminal obtains an attribute identifier and an event identifier of the sub-device, searches whether an accessed device has a device matched with the function of the sub-device or not based on the attribute identifier and the event identifier, and takes the searched device matched with the function of the sub-device as a target device, wherein the attribute identifier is used for describing the attribute or the state of the sub-device, and the event identifier is used for describing a trigger action for causing the change of the running state of the sub-device;
the mobile terminal sends a configuration information acquisition request of the target equipment to a server;
receiving configuration information of the target equipment returned by the server;
configuring the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment;
and sending the new configuration information of the sub-equipment to the server.
2. The method of claim 1, wherein the configuration information comprises an identification of a target device and event information, wherein the event information comprises automation and/or context information of the target device; the step of configuring the configuration information of the target device to the sub-device to obtain new configuration information of the sub-device includes:
and modifying the identifier of the target device in the configuration information into the identifier of the sub-device to obtain new configuration information including the identifier of the sub-device and the event information, or configuring part of the configuration information to the sub-device to obtain new configuration information of the sub-device.
3. The method of claim 2, further comprising:
and associating the new configuration information with the identification of the target equipment.
4. The method according to any of claims 1 to 3, wherein the step of the mobile terminal obtaining the target device matching with the sub-device further comprises:
the mobile terminal judges whether the sub-equipment of the access gateway is accessed for the first time;
and when detecting that the sub-equipment is accessed to the gateway for the first time, executing the step that the mobile terminal acquires the target equipment matched with the sub-equipment.
5. The method of claim 1, wherein the step of detecting whether the accessed devices have devices matching the function comprises:
and detecting whether the accessed equipment has equipment with the same function or part of the same function as the sub-equipment.
6. The method of claim 1, further comprising:
and when detecting that the accessed devices have the devices with the same type or the devices matched with the functions, the mobile terminal displays a prompt message recommending the devices as target devices.
7. A method of device configuration, the method comprising:
the server receives a configuration information acquisition request of target equipment sent by the mobile terminal;
returning the configuration information of the target equipment corresponding to the configuration information acquisition request, indicating the mobile terminal to configure the configuration information of the target equipment to the sub-equipment and returning;
storing new configuration information of the sub-equipment, which is obtained after configuration returned by the mobile terminal;
the target device is a device of the same type as the sub-device or a device matching the function of the sub-device, the device of the same type as the sub-device is detected by the mobile terminal in the accessed device based on the type of the sub-device, the device matching the function of the sub-device is found by the mobile terminal in the accessed device based on the attribute identification of the sub-device and the event identification, the mobile terminal searches the device matching the function of the sub-device when the device of the same type as the sub-device is not detected, the attribute identification is used for describing the attribute or the state of the sub-device, and the event identification is used for describing the trigger action causing the change of the operation state of the sub-device.
8. The method according to claim 7, wherein the step of storing the new configuration information of the sub-device obtained after the configuration returned by the mobile terminal further includes:
receiving a data deletion request carrying the identification of the target equipment and sent by the mobile terminal;
and deleting the configuration information of the target equipment corresponding to the data deletion request.
9. The method of claim 7, further comprising:
the server automatically marks and stores the new configuration information of the sub-equipment to obtain the new configuration information of the identification of the associated target equipment;
when the new configuration information associated with the identity of the target device is modified, the server deletes the identity of the target device.
10. A method of device configuration, the method comprising:
the mobile terminal acquires the type of the sub-equipment and detects whether the accessed equipment has the equipment with the same type;
if so, taking the equipment with the same type as the target equipment;
if not, the mobile terminal obtains an attribute identifier and an event identifier of the sub-device, searches whether an accessed device has a device matched with the function of the sub-device or not based on the attribute identifier and the event identifier, and takes the searched device matched with the function of the sub-device as a target device, wherein the attribute identifier is used for describing the attribute or the state of the sub-device, and the event identifier is used for describing a trigger action for causing the change of the running state of the sub-device;
the server receives a configuration information acquisition request of target equipment sent by a mobile terminal and returns configuration information of the target equipment corresponding to the configuration information acquisition request;
the mobile terminal receives the configuration information of the target equipment returned by the server, and configures the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment;
the mobile terminal sends the new configuration information of the sub-equipment to the server;
and the server stores the new configuration information of the sub-equipment, which is obtained after the configuration returned by the mobile terminal.
11. A method of device configuration, the method comprising:
acquiring target equipment matched with the sub-equipment;
storing the new configuration information of the sub-equipment;
the target device is a device of the same type as the sub-device or a device matching with the function of the sub-device, the device of the same type as the sub-device is detected by a mobile terminal in an accessed device based on the type of the sub-device, the device matching with the function of the sub-device is found by the mobile terminal in the accessed device based on an attribute identifier and an event identifier of the sub-device, the mobile terminal searches for the device matching with the function of the sub-device when the device of the same type as the sub-device is not detected, the attribute identifier is used for describing an attribute or a state of the sub-device, and the event identifier is used for describing a trigger action causing the change of the operation state of the sub-device.
12. An apparatus configured for a device, operating in a mobile terminal, the apparatus comprising:
the target equipment acquisition module is used for acquiring the type of the sub-equipment and detecting whether the accessed equipment has the equipment with the same type; if so, taking the equipment with the same type as the target equipment; if not, the mobile terminal obtains an attribute identifier and an event identifier of the sub-device, searches whether an accessed device has a device matched with the function of the sub-device or not based on the attribute identifier and the event identifier, and takes the searched device matched with the function of the sub-device as a target device, wherein the attribute identifier is used for describing the attribute or the state of the sub-device, and the event identifier is used for describing a trigger action for causing the change of the running state of the sub-device;
a request sending module, configured to send a configuration information acquisition request of the target device to a server;
the configuration information receiving module is used for receiving the configuration information of the target equipment returned by the server;
the information configuration module is used for configuring the configuration information of the target equipment to the sub-equipment to obtain new configuration information of the sub-equipment;
and the configuration information sending module is used for sending the new configuration information of the sub-equipment to the server.
13. An apparatus configured for a device, operating on a server, the apparatus comprising:
the request receiving module is used for receiving a configuration information acquisition request of the target equipment sent by the mobile terminal;
a configuration information returning module, configured to return the configuration information of the target device corresponding to the configuration information obtaining request, instruct the mobile terminal to configure the configuration information of the target device to the sub-device, and return the configuration information;
the configuration information storage module is used for storing new configuration information of the sub-equipment, which is obtained after the configuration returned by the mobile terminal;
the target device is a device of the same type as the sub-device or a device matching with the function of the sub-device, the device of the same type as the sub-device is detected by a mobile terminal in an accessed device based on the type of the sub-device, the device matching with the function of the sub-device is found by the mobile terminal in the accessed device based on an attribute identifier and an event identifier of the sub-device, the mobile terminal searches for the device matching with the function of the sub-device when the device of the same type as the sub-device is not detected, the attribute identifier is used for describing an attribute or a state of the sub-device, and the event identifier is used for describing a trigger action causing the change of the operation state of the sub-device.
14. A network system, characterized in that the network system comprises a mobile terminal, a gateway and a server:
the mobile terminal is used for acquiring the type of the sub-equipment and detecting whether the accessed equipment has the equipment with the same type; if so, taking the equipment with the same type as the target equipment; if not, the mobile terminal obtains an attribute identifier and an event identifier of the sub-device, searches whether an accessed device has a device matched with the function of the sub-device or not based on the attribute identifier and the event identifier, and takes the searched device matched with the function of the sub-device as a target device, wherein the attribute identifier is used for describing the attribute or the state of the sub-device, and the event identifier is used for describing a trigger action for causing the change of the running state of the sub-device;
the mobile terminal is also used for sending a configuration information acquisition request of the target equipment to the server;
the server is used for receiving a configuration information acquisition request of target equipment sent by the mobile terminal and returning the configuration information of the target equipment corresponding to the configuration information acquisition request;
the mobile terminal is further configured to receive configuration information of the target device returned by the server, and configure the configuration information of the target device to the sub-device to obtain new configuration information of the sub-device;
the mobile terminal is further used for sending the new configuration information of the sub-equipment to the server;
and the server is also used for storing the new configuration information of the sub-equipment, which is obtained after the configuration returned by the mobile terminal.
15. A mobile terminal comprising one or more processors and memory;
one or more programs 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-6.
16. A server, comprising one or more processing units and a storage unit;
one or more programs stored in the storage unit and configured to be executed by the one or more processing units, the one or more programs configured to perform the methods of any of claims 7-9.
17. A computer-readable storage medium, having program code stored therein, wherein the method of any of claims 1-6 or the method of any of claims 7-9 is performed when the program code is run.
CN201811489135.3A 2018-12-06 2018-12-06 Equipment configuration method, device, network system and mobile terminal Active CN109587018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811489135.3A CN109587018B (en) 2018-12-06 2018-12-06 Equipment configuration method, device, network system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811489135.3A CN109587018B (en) 2018-12-06 2018-12-06 Equipment configuration method, device, network system and mobile terminal

Publications (2)

Publication Number Publication Date
CN109587018A CN109587018A (en) 2019-04-05
CN109587018B true CN109587018B (en) 2022-07-08

Family

ID=65927547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811489135.3A Active CN109587018B (en) 2018-12-06 2018-12-06 Equipment configuration method, device, network system and mobile terminal

Country Status (1)

Country Link
CN (1) CN109587018B (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3972202A4 (en) * 2019-05-16 2022-06-08 Shenzhen Heytap Technology Corp., Ltd. Smart home system control method and apparatus, electronic device and storage medium
CN110401583B (en) * 2019-06-21 2021-12-07 深圳绿米联创科技有限公司 Method, device, system, mobile terminal and storage medium for replacing equipment
CN110347047B (en) * 2019-06-21 2022-09-09 深圳绿米联创科技有限公司 Method, device and system for deleting equipment, electronic equipment and storage medium
CN111556119B (en) * 2020-04-23 2023-04-21 杭州涂鸦信息技术有限公司 Device information changing method and related device
CN111930082B (en) * 2020-07-22 2021-11-23 青岛海信智慧生活科技股份有限公司 Method and device for replacing intelligent household equipment
CN112039735A (en) * 2020-08-14 2020-12-04 深圳市欧瑞博科技股份有限公司 Configuration data importing method and device of intelligent household equipment, server and storage medium
CN111897232B (en) * 2020-08-14 2023-06-23 深圳市欧瑞博科技股份有限公司 Configuration data importing method and device of intelligent household equipment, server and storage medium
CN112163125A (en) * 2020-09-22 2021-01-01 海尔优家智能科技(北京)有限公司 Device management method and apparatus, storage medium, and electronic device
CN112835635A (en) * 2021-01-25 2021-05-25 广州视源电子科技股份有限公司 Equipment replacement method, device, system, server and storage medium
CN115001960B (en) * 2021-03-02 2024-04-05 浙江宇视科技有限公司 Automatic equipment configuration deployment method and device
CN113048612B (en) * 2021-03-04 2022-03-04 珠海格力电器股份有限公司 Information configuration method and device after air conditioner indoor unit replacement and air conditioning system
CN113347034B (en) * 2021-05-31 2023-04-07 浙江大华技术股份有限公司 Device processing method and device, authentication method and device, and storage medium
CN114139038A (en) * 2021-11-29 2022-03-04 国云科技股份有限公司 Terminal replacement method and device for cloud classroom, electronic equipment and storage medium
CN114285688A (en) * 2021-12-22 2022-04-05 美智光电科技股份有限公司 Equipment replacement method, device, gateway, system and medium
CN114866410A (en) * 2022-04-28 2022-08-05 浙江灵鹿智能科技有限公司 Setting information multiplexing method and system
CN115134234A (en) * 2022-05-12 2022-09-30 芜湖美的厨卫电器制造有限公司 Device updating method, device, storage medium and electronic device
CN115134218B (en) * 2022-05-12 2023-11-10 芜湖美的厨卫电器制造有限公司 Device replacement method, device, storage medium and server
CN114928453A (en) * 2022-05-19 2022-08-19 芯跳科技(广州)有限公司 USB device security verification method, system, electronic device and storage medium
CN115225491A (en) * 2022-07-22 2022-10-21 上海庆科信息技术有限公司 Method, device, electronic device, storage medium and system for replacing equipment
CN115022169A (en) * 2022-07-22 2022-09-06 上海庆科信息技术有限公司 Method, device, electronic device, storage medium and system for replacing equipment
CN115242810A (en) * 2022-07-22 2022-10-25 上海庆科信息技术有限公司 Method, device, electronic device, storage medium and system for replacing equipment
CN118041777A (en) * 2022-11-04 2024-05-14 华为技术有限公司 Equipment replacement configuration method and device
CN116032680B (en) * 2023-03-29 2023-07-11 广东好太太智能家居有限公司 Configuration method and device of intelligent equipment, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119247B (en) * 2006-08-02 2013-02-27 华为技术有限公司 Family network appliance automatic configuration method and system
US20130116804A1 (en) * 2011-11-09 2013-05-09 Johannes Extra Method for automatically transferring a configuration of an automation device during replacement of an automation device
CN104992542A (en) * 2015-07-01 2015-10-21 慧锐通智能科技股份有限公司 Configuration method and system for intelligent home equipment
CN105357629A (en) * 2015-11-20 2016-02-24 青岛海尔股份有限公司 Method and device used for binding mobile terminal with intelligent household electrical appliance
CN106161100B (en) * 2016-08-03 2019-09-27 青岛海信电器股份有限公司 A kind of internet of things equipment configuration method and internet-of-things terminal
CN108923969A (en) * 2018-06-29 2018-11-30 海尔优家智能科技(北京)有限公司 A kind of method, apparatus of equipment linkage, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109587018A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN109587018B (en) Equipment configuration method, device, network system and mobile terminal
CN109413515B (en) Equipment control method and device, mobile terminal and server
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
CN109725541B (en) Automatic generation method and device, electronic equipment and storage medium
CN113412469B (en) Equipment network distribution method and device, electronic equipment and storage medium
CN106648669B (en) Product equipment remote firmware upgrading method and system
US20160174268A1 (en) Smart home controller and communication method thereof
EP3051776B1 (en) Method and apparatus for controlling turn-on and turn-off of smart socket
CN109445292B (en) Automatic execution result collection method, device, system and storage medium
CN109753034B (en) Control method, control device, electronic equipment and storage medium
US20220052866A1 (en) Smart home system control method and apparatus, electronic device
CN111262761A (en) Method and electronic device for controlling smart home system
CN110071855B (en) Equipment linkage control method, device, system, gateway and storage medium
CN109660387A (en) Management method, device, server and the storage medium of configuration data of device
CN109788605A (en) Intelligent lighting system based on Internet of Things
EP2901623A1 (en) Device event notification registration through direct interaction with mobile device
CN103069747A (en) Method and apparatus for establishing communication
JP6665660B2 (en) Device control system and device control method
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN113168334A (en) Data processing method and device, electronic equipment and readable storage medium
CN112333295A (en) Multipath connection method and device, electronic equipment and storage medium
CN109981424B (en) Linkage scheme processing method and device, electronic equipment and storage medium
CN109218085B (en) Equipment automation and scene configuration management method and device and mobile terminal
CN110324217A (en) Control method, device, electronic equipment and the storage medium of equipment triggering
CN113381916A (en) CAN bus intelligent household management method, device, 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
GR01 Patent grant
GR01 Patent grant