CN113342272A - Sitting posture data storage method, sitting posture data display method, intelligent cushion and system - Google Patents

Sitting posture data storage method, sitting posture data display method, intelligent cushion and system Download PDF

Info

Publication number
CN113342272A
CN113342272A CN202110633282.9A CN202110633282A CN113342272A CN 113342272 A CN113342272 A CN 113342272A CN 202110633282 A CN202110633282 A CN 202110633282A CN 113342272 A CN113342272 A CN 113342272A
Authority
CN
China
Prior art keywords
sitting posture
subspace
posture data
data
date
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110633282.9A
Other languages
Chinese (zh)
Other versions
CN113342272B (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.)
Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Original Assignee
Shenzhen Shuliantianxia Intelligent Technology 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 Shenzhen Shuliantianxia Intelligent Technology Co Ltd filed Critical Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Priority to CN202110633282.9A priority Critical patent/CN113342272B/en
Publication of CN113342272A publication Critical patent/CN113342272A/en
Application granted granted Critical
Publication of CN113342272B publication Critical patent/CN113342272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements

Abstract

The invention discloses a sitting posture data storage method, a sitting posture data display method, an intelligent cushion and an intelligent sitting posture data system. The method comprises the following steps: processing the currently collected sitting posture state data according to a preset processing rule to obtain current sitting posture data; acquiring current time information corresponding to current sitting posture data, wherein the current time information comprises current date information and current time point information; traversing in the storage pool according to the current date information to find a subspace meeting a writing condition; and writing the current sitting posture data into a first data area of the subspace meeting the writing condition according to the current time point information. By adopting the mode of the invention, the intelligent cushion completes integration of the coordinate data of each day locally in the equipment, so that the upper computer can draw a chart for display according to the data of each-day sitting posture sent by the intelligent cushion without depending on a server.

Description

