CN110209061B - Event reporting processing method in intelligent control system and central control device - Google Patents

Event reporting processing method in intelligent control system and central control device Download PDF

Info

Publication number
CN110209061B
CN110209061B CN201910448893.9A CN201910448893A CN110209061B CN 110209061 B CN110209061 B CN 110209061B CN 201910448893 A CN201910448893 A CN 201910448893A CN 110209061 B CN110209061 B CN 110209061B
Authority
CN
China
Prior art keywords
event
transaction
reporting
correlation analysis
transaction sets
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
CN201910448893.9A
Other languages
Chinese (zh)
Other versions
CN110209061A (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.)
Joyoung Co Ltd
Original Assignee
Joyoung 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 Joyoung Co Ltd filed Critical Joyoung Co Ltd
Priority to CN201910448893.9A priority Critical patent/CN110209061B/en
Publication of CN110209061A publication Critical patent/CN110209061A/en
Application granted granted Critical
Publication of CN110209061B publication Critical patent/CN110209061B/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 invention discloses an event reporting processing method and a central control device in an intelligent control system, wherein the method comprises the following steps: when a reporting event is received, detecting whether a target receiving device exists in the reporting event; when no target receiving equipment exists, analyzing the reported event to generate at least two transaction sets, and performing correlation analysis on common characteristics of the at least two transaction sets; and determining the receiving equipment to which the reported event arrives according to the correlation analysis result. The event reporting processing method and the central control device in the intelligent control system can dynamically determine the target position to which the reported event arrives for the reported event, thereby realizing decoupling among a plurality of devices and simultaneously ensuring better linkage among a plurality of linkage devices.

Description

