CN110795842B - Method and device for creating combined equipment model and control equipment - Google Patents

Method and device for creating combined equipment model and control equipment Download PDF

Info

Publication number
CN110795842B
CN110795842B CN201911018430.5A CN201911018430A CN110795842B CN 110795842 B CN110795842 B CN 110795842B CN 201911018430 A CN201911018430 A CN 201911018430A CN 110795842 B CN110795842 B CN 110795842B
Authority
CN
China
Prior art keywords
equipment
combined
sub
model
control
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
CN201911018430.5A
Other languages
Chinese (zh)
Other versions
CN110795842A (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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201911018430.5A priority Critical patent/CN110795842B/en
Publication of CN110795842A publication Critical patent/CN110795842A/en
Application granted granted Critical
Publication of CN110795842B publication Critical patent/CN110795842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method, a device and control equipment for creating a combined equipment model. The application comprises the following steps: determining a sub-equipment model matched with the description information of the sub-equipment model in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model; and associating all the determined sub-device models into the combined device model to create the combined device model. The application solves the problem of low operation efficiency caused by complicated control operation on combined household equipment in the related technology.

Description

Method and device for creating combined equipment model and control equipment
Technical Field
The application relates to the field of intelligent home control, in particular to a method, a device and control equipment for creating a combined equipment model.
Background
In the related art, under the intelligent home scene, a user can control intelligent home appliances by adopting two modes through an intelligent terminal:
small cycle: the intelligent terminal controls intelligent household appliances in the home domain network through the home intelligent gateway.
(II) large circulation: firstly, the intelligent terminal sends an application instruction to a Ping Yun platform through the mobile internet; and then, the cloud control platform forwards the application instruction to the home intelligent gateway connected with the cloud control platform through the mobile internet, so that the control of the intelligent home appliance is realized.
However, with the development of intelligent household appliance technology, on the basis of the existing intelligent household appliance single products, combined household appliances integrating various intelligent single products, such as integrated stoves integrating single products of smoke machines, stoves, disinfection cabinets and the like, appear.
The existing home appliance model mainly focuses on single-product intelligent home appliances and does not relate to combined home appliances.
In view of the above-mentioned problems existing in the related art, no effective solution has been proposed at present.
Disclosure of Invention
The application mainly aims to provide a method, a device and control equipment for creating a combined equipment model, which are used for solving the problem of low operation efficiency caused by complicated control operation on combined household equipment in the related technology.
To achieve the above object, according to one aspect of the present application, there is provided a method of creating a combined device model. The application comprises the following steps: determining a sub-equipment model matched with the description information of the sub-equipment model in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model; correlating all the determined sub-device models into a combined device model to create the combined device model
Further, the description information of the sub-device model at least comprises one of the following information: identification information of the sub-equipment model, and type information of the sub-equipment model.
Further, before determining the sub-device model matched with the description information of the sub-device model in the preset device model library according to the description information of the sub-device model preset in the combined device model, the method further comprises: the description information of one or more sub-device models is configured in the combined device model.
Further, the method further comprises: configuring one or more of the following information in the combined device model: identification information of the combined equipment model, attribute information of the combined equipment corresponding to the combined equipment, and control operation information of all sub equipment models in the combined equipment model.
In order to achieve the above object, according to another aspect of the present application, there is provided a control method of a combination device. The method comprises the following steps: when a connection instruction of the combined equipment is received, determining all sub-equipment models associated with the combined equipment model according to the combined equipment model corresponding to the combined equipment; creating a combined equipment object corresponding to the combined equipment model and a sub-equipment object corresponding to each sub-equipment model; when a control operation instruction corresponding to the combined equipment object is received, the control operation instruction is analyzed to determine a target sub-equipment object corresponding to the control operation instruction; and sending a control operation instruction to the target sub-equipment corresponding to the target sub-equipment object so as to control the target sub-equipment.
Further, under the condition that a control operation instruction corresponding to the combined equipment object is received, before the target sub-equipment object corresponding to the control operation instruction is determined by analyzing the control operation instruction, the method further comprises the steps of: and respectively updating the combined equipment object and each sub-equipment object according to the state data reported by the combined equipment.
Further, before determining all sub-device models associated with the combined device model according to the combined device model corresponding to the combined device, the method includes: and determining a combined equipment model corresponding to the combined equipment according to the identification information of the combined equipment carried by the connection instruction.
To achieve the above object, according to another aspect of the present application, there is provided an apparatus for creating a combined device model. The device comprises: the first determining module is used for determining a sub-equipment model matched with the description information of the sub-equipment model in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model; and the first creation module is used for associating all the determined sub-device models into the combined device model so as to create the combined device model.
In order to achieve the above object, according to another aspect of the present application, there is provided a control device of a combination apparatus. The device comprises: the second determining module is used for determining all sub-equipment models associated with the combined equipment model according to the combined equipment model corresponding to the combined equipment when a connection instruction of the combined equipment is received; the second creation module is used for creating a combined equipment object corresponding to the combined equipment model and a sub equipment object corresponding to each sub equipment model; the analysis module is used for determining a target sub-equipment object corresponding to the control operation instruction by analyzing the control operation instruction when receiving the control operation instruction corresponding to the combined equipment object; and the control module is used for sending a control operation instruction to the target sub-equipment corresponding to the target sub-equipment object so as to control the target sub-equipment.
In order to achieve the above object, according to another aspect of the present application, there is provided a control apparatus including a processor for executing a program stored in a memory to realize the steps of the control method of one of the above-described combination apparatuses.
In order to achieve the above object, according to another aspect of the present application, there is provided a cloud control platform including a processor and a memory, the processor being configured to execute a program stored in the memory to implement the steps of the control method of a combination device described above.
In order to achieve the above object, according to another aspect of the present application, there is provided a combined device model creation device including a processor for executing a program stored in a memory to implement the steps of the above-described method of creating a combined device model.
According to the application, the following steps are adopted: determining a sub-equipment model matched with the description information of the sub-equipment model in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model; all the determined sub-equipment models are associated to the combined equipment model to create the combined equipment model, so that the problem of low operation efficiency caused by complicated control operation on combined household equipment in the related technology is solved, and the combined equipment is controlled by constructing the combined equipment model, so that the effect of improving the control efficiency of the combined household equipment is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
FIG. 1 is a flow chart of a method of creating a combined device model provided in accordance with an embodiment of the present application; and
FIG. 2 is a schematic diagram of a device model created from home devices;
FIG. 3 is a schematic diagram of a combined device model according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a combined equipment model associated sub-equipment model of an integrated kitchen provided by an embodiment of the present application;
fig. 5 is a flowchart of a control method of a combined apparatus according to an embodiment of the present application;
FIG. 6 is a flow chart of a control method for controlling a combined device according to a combined device model according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an apparatus for creating a combined device model according to an embodiment of the present application;
fig. 8 is a schematic diagram of a control device of a combination device according to an embodiment of the present application.
Detailed Description
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the application herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present application, a method of creating a combined device model is provided.
Fig. 1 is a flowchart of a method of creating a combined device model according to an embodiment of the present application. As shown in fig. 1, the application comprises the following steps:
step S101, determining a sub-equipment model matched with the description information of the sub-equipment model in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model.
Above-mentioned ground, along with intelligent household electrical appliances technology development, on the basis of current intelligent household electrical appliances single article, the combination household electrical appliances of integrated multiple intelligent single article have appeared, have integrated kitchen of single article such as cigarette machine, cooking utensils, sterilizer, still integrated equipment such as integrated lamp.
The existing household appliance model mainly focuses on single-product intelligent household appliances and does not relate to combined household appliances, so that in order to realize control of the intelligent combined household appliances, the embodiment of the application provides a method for creating the combined equipment model.
Specifically, the description information of the sub-device included in the combined device model is preset in the combined device model, where one combined device model includes at least the description information of one sub-device model, and a model of the sub-device included in the related technology exists in a preset device model library, so that the model of the sub-device used for associating with the combined device model can be matched in the preset device model library through the description information of the sub-device set in the combined device model.
It should be noted that, in this embodiment, the combined device model provided in this embodiment is equivalent to a pointer, and is used to match the model of the sub device corresponding to the combined device model.
And step S102, associating all the determined sub-device models into a combined device model to create the combined device model.
Specifically, according to the steps, the sub-equipment model required to be associated with the combined equipment model can be determined, and the determined sub-equipment model is associated with the combined equipment model with the description information of the sub-equipment model, so that the combined equipment model associated with the sub-equipment model is created.
The above-mentioned, each sub-device model existing in the preset device model library is implemented based on the creation of the home appliance model. Fig. 2 is a schematic diagram of a device model created according to a home appliance, and as shown in fig. 2, each sub-device model mainly includes fields of a device type, an attribute, an operation, and the like.
As shown in fig. 2, the Device type deviceType field is used for corresponding to a Device type identifier, and the Device is used for representing a Device model corresponding to a Device in a Device.
The attribute property field is used to indicate: describing various attributes which can be accessed by the equipment, including attributes representing the working state of the equipment, objective environment attributes obtained by measuring and other modes, and the like; each attribute contains fields of data type dataType, value, value range, operation type opType, description and the like.
The operation field is used for describing various operations which are provided by the equipment outwards and can be called; each operation contains fields such as parameter.
Through the definition of each field, a sub-equipment model corresponding to each household electrical appliance existing in the preset equipment model library is formed.
Optionally, the description information of the sub-device model includes at least one of the following information: identification information of the sub-equipment model, and type information of the sub-equipment model.
In the foregoing, according to the created combined device model provided by the embodiment of the application, the combined device model is equivalent to a pointer, and each sub-device model is associated with the combined device model through the description information of the sub-device model contained in the combined device model.
Specifically, the description information of each sub-device included in the combined device model includes at least the following: identification information of the sub-equipment model, and type information of the sub-equipment model.
The identification information of the sub-device is the identification of the current sub-device in the combined device, and the information used for identifying the sub-device is unique in the combined device, preferably, the identification information of the sub-device is the number of the sub-device. The type of the child device refers to the device type of the current child device, and corresponds to the child device through a field defining the type of the child device.
Optionally, before determining the sub-device model matching the description information of the sub-device model in the preset device model library according to the description information of the sub-device model preset in the combined device model, the method further includes: the description information of one or more sub-device models is configured in the combined device model.
Before determining the sub-device model according to the description information of the sub-device in the combined device model, the method further comprises: the description information of each sub-device included in the combined device is configured into the combined device model.
For example: taking an integrated kitchen integrating 3 seed devices of a smoke machine, a kitchen range and a disinfection cabinet as an example, the association of all the sub-device models in the integrated kitchen is realized by configuring the description information of the sub-device models corresponding to the three seed devices of the smoke machine, the kitchen range and the disinfection cabinet into the integrated kitchen combined device model. Therefore, before determining the sub-device model, the description information of the sub-device needs to be configured into the combined device model, so that when the corresponding sub-device model is perhaps determined, the sub-device model corresponding to the sub-device can be found according to the description information of the sub-device.
Optionally, the method further comprises: configuring one or more of the following information in the combined device model: identification information of the combined equipment model, attribute information of the combined equipment corresponding to the combined equipment, and control operation information of all sub equipment models in the combined equipment model.
Specifically, the combined device model provided in the embodiment describes, in addition to the description information including the above-mentioned sub-device models, basic information such as the type of the combined device corresponding to the combined device model, a sub-device list included in the combined device, and common operations for all the sub-devices, as shown in fig. 3, fig. 3 is a schematic diagram of the combined device model provided in the embodiment of the present application.
Device type deviceType: description of the Combined deviceIs a device type of (a).
Subset list of devices subDev [1 ]]: all pieces of sub-device information contained in the combined device are described, and each piece of sub-device information contains the following fields:
vsub-device number subId: the identification of the current sub-device in the combined device is unique in the combined device;
type of sub-device subType: the device type of the current sub-device is associated with the device model corresponding to the sub-device through the field.
Public Property list [ j ]]: common attributes supported by the combined device, such as total power usage of the device, etc., are described.
Public operation list publicOperation [ m ]]: common operations supported by the combined device are described, such as all sub-device power on operation allPowerOn, all sub-device power off operation allPowerOff, etc.
For example, as shown in fig. 4, fig. 4 is a schematic diagram of a combined equipment model association sub-equipment model of an integrated kitchen range provided in an embodiment of the present application, wherein different description information of a kitchen range, a smoke machine and a sterilizing cabinet included in the combined equipment model corresponding to the integrated kitchen range is defined by different fields defined, wherein three sub-equipment models corresponding to the kitchen range, the smoke machine and the sterilizing cabinet can be determined by three subType fields defined in the combined equipment model of the integrated kitchen range, and the determined three sub-equipment models are associated to the combined equipment model corresponding to the integrated kitchen range.
In view of the foregoing, an embodiment of the present application provides a method for creating a combined device model, where, on one hand, a combined device model is defined for describing basic information and common functional features of a combined device; on the other hand, the equipment model corresponding to the sub-equipment contained in the combined equipment is related to the combined equipment model, so that the model construction of the whole combined equipment is completed.
Through the method, the combined equipment model with the new data structure is redefined and is used for describing the basic information and the public functional characteristics of the combined equipment, wherein the specific functional characteristics of each piece of sub equipment contained in each combined equipment can be used for multiplexing the existing equipment model, so that the equipment modeling process is simplified, the repeated development workload is reduced, and the efficiency of accessing the equipment into a network can be remarkably improved.
According to the method for creating the combined equipment model, the sub equipment model matched with the description information of the sub equipment model is determined in a preset equipment model library according to the description information of the sub equipment model preset in the combined equipment model; all the determined sub-equipment models are associated to the combined equipment model to create the combined equipment model, so that the problem of low operation efficiency caused by complicated control operation on combined household equipment in the related technology is solved, and the combined equipment is controlled by constructing the combined equipment model, so that the effect of improving the control efficiency of the combined household equipment is achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
According to an embodiment of the present application, there is provided a control method of a combination device.
Fig. 5 is a flowchart of a control method of a combination device according to an embodiment of the present application. As shown in fig. 5, the application includes the steps of:
s501, when a connection instruction of the combined equipment is received, determining all sub-equipment models associated with the combined equipment model according to the combined equipment model corresponding to the combined equipment;
in the foregoing, according to the method for creating a combined device model provided by the embodiment of the present application, combined devices corresponding to all combined devices in home life are created, so that a cloud control platform includes combined device models corresponding to multiple combined devices.
Specifically, when one combined device sends a connection instruction to the cloud control platform, the corresponding combined device model receives the connection instruction, and determines the corresponding sub-device model according to the description information of the sub-devices contained in the combined device model.
S502, creating a combined device object corresponding to the combined device model and a sub-device object corresponding to each sub-device model.
Specifically, the sub-equipment model corresponding to the combined equipment comprises operation state information corresponding to each sub-equipment, when the sub-equipment model reflecting the operation state information of the sub-equipment is related to the combined equipment model, a combined equipment object corresponding to the combined equipment is created, and the combined equipment object comprises all the attributes and operations of all the sub-equipment corresponding to the combined equipment, wherein the combined equipment object can reflect the state operation information of the combined equipment.
S503, when a control operation instruction corresponding to the combined equipment object is received, determining a target sub-equipment object corresponding to the control operation instruction by analyzing the control operation instruction;
in the embodiment, the control terminal is connected to the cloud control platform, and after the control terminal sends the operation instruction, the cloud control platform analyzes the operation instruction, and determines the target sub-device object in the combined device to be controlled according to the information contained in the operation instruction.
For example: the operation instruction is "turn on the lighting function of the smoke machine", and after the cloud control platform analyzes the operation instruction, the sub-equipment object-the smoke machine aimed at by the operation instruction is obtained.
S504, a control operation instruction is sent to the target sub-equipment corresponding to the target sub-equipment object so as to control the target sub-equipment.
Specifically, after an operation object corresponding to the operation instruction is determined, the cloud control platform automatically issues a control instruction to the smoke machine so as to control the smoke machine to start a lighting function.
Optionally, before the target sub-device object corresponding to the control operation instruction is determined by analyzing the control operation instruction under the condition that the control operation instruction corresponding to the combined device object is received, the method further includes: and respectively updating the combined equipment object and each sub-equipment object according to the state data reported by the combined equipment.
Specifically, before the target sub-device is controlled, after the combined device object is created, the method further includes: and respectively updating the running state of the combined equipment model and each sub-equipment object according to the running state data reported by the combined equipment, so that the combined equipment object or the sub-equipment object reflects the running state of the combined equipment and the sub-equipment corresponding to the combined equipment in real time.
Optionally, before determining all sub-device models associated with the combined device model according to the combined device model corresponding to the combined device, the method includes: and determining a combined equipment model corresponding to the combined equipment according to the identification information of the combined equipment carried by the connection instruction.
Before determining the corresponding sub-device in the combined device model and creating the combined device object, the method further comprises determining the combined device model corresponding to the combined device and existing on the cloud control platform according to the identification information of the combined device included in the connection instruction.
According to an embodiment of the present application, there is provided a control method of controlling a combined device according to a combined device model.
Fig. 6 is a flow chart of a control method for controlling a combined device according to a combined device model according to an embodiment of the present application. As shown in fig. 6, the application includes the steps of:
step 601: according to the method for creating the combined equipment model, which is provided by the embodiment of the application, the combined equipment model, for example, the integrated kitchen equipment model is built in the cloud control platform in advance.
Step 602: the integrated kitchen equipment sends an online notice to the cloud control platform and registers to the cloud control platform. The on-line notification contains the device type of the integrated kitchen device.
Step 603: the cloud control platform inquires an integrated kitchen equipment model according to the information contained in the online notification; and then, inquiring the model of the seed equipment of the smoke machine, the kitchen range and the disinfection cabinet 3 according to the types of the seed equipment contained in the model seed equipment list.
Step 604: and the cloud control platform creates an integrated kitchen equipment object according to the query result, wherein the object contains all attributes and operations of the smoke machine, the kitchen range and the sterilizing cabinet 3 seed equipment.
Step 605: and reporting state data by the integrated kitchen range.
Step 606: and after receiving the status data reported by the integrated kitchen, the cloud control platform updates the status of the integrated kitchen object.
Step 607: the user sends an integrated oven operation command, such as "turn on the range lighting function", through the APP.
Step 608: the cloud control platform analyzes the user instruction and acquires a sub-equipment object-the smoke machine aimed by the user operation.
Step 609: the cloud control platform automatically issues a control instruction to the smoke machine to start the lighting function.
Step 6010: the smoke machine receives the control instruction, starts the lighting function, and reports the execution result to the cloud control platform; and the cloud control platform feeds back the execution result to the user.
By the method, the problem of low operation efficiency caused by complicated control operation on the combined household equipment in the related technology is solved, and the combined equipment is controlled by constructing the combined equipment model, so that the effect of improving the control efficiency of the combined household equipment is achieved.
The embodiment of the application also provides a device for creating the combined equipment model and a control device of the combined equipment, and the device for creating the combined equipment model and the control device of the combined equipment can be used for executing the method for creating the combined equipment model and the control method of the combined equipment provided by the embodiment of the application. The following describes an apparatus for creating a model of a combined device and a control apparatus for a combined device according to an embodiment of the present application.
Fig. 7 is a schematic diagram of an apparatus for creating a combined device model according to an embodiment of the present application. As shown in fig. 7, the apparatus includes: a first determining module 701, configured to determine, in a preset device model library, a sub-device model that matches the description information of the sub-device model according to the description information of the sub-device model preset in the combined device model; the first creating module 702 is configured to associate all the determined sub device models into a combined device model, so as to create the combined device model.
According to the device for creating the combined equipment model, provided by the embodiment of the application, through the first determining module 701, a sub-equipment model matched with the description information of the sub-equipment model is determined in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model; the first creation module 702 associates all the determined sub-equipment models with the combined equipment model to create the combined equipment model, so that the problem of low operation efficiency caused by complicated control operation on the combined household equipment in the related technology is solved, and the combined equipment is controlled by constructing the combined equipment model, so that the effect of improving the control efficiency of the combined household equipment is achieved.
Fig. 8 is a schematic diagram of a control device of a combination device according to an embodiment of the present application. As shown in fig. 6, the apparatus includes: a second determining module 801, configured to determine, when a connection instruction of the combined device is received, all sub-device models associated with the combined device model according to a combined device model corresponding to the combined device; a second creating module 802, configured to create a combined device object corresponding to the combined device model, and a sub device object corresponding to each sub device model; the parsing module 803 is configured to, when receiving a control operation instruction corresponding to the combined device object, parse the control operation instruction to determine a target sub-device object corresponding to the control operation instruction; the control module 804 is configured to send a control operation instruction to a target sub-device corresponding to the target sub-device object, so as to control the target sub-device.
According to the control device of the combined equipment, provided by the embodiment of the application, through the second determining module 801, when a connection instruction of the combined equipment is received, all sub-equipment models associated with the combined equipment model are determined according to the combined equipment model corresponding to the combined equipment; a second creating module 802, configured to create a combined device object corresponding to the combined device model, and a sub device object corresponding to each sub device model; the parsing module 803 is used for determining a target sub-device object corresponding to the control operation instruction by parsing the control operation instruction when receiving the control operation instruction corresponding to the combined device object; the control module 804 sends a control operation instruction to the target sub-device corresponding to the target sub-device object to control the target sub-device, so that the problem of low operation efficiency caused by complex control operation on the combined household device in the related technology is solved, and the combined device is controlled by constructing a combined device model, so that the effect of improving the control efficiency of the combined household device is achieved.
The embodiment of the application also provides a control device, which comprises a processor and a memory, wherein the processor is used for executing a program stored in the memory so as to realize the steps in the control method of the combined device.
The embodiment of the application also provides a cloud control platform, which comprises a processor and a memory, wherein the processor is used for executing a program stored in the memory so as to realize the steps in the control method of the combined equipment.
The embodiment of the application also provides equipment for creating the combined equipment model. The creation device comprises a processor and a memory, the processor being adapted to execute a program stored in the memory to implement the steps in one of the above-described methods of creating a combined device model.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one kernel, and the problem of low operation efficiency caused by complicated control operation on combined household equipment in the related technology is solved by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the application provides a memory, and a program is stored on the memory, and the program is executed by a processor to realize a method for creating a combined device model and a control method of the combined device.
The embodiment of the application provides a processor, which is used for running a program, wherein the program runs to execute a method for creating a combined equipment model and a control method of combined equipment.
The application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: determining a sub-equipment model matched with the description information of the sub-equipment model in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model; correlating all the determined sub-device models into a combined device model to create the combined device model
Optionally, the description information of the sub-device model includes at least one of the following information: identification information of the sub-equipment model, and type information of the sub-equipment model.
Optionally, before determining the sub-device model matching the description information of the sub-device model in the preset device model library according to the description information of the sub-device model preset in the combined device model, the method further includes: the description information of one or more sub-device models is configured in the combined device model.
Optionally, the method further comprises: configuring one or more of the following information in the combined device model: identification information of the combined equipment model, attribute information of the combined equipment corresponding to the combined equipment, and control operation information of all sub equipment models in the combined equipment model.
When a connection instruction of the combined equipment is received, determining all sub-equipment models associated with the combined equipment model according to the combined equipment model corresponding to the combined equipment; creating a combined equipment object corresponding to the combined equipment model and a sub-equipment object corresponding to each sub-equipment model; when a control operation instruction corresponding to the combined equipment object is received, the control operation instruction is analyzed to determine a target sub-equipment object corresponding to the control operation instruction; and sending a control operation instruction to the target sub-equipment corresponding to the target sub-equipment object so as to control the target sub-equipment.
Optionally, before the target sub-device object corresponding to the control operation instruction is determined by analyzing the control operation instruction under the condition that the control operation instruction corresponding to the combined device object is received, the method further includes: and respectively updating the combined equipment object and each sub-equipment object according to the state data reported by the combined equipment.
Optionally, before determining all sub-device models associated with the combined device model according to the combined device model corresponding to the combined device, the method includes: and determining a combined equipment model corresponding to the combined equipment according to the identification information of the combined equipment carried by the connection instruction.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. A control method of a combination device, characterized by comprising:
when a connection instruction of the combined equipment is received, determining all sub-equipment models associated with the combined equipment model according to the combined equipment model corresponding to the combined equipment;
creating a combined equipment object corresponding to the combined equipment model and a sub-equipment object corresponding to each sub-equipment model;
when a control operation instruction corresponding to the combined equipment object is received, the control operation instruction is analyzed to determine a target sub-equipment object corresponding to the control operation instruction;
and sending a control operation instruction to the target sub-equipment corresponding to the target sub-equipment object so as to control the target sub-equipment.
2. The method according to claim 1, wherein, in the case of receiving a control operation instruction corresponding to the combined device object, before determining a target sub-device object corresponding to the control operation instruction by parsing the control operation instruction, the method further comprises:
and respectively updating the combined equipment object and each sub-equipment object according to the state data reported by the combined equipment.
3. A method according to claim 1 or 2, characterized in that before determining all sub-device models associated with the combined device model from the combined device model to which the combined device corresponds, the method comprises:
and determining a combined equipment model corresponding to the combined equipment according to the identification information of the combined equipment carried by the connection instruction.
4. The method according to claim 1, wherein the method further comprises:
the combined device model is created by:
determining a sub-equipment model matched with the description information of the sub-equipment model in a preset equipment model library according to the description information of the sub-equipment model preset in the combined equipment model;
and associating all the determined sub-equipment models into the combined equipment model to create the combined equipment model.
5. The method of claim 4, wherein the description information of the sub-device model includes at least one of the following information: identification information of the sub-equipment model, and type information of the sub-equipment model.
6. The method according to claim 4 or 5, wherein before determining a sub-device model matching the description information of the sub-device model in a preset device model library based on the description information of the sub-device model preset in the combined device model, the method further comprises:
and configuring description information of one or more sub-equipment models in the combined equipment model.
7. The method according to claim 4, wherein the method further comprises:
configuring one or more of the following information in the combined device model: and the combination equipment model corresponds to the attribute information of the combination equipment, and controls the control operation information of all the sub equipment models in the combination equipment model.
8. A control device for a combination device, comprising:
the second determining module is used for determining all sub-equipment models associated with the combined equipment model according to the combined equipment model corresponding to the combined equipment when a connection instruction of the combined equipment is received;
the second creating module is used for creating a combined equipment object corresponding to the combined equipment model and a sub equipment object corresponding to each sub equipment model;
the analysis module is used for determining a target sub-equipment object corresponding to the control operation instruction by analyzing the control operation instruction when receiving the control operation instruction corresponding to the combined equipment object;
and the control module is used for sending a control operation instruction to the target sub-equipment corresponding to the target sub-equipment object so as to control the target sub-equipment.
9. A control apparatus, characterized in that the control apparatus comprises:
a processor and a memory, the processor being configured to execute a program stored in the memory to implement the steps of the control method of the combined device according to any one of claims 1 to 7.
10. A cloud control platform, characterized in that the cloud control platform comprises:
a processor and a memory, the processor being configured to execute a program stored in the memory to implement the steps of the control method of the combined device according to any one of claims 1 to 7.
CN201911018430.5A 2019-10-24 2019-10-24 Method and device for creating combined equipment model and control equipment Active CN110795842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911018430.5A CN110795842B (en) 2019-10-24 2019-10-24 Method and device for creating combined equipment model and control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911018430.5A CN110795842B (en) 2019-10-24 2019-10-24 Method and device for creating combined equipment model and control equipment

