CN115191781B - Picture grabbing method based on intelligent mattress and related products - Google Patents

Picture grabbing method based on intelligent mattress and related products Download PDF

Info

Publication number
CN115191781B
CN115191781B CN202210897011.9A CN202210897011A CN115191781B CN 115191781 B CN115191781 B CN 115191781B CN 202210897011 A CN202210897011 A CN 202210897011A CN 115191781 B CN115191781 B CN 115191781B
Authority
CN
China
Prior art keywords
terminal
intelligent mattress
target user
mattress
display screen
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
CN202210897011.9A
Other languages
Chinese (zh)
Other versions
CN115191781A (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 CN202210897011.9A priority Critical patent/CN115191781B/en
Publication of CN115191781A publication Critical patent/CN115191781A/en
Application granted granted Critical
Publication of CN115191781B publication Critical patent/CN115191781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47CCHAIRS; SOFAS; BEDS
    • A47C27/00Spring, stuffed or fluid mattresses or cushions specially adapted for chairs, beds or sofas
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47CCHAIRS; SOFAS; BEDS
    • A47C21/00Attachments for beds, e.g. sheet holders, bed-cover holders; Ventilating, cooling or heating means in connection with bedsteads or mattresses
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47CCHAIRS; SOFAS; BEDS
    • A47C23/00Spring mattresses with rigid frame or forming part of the bedstead, e.g. box springs; Divan bases; Slatted bed bases
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47CCHAIRS; SOFAS; BEDS
    • A47C31/00Details or accessories for chairs, beds, or the like, not provided for in other groups of this subclass, e.g. upholstery fasteners, mattress protectors, stretching devices for mattress nets
    • A47C31/008Use of remote controls
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47CCHAIRS; SOFAS; BEDS
    • A47C31/00Details or accessories for chairs, beds, or the like, not provided for in other groups of this subclass, e.g. upholstery fasteners, mattress protectors, stretching devices for mattress nets
    • A47C31/12Means, e.g. measuring means for adapting chairs, beds or mattresses to the shape or weight of persons
    • A47C31/123Means, e.g. measuring means for adapting chairs, beds or mattresses to the shape or weight of persons for beds or mattresses
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application relates to the technical field of intelligent mattresses, and discloses a picture grabbing method based on an intelligent mattress and related products, wherein the method comprises the following steps: the intelligent mattress detects a first beating moment of a left appointed area of a target user and a second beating moment of a right appointed area of the target user on the intelligent mattress; the intelligent mattress judges whether the interval between the first beating moment and the second beating moment is within a specified interval or not; if yes, sending a picture grabbing instruction to a display screen; the display screen captures an instant picture displayed by the display screen according to the picture capturing instruction and sends the instant picture to the intelligent mattress; and the intelligent mattress receives the instant picture and sends the instant picture to the appointed terminal of the target user. By implementing the embodiment of the application, the instant picture displayed by the display screen can be conveniently and rapidly grabbed without a remote controller, and the experience of a user when using the intelligent mattress is improved.

Description

Picture grabbing method based on intelligent mattress and related products
Technical Field
The application relates to the technical field of intelligent mattresses, in particular to a picture grabbing method based on an intelligent mattress and related products.
Background
Along with the development of science and technology and the improvement of living standard of people, more and more people choose to use intelligent mattresses to improve sleeping comfort. The intelligent mattress adopts the combination of the traditional mattress and modern technology, and can execute corresponding functions according to the requirements of users.
In practice, it is found that if a user wants to capture an instant picture displayed by the display screen when watching the content played by the display screen on the intelligent mattress, the user usually needs to control the display screen to capture through the remote controller, and once the remote controller is broken or is not on the intelligent mattress, the user cannot conveniently capture the instant picture displayed by the display screen.
Disclosure of Invention
The embodiment of the application discloses a picture grabbing method based on an intelligent mattress and related products, which can grab an instant picture displayed by a display screen conveniently and rapidly without a remote controller, and improve the experience of a user when the user uses the intelligent mattress.
An embodiment of the application in a first aspect discloses a picture grabbing method based on an intelligent mattress, the method comprising the following steps:
the intelligent mattress detects a first flapping moment of a left appointed area of a target user and a second flapping moment of a right appointed area of the target user on the intelligent mattress;
The intelligent mattress judges whether the interval between the first beating moment and the second beating moment is within a specified interval or not; if yes, sending a picture grabbing instruction to a display screen, wherein the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen;
and the intelligent mattress receives the instant picture sent by the display screen and sends the instant picture to the appointed terminal of the target user.
As an optional implementation manner, in the first aspect of the embodiment of the present application, before the intelligent mattress detects the first tapping time of the left side designated area of the target user and the second tapping time of the right side designated area of the target user, the method further includes:
the intelligent mattress reads the unique identifier of a certain terminal touching the left appointed area of the target user on the intelligent mattress in a touch reading mode, and reads the unique identifier of the terminal touching the right appointed area of the target user in a touch reading mode;
the intelligent mattress establishes wireless connection with the terminal based on the unique identifier of the terminal; the terminal is used as a designated terminal of the target user.
As another optional implementation manner, in the first aspect of the embodiment of the present application, before the smart mattress reads, by means of touch reading, a unique identifier of a terminal touching a left designated area of a target user on the smart mattress, and reads, by means of touch reading, a unique identifier of the terminal touching a right designated area of the target user, the method further includes:
the intelligent mattress monitors a voice command, and the voice command is used for instructing the intelligent mattress to enter a film watching mode;
the intelligent mattress responds to the voice command to enter a film watching mode;
and the intelligent mattress controls the display screen to start in the film watching mode, and controls the head of the intelligent mattress to be lifted to a specified angle.
As another optional implementation manner, in the first aspect of the embodiment of the present application, after the intelligent mattress establishes the wireless connection with the terminal based on the unique identifier of the terminal, and before the intelligent mattress detects the first tapping time of the left designated area of the target user and the second tapping time of the right designated area of the target user on the intelligent mattress, the method further includes:
The intelligent mattress inquires the hardness grade of the mattress head favored by the target user based on the unique identifier of the terminal;
the intelligent mattress judges whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user; if not, the current hardness level of the head of the intelligent mattress is adjusted to the hardness level of the head of the mattress favored by the target user.
As a further optional implementation manner, in the first aspect of the embodiment of the present application, the unique identifier of the terminal is an international mobile identification code of the terminal, and the intelligent mattress establishes a wireless connection with the terminal based on the unique identifier of the terminal, including:
and broadcasting a hotspot access request containing the international mobile identification code of the terminal and the verification digital sequence by the intelligent mattress, so that the terminal recognizes that the international mobile identification code is the international mobile identification code of the terminal and allows the intelligent mattress to access to the hotspot of the terminal when the verification digital sequence is the same as the hotspot access digital sequence temporarily generated by the terminal, thereby establishing wireless connection between the intelligent mattress and the terminal.
As a further optional implementation manner, in the first aspect of the embodiment of the present application, after the smart mattress reads, by a touch reading manner, a unique identifier of a terminal touching a left designated area of a target user on the smart mattress, and reads, by a touch reading manner, a unique identifier of the terminal touching a right designated area of the target user, and before the smart mattress broadcasts a hotspot access request including an international mobile identification code and a verification number sequence of the terminal, the method further includes:
the intelligent mattress acquires a first distance value between the terminal and the display screen when the terminal touches the left designated area, wherein the first distance value is transmitted by the display screen;
the intelligent mattress acquires a second distance value between the terminal and the display screen when the terminal touches the right designated area, wherein the second distance value is transmitted by the display screen;
the intelligent mattress shifts the numbers contained in the international mobile identification code of the terminal from the left side to the right side according to the first distance value to obtain a first number sequence; according to the second distance value, shifting the numbers contained in the international mobile identification code of the terminal from the right side to the left side to obtain a second digital sequence;
And the intelligent mattress splices the first digital sequence and the second digital sequence to obtain a verification digital sequence.
As a further optional implementation manner, in a first aspect of the embodiment of the present application, the performing, by the intelligent mattress, a shift operation from left to right on numbers included in the international mobile identification code of the terminal according to the first distance value, to obtain a first number sequence includes:
the intelligent mattress determines a first target distance value range containing a first distance value from a plurality of stored distance value ranges; no intersection exists between any two distance value ranges in the plurality of distance value ranges, each distance value range is configured with a number of digital transfers, and the number of digital transfers configured by any two distance value ranges is different from each other;
the intelligent mattress acquires the number of digital transfers configured in the first target distance value range as a first number of digital transfers;
the intelligent mattress starts from the left side of the international mobile identification code of the terminal, shifts the numbers contained in the international mobile identification code one by one to splice with the right side, and stops shifting the numbers until the number of the shifted numbers is equal to the first number shifting number, so as to obtain a first number sequence;
The intelligent mattress carries out shift operation from right side to left side on numbers contained in the international mobile identification code of the terminal according to the second distance value to obtain a second digital sequence, and the intelligent mattress comprises:
the intelligent mattress determines a second target distance value range containing a second distance value from the plurality of distance value ranges;
the intelligent mattress acquires the number of digital transfers configured in the second target distance value range as a second number of digital transfers;
the intelligent mattress starts from the right side of the international mobile identification code of the terminal, shifts the numbers contained in the international mobile identification code one by one to splice with the left side until the number of the shifted numbers is equal to the second number of the numbers to be shifted, and stops shifting the numbers to obtain a second number sequence;
the intelligent mattress splices the first digital sequence and the second digital sequence to obtain a verification digital sequence, and the intelligent mattress comprises:
and the intelligent mattress splices the right side of the first digital sequence with the left side of the second digital sequence to obtain a verification digital sequence.
A second aspect of embodiments of the present application discloses an intelligent mattress, the intelligent mattress comprising:
The intelligent mattress comprises a detection unit, a control unit and a control unit, wherein the detection unit is used for detecting a first beating moment of a left designated area of a target user and a second beating moment of a right designated area of the target user on the intelligent mattress;
a judging unit configured to judge whether an interval between the first flapping time and the second flapping time is within a specified interval;
the first interaction unit is used for sending a picture grabbing instruction to the display screen when the judging unit judges that the interval between the first beating time and the second beating time is within a specified interval, wherein the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen;
the first interaction unit is further used for receiving the instant picture sent by the display screen;
and the second interaction unit is used for sending the instant picture to the appointed terminal of the target user.
A third aspect of embodiments of the present application discloses an intelligent mattress, the intelligent mattress comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the steps of:
Detecting a first beating moment of a left designated area of a target user and a second beating moment of a right designated area of the target user on the intelligent mattress;
judging whether the interval between the first beating time and the second beating time is within a specified interval or not; if yes, sending a picture grabbing instruction to a display screen, wherein the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen;
and receiving the instant picture sent by the display screen, and sending the instant picture to a designated terminal of the target user.
As an optional implementation manner, in the third aspect of the embodiment of the present application, before the processor detects the first tapping time of the left side designated area of the target user and the second tapping time of the right side designated area of the target user on the intelligent mattress, the following steps are further performed:
reading the unique identifier of a certain terminal touching the left appointed area of the target user on the intelligent mattress in a touch reading mode, and reading the unique identifier of the terminal touching the right appointed area of the target user in a touch reading mode;
Based on the unique identification of the terminal, establishing wireless connection with the terminal; the terminal is used as a designated terminal of the target user.
As another optional implementation manner, in the second aspect of the embodiment of the present application, the unique identifier of the terminal is an international mobile identification code of the terminal, and the manner of establishing the wireless connection with the terminal by using the unique identifier of the terminal as a basis is that:
broadcasting a hotspot access request containing the international mobile identification code and the verification digital sequence of the terminal, so that the terminal can identify that the international mobile identification code is the international mobile identification code of the terminal and allow the intelligent mattress to access the hotspot of the terminal when the verification digital sequence is the same as the hotspot access digital sequence temporarily generated by the terminal, thereby establishing wireless connection between the intelligent mattress and the terminal.
As yet another optional implementation manner, in a third aspect of the embodiment of the present application, after the processor reads, by means of touch reading, the unique identifier of a terminal touching a designated area on the left side of the target user on the smart mattress, and reads, by means of touch reading, the unique identifier of the terminal touching a designated area on the right side of the target user, and before broadcasting a hotspot access request including an international mobile identification code and an authentication number sequence of the terminal, the following steps are further performed:
Acquiring a first distance value between the terminal and the display screen when the terminal touches the left designated area, wherein the first distance value is transmitted by the display screen;
acquiring a second distance value between the terminal and the display screen when the terminal touches the right designated area, wherein the second distance value is transmitted by the display screen;
according to the first distance value, carrying out shift operation from left side to right side on the numbers contained in the international mobile identification code of the terminal to obtain a first number sequence; according to the second distance value, shifting the numbers contained in the international mobile identification code of the terminal from the right side to the left side to obtain a second digital sequence;
and splicing the first digital sequence and the second digital sequence to obtain a verification digital sequence.
As yet another optional implementation manner, in a third aspect of the embodiment of the present application, the processor performs a shift operation from left to right on numbers included in the international mobile identity of the terminal according to the first distance value, so as to obtain a first number sequence in a manner that:
determining a first target distance value range containing a first distance value from a plurality of stored distance value ranges; no intersection exists between any two distance value ranges in the plurality of distance value ranges, each distance value range is configured with a number of digital transfers, and the number of digital transfers configured by any two distance value ranges is different from each other;
Acquiring the number of digital transfers configured in the first target distance value range as a first number of digital transfers;
shifting the numbers contained in the international mobile identification code from the left side of the international mobile identification code of the terminal one by one to splice with the right side until the number of the shifted numbers is equal to the first number of the numbers to be shifted, and stopping shifting the numbers to obtain a first number sequence;
the processor performs a shift operation from right side to left side on numbers contained in the international mobile identification code of the terminal according to the second distance value, and a second digital sequence is obtained by the following modes:
determining a second target distance value range containing a second distance value from the plurality of distance value ranges;
acquiring the number of digital transfers configured in the second target distance value range as a second number of digital transfers;
shifting the numbers contained in the international mobile identification code from the right side of the international mobile identification code of the terminal one by one to splice with the left side until the number of the shifted numbers is equal to the second number of the numbers to be shifted, and stopping shifting the numbers to obtain a second number sequence;
the processor splices the first digital sequence and the second digital sequence to obtain a verification digital sequence in the following way:
And splicing the right side of the first digital sequence with the left side of the second digital sequence to obtain a verification digital sequence.
A fourth aspect of the application embodiment discloses a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the intelligent mattress-based picture capture method of the first aspect of the application embodiment or any optional implementation of the first aspect of the application embodiment.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in this embodiment of the application, after detecting the first time of beating of the left appointed area of the target user on the intelligent mattress and the second time of beating of the right appointed area of the target user, if it is determined that the interval between the first time of beating and the second time of beating is within the appointed interval, then the screen grabbing instruction for instructing the display screen to grab the instant screen displayed by the display screen can be sent to the display screen, and the instant screen sent by the display screen can be sent to the appointed terminal of the target user, so that the instant screen displayed by the display screen can be grabbed conveniently and rapidly without a remote controller, and the experience feeling when the user uses the intelligent mattress is improved. In addition, the implementation of the embodiment of the application can expand the functions of the intelligent mattress, promote the intelligent degree of the intelligent mattress and be beneficial to popularization and application of the intelligent mattress.
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 to fig. 4 are schematic flow diagrams of a first embodiment to a fourth embodiment of an intelligent mattress-based picture capturing method disclosed in the embodiments of the present application;
fig. 5 to 8 are schematic structural views of first to fourth embodiments of the intelligent mattress disclosed in the embodiments 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 picture snatchs method and relevant product based on intelligent mattress, can be convenient under the circumstances that need not the remote controller snatch the instant picture that the display screen shows, promote experience when the user uses intelligent mattress and feel, extend the function of intelligent mattress, promote intelligent mattress's intelligent degree, be favorable to intelligent mattress's popularization and application. 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 picture grabbing method based on an intelligent mattress according to an embodiment of the present application. In the picture capturing method based on the intelligent mattress shown in fig. 1, wireless connection can be established between the intelligent mattress and the display screen through bluetooth, local area network or internet of things and the like. As shown in fig. 1, the picture grabbing method based on the intelligent mattress comprises the following steps:
101. the intelligent mattress detects a first time of tapping of a left designated area of a target user and a second time of tapping of a right designated area of the target user on the intelligent mattress.
In some embodiments, the intelligent mattress may be divided into several areas, and a film-type pressure sensor array is laid under each area, and when the intelligent mattress detects that the left palm of the target user is pressed against a certain area located on the left side of the target user by the film-type pressure sensor array laid under the certain area, and also detects that the right palm of the target user is simultaneously pressed against another area located on the right side of the target user by the film-type pressure sensor array laid under the certain area, the intelligent mattress may regard the certain area located on the left side of the target user as a left-side designated area of the target user, and the another area located on the right side of the target user as a right-side designated area of the target user.
On the basis, when the intelligent mattress detects that the left palm of a target user beats the left appointed area through a film type pressure sensor array paved below the left appointed area, the intelligent mattress can pad the first beating moment of the left appointed area, and the first beating moment can also be called as the beating starting moment of the left appointed area; when the intelligent mattress detects that the right palm of the target user beats the right-side designated area through the film-type pressure sensor array laid below the right-side designated area, the intelligent mattress can pad the second beating moment of the right-side designated area, and the second beating moment can also be called as the beating starting moment of the right-side designated area.
102. The intelligent mattress judges whether the interval between the first beating moment and the second beating moment is within a specified interval or not; if yes, executing the steps 103 to 104; if not, the process is ended.
The above specified time interval may be set according to actual needs. The specified time interval may be 1 second, for example.
103. The intelligent mattress sends a picture grabbing instruction to the display screen, and the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen.
104. The intelligent mattress receives the instant picture sent by the display screen and sends the instant picture to the appointed terminal of the target user.
In some embodiments, when the display screen captures an instant picture displayed on the display screen, the instant picture may also be directly sent to the designated terminal of the target user, which is not limited in this embodiment.
By way of example, the target user's designated terminal may include, but is not limited to, the target user's cell phone, tablet, smart watch, phone watch, or smart glasses.
In some embodiments, after the smart mattress receives the instant screen sent by the display screen and sends the instant screen to the designated terminal of the target user, the smart mattress may further perform the following steps:
the intelligent mattress acquires an instant picture sharing instruction sent by a target user control appointed terminal;
the intelligent mattress determines at least one mattress being used by a user from a plurality of surrounding mattresses currently associated with the intelligent mattress according to the instant picture sharing instruction;
the intelligent mattress sends the mattress unique identification of the at least one mattress to a designated terminal of the target user, and detects the mattress unique identification of the target mattress selected by the target user from the mattress unique identifications of the at least one mattress;
The intelligent mattress sends interactive information to the target mattress according to the unique mattress identifier of the target mattress, wherein the interactive information comprises the unique mattress identifier of the intelligent mattress, the identity information of the target user and an inquiry field, and the inquiry field is used for inquiring whether the target user agrees to receive the picture to be shared of the intelligent mattress; the target mattress can send the interaction information to the electronic equipment (such as a mobile phone) of the user using the target mattress, and when the target mattress detects that the electronic equipment of the user using the target mattress is controlled and sent, the response information agreeing to receive the picture to be shared of the target user of the intelligent mattress is sent, the response information is sent to the intelligent mattress;
the intelligent mattress receives the response information sent by the target mattress and sends the instant picture to the target mattress, so that the target mattress can send the instant picture to electronic equipment (such as a mobile phone) of a user using the target mattress, and picture sharing between the target user of the intelligent mattress and the user using the target mattress is achieved.
In some embodiments, after the smart mattress sends the instant picture to the target mattress, a picture sharing completion response may be sent to a designated terminal of the target user, and an intelligent door lock configuration instruction including the instant picture sent by the designated terminal is received, and according to the intelligent door lock configuration instruction, the instant picture is configured to the intelligent door lock as an unlocking legal image of the intelligent door lock associated with the smart mattress, so that the intelligent door lock performs an unlocking operation when an image displayed by an external device (such as an electronic device of a user who is using the target mattress) is verified to be consistent with the unlocking legal image. The implementation of the method enables the target user to flexibly and conveniently configure unlocking legal images for the intelligent door locks associated with the intelligent mattress without leaving the intelligent mattress.
Therefore, the picture grabbing method based on the intelligent mattress shown in the embodiment of fig. 1 can grab the instant picture displayed by the display screen conveniently and rapidly without a remote controller, and the experience of a user when using the intelligent mattress is improved. In addition, the picture grabbing method based on the intelligent mattress shown in the figure 1 can expand the functions of the intelligent mattress, improve the intelligent degree of the intelligent mattress and facilitate popularization and application of the intelligent mattress.
Referring to fig. 2, fig. 2 is a flowchart of a second embodiment of a picture grabbing method based on an intelligent mattress according to an embodiment of the present application. In the picture grabbing method based on the intelligent mattress shown in fig. 2, wireless connection is established between the intelligent mattress and the display screen. As shown in fig. 2, the picture grabbing method based on the intelligent mattress comprises the following steps:
201. the intelligent mattress monitors a voice command, and the voice command is used for instructing the intelligent mattress to enter a film watching mode.
In some embodiments, the intelligent mattress may monitor, via a microphone, a voice command for instructing the intelligent mattress to enter a viewing mode.
202. The intelligent mattress enters a viewing mode in response to the voice command.
203. The intelligent mattress controls the display screen to start in the film watching mode, and controls the head of the intelligent mattress to be lifted to a specified angle.
In some embodiments, after the intelligent mattress controls the display screen to start in the film watching mode, a motor under the intelligent mattress can be controlled to drive the head of the intelligent mattress to lift to a specified angle. Illustratively, the specified angle is approximately 50 °.
204. The intelligent mattress reads the unique identifier of a certain terminal touching the left appointed area of the target user on the intelligent mattress in a touch reading mode, and reads the unique identifier of the terminal touching the right appointed area of the target user in a touch reading mode.
Illustratively, the unique identity of the terminal may include, but is not limited to, a hotspot unique identity of the terminal, an international mobile identity (International Mobile Equipment Identity, IMEI) of the terminal, etc.; wherein, the international mobile identification code is generally composed of 15-17 digits.
205. The intelligent mattress establishes wireless connection with the terminal based on the unique identifier of the terminal; wherein the terminal is designated as the target user.
For example, when the unique identification of the terminal is the unique identification of the terminal's hotspot, the intelligent mattress may access the terminal's hotspot, thereby establishing a wireless connection with the terminal.
The steps 201 to 205 are implemented, so that the target user on the intelligent mattress can establish wireless connection between the intelligent mattress and the terminal only by touching the terminal to the left designated area and the right designated area respectively in the film watching mode, thereby reducing the influence on the film watching of the target user.
206. The intelligent mattress inquires the hardness grade of the head of the mattress favored by the target user based on the unique identification of the terminal.
In the embodiment of the application, the intelligent mattress can record the mapping relation between the unique identification of the terminal and the hardness level of the head of the mattress favored by the target user. Based on the above, the intelligent mattress can query the hardness level of the mattress head favored by the target user from the mapping relation based on the unique identification of the terminal.
207. The intelligent mattress judges whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user; if not, go to step 208-step 210; if yes, go to step 209 to step 210.
208. The intelligent mattress adjusts the current hardness level of the head of the intelligent mattress to the hardness level of the head of the mattress favored by the target user.
The implementation of the steps 206 to 208 can improve the comfort of the target user when capturing the instant picture displayed on the display screen in the viewing mode.
209. The intelligent mattress detects a first time of tapping of a left designated area of a target user and a second time of tapping of a right designated area of the target user on the intelligent mattress.
210. The intelligent mattress judges whether the interval between the first beating moment and the second beating moment is within a specified interval or not; if yes, go to step 211-step 212; if not, the process is ended.
211. The intelligent mattress sends a picture grabbing instruction to the display screen, and the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen.
212. The intelligent mattress receives the instant picture sent by the display screen and sends the instant picture to the appointed terminal of the target user.
Therefore, the picture grabbing method based on the intelligent mattress shown in fig. 2 can be implemented to grab the instant picture displayed by the display screen conveniently and rapidly without a remote controller, and the experience of a user when using the intelligent mattress is improved. In addition, the picture grabbing method based on the intelligent mattress shown in fig. 2 can expand the functions of the intelligent mattress, improve the intelligent degree of the intelligent mattress, and facilitate popularization and application of the intelligent mattress.
Referring to fig. 3, fig. 3 is a flowchart illustrating a third embodiment of a picture grabbing method based on an intelligent mattress according to an embodiment of the present application. As shown in fig. 3, the picture grabbing method based on the intelligent mattress comprises the following steps:
301. the intelligent mattress monitors a voice command, and the voice command is used for instructing the intelligent mattress to enter a film watching mode.
302. The intelligent mattress enters a viewing mode in response to the voice command.
303. The intelligent mattress controls the display screen to start in the film watching mode, and controls the head of the intelligent mattress to be lifted to a specified angle.
304. The intelligent mattress reads the unique identifier of a certain terminal touching the left appointed area of the target user on the intelligent mattress in a touch reading mode, and reads the unique identifier of the terminal touching the right appointed area of the target user in a touch reading mode; wherein the unique identifier of the terminal is an international mobile identity of the terminal.
305. The intelligent mattress broadcasts a hot spot access request containing the international mobile identification code and the verification digital sequence of the terminal, so that the terminal recognizes that the international mobile identification code is the international mobile identification code of the terminal and allows the intelligent mattress to access to the hot spot of the terminal when the verification digital sequence is the same as the hot spot access digital sequence temporarily generated by the terminal, thereby establishing wireless connection between the intelligent mattress and the terminal; wherein the terminal is designated as the target user.
The steps 301 to 305 are implemented, so that the target user on the intelligent mattress can reliably establish wireless connection between the intelligent mattress and the terminal only by touching the terminal to the left designated area and the right designated area respectively in the video watching mode, thereby reducing the influence on the video watching of the target user.
306. The intelligent mattress inquires the hardness grade of the head of the mattress favored by the target user based on the unique identification of the terminal.
307. The intelligent mattress judges whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user; if not, go to step 308-step 310; if yes, go to step 309 to step 310.
308. The intelligent mattress adjusts the current hardness level of the head of the intelligent mattress to the hardness level of the head of the mattress favored by the target user
309. The intelligent mattress detects a first time of tapping of a left designated area of a target user and a second time of tapping of a right designated area of the target user on the intelligent mattress.
310. The intelligent mattress judges whether the interval between the first beating moment and the second beating moment is within a specified interval or not; if yes, go to step 311-step 312; if not, the process is ended.
311. The intelligent mattress sends a picture grabbing instruction to the display screen, and the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen.
312. The intelligent mattress receives the instant picture sent by the display screen and sends the instant picture to the appointed terminal of the target user.
Therefore, the picture grabbing method based on the intelligent mattress shown in fig. 3 can be implemented to grab the instant picture displayed by the display screen conveniently and rapidly without a remote controller, and the experience of a user when using the intelligent mattress is improved. In addition, the picture grabbing method based on the intelligent mattress shown in fig. 3 can expand the functions of the intelligent mattress, improve the intelligent degree of the intelligent mattress, and facilitate popularization and application of the intelligent mattress.
Referring to fig. 4, fig. 4 is a flowchart of a fourth embodiment of a picture grabbing method based on an intelligent mattress according to an embodiment of the present application. As shown in fig. 4, the picture grabbing method based on the intelligent mattress comprises the following steps:
steps 401 to 404 are the same as steps 301 to 304 in the previous embodiment, and will not be repeated here.
405. The intelligent mattress acquires a first distance value between the terminal and the display screen when the terminal touches a left designated area of a target user on the intelligent mattress, wherein the first distance value is transmitted by the display screen; and acquiring a second distance value between the terminal and the display screen when the terminal touches the right designated area of the target user, wherein the second distance value is transmitted by the display screen.
In this embodiment of the present application, when the terminal touches a left designated area of a target user on the intelligent mattress, the terminal and the display screen may mutually measure a first distance value between the terminal and the display screen, that is, when the terminal touches the left designated area of the target user on the intelligent mattress, the first distance value between the terminal and the display screen measured by the terminal is equal to the first distance value between the terminal and the display screen measured by the display screen. Illustratively, when the terminal touches a designated area on the left side of a target user on the intelligent mattress, the terminal and the display screen may mutually measure a first distance value therebetween through Ultra Wideband (UWB) technology.
Likewise, when the terminal touches the right designated area of the target user on the intelligent mattress, the terminal and the display screen may mutually measure a second distance value between the terminal and the display screen, that is, when the terminal touches the right designated area of the target user on the intelligent mattress, the second distance value between the terminal and the display screen measured by the terminal is equal to the second distance value between the terminal and the display screen measured by the display screen. For example, when the terminal touches a right designated area of a target user on the intelligent mattress, the terminal and the display screen can mutually measure a first distance value between the terminal and the display screen through UWB technology.
The UWB technology is a well-known ranging technology based on a two-way time of flight (TW-TOF), and the embodiments of the present application will not be described herein.
406. The intelligent mattress carries out shifting operation from left side to right side on the numbers contained in the international mobile identification code of the terminal according to the first distance value to obtain a first number sequence; and performing a shift operation from the right side to the left side on the numbers contained in the international mobile identification code of the terminal according to the second distance value to obtain a second digital sequence.
In some embodiments, the intelligent mattress performs a shift operation from left to right on the numbers included in the international mobile identification code of the terminal according to the first distance value, and obtaining the first number sequence may include the following steps:
11 The intelligent mattress determines a first target distance value range containing a first distance value from a plurality of stored distance value ranges; wherein, no intersection exists between any two distance value ranges in the plurality of distance value ranges, each distance value range is configured with a number of digital transitions, and the number of digital transitions configured by any two distance value ranges is different from each other;
12 The intelligent mattress obtains the number of digital transfers configured in the first target distance value range as a first number of digital transfers;
13 The intelligent mattress starts from the left side of the international mobile identification code of the terminal, shifts the numbers contained in the international mobile identification code one by one to splice with the right side, and stops shifting the numbers until the number of the shifted numbers is equal to the first number of the numbers to obtain a first number sequence.
Illustratively, assuming that the terminal's international mobile identity is 868585059129039 and the first number of digits is 8, the intelligent mattress may, starting from the left side of the terminal's international mobile identity 868585059129039, shift the digits contained in the international mobile identity 868585059129039 one by one into concatenation with the right side until the number of shifted digits equals 8, stop shifting digits to obtain the first sequence of digits 912903986858505.
In some embodiments, the intelligent mattress performs a shift operation from right to left on the number included in the international mobile identity of the terminal according to the second distance value, and obtaining the second digital sequence may include the following steps:
21 Determining a second target distance value range containing a second distance value from the plurality of distance value ranges by the intelligent mattress;
22 The intelligent mattress obtains the number of digital transfers configured in the second target distance value range as a second number of digital transfers;
23 The intelligent mattress starts from the right side of the international mobile identification code of the terminal, shifts the numbers contained in the international mobile identification code one by one to splice with the left side until the number of the shifted numbers is equal to the number of the second digital transfer, and stops transferring the numbers to obtain a second digital sequence.
Illustratively, assuming that the terminal's international mobile identity is 868585059129039 and the first number of digits is 9, the intelligent mattress may, starting from the right side of the terminal's international mobile identity 868585059129039, shift the digits contained in the international mobile identity 868585059129039 one by one to splice with the left side until the number of shifted digits equals 9, stop shifting digits to obtain the second sequence of digits 059129039868585.
407. And the intelligent mattress splices the first digital sequence and the second digital sequence to obtain a verification digital sequence.
In some embodiments, the intelligent mattress concatenates the first digital sequence with the second digital sequence to obtain the verification digital sequence, comprising:
And the intelligent mattress splices the right side of the first digital sequence with the left side of the second digital sequence to obtain a verification digital sequence.
Illustratively, assuming that the first digital sequence is 912903986858505 and the second digital sequence is 059129039868585, the intelligent mattress concatenates the right side of the first digital sequence 912903986858505 with the left side of the second digital sequence 059129039868585 to yield the verification digital sequence 912903986858505059129039868585.
408. The intelligent mattress broadcasts a hot spot access request containing the international mobile identification code and the verification digital sequence of the terminal, so that the terminal recognizes that the international mobile identification code is the international mobile identification code of the terminal and allows the intelligent mattress to access to the hot spot of the terminal when the verification digital sequence is the same as the hot spot access digital sequence temporarily generated by the terminal, thereby establishing wireless connection between the intelligent mattress and the terminal; wherein the terminal is designated as the target user.
In this embodiment of the present application, the method for temporarily generating the hotspot access digital sequence by the terminal may include the following steps:
31 The terminal determines the first target distance value range containing the first distance value from the stored plurality of distance value ranges;
32 The terminal obtains the number of digital transfers configured in the first target distance value range as a first number of digital transfers;
33 The terminal shifts the numbers contained in the international mobile identity one by one from the left side of the international mobile identity of the terminal to splice with the right side until the number of the shifted numbers equals to the first number of the number shift, and stops shifting the numbers to obtain a first number sequence.
Illustratively, assuming that the terminal's international mobile identity is 868585059129039 and the first number of digits is 8, the terminal may start from the left side of the terminal's international mobile identity 868585059129039, shift digits contained in the international mobile identity 868585059129039 one by one to splice with the right side, and stop shifting digits until the number of shifted digits equals 8, to obtain the first digit sequence 912903986858505.
34 The terminal determines a second target distance value range containing the second distance value from the plurality of distance value ranges;
35 The terminal obtains the number of digital transfers configured in the second target distance value range as a second number of digital transfers;
36 The terminal shifts the digits contained in the international mobile identity one by one from the right side of the international mobile identity of the terminal to splice with the left side until the number of shifted digits equals the number of second digits shifts, and stops shifting digits to obtain a second digit sequence.
Illustratively, assuming that the terminal's international mobile identity is 868585059129039 and the first number of digits is 9, the terminal may shift the digits contained in the international mobile identity 868585059129039 one by one from the right side of the terminal's international mobile identity 868585059129039 to splice with the left side until the number of shifted digits equals 9, stopping shifting digits to obtain the second digit sequence 059129039868585.
37 The terminal splices the first digital sequence and the second digital sequence, thereby temporarily generating a hot spot access digital sequence.
Illustratively, assuming a first digital sequence of 912903986858505 and a second digital sequence of 059129039868585, the terminal may splice the right side of the first digital sequence 912903986858505 to the left side of the second digital sequence 059129039868585 to temporarily generate a hotspot access digital sequence 912903986858505059129039868585.
The steps 405 to 408 are implemented to enable the target user on the intelligent mattress to reliably establish wireless connection between the intelligent mattress and the terminal only by touching the terminal to the left designated area and the right designated area respectively in the film watching mode, so that the influence on the film watching of the target user can be reduced, and the reliability of the hot spot of the intelligent mattress connected to the terminal can be improved.
409. The intelligent mattress inquires the hardness grade of the head of the mattress favored by the target user based on the unique identification of the terminal.
410. The intelligent mattress judges whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user; if not, go to step 411-step 413; if yes, go to step 412 to step 413.
411. The intelligent mattress adjusts the current hardness level of the head of the intelligent mattress to the hardness level of the head of the mattress favored by the target user
412. The intelligent mattress detects a first time of tapping of a left designated area of a target user and a second time of tapping of a right designated area of the target user on the intelligent mattress.
413. The intelligent mattress judges whether the interval between the first beating moment and the second beating moment is within a specified interval or not; if yes, go to step 414 to step 415; if not, the process is ended.
414. The intelligent mattress sends a picture grabbing instruction to the display screen, and the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen.
415. The intelligent mattress receives the instant picture sent by the display screen and sends the instant picture to the appointed terminal of the target user.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a first embodiment of an intelligent mattress disclosed in an embodiment of the present application. As shown in fig. 5, the intelligent mattress includes:
a detection unit 501 for detecting a first tapping time of a left designated area of a target user and a second tapping time of a right designated area of the target user on the intelligent mattress;
a judging unit 502 for judging whether the interval between the first beating time and the second beating time is within a specified interval;
a first interaction unit 503, configured to send a frame grabbing instruction to the display screen when the judging unit 502 judges that the interval between the first tapping time and the second tapping time is within the specified interval, where the frame grabbing instruction is used to instruct the display screen to grab an instant frame displayed on the display screen;
the first interaction unit 503 is further configured to receive an instant picture sent by the display screen;
and a second interaction unit 504, configured to send the instant screen to the specified terminal of the target user.
Therefore, the intelligent mattress shown in the embodiment of fig. 5 can conveniently grab the instant picture displayed by the display screen without a remote controller, and the experience of a user when using the intelligent mattress is improved. In addition, the intelligent mattress shown in fig. 5 also expands the instant picture grabbing function of the display screen, improves the intelligent degree and is beneficial to popularization and application.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a second embodiment of the intelligent mattress disclosed in the embodiments of the present application. Wherein the intelligent mattress shown in fig. 6 is optimized from the intelligent mattress shown in fig. 5. In comparison to the intelligent mattress of fig. 5, the intelligent mattress of fig. 6 may further include:
a reading unit 505, configured to, before the detecting unit 501 detects a first tapping time of a left designated area of a target user on the intelligent mattress and a second tapping time of a right designated area of the target user, read a unique identifier of a terminal touching the left designated area of the target user on the intelligent mattress by a touch reading manner, and read a unique identifier of the terminal touching the right designated area of the target user by the touch reading manner;
a connection unit 506, configured to establish a wireless connection with the terminal based on the unique identifier of the terminal; wherein the terminal is designated as the target user.
In some embodiments, the intelligent mattress shown in fig. 6 further comprises:
the monitoring unit 507 is configured to monitor a voice command before the reading unit 505 reads, by means of touch reading, a unique identifier of a terminal touching a designated area on the left side of the target user on the intelligent mattress, and reads, by means of touch reading, a unique identifier of the terminal touching a designated area on the right side of the target user, where the voice command is used to instruct the intelligent mattress to enter a movie viewing mode;
A control unit 508 for controlling the intelligent mattress to enter a viewing mode in response to the voice command;
the control unit 508 is further used for controlling the display screen to be started in the film watching mode and controlling the head of the intelligent mattress to be lifted to a specified angle.
In some embodiments, the intelligent mattress shown in fig. 6 further comprises:
the query unit 509 is further configured to query, by using the unique identifier of the terminal as a basis, a hardness level of a mattress head favored by the target user after the connection unit 506 establishes wireless connection with the terminal and before the detection unit 401 detects a first time of tapping the left designated area of the target user and a second time of tapping the right designated area of the target user on the intelligent mattress;
a judging unit 510, configured to judge whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user;
the control unit 508 is further configured to adjust the current hardness level of the head of the intelligent mattress to the hardness level of the head of the mattress preferred by the target user when the judging unit 510 judges that the current hardness level of the head of the intelligent mattress is not equal to the hardness level of the head of the mattress preferred by the target user.
The intelligent mattress shown in fig. 6 can establish wireless connection with the terminal only by touching the left designated area and the right designated area of the target user at the terminal respectively, so that influence on the viewing of the target user can be reduced.
In addition, the implementation of the intelligent mattress shown in fig. 6 can also improve the comfort of a target user when capturing the instant picture displayed by the display screen in the film watching mode.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a third embodiment of an intelligent mattress disclosed in an embodiment of the present application. Wherein the intelligent mattress shown in fig. 7 is optimized from the intelligent mattress shown in fig. 6. In the intelligent mattress shown in fig. 7, the connection unit 506 includes:
and a broadcasting subunit 5061, configured to broadcast a hotspot access request including the international mobile identifier of the terminal and the verification number sequence, so that the terminal recognizes that the international mobile identifier is the international mobile identifier of the terminal itself, and verifies that the verification number sequence is identical to the hotspot access number sequence temporarily generated by the terminal, and allows the intelligent mattress to access the hotspot of the terminal, thereby establishing a wireless connection between the intelligent mattress and the terminal.
In some embodiments, the connection unit 506 further includes:
An obtaining subunit 5062, configured to obtain, after the reading unit 505 reads, by means of touch reading, a unique identifier of a terminal touching a left specified area of a target user on the intelligent mattress and reads, by means of touch reading, a unique identifier of the terminal touching a right specified area of the target user, a first distance value sent by a display screen and between the terminal and the display screen when the terminal touches the left specified area; acquiring a second distance value between the terminal and the display screen when the terminal touches a right designated area, wherein the second distance value is transmitted by the display screen;
a shifting subunit 5063, configured to perform a shifting operation from left to right on numbers included in the international mobile identifier of the terminal according to the first distance value, to obtain a first number sequence; and performing a shift operation from the right side to the left side on the numbers contained in the international mobile identification code of the terminal according to the second distance value to obtain a second digital sequence;
a splicing subunit 5064, configured to splice the first digital sequence and the second digital sequence to obtain a verification digital sequence.
In some embodiments, the shifting subunit 5063 performs a shifting operation from left to right on the digits included in the international mobile identity of the terminal according to the first distance value, so as to obtain the first digit sequence in the following manner:
Determining a first target distance value range containing a first distance value from a plurality of stored distance value ranges; wherein, there is no intersection between any two distance value ranges in the above-mentioned several distance value ranges, and each distance value range configures a number of digital transitions, and the number of digital transitions configured by any two distance value ranges is different from each other;
acquiring the number of digital transfers configured in the first target distance value range as a first number of digital transfers;
and starting from the left side of the international mobile identification code of the terminal, shifting the numbers contained in the international mobile identification code one by one to splice with the right side, and stopping shifting the numbers until the number of the shifted numbers is equal to the first number of numbers to obtain a first number sequence.
In some embodiments, the mobile subunit performs a shift operation from right to left on the digits included in the international mobile identity of the terminal according to the second distance value, so as to obtain the second digit sequence in a manner that:
determining a second target distance value range containing a second distance value from the plurality of distance value ranges;
acquiring the number of digital transfers configured in the second target distance value range as a second number of digital transfers;
And starting from the right side of the international mobile identification code of the terminal, shifting the numbers contained in the international mobile identification code one by one to splice with the left side until the number of the shifted numbers is equal to the second number of the number shifts, and stopping shifting the numbers to obtain a second digital sequence.
In some embodiments, the stitching subunit 5064 stitches the first digital sequence with the second digital sequence to obtain the verification digital sequence in the following manner:
and splicing the right side of the first digital sequence with the left side of the second digital sequence to obtain the verification digital sequence.
The implementation of the intelligent mattress shown in fig. 7 may further improve the reliability of the hot spot of the intelligent mattress accessing the terminal.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a fourth embodiment of an intelligent mattress disclosed in an embodiment of the present application. As shown in fig. 8, the intelligent mattress includes:
a memory 801 storing executable program code;
a processor 802 coupled to the memory;
the processor 802 calls executable program code stored in the memory 801, performing the steps of:
detecting a first beating moment of a left designated area of a target user and a second beating moment of a right designated area of the target user on the intelligent mattress;
Judging whether the interval between the first beating time and the second beating time is within a specified interval or not; if yes, sending a picture grabbing instruction to the display screen, wherein the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen;
and receiving the instant picture sent by the display screen, and sending the instant picture to the appointed terminal of the target user.
In some embodiments, the processor 802 further performs the following steps before detecting a first time of tapping of a left designated area of a target user and a second time of tapping of a right designated area of the target user on the intelligent mattress:
reading the unique identifier of a certain terminal of the left appointed area of the target user on the touch intelligent mattress in a touch reading mode, and reading the unique identifier of the terminal of the right appointed area of the target user in a touch reading mode;
based on the unique identification of the terminal, establishing wireless connection with the terminal; wherein the terminal is used as a designated terminal of the target user.
In some embodiments, the processor 802 further performs the following steps before reading the unique identifier of a terminal touching the left designated area of the target user on the smart mattress by touch reading, and reading the unique identifier of the terminal touching the right designated area of the target user by touch reading:
Monitoring a voice command, wherein the voice command is used for commanding the intelligent mattress to enter a film watching mode;
controlling the intelligent mattress to enter a film watching mode in response to the voice command;
and controlling the display screen to start in the film watching mode, and controlling the head of the intelligent mattress to be lifted to a specified angle.
In some embodiments, after the processor 802 establishes a wireless connection with the terminal based on the unique identification of the terminal and before the processor 802 detects a first time of tapping of the left designated area of the target user and a second time of tapping of the right designated area of the target user on the intelligent mattress, the following steps are further performed:
inquiring the hardness grade of the head of the mattress favored by the target user based on the unique identification of the terminal;
judging whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user; if not, the current hardness level of the head of the intelligent mattress is adjusted to the hardness level of the head of the mattress favored by the target user.
In some embodiments, the unique identifier of the terminal is an international mobile identity of the terminal, and the processor 802 establishes a wireless connection with the terminal based on the unique identifier of the terminal by:
Broadcasting a hotspot access request comprising the international mobile identification code and the verification digital sequence of the terminal, so that the terminal recognizes that the international mobile identification code is the international mobile identification code of the terminal and verifies that the verification digital sequence is identical to the hotspot access digital sequence temporarily generated by the terminal, and the intelligent mattress is allowed to access the hotspot of the terminal, thereby establishing wireless connection between the intelligent mattress and the terminal.
In some embodiments, the processor 802 further performs the following steps after reading the unique identifier of a terminal touching the designated area on the left side of the target user on the smart mattress by touch reading, and reading the unique identifier of the terminal touching the designated area on the right side of the target user by touch reading, and before broadcasting a hot spot access request including the international mobile identification code and the verification number sequence of the terminal:
acquiring a first distance value between the terminal and the display screen when the terminal touches a left designated area, wherein the first distance value is transmitted by the display screen;
acquiring a second distance value between the terminal and the display screen when the terminal touches a right designated area, wherein the second distance value is transmitted by the display screen;
according to the first distance value, shifting the numbers contained in the international mobile identification code of the terminal from the left side to the right side to obtain a first number sequence; and performing a shift operation from the right side to the left side on the numbers contained in the international mobile identification code of the terminal according to the second distance value to obtain a second digital sequence;
And splicing the first digital sequence and the second digital sequence to obtain a verification digital sequence.
In some embodiments, the processor 802 performs a shift operation from left to right on the digits included in the international mobile identity of the terminal according to the first distance value, to obtain the first digit sequence in the following manner:
determining a first target distance value range containing a first distance value from a plurality of stored distance value ranges; wherein, no intersection exists between any two distance value ranges in the plurality of distance value ranges, each distance value range is configured with a number of digital transitions, and the number of digital transitions configured by any two distance value ranges is different from each other;
acquiring the number of digital transfers configured in the first target distance value range as a first number of digital transfers;
and starting from the left side of the international mobile identification code of the terminal, shifting the numbers contained in the international mobile identification code one by one to splice with the right side, and stopping shifting the numbers until the number of the shifted numbers is equal to the first number of numbers to obtain a first number sequence.
In some embodiments, the processor 802 performs a shift operation from right to left on the digits included in the international mobile identity of the terminal according to the second distance value, to obtain the second digit sequence in the following manner:
Determining a second target distance value range containing a second distance value from the plurality of distance value ranges;
acquiring the number of digital transfers configured in the second target distance value range as a second number of digital transfers;
and starting from the right side of the international mobile identification code of the terminal, shifting the numbers contained in the international mobile identification code one by one to splice with the left side until the number of the shifted numbers is equal to the second number of the number shifts, and stopping shifting the numbers to obtain a second digital sequence.
In some embodiments, the processor 802 concatenates the first digital sequence with the second digital sequence to obtain the verification digital sequence in the following manner:
and splicing the right side of the first digital sequence with the left side of the second digital sequence to obtain the verification digital sequence.
In some embodiments, after the processor 8002 receives the instant screen sent by the display screen and sends the instant screen to the designated terminal of the target user, the following steps may be further performed:
acquiring an instant picture sharing instruction sent by a target user control appointed terminal;
determining at least one mattress being used by a user from a plurality of surrounding mattresses currently associated with the intelligent mattress according to the instant picture sharing instruction;
Transmitting the mattress unique identifier of the at least one mattress to a designated terminal of the target user, and detecting the mattress unique identifier of the target mattress selected by the target user from the mattress unique identifiers of the at least one mattress;
according to the unique mattress identifier of the target mattress, transmitting interaction information to the target mattress, wherein the interaction information comprises the unique mattress identifier of the intelligent mattress, the identity information of the target user and an inquiry field, and the inquiry field is used for inquiring whether to agree to receive the picture to be shared of the target user of the intelligent mattress; the target mattress can send the interaction information to the electronic equipment (such as a mobile phone) of the user using the target mattress, and when the target mattress detects that the electronic equipment of the user using the target mattress is controlled and sent, the response information agreeing to receive the picture to be shared of the target user of the intelligent mattress is sent, the response information is sent to the intelligent mattress;
and after receiving the response information sent by the target mattress, sending the instant picture to the target mattress, so that the target mattress can send the instant picture to electronic equipment (such as a mobile phone) of a user using the target mattress, thereby realizing picture sharing across mattresses between the target user of the intelligent mattress and the user using the target mattress.
In some embodiments, after the processor 802 sends the instant screen to the target mattress, a screen sharing completion response may be sent to a designated terminal of the target user, and an intelligent door lock configuration instruction including the instant screen sent by the designated terminal is received, and according to the intelligent door lock configuration instruction, the instant screen is configured as an unlocking legal image of an intelligent door lock associated with the intelligent mattress to the intelligent door lock, so that the intelligent door lock performs an unlocking operation when an image displayed by an external device (such as an electronic device of a user who is using the target mattress) is verified to be consistent with the unlocking legal image.
Therefore, the intelligent mattress shown in the implementation figure 8 can conveniently grab the instant picture displayed by the display screen under the condition of not needing a remote controller, and the experience of a user when using the intelligent mattress is improved. In addition, the intelligent mattress shown in fig. 7 also expands the instant picture grabbing function of the display screen, improves the intelligent degree and is beneficial to popularization and application. In addition, the intelligent mattress shown in fig. 8 can establish wireless connection with the terminal only by touching the left designated area and the right designated area of the target user at the terminal respectively, so that influence on the viewing of the target user can be reduced.
In addition, the intelligent mattress shown in fig. 8 can also improve the comfort of a target user when capturing the instant picture displayed by the display screen in the film watching mode.
The implementation of the intelligent mattress shown in fig. 8 may further improve the reliability of the hot spot of the intelligent mattress accessing the terminal.
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 above describes in detail a picture capturing method based on an intelligent mattress and related products, and specific examples are applied to illustrate the principles and embodiments of the present application, and the above description of the examples is only used to help understand the method and core ideas of the present application; 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. An intelligent mattress-based picture grabbing method is characterized by comprising the following steps:
the intelligent mattress detects a first flapping moment of a left appointed area of a target user and a second flapping moment of a right appointed area of the target user on the intelligent mattress;
The intelligent mattress judges whether the interval between the first beating moment and the second beating moment is within a specified interval or not; if yes, sending a picture grabbing instruction to a display screen, wherein the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen;
the intelligent mattress receives the instant picture sent by the display screen and sends the instant picture to a designated terminal of the target user;
the intelligent mattress detects a first time of tapping of a left designated area of a target user and a second time of tapping of a right designated area of the target user on the intelligent mattress, the method further comprising:
the intelligent mattress reads the unique identifier of a certain terminal touching the left appointed area of the target user on the intelligent mattress in a touch reading mode, and reads the unique identifier of the terminal touching the right appointed area of the target user in a touch reading mode;
the intelligent mattress establishes wireless connection with the terminal based on the unique identifier of the terminal; the terminal is used as a designated terminal of the target user.
2. The picture grabbing method as claimed in claim 1, wherein the intelligent mattress reads the unique identifier of a terminal touching a left designated area of a target user on the intelligent mattress by a touch reading method, and before the unique identifier of the terminal touching a right designated area of the target user is read by a touch reading method, the method further comprises:
the intelligent mattress monitors a voice command, and the voice command is used for instructing the intelligent mattress to enter a film watching mode;
the intelligent mattress responds to the voice command to enter a film watching mode;
and the intelligent mattress controls the display screen to start in the film watching mode, and controls the head of the intelligent mattress to be lifted to a specified angle.
3. The picture grabbing method as claimed in claim 2, wherein the intelligent mattress is based on the unique identification of the terminal, after establishing a wireless connection with the terminal, and before the intelligent mattress detects a first time of tapping a left side designated area of a target user and a second time of tapping a right side designated area of the target user on the intelligent mattress, the method further comprising:
The intelligent mattress inquires the hardness grade of the mattress head favored by the target user based on the unique identifier of the terminal;
the intelligent mattress judges whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user; if not, the current hardness level of the head of the intelligent mattress is adjusted to the hardness level of the head of the mattress favored by the target user.
4. A picture grabbing method according to any one of claims 1-3, wherein the unique identifier of the terminal is an international mobile identification code of the terminal, and the intelligent mattress establishes a wireless connection with the terminal based on the unique identifier of the terminal, and the method comprises:
and broadcasting a hotspot access request containing the international mobile identification code of the terminal and the verification digital sequence by the intelligent mattress, so that the terminal recognizes that the international mobile identification code is the international mobile identification code of the terminal and allows the intelligent mattress to access to the hotspot of the terminal when the verification digital sequence is the same as the hotspot access digital sequence temporarily generated by the terminal, thereby establishing wireless connection between the intelligent mattress and the terminal.
5. The picture grabbing method as claimed in claim 4, wherein after the intelligent mattress reads the unique identifier of a terminal touching a left designated area of a target user on the intelligent mattress by a touch reading method and reads the unique identifier of the terminal touching a right designated area of the target user by a touch reading method, and before the intelligent mattress broadcasts a hotspot access request including an international mobile identification code and a verification number sequence of the terminal, the method further comprises:
the intelligent mattress acquires a first distance value between the terminal and the display screen when the terminal touches the left designated area, wherein the first distance value is transmitted by the display screen;
the intelligent mattress acquires a second distance value between the terminal and the display screen when the terminal touches the right designated area, wherein the second distance value is transmitted by the display screen;
the intelligent mattress shifts the numbers contained in the international mobile identification code of the terminal from the left side to the right side according to the first distance value to obtain a first number sequence; according to the second distance value, shifting the numbers contained in the international mobile identification code of the terminal from the right side to the left side to obtain a second digital sequence;
And the intelligent mattress splices the first digital sequence and the second digital sequence to obtain a verification digital sequence.
6. An intelligent mattress, the intelligent mattress comprising:
a memory storing executable program code; a processor coupled to the memory; the processor invokes the executable program code stored in the memory to perform the steps of:
detecting a first beating moment of a left designated area of a target user and a second beating moment of a right designated area of the target user on the intelligent mattress;
judging whether the interval between the first beating time and the second beating time is within a specified interval or not; if yes, sending a picture grabbing instruction to a display screen, wherein the picture grabbing instruction is used for instructing the display screen to grab an instant picture displayed by the display screen;
receiving the instant picture sent by the display screen, and sending the instant picture to a designated terminal of the target user;
the processor further performs the following steps before detecting a first time of tapping of a left designated area of a target user and a second time of tapping of a right designated area of the target user on the intelligent mattress:
Reading the unique identifier of a certain terminal touching the left appointed area of the target user on the intelligent mattress in a touch reading mode, and reading the unique identifier of the terminal touching the right appointed area of the target user in a touch reading mode;
based on the unique identification of the terminal, establishing wireless connection with the terminal; the terminal is used as a designated terminal of the target user.
7. The intelligent mattress of claim 6, wherein the processor further performs the following steps before reading by touch the unique identifier of a terminal touching the designated area on the left side of the target user on the intelligent mattress and reading by touch the unique identifier of the terminal touching the designated area on the right side of the target user:
monitoring a voice command, wherein the voice command is used for instructing the intelligent mattress to enter a film watching mode;
controlling the intelligent mattress to enter a film watching mode in response to the voice command;
and controlling the display screen to start in the film watching mode, and controlling the head of the intelligent mattress to be lifted to a specified angle.
8. The intelligent mattress of claim 7, wherein the processor, upon the unique identification of the terminal, after establishing a wireless connection with the terminal and before the processor detects a first time of slapping the left designated area of the target user and a second time of slapping the right designated area of the target user on the intelligent mattress, further performs the steps of:
Inquiring the hardness grade of the head of the mattress favored by the target user according to the unique identifier of the terminal;
judging whether the current hardness level of the head of the intelligent mattress is equal to the hardness level of the head of the mattress favored by the target user; if not, the current hardness level of the head of the intelligent mattress is adjusted to the hardness level of the head of the mattress favored by the target user.
9. The intelligent mattress according to any of the claims 6-8, wherein the unique identifier of the terminal is an international mobile identity of the terminal, and the processor is configured to establish a wireless connection with the terminal based on the unique identifier of the terminal by:
broadcasting a hotspot access request containing the international mobile identification code and the verification digital sequence of the terminal, so that the terminal can identify that the international mobile identification code is the international mobile identification code of the terminal and allow the intelligent mattress to access the hotspot of the terminal when the verification digital sequence is the same as the hotspot access digital sequence temporarily generated by the terminal, thereby establishing wireless connection between the intelligent mattress and the terminal.
10. The intelligent mattress according to claim 9, wherein the processor reads the unique identifier of a terminal touching the designated area on the left side of the target user on the intelligent mattress by touch reading, reads the unique identifier of the terminal touching the designated area on the right side of the target user by touch reading, and performs the following steps before broadcasting the hotspot access request including the international mobile identification code and the verification number sequence of the terminal:
acquiring a first distance value between the terminal and the display screen when the terminal touches the left designated area, wherein the first distance value is transmitted by the display screen;
acquiring a second distance value between the terminal and the display screen when the terminal touches the right designated area, wherein the second distance value is transmitted by the display screen;
according to the first distance value, carrying out shift operation from left side to right side on the numbers contained in the international mobile identification code of the terminal to obtain a first number sequence; according to the second distance value, shifting the numbers contained in the international mobile identification code of the terminal from the right side to the left side to obtain a second digital sequence;
And splicing the first digital sequence and the second digital sequence to obtain a verification digital sequence.
11. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the intelligent mattress-based picture capture method of any of claims 1 to 5.
CN202210897011.9A 2022-07-28 2022-07-28 Picture grabbing method based on intelligent mattress and related products Active CN115191781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210897011.9A CN115191781B (en) 2022-07-28 2022-07-28 Picture grabbing method based on intelligent mattress and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210897011.9A CN115191781B (en) 2022-07-28 2022-07-28 Picture grabbing method based on intelligent mattress and related products

Publications (2)

Publication Number Publication Date
CN115191781A CN115191781A (en) 2022-10-18
CN115191781B true CN115191781B (en) 2023-07-21

Family

ID=83585023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210897011.9A Active CN115191781B (en) 2022-07-28 2022-07-28 Picture grabbing method based on intelligent mattress and related products

Country Status (1)

Country Link
CN (1) CN115191781B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104322058A (en) * 2012-06-27 2015-01-28 英特尔公司 Multiple-frame screenshot
CN104684465A (en) * 2012-07-12 2015-06-03 菲力尔系统公司 Infant monitoring systems and methods using thermal imaging

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5489443B2 (en) * 2008-10-10 2014-05-14 株式会社岡村製作所 Body pressure distribution display system
CN101816495A (en) * 2010-03-27 2010-09-01 邢秋平 Automatic temperature-controlled bamboo-jade composite mattress
TW201238582A (en) * 2011-02-07 2012-10-01 Ergomotion Inc Mattress retainer system for an adjustable bed reference to related applications
CN104023248A (en) * 2014-06-25 2014-09-03 北京奇艺世纪科技有限公司 Video screen capturing method and device
CN104156066B (en) * 2014-07-29 2019-02-12 杨松 The methods, devices and systems of intelligent mobile terminal wireless receiving upload data
TWI574230B (en) * 2015-07-28 2017-03-11 由田新技股份有限公司 Apparatus to prevent falling and operation method thereof
CN105117007B (en) * 2015-08-20 2019-02-12 小米科技有限责任公司 Show control method, device and the intelligent pad of equipment
CN105554210A (en) * 2015-12-15 2016-05-04 天脉聚源(北京)传媒科技有限公司 Method and device of information interaction between mobile devices
TWI663936B (en) * 2016-12-16 2019-07-01 床的世界股份有限公司 Smart bed and its controlling process
CN107041650A (en) * 2017-02-28 2017-08-15 东莞市慕思寝室用品有限公司 One kind is according to the adjustable intelligent mattress of sleeping position
CN107276863A (en) * 2017-07-18 2017-10-20 东莞市慕思寝室用品有限公司 Intelligent bed pad control method and intelligent mattress
US10925410B2 (en) * 2018-01-26 2021-02-23 MedicusTek, Inc. Mattress with sensor module for patient care
CN109124166A (en) * 2018-07-24 2019-01-04 深圳市赛亿科技开发有限公司 Intelligent mattress and its management-control method, electronic equipment and storage medium
CN109619847A (en) * 2018-12-24 2019-04-16 邯郸百世创联电子科技有限公司 One kind for crouch it is indoor can speech-sound intelligent wardrobe
WO2021179252A1 (en) * 2020-03-12 2021-09-16 深圳市三分之一睡眠科技有限公司 Display system and method for smart adjustable mattress experience
CN111956001A (en) * 2020-08-18 2020-11-20 东莞市慕思寝室用品有限公司 Control method of intelligent mattress, device and storage medium
CN112732975B (en) * 2020-12-31 2023-02-24 杭州海康威视数字技术股份有限公司 Object tracking method and device, electronic equipment and system
CN113995599A (en) * 2021-11-15 2022-02-01 宁波市医疗中心李惠利医院 Hospital patient position acquisition pad, position management system and position management method
CN114241739B (en) * 2022-01-05 2023-06-23 慕思健康睡眠股份有限公司 Intelligent bed and intelligent home system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104322058A (en) * 2012-06-27 2015-01-28 英特尔公司 Multiple-frame screenshot
CN104684465A (en) * 2012-07-12 2015-06-03 菲力尔系统公司 Infant monitoring systems and methods using thermal imaging

Also Published As

Publication number Publication date
CN115191781A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
US11477508B2 (en) Portable terminal, information processing apparatus, content display system and content display method
KR101895743B1 (en) Method and apparatus for obtaining permissions
US8180287B2 (en) Portable terminal
CN105187871B (en) A kind of method and system of the mobile terminal data transmission television terminal based on NFC
CN105187282A (en) Method, device, system and equipment for controlling intelligent household equipment
US10353561B2 (en) Method and apparatus for generating or using interaction activity information
CN115191781B (en) Picture grabbing method based on intelligent mattress and related products
CN115842724A (en) Intelligent device initial configuration method, intelligent device and terminal device
CN108353362A (en) System message method of reseptance and system message reception device
JP2014158088A (en) Information processing device
CN109257831B (en) Method for establishing connection between terminals and terminal
JP6212615B2 (en) Display device
WO2023016289A1 (en) Remote identity authentication method and related device
JP2020120295A (en) Communication device, control method of the same, and program
JP2018060546A (en) Display device

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