Sitting posture data storage method, sitting posture data display method, intelligent cushion and system
Technical Field
The invention relates to the field of intelligent cushions, in particular to a sitting posture data storage method, a sitting posture data display method, an intelligent cushion and a sitting posture data display system.
Background
In the development of intelligent cushion, the sitting posture data needs to be counted, such as left inclination times, right inclination times, correction times, cushion duration, left inclination duration, right inclination duration and the like. Among the current technical scheme, generally be with the position of sitting state data random storage that the cushion was gathered at every turn in inside Flash, as shown in fig. 1, when cell-phone APP need demonstrate the position of sitting data, the intelligence cushion needs earlier to forward the high in the clouds server via cell-phone APP with the historical data of storage in FLASH, then at high in the clouds integration data, statistics, issue the APP show again at last. The method needs to be supported by a server, and the running speed of the mobile phone end is influenced due to the large data transmission quantity.
Disclosure of Invention
The embodiment of the invention aims to provide a sitting posture data storage method, a sitting posture data display method, an intelligent seat cushion and a sitting posture data display system.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
according to an aspect of the present invention, there is provided a method for storing sitting posture data, the method being applied to a smart seat cushion, the smart seat cushion including a memory including a storage pool pre-partitioned to store sitting posture data for preset storage days, the storage pool including a plurality of subspaces, each of the subspaces being used for storing sitting posture data for a certain date, the subspaces including a first data area for storing sitting posture data for preset time points of each day, the method including:
processing the currently acquired sitting posture state data according to a preset processing rule to obtain current sitting posture data, wherein the preset processing rule is determined based on the storage capacity and the acquisition frequency of the subspace;
acquiring current time information corresponding to current sitting posture data, wherein the current time information comprises current date information and current time point information;
traversing in the storage pool according to the current date information to find a subspace meeting a writing condition;
and writing the current sitting posture data into a first data area of the subspace meeting the writing condition according to the current time point information.
Optionally, the subspace further includes a tag region for storing date information, and the traversing in the storage pool according to the current date information to find the subspace satisfying the writing condition includes:
sequentially traversing from a first subspace in the storage pool, and taking the first subspace as a currently traversed subspace;
acquiring date information stored in a mark area by the currently traversed subspace;
judging whether the date information stored in the mark area by the currently traversed subspace is empty, if so, judging whether the currently traversed subspace meets the writing condition, returning the head address of the currently traversed subspace, if not, judging whether the current date information is the same as the date information stored in the mark area by the currently traversed subspace, if so, judging whether the currently traversed subspace meets the writing condition, returning the head address of the currently traversed subspace, if not, judging whether the date information stored in the mark area by the currently traversed subspace is less than the date information stored in the mark area by the last traversed subspace, if so, judging that the currently traversed subspace meets the writing condition, returning the head address of the currently traversed subspace, and if not, and judging whether the traversal of each subspace in the storage pool is finished, if so, the first subspace in the storage pool is the subspace meeting the writing condition, returning the head address of the first subspace in the storage pool, if not, acquiring the next subspace in the storage pool as the currently traversed subspace, and turning to the step of acquiring the date information of the currently traversed subspace stored in the mark area.
Optionally, before writing the current sitting posture data into the first data area of the subspace meeting the writing condition according to the current time point information, the method further includes:
when the date information stored in the mark area of the subspace meeting the writing condition is empty, writing the current date information into the mark area of the subspace meeting the writing condition;
and when the date information stored in the mark area of the subspace meeting the writing condition is not empty and is different from the current date information, erasing the data of the subspace meeting the writing condition, and writing the current date information into the mark area of the subspace meeting the writing condition.
Optionally, the current sitting posture data includes any one or more of a sitting posture state, a number of corrections, a number of left inclinations and a number of right inclinations corresponding to the current time data.
Optionally, the writing the current sitting posture data into the first data area of the subspace satisfying the writing condition according to the current time point information includes:
determining an offset address for writing the current sitting posture data into the subspace meeting the writing condition according to the current time point information contained in the current time information and the size of a storage space of each preset time point sitting posture data;
and writing the current sitting posture data into a corresponding position of a first data area of the subspace meeting the writing condition according to the first address of the subspace meeting the writing condition and the offset address.
Optionally, the subspace further comprises a second data region for storing statistical seating posture data, the method further comprising:
acquiring sitting posture data corresponding to a historical date from the storage pool, and counting all sitting posture information contained in the sitting posture data based on a preset sitting posture data counting category to obtain statistical sitting posture data of the historical date;
and writing the statistical sitting posture data of the historical date into a second data area of the subspace corresponding to the historical date.
Optionally, the mark area of each subspace is located at the start position of each subspace, the first data area is located after the mark area, and the second data area is located at the end position of each subspace.
According to another aspect of the present invention, there is provided a method for displaying sitting posture data, the method being applied to a smart seat cushion, the sitting posture data being stored in a memory of the smart seat cushion by using the method described in any one of the above, the method including:
receiving a sitting posture data acquisition request sent by electronic equipment, wherein the sitting posture data acquisition request carries a specified date;
searching the storage pool for a subspace corresponding to the specified date;
storing the data of all sitting postures in the first data area of the subspace to a cache;
and sending the data of all sitting postures in the cache to the electronic equipment, so that the electronic equipment draws a first chart according to the data of all sitting postures for displaying.
Optionally, each subspace in the memory of the smart seat cushion includes a second data area for storing statistical sitting posture data, and the method for displaying the sitting posture data further includes: receiving a statistical data acquisition request sent by electronic equipment, wherein the statistical data acquisition request carries a statistical start date and a statistical end date;
traversing from the counting start date to the counting end date according to days, and selecting a date as the current counting date;
searching a subspace corresponding to the current statistical date in the storage pool;
and judging whether a second data area of the subspace is empty or not, if so, counting the sitting posture data corresponding to the current counting date to obtain counting sitting posture data, writing the counting sitting posture data into the second data area of the subspace, and storing the counting sitting posture data into a cache.
If not, acquiring the statistical sitting posture data of the second data area of the subspace, and storing the statistical sitting posture data in a cache;
judging whether the current statistical date is the statistical end date, if not, turning to the step of traversing from the statistical start date to the statistical end date according to the day, and selecting one date as the current statistical date;
and sending each statistical sitting posture data in the cache to the electronic equipment, so that the electronic equipment draws a second chart according to each statistical sitting posture data for displaying.
According to another aspect of the present invention there is provided a smart seat cushion comprising a processor and a memory, the memory having stored therein a computer program which, when executed by the processor, carries out the method of any one of the above.
According to another aspect of the present invention, there is provided a sitting posture data display system, which comprises the intelligent seat cushion and an electronic device, wherein,
the electronic equipment is in communication connection with the intelligent cushion and is used for sending a sitting posture data acquisition request containing a specified date, or sending a statistical data acquisition request containing a specified date range to the intelligent cushion, receiving sitting posture data of each preset time point corresponding to the specified date sent by the intelligent cushion, drawing a first chart according to each sitting posture data for display, or receiving each statistical sitting posture data of the specified date range sent by the intelligent cushion, drawing a second chart according to each statistical sitting posture data for display;
the intelligent seat cushion is used for acquiring sitting posture data of each preset time point corresponding to the designated date according to the designated date in the sitting posture data acquisition request and sending the sitting posture data to the electronic equipment, or acquiring each statistical sitting posture data of the designated date range according to the designated date range in the statistical data acquisition request and sending the statistical sitting posture data to the electronic equipment.
According to another aspect of the invention, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, performs the method of any of the above.
The embodiment of the invention has the beneficial effects that: different from the prior art, in the embodiment of the invention, firstly, the memory of the intelligent cushion comprises storage pools which are divided in advance and used for storing sitting posture data of preset storage days, each storage pool comprises a plurality of subspaces, and each subspace is used for storing sitting posture data of a certain date; then, processing the currently acquired sitting posture state data according to a preset processing rule to obtain current sitting posture data; and finally, storing the current sitting posture data to a subspace meeting the writing condition according to the current time point information. By adopting the method, the intelligent cushion processes the collected sitting posture state data locally in the equipment to obtain the sitting posture data at each time point convenient to display, and then stores the sitting posture data at each time point into the corresponding subspace of the memory according to the date, so that the upper computer can obtain the sitting posture data at each time point corresponding to the date according to the date without depending on a server, and a chart is drawn according to the sitting posture data at each time point for displaying.
Drawings
FIG. 1 is a schematic diagram of a sitting posture data presentation system of the prior art;
fig. 2 is a schematic diagram of a hardware structure of an intelligent seat cushion provided in the embodiment of the present invention;
FIG. 3 is a flowchart of a sitting posture data storage method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a storage pool provided by an embodiment of the present invention;
FIG. 5 is a flowchart of a method for determining a subspace in a storage pool which satisfies a write condition according to current date information according to an embodiment of the present invention;
FIG. 6 is a flowchart of a method for writing sitting posture data into a subspace according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of the internal data of a subspace provided by the embodiment of the present invention;
FIG. 8 is a flowchart of a method for displaying sitting posture data according to an embodiment of the present invention;
FIG. 9 is a flow chart of another sitting posture data displaying method provided by the embodiment of the invention
Fig. 10 is a system for displaying sitting posture data according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Fig. 2 is a schematic diagram of a hardware structure of an intelligent seat cushion according to an embodiment of the present invention. The intelligent seat cushion 20 comprises a pressure sensor 21, a vibration device 22, a correction device 23, a communication unit 24, a timing unit 25 and a micro control unit 26, wherein the micro control unit 26 is respectively connected with the pressure sensor 21, the vibration device 22, the correction device 23, the communication unit 24 and the timing unit 25.
The pressure sensor 21 is used for detecting the sitting posture data of the user in real time and sending the sitting posture data to the micro control unit 26. The sitting posture data comprises four states of left inclination, right inclination, sitting and cushion separation, and the output frequency is different according to different pressure sensors, and is generally 1 second. In some embodiments, the micro-control unit 26 is self-contained with a pressure sensor.
And the vibration device 22 is used for generating vibration according to the control of the micro control unit 26 when the pressure sensor 21 detects that the user has a sitting posture abnormity (left inclination or right inclination), and reminding the user to correct the sitting posture. Specifically, the vibration device 22 may include a left vibrator and a right vibrator, and the vibrators (vibration motors) are separate components and are located inside the cushion foam. When the pressure sensor 21 detects that the user leans to the left, the micro control unit 26 controls the vibrator on the left of the vibration device 22 to vibrate; when the pressure sensor 21 detects that the user leans to the right, the micro control unit 26 controls the vibrator on the right of the vibration device 22 to vibrate.
The correcting device 23 is configured to generate a correcting action according to the control of the micro control unit 26 when the micro control unit 26 detects that the user has an abnormal sitting posture (a left-leaning posture or a right-leaning posture) and the accumulated abnormal posture reaches a preset threshold time, so as to assist the user in correcting the sitting posture. Specifically, the orthotic device 23 may be a balloon, and in some embodiments, the orthotic device 23 includes 4 independently controllable balloons that are individually inflatable and deflatable by an air pump. When the micro-control unit 26 detects that the user leans to the left, the micro-control unit 26 controls the inflation of the left air bag or the deflation of the right air bag; when the micro-control unit 26 detects that the user is leaning right, the micro-control unit 26 controls the inflation of the right side airbag or the deflation of the left side airbag.
And the communication unit 24 is used for carrying out communication connection with the upper computer, acquiring instructions from the upper computer and sending the sitting posture data corresponding to the instructions to the upper computer. The wireless communication device can be of any type, and is realized by adopting a wired communication technology or a wireless communication technology, wherein the wired communication technology comprises Ethernet, Universal Serial Bus (USB) and the like; wireless communication technologies include bluetooth, WiFi, mobile communications (2G, 3G, 4G, 5G, etc.), Near Field Communications (NFC), Radio Frequency Identification (RFID), and the like. In some embodiments, the communication unit 24 is implemented using bluetooth communication technology.
And the timing unit 25 is used for timing when the communication unit 24 and the upper computer are in an off-line state, and providing time information to the micro control unit 26.
The micro control unit 26 is used for acquiring sitting posture data from the pressure sensor 21, detecting the sitting posture data, and controlling the vibration device 22 to vibrate when the abnormal sitting posture of the user is detected; when the user sitting posture abnormity is detected to reach the preset threshold time, the correcting device 23 is controlled to generate correcting action, an instruction is obtained from the communication unit 24, the sitting posture data is obtained according to the instruction, the communication unit 24 is controlled to send the sitting posture data to the upper computer, and when the communication unit 24 and the upper computer are in an off-line state, the time information is obtained from the timing unit 23. Specifically, the micro control unit 26 includes a controller, an internal Flash and an SRAM (Static Random-Access Memory). The internal Flash is used for storing computer programs and sitting posture data.
As shown in fig. 3, a flow chart of a sitting posture data storage method provided for an embodiment of the present invention is applied to an intelligent seat cushion, the intelligent seat cushion includes a memory, the memory includes a pre-partitioned storage pool for storing sitting posture data of preset storage days, the storage pool includes a plurality of subspaces, each subspace is used for storing sitting posture data of a certain date, and the subspaces include a first data area for storing sitting posture data of preset time points each day. In some embodiments, the smart cushion is the smart cushion shown in fig. 2. The method comprises the following steps:
step S301, processing the currently collected sitting posture state data according to a preset processing rule to obtain current sitting posture data.
The preset processing rule is determined based on the storage capacity and the acquisition frequency of the subspace.
On the one hand, the collection frequency of the algorithm built in the MCU is 1 second/time, and if sitting posture data are directly stored in the memory of the intelligent cushion according to the collection frequency, when the collection frequency is high, the capacity requirement on the memory is increased. Therefore, the collected sitting posture data needs to be processed before being stored. On the other hand, the position of sitting data that intelligence cushion was gathered is the position of sitting state data that the sampling time point corresponds, includes: no operation, no person, air pump working, left leaning, right leaning and sitting. If the sitting posture data are directly stored in the memory, the upper computer cannot directly draw a chart through the sitting posture data. Through analysis, the sitting posture data required to be displayed by the upper computer can comprise any one or combination of a sitting posture state, a correction frequency, a left leaning frequency and a right leaning frequency, and therefore the processed current sitting posture data comprises any one or combination of a sitting posture state, a correction frequency, a left leaning frequency and a right leaning frequency.
In some embodiments, the memory is an internal Flash of the MCU of the smart seat. The storage capacity of the internal Flash is typically small, for example 1M. The storage capacity of each subspace is an integral multiple of a Sector, and the Sector is the minimum erasing unit of the internal Flash.
Generally, the address and length of the MCU write data must be aligned to 4 bytes, assuming that the storage size of the sitting posture data is 4 bytes, if the storage period of the preset sitting posture data is 1 minute, the storage space required for storing 24 hours of sitting posture data a day is 24 × 60 × 4 — 5760 bytes — 5.625 KB; if the preset sitting posture data storage period is 1 second, the storage space required for storing the sitting posture data for 24 hours a day is 5.625 × 60 — 337.5 KB. The sub-space is used for storing sitting posture data of one day, so that the storage capacity of the sub-space is at least 337.5KB when the sitting posture data is stored every second, and the storage capacity of the sub-space is at least 5.625KB when the sitting posture data is stored every minute. When the size of a Sector is 8KB, it is necessary to allocate at least 1 Sector to each subspace if it is stored in minutes, and at least 43 sectors to each subspace if it is stored in seconds. The storage capacity of the sub-space can be set by a person skilled in the art according to the size of the memory of the intelligent seat cushion and the display requirement of the sitting posture data.
The storage capacity of the storage pool is determined by the storage capacity of the sub-space and the preset number of storage days. In some embodiments, each subspace in the storage pool corresponds to a contiguous storage space of the internal Flash. FIG. 4 is a schematic diagram of a storage pool, according to an embodiment of the present invention. The storage pool contains 15 contiguous subspaces, and the 15 subspaces can store 15 days of sitting posture data circularly according to the date sequence.
The following description will be given by way of example of how the currently collected sitting posture data is processed into the current sitting posture data. Assuming that the preset sitting posture data storage period is 1 minute and the collection frequency is 60 times/minute, the MCU integrates 60 sitting posture state data in 1 minute into 1 sitting posture data as the current sitting posture data. The integration rule of each item of data in the current sitting posture data is as follows:
1) a sitting posture state: if the accumulated running time of the intelligent cushion is less than 30s within the minute, the sitting posture state of the minute is not running; if the accumulated time of the unmanned state exceeds 30s in the minute, the sitting posture state of the minute is unmanned; if the accumulated working time of the air pump exceeds 30s within the minute, the sitting posture state of the minute is that the air pump works; if the three conditions are not met, the cumulative seconds of the left inclination, the right sitting and the right inclination are compared, and the state with the largest cumulative seconds is selected as the sitting posture state of the minute.
2) The correction times are as follows: the air pump works once, and the correction times are increased by one.
3) Number of left inclinations: cumulative seconds left tipped.
4) The number of right inclinations: cumulative seconds of right dip.
5) Number of sitting times: cumulative seconds of sitting.
Step S302, current time information corresponding to the current sitting posture data is obtained, and the current time information comprises current date information and current time point information.
The current time point information is time information with a preset sitting posture data storage period as an interval. For example, the preset sitting posture data storage period is 1 minute, and the current time point information is 07: 31, the next time point information is 07: 32, a first step of removing the first layer; for example, the preset sitting posture data storage period is 5 minutes, and the current time point information is 07: 35, the next time point information is 07: 40.
step S303, traversing in the storage pool according to the current date information, and finding out a subspace meeting the writing condition.
The writing condition can be set according to actual requirements.
In some embodiments, the subspace further includes a flag region for storing date information, the date information stored in the flag region of the subspace satisfying the writing condition is the same as the current date information, or the date information stored in the flag region of the subspace satisfying the writing condition is null, or the date information stored in the flag region of the subspace satisfying the writing condition is an earliest historical date, and the earliest historical date is a date determined according to the current date information and the preset number of storage days. For example, if the preset storage days are 15 days, the current date is 5 months and 16 days, and the historical earliest date is 5 months and 1 day.
In some embodiments, to facilitate inserting and erasing sitting posture data in the storage, the sitting posture data is circularly stored in the storage pool according to a date sequence, and the subspace meeting the writing condition is a subspace in which the current sitting posture data can be inserted into the storage pool according to the date sequence.
In some embodiments, the sitting posture data of each date is randomly stored in the storage pool, and the mapping relation between the head address and the date of each subspace is stored, wherein the subspace meeting the writing condition is the same as the current date information, or any free subspace or the subspace corresponding to the longest date.
And step S304, writing the current sitting posture data into a first data area of the subspace meeting the writing condition according to the current time point information.
In some embodiments, determining, according to the current time point information and the size of the storage space of the sitting posture data at each preset time point, an offset address for writing the current sitting posture data into the subspace meeting the writing condition;
and writing the current sitting posture data into a corresponding position of a first data area of the subspace meeting the writing condition according to the first address of the subspace meeting the writing condition and the offset address.
Firstly, a storage of an intelligent cushion comprises storage pools which are divided in advance and used for storing sitting posture data of preset storage days, each storage pool comprises a plurality of subspaces, and each subspace is used for storing sitting posture data of a certain date; then, processing the currently acquired sitting posture state data according to a preset processing rule to obtain current sitting posture data; and finally, storing the current sitting posture data to a subspace meeting the writing condition according to the current time point information. By adopting the method, the intelligent cushion processes the collected sitting posture state data locally in the equipment to obtain the sitting posture data at each time point convenient to display, and then stores the sitting posture data at each time point into the corresponding subspace of the memory according to the date, so that the upper computer can obtain the sitting posture data at each time point corresponding to the date according to the date without depending on a server, and a chart is drawn according to the sitting posture data at each time point for displaying.
Specifically, as shown in fig. 5, a flowchart of a method for determining a subspace in a storage pool satisfying a writing condition according to current date information is provided according to an embodiment of the present invention. It should be noted that, in the embodiment of the present invention, the subspace further includes a tag region for storing date information, and the method includes:
step S501, traversing in the storage pool in sequence from the first subspace, and taking the first subspace as the currently traversed subspace.
Step S502, acquiring date information stored in the mark area by the currently traversed subspace.
In step S503, it is determined whether the date information is empty, if so, the process proceeds to step S510, and if not, the process proceeds to step S504.
The date information stored in the mark area of the currently traversed subspace is null, which indicates that the subspace is a free subspace. And under the condition that none of the previously traversed subspaces meets the writing condition, the first free subspace traversed in sequence is the subspace meeting the writing condition.
In step S504, it is determined whether the date information is the same as the current date information, if so, the process proceeds to step S510, and if not, the process proceeds to step S505.
The date information stored in the mark area by the currently traversed subspace is the same as the current date information, which indicates that the current subspace is the subspace meeting the writing condition, and the current subspace is written with partial sitting posture data of the current date, and the new sitting posture data is also written into the current subspace.
In step S505, the date information is saved.
This date information is saved for comparison with the date information of the next selected subspace in step S506.
Step S506, determining whether the date information is less than the date information of the previous subspace, if yes, proceeding to step S510, and if no, proceeding to step S507.
The date information stored in the mark area by the currently traversed subspace is less than the date information stored in the mark area by the last traversed subspace, which indicates that the subspaces in the whole storage pool are full at the moment, and the data of the subspace with the longest date needs to be erased to store the sitting posture data of the current date. When the data are circularly stored according to the date sequence, the previous subspace of the subspace with the longest date in the storage pool is the subspace with the newest date, namely the currently traversed subspace, which meets the condition that the date information stored in the mark area by the currently traversed subspace is smaller than the date information stored in the mark area by the last traversed subspace, is the subspace meeting the writing condition, and the date information stored in the mark area by other adjacent subspaces, which meets the condition that the next subspace is larger than the date information stored in the mark area by the previous subspace.
It should be noted that, if the current subspace is the first subspace in the storage pool, the date information stored in the mark region by the previous subspace is an initialization value, for example, 0xFF, it is determined that the date information stored in the mark region by the currently traversed subspace is not less than the date information stored in the mark region by the previous traversed subspace, and the process proceeds to step S507.
Step S507, determining whether each subspace in the storage pool has been traversed, if yes, proceeding to step S508, and if not, proceeding to step S509.
Step S508, the first address of the first subspace is returned.
In step S509, the next subspace is obtained from the storage pool as the currently traversed subspace, and the process proceeds to step S502.
And step S510, returning the first address of the currently traversed subspace.
In this embodiment, the sitting posture data is circularly stored in each subspace of the storage pool according to the date sequence, so that the searching speed of the subspace can be increased, and the storage efficiency and the reading efficiency of the sitting posture data can be improved.
As shown in fig. 6, a flowchart of a method for writing sitting posture data into a subspace according to an embodiment of the present invention is provided, where the method includes:
in step S601, it is determined whether the date information stored in the mark area in the subspace satisfying the writing condition is empty, if yes, the process proceeds to step S604, and if not, the process proceeds to step S602.
In step S602, it is determined whether the date information stored in the mark area in the subspace satisfying the writing condition is the same as the current date information, if yes, the process proceeds to step S605, and if not, the process proceeds to step S603.
In step S603, the data of the subspace satisfying the writing condition is erased.
In step S604, the current date information is written in the mark area of the subspace satisfying the writing condition.
Step S605, determining, according to the current time point information included in the current time information and the size of the storage space of the sitting posture data at each preset time point, an offset address at which the current sitting posture data is written into the subspace satisfying the writing condition.
And step S606, writing the current sitting posture data into the corresponding position of the first data area of the subspace meeting the writing condition according to the first address of the subspace meeting the writing condition and the offset address.
Specifically, assuming that the mark area is located at the first address of the subspace and has a size of 4 bytes, the first data area is located at the next address of the mark area, the size of the storage space of each sitting posture data is also 4 bytes, and the preset sitting posture data storage period of the MCU is 1 minute, then the offset address of the current sitting posture data in the subspace satisfying the writing condition is 4 ═ 4 (the number of minutes corresponding to the current time point information + 1). For example, the current time data is 20 at 5 months, 16 days, 2021: 31, current time point information 20: 31, the offset address corresponding to the time point is: 4 (20 × 60+31+1) ═ 4928. If the first address of the subspace meeting the writing condition is X, the address written by the current sitting posture data is X + 4928.
Step S607, obtaining each sitting posture data corresponding to a historical date from the storage pool, and performing statistics on each item of sitting posture information included in each sitting posture data based on a preset sitting posture data statistics category to obtain statistical sitting posture data of the historical date.
The preset sitting posture data statistics category is one or more combinations of accumulated sitting posture state, accumulated left-leaning duration, accumulated right-leaning duration and accumulated correction duration.
The historical date is a date before the current date. Specifically, the intelligent cushion can periodically count the sitting posture data of each subspace in the storage pool. For example, at 0 o' clock every day, the sitting posture data of the previous day is counted.
Step S608, writing the statistical sitting posture data of the historical date into the second data area of the subspace corresponding to the historical date.
In this embodiment, the daily sitting posture data at each time point and the daily statistical sitting posture data are stored in the corresponding positions of the same subspace, so that the upper computer can conveniently obtain the corresponding sitting posture data according to the date, and draw a corresponding chart according to the corresponding sitting posture data for display.
Fig. 7 is a schematic diagram of internal data of a subspace according to an embodiment of the present invention. As can be seen from fig. 7, a subspace may consist of four parts: (1) a marking area: the data storage module is used for storing date information corresponding to each subspace; (2) the first data area: for storing sitting posture data for each preset time point. If the preset sitting posture data storage period is 1 minute, the total time is 5.625 KB. (3) An unused area; (4) a second data area: statistical seating posture data for storing the date information. The data contents of the first data area and the second data area in fig. 7 are specifically described below, respectively.
In some embodiments, the mark region of each subspace is located at the start position of each subspace, the first data region of each subspace is located after the mark region of that subspace, and the second data region is located at the end position of each subspace. Specifically, the first 4 bytes of each subspace can be used as a mark area of each subspace, and date information can be stored. For example, the date is 2021, 4 months and 20 days, the data stored in the tag area is 0x14, 0x15, 0x04 and 0x14 (hexadecimal).
In fig. 7, the preset sitting posture data storage period of the smart cushion is 1 minute, the current sitting posture data includes the sitting posture state of the minute, the number of corrections in the minute, the number of left inclinations in the minute, and the number of right inclinations in the minute, and the data content and storage mode are shown in table 1 below.
Figure BDA0003104561610000131
Figure BDA0003104561610000141
TABLE 1 data content and storage mode of each sitting posture data in the first data area
The sitting posture state of the minute comprises six states of no operation of the equipment, no person, left leaning, sitting, right leaning and air pump working, and the data content is shown in the following table 2.
Sitting posture at that time Value of
The apparatus is not in operation 0xFF
Nobody 0xF1
Left leaning 0xF2
Positive seat 0xF3
Right inclination 0xF4
Operation of air pump 0xF5
TABLE 2 corresponding values for different sitting postures
The existing sitting posture data display system mainly displays three types of charts: daily sitting posture change curve, daily sitting posture switching times statistics and daily sitting posture time statistics.
Daily sitting posture change curve: statistics are generally performed in units of minutes, and the statistical sitting posture data corresponds to six states: the equipment does not work, no person, left-leaning, right-leaning, sitting and the air pump works. Therefore, the intelligent cushion needs to store the sitting posture change data of 24 hours per day, so that the upper computer can draw a sitting posture change curve of a whole day according to the data.
Counting the number of times of sitting posture switching every day: left-leaning times, right-leaning times and rectification times per day. The left-leaning times are defined as the sitting posture of the current time is changed from the last sitting posture, and the left-leaning times are increased by one if the sitting posture of the current time is left-leaning. The same applies to the statistical rule of the right-leaning times. The correction times are defined as the air pump works, and the correction times are increased by one.
Counting the daily sitting posture time: statistics are generally performed in minutes, and the total length of time the user is on the mat (including left-leaning, right-leaning, and sitting), left-leaning length, and right-leaning length are counted each day.
Wherein, the daily sitting posture change curve can be obtained by the sitting posture data stored in the first data area. In order to obtain the daily sitting posture switching frequency statistics and the daily sitting posture time statistics, the intelligent seat cushion performs statistics on each sitting posture data stored in the first data area to obtain the statistical sitting posture data of each historical date, wherein the statistical sitting posture data of the historical dates comprise any one or more combinations of the accumulated on-cushion time length, the accumulated left-leaning time length, the accumulated right-leaning time length and the accumulated correction time length corresponding to the historical dates.
In fig. 7, the statistical sitting posture data of the second data area includes 24 bytes, and the specific data content and storage manner thereof are shown in table 3 below.
Data length Data name Unit of
4byte Accumulated time on pad Minute (min)
4byte Accumulated left-inclined time Minute (min)
4byte Accumulated length of right dip Minute (min)
4byte Cumulative number of left inclines Number of times
4byte Cumulative right dip times Number of times
4byte Accumulated correction times Number of times
TABLE 3 data content and storage mode of statistical sitting posture data in the second data area
The statistical method for accumulating the duration of the on-pad time comprises the following steps: and traversing the data of each sitting posture at an interval of 4 bytes in the first data area, adding 1 minute to the duration of the sitting posture data when the sitting posture state of the sitting posture data in the minute is not 0xFF (not started) or 0XF1 (unmanned), and obtaining the accumulated duration of the sitting posture data in the day after the traversal is completed. In the same way, the accumulated left-leaning duration and the accumulated right-leaning duration of the day can be obtained. The statistical method for accumulating the left inclination times comprises the following steps: and accumulating the left leaning times per minute corresponding to each sitting posture data in the first data area to obtain the accumulated left leaning times of the day. In the same way, the accumulated right inclination times and the accumulated correction times of the day can be obtained.
As shown in fig. 8, which is a flowchart of a method for displaying sitting posture data according to an embodiment of the present invention, the method is applied to an intelligent seat cushion, and the intelligent seat cushion may be the intelligent seat cushion shown in fig. 2, and the method includes:
step S801, receiving a sitting posture data obtaining request sent by an electronic device, where the sitting posture data obtaining request carries a specified date.
Specifically, an electronic device (such as a mobile phone, a tablet and the like) in communication connection with the smart seat pad initiates a sitting posture data acquisition request with a specified date to the smart seat pad through the App.
At step S802, a subspace corresponding to the specified date is looked up in the storage pool.
Step S803, storing the data of each sitting posture in the first data area of the subspace in the cache.
Step S804, sending the data of each sitting posture in the cache to the electronic device, so that the electronic device draws the first chart according to the data of each sitting posture for displaying.
In this embodiment, the intelligent cushion acquires the sitting posture data of each preset time point on the appointed date according to the appointed date sent by the electronic device and sends the sitting posture data to the electronic device, so that the electronic device does not need to rely on a server, and a daily sitting posture change curve of the appointed date is drawn according to the sitting posture data of each preset time point for displaying.
As shown in fig. 10, which is a flowchart of another sitting posture data displaying method provided in an embodiment of the present invention, the method is applied to an intelligent seat cushion, which may be the intelligent seat cushion shown in fig. 2, and the method includes:
step S901, receiving a statistical data acquisition request sent by an electronic device, where the statistical data acquisition request carries a statistical start date and a statistical end date.
Specifically, an electronic device (such as a mobile phone, a tablet and the like) in communication connection with the smart seat pad initiates a statistical data acquisition request of a specified date or a specified date range to the smart seat pad through an App, wherein the statistical data acquisition request carries a statistical start date and a statistical end date.
Step S902, traversing from the start date of statistics to the end date of statistics by day, and selecting a date from the start date of statistics as the current statistics date.
In step S903, a subspace corresponding to the current statistics date is searched for in the storage pool.
In some embodiments, before step S803, the method further includes: and judging whether the current statistical date is the historical date, if so, entering the step S803, and if not, entering the step S802. If the current statistical date is the current date or the date after the current date, the current statistical date is not considered.
Step S904, determining whether the second data area of the subspace is empty, if yes, proceeding to step S806, otherwise, proceeding to step S805.
Step S905, the statistical sitting posture data of the second data area of the subspace is obtained and stored in a cache.
And step S906, counting the sitting posture data corresponding to the current counting date to obtain counting sitting posture data, writing the counting sitting posture data into a second data area of the subspace, and storing the counting sitting posture data into a cache.
Specifically, if the second data area in the subspace corresponding to the current statistical date is empty, which indicates that the sitting posture data corresponding to the current statistical date is not counted yet, the statistical sitting posture data is written into the second data area of the subspace after the statistics is completed by the method, and the statistical sitting posture data is stored in the cache.
In step S907, it is determined whether the current statistics date is the statistics end date, if not, the process proceeds to step S902, and if so, the process proceeds to step S908.
Step S908 is to send each statistical sitting posture data in the cache to the electronic device, so that the electronic device draws a second chart according to each statistical sitting posture data for displaying. In some embodiments, the electronic device plots a daily sitting posture switching number statistical chart and a daily sitting posture time statistical chart for presentation according to the statistical sitting posture data of the specified date range.
In this embodiment, the intelligent cushion acquires the statistical sitting posture data corresponding to each date in the specified date range according to the specified date range sent by the electronic device and sends the statistical sitting posture data to the electronic device, so that the electronic device does not need to rely on a server and draws a statistical chart according to the statistical sitting posture data corresponding to each date in the specified date range for display.
According to an embodiment of the present invention, an intelligent seat cushion is provided, where the intelligent seat cushion includes a processor and a memory, and the memory stores a computer program, and the computer program, when executed by the processor, implements a method for storing sitting posture data or a method for displaying sitting posture data according to any one of the embodiments of the present invention. In some embodiments, the processor and the memory may be integrated into one unit, for example, including an MCU, and the MCU may be provided with a memory, for example, an internal Flash.
It is understood that the smart seat cushion may further include a pressure sensor, a vibration device, an orthotic device, a communication unit, a timing unit, etc., as shown in fig. 2.
The intelligent cushion provided by the invention has the technical characteristics and beneficial effects corresponding to the embodiment of the method. The intelligent cushion processes the collected sitting posture state data locally in the equipment to obtain the sitting posture data at each time point convenient to display, and stores the sitting posture data at each time point into the corresponding space of the storage according to the date, so that an upper computer does not need to rely on a server, obtains the sitting posture data required by display from the intelligent equipment according to the appointed date or the appointed date range, and draws different charts according to the corresponding sitting posture data for display.
As shown in fig. 10, the system for displaying sitting posture data provided by the embodiment of the present invention includes a smart seat cushion 10 and an electronic device 20, wherein,
the electronic device 20 is in communication connection with the intelligent seat cushion 10 and is configured to send a sitting posture data acquisition request including a specified date, or send a statistical data acquisition request including a specified date range to the intelligent seat cushion 10, receive sitting posture data of each preset time point corresponding to the specified date sent by the intelligent seat cushion 10, and draw a first chart according to each sitting posture data for display, or receive each statistical sitting posture data of the specified date range sent by the intelligent seat cushion 10, and draw a second chart according to each statistical sitting posture data for display;
the intelligent seat cushion 10 is configured to acquire sitting posture data of each preset time point corresponding to the designated date according to the designated date in the sitting posture data acquisition request and send the sitting posture data to the electronic device 20, or acquire each statistical sitting posture data of the designated date range according to the designated date range in the statistical data acquisition request and send the statistical sitting posture data to the electronic device 20.
It is understood that the hardware structure of the intelligent seat cushion 10 can refer to the description of fig. 2, and in addition, in the embodiment of the present invention, the intelligent seat cushion can perform any one of the steps of the storage method of the sitting posture data and the displaying method of the sitting posture data, and please refer to the foregoing description where not described in detail in this embodiment.
According to the sitting posture data display system provided by the invention, the intelligent cushion processes the collected sitting posture state data locally on the equipment to obtain the sitting posture data at each time point convenient to display, and stores the sitting posture data at each time point into each subspace of the storage according to the date, the electronic equipment can acquire the sitting posture data required by display from the intelligent equipment according to the appointed date or the appointed date range without depending on a server, and different charts are drawn according to the corresponding sitting posture data for display.
According to an embodiment of the invention, a computer-readable storage medium is provided, which stores a computer program which, when executed by a processor, performs the method steps of any of the embodiments of the invention.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the technical solutions mentioned above may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the method according to each embodiment or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A method for storing sitting posture data, the method being applied to a smart seat cushion, wherein the smart seat cushion comprises a memory, the memory comprises a pre-divided storage pool for storing sitting posture data of preset storage days, the storage pool comprises a plurality of subspaces, each subspace is used for storing sitting posture data of a certain date, the subspaces comprise a first data area for storing sitting posture data of preset time points of each day, and the method comprises the following steps:
processing the currently acquired sitting posture state data according to a preset processing rule to obtain current sitting posture data, wherein the preset processing rule is determined based on the storage capacity and the acquisition frequency of the subspace;
acquiring current time information corresponding to current sitting posture data, wherein the current time information comprises current date information and current time point information;
traversing in the storage pool according to the current date information to find a subspace meeting a writing condition;
and writing the current sitting posture data into a first data area of the subspace meeting the writing condition according to the current time point information.
2. The method of claim 1, wherein the subspace further comprises a marker field for storing date information;
traversing in the storage pool according to the current date information to find a subspace meeting a writing condition, including:
sequentially traversing from a first subspace in the storage pool, and taking the first subspace as a currently traversed subspace;
acquiring date information stored in a mark area by the currently traversed subspace;
judging whether the date information stored in the mark area by the currently traversed subspace is empty, if so, judging whether the currently traversed subspace meets the writing condition, returning the head address of the currently traversed subspace, if not, judging whether the current date information is the same as the date information stored in the mark area by the currently traversed subspace, if so, judging whether the currently traversed subspace meets the writing condition, returning the head address of the currently traversed subspace, if not, judging whether the date information stored in the mark area by the currently traversed subspace is less than the date information stored in the mark area by the last traversed subspace, if so, judging that the currently traversed subspace meets the writing condition, returning the head address of the currently traversed subspace, and if not, and judging whether the traversal of each subspace in the storage pool is finished, if so, the first subspace in the storage pool is the subspace meeting the writing condition, returning the head address of the first subspace in the storage pool, if not, acquiring the next subspace in the storage pool as the currently traversed subspace, and turning to the step of acquiring the date information of the currently traversed subspace stored in the mark area.
3. The method according to claim 2, wherein the writing the current sitting posture data to the first data area of the subspace satisfying the writing condition according to the current time point information further comprises:
when the date information stored in the mark area of the subspace meeting the writing condition is empty, writing the current date information into the mark area of the subspace meeting the writing condition;
and when the date information stored in the mark area of the subspace meeting the writing condition is not empty and is different from the current date information, erasing the data of the subspace meeting the writing condition, and writing the current date information into the mark area of the subspace meeting the writing condition.
4. The method according to any one of claims 1 to 3, wherein the writing the current sitting posture data to the first data area of the subspace satisfying the writing condition according to the current time point information comprises:
determining to write the current sitting posture data into the offset address of the subspace meeting the writing condition according to the current time point information and the size of the storage space of the sitting posture data at each preset time point;
and writing the current sitting posture data into a corresponding position of a first data area of the subspace meeting the writing condition according to the first address of the subspace meeting the writing condition and the offset address.
5. A method according to any of claims 1 to 3, wherein the subspace further comprises a second data field for storing statistical sitting posture data, the method further comprising:
acquiring sitting posture data corresponding to a historical date from the storage pool, and counting all sitting posture information contained in the sitting posture data based on a preset sitting posture data counting category to obtain statistical sitting posture data of the historical date;
and writing the statistical sitting posture data of the historical date into a second data area of the subspace corresponding to the historical date.
6. A method for displaying sitting posture data, wherein the method is applied to a smart seat cushion, and the sitting posture data is stored in a memory of the smart seat cushion by using the method of any one of claims 1 to 5, and the method comprises the following steps:
receiving a sitting posture data acquisition request sent by electronic equipment, wherein the sitting posture data acquisition request carries a specified date;
searching the storage pool for a subspace corresponding to the specified date;
storing the data of all sitting postures in the first data area of the subspace to a cache;
and sending the data of all sitting postures in the cache to the electronic equipment, so that the electronic equipment draws a first chart according to the data of all sitting postures for displaying.
7. The method of claim 6, wherein each subspace in the memory of the smart seat cushion includes a second data field for storing statistical seating posture data, the method further comprising:
receiving a statistical data acquisition request sent by electronic equipment, wherein the statistical data acquisition request carries a statistical start date and a statistical end date;
traversing from the counting start date to the counting end date according to days, and selecting a date as the current counting date;
searching a subspace corresponding to the current statistical date in the storage pool;
judging whether a second data area of the subspace is empty or not, if so, counting all sitting posture data corresponding to the current counting date to obtain counting sitting posture data, writing the counting sitting posture data into the second data area of the subspace, and storing the counting sitting posture data into a cache;
if not, acquiring the statistical sitting posture data of the second data area of the subspace, and storing the statistical sitting posture data in a cache;
judging whether the current statistical date is the statistical end date, if not, turning to the step of traversing from the statistical start date to the statistical end date according to the day, and selecting one date as the current statistical date;
and sending each statistical sitting posture data in the cache to the electronic equipment, so that the electronic equipment draws a second chart according to each statistical sitting posture data for displaying.
8. A smart seat cushion comprising a processor and a memory, the memory having stored thereon a computer program that, when executed by the processor, carries out the method of any one of claims 1-7.
9. A system for displaying sitting posture data, comprising the intelligent seat cushion and an electronic device as claimed in claim 8, wherein,
the electronic equipment is in communication connection with the intelligent cushion and is used for sending a sitting posture data acquisition request containing a specified date, or sending a statistical data acquisition request containing a specified date range to the intelligent cushion, receiving sitting posture data of each preset time point corresponding to the specified date sent by the intelligent cushion, drawing a first chart according to each sitting posture data for display, or receiving each statistical sitting posture data of the specified date range sent by the intelligent cushion, drawing a second chart according to each statistical sitting posture data for display;
the intelligent seat cushion is used for acquiring sitting posture data of each preset time point corresponding to the designated date according to the designated date in the sitting posture data acquisition request and sending the sitting posture data to the electronic equipment, or acquiring each statistical sitting posture data of the designated date range according to the designated date range in the statistical data acquisition request and sending the statistical sitting posture data to the electronic equipment.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, performs the method according to any one of claims 1-7.
CN202110633282.9A 2021-06-07 2021-06-07 Sitting posture data storage method, sitting posture data display method, intelligent cushion and system Active CN113342272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110633282.9A CN113342272B (en) 2021-06-07 2021-06-07 Sitting posture data storage method, sitting posture data display method, intelligent cushion and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110633282.9A CN113342272B (en) 2021-06-07 2021-06-07 Sitting posture data storage method, sitting posture data display method, intelligent cushion and system

