CN110795842A - 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
CN110795842A
CN110795842A CN201911018430.5A CN201911018430A CN110795842A CN 110795842 A CN110795842 A CN 110795842A CN 201911018430 A CN201911018430 A CN 201911018430A CN 110795842 A CN110795842 A CN 110795842A
Authority
CN
China
Prior art keywords
equipment
sub
model
combined
combined equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911018430.5A
Other languages
Chinese (zh)
Other versions
CN110795842B (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

Images

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], 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

Abstract

The invention discloses a method and a device for creating a combined equipment model and control equipment. The invention 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-equipment models into the combined equipment model to create the combined equipment model. The invention solves the problem of low operation efficiency caused by complicated control operation of the 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 and a device for creating a combined equipment model and control equipment.
Background
In the correlation technique, under the intelligent house scene, the user can adopt two kinds of modes to realize the control to intelligent household electrical appliances through intelligent terminal:
a small cycle: the intelligent terminal controls the intelligent household appliances through the household intelligent gateway in the household domain network.
(II) a large circulation: firstly, the intelligent terminal sends an application instruction to a pan-tilt head through a 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 household appliance is realized.
However, with the development of intelligent household appliance technology, on the basis of the existing single intelligent household appliance, a combination household appliance integrating various intelligent single appliances appears, such as an integrated kitchen integrating single appliances such as a cigarette machine, a kitchen range and a disinfection cabinet.
The existing household appliance model mainly focuses on single-product intelligent household appliances, and does not relate to combined household appliances.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
The invention mainly aims to provide a method, a device and a control device for creating a combined equipment model, so as to solve the problem of low operation efficiency caused by complicated control operation on combined household equipment in the related art.
To achieve the above object, according to one aspect of the present invention, there is provided a method of creating a composite device model. The invention 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; associating all the determined sub-equipment models into a combined equipment model to create the combined equipment model
Further, the description information of the sub-device model at least includes one of the following information: identification information of the sub-device model, and type information of the sub-device model.
Further, before determining, in a preset device model library, a sub device model matching description information of the sub device model according to description information of the sub device model preset in the combined device model, the method further includes: and configuring description information of one or more sub-equipment models in the combined equipment model.
Further, the method further comprises: configuring one or more of the following information in the combined equipment model: the identification information of the combined equipment model, the attribute information of the combined equipment corresponding to the combined equipment model and the control operation information of all the sub-equipment models in the combined equipment model are controlled.
In order to achieve the above object, according to another aspect of the present invention, there is provided a control method of a composite apparatus. 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, determining a target sub-equipment object corresponding to the control operation instruction by analyzing 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, in a case that a control operation instruction corresponding to the combined device object is received, before determining a target sub device object corresponding to the control operation instruction by analyzing the control operation instruction, 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.
Further, before determining all the 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 invention, there is provided an apparatus for creating a composite device model. The device includes: the first determining module is used for determining the 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 creating module is used for associating all the determined sub-equipment models to the combined equipment model so as to create the combined equipment model.
In order to achieve the above object, according to another aspect of the present invention, there is provided a control apparatus of a composite set. The device includes: 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 the connecting 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 the control operation instruction corresponding to the combined equipment object is received; 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 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 combination apparatus described above.
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 the combined device.
In order to achieve the above object, according to another aspect of the present application, there is provided a composite device model creation device including a processor and a memory, the processor being configured to execute a program stored in the memory to implement the steps of the above-described method of creating a composite device model.
The invention adopts 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-equipment models 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 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.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method for creating a composite plant model provided in accordance with an embodiment of the present invention; and
FIG. 2 is a diagram of a device model created from a home device;
FIG. 3 is a schematic diagram of a combined plant model provided by an embodiment of the present application;
fig. 4 is a schematic diagram of a combined device model association sub-device model of an integrated cooker according to an embodiment of the present application;
fig. 5 is a flowchart of a control method of a combination device according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating a control method for controlling a cluster tool according to a cluster tool model according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an apparatus for creating a combined equipment model according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a control device of a combined device according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the invention 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 invention, a method of creating a composite device model is provided.
Fig. 1 is a flowchart of a method for creating a combined device model according to an embodiment of the present invention. As shown in fig. 1, the present invention comprises the steps of:
and step S101, determining the 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, along with the development of intelligent household electrical appliances technique, on the basis of current intelligent household electrical appliances list article, the combination household electrical appliances of integrated multiple intelligent list article have appeared, for example integrated kitchen of list articles such as cigarette machine, cooking utensils, sterilizer, integrated equipment such as integrated lamp in addition.
The existing household appliance model mainly focuses on single-product intelligent household appliances, and does not relate to combined household appliances, so that the embodiment of the application provides a method for creating a combined appliance model in order to realize control on the intelligent combined household appliances.
Specifically, the description information of the included sub-devices is preset in the combined device model provided in this embodiment, where one combined device model at least includes the description information of one sub-device model, and a model of the sub-device included in the related art exists in a preset device model library, so that a model for the sub-device associated 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 the combined device model provided in this embodiment is equivalent to a pointer, and is used for matching the model of the sub-device corresponding to the combined device model.
And step S102, associating all the determined sub-equipment models to a combined equipment model to create the combined equipment model.
Specifically, according to the above steps, a sub-device model that needs to be associated with the combination device model can be determined, and the determined sub-device model is associated with the combination device model having the description information of the sub-device model, so as to create the combination device model associated with the sub-device model.
In the above, each sub-device model existing in the preset device model library is implemented based on the home device model creation. Fig. 2 is a schematic diagram of a device model created according to a home device, and as shown in fig. 2, each sub-device model mainly includes fields of device type, attribute, operation, and the like.
As shown in fig. 2, the deviceType field is used for corresponding to the Device type identifier, and the Device is used for representing the Device model corresponding to the Device.
The property field is used to represent: 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 comprises fields of a data type dataType, a value, a value range value, an operation type opType and description.
The operation field is used for describing various operations which are provided by the equipment to the outside and can be called; each operation contains fields such as parameter.
Through the definition of each field, a sub-device model corresponding to each household appliance in a preset device 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-device model, and type information of the sub-device model.
In the above, according to the created combined device model provided in the embodiment of the present application, the combined device model is equivalent to a pointer, and the sub device models are associated with the combined device model through the description information of the sub device models included in the combined device model.
Specifically, the description information of each sub-device included in the combined device model at least includes the following: identification information of the sub-device model, and type information of the sub-device model.
The identification information of the sub-device is an identification of the current sub-device inside the combination device, and is unique information for identifying the sub-device in the combination device, and preferably, the identification information of the sub-device is a sub-device number. The type of the sub-device refers to the device type of the current sub-device, and corresponds to the sub-device through a field defining the type of the sub-device.
Optionally, before determining, in a preset device model library, a sub device model matching description information of the sub device model according to description information of the sub device model preset in the combined device model, the method further includes: and configuring description information of one or more sub-equipment models in the combined equipment model.
Before determining the sub-device model according to the description information of the sub-devices in the combined device model, the method further includes: and configuring the description information of each sub-device included in the combined device into a combined device model.
For example: taking an integrated cooker integrated with a cigarette machine, a cooker and 3 kinds of sub-equipment of a disinfection cabinet as an example, the description information of the sub-equipment models corresponding to the three kinds of sub-equipment of the cigarette machine, the cooker and the disinfection cabinet is configured into the integrated cooker combined equipment model, so that the association of each sub-equipment model in the integrated cooker is realized. 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 the sub-device model corresponding to the sub-device can be found according to the description information of the sub-device when the corresponding sub-device model is perhaps determined.
Optionally, the method further comprises: configuring one or more of the following information in the combined equipment model: the identification information of the combined equipment model, the attribute information of the combined equipment corresponding to the combined equipment model and the control operation information of all the sub-equipment models in the combined equipment model are controlled.
Specifically, the combined device model provided in this embodiment includes, in addition to the description information of the sub-device model, basic information such as a type of the combined device corresponding to the combined device model, a sub-device list included in the combined device, and the like, and common operation for all the sub-devices, as shown in fig. 3, where fig. 3 is a schematic diagram of the combined device model provided in this embodiment of the present application.
Figure BDA0002246424160000061
Device type deviceType: the device type of the combined device is described.
Child device list subDev [ 1)]: describing all the sub-device information contained in the combined device, wherein each piece of sub-device information contains the following fields:
child device number subId: the identifier of the current sub-equipment in the combined equipment is unique in the combined equipment;
v child device type sublype: the device type of the current sub-device is associated with the device model corresponding to the sub-device through the field.
Figure BDA0002246424160000063
Public property list publishProperty j]: common attributes supported by the composite device, such as total power usage by the device, are described.
Public operation list publicOperation m]: common operations supported by the composite device are described, such as all sub-device power-on operations allPowerOn, all sub-device power-off operations allPowerOff, and so on.
For example, as shown in fig. 4, fig. 4 is a schematic diagram of a combined device model association sub-device model of an integrated cooker provided in an embodiment of the present application, where different description information of a cooker, a smoke machine, and a disinfection cabinet included in the combined device model corresponding to the integrated cooker is defined by different defined fields, where three sub-device models corresponding to the cooker, the smoke machine, and the disinfection cabinet can be determined by three defined subType fields in the combined device model of the integrated cooker, and the determined three sub-device models are associated to the combined device model corresponding to the integrated cooker.
In light of the foregoing, embodiments of the present application provide a method for creating a combined device model, wherein, 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 models corresponding to the sub-equipment included in the combined equipment are associated to the combined equipment model, so that the model construction of the whole combined equipment is completed.
Through the method, a combined equipment model with a new data structure is redefined and used for describing basic information and public functional characteristics of combined equipment uide, wherein the specific functional characteristics of each sub-equipment contained in each combined equipment can reuse 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 to the network can be obviously improved.
According to the method for creating the combined equipment model, provided by the embodiment of the invention, 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; and associating all the determined sub-equipment models 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 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.
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 different than presented herein.
According to an embodiment of the present invention, there is provided a control method of a composite apparatus.
Fig. 5 is a flowchart of a control method of a combination device according to an embodiment of the present invention. As shown in fig. 5, the present invention comprises 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 above, according to the method for creating the combined device model provided by the embodiment of the present application, the combined devices corresponding to all the combined devices in the home life are created, so that the cloud control platform includes the combined device models corresponding to a plurality of 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-device included in the combined device model.
S502, a combined device object corresponding to the combined device model and a sub device object corresponding to each sub device model are created.
Specifically, the sub-device model corresponding to the combination device includes the operation state information corresponding to each sub-device, and when the sub-device model reflecting the operation state information of the sub-device is associated to the combination device model, a combination device object corresponding to the combination device is created, where the combination device object includes all attributes and operations of each sub-device corresponding to the combination device, and the combination device object may reflect the state operation information of the combination device.
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 above, in this 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 combination device that needs to be controlled according to the information included in the operation instruction.
For example: the operation instruction is 'turning on the lighting function of the smoke machine', and after the cloud control platform analyzes the operation instruction, the smoke machine, which is the sub-equipment object aimed by the operation instruction, is obtained.
S504, a control operation instruction is sent to the target sub-device corresponding to the target sub-device object so as to control the target sub-device.
Specifically, after an operation object corresponding to the operation instruction is determined, the cloud control platform automatically issues a control instruction to the cigarette making machine so as to control the cigarette making machine to start the lighting function.
Optionally, in a case that a control operation instruction corresponding to the combined device object is received, before determining a target sub device object corresponding to the control operation instruction by analyzing the control operation instruction, 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 controlling the target sub-device, after creating the combined device object, the method further includes: and respectively updating the operation states of the combined equipment model and each sub-equipment object according to the operation state data reported by the combined equipment, so that the combined equipment object or the sub-equipment object can reflect the operation states of the combined equipment and the sub-equipment corresponding to the combined equipment in real time.
Optionally, before determining all the 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.
In the foregoing, before determining the corresponding sub-device in the combined device model and creating the combined device object, the method further includes determining, according to the identification information of the combined device included in the connection instruction, the combined device model existing on the cloud control platform and corresponding to the combined device.
According to an embodiment of the present invention, there is provided a control method of controlling a cluster tool according to a cluster tool model.
Fig. 6 is a flow chart illustrating a control method for controlling a cluster tool according to a cluster tool model according to an embodiment of the present invention. As shown in fig. 6, the invention comprises the following steps:
step 601: according to the method for creating the combined equipment model provided by the embodiment of the application, the combined equipment model, such as an integrated cooker equipment model, is established in the cloud control platform in advance.
Step 602: and the integrated cooker equipment sends an online notification to the cloud control platform and registers the online notification to the cloud control platform. The online announcement includes the device type of the integrated cooker device.
Step 603: the cloud control platform inquires the integrated cooker equipment model according to the information contained in the online notification; then, according to the sub-equipment types contained in the model sub-equipment list, inquiring the models of the cigarette machine, the kitchen range and the disinfection cabinet 3.
Step 604: and the cloud control platform creates an integrated kitchen equipment object according to the query result, wherein the object comprises all attributes and operations of the cigarette making machine, the kitchen range and the 3-seed equipment of the disinfection cabinet.
Step 605: and reporting the state data by the integrated cooker.
Step 606: and after receiving the state data reported by the integrated cooker, the cloud control platform updates the state of the integrated cooker object.
Step 607: the user sends integrated kitchen operation command, for example "turn on the cigarette machine illumination function" through APP.
Step 608: the cloud control platform analyzes the user instruction and obtains a sub-device object, namely the smoke machine, aimed by the user operation.
Step 609: the cloud control platform automatically issues a control instruction to the smoke machine, and the lighting function is started.
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 the execution result back to the user.
By the method, the problem that the operation efficiency is low due to complex control operation on the combined household equipment in the related technology is solved, and the effect of improving the control efficiency of the combined household equipment is achieved by constructing the combined equipment model to control the combined equipment.
The embodiment of the present invention further provides a device for creating a combined equipment model and a control device for combined equipment, and it should be noted that the device for creating a combined equipment model and the control device for combined equipment in the embodiment of the present invention can be used for executing the method for creating a combined equipment model and the control method for combined equipment provided in the embodiment of the present invention. The following describes an apparatus for creating a model of a combination device and a control apparatus of a combination device according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of an apparatus for creating a combined equipment model according to an embodiment of the present invention. As shown in fig. 7, the apparatus includes: a first determining module 701, configured to determine, according to description information of a sub-device model preset in a combined device model, a sub-device model matched with the description information of the sub-device model in a preset device model library; a first creating module 702, configured to associate all the determined sub-device models with the combined device model to create the combined device model.
According to the device for creating the combined equipment model provided by the embodiment of the invention, through a first determining module 701, according to the description information of the preset sub-equipment model in 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; the first creating module 702 associates all the determined sub-device models with the combined device model to create the combined device model, so that the problem of low operation efficiency caused by complicated control operation on the combined household device in the related art is solved, the combined device is controlled by building the combined device model, and the effect of improving the control efficiency of the combined household device is achieved.
Fig. 8 is a schematic diagram of a control device of a combined device according to an embodiment of the present invention. As shown in fig. 6, the apparatus includes: a second determining module 801, configured to determine, when a connection instruction of a combination device is received, all sub-device models associated with the combination device model according to the combination device model corresponding to the combination 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 a control operation instruction corresponding to the combined device object is received, determine a target sub-device object corresponding to the control operation instruction by parsing 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 invention, through the second determining module 801, when a connection instruction of the combined equipment is received, all the 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, which creates a combined device object corresponding to the combined device model and a sub device object corresponding to each sub device model; the analysis module 803, when receiving the control operation instruction corresponding to the combined device object, analyzes the control operation instruction to determine a target sub-device object corresponding to the control operation instruction; 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 complicated control operation on the combined household device in the related art is solved, and the combined household 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 present application further provides a control device, where the control device includes a processor and a memory, and the processor is configured to execute a program stored in the memory, so as to implement the steps in the control method of the combination device.
The embodiment of the application further provides a cloud control platform, which comprises a processor and a memory, wherein the processor is used for executing the 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 combined equipment model creating equipment. The creation device comprises a processor and a memory, the processor being configured to execute a program stored in the memory to implement the steps in a method of creating a composite device model as described above.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem that the operation efficiency is low due to the fact that the control operation of the combined household equipment is complex in the related technology is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
Embodiments of the present invention provide a memory having stored thereon a program that, when executed by a processor, implements a method of creating a composite device model and a method of controlling a composite device.
The embodiment of the invention 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 method for controlling combined equipment.
The invention also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: 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; associating all the determined sub-equipment models into a combined equipment model to create the combined equipment model
Optionally, the description information of the sub-device model includes at least one of the following information: identification information of the sub-device model, and type information of the sub-device model.
Optionally, before determining, in a preset device model library, a sub device model matching description information of the sub device model according to description information of the sub device model preset in the combined device model, the method further includes: and configuring description information of one or more sub-equipment models in the combined equipment model.
Optionally, the method further comprises: configuring one or more of the following information in the combined equipment model: the identification information of the combined equipment model, the attribute information of the combined equipment corresponding to the combined equipment model and the control operation information of all the sub-equipment models in the combined equipment model are controlled.
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, determining a target sub-equipment object corresponding to the control operation instruction by analyzing 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, in a case that a control operation instruction corresponding to the combined device object is received, before determining a target sub device object corresponding to the control operation instruction by analyzing the control operation instruction, 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 the 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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The 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 computer storage media 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 that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 above are merely examples of the present invention, and are not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (12)

