CN113093565B - Control method and control platform for electronic equipment, electronic equipment and storage medium - Google Patents

Control method and control platform for electronic equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN113093565B
CN113093565B CN202110622220.8A CN202110622220A CN113093565B CN 113093565 B CN113093565 B CN 113093565B CN 202110622220 A CN202110622220 A CN 202110622220A CN 113093565 B CN113093565 B CN 113093565B
Authority
CN
China
Prior art keywords
controlled
control signal
function
control
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.)
Active
Application number
CN202110622220.8A
Other languages
Chinese (zh)
Other versions
CN113093565A (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.)
FILLER SMART IOT TECHNOLOGY Co.,Ltd.
Original Assignee
Wuhan Wiregate Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Wiregate Technology Co ltd filed Critical Wuhan Wiregate Technology Co ltd
Priority to CN202110622220.8A priority Critical patent/CN113093565B/en
Publication of CN113093565A publication Critical patent/CN113093565A/en
Application granted granted Critical
Publication of CN113093565B publication Critical patent/CN113093565B/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The technical scheme of the application provides a control method of electronic equipment, which is applied to control equipment and comprises the following steps: acquiring first control information, wherein the first control information comprises: the first control signal and the equipment identification of the controlled equipment; determining a target function for controlling the controlled equipment to execute according to the first control information and the general object model; and querying a personality model of the controlled equipment according to the target function, and determining a second control signal for controlling the controlled equipment to execute the target function.

Description

