Intelligent splicing method and system of mattress and sofa and related products
Through communication and command control between the mattress and the sofa, intelligent splicing of the mattress and sofa is realized, solving the problem of laborious manual operation and improving the comfort and convenience of home life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGGUAN DERUCCI BEDDING CO LTD
- Filing Date
- 2023-12-14
- Publication Date
- 2026-05-12
AI Technical Summary
Existing multifunctional sofas require manual operation when folding and unfolding, which is laborious and inconvenient, making it difficult to achieve intelligent splicing of mattresses and sofas.
Through the communication connection between the mattress and the sofa, the mattress receives the splicing instructions and sends instructions to the sofa, causing the sofa to move to the designated position and rise to the height of the mattress in a sofa bed manner to splice with the mattress. Indicator lights and scanning equipment are used to ensure accurate splicing.
It enables intelligent splicing of mattresses and sofas without manual operation, improving the comfort and convenience of home life.
Smart Images

Figure CN117731133B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mattress technology, and in particular to an intelligent splicing method, system and related products for mattresses and sofas. Background Technology
[0002] Multifunctional sofas on the market function as sofas when folded up and can be used as temporary beds when unfolded, integrating sofa and bed functions for convenient home life. In some applications, such as when a mattress needs to be joined with the sofa to temporarily widen the bed, the user needs to manually push the sofa to the desired position and manually unfold it for the connection, which is relatively laborious. Summary of the Invention
[0003] This application discloses an intelligent splicing method, system, and related products for mattresses and sofas, which are used to realize intelligent splicing of mattresses and sofas and are simple and convenient to operate.
[0004] The first aspect of this application discloses an intelligent splicing method for a mattress and a sofa, applied to a mattress, the method comprising:
[0005] Obtain a splicing instruction, the splicing instruction being used to instruct the sofa and the mattress to be spliced together, and the splicing instruction carrying the height of the mattress;
[0006] The splicing command is sent to the sofa connected in communication, so that after receiving the splicing command, the sofa moves to a designated position and opens up to raise to the height of the mattress in a sofa bed manner to splice with the mattress. The designated position is an area on the ground below one side of the mattress that is pre-designated for placing the sofa.
[0007] As an optional implementation, in the first aspect of the embodiments of this application, before sending the splicing instruction to the sofa with which the communication is connected, the method further includes:
[0008] Send an acquisition command to the sofa with the communication connection;
[0009] Receive the sofa bed dimensions of the sofa returned by the sofa according to the acquisition instruction, the sofa bed dimensions including the length and width of the sofa when presented as a sofa bed;
[0010] The indicator light on the mattress is controlled to illuminate the designated location on the ground. The length and width of the designated location are equal to the length and width of the sofa when it is presented as a sofa bed.
[0011] As an optional implementation, in the first aspect of this application embodiment, the control is set after the indicator light on the mattress indicates the designated position on the ground and before the splicing command is sent to the sofa with communication connection. The method further includes:
[0012] The scanning device installed on the mattress scans the designated location indicated by the light to see if there is an obstacle. If so, a prompt to remove it is issued.
[0013] As an optional implementation, in the first aspect of the embodiments of this application, after sending the splicing command to the sofa with the communication connection, the method further includes:
[0014] Detect whether the sofa has been moved to the designated position;
[0015] If the sofa is not moved to the designated position, a control command is sent to the sofa to move it to the designated position; or a reminder is issued that the sofa has not been moved.
[0016] As an optional implementation, in the first aspect of the embodiments of this application, detecting whether the sofa has moved to the designated position includes:
[0017] The scanning device installed on the mattress detects whether a sofa is stationary at the designated location indicated by the light. If so, the sofa label of the sofa is scanned by the scanning device, the sofa identifier is read from the sofa label, and it is determined whether the sofa identifier of the sofa matches the pre-stored identifier. If they match, the sofa is moved to the designated location.
[0018] Alternatively, detect whether the sofa has received a positioning information, and when the positioning information is received, determine that the sofa has moved to the designated position, wherein the positioning information is a confirmation message sent by the sofa to the mattress after it has moved to the designated position.
[0019] The second aspect of this application discloses an intelligent splicing method for a mattress and a sofa, applied to a sofa, the method comprising:
[0020] The sofa receives a splicing instruction sent by a mattress connected via a communication link. The splicing instruction is used to instruct the sofa to be spliced with the mattress, and the splicing instruction carries the height of the mattress.
[0021] Upon receiving the splicing instruction, the sofa is moved to the designated location and opened to rise to the height of the mattress in a sofa bed configuration, splicing with the mattress. The designated location is a pre-defined area on the ground below one side of the mattress for placing the sofa.
[0022] As an optional implementation, in the second aspect of the embodiments of this application, before receiving the splicing instruction sent by the mattress connected in the communication connection, the method further includes:
[0023] Receive an acquisition command sent by the mattress connected in the communication connection;
[0024] According to the acquisition instruction, the sofa bed dimensions of the sofa are sent to the mattress. The sofa bed dimensions include the length and width of the sofa when presented as a sofa bed, so that the mattress controls the indicator light set on the mattress to indicate the designated position on the ground with light. The length and width of the designated position are equal to the length and width of the sofa when presented as a sofa bed.
[0025] As an optional implementation, in a second aspect of the embodiments of this application, the step of moving to a designated position and opening the sofa bed to raise it to the height of the mattress after receiving the splicing instruction, and splicing it with the mattress, includes:
[0026] Upon receiving the splicing instruction, the sofa is controlled to move to the designated position indicated by the light, and then the sofa is controlled to open to present a sofa bed and then raised to the height of the mattress to splice with the mattress.
[0027] As an optional implementation, in a second aspect of the embodiments of this application, after receiving the splicing instruction, moving to a designated position and opening the sofa bed to raise to the height of the mattress for splicing with the mattress, the method further includes:
[0028] The sofa sends a positioning message to the mattress, which is a confirmation message sent to the mattress after the sofa has moved to the designated position, so that the mattress can determine that the sofa has moved to the designated position based on the positioning message.
[0029] The third aspect of this application discloses an intelligent splicing system for mattresses and sofas, comprising:
[0030] A mattress is used to receive a splicing instruction, the splicing instruction being used to instruct the sofa to be spliced with the mattress, and the splicing instruction carrying the height of the mattress; and to send the splicing instruction to the sofa in communication connection, so that after receiving the splicing instruction, the sofa moves to a designated position and unfolds the sofa to be raised to the height of the mattress in a sofa bed manner to be spliced with the mattress, the designated position being a pre-designated area on the ground below one side of the mattress for placing the sofa;
[0031] The sofa is used to receive the splicing instruction sent by the mattress, and, after receiving the splicing instruction, to move to the designated position and unfold to rise to the height of the mattress in a sofa bed manner to splice with the mattress.
[0032] A fourth aspect of this application discloses a mattress that may include:
[0033] Memory containing executable program code;
[0034] A processor coupled to the memory;
[0035] The processor calls the executable program code stored in the memory to execute the intelligent splicing method for mattresses and sofas disclosed in the first aspect of the present invention.
[0036] A fifth aspect of this application discloses a sofa, which may include:
[0037] Memory containing executable program code;
[0038] A processor coupled to the memory;
[0039] The processor calls the executable program code stored in the memory to execute a method for intelligent splicing of a mattress and a sofa disclosed in the second aspect of the present invention.
[0040] The sixth aspect of this application discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a method for intelligently assembling a mattress and a sofa disclosed in the first aspect of this invention.
[0041] The seventh aspect of this application discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a method for intelligently assembling a mattress and a sofa disclosed in the second aspect of this invention.
[0042] Compared with the prior art, the embodiments of this application have the following beneficial effects:
[0043] In this embodiment, the mattress and sofa are communicatively connected. The mattress receives a splicing instruction, which carries the mattress's height. The splicing instruction is used to instruct the sofa to be spliced with the mattress. The mattress then sends the splicing instruction to the sofa. After receiving the splicing instruction, the sofa moves to a designated position and then opens to raise to the height of the mattress in a sofa bed configuration, splicing with the mattress. The designated position is a pre-defined area on the ground below one side of the mattress for placing the sofa. Through this embodiment, after receiving the splicing instruction, the mattress sends the splicing instruction to the sofa, controlling the sofa to intelligently complete the splicing with the mattress without manual splicing. This helps to realize intelligent home living and improves the comfort and convenience of home life. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 1 of this application;
[0046] Figure 2 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 2 of this application;
[0047] Figure 3 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 3 of this application;
[0048] Figure 4 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 4 of this application;
[0049] Figure 5 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 5 of this application;
[0050] Figure 6 This is an interactive schematic diagram of the intelligent splicing method for mattresses and sofas disclosed in an embodiment of this application;
[0051] Figure 7 This is a schematic diagram of the mattress structure disclosed in Embodiment 1 of this application;
[0052] Figure 8 This is a schematic diagram of the mattress structure disclosed in Embodiment 2 of this application;
[0053] Figure 9 This is a schematic diagram of the structure of the sofa disclosed in Embodiment 1 of this application;
[0054] Figure 10 This is a schematic diagram of the intelligent splicing system for mattresses and sofas disclosed in an embodiment of this application;
[0055] Figure 11 This is a schematic diagram of the mattress structure disclosed in Embodiment 3 of this application;
[0056] Figure 12 This is a structural schematic diagram of the sofa disclosed in Embodiment 2 of this application. Detailed Implementation
[0057] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0058] It should be noted that the terms "first," "second," "third," and "fourth," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order. The terms "comprising" and "having," and any variations thereof, in the embodiments of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices.
[0059] For example, the mattress disclosed in this application is a smart mattress. The mattress includes a main body, which may include a first mattress layer and a second mattress layer from top to bottom. The first mattress layer is provided with a fabric layer, a latex layer and a hard layer from top to bottom, and the second mattress layer is provided with a spring mesh layer and a sponge layer from top to bottom. The first mattress layer and the second mattress layer are detachably connected.
[0060] A control module can be installed within the mattress body. This control module integrates a microprocessor and may include one or more processing units, such as an application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), microcontroller unit (MCU), video codec, digital signal processor (DSP), etc. Different processing units can be independent devices or integrated into one or more processors. In some embodiments, the processor may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, and / or a universal serial bus (USB) interface, etc.
[0061] The mattress is equipped with a scanning device on its side or on the bed frame that is used to place the mattress. The scanning device is connected to the control module and can be used to scan graphic codes (such as barcodes) on some labels to read graphic code information (such as product identification) and to scan to detect whether there are obstacles in a certain area.
[0062] Indicator lights can also be installed on the side of the mattress or on the bed frame used to place the mattress. The indicator lights are connected to the control module, which can control the indicator lights to emit light to indicate the location, etc.
[0063] The mattress also has a mattress label on the side. You can scan the mattress label with a mobile device (such as a smartphone) to identify the graphic code in the mattress label and enter the mattress settings interface. In the settings interface, you can add the mattress to the smart home wireless network, and you can also set up the mattress to match and connect with the display screen set on the bed frame, the display screen set on the wall, or the smart TV. You can also detect sofas that are also connected to the same wireless network through the settings interface, and realize the communication connection between the mattress and the sofa based on the same wireless network to complete the matching association between the mattress and the sofa.
[0064] A control panel can also be installed on the side of the mattress, or it can be installed on the bed frame that matches the mattress. The control panel is connected to the control module. The control panel has several buttons, such as buttons for connecting the mattress to a sofa, adjusting the mattress height, adjusting mattress parameters (e.g., thickness) for different zones, and volume buttons. These buttons can be mechanical or touch-sensitive. The control panel can receive user button input and generate key signals related to user settings and function control.
[0065] The mattress is also equipped with a microphone, which allows for voice control of the mattress.
[0066] In the main body of the mattress, there is a coir fiber padding layer between the latex layer and the hard layer. The coir fiber padding layer has a certain degree of breathability and inhibits bacteria.
[0067] The spring mesh layer can be made of high-carbon steel springs with high elasticity and sufficient strength.
[0068] A mite-proof layer can also be installed between the fabric layer and the latex layer to prevent mites from harming the human body.
[0069] Pressure sensors and humidity sensors can also be distributed within the latex layer. The pressure sensors can be used to detect the pressure on the mattress to detect the distribution of the human body on the mattress, and the humidity sensors can detect the humidity of the mattress to analyze whether water has seeped into the mattress.
[0070] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the mattress. In other embodiments of this application, the mattress may include more or fewer components, or combine some components, or separate some components, or have different component arrangements. The connection relationships between the components are merely illustrative and do not constitute a structural limitation on the mattress.
[0071] For example, the sofa provided in this application embodiment is a multifunctional sofa, which includes a sofa bed frame and a sofa backrest frame, and the sofa bed frame and sofa backrest frame are rotatably connected. When the sofa is used as a regular sofa, the angle between the sofa backrest frame and the sofa bed frame is between 90 degrees and 180 degrees. When the sofa is used as a sofa bed, the sofa backrest frame can rotate to form a horizontal plane with the sofa bed frame, thus becoming a complete bed surface.
[0072] The sofa may also include armrests on both sides of the sofa bed, wherein the armrests are rotatably connected to the sofa bed. When the sofa is used as a regular sofa, the armrests are vertically fixed to both sides of the sofa bed. When the sofa is used as a sofa bed, the armrests can be rotated and retracted into the sofa bed after they are on the same horizontal plane as the sofa bed.
[0073] The sofa bed can also be fitted with several legs, and the bottom of the legs is equipped with movable casters.
[0074] The sofa bed also has a lifting mechanism inside that drives the bed surface to rise and fall, as well as a drive mechanism that drives the movable casters to move.
[0075] The sofa bed frame or sofa backrest is also equipped with a sofa tag. You can scan the sofa tag with a mobile device (such as a smartphone) to identify the graphic code in the sofa tag and enter the sofa's settings interface. In the settings interface, you can add the sofa to the smart home wireless network. You can also detect mattresses that are also added to the same wireless network through the settings interface. Based on the same wireless network, the mattress and sofa can communicate and connect to each other, thus completing the matching and association between the mattress and sofa.
[0076] The sofa bed can also have a built-in microphone, which can be used to control the sofa by voice.
[0077] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the sofa. In other embodiments of this application, the sofa may include more or fewer components, or combine some components, or separate some components, or have different component arrangements. The connection relationships between the components are only illustrative and do not constitute a structural limitation on the sofa.
[0078] This application discloses an intelligent splicing method, system, and related products for mattresses and sofas, which can realize the intelligent splicing of mattresses and sofas, help to realize intelligent home living, and improve the comfort and convenience of home life.
[0079] like Figure 1 As shown, Figure 1 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 1 of this application; Figure 1 The intelligent splicing method for mattresses and sofas shown is explained from the perspective of the mattress. This method may include:
[0080] 101. The mattress receives a splicing instruction, which instructs the sofa and mattress to be spliced together, and the splicing instruction includes the height of the mattress.
[0081] The execution subject of this application embodiment is a mattress, executively, as described above.
[0082] The aforementioned splicing instruction carries the height of the mattress, instructing the sofa and mattress to be spliced together. The purpose of this splicing is to widen the bed and improve sleep comfort. It should be noted that the mattress height in this embodiment refers to the height of the upper surface of the mattress from the ground, not the thickness of the mattress. For example, when the mattress is placed on a bed frame, the mattress height is actually the sum of the height of the bed frame base used to hold the mattress and the thickness of the mattress.
[0083] Optionally, the above-mentioned splicing instructions may include:
[0084] The mattress detects whether it has received a trigger operation from the splicing button on the control panel on the side of the mattress. The splicing button can be a mechanical button or a touch button. The trigger operation can be a pressing operation on the mechanical button or a touching operation on the touch button. When the trigger operation is detected, it is determined that a splicing trigger command has been received, the height of the mattress is obtained, and a splicing command carrying the height of the mattress is generated.
[0085] In the above method, the user triggers the splicing command by setting a splicing button on the side of the mattress. In other words, in this embodiment of the application, the user only needs to trigger the splicing button to splice the sofa and the mattress, which is simple and convenient.
[0086] Alternatively, the mattress can detect whether it has received a voice command input from the user. If a voice command input is received, it can identify whether the meaning of the voice command indicates that the mattress should be joined to the sofa. If so, it can obtain the height of the mattress and generate a joining instruction that includes the height of the mattress.
[0087] In the above method, users can send voice commands to the mattress to instruct it to be assembled with the sofa without the user having to do anything.
[0088] Furthermore, obtaining the height of the mattress can include: detecting the distance between the upper surface of the mattress and the ground using sensors built into the mattress, and saving this as the mattress height; or, when the mattress is placed directly on the ground, obtaining the current thickness of the mattress as the mattress height and saving this as the mattress height; or, when the mattress is placed on a bed frame, obtaining the sum of the height of the base on the bed frame used to place the mattress and the current thickness of the mattress as the mattress height and saving this as the mattress height.
[0089] In the above method, the height of the mattress can be accurately obtained to ensure that the height of the sofa and mattress is consistent after they are assembled.
[0090] 102. The mattress sends a splicing instruction to the sofa connected to the communication network, so that after receiving the splicing instruction, the sofa moves to the designated position and opens up to raise to the height of the mattress in a sofa bed manner to splice with the mattress. The designated position is an area on the ground below one side of the mattress that is designated in advance for placing the sofa.
[0091] Optionally, a mattress label is also provided on the side of the mattress. Scanning the graphic code on the mattress label with a mobile device accesses the mattress's settings interface, where the mattress is connected to the wireless network. A sofa label is also provided on the sofa. Scanning the sofa label with a mobile device connects the sofa to the same wireless network. After the mattress is connected to the wireless network, it searches for the sofa. Upon finding the sofa, the mattress sends a connection request. If the mattress receives confirmation from the sofa, a communication connection is established, and the mattress obtains the sofa's identifier. The mattress identifier is then associated with the sofa identifier, thus matching and storing the association between the mattress and sofa. By establishing this communication connection, the mattress can send a connection command to the sofa, allowing control of the sofa through the mattress.
[0092] Correspondingly, after receiving the splicing instruction, the sofa moves to the designated position, then unfolds, transforming from a sofa presentation mode to a sofa bed presentation mode, and then rises to the height of the mattress to splice with the mattress, thereby widening the width of the mattress.
[0093] Optionally, users can access the mattress settings interface to specify a location. In this interface, the mattress retrieves a global map of the living space based on user input. This global map is a 3D high-definition map of the house, displaying the room layout, facilities, and their placement at a 1:1 scale. It receives a designated area on the ground below one side of the mattress shown on the global map, identifies this area, and determines it as the designated location for the sofa. This designated location is then marked on the global map and saved. Through this implementation, users can access the mattress settings interface and specify a location to achieve accurate placement, improving the seamless integration of the mattress and sofa.
[0094] Alternatively, the mattress can activate a scanning device on its side based on user input. This device scans and identifies the area indicated by the user on the ground beneath one side of the mattress, and then marks that area in a stored global map to obtain a global map indicating the specified location. The user can activate the scanning device via voice input, a button on the control panel, or a settings interface. This implementation allows for accurate location indication, facilitating seamless integration between the mattress and sofa.
[0095] The specific location indicated by the user on the ground below one side of the mattress can be determined based on the maximum length and width of the sofa when it is presented as a sofa bed.
[0096] Furthermore, after marking the designated location in the global map, if the mattress and sofa establish a communication connection, the global map is sent to the sofa. After receiving the global map, the sofa saves it locally, realizing the synchronization of information between the mattress and the sofa. This clarifies the specific location of the designated location between the two, improving the accuracy of the stitching.
[0097] In the above embodiments, the mattress receives a splicing instruction, which carries the mattress's height. The splicing instruction is used to instruct the sofa to be spliced with the mattress. Then, the splicing instruction is sent to the sofa, which is connected to the communication network, so that after receiving the splicing instruction, the sofa moves to a designated position and then opens to raise to the height of the mattress in a sofa bed manner to splice with the mattress. The designated position is a pre-designated area on the ground below one side of the mattress for placing the sofa. Through this embodiment, after the mattress receives the splicing instruction, it sends the splicing instruction to the sofa to control the sofa to intelligently complete the splicing with the mattress without manual splicing, which helps to realize intelligent home living and improve the comfort and convenience of home life.
[0098] like Figure 2 As shown, Figure 2 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 2 of this application; Figure 2 The intelligent splicing method for mattresses and sofas shown is explained from the perspective of the mattress. This method may include:
[0099] 201. The mattress receives a splicing instruction, which instructs the sofa and mattress to be spliced together, and the splicing instruction includes the height of the mattress.
[0100] The execution subject of this application embodiment is a mattress, executively, as described above.
[0101] The aforementioned splicing instruction carries the height of the mattress, instructing the sofa and mattress to be spliced together. The purpose of this splicing is to widen the bed and improve sleep comfort. It should be noted that the mattress height in this embodiment refers to the height of the upper surface of the mattress from the ground, not the thickness of the mattress. For example, when the mattress is placed on a bed frame, the mattress height is actually the sum of the height of the bed frame base used to hold the mattress and the thickness of the mattress.
[0102] 202. The mattress sends an acquisition command to the sofa connected to the communication network.
[0103] The aforementioned acquisition instruction is used to instruct the acquisition of sofa bed dimensions from the sofa, the sofa bed dimensions including the length and width of the sofa when presented as a sofa bed.
[0104] 203. The mattress receives the sofa bed dimensions returned by the sofa according to the acquisition command.
[0105] The mattress obtains the sofa bed dimensions from the sofa by sending a command to retrieve the sofa bed dimensions.
[0106] 204. The mattress control is set with an indicator light on the mattress to indicate a designated position on the ground. The length and width of the designated position are equal to the length and width of the sofa when it is presented as a sofa bed.
[0107] Optionally, the indicator light can be located on the side of the mattress, or on the bed frame where the mattress is located and connected to the mattress's control module.
[0108] Furthermore, step 204 may include: after the mattress obtains the sofa bed dimensions, acquiring a locally saved global map, and based on a specified location in the global map, controlling an indicator light on the side of the mattress to illuminate the specified location on the ground corresponding to the sofa bed dimensions. This specified location is a rectangle with length x width, the same length and width as the sofa when presented as a sofa bed. In this method, indicating the specified location with the indicator light provides clear guidance to the sofa, directing it accurately to a position where it can be properly joined with the mattress.
[0109] Furthermore, the mattress control settings, with indicator lights on the mattress illuminating a designated location on the ground corresponding to the sofa bed's dimensions, can include: based on a globally mapped location, determining a first long line on the ground directly below the edge of one side of the mattress, the length of which is equal to the length of the sofa bed's dimensions; using this first long line as a long side of the designated location on the ground, extending away from the mattress, to define the designated location on a flat surface; and then controlling the indicator lights to illuminate the designated location along its four sides. Specifically, the lights only illuminate the four sides of the designated location. This implementation, using lights to indicate the four sides of the designated location, guides the sofa to move accurately to the designated position, improving the accuracy of the fit and achieving a seamless connection between the mattress and sofa, thus enhancing sleep comfort.
[0110] It should be noted that, for the sake of sleep comfort, in the embodiments of this application, the mattress and sofa can be joined by either the long side of the mattress to the long side of the sofa, or the wide side of the mattress to the wide side of the sofa.
[0111] 205. The mattress sends a splicing command to the sofa connected to the communication network, so that after receiving the splicing command, the sofa moves to the designated position indicated by the light and opens up to raise to the height of the mattress in a sofa bed manner to splice with the mattress.
[0112] In steps 202-205 above, the mattress is obtained by directly acquiring the length and width of the sofa when it is presented as a sofa bed, and then using lights to indicate the corresponding designated positions. Optionally, in another embodiment of this application, steps 202-205 can be implemented in the following way:
[0113] The mattress sends size constraint information to the sofa connected to the communication network. This size constraint information includes a specified sofa bed size, which is the length and width of the sofa when presented as a sofa bed, as specified by the mattress. The length is less than or equal to the maximum length and width of the sofa when presented as a sofa bed. The mattress obtains a global map and controls an indicator light set on the mattress to illuminate the area corresponding to the specified sofa bed size at a designated location on the global map. The mattress sends a splicing command to the sofa connected to the communication network. Upon receiving the splicing command, the sofa moves to the area indicated by the light and unfolds into a sofa bed, with its length and width matching the size constraint information. It also rises to the height of the mattress to splice with the mattress.
[0114] In the above implementation, the mattress itself can specify the length and width of the sofa to be spliced and presented as a sofa bed, realizing intelligent splicing of free dimensions and greater flexibility.
[0115] Optionally, after performing step 204 and before performing step 205, a scanning device installed on the mattress scans the designated location indicated by the light to check for any obstacles. If an obstacle is found, a removal prompt is issued. This removal prompt can be a voice prompt or a flashing indicator light at the designated location. In this embodiment, before the mattress sends the assembly command to the sofa, it can scan for obstacles. If an obstacle is found, the user is prompted to move it to another location to ensure the designated location is free, facilitating the movement of the sofa.
[0116] As can be seen, by implementing the above embodiments, after the mattress receives the splicing instruction, it first sends an acquisition instruction to the sofa to obtain the sofa bed size from the sofa. Then, based on the sofa bed size, it uses indicator lights on the ground to indicate a pre-set designated position matching the sofa bed size. Then, it sends a splicing instruction to the sofa so that after receiving the splicing instruction, the sofa moves to the designated position and then opens to raise to the height of the mattress in a sofa bed presentation mode to splice with the mattress. Through this embodiment, the mattress can use lights to indicate the designated position of the sofa bed size, which is intuitive and clear, allowing the sofa to move accurately to the designated position. At the same time, only sending a splicing instruction to the sofa can control the sofa to intelligently complete the splicing with the mattress, eliminating the need for manual splicing. This helps to realize intelligent home living and improve the comfort and convenience of home life.
[0117] like Figure 3 As shown, Figure 3 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 3 of this application; Figure 3 The intelligent splicing method for mattresses and sofas shown is explained from the perspective of the mattress. This method may include:
[0118] 301. The mattress receives a splicing instruction, which instructs the sofa and mattress to be spliced together, and the splicing instruction includes the height of the mattress.
[0119] 302. The mattress sends an acquisition command to the sofa connected to the communication network.
[0120] 303. The mattress receives the sofa bed dimensions of the sofa returned by the acquisition instruction, which include the length and width of the sofa when presented as a sofa bed.
[0121] 304. The mattress control is set with an indicator light on the mattress to indicate a designated position on the ground. The length and width of the designated position are equal to the length and width of the sofa when it is presented as a sofa bed.
[0122] 305. The mattress sends a splicing command to the sofa connected to the communication network, so that after receiving the splicing command, the sofa moves to the designated position indicated by the light and opens up to raise to the height of the mattress in a sofa bed manner to splice with the mattress.
[0123] Steps 301-305 are the same as steps 201-205 in the above embodiment, and will not be repeated here.
[0124] 306. Check if the mattress has been moved to the designated position; if not, proceed to step 307; if it has been moved, end this process.
[0125] 307. The mattress sends control commands to the sofa to move the sofa to a designated position.
[0126] In step 305, a splicing command is sent to the sofa, instructing it to automatically splice with the mattress. In steps 306-307, after detecting that the sofa has not moved to the designated position, the mattress sends a control command to the sofa, directly controlling the sofa's movement, further optimizing the mattress's control function over the sofa.
[0127] Optionally, the mattress can issue a reminder when it detects that the sofa has not been moved to the designated position. For example, it can provide a voice prompt or use an indicator light to flash at the designated position as a reminder.
[0128] Optionally, detecting whether the sofa has moved to the specified position in step 306 above may include:
[0129] The scanning device installed on the mattress detects whether the sofa to be identified is at the designated position indicated by the light. If so, the scanning device scans the sofa label of the sofa to be identified, reads the sofa identification from the sofa label, and determines whether the sofa identification matches the pre-stored identification. If they match, the sofa is moved to the designated position.
[0130] Alternatively, detect whether a positioning message sent by the sofa has been received, and if the positioning message is received, determine that the sofa has moved to the designated position. This positioning message is a confirmation message sent by the sofa to the mattress after it has moved to the designated position.
[0131] When matching and associating a mattress with a sofa, the association between the mattress's identifier and the sofa's identifier is saved, with the sofa's identifier serving as a pre-stored identifier. In the above embodiment, the mattress's scanning device detects a sofa at a designated location, scans the sofa's tag to read its identifier, and compares the scanned sofa identifier with the pre-stored identifier. If they match, it is confirmed that the sofa is at the designated location. The mattress itself detects whether the sofa is at the designated location using the sofa's tag, which is convenient and quick.
[0132] Alternatively, the sofa can automatically send a positioning message to the mattress after moving to the designated location, notifying the mattress that it has been moved to the designated position.
[0133] As can be seen, in the above embodiment, the mattress uses lights to indicate the designated position of the sofa bed, which is intuitive and clear, allowing the sofa to be accurately moved to the designated position. Secondly, simply sending a splicing command to the sofa allows for intelligent splicing with the mattress, eliminating the need for manual assembly and contributing to smart home living, improving comfort and convenience. Finally, the mattress can also detect when the sofa has moved to the designated position to determine if the intelligent splicing has been successfully completed. The entire process is fully intelligent, contributing to the realization of smart home living.
[0134] like Figure 4 As shown, Figure 4 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 4 of this application; Figure 4 The intelligent splicing method for the mattress and sofa shown is explained from the perspective of the sofa and may include:
[0135] 401. The sofa receives a splicing instruction sent by the mattress via a communication connection. The splicing instruction is used to instruct the sofa to be spliced with the mattress, and the splicing instruction carries the height of the mattress.
[0136] The execution subject of this application embodiment is a sofa, exemplified by the sofa described above.
[0137] The sofa provided in this embodiment has a sofa tag. A mobile terminal scans the sofa tag to access the sofa's settings interface. In the settings interface, the sofa can search for local wireless networks and then add them to the network. Upon receiving a connection request from a mattress that has also joined the wireless network, the sofa sends a confirmation message to the mattress, establishing a communication connection. Alternatively, it can send a connection request to a mattress that has also joined the wireless network, and upon receiving a confirmation message from the mattress, establish a communication connection. The sofa can also send its own sofa identifier to the mattress and obtain the mattress's identifier, storing the association between the sofa identifier and the mattress identifier in the sofa.
[0138] When the sofa and mattress are connected, the sofa checks whether it has received a splicing instruction from the mattress. If a splicing instruction is received, step 402 is executed. The splicing instruction is used to instruct the sofa and mattress to be spliced together, and the splicing instruction carries the height of the mattress.
[0139] 402. After receiving the assembly instruction, the sofa moves to the designated position and opens up to the height of the mattress in the form of a sofa bed, assembling with the mattress. The designated position is the area on the ground below one side of the mattress that is designated for placing the sofa.
[0140] The specified location mentioned above is received from the mattress after the sofa and mattress establish a communication connection. The mattress marks the specified location on the global map and then sends it to the sofa. The sofa receives the global map and saves it locally, achieving information synchronization between the mattress and sofa. This clarifies the specific location of the specified position between the two, improving the accuracy of the stitching.
[0141] Optionally, after receiving the assembly instruction, the sofa may move to the designated position and unfold to rise to the height of the mattress in a sofa bed configuration to assemble with the mattress.
[0142] After receiving the splicing instruction, the sofa reads the saved global map and obtains its current position, which is its specific location within the house as presented on the global map. Based on this current position and the designated location marked on the global map, the sofa's movement route is determined (the movement route can be determined on the global map). The starting point of the movement route is the sofa's current position, and the ending point is the designated location. The internal drive mechanism drives the movable rollers at the bottom of the support legs to move to the designated location according to the movement route. Once the designated location is reached, the sofa backrest is rotated to be level with the sofa bed frame to obtain the overall bed surface. The sofa armrests are also rotated to be level with the sofa bed frame and then retracted into the sofa bed frame. If the bed surface and mattress are not at the same height, the lifting mechanism raises the bed surface to the height of the mattress for splicing.
[0143] Through the above implementation method, the sofa can determine its movement route to a designated location based on its current location and a global map of the house. Combined with the sofa's intelligent functions such as mobility, folding, height adjustment, etc., it can accurately connect with the mattress. The whole process is intelligent, wireless and manual, improving the comfort and convenience of home life.
[0144] Further optionally, the sofa may use an internal drive mechanism to move movable casters at the bottom of its legs to a designated position according to a specified path, which may include:
[0145] As the sofa moves via its internal drive mechanism that powers the movable wheels at the bottom of its legs, a global map is used to guide its movement through voice prompts, guiding it to the designated position. If the sofa deviates from the path during movement, voice prompts and controls the movable wheels to return it to the correct position. This voice guidance improves the accuracy of the movement.
[0146] In the above embodiments, the sofa receives a splicing instruction, which carries the height of the mattress. The splicing instruction is used to instruct the sofa and mattress to be spliced together, moved to a designated position, and then the sofa is opened and raised to the height of the mattress in a sofa bed manner to be spliced together with the mattress. The designated position is an area on the ground below one side of the mattress that is pre-designated for placing the sofa. In this embodiment, after the mattress receives the splicing instruction, it sends the splicing instruction to the sofa to control the sofa to intelligently complete the splicing with the mattress without manual splicing, which helps to realize intelligent home living and improve the comfort and convenience of home life.
[0147] like Figure 5 As shown, Figure 5 This is a flowchart illustrating the intelligent splicing method for mattresses and sofas disclosed in Embodiment 5 of this application; Figure 5 The intelligent splicing method for the mattress and sofa shown is explained from the perspective of the sofa. The method includes:
[0148] 501. The sofa receives the acquisition command sent by the mattress connected to the communication link.
[0149] The aforementioned acquisition instruction is used to instruct the acquisition of sofa bed dimensions from the sofa, the sofa bed dimensions including the length and width of the sofa when presented as a sofa bed.
[0150] 502. The sofa sends the sofa bed dimensions to the mattress according to the acquired instruction. The sofa bed dimensions include the length and width of the sofa when presented as a sofa bed, so that the indicator light set on the mattress by the mattress control can indicate a designated position on the ground with light. The length and width of the designated position are equal to the length and width of the sofa when presented as a sofa bed.
[0151] Taking the sofa described above as an example, when the sofa backrest is rotated to the same horizontal plane as the sofa bed, and the sofa armrests are retracted into the sofa bed, the entire surface of the sofa bed is obtained. At this time, the length and width of the surface are the length and width of the sofa when it is presented as a sofa bed.
[0152] 503. The sofa receives a splicing instruction sent by the mattress via a communication connection. The splicing instruction is used to instruct the sofa to be spliced with the mattress, and the splicing instruction carries the height of the mattress.
[0153] 504. The sofa control moves the sofa to the designated position indicated by the light, and controls the sofa to open and then rise to the height of the mattress to be joined with the mattress.
[0154] Optionally, after receiving the assembly instruction, the sofa controls the sofa to move to the designated position indicated by the light, and controls the sofa to open to present a sofa bed and then raise to the height of the mattress to be assembled with the mattress. After that, the sofa sends a positioning information to the mattress. This positioning information is a confirmation message sent by the sofa to the mattress after it has moved to the designated position, so that the mattress can determine that the sofa has moved to the designated position based on the positioning information.
[0155] Through the embodiments of this application, the mattress can use lights to indicate the designated position of the sofa bed size, which is intuitive and clear. The sofa can accurately move to the designated position according to the light indication. The sofa intelligently completes the splicing with the mattress without manual splicing, which helps to realize intelligent home living and improve the comfort and convenience of home life.
[0156] like Figure 6 As shown, Figure 6 This is an interactive schematic diagram of the intelligent splicing method for mattresses and sofas disclosed in an embodiment of this application; as shown... Figure 6 As shown, the intelligent splicing method for the mattress and sofa may include:
[0157] 601. The mattress receives a splicing instruction, which instructs the sofa and mattress to be spliced together, and the splicing instruction includes the height of the mattress.
[0158] 602. The mattress sends a splicing command to the sofa connected to the communication network.
[0159] 603. The sofa receives the splicing instructions sent by the mattress.
[0160] 604. The sofa is moved to the designated position and opened to rise to the height of the mattress in the form of a sofa bed, which is a pre-designated area on the ground below one side of the mattress for placing the sofa.
[0161] In implementing the above embodiments, the mattress and sofa are communicatively connected. The mattress receives a splicing instruction, which carries the mattress's height. This splicing instruction is used to instruct the sofa to be spliced with the mattress. The mattress then sends this splicing instruction to the sofa. Upon receiving the splicing instruction, the sofa moves to a designated position and then opens to rise to the height of the mattress in a sofa bed configuration, splicing with it. This designated position is a pre-defined area on the ground below one side of the mattress for placing the sofa. Through this embodiment, after receiving the splicing instruction, the mattress sends the instruction to the sofa, controlling the sofa to intelligently complete the splicing with the mattress without manual assembly. This helps to realize intelligent home living and improves the comfort and convenience of home life.
[0162] Please see Figure 7 , Figure 7 This is a schematic diagram of the mattress structure disclosed in Embodiment 1 of this application; as shown Figure 7 As shown, the mattress may include:
[0163] The acquisition module 701 is used to acquire the splicing instruction, which is used to instruct the sofa and mattress to be spliced together, and the splicing instruction includes the height of the mattress.
[0164] The first communication module 702 is used to send a splicing command to the sofa connected to the communication, so that after receiving the splicing command, the sofa moves to a designated position and opens up to raise to the height of the mattress in a sofa bed manner to splice with the mattress. The designated position is an area on the ground below one side of the mattress that is designated in advance for placing the sofa.
[0165] Please see Figure 8 , Figure 8 This is a schematic diagram of the mattress structure disclosed in Embodiment 2 of this application; Figure 8 Is Figure 7 This mattress is an optimized version of the mattress shown, and further includes:
[0166] The first communication module 702 described above is further configured to send an acquisition command to the sofa connected to the communication before sending a splicing command to the sofa connected to the communication; and to receive the sofa bed size of the sofa returned by the sofa according to the acquisition command, the sofa bed size including the length and width of the sofa when presented as a sofa bed;
[0167] The first control module 801 is used to control the indicator light set on the mattress to indicate a designated position on the ground with light. The length and width of the designated position are equal to the length and width of the sofa when it is presented as a sofa bed.
[0168] Optionally, the first control module 801 is further configured to scan the designated location indicated by the light using a scanning device installed on the mattress after the indicator light on the mattress indicates the designated location on the ground, and before the first communication module 702 sends a splicing command to the sofa connected to the communication, to scan whether there is an obstacle at the designated location indicated by the light using a scanning device installed on the mattress, and if so, to prompt for removal.
[0169] The first communication module 702 is used to send a splicing command to the sofa connected to the communication network, and then detect whether the sofa has moved to the designated position; if it has not moved to the designated position, it sends a control command to the sofa to control the sofa to move to the designated position; or it provides a reminder that the sofa has not been moved.
[0170] Optionally, the first communication module 702 is used to detect whether the sofa has moved to the designated position in the following specific way:
[0171] The scanning device installed on the mattress detects whether a sofa to be identified is stationary at the designated location indicated by the light. If so, the scanning device scans the sofa label of the sofa to be identified, reads the sofa identifier from the sofa label, and determines whether the sofa identifier matches a pre-stored identifier. If they match, the sofa is moved to the designated location.
[0172] Alternatively, it can detect whether a positioning information sent by the sofa is received, and when the positioning information is received, it can determine that the sofa has moved to the designated position, wherein the positioning information is a confirmation message sent by the sofa to the mattress after it has moved to the designated position.
[0173] In the above embodiments, after the mattress receives the splicing instruction, it sends the splicing instruction to the sofa, controlling the sofa to intelligently complete the splicing with the mattress without manual splicing. This helps to realize intelligent home living and improve the comfort and convenience of home life.
[0174] For further details on the implementation of the mattress in the above embodiments, please refer to the description in the method embodiments, which will not be repeated here.
[0175] Please see Figure 9 , Figure 9 This is a schematic diagram of the structure of the sofa disclosed in the embodiments of this application; as shown Figure 9 As shown, the sofa may include:
[0176] The second communication module 901 is used to receive a splicing instruction sent by the mattress connected to the communication link. The splicing instruction is used to instruct the sofa and the mattress to be spliced together, and the splicing instruction carries the height of the mattress.
[0177] The splicing module 902 is used to move to a designated position and open up to the height of the mattress in a sofa bed manner after receiving a splicing instruction. The designated position is a pre-designated area on the ground below one side of the mattress for placing a sofa.
[0178] Optionally, the second communication module 901 is further configured to receive an acquisition instruction sent by the mattress connected to the communication connection before receiving the splicing instruction sent by the mattress connected to the communication connection; and, according to the acquisition instruction, send the sofa bed dimensions of the sofa to the mattress, the sofa bed dimensions including the length and width of the sofa when presented as a sofa bed, so that the indicator light set on the mattress by the mattress control indicates a designated position on the ground with light, the length and width of the designated position being equal to the length and width of the sofa when presented as a sofa bed.
[0179] Optionally, the splicing module 902, upon receiving a splicing instruction, moves to a designated position and opens to rise to the height of the mattress in a sofa bed format, specifically splicing with the mattress as follows:
[0180] After receiving the assembly instruction, control the sofa to move to the designated position indicated by the light, and then control the sofa to open to present a sofa bed and then raise it to the height of the mattress to assemble with the mattress.
[0181] Optionally, the second communication module 901 is further configured to, after receiving the splicing instruction, move to the designated position and raise to the height of the mattress in the form of a sofa bed and splice with the mattress, and then send a positioning information to the mattress. The positioning information is a confirmation message sent by the sofa to the mattress after it has moved to the designated position, so that the mattress can determine that the sofa has moved to the designated position based on the positioning information.
[0182] The above embodiments enable the sofa to be intelligently and seamlessly integrated with the mattress without manual assembly, which helps to realize intelligent home living and improves the comfort and convenience of home life.
[0183] For further details on the implementation of the sofa in the above embodiments, please refer to the description in the method embodiments, which will not be repeated here.
[0184] Please see Figure 10 , Figure 10 This is a schematic diagram of the intelligent mattress and sofa splicing system disclosed in an embodiment of this application; as shown... Figure 10 As shown, the intelligent splicing system for the mattress and sofa may include: mattress 1001 and sofa 1002.
[0185] The mattress 1001 is used to receive a splicing instruction, which instructs the sofa 1002 to be spliced with the mattress 1001, and the splicing instruction carries the height of the mattress 1001; and to send the splicing instruction to the sofa 1002, which is connected in communication, so that after receiving the splicing instruction, the sofa 1002 moves to a designated position and opens up to raise to the height of the mattress 1001 in a sofa bed manner and splices with the mattress 1001. The designated position is an area on the ground next to one side of the mattress 1001 that is pre-designated for placing the sofa 1002.
[0186] Sofa 1002 is used to receive splicing instructions sent by mattress 1001, and after receiving the splicing instructions, to move to a designated position and open up to the height of mattress 1001 in the form of a sofa bed and splice with mattress 1001.
[0187] For further description of the functions of the mattress 1001 and sofa 1002, please refer to the descriptions of the above method embodiments and device embodiments, which will not be repeated here.
[0188] Please see Figure 11 , Figure 11 This is a schematic diagram of the mattress structure disclosed in Embodiment 3 of this application; Figure 11 The mattress shown may include:
[0189] Memory 1101 storing executable program code;
[0190] Processor 1102 coupled to memory 1101;
[0191] Specifically, processor 1102 calls the executable program code stored in memory 1101 and executes it. Figures 1 to 3 Some or all of the steps in any intelligent splicing method for mattresses and sofas.
[0192] Please see Figure 12 , Figure 12 This is a structural schematic diagram of the sofa disclosed in Embodiment 2 of this application; Figure 12 The sofa shown may include:
[0193] Memory 1201 storing executable program code;
[0194] Processor 1202 coupled to the memory;
[0195] The processor calls the executable program code stored in the memory and executes it. Figures 4 to 5 Some or all of the steps in any intelligent splicing method for mattresses and sofas.
[0196] This invention also discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute... Figures 1 to 3 A publicly disclosed method for intelligently assembling a mattress and a sofa.
[0197] This invention also discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute... Figures 4 to 5 A publicly disclosed method for intelligently assembling a mattress and a sofa.
[0198] This invention also discloses a computer program product that, when run on a computer, causes the computer to perform... Figures 1 to 3 or Figures 4 to 5 Some or all of the steps of any of the disclosed methods.
[0199] This invention also discloses an application publishing platform for publishing computer program products, wherein when the computer program product is run on a computer, the computer executes... Figures 1 to 3 or Figures 4 to 5 Some or all of the steps of any of the disclosed methods.
[0200] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0201] The above provides a detailed description of an intelligent splicing method, system, and related products for mattresses and sofas disclosed in embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for intelligently assembling a mattress and a sofa, characterized in that, Applied to a mattress, the method includes: Obtain a splicing instruction, the splicing instruction being used to instruct the sofa and the mattress to be spliced together, and the splicing instruction carrying the height of the mattress; Send an acquisition command to the sofa with the communication connection; Receive the sofa bed dimensions of the sofa returned by the sofa according to the acquisition instruction, the sofa bed dimensions including the length and width of the sofa when presented as a sofa bed; The indicator light set on the mattress controls the designated position to be indicated by light on the ground. The length and width of the designated position are equal to the length and width of the sofa when it is presented as a sofa bed. The splicing command is sent to the sofa connected in communication, so that after receiving the splicing command, the sofa moves to a designated position and opens up to raise to the height of the mattress in a sofa bed manner to splice with the mattress. The designated position is an area on the ground below one side of the mattress that is pre-designated for placing the sofa.
2. The method according to claim 1, characterized in that, The control is set after the mattress indicator light illuminates the designated position on the ground and before the splicing command is sent to the communicatively connected sofa. The method further includes: The scanning device installed on the mattress scans the designated location indicated by the light to check for any obstacles. If an obstacle is found, a prompt to remove it is issued.
3. The method according to claim 1 or 2, characterized in that, After sending the splicing command to the sofa with the communication connection, the method further includes: Detect whether the sofa has been moved to the designated position; If the sofa is not moved to the designated position, a control command is sent to the sofa to move it to the designated position; or a reminder is issued that the sofa has not been moved.
4. The method according to claim 3, characterized in that, The detection of whether the sofa has moved to the designated position includes: The scanning device installed on the mattress detects whether a sofa to be identified is stationary at the designated location indicated by the light. If so, the scanning device scans the sofa label of the sofa to be identified, reads the sofa identifier from the sofa label, and determines whether the sofa identifier matches a pre-stored identifier. If they match, the sofa is moved to the designated location. Alternatively, detect whether the sofa has received a positioning information, and when the positioning information is received, determine that the sofa has moved to the designated position, wherein the positioning information is a confirmation message sent by the sofa to the mattress after it has moved to the designated position.
5. A method for intelligently assembling a mattress and a sofa, characterized in that, Applied to a sofa, the method includes: Receive an acquisition command sent by the mattress connected in the communication connection; According to the acquisition instruction, the sofa bed size of the sofa is sent to the mattress. The sofa bed size includes the length and width of the sofa when it is presented as a sofa bed, so that the mattress controls the indicator light set on the mattress to indicate a designated position on the ground with light. The length and width of the designated position are equal to the length and width of the sofa when it is presented as a sofa bed. The sofa receives a splicing instruction sent by a mattress connected via a communication link. The splicing instruction is used to instruct the sofa to be spliced with the mattress, and the splicing instruction carries the height of the mattress. Upon receiving the splicing instruction, the sofa is moved to the designated location and opened to rise to the height of the mattress in a sofa bed configuration, splicing with the mattress. The designated location is a pre-defined area on the ground below one side of the mattress for placing the sofa.
6. The method according to claim 5, characterized in that, Upon receiving the splicing instruction, the step of moving to a designated position and opening the sofa bed to raise it to the height of the mattress for splicing includes: Upon receiving the splicing instruction, the sofa is controlled to move to the designated position indicated by the light, and then the sofa is controlled to open to present a sofa bed and then raised to the height of the mattress to splice with the mattress.
7. The method according to claim 5 or 6, characterized in that, After receiving the splicing instruction, the method further includes: moving to the designated position and opening the sofa bed to raise it to the height of the mattress for splicing with the mattress. The sofa sends a positioning message to the mattress, which is a confirmation message sent to the mattress after the sofa has moved to the designated position, so that the mattress can determine that the sofa has moved to the designated position based on the positioning message.
8. An intelligent splicing system for mattresses and sofas, characterized in that, include: A mattress is used to receive a splicing instruction, the splicing instruction being used to instruct the sofa to be spliced with the mattress, and the splicing instruction carrying the height of the mattress; And, send an acquisition command to the sofa connected in communication; and receive the sofa bed size returned by the sofa according to the acquisition command, the sofa bed size including the length and width of the sofa when presented as a sofa bed; and control the indicator light set on the mattress to indicate a designated position on the ground with light, the length and width of the designated position being equal to the length and width of the sofa when presented as a sofa bed; In addition, the splicing instruction is sent to the sofa connected in communication, so that after receiving the splicing instruction, the sofa moves to a designated position and opens up to raise to the height of the mattress in a sofa bed manner to splice with the mattress. The designated position is an area on the ground below one side of the mattress that is pre-designated for placing the sofa. The sofa is configured to receive an acquisition command sent by the mattress via a communication connection; and, according to the acquisition command, send the sofa bed dimensions of the sofa to the mattress, the sofa bed dimensions including the length and width of the sofa when presented as a sofa bed, so that an indicator light set on the mattress by the mattress control illuminates the designated position on the ground, the length and width of the designated position being equal to the length and width of the sofa when presented as a sofa bed; and, receive the splicing command sent by the mattress, and, upon receiving the splicing command, move to the designated position and unfold to raise to the height of the mattress in a sofa bed presentation to splice with the mattress.
9. A mattress, characterized in that, include: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent splicing method for a mattress and sofa as described in any one of claims 1-4.
10. A sofa, characterized in that, include: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent splicing method for a mattress and sofa as described in any one of claims 5-7.