1. A method of creating a composite device model, comprising:
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 to the combined equipment model to create the combined equipment model.
2. The method of claim 1, wherein the description information of the sub-device model includes at least one of the following information: identification information of the sub-device model, and type information of the sub-device model.
3. The method according to claim 1 or 2, wherein before determining a sub device model matching description information of the sub device model in a preset device model library according to description information of the sub device model preset in a combined device model, the method further comprises:
configuring description information of one or more sub-equipment models in the combined equipment model.
4. The method of claim 1, further comprising:
configuring one or more of the following information in the combined equipment model: and the identification information of the combined equipment model, the attribute information of the combined equipment corresponding to the combined equipment model, and the control operation information of all the sub-equipment models in the combined equipment model are controlled.
5. A method of controlling a cluster tool, 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, determining a target sub-equipment object corresponding to the control operation instruction by analyzing 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.
6. The method according to claim 5, wherein when the control operation instruction corresponding to the combined device object is received, before the target sub-device object corresponding to the control operation instruction is determined by parsing the control operation instruction, the method further comprises:
and updating the combined equipment object and each sub-equipment object respectively according to the state data reported by the combined equipment.
7. The method according to claim 5 or 6, wherein 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 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.
8. An apparatus for creating a composite device model, comprising:
the first determining module is used for determining the 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;
a first creating module, configured to associate all the determined sub-device models with the combined device model to create the combined device model.
9. A control apparatus of a cluster tool, 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 connecting 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 analyzing the control operation instruction to determine a target sub-equipment object corresponding to the control operation instruction when the control operation instruction corresponding to the combined equipment object is received;
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.
10. 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 combination device of any one of claims 5 to 7.
11. A cloud control platform, the cloud control platform comprising:
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 combination device of any one of claims 5 to 7.
12. A composite device model creation device, characterized in that the creation device comprises:
a processor and a memory, the processor being configured to execute a program stored in the memory to implement the steps of the method of creating a composite plant model of any of claims 1 to 4.
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 true CN110795842A (en) 2020-02-14
CN110795842B 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)