Publications (2)

Publication Number Publication Date
CN113342272A true CN113342272A (en) 2021-09-03
CN113342272B CN113342272B (en) 2023-02-10

Family

ID=77475044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110633282.9A Active CN113342272B (en) 2021-06-07 2021-06-07 Sitting posture data storage method, sitting posture data display method, intelligent cushion and system

Country Status (1)

Country Link
CN (1) CN113342272B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242212A1 (en) * 2002-08-08 2006-10-26 Andre Brinkmann Method and arrangement for randomly storing data
US20070079099A1 (en) * 2005-10-04 2007-04-05 Hitachi, Ltd. Data management method in storage pool and virtual volume in DKC
CN101080710A (en) * 2004-08-24 2007-11-28 塞门铁克操作公司 Image data storage device write time mapping
JP2009205307A (en) * 2008-02-26 2009-09-10 Nec Corp Data storage method and its device, duplicate data storage method, its device, and control program for those items
CN105260128A (en) * 2015-09-11 2016-01-20 华为技术有限公司 Method for writing data in storage device and storage device
US20180004440A1 (en) * 2016-06-30 2018-01-04 SK Hynix Inc. Memory system and operating method thereof
US20180232314A1 (en) * 2015-11-27 2018-08-16 Huawei Technologies Co.,Ltd. Method for storing data by storage device and storage device
CN108647278A (en) * 2018-05-03 2018-10-12 中北大学 A kind of file management method and system
CN108664578A (en) * 2018-05-03 2018-10-16 中北大学 A kind of file cycle storage method and system
CN110119249A (en) * 2019-04-04 2019-08-13 同盾控股有限公司 A kind of storage method and device of data
CN111857592A (en) * 2020-07-21 2020-10-30 星辰天合(北京)数据科技有限公司 Data storage method and device based on object storage system and electronic equipment
CN212569810U (en) * 2020-07-23 2021-02-19 合肥中科奔巴科技有限公司 Myopia prevention monitoring system based on vision

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242212A1 (en) * 2002-08-08 2006-10-26 Andre Brinkmann Method and arrangement for randomly storing data
CN101080710A (en) * 2004-08-24 2007-11-28 塞门铁克操作公司 Image data storage device write time mapping
US20070079099A1 (en) * 2005-10-04 2007-04-05 Hitachi, Ltd. Data management method in storage pool and virtual volume in DKC
JP2009205307A (en) * 2008-02-26 2009-09-10 Nec Corp Data storage method and its device, duplicate data storage method, its device, and control program for those items
CN105260128A (en) * 2015-09-11 2016-01-20 华为技术有限公司 Method for writing data in storage device and storage device
US20180232314A1 (en) * 2015-11-27 2018-08-16 Huawei Technologies Co.,Ltd. Method for storing data by storage device and storage device
US20180004440A1 (en) * 2016-06-30 2018-01-04 SK Hynix Inc. Memory system and operating method thereof
CN108647278A (en) * 2018-05-03 2018-10-12 中北大学 A kind of file management method and system
CN108664578A (en) * 2018-05-03 2018-10-16 中北大学 A kind of file cycle storage method and system
CN110119249A (en) * 2019-04-04 2019-08-13 同盾控股有限公司 A kind of storage method and device of data
CN111857592A (en) * 2020-07-21 2020-10-30 星辰天合(北京)数据科技有限公司 Data storage method and device based on object storage system and electronic equipment
CN212569810U (en) * 2020-07-23 2021-02-19 合肥中科奔巴科技有限公司 Myopia prevention monitoring system based on vision