Event reporting processing method in intelligent control system and central control device
Technical Field
The present disclosure relates to the field of intelligent home appliances, and in particular, to a method for reporting and processing events in an intelligent control system and a central control device.
Background
With the development of smart homes, a plurality of smart devices often exist in a home scene. In order to obtain better user experience and meet the linkage requirement among intelligent devices, the current intelligent device linkage solution is as follows:
the first scheme is as follows: BT-based point-to-point equipment linkage is widely applied to one-to-one scenes such as smoke pot linkage or pot stove linkage.
Scheme II: sending an instruction for executing a specific service to specific equipment in a voice interaction mode or the like based on IoT single instruction push;
the third scheme is as follows: the IoT-based combined instruction distribution method comprises the steps that a system decomposes a combined instruction into a plurality of instructions according to a preset strategy, and then pushes the instructions to a specific object.
The three schemes are all instructions with specific receiving objects. However, when there are many home devices and the above scheme with the instruction of the specific receiving object is adopted, the generated instruction paths are very many, and the method cannot flexibly adapt to a complex scene, which is not favorable for user experience.
Disclosure of Invention
In a first aspect, the present application provides a method for reporting and processing an event in an intelligent control system, including:
when a reporting event is received, detecting whether a target receiving device exists in the reporting event;
when no target receiving equipment exists, analyzing the reported event to generate at least two transaction sets, and performing correlation analysis on common characteristics of the at least two transaction sets;
and determining the receiving equipment to which the reported event arrives according to the correlation analysis result.
In a second aspect, the present application provides a central control device, including:
the device comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether target receiving equipment exists in a reporting event or not when the reporting event is received;
the correlation analysis module is used for analyzing the reported event to generate at least two transaction sets when no target receiving equipment exists, and performing correlation analysis on common characteristics of the at least two transaction sets;
and the pushing determining module is used for determining the receiving equipment to which the reported event arrives according to the correlation analysis result.
Compared with the prior art, the event reporting processing method and the central control device in the intelligent control system provided by at least one embodiment of the present application have the following effects: when the reporting event has no specific target receiving equipment, the receiving equipment to which the reporting event arrives can be determined after the dynamic association analysis of the reporting event, so that the target position to which the reporting event arrives is dynamically determined for the reporting event, the decoupling among a plurality of devices is realized, and the linkage among a plurality of linkage devices is better.
In some embodiments of the present invention, by analyzing the attribute of the reported event, the following effects can be achieved: and corresponding operation is carried out according to the attributes of the reported events to generate at least two transaction sets, so that the conversion of the preset state of the intelligent device and the binary attributes of the transaction data is realized, and the characteristics of the household equipment are well adapted.
In some embodiments of the present invention, the following effects can be achieved: 1. the decision instruction is generated through correlation analysis, the decision instruction can indicate the receiving equipment to which the reported event is to arrive and the operation executed by the receiving equipment, and the decision process is more intelligent. 2. The user prompt is generated through the correlation analysis, and the decision making process is more intelligent and accurate through the interaction with the user to confirm the correlation analysis result.
In some embodiments of the present invention, the following effects can be achieved: 1. the sending device sends the event to the message queue instead of the specific object, so that the decoupling of the sending device and the receiving device is realized. 2. After the transaction is generated, the association analysis of the transaction set taking the user as a unit is triggered, so that the problem of strong personalization of the association analysis is solved, and the association speed is higher.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. Other advantages of the present application may be realized and attained by the instrumentalities and combinations particularly pointed out in the specification and the drawings.
Drawings
The accompanying drawings are included to provide an understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the examples serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a flowchart of an event reporting processing method in an intelligent control system according to an embodiment of the present invention;
fig. 2 is a flowchart of reporting an event according to an embodiment of the present invention;
FIG. 3 is a flow chart of association analysis provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a central control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a system for processing an event reported by a communication device according to an embodiment of the present invention.
Detailed Description
The present application describes embodiments, but the description is illustrative rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or instead of any other feature or element in any other embodiment, unless expressly limited otherwise.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive concept as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive aspects to form yet another unique inventive aspect, as defined by the claims. Thus, it should be understood that any of the features shown and/or discussed in this application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not limited except as by the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.
Further, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other sequences of steps are possible as will be appreciated by those of ordinary skill in the art. Therefore, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Further, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
The invention provides an equipment linkage scheme based on association analysis, wherein a sending device firstly sends an event to a message queue named by a user identifier, a central control device monitors the message queue, performs association analysis and reasoning according to a specific strategy and sends a generated decision instruction to specific receiving equipment, so that decoupling among a plurality of pieces of equipment is realized, and the linkage among the plurality of pieces of linkage equipment is better.
There is a need for linkage between the sending device and the receiving device. The sending equipment and the receiving equipment can be communication equipment with networking function in a family, and include but are not limited to lamps, televisions, air conditioners, floor sweepers, electric cookers, gas stoves, smoke exhaust ventilators, water heaters, intelligent sound boxes, monitoring cameras, light sensors or temperature sensors. The central control device may include, but is not limited to, a user terminal, an intelligent appliance or a router, etc.
Fig. 1 is a flowchart of an event reporting processing method in an intelligent control system according to an embodiment of the present invention, and as shown in fig. 1, an execution main body of the event reporting processing method in the intelligent control system according to the embodiment of the present invention is a central control device, and the method includes:
s101: and when a reporting event is received, detecting whether target receiving equipment exists in the reporting event.
In this embodiment, when receiving a reporting event, the central control device first determines whether the event has a clear sending target, so as to determine a subsequent operation.
The reporting event is an event sent by the sending equipment, and the specific content of the reporting event is related to the sending equipment. For example, if the sending device is a temperature sensor, the reporting event may be a temperature value. If the sending device is an intelligent household appliance, such as a range hood, the reported event may be a state of the range hood, such as on or off, or a power of the range hood.
Optionally, the reporting event may be represented by E (power, attr, data), where the power represents a sending device of the event, such as a temperature sensor or a lamp; attr represents the content of the event, such as temperature or light intensity; data represents data of an event, such as 25 ℃ or 20 Lux.
Optionally, the reporting event may further include target device information target, which may be represented by E (power, target, attr, data). After the event is reported, the central control device can determine whether a target receiving device exists in the event by detecting the target device information target in the event. And when the target is empty, determining that no target receiving equipment exists in the event. When the target is not empty, it may be determined that there is a target receiving device in the event, and the target receiving device is specific content information in the target, such as an air conditioner.
S102: and when no target receiving equipment exists, performing correlation analysis on the reported event.
In this embodiment, when the event does not have an explicit sending target, the dynamic association analysis is performed on the reported event.
Optionally, when performing dynamic association analysis on the reported event, the method may include: and analyzing the reported event, generating at least two transaction sets, and performing correlation analysis on common characteristics of the at least two transaction sets. In this embodiment, the common feature refers to a transaction related to the reported event in at least two transaction sets, for example, the common feature may be a transaction having the same source as the reported event, for example, when the camera detects that there is a person in the living room, the camera generates transactions such as living room refrigeration, living room presence and/or living room air conditioning in the transaction set, that is, the common feature in the transaction set may be used to perform correlation analysis on the living room refrigeration, the living room presence and/or the living room air conditioning. For analyzing the reporting event and generating at least two transaction sets, details of the following description of the embodiments are not repeated herein.
Optionally, when performing dynamic association analysis on the reported event, a preset association analysis algorithm may be used, and the preset association analysis algorithm may include, but is not limited to, an FP-growth algorithm. Whether a live device related to the content exists or not can be detected according to the content of the reporting event, and the receiving equipment to which the reporting event arrives is determined in the related live device. The living device is a device which is working and is controlled in linkage with the transmitting device. For example, the reporting event is a temperature value sent by a temperature sensor, and whether a living device related to the temperature value exists or not, such as an air conditioner or a refrigerator, can be detected. The specific association analysis scheme is described in the following embodiments, which are not repeated herein.
Optionally, the method for reporting and processing the event in the intelligent control system provided in the embodiment of the present invention may further include: and when the target receiving equipment exists, the reporting event is directly sent to the target receiving equipment. In this embodiment, when an event has an explicit transmission target, the event is directly transmitted to the target receiving apparatus.
S103: and determining the receiving equipment to which the reported event arrives according to the correlation analysis result.
In this embodiment, according to the result of the dynamic association analysis, the receiving device to which the reporting event is to arrive may be determined. The specific correlation analysis result can be described in detail in the following embodiments, which are not described herein again.
According to the event reporting processing method in the intelligent control system, when the reporting event does not have a specific target receiving device, the receiving device to which the reporting event arrives can be determined after the dynamic correlation analysis of the reporting event, and the target position to which the reporting event arrives can be dynamically determined for the reporting event, so that decoupling among a plurality of devices is achieved, and linkage among a plurality of linkage devices is better.
Further, in the above embodiment, analyzing the reporting event to generate at least two transaction sets may include: analyzing the attribute of the reported event, and performing corresponding operation according to the attribute of the reported event to generate at least two transaction sets.
Wherein a set of transactions comprises one or more transactions. A transaction set may be denoted by T ═ { T1, T2, …, tn }, T denoting a single transaction and n denoting the number of transactions. The set of all items in the transaction set may be represented by I. Alternatively, a transaction set may also be referred to as an item set.
In this embodiment, a transaction set is generated by analyzing events, and association rules of different transaction sets in the events are discovered by analyzing a plurality of transaction sets in association.
Optionally, the reporting event may further include an attribute information type of the event, which may be represented by E (power, target, type, attr, data). type represents the attribute of the event, and when the event is a first type information event, the type is 0; when the event is a second type information event, the type is 1.
Specifically, the corresponding operation is performed according to the attribute of the reported event to generate at least two transaction sets, which may include the following two implementation manners:
the first implementation mode comprises the following steps: when the attribute of the reporting event is the first type of information, judging whether the reporting event triggers the preset state of the sending equipment or not; when the preset state of the sending equipment is triggered, the attribute of the active equipment is dualized according to the preset state, and at least two transaction sets are generated.
Wherein the first type of information comprises continuous attribute events. The continuous attribute event refers to a parameter value, such as temperature, of which the reported data of the event is continuously changed.
In this embodiment, when an event has no specific sending target, it is determined whether the event is an event with binary attributes, and if not, the attribute value of the sending device is updated, and it is determined whether to trigger the preset state of the apparatus, and if so, the continuous attributes in the live apparatus are binarized according to the preset state, and then an transaction set is generated.
For example, taking the example that the sending device is a temperature sensor to report the event temperature value, the temperature value reported by the temperature sensor is a continuous value and belongs to a continuous attribute event. And if the preset state refrigeration is 28 ℃, triggering the preset state refrigeration to be 28 ℃ when the reported temperature sensor event shows that the temperature is 28.1 ℃, and generating an affair set, wherein the 'refrigeration' of the affair set is 1.
The second implementation mode comprises the following steps: and when the attribute of the reported event is the second type of information, dualizing the attribute of the active equipment according to a preset state and generating at least two transaction sets.
Wherein the second type of information comprises binary attribute events. The binary attribute event refers to a non-yes or no parameter value of data reported by the event, and can be represented by 0 and 1, such as an on or off working state.
In this embodiment, when the event has no specific sending target, it is determined whether the event is an event having a binary attribute, and if the event is a binary attribute event, the continuous attribute in the live device is binarized according to a preset state, and then a transaction set is generated.
For example, taking the sending device as an air conditioner reporting working state as an example, the working state reported by the air conditioner includes on or off, and belongs to a binary attribute event. And when the reported air conditioner event display state is on, directly generating a transaction set, wherein the 'state' of the transaction in the transaction set is 1.
Specifically, fig. 2 is a flowchart of reporting an event according to an embodiment of the present invention, and as shown in fig. 2, a process of reporting an event according to an embodiment of the present invention may include the following steps:
s201: and reporting the event.
S202: it is judged whether there is a transmission destination. If yes, go to S203; otherwise, S204 is executed.
S203: and sending the data to the target receiving equipment, and ending.
S204: it is determined whether it is a binary attribute event. If yes, executing S207; otherwise, S205 is performed.
S205: the attribute values of the sending device are updated.
S206: and judging whether to trigger a preset state. If yes, executing S207; otherwise, ending.
S207: the continuous attribute in the living device is dualized.
S208: a transaction set is generated.
The event reporting processing method in the intelligent control system provided by the embodiment of the invention performs corresponding operation according to the attributes of the reported event to generate at least two transaction sets, realizes the conversion of the preset state of the intelligent device and the binary attributes of the transaction data, and is well suitable for the characteristics of the household equipment.
Further, in the above embodiment, after the transaction set is generated, in order to implement efficient analysis, an FP-growth algorithm may be used to perform association analysis on the generated multiple transaction sets, so as to obtain a frequent transaction set. For the obtained frequent transaction set, the association result can be determined through the support degree and/or the confidence degree. The implementation principle of the FP-growth algorithm is the same as that in the prior art, and this embodiment is not described herein again.
Specifically, the association analysis is performed on common characteristics of at least two transaction sets, which can be implemented by the following several implementation manners:
the first implementation mode comprises the following steps: calculating confidence degrees C of common features of at least two transaction sets; and determining a correlation analysis result according to the confidence coefficient C.
In this embodiment, for the frequent transaction set obtained by using the FP-growth algorithm, the association result may be determined by the confidence C.
Optionally, the common features of the at least two transaction sets may form a first transaction set X and a second transaction set Y, and calculating the confidence C of the transaction sets may include: the confidence C is calculated using the formula C (X → Y) ═ δ (X @ Y)/δ (X).
In this embodiment, the common features of at least two transaction sets may form two transaction sets, where the first transaction set may include a device or a preset state that has been triggered by a reporting event, and the second transaction set may include a device or a preset state that has not been triggered by a reporting event. For example, as described in the above embodiments, when the camera detects that there is a person in the living room, the common feature of the generated transaction set is the transactions such as cooling in the living room, having a person in the living room, and/or air conditioning in the living room. When the correlation analysis is carried out on the living room refrigeration, the living room with people and/or the living room air conditioner, the fact that the temperature of the living room detected by a temperature sensor of the living room reaches a refrigeration state is found, at the moment, the living room refrigeration and the living room with people belong to preset states triggered by a reporting event, the living room refrigeration and the living room with people can form a first transaction set X, the living room air conditioner belongs to equipment not triggered by the reporting event, the living room air conditioner can form a second transaction set Y, and the correlation analysis can be carried out on the first transaction set X (the living room refrigeration and the living room with people) and the second transaction set Y (the living room air conditioner).
Wherein δ represents the support count of transaction set X and/or Y, and N is the total number of transactions in transaction sets X and Y. δ (X @ Y) represents the support count of transaction sets X and Y, and δ (X) represents the support count of transaction set X.
In this embodiment, the support metric δ may adopt a method in the prior art, such as but not limited to a HASH algorithm, which is not limited and described herein.
Optionally, determining an analysis association result according to the confidence degree C may include: and comparing the confidence coefficient C with a threshold value, and determining an analysis association result according to the comparison result.
In this embodiment, two thresholds may be set for the confidence C: the execution threshold Cexec may be 0.9 and the reminder threshold Cwarn may be 0.7. The confidence C is compared to the execution threshold Cexec and/or the reminder threshold Cwarn to determine the analytical correlation result. The method specifically comprises the following two correlation results:
correlation analysis result 1: and when C > -Cexec, generating a decision instruction, wherein the decision instruction is used for indicating the receiving equipment to which the report event arrives and the operation executed by the receiving equipment.
In this embodiment, when C > -Cexec, the association rule is directly executed, and a decision instruction is generated. Optionally, the determining, by the central control apparatus, the receiving device to which the report event arrives according to the correlation analysis result may include: and determining the target receiving equipment according to the decision instruction, and controlling the target receiving equipment to execute the operation indicated by the decision instruction.
According to the event reporting processing method in the intelligent control system, the decision instruction is generated through correlation analysis, the decision instruction can indicate the receiving equipment where the reported event arrives and the operation executed by the receiving equipment, and the decision process is more intelligent.
Correlation analysis result 2: and when Cwann < C < Cexec, performing user reminding to perform correlation analysis result confirmation.
In this embodiment, when Cwarn ═ C < Cexec, the central control device may perform user reminding by interacting with the user. If the user confirms, the association item is included in the transaction set and stored.
Optionally, when the user is reminded, the method for processing event reporting in the intelligent control system provided in the embodiment of the present invention may further include: confirming the correlation analysis result through voice interaction; and when a user confirmation result is received, generating a decision instruction according to the user confirmation result.
In this embodiment, when Cwarn ═ C < Cexec, the central control device may perform voice interaction with the user, and the user may perform result confirmation by using the voice interaction device, so that the central control device generates a decision instruction according to the result confirmed by the user.
The voice interaction device for the user to confirm the result may be set in the central control device, and the voice interaction device may also be other communication devices including but not limited to a smart device, a smart phone, or a distributed sound pickup system, etc. having a voice interaction function.
According to the event reporting processing method in the intelligent control system, the user reminding is generated through the correlation analysis, the correlation analysis result is confirmed through the interaction with the user, and the decision making process is more intelligent and accurate.
The second implementation mode comprises the following steps: calculating the support S and the confidence C of the common features of at least two transaction sets; and determining a correlation analysis result according to the support degree S and the confidence degree C.
In this embodiment, for the frequent transaction set obtained by using the FP-growth algorithm, the association result may be determined by two parameters, i.e., the support degree S and the confidence degree C.
Optionally, on the basis of calculating the confidence degree C in the first implementation, the common feature of the at least two transaction sets may form a first transaction set X and a second transaction set Y, and calculating the support degree S of the common feature of the at least two transaction sets may include: the support degree S is calculated using the formula S (X → Y) ═ δ (X @ Y)/N.
In this embodiment, the support is to select a transaction set, and associate the transaction sets satisfying the minimum support together. Optionally, determining an analysis association result according to the support degree S and the confidence degree C may include: and comparing the support degree S with a threshold value, determining a transaction set meeting the support degree S threshold value condition, comparing the confidence degree C of the transaction set meeting the support degree S threshold value condition with the threshold value, and determining an analysis correlation result according to the comparison result.
In this embodiment, a threshold is set for the support degree S: minimum threshold S min ,S min May be 0.3. For a plurality of transaction sets, the support degrees S and S are set min Comparing, when the support degree S is greater than or equal to S min The confidence C is compared to the execution threshold Cexec and/or the reminder threshold Cwarn to determine the analytical correlation result. The first implementation manner may be referred to for determining the analysis association result by comparing the confidence C with the execution threshold Cexec and/or the reminding threshold Cwarn, which is not described herein again.
The third implementation mode comprises the following steps: calculating the support S of the common characteristics of at least two transaction sets; and determining a correlation analysis result according to the support degree S.
In this embodiment, for the frequent transaction set obtained by using the FP-growth algorithm, the association result may be determined by the support S. For the calculation method of the support degree S, reference may be made to the second implementation manner, which is not described herein again in this embodiment.
Optionally, determining an analysis association result according to the support S may include: and comparing the support degree S with a threshold value, and determining an analysis correlation result according to the comparison result.
In this embodiment, a threshold is set for the support degree S: minimum threshold S min ,S min May be 0.3. The support degrees S and S min And comparing to determine the analysis correlation result. The method specifically comprises the following two correlation results:
correlation analysis result 1: when S is>=S min And generating a decision instruction, wherein the decision instruction is used for indicating the receiving equipment to which the reported event arrives and the operation executed by the receiving equipment.
Correlation analysis result 2: when S is<S min And prompting a user to confirm the correlation analysis result.
In this implementation, the decision instruction and the user prompt generation may refer to the first implementation, which is not limited and described herein.
Fig. 3 is a flowchart of association analysis provided in an embodiment of the present invention, and as shown in fig. 3, a process of association analysis provided in an embodiment of the present invention may include the following steps:
s301: and generating a transaction.
S302: and performing association analysis on the transaction set.
S303: and judging whether the association rule reaches a threshold value. If yes, go to S304; otherwise, S307 is executed.
In this embodiment, determining whether the association rule reaches the threshold may include the above three implementation manners in association analysis, which is not described herein again.
S304: and generating a decision instruction.
S305: and sending the data to the target receiving equipment.
S306: and the control target receiving equipment executes the decision instruction, and the operation is finished.
S307: and carrying out rule reminding.
S308: it is determined whether the user confirms the rule. If yes, go to S309; otherwise, ending.
S309: storing the transaction as an associated transaction, executing S306.
For example, taking a living room as an example for illustration, assume that an example of a transaction set for generating a transaction is shown in table 1:
TABLE 1
Figure BDA0002074487800000121
The association process is specifically as follows:
when the camera detects that people exist in the living room, the business is ready to be generated. And (3) finding that the temperature of the living room detected by the temperature sensor of the living room reaches a refrigeration state, and generating an affair set X (living room refrigeration, living room presence) and an affair set Y (living room air conditioner) for correlation analysis. If the confidence coefficient C > is Cexec, directly starting the air conditioner in the living room; if the confidence coefficient C meets the condition that Cwann is equal to C < Cexec, reminding a user whether the air conditioner needs to be started or not. If the user confirms to turn on the air conditioner, t (the living room is refrigerated (1), the living room has a person (1), and the living room air conditioner (1)) is stored as a related transaction. If the customer gives a negative answer, t (the living room is refrigerated (1), the living room has a person (1) and the living room is air-conditioned (0)) is stored as a related transaction.
The method for processing event reporting in the intelligent control system provided by the embodiment of the invention has the advantages that firstly, the decision instruction is generated through correlation analysis, the decision instruction can indicate the receiving equipment to which the reported event is to arrive and the operation executed by the receiving equipment, and the decision process is more intelligent. And secondly, the user prompt is generated through the correlation analysis, and the correlation analysis result is confirmed through the interaction with the user, so that the decision making process is more intelligent and accurate.
Further, in the above embodiment, when receiving a reporting event, the method for processing event reporting in the intelligent control system according to the embodiment of the present invention may further include: and sending the received reporting event to a preset message queue.
The message queue refers to a message container which runs in the cloud or supports a publish-subscribe function.
In this embodiment, the sending device sends the event to the message queue instead of the specific object, thereby achieving decoupling between the sending device and the receiving device.
Generating at least two transaction sets, and performing association analysis on common characteristics of the at least two transaction sets, wherein the association analysis comprises the following steps: generating at least two transaction sets in a preset message queue, and performing association analysis on the transaction sets in the preset message queue.
Wherein, the user identifier of the preset message queue is matched with the user identifier of the sending device, and the user identifier comprises: the identity of the user account is unique identification.
Optionally, the reporting event may further include a user information user, and the user information user may be a user identifier. Events can be represented by E (user, power, target, type, attr, data). After the event is reported, the central control device can determine whether the user identifier of the preset message queue is matched with the user identifier of the sending equipment or not by detecting the user information user in the event.
In this embodiment, after the transaction is generated, the association analysis of the transaction set using the user as a unit is triggered, so that the problem of strong personalization of the association analysis is solved, and the association speed is faster.
Fig. 4 is a schematic structural diagram of a central control device according to an embodiment of the present invention, and as shown in fig. 4, the central control device according to the embodiment of the present invention may include: a detection module 41, an association analysis module 42 and a push determination module 43.
A detecting module 41, configured to detect whether there is a target receiving device in a reporting event when the reporting event is received;
the association analysis module 42 is configured to, when there is no target receiving device, analyze the reporting event, generate at least two transaction sets, and perform association analysis on common features of the at least two transaction sets;
a push determining module 43, configured to determine, according to the association analysis result, a receiving device to which the reporting event is to arrive.
The central control device provided in the embodiment of the present invention is used for executing the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the implementation effect thereof are similar and will not be described herein again.
Further, in the above embodiment, the analyzing module 42 analyzes the reporting event to generate at least two transaction sets, which may include:
analyzing the attribute of the reported event;
when the attribute of the reporting event is first type information, judging whether the reporting event triggers a preset state of a sending device, wherein the sending device is a device for sending the event;
when the preset state of the sending equipment is triggered, the attribute of the equipment in existence is dualized according to the preset state, and at least two transaction sets are generated;
the live device is a device which is working and is in linkage control with the sending device, and one transaction set comprises one or more transactions.
Further, in the above embodiment, the association analysis module 42 is further configured to:
and when the attribute of the reported event is the second type of information, dualizing the attribute of the active equipment according to a preset state, and generating at least two transaction sets.
Further, in the above embodiment, the performing, by the association analysis module 42, association analysis on common features of the generated at least two transaction sets may include:
calculating the support S and/or confidence C of the common characteristics of the at least two transaction sets;
and determining a correlation analysis result according to the support degree S and/or the confidence degree C.
Further, in the above embodiment, the association analysis module 42 determines an analysis association result according to the confidence level C, which may include:
comparing the confidence level C to an execution threshold Cexec and/or a reminder threshold Cwarn;
when C > -Cexec, generating a decision instruction, wherein the decision instruction is used for indicating a receiving device to which the report event arrives and an operation executed by the receiving device;
and when Cwann < C < Cexec, performing user reminding to perform correlation analysis result confirmation.
Further, in the above embodiment, the association analysis module 42 is further configured to:
confirming the correlation analysis result through voice interaction;
and when a user confirmation result is received, generating the decision instruction according to the user confirmation result.
Further, as shown in fig. 4, the central control device further includes: and the voice interaction module 44 is used for receiving the confirmation of the correlation analysis result of the user.
Further, in the above embodiment, the common features of the at least two transaction sets form a first transaction set X and a second transaction set Y, and the calculating, by the association analysis module 42, a support S and/or a confidence degree C of the common features of the at least two transaction sets may include:
calculating the support degree S by adopting a formula S (X → Y) delta (X U Y)/N;
calculating confidence coefficient C by adopting a formula C (X → Y) ═ delta (X U Y)/delta (X);
wherein δ represents the support count of transaction set X and/or Y, and N is the total number of transactions in transaction sets X and Y.
Further, in the above embodiment, the detecting module 41 is further configured to send the received reporting event to a preset message queue;
the association analysis module 42 generates at least two transaction sets and performs association analysis on the generated at least two transaction sets, which may include: generating at least two transaction sets in the preset message queue, and performing correlation analysis on common characteristics of the transaction sets in the preset message queue;
wherein the user identifier of the preset message queue matches the user identifier of the sending device, the user identifier comprising: the identity of the user account is unique identification.
Further, in the above embodiment, the detecting module 41 is further configured to directly send the reporting event to the target receiving device when the target receiving device exists.
Fig. 5 is a schematic structural diagram of an intelligent control system according to an embodiment of the present invention, and as shown in fig. 5, the intelligent control system according to the embodiment of the present invention may include: the system comprises a sending device, a central control device, at least two receiving devices and a voice interaction device.
The sending equipment and the receiving equipment can be intelligent devices with networking functions in a family, and the intelligent devices include but are not limited to lamps, televisions, air conditioners, floor sweeping machines, electric cookers, gas stoves, range hoods, water heaters, intelligent sound boxes, monitoring cameras, light sensors or temperature sensors and the like. The central control device may include, but is not limited to, a user terminal, an intelligent appliance or a router, etc. The voice interaction device includes, but is not limited to, a smart device, a smart phone, or a communication device such as a distributed sound pickup system, which has a voice interaction function.
The central control device can comprise a correlation analysis engine, a push engine and a semantic understanding engine. The association analysis engine refers to a business module for discovering association rules of transaction sets in an event by analyzing transactions of the event, and performs the same functions as those of the detection module 41 and the association analysis module 42 in fig. 4. The push engine refers to a service module that sends a decision instruction to a target receiving device through a long connection, and performs the same function as the push determination module 43 in fig. 4. The semantic understanding engine refers to a business module capable of recognizing user voice information through text analysis of voice, and performs the same function as the voice interaction module 44 in fig. 4.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (9)

