CN114205393B - Data reporting method and system of intelligent home system - Google Patents
Data reporting method and system of intelligent home system Download PDFInfo
- Publication number
- CN114205393B CN114205393B CN202210139637.3A CN202210139637A CN114205393B CN 114205393 B CN114205393 B CN 114205393B CN 202210139637 A CN202210139637 A CN 202210139637A CN 114205393 B CN114205393 B CN 114205393B
- Authority
- CN
- China
- Prior art keywords
- data
- frequency
- reporting
- characterization data
- sleep posture
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000012512 characterization method Methods 0.000 claims abstract description 125
- 238000005070 sampling Methods 0.000 claims abstract description 87
- 230000006835 compression Effects 0.000 claims abstract description 71
- 238000007906 compression Methods 0.000 claims abstract description 71
- 230000008667 sleep stage Effects 0.000 claims abstract description 14
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 230000008447 perception Effects 0.000 claims description 19
- 150000001875 compounds Chemical class 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 6
- 230000003252 repetitive effect Effects 0.000 claims 2
- 230000036544 posture Effects 0.000 description 111
- 238000005516 engineering process Methods 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 206010062519 Poor quality sleep Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000004461 rapid eye movement Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4812—Detecting sleep stages or cycles
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
-
- 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)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Pathology (AREA)
- Signal Processing (AREA)
- Heart & Thoracic Surgery (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The invention discloses a data reporting method and a data reporting system of an intelligent home system, which comprise the following steps: step S1, the system conducts incremental sensing on the sleep gesture characterization data of the user collected on the surface of the mattress, and adjusts the sampling frequency of the sleep gesture characterization data based on the sensing result of the incremental sensing; step S2, the system performs incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and obtains the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression; and step S3, the system reports the sleep posture characterization data based on the reporting frequency. The invention carries out self-adaptive adjustment on the acquisition frequency to ensure that the acquisition frequency with high stability is maintained at a low sampling frequency so as to reduce the acquisition data volume and the occupation of data acquisition and transmission bandwidth in the sleep stage with high stability, and then carries out incremental compression on the sleep gesture representation data so as to realize the simplification of the reported data volume and improve the data reporting efficiency.
Description
Technical Field
The invention relates to the technical field of intelligent home, in particular to a data reporting method and system of an intelligent home system.
Background
The smart home technology is a technical means for automatically adjusting the working states of various smart home devices (such as audio devices, lighting systems, curtain control systems, and the like) by connecting various smart home devices together through the internet of things. The automatic adjustment function of the intelligent home technology greatly facilitates the life of users, so that the technology is widely applied to the life of people.
The prior art cn202010102656.x discloses a data information processing method, a storage medium and an electronic device of an intelligent home system, which are used for acquiring and storing data information of the intelligent home system of a user; counting data information of the intelligent home system of the user in a preset period from the stored data information of the intelligent home system; obtaining a grading result of the preset period of the intelligent home system of the user according to the data information of the intelligent home system of the user in the preset period and the weight corresponding to the data information, wherein the grading result of the preset period represents the activity degree of the intelligent home system of the user in the preset period; and generating a data report of the preset period of the intelligent home system of the user according to the data information and the grading result of the intelligent home system of the user in the preset period, and sending the data report to the user terminal for the user to check so that the user can master the use condition of the intelligent home equipment through the data report.
Although the prior art can realize systematic and intelligent management of home devices, undifferentiated reporting is selected when data is reported, a long-time stable state can occur in a home environment, and at the moment, undifferentiated reporting also can cause high redundancy of home environment data and huge transmission pressure on network bandwidth.
Disclosure of Invention
The invention aims to provide a data reporting method and a data reporting system of an intelligent home system, which aim to solve the technical problems that in the prior art, undifferentiated reporting is selected when data are reported, a long-time stable state can occur in a home environment, at the moment, undifferentiated reporting can cause high redundancy of home environment data, and huge transmission pressure can be caused to network bandwidth.
In order to solve the technical problems, the invention specifically provides the following technical scheme:
a data reporting method of an intelligent home system comprises the following steps:
step S1, the system carries out increment perception on the sleep posture characterization data of the user collected on the surface of the mattress, and adjusts the sampling frequency of the sleep posture characterization data based on the perception result of the increment perception, wherein the increment perception represents that the stability characteristic of the sleep posture characterization data is obtained so that the system can perceive the stability of the sleep stage of the user to plan the sampling frequency;
step S2, the system performs incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and obtains the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression, wherein the incremental compression represents that the repeatability characteristics of the sleep posture characterization data are obtained so that the system can remove the repeatability data to update the reporting frequency;
and step S3, the system reports the sleep posture characterization data based on the reporting frequency so as to realize the reduction of the reported data quantity and improve the data reporting efficiency.
As a preferred aspect of the present invention, the system performs incremental sensing on the sleep posture characterization data of the user collected on the surface of the mattress, and includes:
setting an increment weight for measuring the stability of the sleep posture characterization data, and carrying out similarity detection on the sleep posture characterization data at the current moment and the sleep posture characterization data at the previous moment, wherein,
if the similarity is larger than or equal to the similarity threshold, performing self-addition processing on the increment weight of the previous moment to obtain the increment weight of the current moment, wherein the calculation formula of the self-addition processing is as follows:
in the formula (I), the compound is shown in the specification,、respectively representing the incremental weight of the current moment and the incremental weight of the previous moment;
if the similarity is smaller than the similarity threshold, performing self-subtraction processing on the increment weight of the previous moment to obtain the increment weight of the current moment, wherein a calculation formula of the self-subtraction processing is as follows:
in the formula (I), the compound is shown in the specification,、respectively representing the incremental weight of the current moment and the incremental weight of the previous moment;
the calculation formula of the similarity is as follows:
in the formula (I), the compound is shown in the specification,the characterization is the similarity between the sleeping posture characterization data at the current moment and the sleeping posture characterization data at the previous moment,、respectively representing the data of the sleeping posture at the current moment and the data of the sleeping posture at the previous moment, wherein t is a time sequence metering constant.
As a preferred aspect of the present invention, the adjusting the sampling frequency of the sleep posture representing data based on the sensing result of the incremental sensing includes:
setting a base sampling frequencyIncremental weighting based on current time using a logistic functionAdjusting the sampling frequency of the sleep gesture representation data at the current moment, wherein,
if it isThen adjust the sampling frequency of the current time toThe self-adaptive adjustment of the acquisition frequency of the sleep posture representation data according to the stability is realized, so that the acquisition frequency with high stability is maintained at a low sampling frequency;
if it isThen adjust the sampling frequency of the current time toAnd the self-adaptive adjustment of the acquisition frequency of the sleep posture representation data according to the stability is realized, so that the acquisition frequency with low stability is maintained on the basic sampling frequency.
As a preferred aspect of the present invention, the system performs incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and includes:
setting a compression starting point and a compression end point, and calibrating the compression starting point to a group of sleep posture characterization data to be obtained by the system according to sampling frequencyStart data ofThe compression end point is set in the group of sleeping posture representation dataEnd point data ofAt least one of (1) and (b);
sequentially carrying out a group of sleep posture characterization data along the sequence from the compression starting point to the compression end pointCarries out similarity detection on adjacent items, and carries out a group of sleep posture characterization data according to the similarityThe compressed update of (1), wherein,
if the similarity of the adjacent items is larger than or equal to the similarity threshold, removing the latter item in the adjacent items;
if the similarity of the adjacent items is smaller than the similarity threshold, both the front item and the rear item in the adjacent items are reserved;
the similarity calculation formula of the adjacent terms is as follows:
in the formula (I), the compound is shown in the specification,characterised by adjacent termsAndthe degree of similarity of (a) to (b),、respectively characterized by a former sleeping posture characterization data and a latter sleeping posture characterization data in adjacent items,and isI and j are metering constants without substantial meaning, and n is represented as the total number of sleep posture characterization data.
As a preferred aspect of the present invention, the obtaining of the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression includes:
sequentially extracting sampling periods of all sleep posture characterization data in a reported data set, and taking a frequency conversion value of a sampling moment as a reporting frequency according to a conversion function of the periods and the frequency, wherein the conversion function of the reporting frequency and the sampling moment is as follows:
in the formula (I), the compound is shown in the specification,characterized in that the reporting frequency is a frequency of reporting,characterized by the sampling period.
As a preferred scheme of the present invention, the system reports the frequency according to the reporting frequencyReporting all the sleep posture characterization data in the reported data set one by one to keep the orderliness of the sleep posture characterization data.
As a preferable scheme of the present invention, before the similarity detection is performed on the sleep posture characterization data, normalization processing is performed to remove data dimensions.
As a preferred scheme of the present invention, the sampling frequency refers to the number of collected sleep posture characterization data in unit time, and the reporting frequency refers to the number of uploaded sleep posture characterization data in unit time.
As a preferred scheme of the present invention, the present invention provides a reporting system according to the data reporting method of the smart home system, including:
the incremental sensing module is used for incrementally sensing the sleep posture characterization data of the user collected on the surface of the mattress and adjusting the sampling frequency of the sleep posture characterization data based on the sensing result of the incremental sensing, wherein the incremental sensing is represented by acquiring the stability characteristics of the sleep posture characterization data so that a system can sense the stability of the sleep stage of the user to plan the sampling frequency;
the incremental compression module is used for carrying out incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and obtaining the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression, wherein the incremental compression represents that the repeatability characteristics of the sleep posture characterization data are obtained so that a system can eliminate the repeatability to update the reporting frequency;
and the data reporting module is used for reporting the sleep gesture representation data based on the reporting frequency so as to realize the reduction of the reported data volume and improve the data reporting efficiency.
As a preferred scheme of the present invention, the increment sensing module, the increment compression module and the data reporting module are all integrated with a communication module, and the communication module is configured to implement data transmission of the increment sensing module, the increment compression module and the data reporting module.
Compared with the prior art, the invention has the following beneficial effects:
the sleep posture characterization data is subjected to incremental sensing to adjust the sampling frequency of the sleep posture characterization data, the acquisition frequency is subjected to adaptive adjustment to enable the acquisition frequency with high stability to be maintained at a low sampling frequency so as to reduce the acquisition data volume and the occupation of data acquisition and transmission bandwidth in a sleep stage with high stability, and then the sleep posture characterization data is subjected to incremental compression to determine the reporting frequency of the sleep posture characterization data so as to realize the simplification of the reported data volume and improve the data reporting efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
Fig. 1 is a flowchart of a data reporting method according to an embodiment of the present invention;
fig. 2 is a structural block diagram of a reporting system according to an embodiment of the present invention.
The reference numerals in the drawings denote the following, respectively:
1-incremental sensing module; 2-an incremental compression module; and 3, a data reporting module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the invention provides a data reporting method for an intelligent home system, which comprises the following steps:
the sleep stages of humans can be divided into 5 different stages: during sleep-in period, light sleep period, deep sleep period, and rapid eye movement period, an indispensable data information, namely, user's sleeping posture, exists when mattress user experience data is collected, and the user's sleeping posture can be used to analyze the use parameters of the mattress such as the support and wrapping performance of the mattress to the user, and further used as reference data for further improving the mattress, so that data representing the user's sleeping posture needs to be collected to obtain sleeping posture representation data in the embodiment, such as pressure formed by various sleeping postures of the user felt by the mattress, occupied area of various sleeping postures of the user on the mattress, and the like; when the sleep posture characterization data is collected, due to the regularity of sleep, the user can keep the same sleep posture in a stage, the sleep posture characterization data of the user in the stable stage can also show high similarity, so that the data sampling frequency in the stable stage can be properly reduced according to the stability degree, a series of high-similarity sleep posture characterization data can be prevented from being collected, the collection equipment is prevented from running at high frequency, and the data redundancy is reduced, therefore, the embodiment provides a method for adjusting the sampling frequency according to the sleep stage stability, which specifically comprises the following steps:
step S1, the system carries out increment perception on the sleep posture characterization data of the user collected on the surface of the mattress, and adjusts the sampling frequency of the sleep posture characterization data based on the perception result of the increment perception, and the increment perception indicates that the stability characteristic of the sleep posture characterization data is obtained to enable the system to perceive the stability of the sleep stage of the user to plan the sampling frequency;
the system carries out increment perception on the user sleeping posture characterization data collected on the surface of the mattress, and the increment perception comprises the following steps:
setting an increment weight for measuring the stability of the sleep posture characterization data, and carrying out similarity detection on the sleep posture characterization data at the current moment and the sleep posture characterization data at the previous moment, wherein,
if the similarity is greater than or equal to the similarity threshold, performing self-addition processing on the increment weight of the previous moment to obtain the increment weight of the current moment, wherein the calculation formula of the self-addition processing is as follows:
in the formula (I), the compound is shown in the specification,、respectively representing the incremental weight of the current moment and the incremental weight of the previous moment;
the increment weight of the current moment is established on the basis of the increment weight of the previous moment, so that the similarity of the sleep posture representation data of the current moment and the previous moment is high, and the sleep stage stability of the user is improved, so that the increment weight of the current moment is increased, and the high increment weight corresponds to high stability.
If the similarity is smaller than the similarity threshold, self-subtraction processing is carried out on the increment weight of the previous moment to obtain the increment weight of the current moment, and the calculation formula of the self-subtraction processing is as follows:
in the formula (I), the compound is shown in the specification,、respectively representing the incremental weight of the current moment and the incremental weight of the previous moment;
the increment weight of the current moment is based on the increment weight of the previous moment, so that the similarity of the sleep posture representation data of the current moment and the previous moment is low, which indicates that the stability of the sleep stage of the user is reduced, and therefore, the increment weight of the current moment is reduced, and the low increment weight corresponds to low stability.
The similarity is calculated by the following formula:
in the formula (I), the compound is shown in the specification,the characterization is the similarity between the sleeping posture characterization data at the current moment and the sleeping posture characterization data at the previous moment,、respectively representing the data of the sleeping posture at the current moment and the data of the sleeping posture at the previous moment, wherein t is a time sequence metering constant.
Adjusting the sampling frequency of the sleep posture characterization data based on the perception result of the incremental perception, comprising the following steps:
setting a base sampling frequencyIncremental weighting based on current time using a logistic functionAdjusting the sampling frequency of the sleep posture representation data at the current moment, wherein,
if the number of the first time interval and the second time interval is less than the preset threshold,the sampling frequency at the current moment is adjusted toThe self-adaptive adjustment of the acquisition frequency of the sleep posture representation data according to the stability is realized, so that the acquisition frequency with high stability is maintained at a low sampling frequency;
if it isThen adjust the sampling frequency of the current time toAnd the self-adaptive adjustment of the acquisition frequency of the sleep posture representation data according to the stability is realized, so that the acquisition frequency with low stability is maintained on the basic sampling frequency.
When the sleep enters a stable stage, the sleep posture representation data of the user also presents high similarity, namely the similarity between the sleep posture representation data at the current moment and the sleep posture representation data at the previous moment is high, so that the data sampling frequency of the stable stage can be properly reduced according to the stability degree, namely the incremental weight of the current moment is increased, for example, the sleep posture representation data is increasedThe data with high similarity indicate that the sleep of the user is possibly in a stable stage at the moment, the sampling frequency after the 2 nd moment is reduced on the basis of the 1 st moment, and the data are collected at the 3 rd momentComparing the similarity with the similarityThe higher the same, the higher the degree of the user in the stable stage of sleep, so the sampling frequency after the 3 rd time is reduced on the basis of the 2 nd timeLow, the more similar data quantity, the more the sampling frequency is reduced, thus avoiding the acquisition of a series of highly similar sleep posture characterization data, and the acquisition equipment also avoiding high-frequency operation, reducing data redundancy, while the logistic function is an increasing function, thus being constructed as an adjusting function of the sampling frequencyThe method can realize that under the condition of high increment weight, the low sampling frequency is obtained, namely the sampling frequency is reduced in a stable stage, the high-frequency acquisition of a series of data with high similarity is reduced, the data redundancy is avoided, and under the condition of low increment weight, the sampling frequency is uniformly adjusted to be the basic sampling frequency, namely when a stable stage is not maintained, the basic sampling frequency is uniformly adopted for sampling.
Step S2, the system performs incremental compression on the sleep posture characterization data obtained according to the sampling frequency, obtains the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression, and the incremental compression represents that the repeatability characteristics of the sleep posture characterization data are obtained so that the system can remove the repeatability data to update the reporting frequency;
the method has the advantages that the screening reduction of high-similarity data volume to a certain degree is realized after the adjustment of the sampling frequency is carried out, but a certain degree of data redundancy exists, because the sampling frequency cannot be controlled to just acquire only one sleeping posture representation data in a stable stage, the data is most simplified, and therefore a group of sleeping posture representation data acquired according to the acquisition frequency is compressed and simplified, and the method specifically comprises the following steps:
the system carries out incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and comprises the following steps:
setting a compression starting point and a compression end point, and calibrating the compression starting point to a group of sleep posture characterization data to be obtained by the system according to sampling frequencyStart data ofThe compression end point is set in a group of sleeping posture representation dataEnd point data ofAt least one of (1) and (b);
sequentially carrying out a group of sleep posture characterization data along the sequence from the compression starting point to the compression end pointCarries out similarity detection on adjacent items, and carries out a group of sleep posture characterization data according to the similarityThe compressed update of (1), wherein,
if the similarity of the adjacent items is larger than or equal to the similarity threshold, removing the latter item in the adjacent items;
if the similarity of the adjacent items is smaller than the similarity threshold, both the front item and the rear item in the adjacent items are reserved;
the similarity calculation formula of the adjacent terms is as follows:
in the formula (I), the compound is shown in the specification,characterised by adjacent termsAndthe degree of similarity of (a) to (b),、respectively characterized by a former sleeping posture characterization data and a latter sleeping posture characterization data in adjacent items,and is provided withI and j are metering constants without substantial meaning, and n is represented as the total number of sleep posture representation data.
The present embodiment provides an example of incremental compression, such as: a group of sleep posture characterization data,Andfirst, as a compression start point and a compression end point, respectively, are calculatedAndthe similarity of (1), ifAndis greater than or equal to the similarity threshold, thenRemoving and calculatingAndthe similarity of (1), ifAndis less than the similarity threshold, then willReserving, and obtaining a group of sleep posture characterization data after compression and update by analogy in turnAs a reported data set.
And step S3, the system reports the sleep posture characterization data based on the reporting frequency so as to realize the reduction of the reported data quantity and improve the data reporting efficiency.
Obtaining the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression, and the method comprises the following steps:
sequentially extracting sampling periods of all sleep posture characterization data in the reported data set, taking a frequency conversion value of a sampling moment as a reporting frequency according to a conversion function of the periods and the frequency, wherein the conversion function of the reporting frequency and the sampling moment is as follows:
in the formula (I), the compound is shown in the specification,characterized in that the reporting frequency is a frequency of reporting,characterized by the sampling period.
This embodiment provides an example of reporting frequency settings, fromThe sampling period is obtained and the sampling period is,with a sampling period in betweenAt the sampling time andis obtained from the sampling time difference of (2), thereby obtaining the difference according to the conversion functionThe reporting frequency of (2) is obtained by analogy in turnThe reporting frequency in between.
The system is based on the reporting frequencyReporting all the sleep posture characterization data in the reported data set one by one to keep the orderliness of the sleep posture characterization data.
Before similarity detection is carried out on the sleep posture characterization data, normalization processing is carried out to remove data dimensions.
The sampling frequency refers to the number of collected sleep posture characterization data in unit time, and the reporting frequency refers to the number of uploaded sleep posture characterization data in unit time.
As shown in fig. 2, the data reporting method based on the smart home system of the present invention provides a reporting system, including:
the incremental sensing module 1 is used for incrementally sensing the sleep posture characterization data of the user collected on the surface of the mattress, adjusting the sampling frequency of the sleep posture characterization data based on the sensing result of the incremental sensing, and the incremental sensing means that the stability characteristic of the sleep posture characterization data is obtained so that the system can sense the stability of the sleep stage of the user to plan the sampling frequency;
the incremental compression module 2 is used for performing incremental compression on the sleep posture characterization data obtained according to the sampling frequency, obtaining the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression, and performing the incremental compression to show that the repeatability characteristics of the sleep posture characterization data are obtained so that the system can remove the repeatability data to update the reporting frequency;
and the data reporting module 3 is configured to report the sleep posture characterization data based on the reporting frequency, so as to simplify the reported data amount and improve the data reporting efficiency.
The increment sensing module, the increment compression module and the data reporting module are all integrated with communication modules, and the communication modules are used for realizing data transmission of the increment sensing module, the increment compression module and the data reporting module.
The sleep posture characterization data is subjected to incremental sensing to adjust the sampling frequency of the sleep posture characterization data, the acquisition frequency is subjected to adaptive adjustment to enable the acquisition frequency with high stability to be maintained at a low sampling frequency, so that the acquisition data volume and the occupation of data acquisition and transmission bandwidth in a sleep stage with high stability are reduced, and then the report frequency of the sleep posture characterization data is determined by performing incremental compression on the sleep posture characterization data, so that the report data volume is simplified to improve the data report efficiency.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.
Claims (8)
1. A data reporting method of an intelligent home system is characterized by comprising the following steps:
step S1, the system carries out increment perception on the sleep posture characterization data of the user collected on the surface of the mattress, and adjusts the sampling frequency of the sleep posture characterization data based on the perception result of the increment perception, wherein the increment perception represents that the stability characteristic of the sleep posture characterization data is obtained so that the system can perceive the stability of the sleep stage of the user to plan the sampling frequency;
step S2, the system performs incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and obtains the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression, wherein the incremental compression represents that the repeatability characteristics of the sleep posture characterization data are obtained so that the system can remove the repeatability data to update the reporting frequency;
step S3, the system reports the sleep posture characterization data based on the reporting frequency so as to realize the reduction of the reported data quantity and improve the data reporting efficiency;
the system carries out increment perception on user sleeping posture characterization data collected on the surface of the mattress, and comprises the following steps:
setting an increment weight for measuring the stability of the sleep posture characterization data, and carrying out similarity detection on the sleep posture characterization data at the current moment and the sleep posture characterization data at the previous moment, wherein,
if the similarity is larger than or equal to the similarity threshold, performing self-addition processing on the increment weight of the previous moment to obtain the increment weight of the current moment, wherein the calculation formula of the self-addition processing is as follows:
in the formula (I), the compound is shown in the specification,、respectively representing the incremental weight of the current moment and the incremental weight of the previous moment;
if the similarity is smaller than the similarity threshold, performing self-subtraction processing on the increment weight of the previous moment to obtain the increment weight of the current moment, wherein a calculation formula of the self-subtraction processing is as follows:
in the formula (I), the compound is shown in the specification,、respectively representing the incremental weight of the current moment and the incremental weight of the previous moment;
the calculation formula of the similarity is as follows:
in the formula (I), the compound is shown in the specification,the characterization is the similarity between the sleeping posture characterization data at the current moment and the sleeping posture characterization data at the previous moment,、respectively representing the data as the sleeping posture representation data of the current moment and the sleeping posture representation data of the previous moment, wherein t is a time sequence metering constant;
the adjusting the sampling frequency of the sleep posture representation data based on the perception result of the incremental perception comprises the following steps:
setting a base sampling frequencyIncremental weighting based on current time using a logistic functionAdjusting the sampling frequency of the sleep gesture representation data at the current moment, wherein,
if it isThen adjust the sampling frequency of the current time toThe self-adaptive adjustment of the acquisition frequency of the sleep posture representation data according to the stability is realized, so that the acquisition frequency with high stability is maintained at a low sampling frequency;
if it isThen adjust the sampling frequency of the current time toAnd the self-adaptive adjustment of the acquisition frequency of the sleep posture representation data according to the stability is realized, so that the acquisition frequency with low stability is maintained on the basic sampling frequency.
2. The data reporting method of the smart home system according to claim 1, wherein: the system carries out incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and comprises the following steps:
setting a compression starting point and a compression end point, and calibrating the compression starting point to a group of sleep posture characterization data to be obtained by the system according to sampling frequencyStart data of (2)The compression end point is set in the group of sleeping posture representation dataEnd point data ofAt least one of (1) and (b);
sequentially carrying out a group of sleep posture characterization data along the sequence from the compression starting point to the compression end pointCarries out similarity detection on adjacent items, and carries out a group of sleep posture characterization data according to the similarityThe compressed update of (1), wherein,
if the similarity of the adjacent items is larger than or equal to the similarity threshold, removing the latter item in the adjacent items;
if the similarity of the adjacent items is smaller than the similarity threshold, both the front item and the rear item in the adjacent items are reserved;
the similarity calculation formula of the adjacent terms is as follows:
in the formula (I), the compound is shown in the specification,characterised by adjacent termsAndthe degree of similarity of (a) to (b),、respectively characterized by the former sleeping posture characterization data and the latter sleeping posture characterization data in the adjacent items,and isI and j are metering constants without substantial meaning, and n is represented as the total number of sleep posture characterization data.
3. The data reporting method of the smart home system according to claim 2, wherein: the obtaining of the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression comprises:
sequentially extracting sampling periods of all sleep posture characterization data in a reported data set, and taking a frequency conversion value of a sampling moment as a reporting frequency according to a conversion function of the periods and the frequency, wherein the conversion function of the reporting frequency and the sampling moment is as follows:
4. The data reporting method of the smart home system according to claim 3, characterized in that: the system reports the frequency according to the report frequencyReporting all the sleep posture characterization data in the reported data set one by one to keep the orderliness of the sleep posture characterization data.
5. The data reporting method of the smart home system according to claim 4, wherein the sleep posture characterization data is normalized to remove data dimension before similarity detection.
6. The data reporting method of the smart home system according to claim 5, wherein the sampling frequency is the number of collected sleep posture characterization data in unit time, and the reporting frequency is the number of uploaded sleep posture characterization data in unit time.
7. A reporting system for realizing the data reporting method of the smart home system according to any one of claims 1 to 6, comprising:
the incremental sensing module (1) is used for incrementally sensing the sleep posture characterization data of the user collected on the surface of the mattress and adjusting the sampling frequency of the sleep posture characterization data based on the sensing result of the incremental sensing, wherein the incremental sensing is represented by acquiring the stability characteristics of the sleep posture characterization data so that the system can sense the stability of the sleep stage of the user to plan the sampling frequency;
the incremental compression module (2) is used for carrying out incremental compression on the sleep posture characterization data obtained according to the sampling frequency, and obtaining the reporting frequency of the sleep posture characterization data based on the compression result of the incremental compression, wherein the incremental compression represents that the repetitive characteristics of the sleep posture characterization data are obtained so that a system can remove the repetitive data to update the reporting frequency;
and the data reporting module (3) is used for reporting the sleep gesture representation data based on the reporting frequency so as to realize the reduction of the reported data volume and improve the data reporting efficiency.
8. The reporting system of claim 7, wherein the increment sensing module (1), the increment compression module (2) and the data reporting module (3) are all integrated with a communication module, and the communication module is configured to implement data transmission of the increment sensing module, the increment compression module and the data reporting module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210139637.3A CN114205393B (en) | 2022-02-16 | 2022-02-16 | Data reporting method and system of intelligent home system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210139637.3A CN114205393B (en) | 2022-02-16 | 2022-02-16 | Data reporting method and system of intelligent home system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114205393A CN114205393A (en) | 2022-03-18 |
CN114205393B true CN114205393B (en) | 2022-05-17 |
Family
ID=80658997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210139637.3A Active CN114205393B (en) | 2022-02-16 | 2022-02-16 | Data reporting method and system of intelligent home system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114205393B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118018439B (en) * | 2024-04-10 | 2024-06-18 | 山东益来环保科技有限公司 | Data management system for monitoring system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683353A (en) * | 2015-03-18 | 2015-06-03 | 大连理工大学 | Security information adaptive communication system for internet of vehicles |
CN106214129A (en) * | 2016-08-03 | 2016-12-14 | 北京京东尚科信息技术有限公司 | Terminate the method for poor quality sleep, equipment, sleep server and intelligence and dress terminal |
CN110989735A (en) * | 2019-11-12 | 2020-04-10 | 珠海格力电器股份有限公司 | Self-adaptive adjustment method and device for sleep environment and electronic equipment |
CN112043278A (en) * | 2019-06-05 | 2020-12-08 | 跑动(厦门)信息科技有限公司 | Sleeping posture identification method |
CN113655730A (en) * | 2021-10-20 | 2021-11-16 | 慕思健康睡眠股份有限公司 | Data information processing method and system for home system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014029764A1 (en) * | 2012-08-20 | 2014-02-27 | Danmarks Tekniske Universitet | Method for detection of an abnormal sleep pattern in a person |
CN104720753B (en) * | 2015-03-07 | 2018-06-15 | 郝磊 | A kind of sleep monitoring system and its method |
CN108235533B (en) * | 2017-12-14 | 2019-08-06 | 信利光电股份有限公司 | A kind of child bedroom night illumination control method and system |
-
2022
- 2022-02-16 CN CN202210139637.3A patent/CN114205393B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683353A (en) * | 2015-03-18 | 2015-06-03 | 大连理工大学 | Security information adaptive communication system for internet of vehicles |
CN106214129A (en) * | 2016-08-03 | 2016-12-14 | 北京京东尚科信息技术有限公司 | Terminate the method for poor quality sleep, equipment, sleep server and intelligence and dress terminal |
CN112043278A (en) * | 2019-06-05 | 2020-12-08 | 跑动(厦门)信息科技有限公司 | Sleeping posture identification method |
CN110989735A (en) * | 2019-11-12 | 2020-04-10 | 珠海格力电器股份有限公司 | Self-adaptive adjustment method and device for sleep environment and electronic equipment |
CN113655730A (en) * | 2021-10-20 | 2021-11-16 | 慕思健康睡眠股份有限公司 | Data information processing method and system for home system |
Non-Patent Citations (1)
Title |
---|
基于生成少数类技术的深度自动睡眠分期模型;金欢欢等;《计算机应用》;20180518(第09期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114205393A (en) | 2022-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108847219B (en) | Awakening word preset confidence threshold adjusting method and system | |
CN114205393B (en) | Data reporting method and system of intelligent home system | |
CN101442636B (en) | Intelligent regulating method and system for television sound volume | |
US20050226514A1 (en) | Distributing limited storage among a collection of media objects | |
CN104064185A (en) | Information processing method and system and electronic device | |
EP2428868A3 (en) | Network service system, service proxy processing method, computer-readable storage medium storing program, and program therefor | |
CN110113777B (en) | Data acquisition method | |
CN110556107A (en) | control method and system capable of automatically adjusting voice recognition sensitivity, air conditioner and readable storage medium | |
CN111681675B (en) | Data dynamic transmission method, device, equipment and storage medium | |
CN115868941A (en) | Information management method for intelligent ring | |
EP2034698A3 (en) | Method for tracking the size of a multicast audience | |
CN117395705A (en) | 5G network bandwidth prediction method and device based on self-adaptive lifting | |
CN117628678A (en) | Energy-saving air conditioner control panel based on wireless network control | |
US8768938B2 (en) | Histogram processing by trend and pattern removal | |
CN115426212A (en) | Intelligent device adaptability adjusting method based on sleep state and terminal device | |
CN116819352A (en) | Self-adaptive setting method, device and equipment for battery threshold value and storage medium | |
CN116502802A (en) | Data management system based on big data and wireless sensing technology | |
CN112953869B (en) | Adaptive data screening method and system for base station digital intermediate frequency predistortion system | |
CN113162986B (en) | Automatic multi-type Internet of things parallel access protocol adaptation method and system | |
CN117012164A (en) | Brightness adjustment method, device, apparatus and storage medium | |
CN114880318A (en) | Method and system for realizing automatic data management based on data standard | |
CN117150224B (en) | User behavior data storage analysis method based on Internet of things | |
CN111526641A (en) | Back pressure self-adjusting method and device | |
CN102306198B (en) | Method and device for converging performance data | |
CN117997353B (en) | Hydraulic engineering water level data processing method |
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 |