Also Published As

Publication number Publication date
CN113342272B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
JP7108752B2 (en) How to Interact with Emotional State Estimation Requests and Reply Information
CN105472553B (en) Plants identification method based on mobile terminal
US11118927B2 (en) Computer-implemented method for recommending booths-to-visit
CN108388600B (en) Cosmetic recommendation method and related device
EP1666845A3 (en) Information updating device, information distributing device, information processing system, method thereof, program thereof and storage medium storing the program
CN103309226A (en) Smart watch assorted with smart glasses
US20160155151A1 (en) Advertisement system, and advertisement processing device
CN113342272B (en) Sitting posture data storage method, sitting posture data display method, intelligent cushion and system
CN111860484B (en) Region labeling method, device, equipment and storage medium
US9987560B2 (en) Information processing apparatus, information processing system, storage medium and information processing method for performing non-contact communication and executing a game application
CN111402617B (en) Site information determination method, device, terminal and storage medium
CN106639617A (en) Electronic worshipping system for cemetery
JP2023090773A (en) Information processing device, information system, information processing method, and program
CN112835504B (en) Thinking guide graph track processing method, thinking guide graph track processing device, computer equipment and storage medium
US20140194147A1 (en) Apparatus and method for reducing battery consumption of mobile terminal
CN112685998A (en) Automatic labeling method, device, equipment and readable storage medium
JP6247803B2 (en) ADVERTISEMENT DISTRIBUTION SYSTEM, ADVERTISEMENT DISTRIBUTION SERVER DEVICE AND METHOD, COMPUTER PROGRAM FOR DISTRIBUTING ADVERTISEMENT, AND RECORDING MEDIUM CONTAINING COMPUTER PROGRAM
CN114283453A (en) Method and device for acquiring information of wandering animal, storage medium and electronic equipment
US20200050258A1 (en) Vehicle and wearable device operation
KR102443016B1 (en) Apparatus and method for implementing advertising using augmented technology
CN103649986A (en) Ensuring variety in a feed
JP2009145406A5 (en)
CN113781658A (en) Method and device for processing 3D model data in streaming mode
CN113345110A (en) Special effect display method and device, electronic equipment and storage medium
CN106774916B (en) Virtual reality system and implementation method thereof

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