Publications (2)

Publication Number Publication Date
CN110795842A CN110795842A (en) 2020-02-14
CN110795842B true CN110795842B (en) 2023-10-27

Family

ID=69441129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911018430.5A Active CN110795842B (en) 2019-10-24 2019-10-24 Method and device for creating combined equipment model and control equipment

Country Status (1)

Country Link
CN (1) CN110795842B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799735B (en) * 2021-01-11 2023-03-28 厦门立林科技有限公司 Combined equipment model system and method supporting dynamic configuration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852975A (en) * 2015-04-29 2015-08-19 北京海尔广科数字技术有限公司 Household equipment calling method and household equipment calling device
CN104991537A (en) * 2015-06-30 2015-10-21 青岛海尔智能家电科技有限公司 Control method of smart device
CN105760491A (en) * 2016-02-18 2016-07-13 中国科学院信息工程研究所 Data modeling method and device based on equipment functions
CN109857003A (en) * 2019-01-29 2019-06-07 珠海优特智厨科技有限公司 Cooking control method, culinary art control device and integrated kitchen range

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050275626A1 (en) * 2000-06-21 2005-12-15 Color Kinetics Incorporated Entertainment lighting system
US20090036750A1 (en) * 2007-05-25 2009-02-05 The Charles Stark Draper Laboratory, Inc. Integration and control of medical devices in a clinical environment
US8788520B2 (en) * 2011-08-30 2014-07-22 International Business Machines Corporation Gathering device attributes from multiple devices to exploit the common or complimentary features on those devices
CN105825253A (en) * 2016-03-29 2016-08-03 腾讯科技(深圳)有限公司 Target object display method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852975A (en) * 2015-04-29 2015-08-19 北京海尔广科数字技术有限公司 Household equipment calling method and household equipment calling device
CN104991537A (en) * 2015-06-30 2015-10-21 青岛海尔智能家电科技有限公司 Control method of smart device
CN105760491A (en) * 2016-02-18 2016-07-13 中国科学院信息工程研究所 Data modeling method and device based on equipment functions
CN109857003A (en) * 2019-01-29 2019-06-07 珠海优特智厨科技有限公司 Cooking control method, culinary art control device and integrated kitchen range

