CN115278081B - Sleeping gesture reproduction method, system and storage medium - Google Patents

Sleeping gesture reproduction method, system and storage medium Download PDF

Info

Publication number
CN115278081B
CN115278081B CN202210903124.5A CN202210903124A CN115278081B CN 115278081 B CN115278081 B CN 115278081B CN 202210903124 A CN202210903124 A CN 202210903124A CN 115278081 B CN115278081 B CN 115278081B
Authority
CN
China
Prior art keywords
sleeping
mattress
target
user
unique mark
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
CN202210903124.5A
Other languages
Chinese (zh)
Other versions
CN115278081A (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 CN202210903124.5A priority Critical patent/CN115278081B/en
Publication of CN115278081A publication Critical patent/CN115278081A/en
Application granted granted Critical
Publication of CN115278081B publication Critical patent/CN115278081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1126Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb using a particular sensing technique
    • A61B5/1127Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb using a particular sensing technique using markers
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1126Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb using a particular sensing technique
    • A61B5/1128Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb using a particular sensing technique using image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • Medical Informatics (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Surgery (AREA)
  • Biomedical Technology (AREA)
  • Physiology (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Computer Hardware Design (AREA)
  • Radiology & Medical Imaging (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the application discloses a sleeping gesture reappearance method and related products, wherein the method comprises the following steps: the user equipment recognizes that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reports the target unique mark to the cloud; the cloud acquires each sleeping gesture of the target user on the mattress and the sleeping gesture acquisition time corresponding to each sleeping gesture, loads a pre-generated virtual person on a camera preview picture displayed by user equipment, and controls the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition time corresponding to each sleeping gesture so as to reproduce the sleeping gesture of the target user. The sleeping gesture of the user on the mattress can be reproduced, so that the user can learn what sleeping gesture causes the body to have the above-mentioned bad situation when the user wakes up to find the bad situation such as fatigue, pain or stiff neck and the like, and the sleeping gesture of the user on the mattress can be improved in a targeted manner.

Description

Sleeping gesture reproduction method, system and storage medium
Technical Field
The application relates to the technical field of augmented reality, in particular to a sleeping gesture reproduction method and a related product.
Background
The mattress is a necessary living article for every family, and a user spends about one third of the time in sleeping, if the sleeping posture of the user on the mattress is incorrect, the bad conditions such as physical fatigue, pain or stiff neck are easy to occur, and the physical health of the user is directly affected.
In practice, it is found that many times the user wakes up, even if he finds his body has trouble such as fatigue, pain or stiff neck, he cannot learn what sleeping posture causes his body to have trouble such as fatigue, pain or stiff neck, which is unfavorable for the user to purposefully improve his sleeping posture on the mattress.
Disclosure of Invention
The embodiment of the application discloses a sleeping gesture reproducing method and related products, which can reproduce the sleeping gesture of a user on a mattress, so that the user can learn what sleeping gesture causes the body to have the bad conditions when waking up to find the bad conditions such as fatigue, pain or stiff neck, and the like, thereby being beneficial to the targeted improvement of the sleeping gesture of the user on the mattress.
An embodiment of the present application in a first aspect discloses a method for reproducing a sleeping gesture, where the method includes:
the user equipment recognizes that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reports the target unique mark to the cloud;
The cloud end acquires all sleeping postures of a target user on the mattress and sleeping posture acquisition time corresponding to all sleeping postures, wherein the sleeping postures are associated with the target unique mark;
and the cloud loads the pre-generated virtual person to the camera preview picture displayed by the user equipment, and controls the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition time corresponding to each sleeping gesture so as to reproduce the sleeping gesture of the target user.
As an optional implementation manner, in the first aspect of the embodiment of the present application, before the user equipment recognizes that there is a target unique mark disposed on the upper surface of the mattress in the displayed camera preview screen, the method further includes:
the mattress periodically collects sleeping postures of the target user on the mattress so as to obtain all sleeping postures of the target user on the mattress;
the mattress reports each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target unique mark arranged on the upper surface of the mattress to the cloud;
and the cloud end correlates each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target unique mark.
As another optional implementation manner, in the first aspect of the embodiment of the present application, the upper surface of the mattress is divided into a plurality of areas, a unique mark is set on each area, and the unique marks set on any two areas are different, and the method further includes:
the mattress detects a certain target area selected by the target user from the plurality of areas, and takes a unique mark arranged on the certain target area as a target unique mark arranged on the upper surface of the mattress;
and the mattress detects whether the target user enters a sleep state on the mattress, and if so, the step of periodically collecting the sleeping positions of the target user on the mattress is executed to obtain each sleeping position of the target user on the mattress.
As a further optional implementation manner, in the first aspect of the embodiment of the present application, after the mattress reports, to the cloud end, each sleeping posture of the target user on the mattress, a sleeping posture collection time corresponding to each sleeping posture, and a target unique mark set on an upper surface of the mattress, the method further includes:
the cloud end judges whether the target unique mark is related to a plurality of sleeping postures of other users on the mattress or not and the sleeping posture collection time corresponding to the plurality of sleeping postures; and if not, executing the step of correlating each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target mark.
As yet another optional implementation manner, in the first aspect of the embodiment of the present application, after the cloud determines that the target unique mark has been associated with a plurality of sleeping positions of other users on the mattress and sleeping position acquisition times corresponding to the plurality of sleeping positions, the method further includes:
the cloud terminal deletes a plurality of sleeping postures of the other user on the mattress and sleeping posture collection time corresponding to the sleeping postures which are related to the target unique mark, and executes the step of relating each sleeping posture of the target user on the mattress, the sleeping posture collection time corresponding to each sleeping posture and the target mark.
In a second aspect, an embodiment of the present application discloses a sleeping posture reproducing system, the system includes:
user equipment, mattress and high in the clouds, wherein:
the user equipment is used for identifying that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reporting the target unique mark to the cloud;
the cloud end is used for acquiring each sleeping posture of a target user on the mattress and corresponding sleeping posture acquisition time of each sleeping posture, wherein the sleeping posture is associated with the target unique mark;
The cloud end is further configured to load a pre-generated virtual person onto the camera preview screen displayed by the user device, and control the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition times corresponding to each sleeping gesture, so as to reproduce the sleeping gesture of the target user.
As an alternative embodiment, in the second aspect of the embodiment of the present application:
the mattress is used for periodically collecting sleeping positions of the target user on the mattress before the user equipment recognizes that the target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, so as to obtain all sleeping positions of the target user on the mattress;
the mattress is also used for reporting each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and a target unique mark arranged on the upper surface of the mattress to the cloud;
the cloud end is further used for associating each sleeping posture of the target user on the mattress, the sleeping posture collection time corresponding to each sleeping posture and the target unique mark.
As an alternative implementation manner, in the second aspect of the embodiment of the present application, the upper surface of the mattress is divided into a plurality of areas, a unique mark is set on each area, and the unique marks set on any two areas are different, where:
the mattress is also used for detecting a certain target area selected by the target user from the plurality of areas and taking the unique mark arranged on the certain target area as a target unique mark arranged on the upper surface of the mattress;
and the mattress is also used for detecting whether the target user enters a sleep state on the mattress, and if so, the step of periodically acquiring the sleeping positions of the target user on the mattress before the user equipment recognizes that the target unique mark arranged on the upper surface of the mattress exists in the camera preview picture displayed by the user equipment, so as to obtain each sleeping position of the target user on the mattress.
As an alternative embodiment, in the second aspect of the embodiment of the present application:
the cloud end is further used for judging whether the target unique mark is related to a plurality of sleeping postures of other users on the mattress and sleeping posture acquisition time corresponding to the plurality of sleeping postures after the mattress reports all sleeping postures of the target user on the mattress, sleeping posture acquisition time corresponding to the sleeping postures and target unique marks arranged on the upper surface of the mattress to the cloud end; and if not, executing the step of correlating each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target mark.
As an alternative embodiment, in the second aspect of the embodiment of the present application:
the cloud end is further configured to delete, after determining that the target unique mark is associated with a plurality of sleeping postures of other users on the mattress and sleeping posture collection times corresponding to the plurality of sleeping postures, a plurality of sleeping postures of the other users on the mattress and sleeping posture collection times corresponding to the plurality of sleeping postures, which are associated with the target unique mark, and execute the step of associating each sleeping posture of the target user on the mattress, the sleeping posture collection time corresponding to each sleeping posture, and the target mark.
A third aspect of the present application embodiment discloses a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the method for reproducing a sleeping posture in the first aspect of the present application embodiment or any of the alternative implementations of the first aspect of the present application embodiment.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in the embodiment of the invention, the user equipment can identify that the target unique mark arranged on the upper surface of the mattress exists in the displayed camera preview picture and report the target unique mark to the cloud end, the cloud end can acquire each sleeping position of the target user on the mattress and the sleeping position acquisition time corresponding to each sleeping position associated with the target unique mark, the pre-generated virtual person is loaded on the camera preview picture displayed by the user equipment, the virtual person is controlled to sequentially make each sleeping position according to the arrangement sequence of the sleeping position acquisition time corresponding to each sleeping position, and thus the sleeping position of the target user on the mattress is reproduced, and the cloud end can learn what sleeping position causes the body to have the bad situation even if the target user wakes up to find the bad situation such as fatigue, pain or falling pillow, thereby being beneficial to improving the sleeping position of the target user on the mattress in a targeted manner.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a first embodiment of a method for reproducing a sleeping posture disclosed in the embodiment of the present application;
FIG. 2 is a flow chart of a second embodiment of a method for reproducing a sleeping posture disclosed in the embodiments of the present application;
FIG. 3 is a flow chart of a third embodiment of a method for reproducing a sleeping posture disclosed in the embodiments of the present application;
fig. 4 is a schematic architecture diagram of a sleeping posture reproduction system disclosed in an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that the terms "comprises" and "comprising," along with any variations thereof, in the embodiments of the present application are intended to cover non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed.
The embodiment of the application discloses a sleeping gesture reproducing method and related products, which can reproduce the sleeping gesture of a user on a mattress, so that the user can learn what sleeping gesture causes the body to have the bad conditions when waking up to find the bad conditions such as fatigue, pain or stiff neck, and the like, thereby being beneficial to the targeted improvement of the sleeping gesture of the user on the mattress. The following detailed description is made with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a method for reproducing a sleeping gesture according to an embodiment of the present application. As shown in fig. 1, the method for reproducing the sleeping posture comprises the following steps:
101. the user equipment recognizes that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reports the target unique mark to the cloud.
In some application scenarios, the user device may be an electronic device (e.g., a cell phone or tablet) of the target user on the mattress. When the target user wakes up from the mattress, the target user can click on a camera option pushed to an interactive interface of the user equipment by the cloud end, so that a camera (such as a rear camera) of the user equipment is started to obtain a camera reserved picture, and when the user equipment recognizes that a target unique mark arranged on the upper surface of the mattress exists in the displayed camera reserved picture, the target unique mark can be reported to the cloud end. For example, the user equipment may report the unique target mark to the cloud end through a mobile network such as 4G or 5G. The target unique mark may be a unique symbol or a unique image, or the target unique mark may be a combination of a unique symbol and a unique image. For example, the unique symbol may be "$ +$ $", and the unique image may be a unique two-dimensional code.
102. The cloud end acquires all sleeping postures of a target user on the mattress and sleeping posture acquisition time corresponding to all sleeping postures, wherein the sleeping postures are associated with the target unique mark.
It will be appreciated that the individual sleeping positions of the target user on the mattress associated with the target unique indicia and the sleeping position acquisition times corresponding to the individual sleeping positions refer to: and each sleeping posture of the target user on the mattress corresponding to the target unique mark and the sleeping posture acquisition time corresponding to each sleeping posture.
The cloud end can establish the corresponding relation among all the sleeping postures of the target user on the mattress, the sleeping posture collection time corresponding to all the sleeping postures of the target user on the mattress and the target unique mark, so that the relation between all the sleeping postures of the target user on the mattress and the sleeping posture collection time corresponding to all the sleeping postures of the target user on the mattress and the target unique mark is realized.
For example, the cloud end may acquire, based on the target unique mark, a sleeping posture 1, a sleeping posture 2, … …, and a sleeping posture n (n is a natural number greater than 1) of the target user on the mattress associated with the target unique mark from the database, and acquire a sleeping posture acquisition time 1 corresponding to the sleeping posture 1, a sleeping posture acquisition time 1 corresponding to the sleeping posture 2, … …, and a sleeping posture acquisition time n corresponding to the sleeping posture n.
It can be understood that any two sleeping postures in the sleeping postures are different in corresponding sleeping posture acquisition time.
103. And loading the pre-generated virtual person on a camera preview picture displayed by the user equipment by the cloud end, and controlling the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition time corresponding to each sleeping gesture so as to reproduce the sleeping gesture of the target user.
In some embodiments, the cloud end may load the pre-generated virtual person onto a camera preview screen displayed by the user device by using an Augmented Reality (AR) superposition technology, and control the virtual person to sequentially make the above sleeping postures according to the arrangement sequence of the sleeping posture collection times corresponding to the sleeping postures, so as to reproduce the sleeping posture of the target user. For example, the above-mentioned respective sleeping postures are respectively a sleeping posture 1, a sleeping posture 2, … …, and a sleeping posture n (n is a natural number greater than 1), and the sleeping posture 1 corresponds to a sleeping posture acquisition time 1, the sleeping posture 2 corresponds to a sleeping posture acquisition time 1, … …, and the sleeping posture n corresponds to a sleeping posture acquisition time 1, the sleeping posture acquisition times 2, … …, and the sleeping posture acquisition time n are arranged in the order of the sleeping posture acquisition time 1; correspondingly, the cloud end can load the pre-generated virtual person on a camera preview picture displayed by the user equipment by adopting an AR superposition technology, and control the virtual person to sequentially make the sleeping gesture 1, the sleeping gesture 2, … … and the sleeping gesture n according to the arrangement sequence of the sleeping gesture acquisition time 1, the sleeping gesture acquisition times 2 and … … and the sleeping gesture acquisition time n so as to reproduce the sleeping gesture of the target user.
Among them, the AR superimposition technique is a known new technique of seamlessly integrating real world information and virtual world information, which allows real environments and virtual objects to be superimposed on the same screen or space in real time while existing.
In some embodiments, the gender of the virtual person pre-generated by the cloud is the same as the gender of the target user, the style of the virtual garment worn by the virtual person pre-generated by the cloud is the same as the style of the real garment worn by the target user, the color of the virtual garment worn by the virtual person is the same as the color of the real garment worn by the target user, and the virtual body shape of the virtual person pre-generated by the cloud is the same as the real body shape of the target user, so that the sleeping posture of the target user on the mattress can be reproduced more realistically. The sex of the target user, the style and the color of the real clothes worn by the target user can be captured by the mattress through the camera and reported to the cloud end, the real body type of the target user can be obtained by the mattress, the stress distribution condition of the upper surface of the mattress can be determined according to the stress distribution condition, and the determined real body type of the target user is reported to the cloud end by the mattress.
In some embodiments, the cloud end may detect whether a certain adverse condition occurs in the body easily when the virtual person makes a sleeping gesture on a camera preview screen displayed by the user device in the process of controlling the virtual person to sequentially make the sleeping gestures according to the arrangement sequence of the sleeping gesture acquisition times corresponding to the sleeping gestures, if so, superimpose text prompt information on the camera preview screen and close to the sleeping gesture, where the text prompt information is used for prompting a target user that the sleeping gesture easily causes the body to have any adverse condition.
Therefore, by implementing the method for reproducing the sleeping posture shown in fig. 1, the sleeping posture of the target user on the mattress can be reproduced, so that the target user can learn what sleeping posture causes the body to have the above-mentioned bad conditions even if the target user wakes up and finds that the body has the bad conditions such as fatigue, pain or stiff neck, and the like, thereby being beneficial to the target user to pertinently improve the sleeping posture of the target user on the mattress.
Referring to fig. 2, fig. 2 is a flowchart of a second embodiment of a method for reproducing a sleeping gesture according to an embodiment of the present application. In the reproducing method of sleeping position shown in fig. 2, the upper surface of the mattress is divided into a plurality of areas, each area is provided with a unique mark, and the unique marks provided on any two areas are different. By way of example, one unique mark provided on each region may be one character avatar, and character images provided on any two regions are different. As shown in fig. 2, the method for reproducing the sleeping posture includes the following steps:
201. the mattress detects a certain target area selected by a target user from the plurality of areas, and takes the unique mark arranged on the target area as a target unique mark arranged on the upper surface of the mattress.
In some embodiments, a target user on the mattress may wear a real wireless stereo (True Wireless Stereo, TWS) earpiece, including a main earpiece and a pair of earpieces. The main earphone is in wireless connection with user equipment (such as a mobile phone or a tablet) of the target user, and the main earphone is in wireless connection with the auxiliary earphone, so that real left and right channel wireless separation is realized, and a stereo effect is achieved. Accordingly, the manner in which the mattress detects a target area selected by the target user from the plurality of areas may be: when the mattress detects (such as by a pressure sensor) that a certain area in the plurality of areas is squeezed, and the attribute information of the main earphone is read at the squeezed position of the area in a touch reading mode in the process that the area is squeezed, the mattress can consider that the target user holds the main earphone to squeeze the area, and the corresponding mattress can accurately take the area as a detected target area selected by the target user from the plurality of areas.
In some embodiments, the attribute information of the master earphone may include a unique ID of the master earphone, identification information of a hotspot of a user device of a target user to which the master earphone is connected, a random number string allocated by the user device and obtained when the master earphone is connected to the hotspot of the user device of the target user, and a first instant distance value between the master earphone and the user device measured when the master earphone extrudes the area. Illustratively, the master earpiece may measure a first instant distance value between the master earpiece and the user device via Ultra Wideband (UWB) technology when the master earpiece is squeezing the area. Further, in the reproducing method of the sleeping posture shown in fig. 2, the mattress may store a plurality of distance value ranges, the same distance value does not exist between any two of the plurality of distance value ranges, and one transfer number is configured for each distance value range, and the transfer numbers configured for any two distance value ranges are different. Correspondingly, the method for reproducing the sleeping posture shown in fig. 2 may further include the following steps:
11 The mattress determines a distance value range including a first instant distance value from the plurality of distance value ranges as a first designated range.
12 Determining, by the mattress, a number of transfers configured for the first designated range as the first designated number of transfers; and judging whether the first designated transfer number is greater than the total number of the digits included in the random number string; if not, a number field is cut from the first number at the head end of the random number string to the tail end of the random number string to be used as a first number field, the total number of the numbers contained in the first number field is equal to the first designated transfer number, and the first number field is used as a verification number field; or if the first designated transfer number is larger than the total number of the digits included in the random number string, if not, sequentially splicing a plurality of designated digits at the tail end of the random number string to form a second number field, wherein the total number of the digits included in the second number field is equal to the first designated transfer number, and the second number field is used as a verification number field.
13 The mattress broadcasts a hot spot access request message, the hot spot access request message at least comprising the mattress name of the mattress, the verification number field and the identification information of the hot spot.
14 And when the user equipment receives the hotspot access request message and recognizes that the identification information of the hotspot is the identification information of the hotspot of the user equipment, judging whether the verification number field is consistent with a legal access number field generated by the user equipment for the hotspot, and if so, allowing the mattress to access the hotspot of the user equipment, thereby realizing wireless connection between the mattress and the user equipment.
15 The mattress sends a cloud uniform resource locator (Uniform Resource Location, URL) to the user device over a wireless connection with the user device.
16 The user equipment receives the URL of the cloud end, establishes communication connection with the cloud end according to the URL of the cloud end, and obtains an interactive interface pushed to the user equipment by the cloud end; the interactive interface at least comprises a camera option.
In some embodiments, the user equipment of the target user may also store the above-mentioned multiple distance value ranges, and accordingly, the manner in which the user equipment generates the legal access number field for its hotspot may include the following steps:
21 The user equipment detects a second instant distance value between the user equipment and the main earphone when the main earphone extrudes the area; wherein the second instant distance value is equal to the first instant distance value; illustratively, the user device may measure a second instant distance value between the user device and the master earpiece via UWB technology when the master earpiece is squeezing the area.
22 The user equipment determines a distance value range including a second instant distance value from the plurality of distance value ranges as a second specified range, i.e. the second specified range is the same as the first specified range.
23 Determining, by the user equipment, a number of transitions configured in the second specified range as a second specified number of transitions, i.e., the second specified number of transitions is the same as the first specified number of transitions; and judging whether the second designated transfer number is greater than the total number of the digits included in the random number string; if not, a number field is cut from the first number at the head end of the random number string to the tail end of the random number string to be used as a third number field, the total number of the numbers contained in the third number field is equal to the second designated transfer number, and the third number field is used as a legal access number field of a hot spot; or if the second designated transfer number is larger than the total number of the digits included in the random digit string, if not, sequentially splicing a plurality of designated digits at the tail end of the random digit string to form a fourth digit field, wherein the total number of the digits included in the fourth digit segment is equal to the second designated transfer number, and the fourth digit segment is used as a legal access digit field of a hot spot.
In the embodiment of the invention, when the target user holds the main earphone to squeeze a certain area of the mattress, the mattress can accurately take the area as the detected target area selected by the target user from the plurality of areas, and the user equipment can be accurately and quickly accessed to the hot spot of the user equipment under the condition that the target user does not need to manually operate the mattress and/or the user equipment, so that the user equipment can conveniently obtain the URL of the cloud end, thereby improving the convenience and efficiency of the interaction interface of the user equipment accessing the cloud end and obtaining the cloud end pushing.
202. The mattress detects whether a target user enters a sleep state on the mattress, if so, the steps 203 to 208 are executed; if not, the process is ended.
In some embodiments, the mattress may detect whether the target user enters a sleep state on the mattress through an intelligent sleep monitoring bracelet worn by the target user.
In other embodiments, the mattress may acquire a face image of a target user through a camera, and perform face key point detection in the face image by using a preset face key point detection model to obtain a face key point set; and determining the opening and closing state of human eyes according to the human face key point set, and determining whether the target user enters a sleep state on the mattress according to the opening and closing state of the human eyes. For the target user, the whole detection process is noninductive, so that physical discomfort is not brought, and the normal sleep of the target user is effectively ensured.
203. The mattress periodically collects sleeping positions of the target user on the mattress so as to obtain all sleeping positions of the target user on the mattress.
In some embodiments, the mattress can periodically acquire the sleeping positions of the target user on the mattress through the camera so as to obtain the sleeping positions of the target user on the mattress.
In other embodiments, the mattress may periodically obtain the stress distribution of the upper surface of the mattress, and determine the sleeping positions of the target user on the mattress according to the stress distribution of the upper surface of the mattress, so as to obtain each sleeping position of the target user on the mattress.
204. The mattress reports each sleeping position of a target user on the mattress, the sleeping position acquisition time corresponding to each sleeping position and the unique target mark arranged on the upper surface of the mattress to the cloud.
205. The cloud end correlates each sleeping position of the target user on the mattress, the sleeping position acquisition time corresponding to each sleeping position and the target unique mark.
206. The user equipment recognizes that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reports the target unique mark to the cloud.
In some embodiments, the user device may click on the camera option on the interactive interface pushed to the user device by the cloud end obtained in step 16), so as to start the camera (such as a rear camera) of the user device to obtain a camera reserved screen, and when the user device recognizes that there is a target unique mark set on the upper surface of the mattress in the displayed camera reserved screen, the target unique mark may be reported to the cloud end through a wireless connection between the user device and the cloud end.
207. The cloud end acquires all sleeping postures of a target user on the mattress and sleeping posture acquisition time corresponding to all sleeping postures, wherein the sleeping postures are associated with the target unique mark.
208. And loading the pre-generated virtual person on a camera preview picture displayed by the user equipment by the cloud end, and controlling the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition time corresponding to each sleeping gesture so as to reproduce the sleeping gesture of the target user.
Therefore, by implementing the method for reproducing the sleeping posture shown in fig. 2, the sleeping posture of the target user on the mattress can be reproduced, so that the target user can learn what sleeping posture causes the body to have the above-mentioned bad conditions even if the target user wakes up and finds that the body has the bad conditions such as fatigue, pain or stiff neck, and the like, thereby being beneficial to the target user to pertinently improve the sleeping posture of the target user on the mattress.
In addition, when the sleeping gesture reproduction method shown in fig. 2 is implemented, the mattress can accurately take the region extruded by the main earphone as the detected target region selected by the target user from the plurality of regions, and can be accurately and quickly accessed to the hot spot of the user equipment without the need of manually operating the mattress and/or the user equipment by the target user, so that the user equipment can conveniently obtain the URL of the cloud end, thereby improving the convenience and efficiency of the user equipment accessing the cloud end and obtaining the interaction interface pushed by the cloud end.
Referring to fig. 3, fig. 3 is a flowchart of a third embodiment of a method for reproducing a sleeping gesture according to an embodiment of the present application. In the reproducing method of sleeping position shown in fig. 3, the upper surface of the mattress is divided into a plurality of areas, each area is provided with a unique mark (such as a unique symbol), and the unique marks provided on any two areas are different. As shown in fig. 3, the method for reproducing the sleeping posture includes the following steps:
301. the mattress detects a certain target area selected by a target user from the plurality of areas, and takes the unique mark arranged on the target area as a target unique mark arranged on the upper surface of the mattress.
302. The mattress detects whether a target user enters a sleep state on the mattress, if so, the steps 303 to 305 are executed; if not, the process is ended.
303. The mattress periodically collects sleeping positions of the target user on the mattress so as to obtain all sleeping positions of the target user on the mattress.
304. The mattress reports each sleeping position of a target user on the mattress, the sleeping position acquisition time corresponding to each sleeping position of the target user on the mattress and a target unique mark arranged on the upper surface of the mattress to the cloud.
305. The cloud end judges whether the target unique mark is related to sleeping positions of other users on the mattress or not and sleeping position acquisition time corresponding to the sleeping positions of the other users on the mattress or not; if yes, go to step 306-step 313; if not, go to steps 310-313.
In some embodiments, after determining that the target unique mark has been associated with a plurality of sleeping positions of other users on the mattress and sleeping position acquisition times corresponding to the plurality of sleeping positions of other users on the mattress, and before executing steps 306 to 313, the cloud may further execute the following steps:
the cloud end detects whether sleeping postures of other users on the mattress easily cause certain adverse conditions (such as sleepiness, pain or stiff neck and the like) of the body exist or not; if so, go to steps 306-313; if the user terminal does not exist, sending an interaction message to a user terminal (such as a mobile phone) of other users, wherein the interaction message is used for prompting a field and an inquiry field, the prompting field is used for prompting that the other users do not exist in a plurality of sleeping positions on a mattress, which easily causes some bad conditions to occur to the body, and the inquiry field is used for inquiring whether to allow deleting a plurality of sleeping positions of the other users on the mattress and sleeping position acquisition time corresponding to the plurality of sleeping positions;
The cloud receives response messages sent by user terminals of other users, and if the response messages indicate that the other users are not allowed to delete a plurality of sleeping postures on the mattress and sleeping posture acquisition time corresponding to the sleeping postures, steps 306-313 are executed; if the response message indicates that the plurality of sleeping postures of other users on the mattress and sleeping posture collection time corresponding to the plurality of sleeping postures are allowed to be deleted, steps 309 to 313 are executed.
According to the embodiment, under the condition that the sleeping postures of other users on the mattress do not exist, which easily cause some adverse conditions (such as sleepiness, pain or stiff neck and the like) of the body, the occupation of the cloud storage space by the sleeping postures of the other users on the mattress and the sleeping posture collection time corresponding to the sleeping postures is reduced.
Furthermore, by implementing the embodiment, in the case that the sleeping posture of the other user on the mattress is in a plurality of sleeping postures which easily cause some bad condition (such as fatigue, pain or stiff neck, etc.) of the body, the sleeping posture of the other user on the mattress can be reproduced for the other user.
306. The cloud end determines one area from the plurality of areas to be used as an assigned area, a unique mark arranged on the assigned area is used as an assigned unique mark, and the assigned unique mark is not associated with a plurality of sleeping positions and sleeping position acquisition time corresponding to the plurality of sleeping positions.
307. The cloud end enables the target unique mark to be related to the sleeping positions of other users on the mattress and the sleeping position collecting time corresponding to the sleeping positions of other users on the mattress to be related to the assigned unique mark.
308. The cloud end sends interaction information to user terminals of other users, and the interaction information is used for describing sleeping gesture collection time corresponding to a plurality of sleeping gestures of the other users on the mattress, wherein the assigned unique identifier is associated with the sleeping gestures of the other users on the mattress.
309. The cloud end deletes the target to uniquely mark the sleeping gesture acquisition time corresponding to the sleeping gestures of other users on the mattress and the sleeping gestures of other users on the mattress.
The steps 306 to 309 are implemented, so that the unique mark of an area is only associated with the sleeping position of a user on the mattress and the sleeping position acquisition time corresponding to the sleeping position, which can prevent the situation that the sleeping position of a certain user is wrongly reproduced to other users when the unique mark of an area is associated with the sleeping positions of two or more users on the mattress and the sleeping position acquisition time corresponding to the sleeping position.
310. The cloud end correlates each sleeping position of the target user on the mattress, the sleeping position acquisition time corresponding to each sleeping position and the target unique mark.
311. The user equipment recognizes that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reports the target unique mark to the cloud.
312. The cloud end acquires all sleeping postures of a target user on the mattress and sleeping posture acquisition time corresponding to all sleeping postures, wherein the sleeping postures are associated with the target unique mark.
313. And loading the pre-generated virtual person on a camera preview picture displayed by the user equipment by the cloud end, and controlling the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition time corresponding to each sleeping gesture so as to reproduce the sleeping gesture of the target user.
Therefore, by implementing the method for reproducing the sleeping posture shown in fig. 3, the sleeping posture of the target user on the mattress can be reproduced, so that the target user can learn what sleeping posture causes the body to have the above-mentioned bad conditions even if the target user wakes up and finds that the body has the bad conditions such as fatigue, pain or stiff neck, and the like, thereby being beneficial to the target user to pertinently improve the sleeping posture of the target user on the mattress.
In addition, implementing the method for reproducing the sleeping gesture shown in fig. 3 can prevent the situation that the sleeping gesture of a certain user is erroneously reproduced to other users when the unique mark of one area is simultaneously associated with the sleeping gesture of two or more users on the mattress and the sleeping gesture acquisition time corresponding to the sleeping gesture.
Referring to fig. 4, fig. 4 is a schematic architecture diagram of a sleeping posture reproducing system according to an embodiment of the present application. As shown in fig. 4, the reproducing system of the sleeping posture includes:
user equipment 401, mattress 402, and cloud 403, wherein:
the user device 401 is configured to identify that a target unique mark set on the upper surface of the mattress 402 exists in a camera preview screen displayed by the user device 401, and report the target unique mark to the cloud end 403;
the cloud end 403 is configured to obtain each sleeping posture of the target user on the mattress 402 and a sleeping posture acquisition time corresponding to each sleeping posture, where the sleeping posture is stored in association with the target unique mark;
the cloud 403 is further configured to load the pre-generated virtual person onto a camera preview screen displayed by the user device 401, and control the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition times corresponding to each sleeping gesture, so as to reproduce the sleeping gesture of the target user.
In some embodiments, when the cloud 403 controls the virtual person to sequentially make the above-mentioned sleeping postures according to the arrangement sequence of the sleeping posture collection times corresponding to the sleeping postures, each time the virtual person makes a sleeping posture on the camera preview screen displayed by the user device 401, the cloud 403 may detect whether the sleeping posture easily causes some adverse conditions on the body, if so, superimpose text prompt information on the camera preview screen and close to the sleeping posture, where the text prompt information is used for prompting the target user that the sleeping posture easily causes some adverse conditions on the body.
In some application scenarios, the user device 401 may be an electronic device (e.g., a cell phone or tablet) of a target user on the mattress 402. When the target user wakes up from the mattress 402, the target user can click on a camera option on the interactive interface pushed to the user equipment 401 by the cloud end 403, so that a camera (such as a rear camera) of the user equipment 401 is started to obtain a camera reserved picture, and when the user equipment 401 recognizes that the target unique mark arranged on the upper surface of the mattress 402 exists in the displayed camera reserved picture, the target unique mark can be reported to the cloud end 403. For example, the user device 401 may report the target unique mark to the cloud end 403 through a mobile network such as 4G or 5G.
In some embodiments, the mattress 402 is configured to periodically acquire the sleeping positions of the target user on the mattress 402 before the user device 401 recognizes that the target unique mark provided on the upper surface of the mattress 402 exists in the camera preview screen displayed by the user device 401, so as to obtain each sleeping position of the target user on the mattress 402. Illustratively, the mattress 402 may periodically capture the sleeping positions of the target user on the mattress via the cameras to obtain the individual sleeping positions of the target user on the mattress. Also for example, the mattress 402 may periodically obtain the stress distribution of the upper surface of the mattress 402, and determine the sleeping positions of the target user on the mattress 402 according to the stress distribution of the upper surface of the mattress 402, so as to obtain each sleeping position of the target user on the mattress 402.
Further, the mattress 402 is further configured to report each sleeping posture of the target user on the mattress 402, a sleeping posture collection time corresponding to each sleeping posture, and a target unique mark disposed on the upper surface of the mattress 402 to the cloud end 403.
Accordingly, the cloud end 403 is further configured to correlate each sleeping posture of the target user on the mattress 402, a sleeping posture collection time corresponding to each sleeping posture, and a target unique mark.
In some embodiments, the upper surface of mattress 402 is divided into a plurality of regions, each region having a unique marking disposed thereon, and any two regions having different unique markings disposed thereon, wherein:
the mattress 402 is further configured to detect a target area selected by a target user from the plurality of areas, and use a unique mark set on the target area as a target unique mark set on an upper surface of the mattress 402;
the mattress 402 is further configured to detect whether the target user enters a sleep state on the mattress 402, and if so, perform the above-mentioned step of periodically acquiring the sleeping positions of the target user on the mattress 402 before the user device 401 recognizes that the target unique mark provided on the upper surface of the mattress 402 exists in the camera preview screen displayed by the user device 401, so as to obtain each sleeping position of the target user on the mattress 402.
In some implementations, a target user on mattress 402 may wear a truly wireless stereo TWS headset that includes a main headset and a pair of headphones. The main earphone is wirelessly connected with the user equipment 401 of the target user, and the main earphone is wirelessly connected with the auxiliary earphone, so that real left and right channel wireless separation use is realized, and a stereo effect is achieved. Accordingly, the manner in which the mattress 402 detects a target area selected by the target user from the plurality of areas may be: when the mattress 402 detects that a certain area of the plurality of areas is squeezed, and the attribute information of the main earphone is read at the squeezed position of the area in a touch reading mode in the process that the area is squeezed, the mattress 402 can consider that the target user holds the main earphone to squeeze the area, and the corresponding mattress 402 can accurately take the area as a detected target area selected by the target user from the plurality of areas.
In some embodiments, the attribute information of the master earphone may include a unique ID of the master earphone, identification information of a hotspot of a user device of a target user to which the master earphone is connected, a random number string allocated by the user device and obtained when the master earphone is connected to the hotspot of the user device of the target user, and a first instant distance value between the master earphone and the user device measured when the master earphone extrudes the area. Illustratively, the primary earpiece may measure a first instant distance value between the primary earpiece and the user device via UWB technology as the primary earpiece squeezes the area. Further, in the reproduction system of the sleeping posture shown in fig. 4, the mattress 402 may store a plurality of distance value ranges, the same distance value does not exist between any two of the plurality of distance value ranges, and one transfer number is configured for each distance value range, and the transfer numbers configured for any two distance value ranges are different. Accordingly, in the reproduction of the sleeping posture shown in fig. 4:
The mattress 402 is further configured to determine a range of distance values including a first instant distance value from the plurality of ranges of distance values as a first specified range.
Mattress 402 further operable to determine a first designated range configured transfer number as a first designated transfer number; judging whether the first designated transfer number is larger than the total number of the digits included in the random number string, if not, cutting a number field from the first digit at the head end of the random number string to the tail end of the random number string to serve as a first number field, wherein the total number of the digits included in the first number field is equal to the first designated transfer number, and taking the first number field as a verification number field; or if the first designated transfer number is larger than the total number of the digits included in the random number string, if not, sequentially splicing a plurality of designated digits at the tail end of the random number string to form a second number field, wherein the total number of the digits included in the second number field is equal to the first designated transfer number, and the second number field is used as a verification number field.
Mattress 402 is further configured to broadcast a hotspot access request message, where the hotspot access request message includes at least a mattress name of mattress 402, the verification number field, and identification information of the hotspot.
The user equipment 401 is further configured to determine whether the verification number field is consistent with a legal access number field generated by the user equipment 401 for the hotspot when the user equipment 401 receives the hotspot access request message and recognizes that the identification information of the hotspot is the identification information of the hotspot of the user equipment 401, and if so, allow the mattress 402 to access the hotspot of the user equipment 401, thereby implementing wireless connection between the mattress 402 and the user equipment 401.
The mattress 402 is further configured to send the URL of the cloud 403 to the user device 401 through a wireless connection with the user device 401.
The user equipment 401 is further configured to receive a URL of the cloud end 403, establish a communication connection with the cloud end 403 according to the URL of the cloud end 403, and obtain an interactive interface pushed to the user equipment 401 by the cloud end 403; the interactive interface at least comprises a camera option.
Accordingly, the manner in which the user device 401 recognizes that the target unique mark set on the upper surface of the mattress 402 exists in the camera preview screen displayed by the user device 401 and reports the target unique mark to the cloud 403 may be:
when the target user wakes up from the mattress 402, the target user can click on a camera option on the interactive interface pushed to the user equipment 401 by the cloud end 403, so that a camera (such as a rear camera) of the user equipment 401 is started to obtain a camera reserved picture, and when the user equipment 401 recognizes that the target unique mark arranged on the upper surface of the mattress 402 exists in the displayed camera reserved picture, the target unique mark can be reported to the cloud end 403.
In some embodiments, the ue 401 may also store the above-mentioned multiple distance value ranges, and accordingly, the manner in which the ue 401 generates the legal access number field for its hotspot may be:
the user device 401 measures a second instant distance value between the user device 401 and the main earphone when the main earphone extrudes the area; wherein the second instant distance value is equal to the first instant distance value; illustratively, the user device may measure a second instant distance value between the user device and the master earpiece via UWB technology when the master earpiece is squeezing the area.
The user device 401 determines a distance value range including a second instant distance value from the above-described plurality of distance value ranges as a second specified range, that is, the second specified range is the same as the first specified range.
The user equipment 401 determines the number of transitions configured in the second specified range as the second specified number of transitions, i.e. the second specified number of transitions is the same as the first specified number of transitions; judging whether the second designated transfer number is larger than the total number of the digits included in the random number string, if not, cutting a number field from the first digit at the head end of the random number string to the tail end of the random number string to serve as a third number field, wherein the total number of the digits included in the third number field is equal to the second designated transfer number, and taking the third number field as a legal access number field of a hot spot; or if the second designated transfer number is larger than the total number of the digits included in the random digit string, if not, sequentially splicing a plurality of designated digits at the tail end of the random digit string to form a fourth digit field, wherein the total number of the digits included in the fourth digit segment is equal to the second designated transfer number, and the fourth digit segment is used as a legal access digit field of a hot spot.
In this embodiment, when the target user holds the main earphone to squeeze a certain area of the mattress, the mattress 402 can accurately take the area as the detected target area selected by the target user from the plurality of areas, and the target user can accurately and quickly access the hot spot of the user equipment 401 without manually operating the mattress 402 and/or the user equipment 401, so that the user equipment 401 can conveniently obtain the URL of the cloud 403, thereby improving the convenience and efficiency of the user equipment 401 accessing the cloud 403 and obtaining the interactive interface pushed by the cloud 403.
In some embodiments, the cloud end 403 is further configured to determine, after the mattress 402 reports each sleeping position of the target user on the mattress 402, a sleeping position acquisition time corresponding to each sleeping position, and a target unique mark set on an upper surface of the mattress 402 to the cloud end 403, whether the target unique mark is associated with a plurality of sleeping positions of other users on the mattress 402 and sleeping position acquisition times corresponding to a plurality of sleeping positions of other users on the mattress 402; if not, the above-described steps of correlating each sleeping posture of the target user on the mattress 402, the sleeping posture acquisition time corresponding to each sleeping posture, and the target mark are performed.
Or, after determining that the target unique mark has been associated with the sleeping positions of the other users on the mattress 402 and the sleeping position acquisition times corresponding to the sleeping positions of the other users on the mattress 402, the cloud end 403 deletes the sleeping position acquisition times corresponding to the sleeping positions of the other users on the mattress 402 and the sleeping positions of the other users on the mattress 402, and performs the above-mentioned steps of associating the sleeping positions of the target user on the mattress 402, the sleeping position acquisition times corresponding to the sleeping positions, and the target mark.
As an alternative embodiment, after determining that the target unique mark has been associated with the sleeping positions of the other users on the mattress 402 and the sleeping position acquisition time corresponding to the sleeping positions of the other users on the mattress 402, and before deleting the sleeping position acquisition time corresponding to the sleeping positions of the other users on the mattress 402 and the sleeping positions of the other users on the mattress 402, the cloud 403 may further perform the following steps:
determining one area from the plurality of areas as an assigned area, wherein a unique mark arranged on the assigned area is used as an assigned unique mark, and the assigned unique mark is not associated with a plurality of sleeping positions and sleeping position acquisition time corresponding to the plurality of sleeping positions;
And correlating the assigned unique identifier with the sleeping position acquisition time corresponding to the sleeping positions of the other users on the mattress 402 and the sleeping positions of the other users on the mattress 402, wherein the target unique identifier is associated with the sleeping position acquisition time corresponding to the sleeping positions of the other users on the mattress 402;
and, sending interaction information to the user terminals of the other users, the interaction information describing the assigned unique identification associated with the sleeping positions of the other users on mattress 402 and the sleeping position acquisition times corresponding to the sleeping positions of the other users on mattress 4002.
The embodiment is implemented so that the unique mark of one area is only related to the sleeping position of one user on the mattress and the sleeping position acquisition time corresponding to the sleeping position, so that the situation that the sleeping position of one user is mistakenly reproduced to other users when the unique mark of one area is simultaneously related to the sleeping positions of two or more users on the mattress and the sleeping position acquisition time corresponding to the sleeping positions can be prevented.
In some embodiments, after determining that the target unique mark has been associated with the sleeping positions of the other user on the mattress 402 and the sleeping position acquisition time corresponding to the sleeping positions of the other user on the mattress, and before determining one area from the plurality of areas as the assigned area, the cloud end 403 may further perform the following steps:
Cloud 403 detects whether there are sleeping positions of other users in several sleeping positions on mattress 402 that are likely to cause some adverse condition of the body (such as drowsiness, pain, stiff neck, etc.); if so, executing the step of determining one area from the plurality of areas as an assigned area; if not, sending an interaction message to a user terminal (such as a mobile phone) of the other user, wherein the interaction message is used for prompting a prompting field and an inquiring field, the prompting field is used for prompting that the other user does not have a plurality of sleeping positions on the mattress 402, which easily causes some bad conditions to occur to the body, and the inquiring field is used for inquiring whether to allow deleting the plurality of sleeping positions of the other user on the mattress 402 and the sleeping position acquisition time corresponding to the plurality of sleeping positions;
the cloud 403 receives a response message sent by the user terminal of the other user, and if the response message indicates that the deletion of a plurality of sleeping positions of the other user on the mattress 402 and the sleeping position acquisition time corresponding to the plurality of sleeping positions are not allowed, the step of determining one area from the plurality of areas as an assigned area is executed; if the response message indicates that the plurality of sleeping positions of other users on the mattress 402 and the sleeping position acquisition time corresponding to the plurality of sleeping positions are allowed to be deleted, the step of deleting the plurality of sleeping positions of the other users on the mattress 402 and the sleeping position acquisition time corresponding to the plurality of sleeping positions of other users on the mattress 402, which are associated with the unique mark of the target, is performed.
According to the embodiment, under the condition that the sleeping postures of other users on the mattress do not exist, which easily cause some adverse conditions (such as sleepiness, pain or stiff neck and the like) of the body, the occupation of the cloud storage space by the sleeping postures of the other users on the mattress and the sleeping posture collection time corresponding to the sleeping postures is reduced.
Furthermore, by implementing the embodiment, in the case that the sleeping posture of the other user on the mattress is in a plurality of sleeping postures which easily cause some bad condition (such as fatigue, pain or stiff neck, etc.) of the body, the sleeping posture of the other user on the mattress can be reproduced for the other user.
Therefore, the system for reproducing the sleeping position shown in fig. 4 can reproduce the sleeping position of the target user on the mattress, so that the target user can learn what sleeping position causes the body to have the above-mentioned bad conditions even if the target user wakes up and finds the body to have the bad conditions such as fatigue, pain or stiff neck, thereby being beneficial to the target user to pertinently improve the sleeping position of the target user on the mattress.
The present application further discloses a storage medium having stored thereon a computer program which, when executed by a processor, performs all or part of the steps of the previous method embodiments.
The foregoing has described in detail a method for reproducing sleeping positions and related products disclosed in the embodiments of the present application, and specific examples have been applied herein to illustrate the principles and embodiments of the present application, and the above description of the embodiments is only for aiding in understanding the method of the present application and its core ideas; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the application in view of the above.

Claims (11)

1. A method of reproducing a sleeping posture, the method comprising:
the user equipment recognizes that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reports the target unique mark to the cloud;
the cloud end acquires all sleeping postures of a target user on the mattress and sleeping posture acquisition time corresponding to all sleeping postures, wherein the sleeping postures are associated with the target unique mark;
and the cloud loads the pre-generated virtual person to the camera preview picture displayed by the user equipment, and controls the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition time corresponding to each sleeping gesture so as to reproduce the sleeping gesture of the target user.
2. The method for reproducing sleeping posture according to claim 1, wherein before the user equipment recognizes that there is a target unique mark provided on the upper surface of the mattress in the displayed camera preview screen, the method further comprises:
the mattress periodically collects sleeping postures of the target user on the mattress so as to obtain all sleeping postures of the target user on the mattress;
the mattress reports each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target unique mark arranged on the upper surface of the mattress to the cloud;
and the cloud end correlates each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target unique mark.
3. The method for reproducing the sleeping posture according to claim 2, wherein the upper surface of the mattress is divided into a plurality of areas, each area is provided with a unique mark, and the unique marks provided on any two areas are different, the method further comprising:
the mattress detects a certain target area selected by the target user from the plurality of areas, and takes a unique mark arranged on the certain target area as a target unique mark arranged on the upper surface of the mattress;
And the mattress detects whether the target user enters a sleep state on the mattress, and if so, the step of periodically collecting the sleeping positions of the target user on the mattress is executed to obtain each sleeping position of the target user on the mattress.
4. A method of reproducing a sleeping posture according to claim 2 or 3, wherein after the mattress reports each sleeping posture of the target user on the mattress, a sleeping posture collection time corresponding to each sleeping posture, and a target unique mark provided on an upper surface of the mattress to the cloud terminal, the method further comprises:
the cloud end judges whether the target unique mark is related to a plurality of sleeping postures of other users on the mattress or not and the sleeping posture collection time corresponding to the plurality of sleeping postures; and if not, executing the step of associating each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target unique mark.
5. The method for reproducing the sleeping positions according to claim 4, wherein after the cloud determines that the target unique mark is associated with a plurality of sleeping positions of other users on the mattress and sleeping position acquisition times corresponding to the plurality of sleeping positions, the method further comprises:
The cloud terminal deletes a plurality of sleeping postures of the other user on the mattress and sleeping posture collecting time corresponding to the sleeping postures which are related to the target unique mark, and executes the step of relating each sleeping posture of the target user on the mattress, the sleeping posture collecting time corresponding to each sleeping posture and the target unique mark.
6. A reproduction system for a sleeping posture, the system comprising:
user equipment, mattress and high in the clouds, wherein:
the user equipment is used for identifying that a target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, and reporting the target unique mark to the cloud;
the cloud end is used for acquiring each sleeping posture of a target user on the mattress and corresponding sleeping posture acquisition time of each sleeping posture, wherein the sleeping posture is associated with the target unique mark;
the cloud end is further configured to load a pre-generated virtual person onto the camera preview screen displayed by the user device, and control the virtual person to sequentially make each sleeping gesture according to the arrangement sequence of the sleeping gesture acquisition times corresponding to each sleeping gesture, so as to reproduce the sleeping gesture of the target user.
7. The reproduction system of a sleeping posture according to claim 6, characterized in that:
the mattress is used for periodically collecting sleeping positions of the target user on the mattress before the user equipment recognizes that the target unique mark arranged on the upper surface of the mattress exists in a camera preview picture displayed by the user equipment, so as to obtain all sleeping positions of the target user on the mattress;
the mattress is also used for reporting each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and a target unique mark arranged on the upper surface of the mattress to the cloud;
the cloud end is further used for associating each sleeping posture of the target user on the mattress, the sleeping posture collection time corresponding to each sleeping posture and the target unique mark.
8. The reproduction system of a sleeping posture of claim 7, wherein the upper surface of the mattress is divided into a plurality of areas, each area is provided with a unique mark, and the unique marks provided on any two areas are different, wherein:
the mattress is also used for detecting a certain target area selected by the target user from the plurality of areas and taking the unique mark arranged on the certain target area as a target unique mark arranged on the upper surface of the mattress;
And the mattress is also used for detecting whether the target user enters a sleep state on the mattress, and if so, the step of periodically acquiring the sleeping positions of the target user on the mattress before the user equipment recognizes that the target unique mark arranged on the upper surface of the mattress exists in the camera preview picture displayed by the user equipment, so as to obtain each sleeping position of the target user on the mattress.
9. The reproduction system of a sleeping posture according to claim 7 or 8, characterized in that:
the cloud end is further used for judging whether the target unique mark is related to a plurality of sleeping postures of other users on the mattress and sleeping posture acquisition time corresponding to the plurality of sleeping postures after the mattress reports all sleeping postures of the target user on the mattress, sleeping posture acquisition time corresponding to the sleeping postures and target unique marks arranged on the upper surface of the mattress to the cloud end; and if not, executing the step of associating each sleeping posture of the target user on the mattress, the sleeping posture acquisition time corresponding to each sleeping posture and the target unique mark.
10. The reproduction system of a sleeping posture according to claim 9, characterized in that:
the cloud end is further configured to delete, after determining that the target unique mark is associated with a plurality of sleeping postures of other users on the mattress and sleeping posture collection times corresponding to the plurality of sleeping postures, a plurality of sleeping postures of the other users on the mattress and sleeping posture collection times corresponding to the plurality of sleeping postures, which are associated with the target unique mark, and execute the step of associating each sleeping posture of the target user on the mattress, the sleeping posture collection time corresponding to each sleeping posture, and the target unique mark.
11. A storage medium having stored thereon a computer program, wherein the computer program when executed by a processor performs the steps of the method of reproducing a sleeping posture as claimed in any one of claims 1 to 5.
CN202210903124.5A 2022-07-29 2022-07-29 Sleeping gesture reproduction method, system and storage medium Active CN115278081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210903124.5A CN115278081B (en) 2022-07-29 2022-07-29 Sleeping gesture reproduction method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210903124.5A CN115278081B (en) 2022-07-29 2022-07-29 Sleeping gesture reproduction method, system and storage medium

Publications (2)

Publication Number Publication Date
CN115278081A CN115278081A (en) 2022-11-01
CN115278081B true CN115278081B (en) 2023-05-26

Family

ID=83770866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210903124.5A Active CN115278081B (en) 2022-07-29 2022-07-29 Sleeping gesture reproduction method, system and storage medium

Country Status (1)

Country Link
CN (1) CN115278081B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778617A (en) * 2016-12-17 2017-05-31 天津工业大学 A kind of sleep monitor method and system based on acquisition technology
CN111012131A (en) * 2019-12-06 2020-04-17 中新智擎科技有限公司 Sleeping posture correction method and device and intelligent pillow
CN111150378A (en) * 2020-01-19 2020-05-15 武汉理工大学 Non-invasive distributed optical fiber monitoring system and method for multiple physical signs of human sleep
CN112199846A (en) * 2020-10-14 2021-01-08 广东珞珈睡眠科技有限公司 System for analyzing and customizing mattress based on three-dimensional human body reconstruction technology
CN112315257A (en) * 2020-11-03 2021-02-05 广东珞珈睡眠科技有限公司 Mattress system based on optimal transmission
CN113273998A (en) * 2021-07-08 2021-08-20 南京大学 Human body sleep information acquisition method and device based on RFID label matrix
CN113888838A (en) * 2021-11-08 2022-01-04 深圳作为科技有限公司 Sleeping posture monitoring and alarming method and device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210197834A1 (en) * 2016-11-21 2021-07-01 George Shaker System and method for sensing with millimeter waves for sleep position detection, vital signs monitoring and/or driver detection
US11615616B2 (en) * 2019-04-01 2023-03-28 Jeff Jian Chen User-guidance system based on augmented-reality and/or posture-detection techniques

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778617A (en) * 2016-12-17 2017-05-31 天津工业大学 A kind of sleep monitor method and system based on acquisition technology
CN111012131A (en) * 2019-12-06 2020-04-17 中新智擎科技有限公司 Sleeping posture correction method and device and intelligent pillow
CN111150378A (en) * 2020-01-19 2020-05-15 武汉理工大学 Non-invasive distributed optical fiber monitoring system and method for multiple physical signs of human sleep
CN112199846A (en) * 2020-10-14 2021-01-08 广东珞珈睡眠科技有限公司 System for analyzing and customizing mattress based on three-dimensional human body reconstruction technology
CN112315257A (en) * 2020-11-03 2021-02-05 广东珞珈睡眠科技有限公司 Mattress system based on optimal transmission
CN113273998A (en) * 2021-07-08 2021-08-20 南京大学 Human body sleep information acquisition method and device based on RFID label matrix
CN113888838A (en) * 2021-11-08 2022-01-04 深圳作为科技有限公司 Sleeping posture monitoring and alarming method and device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于心冲击信号的睡姿识别;张艺超;袁贞明;孙晓燕;;计算机工程与应用(17);全文 *

Also Published As

Publication number Publication date
CN115278081A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN109040824B (en) Video processing method and device, electronic equipment and readable storage medium
CN110913141B (en) Video display method, electronic device and medium
JP2014085796A (en) Information processing device and program
CN104854848B (en) The processing method of terminal and contact head image
US20200311451A1 (en) Method for registering fingerprint, terminal and computer-readable storage medium
KR20150092201A (en) Associating user emotion with electronic media
CN106713418A (en) Reset result confirmation method and apparatus, server and mobile terminal
KR102424296B1 (en) Method, storage medium and electronic device for providing a plurality of images
US11348587B2 (en) Review system for online communication, method, and computer program
CN115278081B (en) Sleeping gesture reproduction method, system and storage medium
CN108388672A (en) Lookup method, device and the computer readable storage medium of video
CN104616408A (en) Doorbell control method and device
CN105992192A (en) Communications apparatus and control method
KR20170098380A (en) Method and apparatus for sharing user's feeling about contents
CN108241515A (en) Application shortcut method for building up and terminal
CN109032465A (en) Data processing method, device and mobile terminal
CN107995404A (en) A kind of region control method and system, controller, camera and lamps and lanterns
CN107633012A (en) A kind of inquiry processing method, server and storage medium
CN106412492B (en) Video data processing method and device
CN104683589B (en) A kind of method, device and mobile terminal for changing address book contact information
CN116055806A (en) Mode switching processing method and device of intelligent terminal, terminal and storage medium
CN207766358U (en) A kind of area control system, controller, camera and lamps and lanterns
CN107197374A (en) The user identification method and system of set-top box device
CN108304804A (en) Picture sending method, device, equipment and readable storage medium storing program for executing
CN111726531B (en) Image shooting method, processing method, device, electronic equipment and storage medium

Legal Events

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