Control method and control platform for electronic equipment, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of information, in particular to a control method and a control platform of electronic equipment, the electronic equipment and a storage medium.
Background
With the development of the technology of the internet of things, the internet of things is widely applied to many fields, such as smart home and the like. The internet of things technology can realize better control over the related equipment connected in the internet of things, and the convenience and efficiency of the user in controlling the equipment are improved.
In actual life, various electronic equipment such as air conditioners can be controlled through the internet of things, and under the ordinary condition, the intelligence degree and the convenience when controlling a plurality of air conditioners are lower.
Disclosure of Invention
The embodiment of the invention provides a control method and a control platform of electronic equipment, the electronic equipment and a storage medium.
A first aspect of the embodiments of the present disclosure provides a method for controlling an electronic device, which is applied to a control device, and includes: acquiring first control information, wherein the first control information comprises: the first control signal and the equipment identification of the controlled equipment; determining a target function for controlling the controlled equipment to execute according to the first control information and the general object model; and querying a personality model of the controlled equipment according to the target function, and determining a second control signal for controlling the controlled equipment to execute the target function.
In one embodiment, the generic object model comprises: a first mapping relationship belonging to a function and a general control signal capable of performing the same function as the controlled device; the determining a target function for controlling the controlled device to execute according to the first control information and the generic object model includes: matching the first control signal with a general control signal in the first mapping relation; and determining the function mapped by the general control signal matched with the first control signal in the first mapping relation as a target function for controlling the controlled equipment to execute.
In one embodiment, the generic object model is: an object model built from first configuration information including functions that the controlled device is capable of performing, the first configuration information not including at least one of: the type of device being controlled, the device version number, and the communication signal strength.
In one embodiment, the personality model comprises: a second mapping relation between the function of the corresponding controlled equipment and the control signal which can be identified and executed by the controlled equipment; the personality models of different types of controlled devices are different; the querying, according to the target function, the personality model of the controlled device, and determining a second control signal for controlling the controlled device to execute the target function, includes: matching the target function with a function in the second mapping relation; and determining the control signal matched with the target function in the second mapping relation as a second control signal for controlling the controlled equipment to execute.
In one embodiment, the determining the control signal matching the target function in the second mapping relationship as a second control signal for controlling the controlled device to execute further includes: determining whether signal range values of second control signals of different controlled devices executing the same target function have intersection; and if the intersection exists, determining that the signal value of the second control signal is positioned in the intersection.
In one embodiment, the method further comprises: obtaining a first timing configuration of at least one of the controlled devices; the acquiring of the first control information includes: and according to the first timing configuration, when the controlled time of at least one controlled device is reached, generating the first control signal according to the controlled object and the controlled function indicated by the first timing configuration.
In one embodiment, the method further comprises: obtaining a first timing configuration of at least one of the controlled devices; wherein the first timing configuration comprises: the first control signal capable of matching a generic control signal in the generic object model; determining a target function for controlling at least one controlled device before the controlled time of the at least one controlled device is reached according to the first timing configuration and the generic object model; determining a second timing configuration for controlling at least one controlled device to execute the target function at the controlled time according to the target function and the personality model; wherein the second timing configuration comprises: signal information of the second control signal that controls at least one of the controlled devices to perform the target function.
In one embodiment, the method further comprises: acquiring state information of at least one controlled device; determining target state items to be displayed by each controlled device according to the successfully acquired state information; and displaying the state information corresponding to the target state item according to the display configuration of the target state item by the general display configuration.
In one embodiment, the method further comprises: acquiring display state items of different controlled devices; configuring the display status items of each controlled device into a public display status item, and configuring the display status items of part of the controlled devices into individual display status items; wherein the generic display configuration comprises at least: a display configuration of the common display status item.
In one embodiment, the method further comprises: and when the acquired state information is the individual display state item, displaying the state information of the individual display state item according to the individual display configuration corresponding to the controlled equipment after the public display state item is displayed according to the general display configuration.
A second aspect of the embodiments of the present disclosure provides a control platform, which is applied to a control device, and includes: a first control signal receiving module, configured to acquire first control information, where the first control information includes: the first control signal and the equipment identification of the controlled equipment; the target function determining module is used for determining a target function for controlling the controlled equipment to execute according to the first control information and the universal object model; and the second control signal determining module is used for inquiring the personality model of the controlled equipment according to the target function and determining a second control signal for controlling the controlled equipment to execute the target function.
A third aspect of the embodiments of the present disclosure provides an electronic device, including:
a processor;
a memory storing program instructions that, when executed by the processor, cause the electronic device to perform any of the methods described above.
A fourth aspect of the embodiments of the present disclosure provides a storage medium storing a program that, when executed by a processor, performs any one of the methods described above.
The electronic equipment control method provided by the embodiment of the disclosure is applied to control equipment and comprises the following steps: acquiring first control information, wherein the first control information comprises: the first control signal and a device identification of the controlled device. And then, determining a target function for controlling the controlled equipment to execute according to the first control information and the generic object model, and determining the controlled equipment to be controlled by the first control signal according to the equipment identification of the controlled equipment. And querying the personality model of the controlled equipment according to the target function, and determining a second control signal for controlling the controlled equipment to execute the target function, wherein the second control signal can control the controlled equipment to execute the target function.
The first control information is mapped with the second control signal for controlling the controlled equipment to execute the target function in the individual object model of each controlled equipment through the general object model, so that for a user, unified control of different types of equipment can be realized through a user control interface corresponding to the general object model, user operation is simplified, operation convenience is improved, and user using satisfaction is improved.
In addition, the decoupling of the application layer and the bottom layer is realized through the general object model, when new controlled equipment is added, the application layer does not need to be adjusted, and only the information corresponding to the newly added controlled equipment needs to be added to the bottom layer, for example, codes corresponding to the newly added controlled equipment and the bottom layer are changed, and the individual object model of the newly added controlled equipment is mapped with the general object model. And determining a control signal of the newly added controlled equipment by controlling the universal object model through the application layer and controlling the bottom layer corresponding to the newly added controlled equipment through the universal object model, so that the control of the newly added controlled equipment can be realized. In this aspect, the user can control the newly added controlled device or simultaneously control the newly added controlled device and the existing controlled device only through the user control interface corresponding to the generic object model without changing the application layer, and the user operation is also simplified, so that the operation convenience is improved and the user use satisfaction is improved.
Drawings
Fig. 1 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a method for determining a target function according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating a process of determining a second control signal according to an embodiment of the disclosure;
fig. 4 is a schematic flow chart of another control method provided in the embodiment of the present disclosure;
FIG. 5 is a schematic flow chart of another method provided by embodiments of the present disclosure;
fig. 6 is a schematic structural diagram of a control platform according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a structure corresponding to another method provided by an embodiment of the present disclosure;
FIG. 8 is a comparison of personality model attributes for different types of air conditioner controllers provided by an embodiment of the present disclosure;
fig. 9 is a mapping relationship diagram of a generic object model provided in an embodiment of the present disclosure;
FIG. 10 is a schematic diagram illustrating a display of a generic object model and a target status item according to an embodiment of the disclosure;
fig. 11 is a schematic diagram of another exemplary method for generating a first control signal according to an embodiment of the disclosure.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the drawings and the specific embodiments of the specification.
The embodiment of the disclosure provides a control method of electronic equipment, which is applied to control equipment. Referring to fig. 1, a flowchart of a method for controlling an electronic device is shown, where the method includes:
step S100, obtaining first control information, where the first control information includes: the first control signal and a device identification of the controlled device.
And S200, determining a target function for controlling the controlled equipment to execute according to the first control information and the universal object model.
And step S300, inquiring the personality model of the controlled equipment according to the target function, and determining a second control signal for controlling the controlled equipment to execute the target function.
The first control signal may be: digital and/or analog signals are prepared to control the controlled device to perform one or more functions. For example, the first control signal may be: the driving signal for driving the controlled device to perform the corresponding function is prepared.
The device identifier may be identification information such as a serial number or a name for the control device to uniquely determine that the corresponding function needs to be executed. The device identifier may specifically include: an ID of the controlled device and/or a device identification code of the controlled device, etc.
The general object model at least can be used for controlling a plurality of object models general for controlled devices corresponding to the devices, and specifically comprises: mapping relation between the function description and information of the control signal, function description, indicating corresponding function; the information of the control signal includes: the signal description of the control signal indicates the signal value and/or the signal type of the signal, etc.
The generic object model may be: the model of the application layer operation of the control device, for example, the control device includes an operating system and one or more applications installed in the operating system, where the one or more applications each constitute the application layer of the control device, and the application layer, the intermediate layer and the operating system are connected by an interface. In this way, the application layer uses the generic object model, and can determine the target function that needs to be executed by the controlled device in the generic object model according to the first control signal.
The generic object model comprises a signal matched with the first control signal and a function in a mapping relation with the first control signal, and the generic object model can comprise a plurality of different functions and signals in a mapping relation with the functions because the first control signals are different. The function of the generic object model can be determined according to the actual use condition and the function that the controlled device can execute, and is not specifically limited herein.
And the target function refers to a function finally executed by the controlled device, and the target function is at least one function in the generic object model, namely a function executed by the controlled device according to the first control signal.
A personality model that may be used to control a controlled device to perform a target function, the personality model may include: and mapping relation between the function description capable of being executed by the controlled equipment and the information of the control signal corresponding to the function capable of being executed by the controlled equipment. A function description indicating a corresponding function; the information of the control signal includes: the signal description of the control signal indicates the signal value and/or the signal type of the signal, etc.
The personality model may be a model that runs at the bottom layer, such as a model that runs at a middle layer and a driver layer below the application layer, and so on. And through the personality model, a second control signal for controlling the controlled equipment to execute the target function can be determined according to the first control signal, then the second control signal can be directly sent to the controlled equipment, and the controlled equipment can be controlled to execute the target function according to the second control signal.
The second control signal may be a digital signal and/or an analog signal that controls the controlled device to perform one or more functions determined based on the first control signal. For example, the second control signal may be: a drive signal that drives the controlled device to perform the function mapped by the second control signal.
For step S100, the acquired first control information is used as control information acting on the generic object model, and the generic object model can be controlled to execute corresponding actions or functions according to the first control information. Specifically, the first control signal included in the first control information is used for controlling the object model to execute a function having a mapping relation with the first control signal. The first control information may be received control information sent by an application layer, for example, information for controlling a generic object model sent by an application program having a communication connection with the control device. Of course, the first control signal may also be a control signal sent by an application program in the application layer.
The first control signal may be a logic signal, i.e. a logic signal corresponding to a voltage signal or a current signal within a certain range of values, etc.
The first control information further includes a device identifier of the controlled device, and the device identifier of the controlled device is used to determine the controlled device, that is, it can be determined which controlled devices need to be controlled to execute the target function according to the device identifier.
For example, first control information transmitted by an application layer is received, the first control information includes a first control signal a and device identifications N1, N2, and N3 of controlled devices, and according to the first control signal a, the controlled devices corresponding to N1, N2, and N3 can be controlled to perform the same function through a generic object model.
With respect to step S200, after receiving the first control information, since the common object model includes the function that can be executed by the controlled device and the control signal corresponding to the function, the function that can be executed by the controlled device can be determined according to the first control signal included in the control information and the control signal included in the common object model, and the determined function is taken as the target function.
Specifically, the first control signal may be matched with a control signal included in the generic object model, and then a function corresponding to the control signal matched with the first control signal or having a mapping relationship may be used as a target function for controlling the controlled device to execute.
In step S300, each controlled device has its own object model, and the model of each controlled device is referred to as a personality model. The individual object model is similar to the general object model in structure, and comprises functions and corresponding control signals of the controlled equipment. In this embodiment, the functions that can be executed by the controlled devices in the personality model may be the same as the functions included in the generic object model, so that after the target function is determined by the generic object model, the controlled devices are controlled to uniformly execute the target function, and the control of the controlled devices is realized.
After the target function executed by the controlled equipment is determined, the function which is the same as the target function and is possessed by each controlled equipment in the personality model is determined through the personality model of each controlled equipment. Specifically, the determination may be performed in a query manner, each controlled device may have multiple functions, and the corresponding personality model also includes multiple functions, so that after the target function is determined, a function that is the same as the target function in the personality model may be determined in a query or matching manner, and the determined function that is the same as the target function is a function that needs to be executed to control the controlled device.
After the function to be executed by the controlled device is determined, the control signal for controlling the controlled device to execute the target function can be determined according to the mapping relation between the function and the control signal in the personality model, and the control signal for controlling the controlled device to execute the target function is used as the second control signal.
The second control signal may be a logic signal, a voltage signal or a current signal within a certain range of values, or the like.
In the personality models of different controlled devices, the functions that can be performed by the controlled devices may be the same, but the control signals whose functions can be performed by the controlled devices have a mapping relationship may be different. In this case, it is necessary to control different controlled devices to perform the same function by different control signals. Such operations are cumbersome and user experience is poor.
Therefore, after the second control signal is determined, the first control signal can be converted into the second control signal, so that the controlled device can be controlled to execute the target function. This realizes that a plurality of different controlled devices can be controlled to execute the same function according to one first control information. Different controlled devices are controlled to execute the same function without receiving different control information aiming at the different controlled devices, so that the control flow and the control convenience are simplified, and the use experience of a user is improved.
For example, the controlled devices are air conditioners including a controlled air conditioner 1, a controlled air conditioner 2, and a controlled air conditioner 3, and the controlled air conditioner 1, the controlled air conditioner 2, and the controlled air conditioner 3 each have a power-on function, a power-off function, a heating function, and a cooling function. However, the controlled air conditioner 1, the controlled air conditioner 2, and the controlled air conditioner 3 respectively control the control signals of the power-on function, the power-off function, the heating function, and the cooling function to be different, for example, the power-on signal of the controlled air conditioner 1 is a, the power-on signal of the controlled air conditioner 2 is b, and the power-on information of the controlled air conditioner 3 is c. In this case, if it is necessary to turn on all of the three controlled air conditioners, it is necessary to control the three controlled air conditioners with different signals, respectively. When the three controlled air conditioners are controlled in a unified manner or in a batch manner, the convenience of control is poor and control confusion and the like are easily caused due to different control signals.
By the method of the embodiment, a unified first control message can be received, the first control message includes a first control signal and an identifier of the controlled air conditioner, the first control message is used for controlling the controlled air conditioner to be started, and the identifier of the controlled air conditioner is used for identifying the first control signal to control three controlled air conditioners. The utility model comprises a startup function and a control signal mapped by the startup function, and then determines the function of controlling the execution of the three controlled air conditioners, namely the startup function, through the first control signal and the control signal mapped by the startup function.
And then according to the control signals mapped with the starting function respectively by the three controlled air conditioners, namely the starting signal of the controlled air conditioner 1 is a, the starting signal of the controlled air conditioner 2 is b, and the starting information of the controlled air conditioner 3 is c. The controlled air conditioners can be controlled to start according to the starting signals corresponding to the three controlled air conditioners, and specifically, the first control signal can be converted into the starting signals of the three controlled air conditioners to control the three controlled air conditioners to start respectively.
The first control information is mapped with the second control signal for controlling the controlled equipment to execute the target function in the individual object model of each controlled equipment through the general object model, so that for a user, unified control of different types of equipment can be realized through a user control interface corresponding to the general object model, user operation is simplified, operation convenience is improved, and user using satisfaction is improved.
In addition, the decoupling of the application layer and the bottom layer is realized through the universal object model, and the decoupling of the application layer and the controlled equipment is also realized. When a new controlled device is added, the application layer does not need to be adjusted, but only information corresponding to the newly added controlled device needs to be added to the bottom layer, for example, a bottom layer code, the function of the newly added controlled device is mapped with the function of the generic object model, and the added controlled device can be controlled by the method provided by the embodiment.
And determining a control signal of the newly added controlled equipment by controlling the universal object model through the application layer and controlling the bottom layer corresponding to the newly added controlled equipment through the universal object model, so that the control of the newly added controlled equipment can be realized. In this aspect, the user can control the newly added controlled device or simultaneously control the newly added controlled device and the existing controlled device only through the user control interface corresponding to the generic object model, and the user operation is also simplified, so that the operation convenience is improved and the user use satisfaction is improved.
In another embodiment, the generic object model comprises: a first mapping of functions and general control signals belonging to the same function as the controlled device.
For example, the functions that can be executed by the three controlled air conditioners include a startup function, and the generic object model includes a first mapping relationship between the startup function and a startup generic control signal for controlling the startup function. If the general starting control signal for controlling the starting function is 'start', the first mapping relation is the mapping relation between the starting function and 'start'. This first mapping may exist in the form of a key-value mapping table, as shown in Table 1 below:
Figure 355313DEST_PATH_IMAGE001
of course, only one mapping relationship between functions and corresponding control signals is shown here, and in practical applications, there may be a plurality of mapping relationships, which are determined according to the functions of the controlled device. When the generic object model includes a plurality of mapping relationships, the generic control signals in different mapping relationships are different, and the generic control signals and functions in different mapping relationships are different.
For example, the general object model further includes a first mapping relationship between a shutdown function and a shutdown general control signal "shut" for controlling the shutdown function, that is, the startup function and the shutdown function are different, and the corresponding "start" and "shut" are also different, so that one control signal can only control one function, the problem of control confusion is reduced, control is facilitated, and the use experience of a user is further improved.
Referring to fig. 2, a flow chart of determining a target function is shown. Determining a target function for controlling the controlled equipment to execute according to the first control information and the universal object model, wherein the target function comprises the following steps:
step S201, the first control signal is matched with the general control signal in the first mapping relationship.
Step S202, determining a function mapped by the general control signal matched with the first control signal in the first mapping relationship as a target function for controlling the controlled device to execute.
In this embodiment, after receiving the first control signal, the first control signal is matched to the generic control signal in the first mapping in the generic object model. For example, the first control signal is "start", and the "start" is matched with the control signal included in the mapping relation in the generic object model to determine whether there is the same control signal as "start". If the first mapping in the generic object model includes a generic control signal of "start", the first control signal may be matched to the generic control signal of "start".
After matching, according to the first mapping relation including the general control signal "start", the function mapped by "start" in the first mapping relation, i.e. the start function, is determined, referring to table 1. And determining the starting function as a target function for controlling the controlled equipment to execute.
In another embodiment, the generic object model is: an object model built from first configuration information including functions that a controlled device is capable of performing, the first configuration information not including at least one of: the type of device being controlled, the device version number, and the communication signal strength.
In this embodiment, the generic object model may be an object model that is created according to first configuration information, which is configuration information including functions that can be performed by the controlled device. The generic object model is determined according to the function or functions that the controlled device has, that is, the first mapping relationship in the generic object model may be an object model established according to the function or functions that the controlled device can perform.
The first mapping relationship in the object model includes which functions and the general control signal, and can be determined according to the functions of the controlled device, such as the functions that the controlled device must be able to perform, such as an air conditioner, and the cooling function and/or the heating function.
Of course, the first configuration information may not include at least one of the type of the controlled device, the device version number, and the communication signal strength, which are independent of the functions performed by the controlled device, i.e., the general control signal has no relation to these information, and the general control information does not need to have a mapping relation to these information. Therefore, after the information is filtered, the general object model can be simplified, and the existence of unnecessary contents in the general object model can be reduced.
In another embodiment, the content included in the first configuration information or the content not included in the first configuration information may be determined according to actual usage needs and functions that need to be executed by the controlled device, and is not limited herein.
In another embodiment, a personality model includes: and a second mapping relation between the function of the corresponding controlled equipment and the control signal which can be identified and executed by the controlled equipment.
For example, the functions that can be executed by the three controlled air conditioners all include a power-on function, and the personality model of the controlled air conditioner 1 includes a second mapping relationship between the power-on function and a control signal "1" for controlling the power-on function, that is, the control signal for controlling the power-on function of the controlled air conditioner 1 in the personality model of the controlled air conditioner 1 is "1". The personality model of the controlled air conditioner 2 includes a second mapping relationship between the startup function and the control signal "0" controlling the startup function, that is, the control signal controlling the startup function of the controlled air conditioner 1 in the personality model of the controlled air conditioner 2 is "0". The personality model of the controlled air conditioner 3 includes a second mapping relationship between the startup function and the control signal "1" controlling the startup function, that is, the control signal controlling the startup function of the controlled air conditioner 1 in the personality model of the controlled air conditioner 3 is "1". The second mapping relationship in the three personality models may exist in the form of a key-value mapping table, as shown in table 2 below:
Figure 397087DEST_PATH_IMAGE002
of course, only the mapping relationship between one function in the personality model and the corresponding control signal is shown here, and in practical applications, there may be a plurality of functions, which are determined according to the functions of the controlled device. When a certain personality model comprises multiple mapping relations, the universal control signals in different mapping relations are different, and the personality control signals and functions in different mapping relations are different.
In one embodiment, personality models for different types of controlled devices may be different.
The functions of the controlled devices included in the second mapping relationships in the different personality models may be different, and the control signals that can be recognized and executed by the controlled devices may also be different. The functions of the controlled devices included in the second mapping in the different personality models may be the same or have common functions.
Referring to fig. 3, a flow chart of determining the second control signal is shown. Inquiring the personality model of the controlled equipment according to the target function, and determining a second control signal for controlling the controlled equipment to execute the target function, wherein the method comprises the following steps:
step S301, matching the target function with the function in the second mapping relation.
Step S302, determining the control signal matched with the target function in the second mapping relationship as a second control signal for controlling the controlled device to execute.
In this embodiment, after the target function is determined, the target function is matched to a function in the second mapping in the personality model. For example, if the target function is a boot function, the boot function is matched with the functions included in the second mapping relationship in each personality model. And matching the starting function in the second mapping relation in each personality model.
After matching, the control signal mapped by the boot function in each personality model can be determined, and the control signal in the second mapping relation, which has a mapping relation with the boot function, is referred to table 2.
For example, the target function is a start-up function, and the start-up function is mapped to the control signal "1" in the second mapping relationship in the personality model of the controlled air conditioner 1. In the second mapping relationship in the personality model of the controlled air conditioner 2, the startup function is mapped with the control signal "0". In the second mapping relationship in the personality model of the controlled air conditioner 3, the startup function is mapped with the control signal "0". After the target function is matched with the starting function in the first mapping relation in each individual model, according to the mapping relation shown in table 2, the control signal for controlling the controlled air conditioner 1 to execute the target function is determined to be "1", the control signal for controlling the controlled air conditioner 2 to execute the target function is determined to be "0", and the control signal for controlling the controlled air conditioner 3 to execute the target function is determined to be "1".
The control signal for controlling each controlled device to execute the target function is used as the second control signal, and the second control signals corresponding to different controlled devices may be different. And controlling each controlled device to execute the target function through the second control signal. Specifically, the first control signal may be converted into each second control signal.
The embodiment reversely determines the control signal for controlling each controlled device to execute the target function according to the individual object model through the target function.
In another embodiment, step S302, determining a control signal matching the target function in the second mapping relationship as a second control signal for controlling the controlled device to execute, further includes:
it is determined whether the signal range values of the second control signals of different controlled devices performing the same target function intersect. And if the intersection exists, determining that the signal value of the second control signal is positioned in the intersection.
After the second control signals corresponding to the controlled devices are determined, when a plurality of different controlled devices are controlled to execute the same target function, if the second control signals corresponding to the controlled devices are signals with a certain range, whether the signal range values of the second control signals have an intersection or not can be determined, and in the case of the intersection, the control signals in the intersection can be determined to be the second control signals which uniformly control the controlled devices to execute the target function.
For example, the second control signal for controlling the controlled air conditioner 1 to perform the on-off function is determined to be a voltage signal of 2V to 10V, the second control signal for controlling the controlled air conditioner 2 to perform the on-off function is determined to be a voltage signal of 3V to 10V, and the second control signal for controlling the controlled air conditioner 3 to perform the on-off function is determined to be a voltage signal of 5V to 15V. A voltage signal of 5V-10V, for example, a voltage signal of 8V, which is the intersection of the three second control signals, may be determined as a unified second control signal for controlling the three controlled air conditioners to perform the turn-on function.
Therefore, each controlled device can be controlled through the common control signal, the problem of complicated control caused by respectively controlling different controlled devices through different second control signals is solved, and the control of a plurality of different controlled devices is facilitated. In addition, batch control of different controlled devices with intersection of the second control signals can be realized, namely, three controlled air conditioners can be controlled in batch by the second control signals in the intersection.
In another embodiment, the method further comprises: a first timing configuration of at least one controlled device is obtained.
Step S100, acquiring first control information, including: and according to the first timing configuration, when the controlled time of at least one controlled device is reached, generating a first control signal according to the controlled object and the controlled function indicated by the first timing configuration.
In this embodiment, there may be a plurality of controlled devices, and when controlling a controlled device, one controlled device may be controlled, or a plurality of controlled devices may be controlled simultaneously, for example, a plurality of controlled devices are controlled in batch to execute a certain target function.
Each controlled device is configured with a timing configuration, which is referred to herein as a first timing configuration, i.e., each controlled device is configured with a first timing configuration for controlling the controlled device to execute a corresponding controlled function at a preset time.
The first timing configuration may include: controlled objects to be controlled, controlled functions and controlled time to be performed by controlled devices, and the like. When the first control information is acquired, a first control signal may be generated according to the first timing configuration, and when the controlled time of the at least one controlled device is reached, according to the controlled object and the controlled function in the first timing configuration, the controlled device is controlled.
By the method, the first control signal can be automatically generated when the controlled time is up, then the second control signal is directly determined through the steps S100 to S300 according to the first control signal, the external first control signal is not required to be received, and the controlled equipment can be more conveniently controlled according to the first timing configuration.
In another embodiment, referring to fig. 4, a schematic flow chart of another control method is shown, the method including:
step S10, obtaining a first timing configuration of at least one controlled device, where the first timing configuration includes: a first control signal capable of matching the generic control signal in the generic object model.
By this step, the first control signal matching the generic control signal in the generic object model can be acquired before the controlled time is reached.
And step S20, determining a target function for controlling at least one controlled device before the controlled time of the at least one controlled device is reached according to the first timing configuration and the universal object model.
The generic object model comprises a generic control signal and a function mapped with the generic control signal, and a target function for controlling the controlled device to execute can be determined according to the first control signal in the first timing configuration. When one controlled device is controlled, the target function can be determined according to the first timing configuration of the controlled device, and when a plurality of controlled devices are controlled to execute the same target function, the target function can be determined before the controlled time of at least one controlled device is reached because the plurality of controlled devices execute the same target function.
Step S30, determining a second timing configuration for controlling at least one controlled device to execute the target function at the controlled time according to the target function and the personality model; the second timing configuration includes: signal information of a second control signal that controls at least one controlled device to perform a target function.
By the step, the signal information of the second control signal for controlling the controlled device to execute the target function at the controlled time can be determined, then the second control signal is determined according to the signal information of the second control signal, and the controlled device is controlled by the second control signal.
The solution of this embodiment is to determine the second timing configuration by the first timing match, and then determine the second control signal before the controlled time based on the second timing configuration. And then controlling the controlled equipment through a second control signal when the controlled time is reached.
Because the second control signal is determined in advance before the controlled time is reached, the controlled equipment can be immediately controlled by the second control signal when the controlled time is reached, the process of determining the second control signal again is reduced, the time used for determining the second control signal is also reduced, and the control efficiency of the controlled equipment is improved.
In another embodiment, referring to fig. 5, a schematic flow chart of another method is shown, the method comprising:
step S400, acquiring status information of at least one controlled device.
And step S500, determining target state items to be displayed by each controlled device according to the successfully acquired state information.
And step S600, displaying the state information corresponding to the target state item according to the display configuration of the general display configuration to the target state item.
In this embodiment, status information of at least one controlled device is obtained, and the status information may include information of a status of the controlled device when executing the function, for example, when the controlled device is an air conditioner, the status information may be a heating status, and the like. After the state information of at least one controlled device is successfully acquired, determining a target state item to be displayed of each controlled device according to the acquired state information, wherein the target state item to be displayed can be the state of the current function executed by the controlled device. The state in which the current function performed by the controlled device is located may be determined as the target state item.
The general display configuration is used for configuring a display mode of the target status item, for example, display configuration information of the general status item in the target status item, for example, a display configuration parameter, etc., may be configured, and then the status information corresponding to the target status item is displayed according to the display configuration of the general display configuration on the target status item.
Of course, the state information corresponding to each function of at least one controlled device may also be acquired, and the functions of each controlled device may be different, so that the acquired state information corresponding to the functions of a plurality of different controlled devices may be different. And after the successfully acquired state information of each controlled device is obtained, determining the acquired state information as a target state item to be displayed. When a plurality of different controlled devices have a common function, the display of the status items corresponding to the same function is configured according to the common display configuration, the display configuration of the status items corresponding to the same function is the same, and the status information corresponding to the same status items can be displayed in the same display mode. Therefore, the state information of the same function in different controlled devices can be uniformly displayed.
For example, the controlled air conditioners 1 and 2 both have a heating function, acquire state information of the controlled air conditioners 1 and 2 corresponding to heating, and determine the state information corresponding to heating as a target state item to be displayed. And then, configuring the state item corresponding to heating according to the general display configuration, namely configuring the display modes of the two controlled air conditioners for displaying the state information corresponding to heating, and displaying the state information corresponding to the target state item corresponding to heating according to the configuration result. For example, the state information corresponding to the heating of two controlled air conditioners is displayed in the same display mode, and the display modes of the state information corresponding to the same function in different controlled devices are unified.
In another embodiment, the method further comprises:
and acquiring display state items of different controlled devices, configuring the display state items of all the controlled devices into a public display state item, and configuring the display state items of part of the controlled devices into individual display state items. The generic display configuration includes at least: a display configuration of the public display status item.
In this embodiment, different controlled devices may have different functions, and therefore, different controlled devices may display different content. The display state items of different controlled devices are acquired by taking the state information corresponding to the functions of different controlled devices as the display state items of the controlled devices, then the display state items of the controlled devices are configured as public display state items, and the display state items of partial controlled devices are configured as individual display state items.
Configuring the state information corresponding to the same function of each different controlled device into a public display state item, and configuring the state information corresponding to the functions of part of the controlled devices into a personalized display state item. In this embodiment, the common display configuration at least includes a display configuration of the common display status item, and is used to configure display of the common display status item, determine a display manner of the common display status item, and the like.
For example, the controlled air conditioner 1, the controlled air conditioner 2, and the controlled air conditioner 3 each have a heating function, a cooling function, and an air blowing function, and these three functions are functions common to the three controlled air conditioners, and then the display status items corresponding to these three functions are determined as common display status items. The three public display state items are displayed and configured through the universal display configuration, the display configuration of the display state items corresponding to the heating functions of the three controlled air conditioners is the same, the display configuration of the display state items corresponding to the cooling functions of the three controlled air conditioners is the same, and the display configuration of the display state items corresponding to the air supply functions of the three controlled air conditioners is the same.
Through the display configuration of the public display state items, the display of the display state items corresponding to the unified function in the controlled equipment is unified, and the display of the states of the controlled equipment is facilitated.
In another embodiment, the method further comprises: and when the acquired state information is the individual display state item, displaying the state information of the individual display state item according to the individual display configuration of the corresponding controlled equipment after the public display state item is displayed according to the general display configuration.
In this embodiment, when the state information corresponding to the function of the controlled device is acquired as the individual display state item, the individual display state item is displayed after the public display state item according to the display configuration of the individual display state item.
For example, the controlled air conditioners 1 and 2 do not have a dehumidification function and an automatic function, and therefore do not have state information corresponding to the dehumidification function and the automatic function. The controlled air conditioner 3 has a dehumidification function and an automatic function, and therefore has status information corresponding to the dehumidification function and the automatic function, and the status information corresponding to the dehumidification function and the automatic function is used as an individual display status item. When the individual display status items of the controlled air conditioners 3 are acquired, the public display status items corresponding to heating, cooling and air supply of all the three controlled air conditioners are preferentially displayed, and then the individual display status items corresponding to the controlled air conditioners 3 are displayed.
Because each controlled device has the public display state item, which indicates that the public display state item is the state information corresponding to the basic function of the controlled device and also the state information corresponding to the function with relatively high use frequency in the use process of the user, the user can conveniently acquire the state information of the function with relatively high use frequency in the first time by displaying the public display state item in the front, and the display effect is improved.
In another embodiment, at least one of the display effects corresponding to the display configuration of the public display status item and the display configuration of the individual display status item is different. The display effects are different, and which display state items belong to the public display state items and which are the individual display state items can be distinguished conveniently according to the display effects.
Illustratively, the outer border of the icon of the public display status item is a solid line, and the outer border of the icon of the individual display status item is a dashed line.
Further illustratively, the background color of the icons of the publicly displayed status items is different from the background color of the icons of the individually displayed status items.
In another embodiment, referring to fig. 6, a structural diagram of a control platform is shown. The control platform is applied to control equipment and comprises:
a first control signal receiving module 1, configured to acquire first control information, where the first control information includes: the first control signal and a device identification of the controlled device.
And the target function determining module 2 is used for determining a target function for controlling the controlled equipment to execute according to the first control information and the universal object model.
And the second control signal determining module 3 is configured to query the personality model of the controlled device according to the target function, and determine a second control signal for controlling the controlled device to execute the target function.
In another embodiment, the generic object model comprises: a first mapping of functions and common control signals belonging to the same function as the controlled device.
The target function determination module 2 includes:
and the first matching unit is used for matching the first control signal with the general control signal in the first mapping relation.
And the target function determining unit is used for determining a function mapped by the general control signal matched with the first control signal in the first mapping relation as a target function for controlling the controlled equipment to execute.
In another embodiment, the generic object model is: an object model built from first configuration information including functions that the controlled device is capable of performing, the first configuration information not including at least one of: the type of device being controlled, the device version number, and the communication signal strength.
In another embodiment, the personality model comprises: a second mapping relation between the function of the corresponding controlled equipment and the control signal which can be identified and executed by the controlled equipment; the personality models differ for different types of controlled devices.
The second control signal determination module 3 includes:
and the second matching unit is used for matching the target function with the function in the second mapping relation.
And the second control signal determining unit is used for determining the control signal matched with the target function in the second mapping relation as a second control signal for controlling the controlled equipment to execute.
In another embodiment, the second control signal determination unit is further configured to: determining whether signal range values of second control signals of different controlled devices executing the same target function have intersection;
and if the intersection exists, determining that the signal value of the second control signal is positioned in the intersection.
In another embodiment, the control platform further comprises:
a first configuration module, configured to obtain a first timing configuration of at least one of the controlled devices;
the first control signal receiving module 1 is further configured to: and according to the first timing configuration, when the controlled time of at least one controlled device is reached, generating the first control signal according to the controlled object and the controlled function indicated by the first timing configuration.
In another embodiment, the control platform further comprises:
a second configuration module, configured to obtain a first timing configuration of at least one of the controlled devices; wherein the first timing configuration comprises: the first control signal capable of matching a generic control signal in the generic object model.
And the first determining module is used for determining a target function for controlling at least one controlled device before the controlled time of the at least one controlled device is reached according to the first timing configuration and the generic object model.
A second determining module, configured to determine, according to the target function and the personality model, a second timing configuration for controlling at least one controlled device to execute the target function at the controlled time; wherein the second timing configuration comprises: signal information of the second control signal that controls at least one of the controlled devices to perform the target function.
In another embodiment, the control platform further comprises:
and the state information acquisition module is used for acquiring the state information of at least one controlled device.
And the target state item determining module is used for determining the target state items to be displayed by the controlled equipment according to the successfully acquired state information.
And the first display module is used for displaying the state information corresponding to the target state item according to the display configuration of the target state item by the general display configuration.
In another embodiment, the control platform further comprises:
and the display state item acquisition module is used for acquiring display state items of different controlled devices.
A third configuration module, configured to configure the display status items of each of the controlled devices as a common display status item, and configure some of the display status items of the controlled devices as individual display status items;
wherein the generic display configuration comprises at least: a display configuration of the common display status item.
In another embodiment, the control platform further comprises:
and the second display module is used for displaying the state information of the individual display state item according to the individual display configuration corresponding to the controlled equipment after the public display state item is displayed according to the general display configuration when the acquired state information is the individual display state item.
The technical scheme of this application still provides an electronic equipment, includes:
a processor;
a memory storing program instructions that, when executed by the processor, cause the electronic device to perform the method of any of the embodiments described above.
The technical solution of the present application further provides a storage medium storing a program, and when the program is executed by a processor, the method in any one of the embodiments described above is performed. The storage medium comprises a non-transitory storage medium.
In another embodiment, an example of a specific application scenario is also provided.
The heating, ventilating and air conditioning industry is a more traditional industry, with the rise of the internet of things industry, at present, equipment in the industry is continuously changed from wired communication to wireless communication, and air conditioning software is also changed from C/S to B/S architecture. There are three major categories of air conditioners at present, specifically as follows:
1) split type air conditioner: an external machine with an internal machine, the refrigerant is Freon, and comprises a wall-mounted machine, a cabinet machine, an air duct machine, a raise-level machine and the like.
2) A central air conditioner: the air conditioner comprises an air conditioner host, a water pump and a cooling tower, wherein a fan coil is arranged at the tail end of the air conditioner host, and refrigeration, generally water cooling, is realized through cold-heat exchange.
3) VRV multi-split air conditioner: one outdoor unit with several indoor units and freon as refrigerant.
The state parameter types and parameter values of different types of air conditioners are different, for example, the air speed of the air conditioner is different, the split type air conditioner generally has 5 states of 1-5 wind, and the central air conditioner generally has 3 states of low wind, middle wind and high wind. An air conditioner is generally controlled by adding an air conditioner controller at an air conditioner host or a tail end (indoor unit), state parameters of the air conditioner are transmitted to a platform through the air conditioner controller, different manufacturers have different definitions for controller equipment protocols, and except common parameters of the air conditioner, other parameters are added, so that the types and the parameter values of the parameters are very disordered. Therefore, manufacturers who make air-conditioning internet of things generally make the whole software and hardware system.
For the condition that the parameter types and parameter values of the air conditioner controller are inconsistent, a common method at present is to take an intersection or union of different types of air conditioner parameters, for example, in the union method, low wind, medium wind and high wind are usually mapped to a certain 3 states of 5 states of 1-5 wind, the air conditioner can normally display data when reporting the data, and the condition that equipment does not feed back or wind speed does not change occurs when other wind speeds are sent in the process of issuing control. Meanwhile, when hardware is replaced, the function of air conditioning software needs to be connected with equipment data again, so that a plurality of service functional units are easily changed together.
In the embodiment, the functions of the air conditioner are disassembled, the universal object model standard is defined from the platform layer of the internet of things, the hardware access and the air conditioner service are decoupled, a standard data interface is provided for the service layer, and a standard access specification is provided for the sensor. Meanwhile, the convergence of core data of the same type of equipment is realized through the universal object model, the individual display of unique parameters of products of different models is realized, the standardization is realized as far as possible, and the flexibility is strong.
The method comprises the steps of developing a general object model, developing protocol analysis of different devices and developing core service functions related to the devices. The purpose of this embodiment is to implement standardized access and use of the air conditioner controller of the core device in the air conditioning scheme by using the control method, first defining a universal object model standard of the air conditioner controller, then performing device access and core service function development according to the standard, implementing external integration of software and hardware of the device, implementing internal decoupling, and plug and play to the outside.
The most core equipment in the air conditioner application scheme is the air conditioner controller, the air conditioner controller is used for realizing the state monitoring, the remote monitoring, the fault alarm and the like of the air conditioner, and the corresponding functions are realized through the method of the embodiment.
Referring to fig. 7, a schematic diagram of a corresponding structure of the method is shown, which includes 3 parts, generic object model, parser development and business function development. The object model is the most critical, the access standard of the hardware of the same type is standardized through the universal object model, and developers only need to develop a hardware analysis program according to the standard to realize the standardized access of the hardware. Meanwhile, the butt joint of basic service functions is established, and the core service function is realized. Hardware and software standardization is achieved using methods and structures. Meanwhile, the third-party application platform is supported to be in butt joint, the third application platform can call an object model data interface to acquire or control the state of a single device, and can also call an interface of a service function to realize batch control or timing control and the like.
The generic object model comprises 3 parts of attributes, events and services, and the functions of one device can be completely described through the 3 parts. An attribute describes a functional parameter of a device, the value of which is indicative of the state or data of the device. The device may read or set functional parameters such as on/off, mode, wind speed and set temperature of the air conditioner.
Events are reported only when conditions are met and triggered, and are mainly used for fault monitoring and alarming. The event is reported when the equipment state changes, and can be defined as an event which is mainly used for alarming, such as reporting faults of an air conditioner and alarming when a smoke alarm detects smoke.
The service is the setting of the attribute and is used for the platform downlink control equipment. And setting service and equipment function parameters, such as setting air conditioner starting, temperature increasing and the like.
Fig. 8 is a comparison graph of personality model attributes for different types of air conditioner controller models. Through deep analysis of the air conditioner controller product, the attribute category of the product type can be converged.
A public display status item comprising:
all models have common attributes that, if not, do not enable normal use of the air conditioner. Such as on/off, mode, wind speed, temperature, and indoor temperature of the air conditioner.
The second is a personality display status item, comprising:
the system comprises important but only some equipment supporting attributes, such as swinging air, locking, power consumption, power, faults and the like of the air conditioner, wherein the parameters are not necessary parameters for controlling the air conditioner, but can be used for realizing some important functions, so that specific processing can be carried out according to specific models, and flexible display is supported.
The third is an unimportant attribute, mainly to implement some auxiliary functions, such as: the type of the controlled device, the version number of the device, the strength of the communication signal and the like, which have little effect on the user, so that castration can be carried out without data analysis and data exposure to the upper application. By dividing the attribute hierarchy, the attribute can be normalized, and equipment analysis and service function development are facilitated.
1) For common parameters of a product type, such as on/off and mode of an air conditioner, since value ranges of keys in key value pairs and corresponding value values of air conditioner controllers of different models may be different, for example, 0 is used in the controller model 1 of the controlled device 1 and the controller model 2 of the controlled device 2 to indicate that the power-off 1 is on, and 1 is used in the controller model 3 of the controlled device 3 to indicate that the power-off 0 is on. If the standardization is not carried out, the key value pair is directly used, so that misunderstanding is easily caused, and whether starting or shutdown is indicated by 0 and 1 to the bottom is also judged according to the model.
Fig. 9 is a mapping diagram of a generic object model. The unified use of 0 indicates power on and 1 indicates power off. In order to facilitate actual analysis, keys in the attributes can be upgraded, start is used for starting up, and shut down is used for shut. Therefore, when equipment analysis is carried out, only the corresponding key value of the on-off state needs to be converted and mapped, and meanwhile, platform development is carried out, and the corresponding content only needs to be displayed according to the defined attribute value, regardless of the specific model of the equipment.
And for the air-conditioning mode, each model has the attribute, but the number and calling of attribute values in the attributes of different models are different, and when the key values are all 1, the automatic mode is represented in the controller model 1, the heating mode is represented in the controller model 2, and the cooling mode is represented in the controller model 3. And aiming at the air-conditioning blowing mode, some air-conditioning blowing modes are called as air-supplying modes, so that the management is very disordered. Like an air conditioner switch, the air conditioner mode attribute not only needs to standardize the type and name of the attribute value, but also needs to standardize the corresponding sequence of different attribute values, so that when the service function development is carried out, the corresponding icon can be displayed according to the attribute value, which is equivalent to converging the public attribute of a product, and simultaneously, the non-public attribute value can be dynamically displayed according to the model.
2) For important parameters but not public parameters of a product type, such as swinging air, locking, electricity consumption and the like of an air conditioner, the processing logic of some air conditioners is the same as that of an air conditioner mode, except that the air conditioner mode dynamically displays corresponding attribute values, and the whole attribute is dynamically displayed. For the electric quantity parameter of the air conditioner, the function is mainly to count the electricity consumption of the air conditioner, which is not a core function related to the air conditioner in practice, and more business functions except for an air conditioner application component are combined, so that special treatment is completely carried out according to models, when the business functions are expanded, whether the air conditioner controller supports the electricity consumption counting is judged, and the supported calls are used for acquiring the electricity consumption data by using an interface.
Referring to fig. 10, a diagram of a generic object model and a display of target status items is shown.
In the general object model, a general control signal for heating is '1', a general control signal for cooling is '2', a general control signal for air supply is '3', a general control signal for dehumidification is '4', and the like.
Acquiring state information of at least one controlled device, determining a target state item to be displayed of each controlled device according to the successfully acquired state information, and displaying the state information corresponding to the target state item according to the display configuration of the target state item by the general display configuration.
And acquiring display state items of different controlled devices, configuring the display state items of all the controlled devices into a public display state item, and configuring the display state items of part of the controlled devices into individual display state items. Wherein the universal display configuration comprises at least: a display configuration of the public display status item.
And when the acquired state information is the individual display state item, displaying the state information of the individual display state item according to the individual display configuration of the corresponding controlled equipment after the public display state item is displayed according to the general display configuration.
Heating, refrigerating and air supply are public display state items, heating display configuration is unified as the sun, refrigerating display configuration is unified as the snowflake, and air supply display configuration is unified as the sign of blowing.
And dehumidifying and automatically displaying status items for the individuality, unifying the dehumidifying display configuration into water drops, unifying the automatic display configuration into a cycle, and dynamically displaying the individuality display status when the acquired status information of the controlled equipment comprises the individuality display status.
The public display state item and the individual display state item have different display effects, the outer border of the icon of the public display state item is a solid line, and the outer border of the icon of the individual display state item is a dotted line, so that a user can distinguish two different displays conveniently.
3) Less important parameters for a product type such as the type of device being controlled, device version number and communication signal strength. Since the method has little meaning for application platform users or developers and has no substantial effect, the field can be removed (refer to the field in fig. 8) when defining the object model, and the method does not need to carry out standardization processing or analysis, thereby avoiding providing too many attributes with little meaning to users.
After the general object model definition of the equipment is specified, for the access of hardware equipment, corresponding data conversion and code development are carried out only by contrasting the attribute definitions of the equipment protocol document and the air conditioner according to the standard.
In the service function of the air conditioner, besides monitoring and controlling a single air conditioner, it is also necessary to support batch control and timing control, and both of these two controls may have air conditioner controllers of different models, so that the state values controlled by the air conditioner controllers need to be screened.
The scheme realizes the hardware access and core service functions of the air conditioner control equipment, integrates hardware and software into an intelligent system, and the intelligent system is a driving algorithm component of the intelligent system, simplifies the development process of the Internet of things, and enables the equipment to be plug and play. At this time, hardware is replaced, if the device is accessed before, the use of software is not influenced, and if the device is not accessed, the device needs to be accessed according to the object model specification (equivalent to installing a driver for the device). The third-party platform can call a data interface from the object model layer to control a single device, and can also perform batch control or control of some complex logics through a core service function interface.
Fig. 11 is another schematic diagram of generating the first control signal.
The method comprises the steps of obtaining a first timing configuration of at least one controlled device, and generating a first control signal according to a controlled object and a controlled function indicated by the first timing configuration when the controlled time of the at least one controlled device is reached. The method specifically comprises the following steps:
the method comprises the steps of building a timer, editing nouns and descriptions, configuring a timer execution time point, configuring timer execution actions such as starting up, shutting down, locking and unlocking and the like, configuring the timer execution time such as every day, working days or non-holidays and the like, selecting controlled equipment needing to be executed, selecting the controlled equipment according to the type of the controlled equipment, and then saving the timer to complete the configuration of the timer.
The method can separate and decouple the development of software and hardware functions in the air conditioner Internet of things scheme, drive the development of an equipment protocol and the development of an air conditioner service component through the definition of an equipment model, provide a standard application interface upwards, and support the access of any air conditioner control equipment meeting basic functions downwards. Through convergence of the equipment model, convergence of common parameters of equipment of the same type and individualized display of unique parameters of products of different models are realized, flexibility is higher, and plug and play of the equipment are realized.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
In some cases, any two of the above technical features may be combined into a new method solution without conflict.
In some cases, any two of the above technical features may be combined into a new device solution without conflict.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. A control method of an electronic device is applied to a control device and comprises the following steps:
acquiring first control information, wherein the first control information comprises: the first control signal and the equipment identification of the controlled equipment;
determining a target function for controlling the controlled equipment to execute according to the first control signal and a general object model; the generic object model comprises: a first mapping relationship belonging to a function and a general control signal capable of performing the same function as the controlled device;
matching the target function with a function in a second mapping relation; determining a control signal matched with the target function in the second mapping relation as a second control signal for controlling the controlled equipment to execute; wherein the second mapping relationship is: the personality model of the controlled equipment comprises a mapping relation between the function of the corresponding controlled equipment and a control signal which can be recognized and executed by the controlled equipment;
determining whether signal range values of second control signals of different controlled devices executing the same target function have intersection; and if the intersection exists, determining that the signal value of the second control signal is positioned in the intersection.
2. The method of claim 1, wherein determining the target function to be performed by the controlled device according to the first control information and a generic object model comprises:
matching the first control signal with a general control signal in the first mapping relation;
and determining the function mapped by the general control signal matched with the first control signal in the first mapping relation as a target function for controlling the controlled equipment to execute.
3. The method of claim 1 or 2, wherein the generic object model is: an object model built from first configuration information including functions that the controlled device is capable of performing, the first configuration information not including at least one of: the type of device being controlled, the device version number, and the communication signal strength.
4. The method of claim 1, wherein the personality models of different types of controlled devices are different.
5. The method of claim 1, further comprising:
obtaining a first timing configuration of at least one of the controlled devices;
the acquiring of the first control information includes:
and according to the first timing configuration, when the controlled time of at least one controlled device is reached, generating the first control signal according to the controlled object and the controlled function indicated by the first timing configuration.
6. The method of claim 1, further comprising:
obtaining a first timing configuration of at least one of the controlled devices; wherein the first timing configuration comprises: the first control signal capable of matching a generic control signal in the generic object model;
determining a target function for controlling at least one controlled device before the controlled time of the at least one controlled device is reached according to the first timing configuration and the generic object model;
determining a second timing configuration for controlling at least one controlled device to execute the target function at the controlled time according to the target function and the personality model; wherein the second timing configuration comprises: signal information of the second control signal that controls at least one of the controlled devices to perform the target function.
7. The method of claim 1, further comprising:
acquiring state information of at least one controlled device;
determining target state items to be displayed by each controlled device according to the successfully acquired state information;
and displaying the state information corresponding to the target state item according to the display configuration of the target state item by the general display configuration.
8. The method of claim 7, further comprising:
acquiring display state items of different controlled devices;
configuring the display status items of each controlled device into a public display status item, and configuring the display status items of part of the controlled devices into individual display status items;
wherein the generic display configuration comprises at least: a display configuration of the common display status item.
9. The method of claim 8, further comprising:
and when the acquired state information is the individual display state item, displaying the state information of the individual display state item according to the individual display configuration corresponding to the controlled equipment after the public display state item is displayed according to the general display configuration.
10. A control platform is characterized by being applied to control equipment and comprising:
a first control signal receiving module, configured to acquire first control information, where the first control information includes: the first control signal and the equipment identification of the controlled equipment;
the target function determining module is used for determining a target function for controlling the controlled equipment to execute according to the first control signal and the universal object model; the generic object model comprises: a first mapping relationship belonging to a function and a general control signal capable of performing the same function as the controlled device;
the second control signal determining module is used for matching the target function with a function in a second mapping relation; determining a control signal matched with the target function in the second mapping relation as a second control signal for controlling the controlled equipment to execute; wherein the second mapping relationship is: the personality model of the controlled equipment comprises a mapping relation between the function of the corresponding controlled equipment and a control signal which can be recognized and executed by the controlled equipment; determining whether signal range values of second control signals of different controlled devices executing the same target function have intersection; and if the intersection exists, determining that the signal value of the second control signal is positioned in the intersection.
11. An electronic device, comprising:
a processor;
a memory storing program instructions that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-9.
12. A storage medium storing a program which, when executed by a processor, performs the method of any one of claims 1 to 9.
CN202110622220.8A 2021-06-04 2021-06-04 Control method and control platform for electronic equipment, electronic equipment and storage medium Active CN113093565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110622220.8A CN113093565B (en) 2021-06-04 2021-06-04 Control method and control platform for electronic equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110622220.8A CN113093565B (en) 2021-06-04 2021-06-04 Control method and control platform for electronic equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113093565A CN113093565A (en) 2021-07-09
CN113093565B true CN113093565B (en) 2021-10-01

