CN114928538A - Equipment configuration processing method and device, computer equipment and storage medium - Google Patents

Equipment configuration processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114928538A
CN114928538A CN202210410536.5A CN202210410536A CN114928538A CN 114928538 A CN114928538 A CN 114928538A CN 202210410536 A CN202210410536 A CN 202210410536A CN 114928538 A CN114928538 A CN 114928538A
Authority
CN
China
Prior art keywords
configuration
target
template
equipment
space
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210410536.5A
Other languages
Chinese (zh)
Inventor
付雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210410536.5A priority Critical patent/CN114928538A/en
Publication of CN114928538A publication Critical patent/CN114928538A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • 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]

Abstract

The application relates to a device configuration processing method, a device, computer equipment and a storage medium. The equipment configuration processing method comprises the following steps: acquiring a spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space; matching each target device in each target space with each template device in each spatial configuration template according to the attribute information of the target device in each target space; and carrying out batch configuration processing on the target equipment matched with the template equipment according to the equipment configuration information of the template equipment in the spatial configuration template. The device, the computer equipment and the storage medium adopting the method can rapidly and accurately carry out configuration processing on the equipment.

Description

Equipment configuration processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a device configuration processing method and apparatus, a computer device, and a storage medium.
Background
In the smart home industry, in order to ensure the experience of the overall delivery of a project, various device configuration information, such as a function configuration parameter, a linkage configuration parameter, and the like, generally exists. In some medium-large internet of things projects, the target devices to be configured are also very many, so that multiple persons are required to simultaneously implement configuration processing. However, when each person is implemented, there are differences caused by more or less human factors, and medium and large projects have the characteristics of short delivery and acceptance period, complex project environment and the like, so the existing configuration processing method easily causes the problems of low project implementation accuracy and low efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a device configuration processing method, apparatus, computer device and storage medium capable of quickly and accurately configuring a device in view of the above technical problems.
A device configuration processing method includes:
acquiring a spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space;
matching each target device in each target space with each template device in each spatial configuration template according to the attribute information of the target device in each target space;
and carrying out batch configuration processing on the target equipment matched with the template equipment according to the equipment configuration information of the template equipment in the spatial configuration template.
A device configuration processing apparatus, the device configuration processing apparatus comprising:
the template acquisition module is used for acquiring a spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space;
the matching module is used for matching each target device in each target space with each template device in each spatial configuration template according to the attribute information of the target device in each target space;
and the configuration module is used for carrying out batch configuration processing on the target equipment matched with the template equipment according to the equipment configuration information of the template equipment in the spatial configuration template.
In one embodiment, the template acquisition module comprises: the system comprises a space determining unit, a calculating unit and a processing unit, wherein the space determining unit is used for determining target spaces with the same spatial configuration attribute, and the spatial configuration attribute comprises a space type; and the binding unit is used for binding the target spaces with the same spatial configuration attribute with the matched same spatial configuration template.
In one embodiment, the binding unit includes a determining subunit and a binding subunit; the determining subunit is configured to determine target subspaces having the same subspace configuration attribute in the target spaces having the same spatial configuration attribute; and the binding subunit is used for binding each target subspace with the same subspace configuration attribute with the same spatial sub-configuration template in the matched same spatial configuration module.
In one embodiment, the matching module includes: the device acquisition unit is used for acquiring template devices matched with the attribute information of the target device; and the device determining unit is used for acquiring the template device with the highest priority from the template devices matched with the attribute information of the target device when the template devices matched with the attribute information of the target device comprise a plurality of template devices, and matching the target device with the template device with the highest priority.
In one embodiment, the configuration module includes: the position configuration unit is used for adding the target equipment to the corresponding target subspace according to the position configuration information of the corresponding template equipment; and/or a function configuration unit, configured to configure the function configuration parameters of the target device according to the function configuration information in the device configuration information of the template device in the corresponding spatial configuration template; and/or the linkage configuration unit is used for configuring the linkage configuration parameters of the target equipment according to the linkage configuration information of the corresponding template equipment.
In an embodiment, the device configuration processing apparatus further includes a configuration adjustment module, configured to control, in response to an operation instruction, the target device in the target space to operate to obtain an operation result, and when an adjustment instruction for the device configuration information is received based on the operation result, update the device configuration information according to configuration adjustment information corresponding to the adjustment instruction, so as to obtain updated device configuration information.
In one embodiment, the device configuration processing apparatus further includes: the configuration recovery module is used for automatically recovering the target equipment in the target space to the initial equipment configuration information according to the scene state of the target space; and/or the state recovery module is used for automatically recovering the state of the target equipment in the target space to an initial state according to the scene state of the target space; and/or the scene control module is used for controlling the target equipment in the target space to execute the corresponding scene control instruction according to the scene state of the target space.
A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps in the device configuration processing method according to the embodiments of the present application when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the device configuration processing method of the embodiments of the present application.
A computer program product or computer program comprising computer instructions stored in a computer readable storage medium; the processor of the computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, the steps in the device configuration processing method according to the embodiments of the present application are implemented.
According to the device configuration processing method, the device, the computer device and the storage medium, the spatial configuration template corresponding to each target space is obtained according to the spatial configuration attribute of at least one target space, and after each target device in each target space is matched with each template device in each spatial configuration template according to the attribute information of the target device in each target space, the target device matched with the template device is subjected to batch configuration processing according to the device configuration information of the template device in the spatial configuration template. Therefore, the equipment configuration processing method, the equipment configuration processing device and the computer equipment can acquire the space configuration template corresponding to each target space, so that the target equipment matched with the template equipment is subjected to batch configuration processing according to the equipment configuration information of the template equipment in the space configuration template, and the equipment can be rapidly and accurately subjected to configuration processing.
Drawings
FIG. 1 is a diagram of an application environment of a device configuration processing method according to an embodiment;
FIG. 2 is a flow diagram illustrating a method for device configuration processing according to one embodiment;
FIG. 3 is a schematic interface diagram of an apparatus configuration processing device of an embodiment;
FIG. 4 is a flowchart illustrating a method for device configuration processing according to another embodiment;
FIG. 5 is a block diagram showing an example of the configuration of a device processing apparatus;
FIG. 6 is a block diagram showing the configuration of a device configuration processing apparatus according to another embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 8 is an internal structural diagram of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of a device configuration processing method in an embodiment, please refer to fig. 1, which is a diagram of an application environment of a device configuration processing method provided in an embodiment of the present application, and the device configuration processing method can be applied to an internet of things system shown in fig. 1. The internet of things system comprises a sensor 10, a terminal device 11, a cloud 12, a gateway device 13, a router 14 and an intelligent household device 15.
Specifically, the terminal device 11 may be any intelligent 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 cloud 12 may be a network access server, a database server, a cloud server, or the like. Optionally, the gateway device 13 may be built based on a ZigBee protocol, and the smart home device 15 may be controlled by the sensor 10, the terminal device 11, or the cloud 12, and may be added to the gateway device 13 in advance, for example, the smart home device 15 may be a device in a suite to which the gateway device belongs when the gateway device 13 leaves a factory; or may be a device that is subsequently connected to the gateway device 13 by a user operation.
Optionally, a client capable of managing the smart home device 15 is installed in the terminal device 11, where the client may be an application client (such as an APP of a mobile phone) or a web page client, and is not limited herein.
Alternatively, the sensor 10 may establish a network connection with the gateway device 13 based on the ZigBee protocol, thereby joining the ZigBee network.
Optionally, the sensor 10, the terminal device 11, and the smart home device 15 may all access to the ethernet through the gateway device 13, and the gateway device 13 may access to the cloud 12 through a wired or wireless communication connection manner. For example, the gateway device 13 and the terminal device 11 may store the acquired information in the cloud 12. Optionally, the terminal device 11 may also establish a network connection with the cloud 12 through 2G/3G/4G/5G, WiFi, so as to obtain data sent by the cloud 12.
Optionally, the terminal device 11, the gateway device 13, and the sensor 10 may be in the same local area network, or may be in the same wide area network as the cloud 12. When the terminal device 11 and the gateway device 13 are in the same local area network, the terminal device 11 may interact with the gateway device 13 and the sensor 10 connected to the gateway device 13 through a local area network path; interaction with the gateway device 13 and the sensors 10 connected to the gateway device 13 may also be via a wide area network path. When terminal device 11 is not in the same local area network as gateway device 13, terminal device 11 may interact with gateway device 13 and sensor 10 connected to gateway device 13 over a wide area network path. The smart home devices 15 may include, but are not limited to, smart home products such as smart lamps, automatic curtains, air conditioners, and the like.
Automation refers to a linkage application built between the gateway device 13 or devices connected to the gateway device 13; the automation includes a trigger condition and an execution action, and the device for implementing the automatic scene control includes a trigger device and a controlled device (or an execution device), which may be in communication connection through the gateway device 13, and when the trigger device satisfies the trigger condition, the gateway device 13 controls the controlled device to execute the corresponding execution action. The triggering device may be, among other things, various sensors such as radar sensors, pressure sensors, etc. The controlled equipment can be various switches, televisions, sockets, lamps and other intelligent household equipment 15.
Suppose that the Internet of things system sets an automatic scene control as follows: the automatic linkage is that the lamp is automatically turned on when the human body is detected in the target environment, the condition of the scene is that the human body is detected in the target environment, and the execution action is that the intelligent switch controls the lamp to turn on. Based on the application scene, the radar sensor can be set as a trigger device, and the intelligent switch connected with the lamp is set as a controlled device. The specific execution principle is as follows: if the automatic execution is performed locally at the gateway through the local area network path, the radar sensor detects a human body and reports the event to the gateway, and after the gateway receives the event that the human body is detected, the gateway finds the corresponding equipment for executing the action according to the stored automatic configuration information, in this embodiment, the intelligent switch is used, and informs the intelligent switch to turn on the light, so that the automatic linkage of automatically turning on the light when the human body is detected in the target environment is realized. If through the wide area network route, carry out the automation in high in the clouds, then radar sensor senses the human body, reports this incident to the gateway, and the gateway receives after detecting the incident of human body, reports this incident to be high in the clouds, and the high in the clouds is according to the scene configuration information of storage, finds the equipment that corresponds of execution action, is intelligent switch in this embodiment to inform intelligent switch through the gateway and turn on the light.
In an embodiment, as shown in fig. 2, a device configuration processing method is provided, and this embodiment is exemplified by applying the method to a device configuration processing apparatus, and it is understood that the method may also be applied to a gateway device, a terminal device, or a server, and may also be applied to a system including at least two of the device configuration processing apparatus, the terminal device, and the server, and is implemented through interaction of at least two of the device configuration processing apparatus, the gateway device, the terminal device, and the server, and the like. In this embodiment, the method includes the steps of:
step S201, acquiring a spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space;
the target space is a space where device configuration is currently required, and may specifically be a pre-divided designated space. In one embodiment, a target space may be, but is not limited to, a home space or an office space such as a room, a household, a floor, a building, etc.
The spatial configuration attribute refers to an attribute of the target space, and may specifically be various attributes configured for the target space, for example, the spatial configuration attribute may include attributes such as a space type and a space usage.
The spatial configuration template refers to a template configured for the devices in the target space, so that the corresponding devices in the target space have various functions in the spatial configuration template after being configured.
Wherein, the target spaces with the same spatial configuration attribute have the same spatial configuration requirement. In an embodiment, the spatial configuration attribute may include, but is not limited to, attribute information of a spatial configuration including a spatial type, a spatial function, and the like. The space type may be, for example, a house type, a floor number, or the like. The spatial function may be, for example, a bedroom, a living room, etc.
In an embodiment, in step S201, obtaining a spatial configuration template corresponding to each target space according to a spatial configuration attribute of at least one target space, includes: determining target spaces with the same spatial configuration attribute, wherein the spatial configuration attribute comprises a spatial type; and binding the target space with the same spatial configuration attribute with the matched same spatial configuration template.
Specifically, the following description will be given by taking as an example that the target space is each room of the xx hotel project, and the spatial configuration attribute is a room type. As shown in the following table, if the xx hotel project comprises two buildings, each building comprises three floors, each floor comprises three rooms, and the three rooms in each floor are respectively of a 01-room type, a 02-room type and a 03-room type. Step S201, obtaining a spatial configuration template corresponding to each target space according to a spatial configuration attribute of at least one target space, including: and after determining the room with the room type of 01, binding the room with the room type of 01 with the spatial configuration model with the room type of 01.
Figure BDA0003603991300000071
In one embodiment, binding target spaces having the same spatial configuration property with the matching same spatial configuration template comprises: determining each target subspace with the same subspace configuration attribute in the target spaces with the same spatial configuration attribute; and binding each target subspace with the same subspace configuration attribute with the same space sub-configuration template in the matched same space configuration module.
Specifically, the following description will be given by taking each room with a target space as xx hotel items, each room including multiple subspaces, such as a bedroom and a bathroom, and taking the room type as the spatial configuration attribute and the subspace function as the subspace configuration attribute. If the xx hotel project comprises two buildings, each building comprises three floors, each floor comprises three rooms, and the room types of the three rooms of each floor are respectively a 01-room type, a 02-room type and a 03-room type. Step S201, obtaining a spatial configuration template corresponding to each target space according to a spatial configuration attribute of at least one target space, which may include: determining a room with a type 01; and determining bedrooms with the same subspace function in the room of the 01 house type, and binding the bedrooms in the room of the 01 house type with the spatial subspace templates of the bedrooms in the spatial configuration templates of the 01 house type.
Step S202, matching each target device in each target space with each template device in each space configuration template according to the attribute information of the target device in each target space;
the attribute information of the target device is an identifier capable of confirming the identity of the target device. In one embodiment, the attribute information of the target device may be, for example, a model value, a name, and the like. Specifically, the model value of a certain gateway may be: lumi. gateway. acn01, the model value for another gateway may be: lumi.
In one embodiment, step S202: matching each target device in each target space with each template device in each spatial configuration template according to the attribute information of the target device in each target space, including: acquiring template equipment matched with the attribute information of the target equipment; if the template device matched with the attribute information of the target device comprises a plurality of template devices, the template device with the highest priority in the template devices matched with the attribute information of the target device is obtained, and the target device is matched with the template device with the highest priority.
In one embodiment, the template device with the highest priority may be the template device with the earliest network access time, or may be the template device corresponding to the selection instruction. In other embodiments, the template device with the highest priority may also be the template device determined or screened out according to other preset rules.
In one embodiment, step S202: according to the attribute information of the target device in each target space, matching each target device in each target space with each template device in each spatial configuration template, which may also include, but is not limited to: and if the template equipment matched with the attribute information of the target equipment does not exist, outputting abnormal prompt information aiming at the target equipment.
Specifically, the abnormality prompt information for the target device may include, but is not limited to, notification information for the target device that does not belong to the target space, or prompt information that attribute information of the target device is abnormal.
Step S203, performing batch configuration processing on the target device matched with the template device according to the device configuration information of the template device in the spatial configuration template.
In an embodiment, the device configuration information may include, but is not limited to: position configuration information, name configuration information, function configuration parameters and linkage configuration parameters.
In an embodiment, the step S203 of performing batch configuration processing on the target device matched with the template device according to the device configuration information of the template device in the spatial configuration template includes:
adding the target equipment to the corresponding target subspace according to the position configuration information of the corresponding template equipment; and/or
Updating the display parameters of the target equipment according to the display configuration information of the corresponding template equipment; and/or
Configuring the function configuration parameters of the target equipment according to the function configuration information in the equipment configuration information of the template equipment in the corresponding space configuration template; and/or
And configuring the linkage configuration parameters of the target equipment according to the linkage configuration information of the corresponding template equipment.
In an embodiment, the display parameters of the target device may include, but are not limited to, a name, an icon, and the like. The functional configuration information may include, for example and without limitation: power-off memory function configuration information, sensitivity level configuration information, statistical function configuration information, and the like. Linkage configuration information may include, for example and without limitation: scene linkage control information, automation linkage control information, and the like.
In an embodiment, after each target device in each target space is matched with each template device in each spatial configuration template, the target device may be automatically added to the corresponding target subspace according to the location configuration information of the corresponding template device; and/or automatically updating the display parameters of the target equipment according to the display configuration information of the corresponding template equipment.
In an embodiment, after matching each target device in each target space with each template device in each spatial configuration template, if a preset operation instruction is received, for example, a trigger operation for a "one-key down" button is received, the function configuration parameters of the target devices may be configured according to the function configuration information in the device configuration information of the template devices in the corresponding spatial configuration template; and/or configuring the linkage configuration parameters of the target equipment according to the linkage configuration information of the corresponding template equipment.
In an embodiment, the step S203, after performing batch configuration processing on target devices matched with the template device according to the device configuration information of the template device in the spatial configuration template, includes:
receiving a display instruction aiming at a target space; displaying the name of each target subspace in the target space, and correspondingly displaying the name of the template equipment corresponding to each target subspace and the name of the matched target equipment under each target subspace; and/or displaying names of unmatched target devices in the first target space.
Fig. 3 is a schematic interface diagram of an apparatus configuration processing device according to an embodiment. As shown in fig. 3, taking the 301 room in the target space as an example, if the unmatched target device M1S in the 301 room matches with the living room M1S in the spatial configuration template, the display parameter, for example, the name corresponding to the target device M1S is updated from "M1S" to "living room M1S", and the icon and the modified name of the target device M1S are added to the area corresponding to the living room for display.
Fig. 4 is a flowchart illustrating a device configuration processing method according to another embodiment. As shown in fig. 4, the device configuration processing method in the present embodiment includes the following steps:
step S401, according to the spatial configuration attribute of at least one target space, acquiring a spatial configuration template corresponding to each target space;
step S402, according to the attribute information of the target devices in each target space, matching each target device in each target space with each template device in each spatial configuration template;
step S403, performing batch configuration processing on the target devices matched with the template devices according to the device configuration information of the template devices in the spatial configuration template.
In an embodiment, the device configuration processing method may further include, but is not limited to: step S404, responding to the operation instruction, controlling the target equipment in the target space to operate so as to obtain an operation result; and step S405, if an adjusting instruction aiming at the equipment configuration information is received based on the operation result, updating the equipment configuration information according to the configuration adjusting information corresponding to the adjusting instruction to obtain the updated equipment configuration information.
In an embodiment, the device configuration processing method may further include, but is not limited to: receiving an updating instruction aiming at the spatial configuration template; updating the space configuration template according to the updating instruction; and updating the corresponding configuration information of the target equipment according to the updated space template.
In an embodiment, the device configuration processing method may further include, but is not limited to: and automatically restoring the target equipment in the target space to the initial equipment configuration information according to the scene state of the target space. The scenario state may include, but is not limited to, a traffic state and/or a device state. Specifically, for example, if the target space (e.g., room 301) is in the scene state of leaving room, the target devices in the target space (e.g., room 301) are automatically restored to the original device configuration information. For another example, the target device in the target space (e.g., room 301) is in the device state in which the device configuration information is adjusted according to the adjustment instruction, and if the target space is in the service state of retirement, the target device in the target space (e.g., room 301) is automatically restored to the original device configuration information.
Specifically, the initial device configuration information may be determined by current device configuration information of the template device corresponding to the target device, or may be determined by device configuration information before adjustment by the target device.
In an embodiment, the device configuration processing method may further include, but is not limited to: and automatically restoring the state of the target equipment in the target space to the initial state according to the scene state of the target space. Specifically, for example, if the 301 room in the target space is in the back room service state, the target device in the 301 room, such as a television, is automatically restored to the initial state, such as a state of being turned off.
In an embodiment, the device configuration processing method may further include, but is not limited to: and controlling the target equipment in the target space to execute a corresponding scene control instruction according to the scene state of the target space. Specifically, for example, if the 301 room in the target space is in a check-in service state, the target device in the 301 room, for example, an electric lamp, automatically executes a scene control command such as automatically turning on the lamp when someone is present.
Specifically, the specific implementation manner of step S401 and step S403 in this embodiment may refer to the description of the foregoing embodiment, but is not limited to the description here, and is not repeated here.
The device configuration processing method of the embodiment can update the device configuration information, thereby being capable of adapting to different device configuration requirements and having high flexibility. In addition, in the present embodiment, it is also possible, but not limited to, automatically recovering to the initial device configuration information and/or the initial state and/or executing the corresponding scene control instruction, so that the flexibility of configuration can be further improved.
It should be understood that although the steps in the flowcharts of fig. 2 and 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2 and 4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a device configuration processing apparatus 50 including: a template acquisition module 501, a matching module 502, and a configuration module 503. The template obtaining module 501 is configured to obtain a spatial configuration template corresponding to each target space according to a spatial configuration attribute of at least one target space. The matching module 502 is configured to match, according to the attribute information of the target device in each target space, each target device in each target space with each template device in each spatial configuration template. The configuration module 503 is configured to perform batch configuration processing on the target device matched with the template device according to the device configuration information of the template device in the spatial configuration template.
In one embodiment, the template obtaining module 501 includes: the system comprises a space determining unit, a space determining unit and a space configuration unit, wherein the space determining unit is used for determining target spaces with the same space configuration attribute, and the space configuration attribute comprises a space type; and the binding unit is used for binding the target space with the same spatial configuration property with the matched same spatial configuration template.
In one embodiment, the binding unit includes a determining subunit and a binding subunit; the determining subunit is configured to determine, in the target spaces with the same spatial configuration attribute, each target subspace with the same subspace configuration attribute; and the binding subunit is used for binding each target subspace with the same subspace configuration attribute with the same spatial sub-configuration template in the matched same spatial configuration module.
In one embodiment, the matching module 502 includes: the device acquisition unit is used for acquiring template devices matched with the attribute information of the target device; and the device determining unit is used for acquiring the template device with the highest priority from the template devices matched with the attribute information of the target device when the template devices matched with the attribute information of the target device comprise a plurality of template devices, and matching the target device with the template device with the highest priority.
In one embodiment, the configuration module 503 includes: the position configuration unit is used for adding the target equipment to the corresponding target subspace according to the position configuration information of the corresponding template equipment; and/or a function configuration unit, configured the function configuration parameters of the target device according to the function configuration information in the device configuration information of the template device in the corresponding spatial configuration template; and/or the linkage configuration unit is used for configuring the linkage configuration parameters of the target equipment according to the linkage configuration information of the corresponding template equipment.
In another embodiment, as shown in fig. 6, there is provided a device configuration processing apparatus 60, which includes a template obtaining module 601, a matching module 602, a configuration module 603, and an adjusting module 604.
In an embodiment, the adjusting module 604 is configured to control a target device in the target space to operate in response to an operation instruction, so as to obtain an operation result, and when an adjusting instruction for device configuration information is received based on the operation result, update the device configuration information according to configuration adjustment information corresponding to the adjusting instruction, so as to obtain updated device configuration information.
In an embodiment, the device configuration processing apparatus 60 further includes a configuration recovery module 605, and/or a state recovery module 606, and/or a scene control module 607.
In an embodiment, the configuration recovery module 605 is configured to automatically recover the target device in the target space to the initial device configuration information according to the scene state of the target space.
In an embodiment, the state recovery module 606 is configured to automatically recover the state of the target device in the target space to an initial state according to the scene state of the target space.
In an embodiment, the scene control module 607 is configured to control the target device in the target space to execute a corresponding scene control instruction according to the scene state of the target space.
For specific definition of the device configuration processing apparatus, the above definition of the device configuration processing method may be referred to, and details are not described herein. The respective modules in the device configuration processing apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer device is used for storing data in the device configuration processing method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a device configuration processing method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a device configuration processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configurations shown in fig. 7 and 8 are only block diagrams of portions of configurations relevant to the present application, and do not constitute a limitation on the computer apparatus to which the present application may be applied, and that a particular computer apparatus may include more or fewer components than those shown in the figures, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space;
matching each target device in each target space with each template device in each spatial configuration template according to the attribute information of the target device in each target space;
and carrying out batch configuration processing on the target equipment matched with the template equipment according to the equipment configuration information of the template equipment in the spatial configuration template.
In one embodiment, the processor performs the steps of: according to the spatial configuration attribute of at least one target space, acquiring a spatial configuration template corresponding to each target space, wherein the method comprises the following steps: determining target spaces with the same spatial configuration attribute, wherein the spatial configuration attribute comprises a spatial type; and binding the target space with the same spatial configuration attribute with the matched same spatial configuration template.
In one embodiment, the processor performs the steps of: the step of binding the target space with the same spatial configuration attribute with the matched same spatial configuration template comprises the following steps: determining each target subspace with the same subspace configuration attribute in the target spaces with the same spatial configuration attribute; and binding each target subspace with the same subspace configuration attribute with the same space sub-configuration template in the matched same space configuration module.
In one embodiment, the processor performs the steps of: according to the attribute information of the target device in each target space, matching each target device in each target space with each template device in each spatial configuration template, including: acquiring template equipment matched with the attribute information of the target equipment; and if the template equipment matched with the attribute information of the target equipment comprises a plurality of template equipment, acquiring the template equipment with the highest priority in the template equipment matched with the attribute information of the target equipment, and matching the target equipment with the template equipment with the highest priority.
In one embodiment, the processor performs the steps of: according to the device configuration information of the template device in the spatial configuration template, performing batch configuration processing on the target device matched with the template device, including: adding the target equipment to a corresponding target subspace according to the position configuration information of the corresponding template equipment; and/or configuring the function configuration parameters of the target equipment according to the function configuration information in the equipment configuration information of the template equipment in the corresponding space configuration template; and/or configuring the linkage configuration parameters of the target equipment according to the linkage configuration information of the corresponding template equipment.
In one embodiment, the processor performs the steps of: according to the device configuration information of the template device in the spatial configuration template, after the target device matched with the template device is subjected to batch configuration processing, the following steps are also executed: responding to an operation instruction, and controlling the target equipment in the target space to operate so as to obtain an operation result; and if an adjusting instruction aiming at the configuration information is received based on the operation result, updating the equipment configuration information according to the configuration adjusting information corresponding to the adjusting instruction to obtain the updated equipment configuration information.
In an embodiment, after executing the device configuration information according to the spatial configuration template, and performing batch configuration processing on the target device matched with the template device, the processor further executes the following steps: automatically restoring the target equipment in the target space to the initial equipment configuration information according to the scene state of the target space; automatically restoring the state of the target equipment in the target space to an initial state according to the scene state of the target space; and controlling the target equipment in the target space to execute a corresponding scene control instruction according to the scene state of the target space.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of the computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps of the above-described method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. An apparatus configuration processing method, characterized in that the apparatus configuration processing method comprises:
acquiring a spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space;
matching each target device in each target space with each template device in each spatial configuration template according to the attribute information of the target device in each target space;
and carrying out batch configuration processing on the target equipment matched with the template equipment according to the equipment configuration information of the template equipment in the spatial configuration template.
2. The device configuration processing method according to claim 1, wherein obtaining the spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space comprises:
determining target spaces with the same spatial configuration attribute, wherein the spatial configuration attribute comprises a spatial type;
and binding the target space with the same spatial configuration attribute with the matched same spatial configuration template.
3. The device configuration processing method of claim 2, wherein binding the target spaces having the same spatial configuration property with the matching same spatial configuration template comprises:
determining each target subspace with the same subspace configuration attribute in the target spaces with the same spatial configuration attribute;
and binding each target subspace with the same subspace configuration attribute with the same space sub-configuration template in the matched same space configuration module.
4. The device configuration processing method according to claim 1, wherein matching, according to attribute information of target devices in each of the target spaces, each target device in each of the target spaces with each template device in each of the spatial configuration templates includes:
acquiring template equipment matched with the attribute information of the target equipment;
and if the template equipment matched with the attribute information of the target equipment comprises a plurality of template equipment, acquiring the template equipment with the highest priority in the template equipment matched with the attribute information of the target equipment, and matching the target equipment with the template equipment with the highest priority.
5. The device configuration processing method according to claim 1, wherein performing batch configuration processing on the target device matched with the template device according to the device configuration information of the template device in the spatial configuration template includes:
adding the target equipment to the corresponding target subspace according to the position configuration information of the corresponding template equipment; and/or
Configuring the function configuration parameters of the target equipment according to the function configuration information in the equipment configuration information of the template equipment in the corresponding space configuration template; and/or
And configuring the linkage configuration parameters of the target equipment according to the linkage configuration information of the corresponding template equipment.
6. The device configuration processing method according to claim 1, wherein after performing batch configuration processing on target devices matched with the template devices according to device configuration information of the template devices in the spatial configuration template, the method includes:
responding to an operation instruction, and controlling the target equipment in the target space to operate so as to obtain an operation result;
and if an adjusting instruction aiming at the equipment configuration information is received based on the operation result, updating the equipment configuration information according to the configuration adjusting information corresponding to the adjusting instruction to obtain the updated equipment configuration information.
7. The device configuration processing method according to claim 1, wherein after performing batch configuration processing on the target device matched with the template device according to the device configuration information of the spatial configuration template, the method includes:
automatically restoring the target equipment in the target space to the initial equipment configuration information according to the scene state of the target space; and/or
Automatically restoring the state of the target equipment in the target space to an initial state according to the scene state of the target space; and/or
And controlling the target equipment in the target space to execute a corresponding scene control instruction according to the scene state of the target space.
8. An apparatus configuration processing device, characterized in that the apparatus configuration processing device comprises:
the template acquisition module is used for acquiring a spatial configuration template corresponding to each target space according to the spatial configuration attribute of at least one target space;
the matching module is used for matching each target device in each target space with each template device in each spatial configuration template according to the attribute information of the target device in each target space;
and the configuration module is used for carrying out batch configuration processing on the target equipment matched with the template equipment according to the equipment configuration information of the template equipment in the spatial configuration template.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method according to any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202210410536.5A 2022-04-19 2022-04-19 Equipment configuration processing method and device, computer equipment and storage medium Pending CN114928538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210410536.5A CN114928538A (en) 2022-04-19 2022-04-19 Equipment configuration processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210410536.5A CN114928538A (en) 2022-04-19 2022-04-19 Equipment configuration processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114928538A true CN114928538A (en) 2022-08-19