Also Published As

Publication number Publication date
CN110795842A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
US10656917B2 (en) Generation of a device application
EP3235182B1 (en) Method and apparatus for controlling device using a service rule
CN109358512A (en) A kind of intelligent home furnishing control method, cloud server, system and storage medium
CN112782996B (en) Equipment linkage method and device, storage medium and electronic device
CN110795842B (en) Method and device for creating combined equipment model and control equipment
CN108303902B (en) Equipment control method, medium, equipment and device
CN109361579A (en) A kind of smart machine control method, system and storage medium
CN113590101A (en) Intelligent device function page configuration method, server and client
CN105512955A (en) Method and system for assembling modular products
CN109828840A (en) Resource method of combination, device, storage medium and electronic equipment
CN111736938A (en) Information display method and device, storage medium and electronic device
CN114697150A (en) Command issuing method and device, storage medium and electronic device
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
WO2024001113A1 (en) Map determination method and device, storage medium, and electronic device
CN112035102A (en) Configuration method and device of data interface, storage medium and electronic device
CN111211952B (en) Method and device for interaction of cigarette making machine, storage medium and processor
CN115484119B (en) Control method and device of equipment, storage medium and electronic device
CN110865544B (en) Method and device for predicting connection relation of intelligent home system
CN117763028A (en) Cross-platform warehousing method, equipment and medium for Internet of things data
CN114826899B (en) Debugging method and device for equipment control service, storage medium and electronic device
CN116541012A (en) Basic parameter modification method and device, storage medium and electronic device
CN116521163A (en) Operation page generation method and device, storage medium and electronic device
CN116980866A (en) Binding method and device of data tag, storage medium and electronic device
CN116756154A (en) Integral modification method, storage medium and electronic device
CN115033475A (en) Test case execution method and device, storage medium and electronic device

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