Family

ID=76664541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110622220.8A Active CN113093565B (en) 2021-06-04 2021-06-04 Control method and control platform for electronic equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113093565B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596017B (en) * 2021-07-27 2023-09-12 上海上实龙创智能科技股份有限公司 Protocol analysis method and device, soft gateway and storage medium
CN114296357A (en) * 2021-12-01 2022-04-08 青岛海尔科技有限公司 Method and device for processing functional data, electronic equipment and storage medium
CN114398693B (en) * 2022-03-24 2022-06-21 武汉慧联无限科技有限公司 Internet of things system building method and device, electronic equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1166125C (en) * 2002-11-06 2004-09-08 联想(北京)有限公司 Method for controlling and managing electrical appliances in household network
US10619415B2 (en) * 2004-05-06 2020-04-14 Mechoshade Systems, Llc Sky camera system utilizing circadian information for intelligent building control
TWI489067B (en) * 2010-02-10 2015-06-21 Hitachi Appliances Inc Air conditioning management system
US10459416B1 (en) * 2017-06-30 2019-10-29 Jose M. Fernandez Environmental control system and regulated power controller for same
CN107796064A (en) * 2017-10-23 2018-03-13 广东美的暖通设备有限公司 Air-conditioning system and its control method
CN108259279B (en) * 2017-12-06 2020-04-21 珠海格力电器股份有限公司 Control method and system of air conditioner, storage medium and processor
CN108006927A (en) * 2017-12-19 2018-05-08 珠海格力电器股份有限公司 Air-conditioning and its control method
CN110007615A (en) * 2019-04-15 2019-07-12 美的集团股份有限公司 A kind of intelligent home furnishing control method, medium, home equipment and mobile terminal
CN110795179B (en) * 2019-07-04 2021-04-09 华为技术有限公司 Display method and electronic equipment
CN111198511A (en) * 2020-03-06 2020-05-26 珠海格力电器股份有限公司 Centralized control method, storage device and processor for smart home

