CN116107231A - Log processing method, device and system for intelligent household equipment - Google Patents
Log processing method, device and system for intelligent household equipment Download PDFInfo
- Publication number
- CN116107231A CN116107231A CN202310405714.XA CN202310405714A CN116107231A CN 116107231 A CN116107231 A CN 116107231A CN 202310405714 A CN202310405714 A CN 202310405714A CN 116107231 A CN116107231 A CN 116107231A
- Authority
- CN
- China
- Prior art keywords
- control
- target controlled
- node
- target
- identifier
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims description 7
- 238000000034 method Methods 0.000 claims abstract description 49
- 238000012545 processing Methods 0.000 claims abstract description 29
- 230000001960 triggered effect Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y10/00—Economic sectors
- G16Y10/80—Homes; Buildings
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y20/00—Information sensed or collected by the things
- G16Y20/20—Information sensed or collected by the things relating to the thing itself
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/30—Control
- G16Y40/35—Management of things, i.e. controlling in accordance with a policy or in order to achieve specified objectives
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2823—Reporting information sensed by appliance or service execution status of appliance services in a home automation network
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Business, Economics & Management (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- Architecture (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Quality & Reliability (AREA)
- Manufacturing & Machinery (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
The utility model provides a method, a device and a system for processing logs of intelligent household equipment, which relate to the technical field of intelligent household control, the system comprises a server, a client and at least one controlled equipment, each controlled equipment corresponds to a first identifier, each controlled equipment comprises at least one sub-node, each sub-node corresponds to a second identifier, each sub-node comprises at least one state, each state of each sub-node corresponds to a state value, the server receives a household equipment control request sent by the client, control log information is generated, the control log information comprises control failure information, time information and control mode information, a control instruction is sent to a first target controlled equipment, so that the first target controlled sub-node obtains a target state value from the first target controlled equipment, and an operation corresponding to the target state value is executed, and the problem that the log information of the intelligent household equipment in the prior art is not detailed is solved.
Description
Technical Field
The invention relates to the technical field of intelligent home control, in particular to a method, a device and a system for processing logs of intelligent home equipment.
Background
The prior art is not very detailed in the collection of control logs of smart home devices, such as a smart home device, which has a distinction between manual control and remote control and can be controlled to a node below the device (such as a switch node 1, a switch node 2 and a switch node 3 under a three-way switch). The prior art takes measures that after the node state of the equipment changes, the information is uploaded to a server, and then the equipment control log is generated, so that whether the intelligent household equipment is manually controlled or remotely controlled cannot be distinguished, and the equipment control log cannot be generated when the remote control fails, so that the intelligent household equipment control log is not detailed enough.
Disclosure of Invention
The invention aims to overcome the defect that log information of intelligent household equipment in the prior art is not detailed enough, and provides a method, a device and a system for processing the log of the intelligent household equipment.
In order to solve the technical problems, the embodiment of the invention discloses at least a method, a device and a system for processing logs of intelligent household equipment.
In a first aspect, a disclosed embodiment of the present invention provides a method for processing a log of an intelligent home device, where the method is used in a log management system of an intelligent home device, where the log management system of an intelligent home device includes a server, a client, and at least one controlled device, each controlled device corresponds to a first identifier, each controlled device includes at least one child node, each child node corresponds to a second identifier, each child node includes at least one state, each state of each child node corresponds to a state value, and the method is implemented by the server, and includes:
Receiving a home equipment control request sent by a client, wherein the home equipment control request comprises a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node of the first target controlled equipment, and target state value and time information of the first target controlled sub-node;
determining a first target controlled device according to a first identifier of the first target controlled device and a second identifier of the first target controlled child node;
generating control log information of the first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control;
and sending a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value.
Optionally, the method further comprises: receiving first control result information sent by second target controlled equipment, wherein the first control result information comprises a first identifier of the second target controlled equipment, a second identifier of a second target controlled sub-node of the second target controlled equipment and a current state value of the second target controlled sub-node; judging whether control log information of the second target controlled sub-node exists in a log information base according to the first identification of the second target controlled equipment and the second identification of the second target controlled sub-node; if the control failure identification exists and the state information in the control log information of the second target controlled sub-node is the control failure identification, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be remote control; if the control mode information does not exist, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be manually controlled.
In a second aspect, a disclosed embodiment of the present invention provides a method for processing a log of an intelligent home device, where the method is used in a log management system of an intelligent home device, where the log management system of an intelligent home device includes a server, a client, and at least one controlled device, each controlled device corresponds to a first identifier, each controlled device includes at least one child node, each child node corresponds to a second identifier, each child node includes at least one state, each state of each child node corresponds to a state value, and the method is implemented by the controlled device, and includes:
receiving a control instruction, wherein the control instruction comprises a second identifier of a third target controlled child node and a target state value of the third target controlled child node;
executing the operation corresponding to the target state value of the third target controlled child node;
if the control instruction is sent by the server, after the operation is successful, sending second control result information to the server, wherein the second control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node;
And if the control instruction is triggered manually, after the operation is successful, sending third control result information to the server, wherein the third control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node.
Optionally, the method further comprises: if the control instruction is sent by the server or the control instruction is triggered manually, the current state is maintained after the operation fails.
In a third aspect, an embodiment of the present disclosure provides a server, configured to be used in an intelligent home device log management system, where the intelligent home device log management system includes a server, a client, and at least one controlled device, each controlled device corresponds to a first identifier, each controlled device includes at least one child node, each child node corresponds to a second identifier, each child node includes at least one state, each state of each child node corresponds to a state value, and the server includes:
the control request receiving module is used for receiving a household equipment control request sent by a client, wherein the household equipment control request comprises a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node of the first target controlled equipment, and target state value and time information of the first target controlled sub-node;
The target controlled device determining module is used for determining the first target controlled device according to the first identifier of the first target controlled device and the second identifier of the first target controlled child node;
the log information generation module is used for generating control log information of the first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control;
and the control instruction sending module is used for sending a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value.
In a fourth aspect, an embodiment of the present disclosure provides an intelligent home device, where the intelligent home device is provided with a first identifier, and includes at least one sub-node, each sub-node of each controlled device corresponds to a second identifier, each sub-node includes at least one state, each state of each sub-node corresponds to a state value, and the intelligent home device includes:
The control instruction receiving module is used for receiving a control instruction, wherein the control instruction comprises a second identifier of a third target controlled child node and a target state value of the third target controlled child node;
the operation execution module is used for executing the operation corresponding to the target state value of the third target controlled child node;
and the control result sending module is used for sending second control result information to the server after the operation is successful if the control instruction is sent by the server, wherein the second control result information comprises a first identifier of a third target controlled device, a second identifier of a third target controlled sub-node of the third target controlled device and a result state value of the third target controlled sub-node, and sending third control result information to the server after the operation is successful if the control instruction is manually triggered, wherein the third control result information comprises the first identifier of the third target controlled device, the second identifier of the third target controlled sub-node of the third target controlled device and the result state value of the third target controlled sub-node.
In a fifth aspect, an embodiment of the present disclosure further provides a log processing system for an intelligent home device, including:
The method comprises the steps that a client sends a home equipment control request to a server and sends a control instruction to a controlled device, wherein the home equipment control request comprises a first identifier of a first target controlled device, a second identifier of a first target controlled sub-node of the first target controlled device, and a target state value and time information of the first target controlled sub-node;
the server receives a home equipment control request sent by the client; determining first target controlled equipment according to a first identifier of the first target controlled equipment and a second identifier of the first target controlled child node; generating control log information of the first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information and control mode information, the control state information comprises control failure and control success, and the control mode information comprises remote control and manual control; according to the first identification of the first target controlled device, the second identification of the first target controlled sub-node and the target state value of the first target controlled sub-node, a control instruction is sent to the first target controlled device, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value;
The controlled device receives a control instruction, wherein the control instruction comprises a second identifier of a third target controlled child node and a target state value of the third target controlled child node; executing the operation corresponding to the target state value of the third target controlled child node; if the control instruction is sent by the server, after the operation is successful, sending second control result information to the server, wherein the second control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node; and if the control instruction is triggered manually, after the operation is successful, sending third control result information to the server, wherein the third control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node.
Optionally, the server is further configured to receive first control result information sent by a second target controlled device, where the first control result information includes a first identifier of the second target controlled device, a second identifier of a second target controlled child node of the second target controlled device, and a current state value of the second target controlled child node; judging whether control log information of the second target controlled sub-node exists in a log information base according to the first identification of the second target controlled equipment and the second identification of the second target controlled sub-node; if the control failure identification exists and the state information in the control log information of the second target controlled sub-node is the control failure identification, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be remote control; if the control mode information does not exist, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be manually controlled.
In a sixth aspect, the disclosed embodiments of the invention also provide a computer apparatus comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect, or any of the possible implementations of the first aspect.
In a seventh aspect, the disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the first aspect, or any of the possible implementation manners of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the method comprises the steps that a server receives a home equipment control request sent by a client to generate control log information of controlled equipment, the control log information comprises a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node, control state information, time information and control mode information, the control state information is control failure, and according to the first identifier of the first target controlled equipment, the second identifier of the first target controlled sub-node and a target state value of the first target controlled sub-node, a control instruction is sent to the first target controlled equipment, so that the first target controlled sub-node obtains the target state value from the first target controlled equipment, and executes operation corresponding to the target state value.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flowchart of a method for processing logs of smart home devices according to an embodiment of the disclosure;
fig. 2 shows a flowchart of another method for processing logs of smart home devices according to an embodiment of the disclosure;
fig. 3 shows a flowchart of yet another method for processing logs of smart home devices according to an embodiment of the present disclosure;
FIG. 4 is a functional block diagram of a server according to an embodiment of the present disclosure;
fig. 5 shows a functional block diagram of an intelligent home device according to an embodiment of the present disclosure;
fig. 6 is a schematic functional structure diagram of a log processing system of an intelligent home device according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a computer device according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a remote control process in accordance with an embodiment of the present disclosure;
fig. 9 shows a schematic diagram of a manual control flow in a disclosed embodiment of the invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying summary.
Example 1
As shown in fig. 1, a flowchart of a method for processing a log of an intelligent home device according to an embodiment of the present invention is provided, where the method is used in an intelligent home device log management system, and the intelligent home device log management system includes a server, a client, and at least one controlled device, each controlled device corresponds to a first identifier, each controlled device includes at least one sub-node, each sub-node corresponds to a second identifier, each sub-node includes at least one state, and each state of each sub-node corresponds to a state value, and the method is implemented by the server, and includes:
S11: and receiving a home equipment control request sent by the client, wherein the home equipment control request comprises a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node of the first target controlled equipment, and target state value and time information of the first target controlled sub-node.
S12: and determining the first target controlled device according to the first identifier of the first target controlled device and the second identifier of the first target controlled child node.
S13: generating control log information of a first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of a first target controlled child node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control.
S14: and sending a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value.
It may be appreciated that, in the technical solution provided in this embodiment, the server receives the home device control request sent by the client, generates a piece of control log information of the controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information, and control mode information, where the control state information is control failure, and sends a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and executes an operation corresponding to the target state value.
Example 2
As an improvement of embodiment 1, as shown in fig. 2, another flow chart of a method for processing a log of an intelligent home device according to an embodiment of the present invention is provided, where the method is used in a log management system of an intelligent home device, and the log management system of an intelligent home device includes a server, a client, and at least one controlled device, each controlled device corresponds to a first identifier, each controlled device includes at least one child node, each child node corresponds to a second identifier, each child node includes at least one state, and each state of each child node corresponds to a state value, and the method is implemented by the server, and includes:
S21: and receiving a home equipment control request sent by the client, wherein the home equipment control request comprises a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node of the first target controlled equipment, and target state value and time information of the first target controlled sub-node.
S22: and determining the first target controlled device according to the first identifier of the first target controlled device and the second identifier of the first target controlled child node.
S23: generating control log information of a first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of a first target controlled child node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control.
S24: and sending a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value.
S25: and receiving first control result information sent by the second target controlled device, wherein the first control result information comprises a first identifier of the second target controlled device, a second identifier of a second target controlled sub-node of the second target controlled device and a current state value of the second target controlled sub-node.
S26: judging whether control log information of the second target controlled sub-node exists in the log information base according to the first identification of the second target controlled device and the second identification of the second target controlled sub-node.
S27: if the control failure identification exists and the state information in the control log information of the second target controlled sub-node is the control failure identification, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be remotely controlled.
S28: if the control mode information does not exist, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be manually controlled.
It may be appreciated that, in the technical solution provided in this embodiment, the server receives the home device control request sent by the client, generates a piece of control log information of the controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information, and control mode information, where the control state information is control failure, and sends a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and executes an operation corresponding to the target state value.
Example 3
As shown in fig. 3, an embodiment of the present invention further provides a method for processing a log of an intelligent home device, where the method is used in a log management system of an intelligent home device, and the log management system of an intelligent home device includes a server, a client, and at least one controlled device, where each controlled device corresponds to a first identifier, each controlled device includes at least one child node, each child node corresponds to a second identifier, each child node includes at least one state, and each state of each child node corresponds to a state value, and the method is implemented by the controlled device, and includes:
s31: and receiving a control instruction, wherein the control instruction comprises a second identifier of the third target controlled child node and a target state value of the third target controlled child node.
S32: and executing the operation corresponding to the target state value of the third target controlled child node.
S33: if the control instruction is sent by the server, after the operation is successful, sending second control result information to the server, wherein the second control result information comprises a first identifier of the third target controlled device, a second identifier of a third target controlled child node of the third target controlled device and a result state value of the third target controlled child node.
S34: if the control instruction is triggered manually, after the operation is successful, third control result information is sent to the server, wherein the third control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled child node of the third target controlled equipment and a result state value of the third target controlled child node.
S35: if the control command is sent by the server or the control command is triggered manually, the current state is maintained after the operation fails.
It may be appreciated that, in the technical solution provided in this embodiment, the server receives the home device control request sent by the client, generates a piece of control log information of the controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information, and control mode information, where the control state information is control failure, and sends a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and executes an operation corresponding to the target state value.
Example 4
As shown in fig. 4, an embodiment of the present invention further provides a server, configured to be used in an intelligent home device log management system, where the intelligent home device log management system includes a server, a client, and at least one controlled device, each controlled device corresponds to a first identifier, each controlled device includes at least one child node, each child node corresponds to a second identifier, each child node includes at least one state, each state of each child node corresponds to a state value, and the server includes:
the control request receiving module 41 is configured to receive a home device control request sent by a client, where the home device control request includes a first identifier of a first target controlled device, a second identifier of a first target controlled child node of the first target controlled device, and a target state value and time information of the first target controlled child node;
a target controlled device determining module 42, configured to determine a first target controlled device according to a first identifier of the first target controlled device and a second identifier of the first target controlled child node;
the log information generating module 43 is configured to generate a piece of control log information of the first target controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled child node, control state information, time information, and control mode information, and the control state information is control failure, and the control mode information includes remote control and manual control;
The control instruction sending module 44 is configured to send a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and performs an operation corresponding to the target state value.
In some alternative embodiments, the server further comprises:
the control result receiving module 45 is configured to receive first control result information sent by a second target controlled device, where the first control result information includes a first identifier of the second target controlled device, a second identifier of a second target controlled child node of the second target controlled device, and a current state value of the second target controlled child node.
The log information query module 46 is configured to determine whether control log information of the second target controlled child node exists in the log information base according to the first identifier of the second target controlled device and the second identifier of the second target controlled child node.
The log information modifying module 47 is configured to modify, if the log information exists and the state information in the control log information of the second target controlled child node is a control failure identifier, the state information in the control log information of the second target controlled child node to control successfully, and modify the control mode information in the control log information of the second target controlled child node to remote control. If the control mode information does not exist, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be manually controlled.
It may be appreciated that, in the technical solution provided in this embodiment, the server receives the home device control request sent by the client, generates a piece of control log information of the controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information, and control mode information, where the control state information is control failure, and sends a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and executes an operation corresponding to the target state value.
Example 5
As shown in fig. 5, an embodiment of the present invention further provides an intelligent home device, where the intelligent home device is provided with a first identifier, and includes at least one sub-node, each sub-node of each controlled device corresponds to a second identifier, each sub-node includes at least one state, each state of each sub-node corresponds to a state value, and the intelligent home device includes:
A control instruction receiving module 51, configured to receive a control instruction, where the control instruction includes a second identifier of a third target controlled child node and a target state value of the third target controlled child node;
the operation execution module 52 is configured to execute an operation corresponding to the target state value of the third target controlled child node;
the control result sending module 53 is configured to send, if the control instruction is sent by the server, second control result information to the server after the operation is successful, where the second control result information includes a first identifier of the third target controlled device, a second identifier of the third target controlled sub-node of the third target controlled device, and a result state value of the third target controlled sub-node, and if the control instruction is triggered manually, send, after the operation is successful, third control result information to the server, where the third control result information includes the first identifier of the third target controlled device, the second identifier of the third target controlled sub-node of the third target controlled device, and the result state value of the third target controlled sub-node.
In some alternative embodiments, control result sending module 53: if the control command is sent by the server or the control command is triggered manually, the current state is maintained after the operation fails.
It may be appreciated that, in the technical solution provided in this embodiment, the server receives the home device control request sent by the client, generates a piece of control log information of the controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information, and control mode information, where the control state information is control failure, and sends a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and executes an operation corresponding to the target state value.
Example 6
As shown in fig. 6, an embodiment of the present invention further provides a log processing system of an intelligent home device, including:
the client 61 sends a home equipment control request to the server and sends a control instruction to the controlled equipment, wherein the home equipment control request comprises a first identifier of the first target controlled equipment, a second identifier of a first target controlled sub-node of the first target controlled equipment, a target state value of the first target controlled sub-node and time information;
The server 62 receives a home equipment control request sent by the client; determining first target controlled equipment according to the first identification of the first target controlled equipment and the second identification of the first target controlled child node; generating control log information of a first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of a first target controlled child node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control; according to a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node and a target state value of the first target controlled sub-node, a control instruction is sent to the first target controlled equipment, so that the first target controlled sub-node obtains the target state value from the first target controlled equipment, executes an operation corresponding to the target state value, and receives first control result information sent by second target controlled equipment, wherein the first control result information comprises the first identifier of the second target controlled equipment, the second identifier of the second target controlled sub-node of the second target controlled equipment and the current state value of the second target controlled sub-node; judging whether control log information of the second target controlled sub-node exists in a log information base according to the first identification of the second target controlled equipment and the second identification of the second target controlled sub-node; if the control failure identification exists and the state information in the control log information of the second target controlled sub-node is the control failure identification, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be remote control; if the control mode information does not exist, modifying the state information in the control log information of the second target controlled sub-node into control success, and modifying the control mode information in the control log information of the second target controlled sub-node into manual control;
The controlled device 63 receives a control instruction, where the control instruction includes a second identifier of the third target controlled child node and a target state value of the third target controlled child node; executing the operation corresponding to the target state value of the third target controlled child node; if the control instruction is sent by the server, after the operation is successful, sending second control result information to the server, wherein the second control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled child node of the third target controlled equipment and a result state value of the third target controlled child node; if the control instruction is triggered manually, after the operation is successful, third control result information is sent to the server, wherein the third control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled child node of the third target controlled equipment and a result state value of the third target controlled child node.
In some optional embodiments, the server 61 is further configured to receive first control result information sent by the second target controlled device, where the first control result information includes a first identifier of the second target controlled device, a second identifier of a second target controlled child node of the second target controlled device, and a current state value of the second target controlled child node; judging whether control log information of the second target controlled sub-node exists in a log information base according to the first identification of the second target controlled equipment and the second identification of the second target controlled sub-node; if the control failure identification exists, the state information in the control log information of the second target controlled sub-node is modified to be successful in control, and the control mode information in the control log information of the second target controlled sub-node is modified to be remote control; if the control mode information does not exist, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be manually controlled.
It may be appreciated that, in the technical solution provided in this embodiment, the server receives the home device control request sent by the client, generates a piece of control log information of the controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information, and control mode information, where the control state information is control failure, and sends a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and executes an operation corresponding to the target state value.
Example 7
Based on the same technical concept, the embodiment of the application further provides a computer device, which comprises a memory 1 and a processor 2, as shown in fig. 7, the memory 1 stores a computer program, and the processor 2 implements the log processing method of any one of the above-mentioned intelligent home devices when executing the computer program.
The memory 1 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 1 may in some embodiments be an internal storage unit of the smart home device log processing system, such as a hard disk. The memory 1 may in other embodiments also be an external storage device of a Smart home device log processing system, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), etc. Further, the memory 1 may also include both an internal storage unit and an external storage device of the log processing system of the smart home device. The memory 1 may be used not only for storing application software installed in the smart home device log processing system and various types of data, such as codes of the smart home device log processing program, but also for temporarily storing data that has been output or is to be output.
The processor 2 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for running program code or processing data stored in the memory 1, for example executing a smart home device log processing program or the like.
It may be appreciated that, in the technical solution provided in this embodiment, the server receives the home device control request sent by the client, generates a piece of control log information of the controlled device, where the control log information includes a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information, and control mode information, where the control state information is control failure, and sends a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node, and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device, and executes an operation corresponding to the target state value.
In order to facilitate the reader to understand the technical scheme of the embodiment of the invention, the scheme is described in detail below through specific examples.
In order to collect device control logs when the remote control of the intelligent home device fails and accurately distinguish and acquire operation names and control results of the remote or manual control of the intelligent home device, the following technical scheme is adopted.
Firstly, a unique identifier is set for the intelligent household equipment in a server, a unique identifier and a limited value are set for each node of the intelligent household equipment, and an operation name is set for each value (for example, an intelligent three-way switch is named as point1 for the node 1, and two values of point 1: 1 represents an opening operation, 0 represents a closing operation, and the same is true for the node 2 and the node 3).
The first step: to prevent failure of the control device, the device does not report a message, so the server generates a device control log (including, but not limited to, a device unique identifier, a node value and a corresponding operation name, time) and marks it as a control failure by default before issuing a control instruction. And then issuing a control instruction.
And a second step of: when the state of the equipment node changes, the unique identifier of the equipment, the unique identifier of the node and the current state value of the node are reported to a server. And the server matches the equipment control log and the operation name generated in the first step according to the equipment unique identifier, the unique identifier of the node and the current state value of the node. If the matching is successful, the operation is marked as successful, and the operation name and the control result can be accurately obtained through the operation. If the device fails to execute, no status value is reported, but in the first step, a device control log marked as control failure is generated, so that even if the remote control device fails, the device control log can be generated.
Remote control process referring to fig. 8, the principle of remote control is to set a certain value for a node of a device. When the client remotely controls the equipment, equipment control logs are generated simultaneously, and the equipment control logs comprise, but are not limited to, equipment unique identifiers, unique identifiers of equipment nodes, values set by the equipment nodes and time. And marks the log as operation failure and remote control type by default. After the equipment node receives the control instruction and executes the control instruction successfully, reporting the unique identifier of the equipment and the unique identifier of the equipment node and the current value of the equipment node to a server, receiving the message by the server, comparing the unique identifier of the node and the value of the node with the equipment control log marked as failed and remote control type in the server through the unique identifier of the equipment, if the equipment control log is matched, removing the operation name set for the value in the server according to the value of the node, recording the operation name into the operation record, and finally marking the control log as successful operation.
Manual control process referring to fig. 9, when a device is manually controlled, the server does not first generate a device control log that is marked as control failure. After a certain node of the device is manually controlled, the device reports the unique identifier of the device, the unique identifier of the device node and the current value of the device node to the server as usual, the server receives the message, and the unique identifier of the node and the value of the node are compared with the device control log marked as failed in the server through the unique identifier of the device, at the moment, the device control log marked as operation failure is not generated, and the device control log with the type of manual control and successful operation is generated when the comparison fails. And then the operation names set for the values in the server are matched according to the values of the nodes, and the operation names are recorded into the operation records. The manual control device can also generate a device control log at this time. And can distinguish between manual control and remote control.
Remote control: with reference to fig. 9, the specific flow is as follows: the client initiates a control equipment request to the server, and the server receives the control equipment request and generates an equipment control log. The server marks the device control log as a remote control type. The server defaults to marking the device control log as an operation failure. The service sends a control instruction to the intelligent device. The intelligent device receives the control instruction. The intelligent device executes the control instruction. If the intelligent device fails to execute the control instruction, the device control log does not need to be processed, because the server has identified the device control log as failed. The intelligent device successfully executes the control instruction, and reports an execution result, wherein the execution result comprises a device unique identifier, a node unique identifier and a node current value. The server receives the execution result. And the server matches the generated equipment control log with the unique identifier of the node and the current value of the node according to the unique identifier of the equipment. If the server-side matching device control log fails, the device control log does not need to be processed, and the server defaults to identify the device control log as failed, the server-side matching device control log is successful, the operation name corresponding to the current value of the node is continuously queried, the server-side writes the operation name into the device control log, and the server-side marks the device control log as successful operation.
The disclosed embodiments of the present invention also provide a computer readable storage medium, on which a computer program is stored, which when executed by a processor, performs the steps of the method for processing logs of smart home devices in the method embodiment described above. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
The computer program product of the method for processing the log of the smart home device provided by the embodiment of the invention comprises a computer readable storage medium storing program codes, and the instructions included in the program codes can be used for executing the steps of the method for processing the log of the smart home device in the embodiment of the method, and the embodiment of the method can be referred to specifically, and will not be repeated here.
The disclosed embodiments also provide a computer program which, when executed by a processor, implements any of the methods of the previous embodiments. The computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It is to be understood that the same or similar parts in the above embodiments may be referred to each other, and that in some embodiments, the same or similar parts in other embodiments may be referred to.
It should be noted that in the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise indicated, the meaning of "plurality" means at least two.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.
Claims (10)
1. The method is used for an intelligent household equipment log management system, the intelligent household equipment log management system comprises a server, a client and at least one controlled equipment, each controlled equipment corresponds to a first identifier, each controlled equipment comprises at least one sub-node, each sub-node corresponds to a second identifier, each sub-node comprises at least one state, each state of each sub-node corresponds to a state value, and the method is realized by the server and comprises the following steps:
receiving a home equipment control request sent by a client, wherein the home equipment control request comprises a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node of the first target controlled equipment, and target state value and time information of the first target controlled sub-node;
Determining a first target controlled device according to a first identifier of the first target controlled device and a second identifier of the first target controlled child node;
generating control log information of the first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control;
and sending a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value.
2. The smart home device log processing method of claim 1, further comprising:
receiving first control result information sent by second target controlled equipment, wherein the first control result information comprises a first identifier of the second target controlled equipment, a second identifier of a second target controlled sub-node of the second target controlled equipment and a current state value of the second target controlled sub-node;
Judging whether control log information of the second target controlled sub-node exists in a log information base according to the first identification of the second target controlled equipment and the second identification of the second target controlled sub-node;
if the control failure identification exists and the state information in the control log information of the second target controlled sub-node is the control failure identification, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be remote control;
if the control mode information does not exist, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be manually controlled.
3. The method is used for an intelligent household equipment log management system, the intelligent household equipment log management system comprises a server, a client and at least one controlled equipment, each controlled equipment corresponds to a first identifier, each controlled equipment comprises at least one sub-node, each sub-node corresponds to a second identifier, each sub-node comprises at least one state, each state of each sub-node corresponds to a state value, and the method is realized by the controlled equipment and comprises the following steps:
Receiving a control instruction, wherein the control instruction comprises a second identifier of a third target controlled child node and a target state value of the third target controlled child node;
executing the operation corresponding to the target state value of the third target controlled child node;
if the control instruction is sent by the server, after the operation is successful, sending second control result information to the server, wherein the second control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node;
and if the control instruction is triggered manually, after the operation is successful, sending third control result information to the server, wherein the third control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node.
4. The smart home device log processing method of claim 3, further comprising:
if the control instruction is sent by the server or the control instruction is triggered manually, the current state is maintained after the operation fails.
5. The utility model provides a server, characterized in that is used for intelligent house equipment log management system, intelligent house equipment log management system includes server, customer end and at least one controlled equipment, and every controlled equipment corresponds a first sign, and every controlled equipment includes at least one child node, and every child node corresponds a second sign, and every child node includes at least one state, and every state of every child node corresponds a state value, the server includes:
the control request receiving module is used for receiving a household equipment control request sent by a client, wherein the household equipment control request comprises a first identifier of first target controlled equipment, a second identifier of a first target controlled sub-node of the first target controlled equipment, and target state value and time information of the first target controlled sub-node;
the target controlled device determining module is used for determining the first target controlled device according to the first identifier of the first target controlled device and the second identifier of the first target controlled child node;
the log information generation module is used for generating control log information of the first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control;
And the control instruction sending module is used for sending a control instruction to the first target controlled device according to the first identifier of the first target controlled device, the second identifier of the first target controlled sub-node and the target state value of the first target controlled sub-node, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value.
6. The utility model provides an intelligent household equipment, its characterized in that, intelligent household equipment is equipped with a first sign, including at least one child node, every child node of every controlled device corresponds a second sign, and every child node includes at least one state, and every state of every child node corresponds a state value, intelligent household equipment includes:
the control instruction receiving module is used for receiving a control instruction, wherein the control instruction comprises a second identifier of a third target controlled child node and a target state value of the third target controlled child node;
the operation execution module is used for executing the operation corresponding to the target state value of the third target controlled child node;
and the control result sending module is used for sending second control result information to the server after the operation is successful if the control instruction is sent by the server, wherein the second control result information comprises a first identifier of a third target controlled device, a second identifier of a third target controlled sub-node of the third target controlled device and a result state value of the third target controlled sub-node, and sending third control result information to the server after the operation is successful if the control instruction is manually triggered, wherein the third control result information comprises the first identifier of the third target controlled device, the second identifier of the third target controlled sub-node of the third target controlled device and the result state value of the third target controlled sub-node.
7. An intelligent home device log processing system, comprising:
the method comprises the steps that a client sends a home equipment control request to a server and sends a control instruction to a controlled device, wherein the home equipment control request comprises a first identifier of a first target controlled device, a second identifier of a first target controlled sub-node of the first target controlled device, and a target state value and time information of the first target controlled sub-node;
the server receives a home equipment control request sent by the client; determining first target controlled equipment according to a first identifier of the first target controlled equipment and a second identifier of the first target controlled child node; generating control log information of the first target controlled device, wherein the control log information comprises a first identifier of the first target controlled device, a second identifier of the first target controlled sub-node, control state information, time information and control mode information, the control state information is control failure, and the control mode information comprises remote control and manual control; according to the first identification of the first target controlled device, the second identification of the first target controlled sub-node and the target state value of the first target controlled sub-node, a control instruction is sent to the first target controlled device, so that the first target controlled sub-node obtains the target state value from the first target controlled device and executes the operation corresponding to the target state value;
The controlled device receives a control instruction, wherein the control instruction comprises a second identifier of a third target controlled child node and a target state value of the third target controlled child node; executing the operation corresponding to the target state value of the third target controlled child node; if the control instruction is sent by the server, after the operation is successful, sending second control result information to the server, wherein the second control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node; and if the control instruction is triggered manually, after the operation is successful, sending third control result information to the server, wherein the third control result information comprises a first identifier of third target controlled equipment, a second identifier of a third target controlled sub-node of the third target controlled equipment and a result state value of the third target controlled sub-node.
8. The smart home device log processing system of claim 7, wherein the server is further configured to receive first control result information sent by a second target controlled device, where the first control result information includes a first identifier of the second target controlled device, a second identifier of a second target controlled child node of the second target controlled device, and a current state value of the second target controlled child node; judging whether control log information of the second target controlled sub-node exists in a log information base according to the first identification of the second target controlled equipment and the second identification of the second target controlled sub-node; if the control failure identification exists and the state information in the control log information of the second target controlled sub-node is the control failure identification, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be remote control; if the control mode information does not exist, the state information in the control log information of the second target controlled sub-node is modified to be successfully controlled, and the control mode information in the control log information of the second target controlled sub-node is modified to be manually controlled.
9. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the smart home device log processing method of any of claims 1 to 4.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the smart home device log processing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310405714.XA CN116107231B (en) | 2023-04-17 | 2023-04-17 | Log processing method, device and system for intelligent household equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310405714.XA CN116107231B (en) | 2023-04-17 | 2023-04-17 | Log processing method, device and system for intelligent household equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116107231A true CN116107231A (en) | 2023-05-12 |
CN116107231B CN116107231B (en) | 2023-07-11 |
Family
ID=86258366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310405714.XA Active CN116107231B (en) | 2023-04-17 | 2023-04-17 | Log processing method, device and system for intelligent household equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116107231B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000047003A1 (en) * | 1999-01-25 | 2000-08-10 | Mpath Interactive, Inc. | Method, system and computer program product for adaptive logging |
CN101105795A (en) * | 2006-10-27 | 2008-01-16 | 北京搜神网络技术有限责任公司 | Network behavior based personalized recommendation method and system |
CN104468149A (en) * | 2013-09-12 | 2015-03-25 | 中国移动通信集团设计院有限公司 | Information processing method, intelligent terminal and optical cable network system |
CN110765090A (en) * | 2019-10-31 | 2020-02-07 | 泰康保险集团股份有限公司 | Log data management method and device, storage medium and electronic equipment |
CN114500503A (en) * | 2022-01-14 | 2022-05-13 | 广东好太太智能家居有限公司 | Intelligent device offline log uploading method, intelligent device and readable medium |
US20230016426A1 (en) * | 2021-07-13 | 2023-01-19 | Sun Hst Co., Ltd. | Error log list and alarm service platform and system for supporting the same |
-
2023
- 2023-04-17 CN CN202310405714.XA patent/CN116107231B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000047003A1 (en) * | 1999-01-25 | 2000-08-10 | Mpath Interactive, Inc. | Method, system and computer program product for adaptive logging |
CN101105795A (en) * | 2006-10-27 | 2008-01-16 | 北京搜神网络技术有限责任公司 | Network behavior based personalized recommendation method and system |
CN104468149A (en) * | 2013-09-12 | 2015-03-25 | 中国移动通信集团设计院有限公司 | Information processing method, intelligent terminal and optical cable network system |
CN110765090A (en) * | 2019-10-31 | 2020-02-07 | 泰康保险集团股份有限公司 | Log data management method and device, storage medium and electronic equipment |
US20230016426A1 (en) * | 2021-07-13 | 2023-01-19 | Sun Hst Co., Ltd. | Error log list and alarm service platform and system for supporting the same |
CN114500503A (en) * | 2022-01-14 | 2022-05-13 | 广东好太太智能家居有限公司 | Intelligent device offline log uploading method, intelligent device and readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN116107231B (en) | 2023-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110401662B (en) | Industrial control equipment fingerprint identification method and storage medium | |
CN106681766B (en) | Remote firmware upgrade control method and system | |
CN109587018A (en) | Method, apparatus, network system and the mobile terminal of device configuration | |
CN103530199A (en) | Software running error repairing method, device and system | |
CN113691623B (en) | Vehicle-mounted Tbox software configuration method and device and cloud platform | |
CN110554930B (en) | Data storage method and related equipment | |
CN109005094B (en) | Zigbee intelligent household equipment management method and device based on Internet of things | |
CN116107231B (en) | Log processing method, device and system for intelligent household equipment | |
CN111506496A (en) | Test data acquisition method and device, electronic equipment and storage medium | |
CN111817878A (en) | Networking method and device of intelligent equipment and cloud server | |
CN112445160A (en) | Automatic generation method and device of ECU configuration code | |
CN110505225B (en) | Terminal card locking method and device and computer readable storage medium | |
CN115016312B (en) | Cloud scene optimization method and device for intelligent household multi-manufacturer equipment | |
CN113676496B (en) | Data transmission method, system, readable storage medium and computer equipment | |
CN115374490A (en) | Device and method for writing equipment identifier, storage medium and terminal | |
CN110737550B (en) | Color identification detection method and device for terminal equipment | |
CN113055653B (en) | Automatic updating method and device of image acquisition equipment and related equipment | |
CN114697354B (en) | Network distribution method of NB-IOT equipment, intelligent terminal and network distribution system | |
CN116016592A (en) | Automobile signal acquisition method and system based on edge calculation | |
CN116662093A (en) | Server testing method, device, equipment and storage medium | |
CN116546551B (en) | Wireless network equipment detection method, device and system | |
CN105955667B (en) | A kind of bottom layer driving and NandFlash recognition methods | |
CN116094973B (en) | Testing method and device for wide area network management protocol of user equipment | |
CN113722181B (en) | BMC process monitoring method, device, system and medium of server | |
CN113656235B (en) | Method, device, system and medium for controlling and testing power consumption of whole server |
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 |