CN113126512B - Method and device for reporting data and intelligent household appliance - Google Patents

Method and device for reporting data and intelligent household appliance Download PDF

Info

Publication number
CN113126512B
CN113126512B CN202110355994.9A CN202110355994A CN113126512B CN 113126512 B CN113126512 B CN 113126512B CN 202110355994 A CN202110355994 A CN 202110355994A CN 113126512 B CN113126512 B CN 113126512B
Authority
CN
China
Prior art keywords
monitoring data
data
reporting
real
difference
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
CN202110355994.9A
Other languages
Chinese (zh)
Other versions
CN113126512A (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.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home 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 Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202110355994.9A priority Critical patent/CN113126512B/en
Publication of CN113126512A publication Critical patent/CN113126512A/en
Application granted granted Critical
Publication of CN113126512B publication Critical patent/CN113126512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of data processing and discloses a method for reporting data, which comprises the following steps: acquiring monitoring data of intelligent household appliances, wherein the monitoring data comprises real-time monitoring data and historical monitoring data; acquiring difference monitoring data according to the real-time monitoring data and the historical monitoring data; the difference monitoring data are different data from the historical monitoring data in the real-time monitoring data; acquiring reporting monitoring data according to the difference monitoring data; reporting the reporting monitoring data. According to the method and the device, the reporting of the monitoring data can be reduced, the bandwidth requirement is lower, the occurrence of network blocking can be avoided, and the data reporting efficiency can be improved in the scene that intelligent household appliances needing to report the data are more or the monitored data are more. The application also discloses a device for reporting data and intelligent household electrical appliance.

Description

Method and device for reporting data and intelligent household appliance
Technical Field
The present application relates to the field of data processing technologies, and for example, to a method, an apparatus, and an intelligent home appliance for reporting data.
Background
At present, intelligent household electrical appliances cooperate APP and high in the clouds server, can realize observing state, indoor outer condition and intelligent household electrical appliances's the hardware state this moment through cell-phone APP in real time. And once the data monitored by the intelligent household appliance is changed, all the monitored data are immediately reported to the server. The user can know the indoor and outdoor environment condition through various data that intelligent household electrical appliances monitored, or know that intelligent household electrical appliances have trouble and need maintenance.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art: the data reported by the intelligent household appliances are more and more, and the bandwidth requirement is higher.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method, a device and intelligent household electrical appliance for reporting data, so as to reduce bandwidth requirements.
In some embodiments, the method comprises: acquiring monitoring data of intelligent household appliances; the monitoring data comprises real-time monitoring data and historical monitoring data; acquiring difference monitoring data according to the real-time monitoring data and the historical monitoring data; the difference monitoring data are different data from the historical monitoring data in the real-time monitoring data; acquiring reporting monitoring data according to the difference monitoring data; reporting the reporting monitoring data.
In some embodiments, the apparatus comprises: the system comprises a processor and a memory storing program instructions, wherein the processor is configured to execute the method for reporting data when executing the program instructions.
In some embodiments, the smart home device comprises: the device for reporting the data is described above.
The method, the device and the intelligent household appliance for reporting data provided by the embodiment of the disclosure can realize the following technical effects: according to the method, the intelligent household electrical appliance is provided with the monitoring data, the monitoring data are acquired according to the real-time monitoring data and the historical monitoring data, and the reporting monitoring data are acquired according to the difference monitoring data, so that the reporting monitoring data are reduced, the bandwidth requirement is lower, the occurrence of network blocking can be avoided, and the data reporting efficiency can be improved under the scene that the intelligent household electrical appliance needing reporting data is more or the monitored data is more.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
FIG. 1 is a schematic diagram of a method for data reporting provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a system for data reporting provided by an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an apparatus for reporting data according to an embodiment of the disclosure.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
As shown in connection with figure 1 of the drawings, the embodiment of the disclosure provides a method for reporting data, which comprises the following steps:
step S101, monitoring data of intelligent household appliances are obtained, wherein the monitoring data comprise real-time monitoring data and historical monitoring data.
Step S102, difference monitoring data are obtained according to real-time monitoring data and historical monitoring data; the difference monitoring data are different from the historical monitoring data in the real-time monitoring data.
Step S103, reporting monitoring data is obtained according to the difference monitoring data.
Step S104, reporting the reporting monitoring data.
By adopting the method for reporting data, which is provided by the embodiment of the disclosure, the real-time monitoring data and the historical monitoring data of the intelligent household electrical appliance are obtained, the differential monitoring data are obtained according to the real-time monitoring data and the historical monitoring data, and the reporting monitoring data are obtained according to the differential monitoring data, so that the reporting monitoring data are reduced, the bandwidth requirement is lower, the occurrence of network blocking can be avoided, and the data reporting efficiency can be improved under the scene that the intelligent household electrical appliance needing the reporting data is more or the monitored data is more.
In some embodiments, one or more types of monitoring data for the smart home device are obtained. Optionally, the data type of the monitoring data includes: equipment temperature, equipment humidity, equipment wind swinging, equipment wind speed, equipment on-off device operation mode, device display lamp, indoor temperature, indoor humidity, indoor CO 2 Concentration, indoor PM2.5 concentration, outdoor temperature, outdoor humidity, outdoor CO 2 One or more of concentration and outdoor PM2.5 concentration, etc.
Optionally, acquiring the real-time monitoring data of the intelligent household electrical appliance comprises acquiring the monitoring data of the intelligent household electrical appliance every second preset time to obtain the real-time monitoring data. Optionally, the second preset time is 5 seconds.
Optionally, acquiring the historical monitoring data of the intelligent home appliance comprises reading the stored historical monitoring data from a storage module of the intelligent home appliance every second preset time.
Optionally, acquiring the difference monitoring data according to the real-time monitoring data and the historical monitoring data includes: comparing the real-time monitoring data with the corresponding historical monitoring data, and determining the real-time monitoring data as difference monitoring data under the condition that the real-time monitoring data and the corresponding historical monitoring data are different.
Optionally, acquiring the difference monitoring data according to the real-time monitoring data and the historical monitoring data includes: acquiring user attention information; matching user attention real-time monitoring data corresponding to the user attention information in the real-time monitoring data; matching user attention historical monitoring data corresponding to the user attention information in the historical monitoring data; comparing the user attention real-time monitoring data with the user attention historical monitoring data, and determining the user attention real-time monitoring data as difference monitoring data under the condition that the user attention real-time monitoring data and the corresponding user attention historical monitoring data are different. In some embodiments, the user attention information is an indoor temperature and an indoor humidity, and at time t, the real-time indoor temperature of the user attention is 21 degrees and the real-time indoor humidity is 50%; the user focuses on a historical indoor temperature of 22 degrees and a historical indoor humidity of 50%. The real-time indoor temperature of the user's interest is different from the historical indoor temperature of the user's interest, and the real-time indoor temperature of 21 degrees is determined as difference monitoring data.
Optionally, in a case that a difference value between the non-user attention information and the corresponding real-time monitoring data in the historical monitoring data is greater than or equal to a second set threshold value, the real-time monitoring data is determined as the difference monitoring data. Optionally, the second set threshold is 1 or 2. In some embodiments, the user interest information is room temperature and room humidity, and the non-user interest information in the historical monitoring data: the historical outdoor temperature is 25 ℃, and the historical outdoor humidity is 33%; corresponding real-time monitoring data: the real-time outdoor temperature was 23 degrees and the real-time outdoor humidity was 33%. The difference between the historical outdoor temperature of non-user interest and the corresponding real-time outdoor temperature is equal to 2 degrees, and the real-time outdoor temperature is determined to be the difference monitoring data by 23 degrees.
Optionally, acquiring reporting monitoring data according to the difference monitoring data includes: acquiring the length of the pre-reported data according to the difference monitoring data; and acquiring the report monitoring data according to the length of the report data.
Optionally, acquiring the length of the pre-reported data according to the difference monitoring data includes: acquiring the data length of the difference monitoring data; acquiring the offset length according to the data type of the monitoring data; and acquiring the pre-report data length according to the data length of the difference monitoring data and the offset length.
Optionally, acquiring the data length of the differential monitoring data includes: acquiring the data type of the difference monitoring data, and searching the data length corresponding to the data type of the difference monitoring data in a preset data type definition table; determining the searched data length as the data length of the difference monitoring data; the data type definition table stores the corresponding relation between the data type and the data length.
Optionally, acquiring the offset length according to the data type of the monitoring data includes: acquiring the number of data types of the monitoring data; and acquiring the offset length according to the number of the data types of the monitoring data. Optionally, the number of data types of the monitoring data is subtracted by one and then multiplied by 10 to obtain a calculation result, natural logarithms are obtained on the calculation result to obtain a logarithm result, and an integer part of the logarithm result is determined as the offset length. Alternatively, the offset length is in units of byte. In some embodiments, in the case where the number of data types of the monitored data is less than or equal to 10, the offset length is 1; in the case where the number of data types of the monitor data is greater than 10 and the number of data types of the monitor data is less than or equal to 100, the offset length is 2. For example, the number of data types of the monitoring data is 9, and the offset length is 1; the number of data types of the monitoring data is 99, and the offset length is 2.
Optionally, acquiring the pre-report data length according to the data length and the offset length of the difference monitoring data includes: and adding the data length of the difference monitoring data and the offset length to obtain the pre-report data length. In some embodiments, the number of data types of the monitoring data is 3, the offset length is 1byte, and the data length of the difference monitoring data is 1byte, and the pre-reporting data length is 2 bytes.
In some embodiments, the set of difference monitoring data, m= { M 1 ,m 2 ,…,m n -wherein m i And n is the number of the difference monitoring data, i is more than or equal to 1 and less than or equal to n.
Optionally by calculationObtaining the length of the pre-reported data; wherein L is the length of the pre-reported data, < >>The data length of the data is monitored for the ith difference, P is the offset length, and the unit of the offset length is byte.
The data length and the offset length of the difference monitoring data are acquired, the pre-reporting data length is acquired according to the data length and the offset length of the difference monitoring data, the reporting monitoring data are conveniently acquired according to the pre-reporting data length, the reporting monitoring data can be reduced, the bandwidth requirement is lower, the condition of network blocking is avoided, and the data reporting efficiency can be improved under the scene that intelligent household appliances needing the reporting data are more or the monitored data are more.
Optionally, acquiring the report monitoring data according to the length of the pre-report data includes: under the condition that the length of the pre-report data is larger than a first set threshold value, determining the real-time monitoring data as the report monitoring data; and under the condition that the length of the pre-report data is smaller than or equal to a first set threshold value, acquiring the report monitoring data according to the difference monitoring data. Optionally, the first set threshold is the number of data types of the monitoring data.
Therefore, the length of the pre-reported data is compared with the first set threshold value, the reported monitoring data is obtained according to the comparison result, the reported monitoring data is reduced, the bandwidth requirement is lower, the condition of network blockage is avoided, and the data reporting efficiency can be improved under the scene that more intelligent household appliances need to report the data or the monitored data is more.
Optionally, acquiring reporting monitoring data according to the difference monitoring data includes: acquiring the offset of the difference monitoring data; and acquiring reporting monitoring data according to the difference monitoring data and the offset of the difference monitoring data. Therefore, the reporting monitoring data is acquired according to the difference monitoring data and the offset of the difference monitoring data, the reporting monitoring data is reduced, the bandwidth requirement is lower, the condition of network blockage can be avoided, and the data reporting efficiency can be improved under the scene that intelligent household appliances needing the reporting data are more or the monitored data are more.
Optionally, obtaining the offset of the differential monitoring data includes: acquiring the data type of the difference monitoring data, and searching the offset corresponding to the data type of the difference monitoring data in a preset data type definition table; determining the searched offset as the offset of the difference monitoring data; the data type definition table stores the corresponding relation between the data type and the offset. In some embodiments, table 1 is an example table of a data type definition table. As shown in table 1, in the case where the data type is the device temperature, the corresponding offset is 0 and the corresponding data length is 1byte.
Offset amount Data type Data length
0 Equipment temperatureDegree of 1 byte
1 Humidity of equipment 1 byte
2 Equipment pendulum wind 1 byte
3 Wind speed of equipment 1 byte
4 Equipment on-off machine 1 bit
TABLE 1
Optionally, the offset is position information of the difference monitoring data in the real-time monitoring data. In some embodiments, the real-time monitoring data is "1650", where 16 is real-time device temperature and 50 is real-time device humidity; the historical monitoring data is 1651, wherein 16 is the historical equipment temperature and 51 is the historical equipment humidity; the difference monitoring data is 50, the corresponding data type is the equipment humidity, the offset is 1, and the position of the difference monitoring data 50 in the real-time monitoring data is 1.
Optionally, acquiring the report monitor data according to the difference monitor data and the offset of the difference monitor data includes: and splicing the offset of the difference monitoring data and the difference monitoring data to obtain the reported monitoring data. Therefore, the report monitoring data can be obtained by splicing the offset of the difference monitoring data and the difference monitoring data, so that the position of the difference monitoring data in the real-time monitoring data can be obtained directly through the report monitoring data, and the changed data and the corresponding data type can be determined.
In some embodiments, the set of difference monitoring data, m= { M 1 ,m 2 ,…,m n -wherein m i For the ith difference monitoring data, n is the number of data of the difference monitoring data, i is more than or equal to 1 and less than or equal to n.
Alternatively, by calculating c=h 1 +m 1 +H 2 +m 2 +…+H i +m i +H n +m n Acquiring reporting monitoring data; wherein C is reported monitoring data, H i The offset of the data is monitored for the ith difference, + is the operator of the splice.
In some embodiments, in the real-time monitoring data, the device on-off information is 0; in the historical monitoring data, if the equipment on-off information is 1, the difference monitoring data is 0, the data type corresponding to the difference monitoring data is equipment on-off, the offset corresponding to the equipment on-off is 4, and the reporting monitoring data is 4+0.
Optionally, after reporting the report monitoring data, the method further includes: and updating the historical monitoring data according to the real-time monitoring data.
Optionally, updating the historical monitoring data according to the real-time monitoring data includes: and determining the real-time monitoring data as corresponding historical monitoring data.
In some embodiments, at time t, real-time monitoring data and historical monitoring data are obtained; acquiring difference monitoring data at the time t according to the real-time monitoring data at the time t and the historical monitoring data at the time t; acquiring reporting monitoring data at the time t according to the difference monitoring data at the time t; and after reporting the reporting monitoring data at the moment t, determining the real-time monitoring data at the moment t as historical monitoring data. Acquiring real-time monitoring data and historical monitoring data every second preset time, for example, 5 s; acquiring difference monitoring data at the time t+5s according to the real-time monitoring data at the time t+5s and the historical monitoring data at the time t+5s; acquiring reporting monitoring data at the time t+5s according to the difference monitoring data at the time t+5s; reporting the reporting monitoring data at the time of t+5s; and determining the real-time monitoring data at the time of t+5s as historical monitoring data. Therefore, every second preset time, real-time monitoring data and historical monitoring data are acquired, reporting monitoring data are acquired through difference monitoring data of the real-time monitoring data and the historical monitoring data, the data volume of the reporting monitoring data is reduced, the bandwidth requirement is lower, the situation of network blocking can be avoided, and the data reporting efficiency can be improved under the scene that intelligent household appliances needing to report data are more or the monitored data are more.
Optionally, after reporting the report monitoring data, the method further includes: and reporting the report monitoring data under the condition that the confirmation information is not received within the first preset time. Optionally, reporting the reporting monitoring data to a server, and triggering the server to analyze the received reporting monitoring data.
Optionally, the first preset time is the time when the report monitoring data is sent to the server plus the time when the server feeds back the confirmation information to the intelligent home appliance. Optionally, the first preset time is less than the second preset time. In some embodiments, the time for sending the report monitoring data to the server is 0.02 seconds, the time for the server to feed back the confirmation information to the intelligent home device is 0.01 seconds, and the first preset time is 0.03 seconds.
Therefore, under the condition that the confirmation information is not received within the first preset time, the reported monitoring data is determined to be not received or the reported monitoring data has errors, and the reported monitoring data is reported again, so that the reported monitoring data can be reported safely and accurately, and the accuracy of data reporting is improved.
In some embodiments, the reported monitoring data is real-time monitoring data 165011, the server analyzes the received reported monitoring data, the data type corresponding to the first data is the equipment temperature, the data length of the real-time monitoring data corresponding to the equipment temperature is 2, and the analyzed equipment temperature is 16 degrees; the data type corresponding to the second data is equipment humidity, the data length of real-time monitoring data corresponding to the equipment humidity is 2, and the equipment humidity is analyzed to be 50%; the data type corresponding to the third data is equipment wind-swaying, the data length of real-time monitoring data corresponding to the equipment wind-swaying is 1, and the equipment wind-swaying is analyzed to be 1, namely left and right wind-swaying; the data type corresponding to the fourth data is the equipment wind speed, the real-time monitoring data length corresponding to the equipment wind speed is 1, and the equipment wind speed is 1 after analysis, namely the speed is low.
In some embodiments, the number of data types of the monitoring data is 6, the offset length is 1, the reported monitoring data is 20, after the server receives the reported monitoring data, the server analyzes the reported monitoring data, 2 in the reported monitoring data is the offset of the differential monitoring data, the offset corresponds to the data type in the preset data type definition table as the equipment wind, and the differential monitoring data corresponding to the equipment wind is 0, namely the wind is swung up and down.
Therefore, in the scene that more intelligent household appliances need to report data or more monitored data, compared with the situation that all real-time monitoring data are used as reporting monitoring data, the offset of the difference monitoring data and the difference monitoring data are used as reporting monitoring data, the reporting monitoring data are reduced, the bandwidth requirement is lower, the situation that the network is blocked can be avoided, and the efficiency of data reporting can be improved in the scene that more intelligent household appliances need to report data or more monitored data. Meanwhile, through reporting the reported monitoring data, a user can adjust the intelligent household electrical appliance according to the reported monitoring data, the indoor environment after adjustment can meet the requirements of the user, and the user can also prepare in advance according to the outdoor monitoring data, so that the user experience can be improved.
Referring to fig. 2, a system for reporting data according to an embodiment of the present disclosure includes: the intelligent household appliance 1, the server 2 and the intelligent terminal 3. Wherein, intelligent tame electric installation 1 includes: indoor temperature sensor 4, indoor humidity sensor 5, indoor PM2.5 sensor 6, indoor CO 2 A concentration sensor 7, an outdoor humidity sensor 8, an outdoor temperature sensor 9, a main control board 10, a networking module 11 and a storage module 12. Wherein, indoor temperature sensor 4, indoor humidity sensor 5, indoor PM2.5 sensor 6 and indoor CO 2 The concentration sensor 7 is arranged at the intelligent partIndoor unit surface of household electrical appliance; the outdoor humidity sensor 8 and the outdoor temperature sensor 9 are arranged on the surface of an outdoor unit of the intelligent household appliance.
The indoor temperature sensor 4 is configured to acquire a real-time indoor temperature and transmit the real-time indoor temperature to the main control board. The indoor humidity sensor 5 is configured to collect real-time indoor humidity and transmit the real-time indoor humidity to the main control board. The indoor PM2.5 sensor 6 is configured to collect the real-time indoor PM2.5 concentration and send the real-time indoor PM2.5 concentration to the main control board. Indoor CO 2 The concentration sensor 7 is configured to collect real-time indoor CO 2 Concentration, and will be real-time indoor CO 2 And the concentration is sent to the main control board.
The outdoor humidity sensor 8 is configured to collect real-time outdoor humidity and transmit the real-time outdoor humidity to the main control board. The outdoor temperature sensor 9 is configured to acquire a real-time outdoor temperature and transmit the real-time outdoor temperature to the main control board.
The main control board 10 is configured to receive the real-time indoor temperature transmitted by the indoor temperature sensor 4; receiving real-time indoor humidity sent by an indoor humidity sensor 5; receiving real-time indoor PM2.5 concentration sent by an indoor PM2.5 sensor 6; receiving indoor CO 2 Real-time indoor CO sent by concentration sensor 7 2 Concentration; receiving real-time outdoor humidity sent by an outdoor humidity sensor 8; receiving real-time outdoor temperature sent by an outdoor temperature sensor 9; and according to the real-time indoor temperature, the real-time indoor humidity, the real-time indoor PM2.5 concentration and the real-time indoor CO 2 Generating real-time monitoring data by concentration, real-time outdoor humidity, real-time outdoor temperature and the like; the real-time monitoring data is sent to the networking module 11.
The networking module 11 is configured to receive real-time monitoring data sent by the main control board 10; and reads the history monitoring data from the memory module 12; acquiring difference monitoring data according to the real-time monitoring data and the historical monitoring data; acquiring reporting monitoring data according to the difference monitoring data; reporting the report monitoring data to the server 2. The networking module 11 is configured to send the real-time monitoring data to the storage module 12 after reporting the reporting monitoring data to the server. The networking module 11 is further configured to receive the acknowledgement information sent by the server 2, and after the networking module 11 reports the report monitor data to the server 2, if the acknowledgement information sent by the server 2 is not received within the first preset time, the networking module 11 reports the report monitor data to the server 2 again. The networking module 11 is further configured to receive user attention information transmitted by the server 2; acquiring difference monitoring data according to user attention information, real-time monitoring data and historical monitoring data; and acquiring reporting monitoring data according to the difference monitoring data.
The storage module 12 is configured to store historical monitoring data; and receiving the real-time monitoring data sent by the networking module 11, and updating the historical monitoring data according to the real-time monitoring data.
The server 2 is configured to receive reporting monitoring data reported by the networking module 11; performing CRC (Cyclic Redundancy Check ) check on the reported monitoring data, namely detecting whether the checksum of the reported monitoring data is accurate, sending preset confirmation information to the networking module 11 under the condition that the checksum is accurate, analyzing the reported monitoring data, and sending the analyzed data type of the differential monitoring data and the differential monitoring data to the intelligent terminal 3; and discarding the received report monitoring data under the condition that the checksum is inaccurate. The server 2 is further configured to receive user attention information sent by the intelligent terminal 3; the user attention information is sent to the networking module 11.
The intelligent terminal 3 is configured to acquire user attention information; the user attention information is transmitted to the server 2. The intelligent terminal 3 has an application APP corresponding to the intelligent home appliance. The intelligent terminal 3 is further configured to receive the data type and the difference monitoring data of the parsed difference monitoring data sent by the server 2, and update the monitoring data in the application program APP corresponding to the intelligent home appliance according to the data type and the difference monitoring data of the received difference monitoring data. Optionally, the smart terminal includes a smart phone, a tablet, and the like.
Like this, after the monitoring data in application program APP is updated, the user can adjust intelligent household electrical appliances according to the data after the update in the APP, makes the indoor environment after adjusting can accord with user's demand, for example: when the user thinks that the indoor temperature is lower, the intelligent household electrical appliance is sent to the instruction by the application program APP corresponding to the intelligent household electrical appliance in the intelligent terminal, namely, the instruction is sent to the main control board through the server and the networking module, so that the intelligent household electrical appliance is controlled, the temperature of the intelligent household electrical appliance is increased, and the indoor temperature is improved. The user can also be prepared in advance according to the outdoor monitoring data, so that the user experience can be improved. For example: the user can choose whether to go out with the mask according to the outdoor CO2 concentration and the outdoor PM2.5 concentration.
As shown in connection with fig. 3, an embodiment of the present disclosure provides an apparatus for data reporting, including a processor (processor) 100 and a memory (memory) 101. Optionally, the apparatus may further comprise a communication interface (Communication Interface) 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other via the bus 103. The communication interface 102 may be used for information transfer. The processor 100 may call logic instructions in the memory 101 to perform the method for data reporting of the above-described embodiments.
Further, the logic instructions in the memory 101 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product.
The memory 101 is a computer readable storage medium that can be used to store a software program, a computer executable program, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes functional applications and data processing by running program instructions/modules stored in the memory 101, i.e. implements the method for data reporting in the above-described embodiments.
The memory 101 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the terminal device, etc. Further, the memory 101 may include a high-speed random access memory, and may also include a nonvolatile memory.
By adopting the device for reporting data, which is provided by the embodiment of the disclosure, the real-time monitoring data and the historical monitoring data of the intelligent household electrical appliance can be obtained, the differential monitoring data can be obtained according to the real-time monitoring data and the historical monitoring data, and the reporting monitoring data is obtained according to the differential monitoring data, so that the reporting monitoring data is reduced, the bandwidth requirement is lower, the occurrence of network blocking can be avoided, and the data reporting efficiency can be improved under the scene that the intelligent household electrical appliance needing to report data is more or the monitored data is more.
The embodiment of the disclosure provides an intelligent household appliance, which comprises the device for reporting data.
Optionally, the smart home device includes an air conditioner.
By adopting the device for reporting data, which is provided by the embodiment of the disclosure, the real-time monitoring data and the historical monitoring data of the intelligent household electrical appliance can be obtained, the differential monitoring data can be obtained according to the real-time monitoring data and the historical monitoring data, and the reporting monitoring data is obtained according to the differential monitoring data, so that the reporting monitoring data is reduced, the bandwidth requirement is lower, the occurrence of network blocking can be avoided, and the data reporting efficiency can be improved under the scene that the intelligent household electrical appliance needing to report data is more or the monitored data is more.
Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for data reporting.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for data reporting.
The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in this application, the terms "comprises," "comprising," and/or "includes," and variations thereof, mean that the stated features, integers, steps, operations, elements, and/or components are present, but that the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof is not precluded. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (8)

1. The method for reporting the data is characterized by being applied to intelligent household appliances and comprising the following steps of:
acquiring monitoring data of intelligent household appliances; the monitoring data comprises real-time monitoring data and historical monitoring data;
acquiring difference monitoring data according to the real-time monitoring data and the historical monitoring data; the difference monitoring data are different from the historical monitoring data in the real-time monitoring data;
acquiring reporting monitoring data according to the difference monitoring data;
reporting the reporting monitoring data;
acquiring the report monitoring data according to the difference monitoring data, including: acquiring the length of the pre-reported data according to the difference monitoring data; acquiring the reporting monitoring data according to the length of the pre-reporting data;
acquiring the report monitoring data according to the length of the pre-report data, including: acquiring the offset of the difference monitoring data under the condition that the length of the pre-report data is smaller than or equal to a first set threshold value; acquiring the report monitoring data according to the difference monitoring data and the offset of the difference monitoring data; the offset is the position information of the difference monitoring data in the real-time monitoring data;
the obtaining difference monitoring data according to the real-time monitoring data and the historical monitoring data comprises the following steps: acquiring user attention information; matching the user attention real-time monitoring data corresponding to the user attention information in the real-time monitoring data; matching user attention historical monitoring data corresponding to the user attention information in the historical monitoring data; comparing the user attention real-time monitoring data with the user attention historical monitoring data, and determining the user attention real-time monitoring data as difference monitoring data under the condition that the user attention real-time monitoring data and the corresponding user attention historical monitoring data are different.
2. The method of claim 1, wherein obtaining the pre-report data length from the differential monitoring data comprises:
acquiring the data length of the difference monitoring data;
acquiring the offset length according to the data type of the monitoring data;
and acquiring the pre-report data length according to the data length and the offset length.
3. The method of claim 1, wherein obtaining the report monitor data according to the pre-report data length comprises:
and under the condition that the length of the pre-report data is larger than a first set threshold value, determining the real-time monitoring data as the report monitoring data.
4. The method of claim 1, wherein obtaining the reporting monitor data based on the difference monitor data and an offset of the difference monitor data comprises:
and splicing the offset of the difference monitoring data and the difference monitoring data to obtain reporting monitoring data.
5. The method according to any one of claims 1 to 4, further comprising, after reporting the reporting monitor data:
and updating the historical monitoring data according to the real-time monitoring data.
6. The method according to any one of claims 1 to 4, further comprising, after reporting the reporting monitor data:
and reporting the reporting monitoring data under the condition that the confirmation information is not received within the first preset time.
7. An apparatus for data reporting comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for data reporting of any one of claims 1 to 6 when the program instructions are executed.
8. An intelligent home appliance comprising the apparatus for reporting data of claim 7.
CN202110355994.9A 2021-04-01 2021-04-01 Method and device for reporting data and intelligent household appliance Active CN113126512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110355994.9A CN113126512B (en) 2021-04-01 2021-04-01 Method and device for reporting data and intelligent household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110355994.9A CN113126512B (en) 2021-04-01 2021-04-01 Method and device for reporting data and intelligent household appliance

Publications (2)

Publication Number Publication Date
CN113126512A CN113126512A (en) 2021-07-16
CN113126512B true CN113126512B (en) 2023-07-18

Family

ID=76774619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110355994.9A Active CN113126512B (en) 2021-04-01 2021-04-01 Method and device for reporting data and intelligent household appliance

Country Status (1)

Country Link
CN (1) CN113126512B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629029A (en) * 2018-05-09 2018-10-09 北京京东尚科信息技术有限公司 A kind of data processing method and device applied to data warehouse

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9197600B2 (en) * 2011-09-29 2015-11-24 Israel L'Heureux Smart router
WO2014038145A1 (en) * 2012-09-05 2014-03-13 パナソニック株式会社 Data processing method, transmission device, and anomaly detection system
CN103312583A (en) * 2013-07-15 2013-09-18 孟凡忠 System and method for monitoring home intelligently and remotely
CN109104198A (en) * 2018-06-28 2018-12-28 郑州云海信息技术有限公司 A kind of data compression method, decompressing method, device and electronic equipment
JP6760348B2 (en) * 2018-10-11 2020-09-23 株式会社富士通ゼネラル Air conditioner, data transmission method and air conditioner system
CN109634140B (en) * 2018-12-25 2020-05-15 珠海格力电器股份有限公司 Method, device, unit and computer equipment for updating running environment data
CN109871389A (en) * 2019-02-18 2019-06-11 珠海格力电器股份有限公司 Data synchronization method, device, storage medium and communication equipment
CN110377447B (en) * 2019-07-17 2022-07-22 腾讯科技(深圳)有限公司 Abnormal data detection method and device and server
CN112436972B (en) * 2019-08-26 2022-08-05 丰鸟航空科技有限公司 Data processing method, device, network equipment and computer readable storage medium
CN111130940A (en) * 2019-12-26 2020-05-08 众安信息技术服务有限公司 Abnormal data detection method and device and server

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629029A (en) * 2018-05-09 2018-10-09 北京京东尚科信息技术有限公司 A kind of data processing method and device applied to data warehouse

Also Published As

Publication number Publication date
CN113126512A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
KR102520044B1 (en) Alert log compression method, device, and system, and storage medium
US20220206889A1 (en) Automatic correlation of dynamic system events within computing devices
US9768801B1 (en) Method and device for compressing flow data
CN111698303A (en) Data processing method and device, electronic equipment and storage medium
CN114061050B (en) Method and device for controlling air conditioner and air conditioner
CN103678090A (en) Method and device for monitoring data processing
CN111861221A (en) Equipment fault information pushing method and device, storage medium and electronic device
CN105302751A (en) Data processing method and device and electronic equipment
CN114757589A (en) Data processing method, server and storage medium
CN114564345B (en) Method, device, equipment and storage medium for detecting server abnormality
CN112135287A (en) Bluetooth data transmission rate test method, system, electronic device and storage medium
CN112367384A (en) Kafka cluster-based dynamic speed limiting method and device and computer equipment
CN108180935A (en) Fault detection method and device of sensor
CN113126512B (en) Method and device for reporting data and intelligent household appliance
CN115599830A (en) Method, device, equipment and medium for determining data association relation
EP4336883A1 (en) Modeling method, network element data processing method and apparatus, electronic device, and medium
CN115951123A (en) Electric energy metering method and system based on wireless communication
CN114610705A (en) Processing method and device of Internet of things data, storage medium and electronic equipment
CN112231194B (en) Index abnormity root analysis method and device and computer readable storage medium
CN114860543A (en) Anomaly detection method, device, equipment and computer readable storage medium
CN110445784B (en) Display method and device of operation data and energy system
CN113792058A (en) Index data processing method and device, electronic equipment and storage medium
CN114963462B (en) Temperature correction method and device for air conditioner, air conditioner and storage medium
CN111078718B (en) Frequency control method, device, equipment and computer storage medium
CN118111055A (en) Method and device for monitoring air conditioner, electronic equipment and storage medium

Legal Events

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