1. An event reporting processing method in an intelligent control system is characterized by comprising the following steps:
when a reporting event is received, detecting whether a target receiving device exists in the reporting event;
when no target receiving equipment exists, analyzing the reported event to generate at least two transaction sets, performing correlation analysis on common features of the at least two transaction sets, and calculating the support degree S and/or the confidence degree C of the common features of the at least two transaction sets; determining a correlation analysis result according to the support degree S and/or the confidence degree C;
and determining the receiving equipment to which the reported event arrives according to the correlation analysis result.
2. The method of claim 1, wherein analyzing the reporting event to generate at least two transaction sets comprises:
analyzing the attribute of the reported event;
when the attribute of the reporting event is first type information, judging whether the reporting event triggers a preset state of a sending device, wherein the sending device is a device for sending the event;
when the preset state of the sending equipment is triggered, the attribute of the equipment in existence is dualized according to the preset state, and at least two transaction sets are generated;
the live device is a device which is working and is in linkage control with the sending device, and one transaction set comprises one or more transactions.
3. The method of claim 2, wherein analyzing the attributes of the reporting event, the method further comprises:
and when the attribute of the reported event is the second type of information, dualizing the attribute of the active equipment according to a preset state, and generating at least two transaction sets.
4. The method of claim 1, wherein determining an analytical correlation result based on the confidence level C comprises:
comparing the confidence level C to an execution threshold Cexec and/or a reminder threshold Cwarn;
when C > -Cexec, generating a decision instruction, wherein the decision instruction is used for indicating a receiving device to which the report event arrives and an operation executed by the receiving device;
and when Cwann < C < Cexec, performing user reminding to perform correlation analysis result confirmation.
5. The method of claim 4, wherein when a user alert is made, the method further comprises:
confirming the correlation analysis result through voice interaction;
and when a user confirmation result is received, generating the decision instruction according to the user confirmation result.
6. The method of claim 1, wherein the common features of at least two sets of transactions form a first set of transactions X and a second set of transactions Y, and wherein calculating a support S and/or a confidence C of the common features of at least two sets of transactions comprises:
calculating the support degree S by adopting a formula S (X → Y) delta (X U Y)/N;
calculating confidence coefficient C by adopting a formula C (X → Y) ═ delta (X U Y)/delta (X);
wherein δ represents the support count of transaction set X and/or Y, and N is the total number of transactions in transaction sets X and Y.
7. The method according to any of claims 1-3, wherein upon receiving a reporting event, the method further comprises:
sending the received reporting event to a preset message queue;
the generating at least two transaction sets and performing association analysis on common characteristics of the at least two transaction sets comprise: generating at least two transaction sets in the preset message queue, and performing correlation analysis on common characteristics of the transaction sets in the preset message queue;
wherein the user identifier of the preset message queue matches with a user identifier of a sending device, the user identifier comprising: the identity of the user account is unique identification.
8. The method of claim 1, wherein when detecting whether there is a target receiving device in the reporting event, the method further comprises:
and when the target receiving equipment exists, directly sending the reporting event to the target receiving equipment.
9. A central control device, comprising:
the device comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether target receiving equipment exists in a reporting event or not when the reporting event is received;
the correlation analysis module is used for analyzing the reported event to generate at least two transaction sets when no target receiving equipment exists, performing correlation analysis on common features of the at least two transaction sets, and calculating the support degree S and/or the confidence degree C of the common features of the at least two transaction sets; determining a correlation analysis result according to the support degree S and/or the confidence degree C;
and the pushing determining module is used for determining the receiving equipment to which the reported event arrives according to the correlation analysis result.
CN201910448893.9A 2019-05-28 2019-05-28 Event reporting processing method in intelligent control system and central control device Active CN110209061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910448893.9A CN110209061B (en) 2019-05-28 2019-05-28 Event reporting processing method in intelligent control system and central control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910448893.9A CN110209061B (en) 2019-05-28 2019-05-28 Event reporting processing method in intelligent control system and central control device