Cited By (1)

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

Citations (8)

* 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
US20130054575A1 (en) * 2011-08-30 2013-02-28 International Business Machines Corporation Gathering Device Attributes from Multiple Devices to Exploit the Common or Complimentary Features on Those Devices
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
US20180365903A1 (en) * 2016-03-29 2018-12-20 Tencent Technology (Shenzhen) Company Limited Target object display method, device and system
CN109857003A (en) * 2019-01-29 2019-06-07 珠海优特智厨科技有限公司 Cooking control method, culinary art control device and integrated kitchen range

Patent Citations (8)

* 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
US20130054575A1 (en) * 2011-08-30 2013-02-28 International Business Machines Corporation Gathering Device Attributes from Multiple Devices to Exploit the Common or Complimentary Features on Those Devices
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
US20180365903A1 (en) * 2016-03-29 2018-12-20 Tencent Technology (Shenzhen) Company Limited Target object display method, device and system
CN109857003A (en) * 2019-01-29 2019-06-07 珠海优特智厨科技有限公司 Cooking control method, culinary art control device and integrated kitchen range

Cited By (1)

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

Also Published As

Publication number Publication date
CN110795842B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
US10656917B2 (en) Generation of a device application
CN102096631A (en) Interface testing method and device
WO2016000544A1 (en) Method of processing application cpu usage rate anomaly, and device and mobile terminal
CN109358512A (en) A kind of intelligent home furnishing control method, cloud server, system and storage medium
CN108303902B (en) Equipment control method, medium, equipment and device
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN110795842A (en) Method and device for creating combined equipment model and control equipment
CN110794773A (en) Click-type scene creating method and 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
WO2024021546A1 (en) Behavior preference table generation method and apparatus, storage medium and electronic apparatus
CN116027937A (en) Rendering method and device of component to be edited, storage medium and electronic device
CN114915514A (en) Intention processing method and device, storage medium and electronic device
CN115174398A (en) Network equipment configuration method, equipment and medium based on python interactive shell
CN108366003B (en) Home service framework creating method, calling method, device, server and medium
CN111211952B (en) Method and device for interaction of cigarette making machine, storage medium and processor
CN104486449A (en) Calculation device controlling method and device
CN105389218A (en) Methods of server cabinet for processing basic input output system (BIOS) information, and nodes
CN114356438B (en) Intelligent scene starting method and device, electronic equipment and storage medium
CN115484119B (en) Control method and device of equipment, storage medium and electronic device
WO2023202043A1 (en) Data tag binding method and apparatus, storage medium, and electronic apparatus
CN114296357A (en) Method and device for processing functional data, electronic equipment and storage medium
CN114839887A (en) Equipment attribute configuration method and device, storage medium and electronic device
CN110634282A (en) Control method and device of electrical equipment
CN116521157A (en) Project integration 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