Also Published As

Publication number Publication date
CN113093565A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN113093565B (en) Control method and control platform for electronic equipment, electronic equipment and storage medium
US9575496B2 (en) HVAC controller with user-friendly installation features with wire insertion detection
CA2851367C (en) Hvac controller with user-friendly installation features facilitating both do-it-yourself and professional installation scenarios
US20130087629A1 (en) Hvac controller with user-friendly installation features facilitating both do-it-yourself and professional installation scenarios
US20150308708A1 (en) Control method of terminal device in air conditioning control system with selectable operating mode according to time and charges, and non-transitory computer-readable recording medium storing a program
US5988852A (en) Apparatus management system having virtual machines corresponding to apparatuses to be controlled
CA2620064C (en) Dynamically extensible and automatically configurable building automation system and architecture
CN112303822B (en) Air conditioner, function prompting method thereof, terminal and storage medium
EP2651078A1 (en) Method and apparatus for managing electronic appliance
CN105230038A (en) Energy management controller, EMS, energy management method and program
CN114120996A (en) Voice interaction method and device
US20130147829A1 (en) Heating, ventilation and air conditioning system user interface having adjustable fonts and method of operation thereof
CN111536663A (en) Control method and device of air conditioner
US20130151017A1 (en) Heating, ventilation and air conditioning system user interface having separate programming and manual mode screens and method of operation thereof
US9063555B2 (en) Heating, ventilation and air conditioning system user interface having seasonal programs and method of operation thereof
CN109323402A (en) Air conditioner and its control method and control device and electronic equipment
CN112484246A (en) Auxiliary programming method, device and equipment for air conditioner controller
CN102495649B (en) Method for entering into energy saving mode, apparatus and equipment thereof
CN110410935A (en) A kind of control method of air-conditioning power down Auto Power On
WO2023025210A1 (en) Control method for air conditioning system, and air conditioning system
CN212723694U (en) Control system of household electrical appliance
CN113932426B (en) Control method and control system for air conditioner power limiting, electronic equipment and storage medium
EP4321813A1 (en) Recommendation method for mounting position of air treatment module, and terminal and air conditioner
CN113810252B (en) Method and device for automatically adapting control interface of internet of things household appliance
CN116336642A (en) Equipment control method, device and storage medium

Legal Events

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

Effective date of registration: 20220124

Address after: Area 114-125, 1 / F, block D, Optical Valley Exhibition Center expansion project, No.1, Software Park East Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430000

Patentee after: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Address before: 430223 room 108-116, room 1, 1 / F, block D, Optical Valley Exhibition Center expansion project, No.1 Software Park East Road, Donghu Technology Development Zone, Wuhan City, Hubei Province

Patentee before: WUHAN EASYLINKIN TECHNOLOGY CO.,LTD

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Control method, control platform, electronic equipment and storage medium of electronic equipment

Effective date of registration: 20220528

Granted publication date: 20211001

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2022420000141

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230524

Granted publication date: 20211001

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2022420000141

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Control methods, control platforms, electronic devices, and storage media for electronic devices

Effective date of registration: 20230602

Granted publication date: 20211001

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: FILLER SMART IOT TECHNOLOGY Co.,Ltd.

Registration number: Y2023420000218