Family

ID=82806686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210410536.5A Pending CN114928538A (en) 2022-04-19 2022-04-19 Equipment configuration processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114928538A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116319236A (en) * 2023-03-20 2023-06-23 深圳绿米联创科技有限公司 Space configuration method, device, terminal equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116319236A (en) * 2023-03-20 2023-06-23 深圳绿米联创科技有限公司 Space configuration method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108092861B (en) Configuration method for realizing equipment linkage, equipment linkage control method and device
US10803717B2 (en) Security application for residential electrical switch sensor device platform
EP3557339A1 (en) Linked control method for internet-of-things gateway and internet-of-things gateway
CN109587018B (en) Equipment configuration method, device, network system and mobile terminal
CN111208748B (en) Linkage control method and system based on Internet of things and computer equipment
EP3016318B1 (en) Method and apparatus for customizing scene mode of intelligent device
CN109040200B (en) Access method and device of Internet of things equipment
US10560279B2 (en) Method and server for controlling smart devices based on predefined scenario mode
US11881992B2 (en) Intelligent plug-and-play point-to-multipoint internet of things (IoT) platform and method of managing and using the same
JP2017510182A (en) Wireless sensor network
CN109660387A (en) Management method, device, server and the storage medium of configuration data of device
CN109407527B (en) Method and device for realizing intelligent equipment recommendation
EP3110147A1 (en) Method and device for processing request
KR102058557B1 (en) Apparatus and method for recommending indoor condition control mode based on smart home
JP6323786B2 (en) Server, control method and program
KR102456362B1 (en) Configuration Method of Action for external device and electronic device supporting the same
Haque et al. IoT based home automation system with customizable GUI and low cost embedded system
CN114928538A (en) Equipment configuration processing method and device, computer equipment and storage medium
CN115562053A (en) Household equipment control method and device, computer equipment and storage medium
JP6181486B2 (en) Communication system, server device, portable terminal device, and information processing method
WO2018211927A1 (en) Control apparatus, control program, learning data creation method, and learning method
CN106406132A (en) Device control method and system thereof
US11075775B2 (en) Home automation system including cloud server based maintenance operation communication and related methods
CN106774783B (en) Energy-saving control method and server
CN111026434B (en) Configuration method, device, computer equipment and storage medium of pension system

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