Publications (2)

Publication Number Publication Date
CN110209061A CN110209061A (en) 2019-09-06
CN110209061B true CN110209061B (en) 2022-08-09

Family

ID=67788924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910448893.9A Active CN110209061B (en) 2019-05-28 2019-05-28 Event reporting processing method in intelligent control system and central control device

Country Status (1)

Country Link
CN (1) CN110209061B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681928A (en) * 2014-11-18 2016-06-15 小米科技有限责任公司 Device control method and apparatus
CN107209818A (en) * 2015-02-06 2017-09-26 高通股份有限公司 The method and system protected for improved Malware is interacted with the fictitious users of mobile device for detecting
CN107548500A (en) * 2015-04-29 2018-01-05 微软技术许可有限责任公司 Event anomalies based on user's routine model
CN108351882A (en) * 2015-08-28 2018-07-31 斯沃尔德斯股份有限公司 Method and apparatus for the distributed data base in network
CN109165237A (en) * 2018-08-28 2019-01-08 新华三大数据技术有限公司 Method, apparatus and electronic equipment are determined with object

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10162344B2 (en) * 2013-03-12 2018-12-25 Honeywell International Inc. Mechanism and approach for monitoring building automation systems through user defined content notifications
CN103281341A (en) * 2013-06-27 2013-09-04 福建伊时代信息科技股份有限公司 Network event processing method and device
US9989942B2 (en) * 2013-12-30 2018-06-05 Qualcomm Incorporated Preemptively triggering a device action in an Internet of Things (IoT) environment based on a motion-based prediction of a user initiating the device action
CN104486139B (en) * 2014-11-26 2019-02-12 中国建设银行股份有限公司 A kind of system communication detection method and device
CN105843057B (en) * 2016-03-25 2019-02-05 联想(北京)有限公司 A kind of control method and electronic equipment
CN107783781A (en) * 2016-08-24 2018-03-09 北京京东尚科信息技术有限公司 Smart machine interlock method and device based on IFTTT
CN106527168A (en) * 2016-12-27 2017-03-22 海尔优家智能科技(北京)有限公司 AllJoyn linkage control conflict resolution method, trigger and server
CN108267962B (en) * 2016-12-30 2021-08-06 中国移动通信有限公司研究院 Control method and device
CN108733005B (en) * 2017-04-21 2021-05-25 北京京东尚科信息技术有限公司 Method and device for controlling linkage of intelligent equipment
CN109324769B (en) * 2018-09-30 2022-02-15 北京小米移动软件有限公司 Task processing method and device
CN109241949A (en) * 2018-10-19 2019-01-18 珠海格力电器股份有限公司 Image processing method and air-conditioning equipment, terminal, storage medium, electronic device
CN109358602A (en) * 2018-10-23 2019-02-19 山东中创软件商用中间件股份有限公司 A kind of failure analysis methods, device and relevant device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681928A (en) * 2014-11-18 2016-06-15 小米科技有限责任公司 Device control method and apparatus
CN107209818A (en) * 2015-02-06 2017-09-26 高通股份有限公司 The method and system protected for improved Malware is interacted with the fictitious users of mobile device for detecting
CN107548500A (en) * 2015-04-29 2018-01-05 微软技术许可有限责任公司 Event anomalies based on user's routine model
CN108351882A (en) * 2015-08-28 2018-07-31 斯沃尔德斯股份有限公司 Method and apparatus for the distributed data base in network
CN109165237A (en) * 2018-08-28 2019-01-08 新华三大数据技术有限公司 Method, apparatus and electronic equipment are determined with object

