A control method and related products based on an electric bed
By monitoring the target voice commands and wireless connection technology of trusted devices, the electric bed can accurately identify and execute voice commands in a multi-user environment, solving the control efficiency problem of the electric bed in multi-user situations, and improving the operating efficiency and intelligence level.
Patent Information
- Application Number
- CN202210897005.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-07-28
AI Technical Summary
When the electric bed listens to voice commands issued by multiple users at the same time, it is difficult to accurately identify and perform priority control operations, resulting in reduced efficiency.
By monitoring the target voice commands broadcast by trusted devices within the preset time period, and using flexible RFID tags and wireless connection technology, we ensure that the electric bed and trusted devices are wirelessly connected to obtain screen content and perform corresponding control operations.
It realizes accurate recognition and execution of voice commands under multi-user voice commands, improves the control operation efficiency of the electric bed, reduces storage resource usage, and improves the degree of intelligence.
Smart Images

Figure CN115273846B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a control method based on an electric bed and related products. Background Art
[0002] As people's living standards improve, electric beds are becoming more and more popular. Unlike traditional rocker-type mechanical beds, electric beds can adjust the mattress to adapt to various postures of the human body by running the motor, so as to relieve fatigue and release stress. Electric beds can respond to voice commands issued by users and perform corresponding control operations, such as raising the head of the mattress, raising the legs of the mattress, or switching the mattress massage mode.
[0003] In practice, it is found that electric beds sometimes detect multiple voice commands issued by multiple users at the same time. For example, in an electric bed experience center, electric beds sometimes detect multiple voice commands issued by tour guides and experiencers at the same time. In this case, it is difficult for the electric bed to accurately identify which voice command needs to be executed first. The control operation corresponding to the command will often prompt that the voice command is wrong and require the voice command to be reissued, which will reduce the efficiency of the electric bed in executing the control operations corresponding to the voice command. Summary of the invention
[0004] The embodiments of the present application disclose a control method and related products based on an electric bed. When voice commands issued by multiple users are detected at the same time, the voice commands that need to be executed first can be accurately identified, thereby improving the efficiency of the electric bed in executing the control operations corresponding to the voice commands.
[0005] The first aspect of the embodiment of the present application discloses a control method based on an electric bed, the method comprising:
[0006] After the electric bed simultaneously detects voice commands issued by multiple users, it monitors whether a target voice command broadcast by a trusted device and issued by a user to which the trusted device belongs is received within a preset time period; wherein the user to which the trusted device belongs is one of the multiple users, and the target voice command carries a keyword;
[0007] If received, the electric bed identifies whether the target voice command exists in the voice commands issued by the multiple users; if so, executes the control operation corresponding to the keyword.
[0008] As an optional implementation, in the first aspect of the embodiment of the present application, the keyword is used to indicate that the screen content is displayed on the display screen, and the electric bed performs the control operation corresponding to the keyword, including:
[0009] The electric bed obtains the screen content displayed by the trusted device;
[0010] The electric bed controls the display screen to display the screen content.
[0011] As another optional implementation manner, in the first aspect of the embodiments of the present application, a flexible RFID tag is provided under a certain area among several areas divided on the upper surface of the mattress of the electric bed. After the electric bed identifies that the target voice command exists in the multiple voice commands issued by the multiple users, and before the electric bed obtains the screen content displayed by the trusted device, the method further includes:
[0012] The electric bed writes the hotspot identifier and the initial hotspot access string of the electric bed to the flexible RFID tag for the trusted device to read nearby;
[0013] The electric bed identifies the random string randomly assigned to the trusted device by the electric bed when the trusted device last accessed the hotspot of the electric bed;
[0014] The electric bed splices the random string with the initial hotspot access string to obtain the current hotspot access string of the hotspot of the electric bed; wherein, after the trusted device reads the initial hotspot access string and the hotspot identifier from the flexible RFID tag, the random string is spliced with the initial hotspot access string to obtain a hotspot access verification string;
[0015] The electric bed receives a hotspot access request message broadcast under the control of the user to whom the trusted device belongs, and the hotspot access request message at least includes the hotspot access verification string and the hotspot identifier;
[0016] When the electric bed identifies that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, it verifies whether the hotspot access verification string is consistent with the current hotspot access string. If they are consistent, the trusted device is allowed to access the hotspot of the electric bed, thereby realizing the wireless connection between the trusted device and the electric bed;
[0017] The electric bed obtains the screen content displayed by the trusted device, including:
[0018] The electric bed obtains the screen content displayed by the trusted device through the wireless connection.
[0019] As another optional implementation manner, in the first aspect of the embodiments of the present application, after the electric bed obtains the screen content displayed by the trusted device through the wireless connection, the method further includes:
[0020] The electric bed determines the completion time for writing the hotspot identification and the initial access string of the hotspot of the electric bed into the flexible RFID tag;
[0021] The electric bed determines the reception time of the hotspot access request message;
[0022] The electric bed determines whether the actual duration from the completion time to the reception time is greater than a specified duration; if not, it takes the preset maximum picture clarity as the target picture clarity; if greater, it obtains a first difference between the actual duration and the specified duration; and, obtains a clarity change amount that is in a proportional relationship with the first difference, where the clarity change amount is less than the preset maximum picture clarity; and, obtains a second difference between the preset maximum picture clarity and the clarity change amount as the target picture clarity;
[0023] The electric bed controls the display screen to display the picture content, including:
[0024] The electric bed controls the display screen to display the picture content according to the target picture clarity.
[0025] As another optional implementation manner, in the first aspect of the embodiments of the present application, the picture content includes the home appliances associated with each of the several regions and the preset touch types configured for each region. After the electric bed controls the display screen to display the picture content according to the target picture clarity, the method further includes:
[0026] The electric bed detects the actual touch type of a certain target region among the several regions;
[0027] The electric bed determines whether the actual touch type is consistent with the preset touch type corresponding to the target region. If they are consistent, it controls the home appliances associated with the target region.
[0028] A second aspect of the embodiments of the present application discloses an electric bed, and the electric bed includes:
[0029] An instruction monitoring unit, configured to monitor whether a target voice instruction sent by a user to which a trusted device belongs and broadcast by the trusted device is received within a preset duration after simultaneously detecting voice instructions sent by multiple users; where the user to which the trusted device belongs is one of the multiple users, and the target voice instruction carries a keyword;
[0030] An instruction recognition unit, configured to recognize whether the target voice instruction exists in the voice instructions sent by the multiple users when the instruction monitoring unit monitors that the target voice instruction is received;
[0031] An operation execution unit, configured to execute a control operation corresponding to the keyword when the instruction recognition unit recognizes that the target voice instruction exists.
[0032] As an optional implementation manner, in the second aspect of the embodiments of the present application, the keyword is used to indicate that the screen content is to be displayed on the display screen, and the operation execution unit includes:
[0033] An acquisition subunit, configured to acquire the screen content displayed by the trusted device when the instruction recognition unit recognizes that the target voice instruction exists;
[0034] A control subunit, configured to control the display screen to display the screen content.
[0035] As another optional implementation manner, in the second aspect of the embodiments of the present application, a flexible RFID tag is provided under a certain area among a plurality of areas divided on the upper surface of the mattress of the electric bed, and the electric bed further includes:
[0036] An information writing unit, configured to write the hotspot identifier and the hotspot initial access string of the electric bed into the flexible RFID tag after the instruction recognition unit recognizes that the target voice instruction exists and before the acquisition subunit acquires the screen content displayed by the trusted device, so that the trusted device can be close to read;
[0037] A string recognition unit, configured to recognize a random string randomly assigned by the electric bed to the trusted device when the trusted device last accessed the hotspot of the electric bed;
[0038] A string splicing unit, configured to splice the random string and the hotspot initial access string to obtain the current hotspot access string of the hotspot of the electric bed; wherein, after the trusted device reads the hotspot initial access string and the hotspot identifier from the flexible RFID tag, the random string and the hotspot initial access string are spliced to obtain a hotspot access verification string;
[0039] A device interaction unit, configured to receive a hotspot access request message broadcast by the trusted device under the control of the user to whom the trusted device belongs, and the hotspot access request message at least includes the hotspot access verification string and the hotspot identifier;
[0040] A wireless connection unit, configured to, when recognizing that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, verify whether the hotspot access verification string is consistent with the current hotspot access string, and if they are consistent, allow the trusted device to access the hotspot of the electric bed, so as to realize the wireless connection between the trusted device and the electric bed;
[0041] The obtaining subunit is specifically configured to obtain the screen content displayed by the trusted device through the wireless connection when the instruction recognition unit recognizes that the target voice instruction exists.
[0042] As another optional implementation manner, in the second aspect of the embodiments of the present application, the electric bed further includes:
[0043] A time determination unit, configured to determine the completion time for writing the hotspot identifier and the initial hotspot access string of the electric bed into the flexible RFID tag after the obtaining subunit obtains the screen content displayed by the trusted device through the wireless connection;
[0044] The time determination unit is further configured to determine the reception time of the hotspot access request message;
[0045] A duration judgment unit, configured to judge whether the actual duration from the completion time to the reception time is greater than a specified duration;
[0046] A clarity determination unit, configured to use the preset maximum screen clarity as the target screen clarity when the duration judgment unit judges that the actual duration is not greater than the specified duration; or, when the duration judgment unit judges that the actual duration is greater than the specified duration, obtain a first difference between the actual duration and the specified duration; and obtain a clarity change amount that is in a proportional relationship with the first difference, where the clarity change amount is less than the preset maximum screen clarity; and obtain a second difference between the preset maximum screen clarity and the clarity change amount as the target screen clarity;
[0047] The control subunit is specifically configured to control the display screen to display the screen content according to the target screen clarity.
[0048] As another optional implementation manner, in the second aspect of the embodiments of the present application, the screen content includes the home devices associated with each of the several regions and the preset touch types configured for each region, and the electric bed further includes:
[0049] A touch detection unit, configured to detect the actual touch type of a certain target region among the several regions after the control subunit controls the display screen to display the screen content according to the target screen clarity;
[0050] A device control unit, configured to judge whether the actual touch type is consistent with the preset touch type corresponding to the target region, and if so, control the home device associated with the target region.
[0051] A third aspect of the embodiments of the present application discloses an electric bed, which includes:
[0052] A memory storing executable program code;
[0053] A processor coupled to the memory;
[0054] The processor calls the executable program code stored in the memory and executes the following steps:
[0055] After simultaneously detecting voice instructions issued by multiple users, monitor whether a target voice instruction broadcast by a certain trusted device and issued by the user to which the trusted device belongs is received within a preset duration; wherein, the user to which the trusted device belongs is one of the multiple users, and the target voice instruction carries a keyword;
[0056] If received, identify whether the target voice instruction exists in the voice instructions issued by the multiple users; if it exists, execute the control operation corresponding to the keyword.
[0057] As an optional implementation manner, in the third aspect of the embodiments of the present application, the keyword is used to indicate that the picture content is to be displayed on the display screen, and the manner in which the processor executes the control operation corresponding to the keyword is:
[0058] Obtain the picture content displayed on the trusted device;
[0059] Control the display screen to display the picture content.
[0060] As another optional implementation manner, in the third aspect of the embodiments of the present application, a flexible RFID tag is provided under a certain area among several areas divided on the upper surface of the mattress of the electric bed. After identifying that the target voice instruction exists in the voice instructions issued by the multiple users and before obtaining the picture content displayed on the trusted device, the processor further executes the following steps:
[0061] Write the hotspot identifier and hotspot initial access string of the electric bed to the flexible RFID tag so that the trusted device can be close to read;
[0062] Identify the random string randomly assigned by the electric bed to the trusted device when the trusted device last accessed the hotspot of the electric bed;
[0063] Concatenate the random string with the initial hotspot access string of the electric bed to obtain the current hotspot access string of the hotspot of the electric bed. After the trusted device reads the initial hotspot access string and the hotspot identifier from the flexible RFID tag, it concatenates the random string with the initial hotspot access string to obtain a hotspot access verification string.
[0064] Receive a hotspot access request message broadcast by the trusted device under the control of the user to which the trusted device belongs. The hotspot access request message includes at least the hotspot access verification string and the hotspot identifier.
[0065] When it is recognized that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, verify whether the hotspot access verification string is consistent with the current hotspot access string. If they are consistent, allow the trusted device to access the hotspot of the electric bed, thereby realizing the wireless connection between the trusted device and the electric bed.
[0066] The way for the processor to obtain the screen content displayed by the trusted device is:
[0067] Obtain the screen content displayed by the trusted device through the wireless connection.
[0068] As another optional implementation manner, in the third aspect of the embodiments of the present application, after the processor obtains the screen content displayed by the trusted device through the wireless connection, the following steps are further executed:
[0069] Determine the completion time when the hotspot identifier of the electric bed and the initial hotspot access string are written into the flexible RFID tag.
[0070] Determine the receiving time of the hotspot access request message.
[0071] Judge whether the actual duration from the completion time to the receiving time is greater than the specified duration. If not, use the preset maximum screen clarity as the target screen clarity. If it is greater, obtain the first difference between the actual duration and the specified duration. And obtain a clarity change amount that is in a proportional relationship with the first difference, where the clarity change amount is less than the preset maximum screen clarity. And obtain the second difference between the preset maximum screen clarity and the clarity change amount as the target screen clarity.
[0072] The way for the processor to control the display screen to display the screen content is:
[0073] Control the display screen to display the screen content according to the target screen clarity.
[0074] As another alternative embodiment, in the third aspect of the embodiments of the present application, the screen content includes home appliances associated with each of the several regions and preset touch types configured for each region. After the processor controls the display screen to display the screen content according to the target screen clarity, the following steps are further performed:
[0075] Detect the actual touch type of a target region among the several regions;
[0076] Determine whether the actual touch type is consistent with the preset touch type corresponding to the target region. If they are consistent, control the home appliances associated with the target region.
[0077] A fourth aspect of the embodiments of the present application discloses a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the sleep posture reproduction method in the first aspect of the embodiments of the present application or any alternative embodiment of the first aspect of the embodiments of the present application are implemented.
[0078] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0079] In the embodiments of the present application, after the electric bed simultaneously listens to voice commands issued by multiple users, if it receives a target voice command carrying keywords and issued by a certain user among the multiple users and broadcast by the trusted device of this user within a preset time period, it further identifies whether the target voice command exists in the voice commands issued by the multiple users; if it exists, the electric bed can use the target voice command as the voice command that needs to be preferentially executed, and correspondingly, the electric bed can execute the control operation corresponding to the keyword carried by the target voice command. It can be seen that by implementing the embodiments of the present application, when simultaneously listening to voice commands issued by multiple users, the voice command that needs to be preferentially executed can be accurately identified, improving the efficiency of the electric bed in executing the control operation corresponding to the voice command.
[0080] In addition, by implementing the embodiments of the present application, the electric bed can determine the voice command that needs to be preferentially executed (i.e., the target voice command included in the voice commands issued by the multiple users) from the voice commands issued by the multiple users according to the target voice command carrying keywords and issued by a certain user among the multiple users and broadcast by the trusted device of this user. In this way, it is possible to avoid pre-configuring the voiceprint features of the users to whom the trusted devices belong on the electric bed, thereby helping to reduce the occupation of the storage resources of the electric bed.
[0081] In addition, by implementing the embodiments of the present application, the degree of intelligence of the electric bed can also be improved, which is beneficial to the popularization and application of the electric bed. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0083] Figures 1 to 4 are the schematic flowcharts of the first to fourth embodiments of the control method based on an electric bed disclosed in the embodiments of the present application;
[0084] Figures 5 to 8 are the schematic structural diagrams of the first to fourth embodiments of the electric bed disclosed in the embodiments of the present application. Detailed implementation manners
[0085] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0086] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0087] The embodiments of the present application disclose a control method and related products based on an electric bed, which can accurately identify the voice commands that need to be preferentially executed when multiple user voice commands are simultaneously detected, and improve the efficiency of the electric bed to perform the control operations corresponding to the voice commands. The following will be described in detail with reference to the drawings.
[0088] Please refer to Figure 1 , Figure 1 is the schematic flowchart of the first embodiment of the control method based on an electric bed disclosed in the embodiments of the present application. As Figure 1 shown, the control method based on an electric bed includes the following steps:
[0089] After the electric bed simultaneously detects voice commands issued by multiple users, it monitors whether it receives a target voice command broadcast by a trusted device within a preset duration. The target voice command is issued by the user to whom the trusted device belongs, where the user to whom the trusted device belongs is one of the above-mentioned multiple users, and the target voice command carries a keyword. If received, step 102 is executed; if not, this process ends.
[0090] In some application scenarios, the electric bed can be located within an electric bed experience center, and there can be multiple users within the listening range of the electric bed. Exemplarily, the multiple users can include an interpreter of the electric bed and several experiencers. The interpreter can be the user to whom a trusted device (such as a trusted mobile phone or a trusted tablet) belongs. In this application scenario, the voice command carrying a keyword issued by the interpreter can not only be detected by the electric bed but also be recognized by the interpreter's trusted device. For example, the interpreter's trusted device can recognize the voice command carrying a keyword sent by the interpreter based on the interpreter's voiceprint feature, and the trusted device can broadcast the voice command carrying a keyword issued by the interpreter that it recognizes as the target voice command issued by the interpreter for the electric bed to hear.
[0091] Correspondingly, after the electric bed simultaneously detects the voice commands issued by the interpreter and several experiencers, it can monitor whether it receives the target voice command carrying a keyword issued by the interpreter and broadcast by the interpreter's trusted device within a preset duration. If received, step 102 is executed; if not, the electric bed can prompt that the voice command is incorrect and request to reissue the voice command. Exemplarily, the electric bed can prompt the voice error through a speaker and request to reissue the voice command through the speaker.
[0092] In some embodiments, the electric bed experience center is provided with an intelligent door lock for locking the electric bed experience center. Before the electric bed simultaneously detects voice commands issued by the commentator and several experiencers, the corresponding Internet of Things management platform of the electric bed experience center sends the specified device ID and the target audio to the intelligent door lock, and sends the target audio to the trusted device of the commentator. The target audio is at least used to describe the precautions after entering the electric bed experience center. Correspondingly, the intelligent door lock can broadcast the first interaction information including the specified device ID, and the first interaction information is used to instruct the device to which the specified device ID belongs to report the audio being played by the device to which the specified device ID belongs. Correspondingly, the trusted device of the commentator receives the first interaction information and identifies whether the specified device ID is the same as the device ID of the trusted device. If they are the same, it broadcasts the first response information including the audio being played by the trusted device. Correspondingly, the intelligent door lock receives the first response information and identifies whether the audio being played by the trusted device is the same as the target audio. If they are the same, it unlocks the electric bed experience center for the commentator and several experiencers to enter the electric bed experience center.
[0093] In some embodiments, after the trusted device of the commentator identifies that the specified device ID is the same as the device ID of the trusted device and before broadcasting the first response information including the audio being played by the trusted device, the following steps may also be performed:
[0094] The trusted device of the commentator calculates the ratio of the played duration of the audio being played by the trusted device to the total playing duration of the audio being played by the trusted device, and determines whether the ratio is greater than or equal to the specified threshold. If so, it executes broadcasting the first response information including the audio being played by the trusted device. Exemplarily, the specified threshold may be 99%.
[0095] Among them, implementing the above embodiments enables the commentator to be allowed to enter the electric bed experience center only when the commentator has listened to the target audio for describing the precautions after entering the electric bed experience center as much as possible.
[0096] 102. The electric bed identifies whether the target voice command exists in the voice commands issued by the above multiple users; if it exists, it executes step 103; if it does not exist, it ends this process.
[0097] In the embodiments of the present application, the electric bed can identify whether the voiceprint feature of a certain voice command in the voice commands issued by the above-mentioned multiple users matches the voiceprint feature of the target voice command according to the voiceprint feature of the target voice command; if it exists, further determine whether the keyword carried by the voice command whose voiceprint feature matches the voiceprint feature of the target voice command is the same as the keyword carried by the target voice command. If they are the same, it is identified whether there is such a target voice command in the voice commands issued by the above-mentioned multiple users.
[0098] In some embodiments, when the electric bed identifies that there is no such target voice command in the voice commands issued by the above-mentioned multiple users, the electric bed can prompt that the voice command is incorrect and request to reissue the voice command.
[0099] 103. The electric bed executes the control operation corresponding to the keyword carried by the target voice command.
[0100] Exemplarily, the control operation corresponding to the keyword carried by the target voice command may include, but is not limited to, raising the head of the mattress, raising the legs of the mattress, switching the massage mode of the mattress, turning on or off a certain household device, etc.
[0101] It can be seen that implementing Figure 1 the control method shown can accurately identify the voice command that needs to be preferentially executed when multiple users' voice commands are simultaneously detected, improving the efficiency of the electric bed in executing the control operation corresponding to the voice command.
[0102] In addition, implementing Figure 1 the control method shown can eliminate the need to pre-configure the voiceprint features of the users to whom the trusted devices belong on the electric bed, thereby helping to reduce the occupation of the storage resources of the electric bed.
[0103] In addition, implementing Figure 1 the control method shown can also improve the intelligence level of the electric bed, which is beneficial to the popularization and application of the electric bed.
[0104] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of the second embodiment of the control method based on the electric bed disclosed in the embodiments of the present application. In Figure 2 the control method based on the electric bed shown, the upper surface of the mattress of the electric bed can be divided into several regions, and a flexible radio frequency identification (RFID) tag is provided under a certain region among the several divided regions. Exemplarily, the mattress of the electric bed may include a common mattress or an air mattress. As Figure 2 shown, the control method based on the electric bed includes the following steps:
[0105] 201. After the electric bed has simultaneously detected voice commands from multiple users, it monitors whether a target voice command broadcast by a trusted device and issued by a user to which the trusted device belongs is received within a preset time period; wherein the user to which the trusted device belongs is one of the multiple users mentioned above, and the target voice command carries a keyword for indicating that the screen content should be displayed on the display screen; if received, execute step 202; if not, end this process.
[0106] Among them, the above-mentioned display screen can be a display screen set up in the electric bed experience center that can display information related to the electric bed mattress (such as information such as the softness and hardness of the mattress itself), and / or display the user's physiological information collected by the electric bed mattress.
[0107] In some application scenarios, the electric bed may be located in an electric bed experience center, and there may be multiple users within the listening range of the electric bed. For example, the multiple users may include the electric bed's interpreter and several experiencers. The interpreter may be a user of a trusted device (such as a trusted mobile phone or a trusted tablet). In this application scenario, the voice instructions carrying keywords issued by the interpreter can not only be detected by the electric bed, but also recognized by the interpreter's trusted device. For example, the interpreter's trusted device can recognize the voice instructions carrying keywords sent by the interpreter based on the interpreter's voiceprint features, and the trusted device can broadcast the recognized voice instructions carrying keywords issued by the interpreter as the target voice instructions issued by the interpreter so that the electric bed can hear them.
[0108] Accordingly, after the electric bed simultaneously detects the voice commands issued by the guide and several experiencers, it can monitor whether the target voice command carrying the keyword issued by the guide and broadcasted by the guide's trusted device is received within the preset time period. If received, step 202 is executed; if not, the electric bed can prompt that the voice command is wrong and require the voice command to be reissued. Exemplarily, the electric bed can prompt the voice error through the speaker and require the voice command to be reissued through the speaker.
[0109] 202. The electric bed identifies whether the target voice command exists in the voice commands issued by the above-mentioned multiple users; if so, execute steps 203 to 209; if not, end this process.
[0110] In the embodiments of the present application, the electric bed can identify whether the voiceprint feature of a certain voice command in the voice commands issued by the above-mentioned multiple users matches the voiceprint feature of the target voice command according to the voiceprint feature of the target voice command; if it exists, it further judges whether the keyword carried in the voice command whose voiceprint feature matches the voiceprint feature of the target voice command is the same as the keyword carried in the target voice command. If they are the same, it is identified whether there is such a target voice command in the voice commands issued by the above-mentioned multiple users.
[0111] 203. The electric bed writes the hotspot identifier and the hotspot initial access string of the electric bed into the flexible RFID tag so that a trusted device can read it when approaching.
[0112] Exemplarily, the hotspot identifier of the electric bed can be the hotspot name of the electric bed. The hotspot initial access string can be formed by splicing multiple characters.
[0113] In the embodiments of the present application, the commentator can place his trusted device on a certain area among the above-mentioned several areas where the flexible RFID tag is provided below, so that the trusted device can read the hotspot identifier and the hotspot initial access string of the electric bed written in the flexible RFID tag.
[0114] 204. The electric bed identifies the random string randomly assigned to the trusted device by the electric bed when the trusted device last accessed the hotspot of the electric bed.
[0115] In the embodiments of the present application, the electric bed can store the random string randomly assigned to the trusted device by the electric bed when the trusted device last accessed the hotspot of the electric bed, and the trusted device can also store the random string.
[0116] 205. The electric bed splices the random string with the hotspot initial access string to obtain the current hotspot access string of the hotspot of the electric bed; among them, after the trusted device reads the above-mentioned hotspot initial access string and hotspot identifier from the flexible RFID tag, it splices the random string with the above-mentioned hotspot initial access string to obtain the hotspot access verification string.
[0117] 206. The electric bed receives a hotspot access request message broadcast by the trusted device under the control of the user to which the trusted device belongs. The hotspot access request message at least includes the above-mentioned hotspot access verification string and hotspot identifier.
[0118] In the embodiments of the present application, after the trusted device splices the random string with the above-mentioned hotspot initial access string to obtain the hotspot access verification string, the commentator can control the trusted device to broadcast a hotspot access request message at least including the above-mentioned hotspot access verification string and hotspot identifier.
[0119] 207. When the electric bed identifies that the above-mentioned hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, it verifies whether the above-mentioned hotspot access verification string is consistent with the current hotspot access string. If they are consistent, it allows the trusted device to access the hotspot of the electric bed, thereby realizing the wireless connection between the trusted device and the electric bed.
[0120] 208. The electric bed obtains the screen content displayed by the trusted device through wireless connection.
[0121] 209. The electric bed controls the display screen to display the above-mentioned screen content.
[0122] Among them, when implementing the above steps 203 to 209, the electric bed can splice the random string randomly assigned by the electric bed to the trusted device when the trusted device last accessed the hotspot of the electric bed with the hotspot initial access string, so as to obtain the current hotspot access string of the hotspot of the electric bed; and the trusted device splices the random string with the hotspot initial access string to obtain the hotspot access verification string; and the electric bed only allows the trusted device to access the hotspot of the electric bed when it identifies that the hotspot access request message broadcast by the trusted device contains a hotspot identifier that is the same as the hotspot identifier of the electric bed, and also verifies that the hotspot access verification string is consistent with the current hotspot access string. Furthermore, it only allows the screen content displayed by the trusted device to be displayed on the display screen, thereby improving the controllability and reliability when the display screen displays the screen content, and preventing some user devices from wantonly accessing the hotspot of the electric bed and displaying bad screen content on the display screen.
[0123] It can be seen that implementing Figure 2 the control method shown can accurately identify the voice command that needs to be executed first when multiple voice commands issued by multiple users are simultaneously detected, improving the efficiency of the electric bed in performing the control operation corresponding to the voice command. For example, implementing Figure 2 the control method shown can accurately identify the target voice command issued by the commentator, which carries the keyword indicating that the screen content is to be displayed on the display screen, when the voice commands issued by the commentator and several experiencers are simultaneously detected, improving the efficiency of the electric bed in controlling the display screen to display the screen content displayed by the trusted device of the commentator.
[0124] In addition, implementing Figure 2 the control method shown can eliminate the need to pre-configure the voiceprint characteristics of the user (such as the commentator) to whom the trusted device belongs on the electric bed, thereby helping to reduce the occupation of the storage resources of the electric bed.
[0125] In addition, implementing Figure 2 the control method shown can also improve the intelligence level of the electric bed, which is beneficial to the popularization and application of the electric bed.
[0126] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of the third embodiment of the control method based on an electric bed disclosed in the embodiments of the present application. In Figure 3 the control method based on an electric bed shown, a flexible RFID tag is provided under a certain area among several areas divided on the upper surface of the mattress of the electric bed. As Figure 3 shown, the control method based on the electric bed includes the following steps:
[0127] Among them, steps 301 to 308 are the same as steps 201 to 208 in the previous embodiments, and will not be repeated here.
[0128] 309. The electric bed determines the completion time for writing the hotspot identifier and the hotspot initial access string of the electric bed into the flexible RFID tag; and determines the reception time of the above-mentioned hotspot access request message.
[0129] 310. The electric bed determines whether the actual duration from the completion time to the reception time is greater than a specified duration; if so, execute step 311; if not, execute steps 312 to 313.
[0130] 311. The electric bed obtains a first difference between the actual duration and the specified duration; and obtains a clarity change amount that is in direct proportion to the first difference, where the clarity change amount is less than the preset maximum screen clarity; and obtains a second difference between the preset maximum screen clarity and the clarity change amount as the target screen clarity, and then executes step 313.
[0131] 312. The electric bed uses the preset maximum screen clarity as the target screen clarity.
[0132] 313. The electric bed controls the display screen to display the above-mentioned screen content according to the target screen clarity.
[0133] Among them, when implementing the above steps 309 to 313, when the actual duration from the completion time of writing the hotspot identifier and the hotspot initial access string of the electric bed into the flexible RFID tag to the reception time of the hotspot access request message is greater than the specified duration, and the greater the first difference between the actual duration and the specified duration is, the smaller the screen clarity of the above-mentioned screen content displayed by the electric bed control display screen is. This is conducive to urging the user of the trusted device to quickly bring the trusted device close to the flexible RFID tag to read the hotspot identifier and the hotspot initial access string of the electric bed written in the flexible RFID tag, and quickly control the trusted device to broadcast a hotspot access request message including at least a hotspot access verification string and a hotspot identifier, so as to improve the efficiency of the display screen in displaying the screen content of the trusted device.
[0134] In addition, when implementing Figure 3 the control method shown, when multiple voice commands issued by multiple users are detected simultaneously, the voice command that needs to be preferentially executed can be accurately identified, improving the efficiency of the electric bed in performing the control operations corresponding to the voice commands.
[0135] In addition, when implementing Figure 3 the control method shown, it is possible to omit pre-configuring the voiceprint features of the users to whom the trusted devices belong on the electric bed, thereby helping to reduce the occupation of the storage resources of the electric bed.
[0136] In addition, when implementing Figure 3 the control method shown, it is also possible to improve the intelligence level of the electric bed, which is beneficial to the popularization and application of the electric bed.
[0137] Please refer to Figure 4 , Figure 4 which is a schematic flowchart of the fourth embodiment of the control method based on an electric bed disclosed in the embodiments of the present application. In Figure 4 the control method based on the electric bed shown, a flexible RFID tag is provided under a certain area among several areas divided on the upper surface of the electric bed. As Figure 4 shown, the control method based on the electric bed includes the following steps:
[0138] Among them, steps 401 to 407 are the same as steps 301 to 307 in the previous embodiments, and will not be repeated here.
[0139] 408. The electric bed obtains the screen content displayed by the trusted device through wireless connection, and the screen content includes the home devices associated with each of the above-mentioned areas and the preset touch types configured for each area.
[0140] In some application scenarios, the home devices associated with each area may be the home devices located in a certain electric bed experience center where the electric bed is located. Among them, the number of home devices associated with each area may be one or more, and the types of home devices associated with each area may be one type or multiple types. The home devices may include, but are not limited to, smart door locks, curtains, air conditioners, fans, speakers, TVs, lamps, sofas, refrigerators, washing machines, and cleaning robots.
[0141] Exemplarily, the preset touch type configured for each area may be any one of five-finger touch, four-finger touch, three-finger touch, or two-finger touch.
[0142] 409. The electric bed determines the completion time for writing the hotspot identifier and the hotspot initial access string of the electric bed into the flexible RFID tag; and determines the reception time of the above-mentioned hotspot access request message.
[0143] 410. The electric bed determines whether the actual duration from the completion time to the receipt time is greater than the specified duration; if so, step 411 is executed; if not, steps 412 to 415 are executed.
[0144] 411. The electric bed obtains the first difference between the actual duration and the specified duration; and, obtains a clarity change amount that is in direct proportion to the first difference, where the clarity change amount is less than the preset maximum screen clarity; and, obtains the second difference between the preset maximum screen clarity and the clarity change amount as the target screen clarity, and then executes steps 413 to 415.
[0145] 412. The electric bed takes the preset maximum screen clarity as the target screen clarity.
[0146] 413. The electric bed controls the display screen to display the above-mentioned screen content according to the target screen clarity.
[0147] 414. The electric bed detects the actual touch type of a certain target area among the above-mentioned several areas.
[0148] Exemplarily, the actual touch type of the target area can be any one of five-finger touch, four-finger touch, three-finger touch, or two-finger touch.
[0149] 415. The electric bed determines whether the actual touch type is consistent with the preset touch type corresponding to the target area. If they are consistent, step 416 is executed; if not, this process ends.
[0150] 416. The electric bed controls the home appliances associated with the target area.
[0151] Exemplarily, the electric bed controlling the home appliances associated with the target area includes turning on the home appliances associated with the target area or turning off the home appliances associated with the target area.
[0152] Among them, implementing steps 408 to 416 can effectively improve the efficiency and reliability when the electric bed controls home appliances (such as home appliances in an electric bed experience center).
[0153] In addition, implementing Figure 4 the shown control method can accurately identify the voice commands that need to be preferentially executed when multiple users' voice commands are simultaneously detected, improving the efficiency of the electric bed in performing the control operations corresponding to the voice commands.
[0154] In addition, implementing Figure 4 the shown control method can eliminate the need to pre-configure the voiceprint features of the users to whom the trusted devices belong on the electric bed, thus helping to reduce the occupation of the storage resources of the electric bed.
[0155] In addition, implementing Figure 4 the control method shown can also improve the intelligence level of the electric bed, which is beneficial to the popularization and application of the electric bed.
[0156] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of the first embodiment of the electric bed disclosed in the embodiments of the present application. As Figure 5 shown, the electric bed includes:
[0157] An instruction monitoring unit 501, configured to monitor whether a target voice instruction broadcast by a trusted device and issued by a user to whom the trusted device belongs is received within a preset time period after simultaneously detecting voice instructions issued by multiple users; wherein, the user to whom the trusted device belongs is one of the multiple users, and the target voice instruction carries a keyword;
[0158] An instruction recognition unit 502, configured to recognize whether the target voice instruction exists in the voice instructions issued by the multiple users when the instruction monitoring unit 501 monitors that the target voice instruction is received;
[0159] An operation execution unit 503, configured to execute the control operation corresponding to the keyword when the instruction recognition unit 502 recognizes that the target voice instruction exists.
[0160] In some application scenarios, Figure 5 the electric bed shown can be located in an electric bed experience center, and there can be multiple users within the listening range of the electric bed. Exemplarily, the multiple users can include an interpreter of the electric bed and several experiencers. The interpreter can be a user to whom a trusted device (such as a trusted mobile phone or a trusted tablet) belongs. In this application scenario, the voice instruction carrying a keyword issued by the interpreter can not only be detected by the electric bed, but also be recognized by the interpreter's trusted device. For example, the interpreter's trusted device can recognize the voice instruction carrying a keyword sent by the interpreter based on the interpreter's voiceprint feature, and the trusted device can broadcast the voice instruction carrying a keyword issued by the interpreter recognized by it as the target voice instruction issued by the interpreter for the electric bed to receive.
[0161] Correspondingly, after simultaneously detecting the voice instructions issued by the interpreter and several experiencers, the instruction monitoring unit 501 can monitor whether a target voice instruction carrying a keyword and issued by the interpreter is received from the interpreter's trusted device within a preset time period.
[0162] In some embodiments, the electric bed experience center is provided with a smart door lock for locking the electric bed experience center. Before the instruction monitoring unit 501 simultaneously intercepts the voice instructions issued by the tour guide and several experiencers, the Internet of Things management platform corresponding to the electric bed experience center sends the designated device ID and the target audio to the smart door lock, and sends the target audio to the trusted device of the tour guide, and the target audio is at least used to describe the precautions after entering the electric bed experience center; accordingly, the smart door lock can broadcast the first interactive information containing the designated ID of the device, and the first interactive information is used to instruct the device to which the designated device ID belongs to report the audio being played by the device to which the designated device ID belongs; accordingly, the trusted device of the tour guide receives the first interactive information and identifies whether the designated device ID is the same as the device ID of the trusted device, and if so, broadcasts the first response information containing the audio being played by the trusted device; accordingly, the smart door lock receives the first response information and identifies whether the audio being played by the trusted device is the same as the target audio; if so, unlocks the electric bed experience center to allow the tour guide and several experiencers to enter the electric bed experience center.
[0163] In some implementations, after the instructor's trusted device recognizes that the designated device ID is the same as the device ID of the trusted device and before broadcasting the first response information including the audio being played by the trusted device, the following steps may also be performed:
[0164] The narrator's trusted device calculates the ratio of the playing time of the audio being played by the trusted device to the total playing time of the audio being played by the trusted device, and determines whether the ratio is greater than or equal to a specified threshold, and if so, broadcasts the first response information containing the audio being played by the trusted device. Exemplarily, the specified threshold may be 99%.
[0165] Among them, the implementation of the above embodiment can ensure that the tour guide is allowed to enter the electric bed experience center only when he or she has listened to the target audio used to describe the precautions after entering the electric bed experience center as much as possible.
[0166] It can be seen that implementation Figure 5 The electric bed shown can accurately identify the voice commands that need to be executed first when simultaneously detecting voice commands issued by multiple users, thereby improving the efficiency of the electric bed in executing the control operations corresponding to the voice commands.
[0167] In addition, implementation Figure 5 The electric bed shown can save the need to pre-configure the voiceprint characteristics of the user of the trusted device on the electric bed, thereby helping to reduce the occupation of the storage resources of the electric bed.
[0168] In addition, implementation Figure 5The electric bed shown can also improve the intelligence level of the electric bed, which is conducive to the popularization and application of the electric bed.
[0169] Please refer to Figure 6 , Figure 6 , which is a schematic structural diagram of the second embodiment of the electric bed disclosed in the embodiment of the present application. Among them, Figure 6 the electric bed shown is optimized from the Figure 5 electric bed shown. In the Figure 6 electric bed shown, the keyword carried in the target voice instruction received by the instruction monitoring unit 501 is used to indicate that the picture content is to be displayed on the display screen. Correspondingly, the operation execution unit 503 includes:
[0170] an acquisition subunit 5031, configured to acquire the picture content displayed by the trusted device when the instruction recognition unit 502 recognizes that there is such a target voice instruction;
[0171] a control subunit 5032, configured to control the display screen to display the above picture content.
[0172] In some alternative embodiments, Figure 6 a flexible RFID tag is provided under a certain area among several areas divided on the upper surface of the mattress of the electric bed shown. Correspondingly, Figure 6 the electric bed shown further includes:
[0173] an information writing unit 504, configured to write the hotspot identifier and the hotspot initial access string of the electric bed to the flexible RFID tag after the instruction recognition unit 502 recognizes that there is such a target voice instruction and before the acquisition subunit 5031 acquires the picture content displayed by the trusted device, so that the trusted device can be close to read;
[0174] a string recognition unit 505, configured to recognize the random string randomly assigned to the trusted device by the electric bed when the trusted device last accessed the hotspot of the electric bed;
[0175] a string splicing unit 506, configured to splice the random string and the hotspot initial access string to obtain the current hotspot access string of the hotspot of the electric bed; among them, after the trusted device reads the hotspot initial access string and the hotspot identifier from the flexible RFID tag, the random string and the hotspot initial access string are spliced to obtain the hotspot access verification string;
[0176] a device interaction unit 507, configured to receive the hotspot access request message broadcast by the trusted device under the control of the user to whom the trusted device belongs, and the hotspot access request message includes at least the hotspot access verification string and the hotspot identifier;
[0177] A wireless connection unit 508 is configured to verify whether the hotspot access verification string is consistent with the current hotspot access string when it is recognized that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag. If they are consistent, it allows a trusted device to access the hotspot of the electric bed, thereby realizing the wireless connection between the trusted device and the electric bed.
[0178] Correspondingly, an acquisition subunit 5031 is specifically configured to obtain the content of the screen displayed by the trusted device through wireless connection when the instruction recognition unit 502 recognizes that there is a target voice instruction.
[0179] Among them, Figure 6 The shown electric bed can splice the random string randomly assigned by the electric bed to the trusted device when the trusted device last accessed the hotspot of the electric bed with the initial hotspot access string, so as to obtain the current hotspot access string of the hotspot of the electric bed; and the trusted device splices the random string with the initial hotspot access string to obtain the hotspot access verification string; and Figure 6 The shown electric bed allows the trusted device to access the hotspot of the electric bed only when it recognizes that the hotspot access request message broadcast by the trusted device contains the same hotspot identifier as the hotspot identifier of the electric bed, and also verifies that the hotspot access verification string is consistent with the current hotspot access string. Furthermore, it allows the content of the screen displayed by the trusted device to be displayed on the display screen, thereby improving the controllability and reliability when the display screen displays the screen content, and preventing some user devices from wantonly accessing the hotspot of the electric bed and displaying bad screen content on the display screen.
[0180] Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of the third embodiment of the electric bed disclosed in the embodiments of the present application. Among them, Figure 7 The shown electric bed is optimized from Figure 6 the shown electric bed. Compared with Figure 6 the shown electric bed, Figure 7 the shown electric bed further includes:
[0181] A time determination unit 509 is configured to determine the completion time of writing the hotspot identifier and the initial hotspot access string of the electric bed into the flexible RFID tag after the acquisition subunit 5031 obtains the content of the screen displayed by the trusted device through wireless connection;
[0182] The time determination unit 509 is further configured to determine the reception time of the hotspot access request message;
[0183] A duration judgment unit 510 is configured to judge whether the actual duration from the completion time to the reception time is greater than a specified duration;
[0184] A clarity determination unit 511, configured to, when a duration determination unit 510 determines that an actual duration is not greater than a specified duration, use a preset maximum picture clarity as a target picture clarity; or, when the duration determination unit 510 determines that the actual duration is greater than the specified duration, obtain a first difference between the actual duration and the specified duration; and obtain a clarity change amount that is in a direct proportional relationship with the first difference, where the clarity change amount is less than the preset maximum picture clarity; and obtain a second difference between the preset maximum picture clarity and the clarity change amount as the target picture clarity;
[0185] A control subunit 5032, specifically configured to control a display screen to display the above-mentioned picture content according to the target picture clarity.
[0186] Wherein, when the actual duration from the completion time of writing the hotspot identifier and the hotspot initial access string of the electric bed into the flexible RFID tag to the receipt time of the hotspot access request message is greater than the specified duration, and the greater the first difference between the actual duration and the specified duration, the smaller the picture clarity of the above-mentioned picture content displayed by the control subunit 5032 on the display screen, which is conducive to urging the user of the trustworthy device to quickly bring the trustworthy device close to the flexible RFID tag to read the hotspot identifier and the hotspot initial access string written in the flexible RFID tag, and quickly control the trustworthy device to broadcast a hotspot access request message including at least a hotspot access verification string and a hotspot identifier, so as to improve the efficiency of the display screen displaying the picture content of the trustworthy device.
[0187] In some embodiments, the above-mentioned picture content includes home devices associated with each of the above-mentioned several regions and preset touch types configured for each region. Correspondingly, Figure 7 The shown electric bed further includes:
[0188] A touch detection unit 512, configured to, after the control subunit 5032 controls the display screen to display the above-mentioned picture content according to the target picture clarity, detect an actual touch type of a certain target region among the above-mentioned several regions;
[0189] A device control unit 513, configured to determine whether the actual touch type is consistent with the preset touch type corresponding to the target region, and if so, control the home device associated with the target region.
[0190] Wherein, implementing Figure 7 The shown electric bed can also effectively improve the efficiency and reliability when the electric bed controls home devices (such as home devices in an electric bed experience center).
[0191] Please refer to Figure 8 , Figure 8 is a schematic structural diagram of a fourth embodiment of an electric bed disclosed in an embodiment of the present application. AsFigure 8 As shown, the electric bed includes:
[0192] A memory 801 storing executable program code;
[0193] A processor 802 coupled to the memory 801;
[0194] Wherein, the processor 802 calls the executable program code stored in the memory 801 and executes the following steps:
[0195] After simultaneously detecting voice instructions issued by multiple users, monitor whether a target voice instruction broadcast by a certain trusted device and issued by the user to whom the trusted device belongs is received within a preset time period; wherein, the user to whom the trusted device belongs is one of the multiple users, and the target voice instruction carries a keyword;
[0196] If received, identify whether the target voice instruction exists in the voice instructions issued by the multiple users; if it exists, execute the control operation corresponding to the keyword.
[0197] In some application scenarios, Figure 8 The shown electric bed may be located in an electric bed experience center, and there may be multiple users within the listening range of the electric bed. Exemplarily, the multiple users may include an interpreter of the electric bed and several experiencers. The interpreter may be the user to whom a certain trusted device (such as a trusted mobile phone or a trusted tablet) belongs. In this application scenario, the voice instruction carrying a keyword issued by the interpreter can not only be detected by the electric bed, but also be recognized by the interpreter's trusted device. For example, the interpreter's trusted device can recognize the voice instruction carrying a keyword sent by the interpreter based on the interpreter's voiceprint feature, and the trusted device can broadcast the voice instruction carrying a keyword issued by the interpreter that it recognizes as the target voice instruction issued by the interpreter for the electric bed to hear.
[0198] Correspondingly, after simultaneously detecting the voice instructions issued by the interpreter and several experiencers, the processor 802 can monitor whether a target voice instruction carrying a keyword issued by the interpreter and broadcast by the interpreter's trusted device is received within a preset time period.
[0199] In some embodiments, the electric bed experience center is provided with a smart door lock for locking the electric bed experience center. Before the processor 802 simultaneously intercepts the voice commands issued by the tour guide and several experiencers, the Internet of Things management platform corresponding to the electric bed experience center sends the designated device ID and the target audio to the smart door lock, and sends the target audio to the tour guide's trusted device, and the target audio is at least used to describe the precautions after entering the electric bed experience center; accordingly, the smart door lock can broadcast the first interactive information containing the designated ID of the device, and the first interactive information is used to instruct the device to which the designated device ID belongs to report the audio being played by the device to which the designated device ID belongs; accordingly, the tour guide's trusted device receives the first interactive information and identifies whether the designated device ID is the same as the device ID of the trusted device, and if so, broadcasts the first response information containing the audio being played by the trusted device; accordingly, the smart door lock receives the first response information and identifies whether the audio being played by the trusted device is the same as the target audio; if so, unlocks the electric bed experience center to allow the tour guide and several experiencers to enter the electric bed experience center.
[0200] In some implementations, after the instructor's trusted device recognizes that the designated device ID is the same as the device ID of the trusted device and before broadcasting the first response information including the audio being played by the trusted device, the following steps may also be performed:
[0201] The narrator's trusted device calculates the ratio of the playing time of the audio being played by the trusted device to the total playing time of the audio being played by the trusted device, and determines whether the ratio is greater than or equal to a specified threshold, and if so, broadcasts the first response information containing the audio being played by the trusted device. Exemplarily, the specified threshold may be 99%.
[0202] Among them, the implementation of the above embodiment can ensure that the tour guide is allowed to enter the electric bed experience center only when he or she has listened to the target audio used to describe the precautions after entering the electric bed experience center as much as possible.
[0203] In some implementations, the keyword is used to indicate that the screen content is displayed on a display screen, and the processor 802 may perform the control operation corresponding to the keyword in the following manner:
[0204] Obtain the screen content displayed by the trusted device;
[0205] The control display shows the above screen contents.
[0206] In some embodiments, a flexible RFID tag is provided under a certain area among several areas divided on the upper surface of the mattress of the electric bed. After identifying that the target voice command exists in the voice commands issued by the multiple users, and before obtaining the screen content displayed by the trusted device, the processor 802 further performs the following steps:
[0207] Write the hotspot identifier and the initial hotspot access string of the electric bed to the flexible RFID tag so that the trusted device can be close to read.
[0208] Identify the random string randomly assigned by the electric bed to the trusted device when the trusted device last accessed the hotspot of the electric bed.
[0209] Concatenate the random string with the initial hotspot access string to obtain the current hotspot access string of the hotspot of the electric bed; wherein, after the trusted device reads the initial hotspot access string and the hotspot identifier from the flexible RFID tag, it concatenates the random string with the initial hotspot access string to obtain the hotspot access verification string.
[0210] Receive the hotspot access request message broadcast by the trusted device under the control of the user to whom the trusted device belongs. The hotspot access request message includes at least the hotspot access verification string and the hotspot identifier.
[0211] When identifying that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, verify whether the hotspot access verification string is consistent with the current hotspot access string. If they are consistent, allow the trusted device to access the hotspot of the electric bed, thereby realizing the wireless connection between the trusted device and the electric bed.
[0212] Correspondingly, the way for the processor 802 to obtain the screen content displayed by the trusted device can be:
[0213] Obtain the screen content displayed by the trusted device through wireless connection.
[0214] In some embodiments, after the processor 802 obtains the screen content displayed by the trusted device through wireless connection, it further performs the following steps:
[0215] Determine the completion time when the hotspot identifier and the initial hotspot access string of the electric bed are written to the flexible RFID tag.
[0216] Determine the reception time of the hotspot access request message.
[0217] Determine whether the actual duration from the completion time to the receipt time is greater than the specified duration; if not, use the preset maximum picture clarity as the target picture clarity; if greater, obtain the first difference between the actual duration and the specified duration; and obtain the clarity change amount that is in a direct proportional relationship with the first difference, where the clarity change amount is less than the preset maximum picture clarity; and obtain the second difference between the preset maximum picture clarity and the clarity change amount as the target picture clarity;
[0218] Correspondingly, the manner in which the processor 802 controls the display screen to display the picture content is:
[0219] Control the display screen to display the above picture content according to the target picture clarity.
[0220] In some embodiments, the above picture content includes the home appliances associated with each of the above several regions and the preset touch types configured for each region. After the processor 802 controls the display screen to display the above picture content according to the target picture clarity, the following steps are further executed:
[0221] Detect the actual touch type of a certain target region among the above several regions;
[0222] Determine whether the actual touch type is consistent with the preset touch type corresponding to the target region. If consistent, control the home appliances associated with the target region.
[0223] It can be seen that implementing Figure 8 the electric bed shown can accurately identify the voice command that needs to be preferentially executed when multiple user voice commands are simultaneously detected, improving the efficiency of the electric bed in performing the control operations corresponding to the voice commands.
[0224] In addition, implementing Figure 8 the electric bed shown can eliminate the need to pre-configure the voiceprint features of the users to whom the trusted devices belong on the electric bed, thus helping to reduce the occupation of the storage resources of the electric bed.
[0225] In addition, implementing Figure 8 the electric bed shown can also improve the intelligence level of the electric bed, which is beneficial to the popularization and application of the electric bed.
[0226] This application embodiment further discloses a storage medium, on which a computer program is stored. When the computer program is executed by a processor, all or part of the steps in the foregoing method embodiments are implemented.
[0227] The above has introduced in detail a control method and related products based on an electric bed. In this article, specific examples are used to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation on the application.
Claims
1. A control method based on an electric bed, characterized in that The method includes: After the electric bed simultaneously detects voice commands issued by multiple users, it monitors whether a target voice command broadcast by a certain trusted device and issued by the user to whom the trusted device belongs is received within a preset duration; wherein, the user to whom the trusted device belongs is one of the multiple users, and the target voice command carries a keyword. If received, the electric bed identifies whether the target voice command exists in the voice commands issued by the multiple users; if it exists, it executes the control operation corresponding to the keyword. The keyword is used to indicate that the picture content is to be displayed on the display screen. The electric bed executing the control operation corresponding to the keyword includes: The electric bed obtains the picture content displayed on the trusted device. The electric bed controls the display screen to display the picture content. A flexible RFID tag is provided under a certain area among several areas divided on the upper surface of the mattress of the electric bed. After the electric bed identifies that the target voice command exists in the voice commands issued by the multiple users, and before the electric bed obtains the picture content displayed on the trusted device, the method further includes: The electric bed writes the hotspot identifier and hotspot initial access string of the electric bed to the flexible RFID tag for the trusted device to read nearby. The electric bed identifies the random string randomly assigned to the trusted device by the electric bed when the trusted device last accessed the hotspot of the electric bed. The electric bed splices the random string with the hotspot initial access string to obtain the current hotspot access string of the hotspot of the electric bed; wherein, after the trusted device reads the hotspot initial access string and hotspot identifier from the flexible RFID tag, it splices the random string with the hotspot initial access string to obtain the hotspot access verification string. The electric bed receives a hotspot access request message broadcast by the trusted device under the control of the user to whom the trusted device belongs. The hotspot access request message at least includes the hotspot access verification string and the hotspot identifier. When the electric bed identifies that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, it verifies whether the hotspot access verification string is consistent with the current hotspot access string. If they are consistent, it allows the trusted device to access the hotspot of the electric bed, thereby realizing the wireless connection between the trusted device and the electric bed. The electric bed obtaining the picture content displayed on the trusted device includes: The electric bed obtains the picture content displayed on the trusted device through the wireless connection.
2. The control method based on an electric bed according to claim 1, wherein After the electric bed obtains the picture content displayed on the trusted device through the wireless connection, the method further includes: The electric bed determines the completion time when the hotspot identifier and the hotspot initial access string of the electric bed are written to the flexible RFID tag. The electric bed determines the reception time of the hotspot access request message. The electric bed determines whether the actual duration from the completion time to the receipt time is greater than a specified duration; if not, it sets the preset maximum picture clarity as the target picture clarity; if greater, it obtains a first difference between the actual duration and the specified duration; and, obtains a clarity change amount that is in direct proportion to the first difference, where the clarity change amount is less than the preset maximum picture clarity; and, obtains a second difference between the preset maximum picture clarity and the clarity change amount as the target picture clarity; The electric bed controls the display screen to display the picture content, including: The electric bed controls the display screen to display the picture content according to the target picture clarity.
3. The control method based on an electric bed according to claim 2, wherein, The picture content includes home appliances associated with each of the several regions and a preset touch type configured for each region. After the electric bed controls the display screen to display the picture content according to the target picture clarity, the method further includes: The electric bed detects an actual touch type of a certain target region among the several regions; The electric bed determines whether the actual touch type is consistent with the preset touch type corresponding to the target region. If they are consistent, it controls the home appliances associated with the target region.
4. An electric bed, characterized in that, The electric bed includes: An instruction monitoring unit, configured to monitor whether a target voice instruction sent by a user to whom the trusted device belongs and broadcast by the trusted device within a preset duration is received after simultaneously detecting voice instructions sent by multiple users; wherein, the user to whom the trusted device belongs is one of the multiple users, and the target voice instruction carries a keyword; An instruction recognition unit, configured to recognize whether the target voice instruction exists in the voice instructions sent by the multiple users when the instruction monitoring unit monitors and receives the target voice instruction; An operation execution unit, configured to execute a control operation corresponding to the keyword when the instruction recognition unit recognizes that the target voice instruction exists; The keyword is used to indicate displaying picture content on the display screen. The operation execution unit includes: An acquisition subunit, configured to acquire the picture content displayed on the trusted device when the instruction recognition unit recognizes that the target voice instruction exists; A control subunit, configured to control the display screen to display the picture content; A flexible RFID tag is provided under a certain region among several regions divided on the upper surface of the mattress of the electric bed. The electric bed further includes: An information writing unit, configured to write the hotspot identifier and hotspot initial access string of the electric bed to the flexible RFID tag after the instruction recognition unit recognizes that the target voice instruction exists and before the acquisition subunit acquires the picture content displayed on the trusted device, so that the trusted device can approach and read it; A string recognition unit, configured to recognize a random string randomly assigned by the electric bed to the trusted device when the trusted device last accessed the hotspot of the electric bed; A string concatenation unit, configured to concatenate the random string and the hotspot initial access string to obtain the current hotspot access string of the hotspot of the electric bed; wherein, after the trusted device reads the hotspot initial access string and the hotspot identifier from the flexible RFID tag, the random string is concatenated with the hotspot initial access string to obtain a hotspot access verification string; A device interaction unit, configured to receive a hotspot access request message broadcast by the trusted device under the control of the user to whom the trusted device belongs, where the hotspot access request message at least includes the hotspot access verification string and the hotspot identifier; A wireless connection unit, configured to, when identifying that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, verify whether the hotspot access verification string is consistent with the current hotspot access string. If they are consistent, allow the trusted device to access the hotspot of the electric bed, thereby realizing wireless connection between the trusted device and the electric bed; The obtaining subunit is specifically configured to, when the instruction recognition unit recognizes that there is the target voice instruction, obtain the screen content displayed by the trusted device through the wireless connection.
5. An electric bed, characterized in that, The electric bed includes: A memory storing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory and executes the following steps: After simultaneously detecting voice instructions issued by multiple users, monitor whether a target voice instruction issued by a user to whom the trusted device belongs and broadcast by the trusted device is received within a preset duration; wherein, the user to whom the trusted device belongs is one of the multiple users, and the target voice instruction carries a keyword; If received, identify whether there is the target voice instruction among the voice instructions issued by the multiple users; if there is, execute the control operation corresponding to the keyword; The keyword is used to indicate displaying the screen content on the display screen, and the way for the processor to execute the control operation corresponding to the keyword is: Obtain the screen content displayed by the trusted device; Control the display screen to display the screen content; Under a certain area on the upper surface of the mattress of the electric bed, there is a flexible RFID tag. After identifying that there is the target voice instruction among the voice instructions issued by the multiple users and before obtaining the screen content displayed by the trusted device, the processor further executes the following steps: Write the hotspot identifier and the hotspot initial access string of the electric bed into the flexible RFID tag so that the trusted device can be close to read; Identify the random string randomly assigned by the electric bed to the trusted device when the trusted device last accessed the hotspot of the electric bed; The random string is concatenated with the initial hotspot access string of the electric bed to obtain the current hotspot access string of the hotspot of the electric bed; wherein, after the trusted device reads the initial hotspot access string and the hotspot identifier from the flexible RFID tag, the random string is concatenated with the initial hotspot access string to obtain a hotspot access verification string; Receive a hotspot access request message broadcast by the trusted device under the control of the user to whom the trusted device belongs, where the hotspot access request message includes at least the hotspot access verification string and the hotspot identifier; When it is recognized that the hotspot identifier is the same as the hotspot identifier of the electric bed written in the flexible RFID tag, verify whether the hotspot access verification string is consistent with the current hotspot access string. If they are consistent, allow the trusted device to access the hotspot of the electric bed, thereby realizing the wireless connection between the trusted device and the electric bed; The way for the processor to obtain the screen content displayed by the trusted device is: Obtain the screen content displayed by the trusted device through the wireless connection.
6. The electric bed according to claim 5, wherein, After the processor obtains the screen content displayed by the trusted device through the wireless connection, the following steps are further executed: Determine the completion time when the hotspot identifier of the electric bed and the initial hotspot access string are written into the flexible RFID tag; Determine the reception time of the hotspot access request message; Judge whether the actual duration from the completion time to the reception time is greater than the specified duration; if not, use the preset maximum screen clarity as the target screen clarity; If it is greater, obtain the first difference between the actual duration and the specified duration; And obtain a clarity change amount that is in direct proportion to the first difference, where the clarity change amount is less than the preset maximum screen clarity; And obtain the second difference between the preset maximum screen clarity and the clarity change amount as the target screen clarity; The way for the processor to control the display screen to display the screen content is: Control the display screen to display the screen content according to the target screen clarity.
7. The electric bed according to claim 6, characterized in that, The screen content includes the home devices associated with each of the several regions and the preset touch types configured for each region. After the processor controls the display screen to display the screen content according to the target screen clarity, the following steps are further executed: Detect the actual touch type of a certain target region among the several regions; Judge whether the actual touch type is consistent with the preset touch type corresponding to the target region. If they are consistent, control the home device associated with the target region.
8. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps in the control method based on the electric bed according to any one of claims 1 to 3.
Citation Information
Patent Citations
User Specific Context Switching
US20200194004A1