CN114205393B - Data reporting method and system of intelligent home system - Google Patents

Data reporting method and system of intelligent home system Download PDF

Info

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
Application number
CN202210139637.3A
Other languages
Chinese (zh)
Other versions
CN114205393A (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.)
De Rucci Healthy Sleep Co Ltd
Original Assignee
De Rucci Healthy Sleep 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 De Rucci Healthy Sleep Co Ltd filed Critical De Rucci Healthy Sleep Co Ltd
Priority to CN202210139637.3A priority Critical patent/CN114205393B/en
Publication of CN114205393A publication Critical patent/CN114205393A/en
Application granted granted Critical
Publication of CN114205393B publication Critical patent/CN114205393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4812Detecting sleep stages or cycles
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion 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/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • 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)
  • 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

Data reporting method and system of intelligent home system
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:
Figure 550898DEST_PATH_IMAGE001
in the formula (I), the compound is shown in the specification,
Figure 877974DEST_PATH_IMAGE002
Figure 100008DEST_PATH_IMAGE003
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:
Figure 246955DEST_PATH_IMAGE004
in the formula (I), the compound is shown in the specification,
Figure 212637DEST_PATH_IMAGE002
Figure 331903DEST_PATH_IMAGE003
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:
Figure 787155DEST_PATH_IMAGE005
in the formula (I), the compound is shown in the specification,
Figure 686978DEST_PATH_IMAGE006
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,
Figure 190772DEST_PATH_IMAGE007
Figure 164544DEST_PATH_IMAGE008
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 frequency
Figure 790697DEST_PATH_IMAGE009
Incremental weighting based on current time using a logistic function
Figure 912237DEST_PATH_IMAGE002
Adjusting the sampling frequency of the sleep gesture representation data at the current moment, wherein,
if it is
Figure 219722DEST_PATH_IMAGE010
Then adjust the sampling frequency of the current time to
Figure 375896DEST_PATH_IMAGE011
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 high stability is maintained at a low sampling frequency;
if it is
Figure 110634DEST_PATH_IMAGE012
Then adjust the sampling frequency of the current time to
Figure 719470DEST_PATH_IMAGE013
And 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 frequency
Figure 562137DEST_PATH_IMAGE014
Start data of
Figure 572818DEST_PATH_IMAGE015
The compression end point is set in the group of sleeping posture representation data
Figure 540774DEST_PATH_IMAGE014
End point data of
Figure 574589DEST_PATH_IMAGE016
At 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 point
Figure 286193DEST_PATH_IMAGE014
Carries out similarity detection on adjacent items, and carries out a group of sleep posture characterization data according to the similarity
Figure 354643DEST_PATH_IMAGE014
The 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;
compressing and updating a set of sleep posture characterization data
Figure 493501DEST_PATH_IMAGE014
As a reported data set;
the similarity calculation formula of the adjacent terms is as follows:
Figure 811349DEST_PATH_IMAGE017
in the formula (I), the compound is shown in the specification,
Figure 326644DEST_PATH_IMAGE018
characterised by adjacent terms
Figure 311918DEST_PATH_IMAGE019
And
Figure 559360DEST_PATH_IMAGE020
the degree of similarity of (a) to (b),
Figure 364505DEST_PATH_IMAGE019
Figure 417911DEST_PATH_IMAGE020
respectively characterized by a former sleeping posture characterization data and a latter sleeping posture characterization data in adjacent items,
Figure 257691DEST_PATH_IMAGE021
and is
Figure 676034DEST_PATH_IMAGE022
I 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:
Figure 234055DEST_PATH_IMAGE023
in the formula (I), the compound is shown in the specification,
Figure 825573DEST_PATH_IMAGE024
characterized in that the reporting frequency is a frequency of reporting,
Figure 785439DEST_PATH_IMAGE025
characterized by the sampling period.
As a preferred scheme of the present invention, the system reports the frequency according to the reporting frequency
Figure 374683DEST_PATH_IMAGE024
Reporting 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:
Figure 154420DEST_PATH_IMAGE001
in the formula (I), the compound is shown in the specification,
Figure 549629DEST_PATH_IMAGE002
Figure 364002DEST_PATH_IMAGE003
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:
Figure 124147DEST_PATH_IMAGE001
in the formula (I), the compound is shown in the specification,
Figure 328864DEST_PATH_IMAGE002
Figure 527764DEST_PATH_IMAGE003
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:
Figure 196643DEST_PATH_IMAGE026
in the formula (I), the compound is shown in the specification,
Figure 118900DEST_PATH_IMAGE006
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,
Figure 873230DEST_PATH_IMAGE007
Figure 813504DEST_PATH_IMAGE008
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 frequency
Figure 336889DEST_PATH_IMAGE009
Incremental weighting based on current time using a logistic function
Figure 501154DEST_PATH_IMAGE002
Adjusting 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,
Figure 742780DEST_PATH_IMAGE027
the sampling frequency at the current moment is adjusted to
Figure 221166DEST_PATH_IMAGE011
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 high stability is maintained at a low sampling frequency;
if it is
Figure 599057DEST_PATH_IMAGE012
Then adjust the sampling frequency of the current time to
Figure 75169DEST_PATH_IMAGE013
And 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 increased
Figure 538512DEST_PATH_IMAGE028
The 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 moment
Figure 882905DEST_PATH_IMAGE029
Comparing the similarity with the similarity
Figure 115303DEST_PATH_IMAGE030
The 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 frequency
Figure 886950DEST_PATH_IMAGE011
The 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 frequency
Figure 837589DEST_PATH_IMAGE014
Start data of
Figure 657777DEST_PATH_IMAGE015
The compression end point is set in a group of sleeping posture representation data
Figure 10261DEST_PATH_IMAGE014
End point data of
Figure 952809DEST_PATH_IMAGE016
At 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 point
Figure 390744DEST_PATH_IMAGE014
Carries out similarity detection on adjacent items, and carries out a group of sleep posture characterization data according to the similarity
Figure 14623DEST_PATH_IMAGE014
The 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;
compressing and updating a set of sleep posture characterization data
Figure 221614DEST_PATH_IMAGE014
As a reported data set;
the similarity calculation formula of the adjacent terms is as follows:
Figure 335063DEST_PATH_IMAGE017
in the formula (I), the compound is shown in the specification,
Figure 197977DEST_PATH_IMAGE018
characterised by adjacent terms
Figure 422285DEST_PATH_IMAGE019
And
Figure 749361DEST_PATH_IMAGE020
the degree of similarity of (a) to (b),
Figure 702886DEST_PATH_IMAGE019
Figure 115413DEST_PATH_IMAGE020
respectively characterized by a former sleeping posture characterization data and a latter sleeping posture characterization data in adjacent items,
Figure 143412DEST_PATH_IMAGE021
and is provided with
Figure 324995DEST_PATH_IMAGE022
I 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
Figure 780247DEST_PATH_IMAGE031
Figure 414490DEST_PATH_IMAGE015
And
Figure 793650DEST_PATH_IMAGE032
first, as a compression start point and a compression end point, respectively, are calculated
Figure 33002DEST_PATH_IMAGE015
And
Figure 659155DEST_PATH_IMAGE030
the similarity of (1), if
Figure 718378DEST_PATH_IMAGE015
And
Figure 25862DEST_PATH_IMAGE030
is greater than or equal to the similarity threshold, then
Figure 119720DEST_PATH_IMAGE030
Removing and calculating
Figure 857388DEST_PATH_IMAGE015
And
Figure 403907DEST_PATH_IMAGE029
the similarity of (1), if
Figure 311820DEST_PATH_IMAGE015
And
Figure 260184DEST_PATH_IMAGE029
is less than the similarity threshold, then will
Figure 165824DEST_PATH_IMAGE029
Reserving, and obtaining a group of sleep posture characterization data after compression and update by analogy in turn
Figure 199639DEST_PATH_IMAGE033
As 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:
Figure 911243DEST_PATH_IMAGE023
in the formula (I), the compound is shown in the specification,
Figure 714114DEST_PATH_IMAGE024
characterized in that the reporting frequency is a frequency of reporting,
Figure 852971DEST_PATH_IMAGE025
characterized by the sampling period.
This embodiment provides an example of reporting frequency settings, from
Figure 374082DEST_PATH_IMAGE033
The sampling period is obtained and the sampling period is,
Figure 889377DEST_PATH_IMAGE034
with a sampling period in between
Figure 546755DEST_PATH_IMAGE029
At the sampling time and
Figure 856513DEST_PATH_IMAGE015
is obtained from the sampling time difference of (2), thereby obtaining the difference according to the conversion function
Figure 927237DEST_PATH_IMAGE034
The reporting frequency of (2) is obtained by analogy in turn
Figure 980644DEST_PATH_IMAGE035
The reporting frequency in between.
The system is based on the reporting frequency
Figure 755177DEST_PATH_IMAGE024
Reporting 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:
Figure DEST_PATH_IMAGE001
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE002
Figure DEST_PATH_IMAGE003
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:
Figure DEST_PATH_IMAGE004
in the formula (I), the compound is shown in the specification,
Figure 21984DEST_PATH_IMAGE002
Figure 939125DEST_PATH_IMAGE003
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:
Figure DEST_PATH_IMAGE005
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE006
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,
Figure DEST_PATH_IMAGE007
Figure DEST_PATH_IMAGE008
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 frequency
Figure DEST_PATH_IMAGE009
Incremental weighting based on current time using a logistic function
Figure DEST_PATH_IMAGE010
Adjusting the sampling frequency of the sleep gesture representation data at the current moment, wherein,
if it is
Figure DEST_PATH_IMAGE011
Then adjust the sampling frequency of the current time to
Figure DEST_PATH_IMAGE012
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 high stability is maintained at a low sampling frequency;
if it is
Figure DEST_PATH_IMAGE013
Then adjust the sampling frequency of the current time to
Figure DEST_PATH_IMAGE014
And 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 frequency
Figure DEST_PATH_IMAGE015
Start data of (2)
Figure DEST_PATH_IMAGE016
The compression end point is set in the group of sleeping posture representation data
Figure DEST_PATH_IMAGE017
End point data of
Figure DEST_PATH_IMAGE018
At 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 point
Figure 421926DEST_PATH_IMAGE017
Carries out similarity detection on adjacent items, and carries out a group of sleep posture characterization data according to the similarity
Figure 754818DEST_PATH_IMAGE017
The 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;
compressing and updating a set of sleep posture characterization data
Figure 569190DEST_PATH_IMAGE017
As a reported data set;
the similarity calculation formula of the adjacent terms is as follows:
Figure DEST_PATH_IMAGE019
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE020
characterised by adjacent terms
Figure DEST_PATH_IMAGE021
And
Figure DEST_PATH_IMAGE022
the degree of similarity of (a) to (b),
Figure 329336DEST_PATH_IMAGE021
Figure DEST_PATH_IMAGE023
respectively characterized by the former sleeping posture characterization data and the latter sleeping posture characterization data in the adjacent items,
Figure DEST_PATH_IMAGE024
and is
Figure DEST_PATH_IMAGE025
I 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:
Figure DEST_PATH_IMAGE026
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE027
characterized in that the reporting frequency is a frequency of reporting,
Figure DEST_PATH_IMAGE028
characterized by the sampling period.
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 frequency
Figure DEST_PATH_IMAGE029
Reporting 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.
CN202210139637.3A 2022-02-16 2022-02-16 Data reporting method and system of intelligent home system Active CN114205393B (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118018439B (en) * 2024-04-10 2024-06-18 山东益来环保科技有限公司 Data management system for monitoring system

Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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