Also Published As

Publication number Publication date
CN110209061A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
US11153336B2 (en) Network security analysis for smart appliances
CN108667697B (en) Voice control conflict resolution method and device and voice control system
EP3211836B1 (en) Cooking state alerting method and apparatus, computer program and recording medium
WO2019109660A1 (en) Apparatus control device, method, and apparatus having same
CN112202648B (en) Control method and system of networked home equipment
CN107632526B (en) Control device, method, storage medium and equipment
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
JP6898286B2 (en) Network systems, servers, and information processing methods
WO2016192458A1 (en) User terminal, home central controller and smart home control method and system
JP2021103888A (en) Notification control device, notification control system, notification control method, and program
JP2023100607A (en) Device management method and program
EP3282645A1 (en) Apparatus and method for controlling the noise level of appliances
CN109829360A (en) Electrical equipment control method, device, electrical equipment and storage medium
US20140330833A1 (en) Device classification method, device classification system, and device
CN110209061B (en) Event reporting processing method in intelligent control system and central control device
CN109412908A (en) A kind of method and apparatus that voice shows controllable device
Hayashi et al. Cooperation between heterogeneous iot devices using ihac hub
CN110989423B (en) Method, device, terminal and computer readable medium for controlling multiple intelligent devices
CN116614858A (en) Data transmission method and device, storage medium and electronic equipment
CN114915514B (en) Method and device for processing intention, storage medium and electronic device
KR101965284B1 (en) System and method for controlling domestic appliances, and computer readable medium for performing the method
CN109884907B (en) Household appliance state broadcasting method, device and equipment
CN111752162B (en) Method and apparatus for undoing coordinated operations and computer readable storage medium
CN110160219B (en) Air conditioning system and control method thereof, air conditioner and control method of intelligent household appliance system
CN110542179A (en) control method and device of air conditioner

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