Intelligent bedding detection method, electronic equipment and storage medium
Through the communication connection between the smart bedding and the detection server, fault detection is performed using the detection instructions of the detection server, which solves the problem of lack of standardization and automation of smart bedding detection in the existing technology, improves detection efficiency and accuracy, and improves the quality of factory products.
Patent Information
- Application Number
- CN202410782934.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-24
AI Technical Summary
Existing fault detection of smart bedding relies on manual judgment and lacks standardization and automation, resulting in low detection efficiency and strong subjectivity, affecting the quality of factory products.
Through the communication connection between smart bedding and the detection server, the detection instructions issued by the detection server are used to detect equipment faults, realize automated and standardized testing of smart bedding, and improve detection efficiency and accuracy.
It has realized automated and standardized testing of smart bedding, improved detection efficiency and accuracy, and thus improved the quality of factory products.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent bedding, and in particular to an intelligent bedding detection method, electronic equipment and storage medium. Background Art
[0002] With the development of intelligence, the intelligence level of bedding such as beds, mattresses, and pillows is gradually increasing. In order to improve the sleep quality of users, the intelligence of bedding needs to meet the needs of users so that bedding can truly improve the sleep of users. In order to ensure the product quality of smart bedding, it is necessary to perform fault detection on smart bedding. In the prior art, manual detection is usually adopted, that is, manual judgment is made on whether the smart bedding has air leakage, whether the control box components are working normally, whether the sleep detection belt is normal, etc. The equipment inspection process lacks test standards, the detection standards are too subjective, and the detection efficiency is low. Summary of the invention
[0003] The present invention provides a smart bedding detection method, electronic equipment and storage medium to realize automated and standardized testing of smart bedding, improve detection efficiency and detection accuracy, and further improve the quality of factory products.
[0004] According to one aspect of the present invention, a smart bedding detection method is provided, which is applied to smart bedding, and the method comprises:
[0005] Send a connection establishment request to the detection server according to the network configuration information sent by the user end;
[0006] After determining to establish a communication connection with the detection server, the corresponding device detection data is determined according to the detection instruction issued by the detection server, and the device detection data is fed back to the detection server, so that the detection server generates a corresponding detection result according to the device detection data.
[0007] According to another aspect of the present invention, there is provided a smart bedding detection method, which is applied to a detection server, and the method comprises:
[0008] After determining to establish communication connections with the user terminal and the smart bedding respectively, generating at least one detection instruction according to the detection request sent by the user terminal;
[0009] Send each detection instruction to the corresponding smart bedding in sequence;
[0010] The corresponding detection results are generated according to the device detection data for each detection instruction fed back by the smart bedding, and the detection results are sent to the user end for visual display.
[0011] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0012] at least one processor; and
[0013] a memory communicatively connected to the at least one processor; wherein,
[0014] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the intelligent bedding detection method described in any embodiment of the present invention.
[0015] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the intelligent bedding detection method according to any embodiment of the present invention when executed.
[0016] The technical solution of the embodiment of the present invention is applied to smart bedding, by sending a connection establishment request to the detection server according to the network configuration information sent by the user end; after determining to establish a communication connection with the detection server, the corresponding device detection data is determined according to the detection instruction issued by the detection server, and the device detection data is fed back to the detection server, so that the detection server generates a corresponding detection result according to the device detection data. After the smart bedding establishes a communication connection with the detection server, the detection instruction issued by the detection server is used to perform device fault detection, thereby realizing the automation and standardized testing of the smart bedding, improving the detection efficiency and detection accuracy, and thus improving the quality of the factory products.
[0017] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 is a flow chart of a smart bedding detection method provided according to Embodiment 1 of the present invention;
[0020] Figure 2 is a flow chart of a smart bedding detection method provided according to Embodiment 2 of the present invention;
[0021] Figure 3 is a flow chart of a smart bedding detection method provided according to Embodiment 3 of the present invention;
[0022] Figure 4 is a flow chart of a smart bedding detection method provided according to Embodiment 4 of the present invention;
[0023] Figure 5 is a flow chart of a smart bedding detection method provided according to Embodiment 5 of the present invention;
[0024] Figure 6 It is a schematic diagram of a device detection APP page provided according to Embodiment 5 of the present invention;
[0025] Figure 7 is a structural schematic diagram of an intelligent bedding detection device provided according to Embodiment 6 of the present invention;
[0026] Figure 8 is a structural schematic diagram of an intelligent bedding detection device provided according to Embodiment 7 of the present invention;
[0027] Fig. 9 It is a schematic diagram of the structure of an electronic device for implementing the intelligent bedding detection method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, 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 that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment 1
[0031] Figure 1A flowchart of a smart bedding detection method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of automatic detection of smart bedding. The method can be executed by a smart bedding detection device, which can be implemented in the form of hardware and / or software. Figure 1 As shown, the first embodiment provides a smart bedding detection method, which is applied to smart bedding and specifically includes the following steps:
[0032] S110. Send a connection establishment request to a detection server according to the network configuration information sent by the user terminal.
[0033] Among them, smart bedding may include but is not limited to: smart beds, smart mattresses, smart pillows, smart quilts, smart sofas and massage chairs, etc. The user end may refer to a user terminal device used to trigger a smart bedding detection request, and the user end may include but is not limited to: a user's smart phone, tablet computer, wearable device, computer or other control end.
[0034] The detection server may refer to a server for implementing fault detection of smart bedding, which is responsible for issuing detection instructions to the smart bedding to be detected according to the detection request of the user end, and generating corresponding detection results based on the device detection data fed back by the smart bedding. The detection server may at least include: a message queuing telemetry transport (MQTT) server.
[0035] The network configuration information may refer to the network configuration information used to realize the communication connection between the smart bedding and the detection server. For example, the network configuration information may include: WiFi hotspot name, WiFi hotspot password, detection server address, detection server port, and device identification of the smart bedding. The connection establishment request may refer to the request initiated by the smart bedding to the detection server to establish a communication connection between the two parties.
[0036] In an embodiment of the present invention, the smart bedding to be detected can establish a communication connection with the user end in advance through Internet of Things communication protocols such as Bluetooth, WiFi, ZigBee, etc., and obtain the network configuration information sent by the user end for establishing a communication connection with the detection server through the corresponding communication protocol channel, and send a connection establishment request to the detection server based on the network configuration information. In a specific embodiment, taking Bluetooth communication as an example, the smart bedding to be detected and the user end can respectively turn on the Bluetooth function. After the two establish a Bluetooth connection, the network configuration information sent by the user end is obtained through the Bluetooth communication protocol channel, and then a connection establishment request is sent to the detection server based on the network configuration information, waiting for a communication connection to be established with the detection server.
[0037] S120: After determining to establish a communication connection with the detection server, determine corresponding device detection data according to the detection instruction issued by the detection server, and feed back the device detection data to the detection server, so that the detection server generates corresponding detection results according to the device detection data.
[0038] The detection instruction may refer to an instruction for performing fault detection on the smart bedding generated according to the detection request triggered by the user end, and the detection instruction may include information such as test items and device identification of the smart bedding. The detection results may include: whether an external device failure occurs, whether a component failure occurs, whether an air leakage failure occurs, whether an aging failure occurs, etc.
[0039] Equipment detection data may refer to detection data generated by smart bedding according to test instructions issued by the detection server. The detection data may include but is not limited to: AI (Artificial Intelligence) firmware version number of the WiFi module, air pump value, air pressure sensor detection value, solenoid valve detection value, etc.
[0040] In an embodiment of the present invention, after the smart bedding sends a connection establishment request to the detection server, it can be determined whether a connection confirmation message fed back by the detection server is received within a preset connection response period. If so, the corresponding device detection data is generated according to the detection instruction issued by the detection server, and then the device detection data is uploaded to the detection server. The detection server then determines whether the smart bedding has a fault and which test items have failed the test based on the device detection data, and generates a corresponding detection report; if not, that is, the communication connection between the smart bedding and the detection server is not successfully established, the smart bedding sends the detection result of the failure of its own device WiFi module to the user end through the communication channel established in advance with the user end, and terminates the subsequent smart bedding detection process.
[0041] The technical solution of the embodiment of the present invention is applied to smart bedding, by sending a connection establishment request to the detection server according to the network configuration information sent by the user end; after determining to establish a communication connection with the detection server, the corresponding device detection data is determined according to the detection instruction issued by the detection server, and the device detection data is fed back to the detection server, so that the detection server generates a corresponding detection result according to the device detection data. After the smart bedding establishes a communication connection with the detection server, the detection instruction issued by the detection server is used to perform device fault detection, thereby realizing the automation and standardized testing of the smart bedding, improving the detection efficiency and detection accuracy, and thus improving the quality of the factory products.
[0042] Embodiment 2
[0043] Figure 2This is a flow chart of a smart bedding detection method provided in the second embodiment of the present invention, which is further optimized and expanded based on the above embodiment and can be combined with various optional technical solutions in the above embodiment. Figure 2 As shown, a smart bedding detection method provided in the second embodiment is applied to smart bedding, and specifically includes the following steps:
[0044] S210. After determining that the Bluetooth function is available, receive the network configuration information sent by the user terminal through the Bluetooth communication protocol, and send a connection establishment request to the detection server according to the network configuration information; wherein the network configuration information at least includes: WiFi hotspot name, WiFi hotspot password, MQTT server address and MQTT server port.
[0045] The detection server may be an MQTT server. MQTT is a lightweight communication protocol based on a publish / subscribe model, which is designed to provide reliable network services for IoT devices in low-bandwidth and unstable network environments.
[0046] In an embodiment of the present invention, after the smart bedding determines that the Bluetooth function is available, that is, after establishing a Bluetooth communication connection with the user end, the network configuration information sent by the user end for establishing a communication connection to the detection server can be obtained through the corresponding Bluetooth communication protocol channel, wherein the network configuration information includes at least: WiFi hotspot name, WiFi hotspot password, MQTT server address and MQTT server port, and then a connection establishment request is sent to the detection server according to the network configuration information. For example, a CONNECT message can be sent to request to establish an MQTT communication connection with the detection server.
[0047] It should be understood that in this embodiment, communication between the user terminal and the detection server, as well as between the detection server and the smart bedding, are carried out through the MQTT communication protocol. The user terminal and the smart bedding can subscribe to the same designated channel of the detection server (i.e., the MQTT server), that is, by setting the detection server IP and port number for subscription. After subscribing to the designated channel of the detection server, the user terminal, as a publisher, publishes the detection request to the detection server, and the detection server then searches for the subscriber and sends the generated detection instruction to the corresponding subscriber, i.e., the smart bedding; during the device detection process, the smart bedding, as a publisher, publishes the corresponding device detection data to the detection server. After the detection server generates the detection result based on the device detection data, it sends the detection result to the user terminal, which is the subscriber. At this point, the smart bedding detection process is completed.
[0048] S220: Determine whether a connection confirmation message fed back by the detection server is received within a preset connection response period.
[0049] Among them, the preset connection response period may refer to the time period used to determine whether a communication connection is successfully established between the smart bedding and the detection server. That is, if no connection confirmation message is received from the detection server within the preset connection response period, it indicates that a communication connection is not successfully established between the two. Exemplarily, the preset connection response period may be set to 5 seconds, 10 seconds, etc.
[0050] In an embodiment of the present invention, after the smart bedding sends a connection establishment request to the detection server, it can determine whether a connection confirmation message, such as a CONNACK message, is received from the detection server within a preset connection response period, so as to subsequently execute the corresponding fault detection process according to the feedback from the detection server.
[0051] S230: If not, the detection result of the device WiFi module failure is fed back to the user end through the Bluetooth communication protocol, and the subsequent smart bedding detection process is terminated.
[0052] In an embodiment of the present invention, when the smart bedding does not receive the connection confirmation message fed back by the detection server within the preset connection response period, that is, the smart bedding WiFi connection detection server fails, it is determined that the WiFi module of its own device has failed, and the detection result including the device WiFi module failure is fed back to the user end through the Bluetooth communication protocol channel, and the subsequent smart bedding detection process is terminated at the same time.
[0053] S240. If so, the detection instructions issued by the detection server according to the detection request of the user terminal are received and executed in sequence, and the corresponding device detection data is fed back to the detection server after the execution of the detection instructions, so that the detection server determines the detection results of the corresponding detection items according to the device detection data; wherein the detection instructions include at least one of the following detection items: basic function detection, leakage detection and aging detection; the detection results include at least one of the following: external device fault detection results, component fault detection results, leakage fault detection results and aging fault detection results.
[0054] In an embodiment of the present invention, when the smart bedding receives a connection confirmation message fed back by the detection server within a preset connection response period, the subsequent smart bedding detection process will be triggered. Specifically, the smart bedding can receive the detection instructions issued by the detection server in sequence, wherein the detection instructions include at least one of the following detection items: basic function detection, leakage detection and aging detection. The basic function detection is used to detect whether the smart bedding has external device and component faults, the leakage detection is used to detect whether the adjustment unit of each part of the smart bedding has a leakage fault, and the aging detection is used to detect whether the solenoid valve detection value of the smart bedding is abnormal after a preset number of inflation and deflation tests; the smart bedding can execute each detection instruction in sequence, and send the corresponding device detection result to the detection server, and then the detection server generates a corresponding detection report based on the device detection data, wherein the detection result includes at least one of the following: external device fault detection result, component fault detection result, leakage fault detection result and aging fault detection result.
[0055] It should be understood that the smart bedding executes the test instructions in series. Specifically, after the smart bedding completes a detection instruction, i.e., a test item, the detection server determines whether the detection result corresponding to the test item indicates that the smart bedding is faulty based on the device detection data corresponding to the test item. If the test item passes, the next detection instruction will be sent to the smart bedding; if the test item fails, the subsequent smart bedding detection process will be terminated, and the corresponding detection result will be sent to the user end. By executing the next test item only when the current test item passes, the detection efficiency of the smart bedding can be effectively improved.
[0056] The technical solution of the embodiment of the present invention is applied to smart bedding. After determining that the Bluetooth function is available, the network configuration information sent by the user end through the Bluetooth communication protocol is received, and a connection establishment request is sent to the detection server according to the network configuration information; wherein the network configuration information at least includes: WiFi hotspot name, WiFi hotspot password, MQTT server address and MQTT server port; it is determined whether a connection confirmation message fed back by the detection server is received within a preset connection response cycle; if not, the detection result of the device WiFi module failure is fed back to the user end through the Bluetooth communication protocol, and the subsequent smart bedding detection process is terminated; if so, the detection instruction issued by the detection server according to the detection request of the user end is received and executed in sequence, and the corresponding device detection data is fed back to the detection server after the execution of the detection instruction is completed, so that the detection server determines the detection result of the corresponding detection item according to the device detection data; wherein the detection instruction includes at least one of the following detection items: basic function detection, leakage detection and aging detection; the detection result includes at least one of the following: external device fault detection result, component fault detection result, leakage fault detection result and aging fault detection result. This embodiment uses the detection instructions issued by the detection server to perform fault detection on the smart bedding, thereby realizing automated and standardized testing of the smart bedding, making the detection items more comprehensive, improving the detection efficiency and accuracy, and thus improving the quality of factory products.
[0057] Embodiment 3
[0058] Figure 3 A flowchart of a smart bedding detection method is provided for the third embodiment of the present invention. This embodiment is applicable to the case of automatic detection of smart bedding. The method can be executed by a smart bedding detection device, which can be implemented in the form of hardware and / or software. Figure 3 As shown, a smart bedding detection method provided in the third embodiment is applied to a detection server and specifically includes the following steps:
[0059] S310: After determining to establish communication connections with the user terminal and the smart bedding respectively, generate at least one detection instruction according to the detection request sent by the user terminal.
[0060] In an embodiment of the present invention, the detection server can establish communication connections with the user terminal and the smart bedding to be detected respectively, and generate at least one corresponding detection instruction according to the detection request issued by the user terminal; wherein the detection instruction at least includes: the device representation of the smart bedding to be detected and the detection items for the smart bedding to be detected, and the detection items may include: basic function detection, air leakage detection and aging detection, etc. It can be understood that if the communication connection is not successfully established between the detection server and the smart bedding to be detected, the detection server does not need to generate the corresponding detection instruction according to the detection request sent by the user terminal, that is, the subsequent smart bedding detection process for the smart bedding is terminated.
[0061] S320, sending each detection instruction to the corresponding smart bedding in sequence.
[0062] In the embodiment of the present invention, the detection server may send the generated detection instructions to the corresponding smart bedding in sequence through a communication protocol channel pre-established between the detection server and the smart bedding, so as to execute the corresponding smart bedding detection process.
[0063] S330, generating corresponding detection results according to the device detection data for each detection instruction fed back by the smart bedding, and sending the detection results to the user end for visual display.
[0064] In an embodiment of the present invention, after the detection server sends a test instruction to the smart bedding, the smart bedding will execute the corresponding test process according to the test instruction, and upload the generated device test data for the current test instruction to the test server, so that the detection server can determine whether the corresponding smart bedding has a fault and which test items have failed the test based on the received device test data, generate a corresponding detection report, and finally send the generated detection report to the user end through a communication protocol channel pre-built with the user end for visual display.
[0065] The technical solution of the embodiment of the present invention is applied to the detection server, which generates at least one detection instruction according to the detection request sent by the user end after determining to establish communication connections with the user end and the smart bedding respectively; sends each detection instruction to the corresponding smart bedding in sequence; generates corresponding detection results according to the device detection data for each detection instruction fed back by the smart bedding, and sends the detection results to the user end for visual display. After the detection server establishes communication connections with the user end and the smart bedding respectively, the detection instructions generated according to the detection request issued by the user end are sent to the smart bedding to be detected, thereby controlling the smart bedding to execute the test instructions, and then sending the detection results generated according to the device detection data fed back by the smart bedding to the user end for visual display, thereby realizing the automation and standardization of smart bedding testing, improving detection efficiency and detection accuracy, and thus improving the quality of factory products.
[0066] Embodiment 4
[0067] Figure 4 This is a flow chart of a smart bedding detection method provided in Embodiment 4 of the present invention, which is further optimized and expanded based on the above-mentioned implementation mode and can be combined with various optional technical solutions in the above-mentioned implementation mode. Figure 4 As shown, a smart bedding detection method provided in the fourth embodiment is applied to a detection server and specifically includes the following steps:
[0068] S410: respectively obtain connection establishment requests sent by the user terminal and the smart bedding, and feed back corresponding connection confirmation messages to the user terminal and the smart bedding respectively.
[0069] In an embodiment of the present invention, the detection server can respectively receive connection establishment requests sent by the user end and the smart bedding to be detected, for example, it can send a CONNECT message to request to establish an MQTT communication connection with the detection server; after the detection server receives the connection establishment request and determines that the corresponding request is authorized, it will respectively feedback the corresponding connection confirmation message, such as a CONNACK message, to the user end and the smart bedding.
[0070] S420, acquiring and parsing the detection request of the user end to obtain corresponding detection items; wherein the detection items include at least one of the following: basic function detection, air leakage detection and aging detection.
[0071] In an embodiment of the present invention, after the detection server establishes communication connections with the user terminal and the smart bedding respectively, the detection server can receive the detection request issued by the user terminal, and determine the corresponding detection items by parsing the detection request, wherein the detection items include at least one of the following: basic function detection, air leakage detection and aging detection.
[0072] S430: Generate corresponding detection instructions according to each detection item and the device identification of the smart bedding.
[0073] In the embodiment of the present invention, the detection server may generate a detection instruction according to the device identification corresponding to the smart bedding to be detected and the detection item.
[0074] S440, sending each detection instruction to the corresponding smart bedding in sequence.
[0075] S450: Receive device detection data for each detection instruction fed back by the smart bedding.
[0076] S460: query the preset equipment fault detection strategy table according to the equipment detection data of each detection instruction to generate the detection results of the detection items of each detection instruction corresponding to the smart bedding.
[0077] The preset device fault detection strategy table may be understood as a pre-configured strategy table for determining whether a smart bedding fails based on device detection data.
[0078] In an embodiment of the present invention, after receiving the device detection data uploaded by the smart bedding, the detection server can search for the corresponding associated detection results in the preset device fault detection strategy table according to the device detection data, wherein the detection results may include at least one of the following: external device fault detection results, component fault detection results, air leakage fault detection results and aging fault detection results.
[0079] Further, based on the above-mentioned embodiments of the invention, the preset device fault detection strategy table may include at least the following information:
[0080] When the smart bedding does not receive feedback data from the left and right sleep detection belts within a preset time period, it is determined that the smart bedding has an external device failure;
[0081] When the smart bedding detects that the AI firmware version number of the WiFi module is less than the preset version, it is determined that the smart bedding is an external device failure;
[0082] When the air pump value detected by the smart bedding does not meet the first preset value range, it is determined that the smart bedding has a component failure;
[0083] When the air pressure sensor detection value detected by the smart bedding does not meet the second preset value range, it is determined that the smart bedding has a component failure;
[0084] When the detection value of the solenoid valve detected by the smart bedding does not meet the third preset value range, it is determined that the smart bedding has a component failure;
[0085] When the difference ratio between the initial air pressure value and the final air pressure value of the smart bedding within the preset air leakage detection cycle is greater than the preset air leakage detection threshold, it is determined that the smart bedding has an air leakage fault;
[0086] When at least one solenoid valve detection value among all the solenoid valve detection values detected by the smart bedding for a preset number of inflation and deflation tests does not satisfy a fourth preset value range, it is determined that the smart bedding has an aging failure.
[0087] S470: Send each detection result to the target detection item page of the user terminal for rendering and display.
[0088] Among them, the target detection item page may refer to a test result display page of a device detection application (Application, APP) located at the user end.
[0089] In an embodiment of the present invention, the detection server can send the generated detection results to the user end through the corresponding communication protocol channel, and render and display them on the target detection item page of the user end. For example, the detection results of the smart bedding can be visualized in ways including but not limited to: visual charts, dashboards, and interactive operation controls, so as to prompt equipment inspection personnel to promptly understand the fault detection status of the smart bedding, and perform maintenance on the faulty detection items, thereby improving the product quality of the smart bedding before leaving the factory.
[0090] Furthermore, based on the above-mentioned embodiments of the invention, an intelligent bedding detection method provided by the embodiments of the invention further includes:
[0091] When it is determined that the test result corresponding to the target test item is one of external device failure, component failure, air leakage failure and aging failure, all test instructions after the test instruction corresponding to the target test item are stopped from being sent to the smart bedding.
[0092] In an embodiment of the present invention, when the detection server determines that the detection result of the smart bedding for the target detection item, i.e., the current detection item, is one of an external device failure, a component failure, an air leakage failure, and an aging failure, that is, when it is determined that the smart bedding has not passed the target test item, it will stop sending all detection instructions after the detection instruction corresponding to the target detection item to the smart bedding, that is, terminate the subsequent smart bedding detection process, and send the detection results corresponding to the tested test items to the user end.
[0093] Furthermore, based on the above-mentioned embodiments of the invention, an intelligent bedding detection method provided by the embodiments of the invention further includes:
[0094] According to the user's call request for the work order creation interface, a corresponding work order is created for the smart bedding.
[0095] In an embodiment of the present invention, the detection server may be pre-configured with a work order creation interface, so that the detection server can create a corresponding work order for the smart bedding to be detected according to the call request triggered by the user end for the work order creation interface. The complete detection process of the smart bedding is recorded in detail using the work order record, which can effectively improve the management efficiency of the smart bedding detection.
[0096] The technical solution of the embodiment of the present invention is applied to the detection server, by respectively obtaining the connection establishment request sent by the user end and the smart bedding, and feeding back the corresponding connection confirmation message to the user end and the smart bedding respectively; obtaining and parsing the detection request of the user end to obtain the corresponding detection item; wherein the detection item includes at least one of the following: basic function detection, air leakage detection and aging detection; generating corresponding detection instructions according to the device identification of each detection item and the smart bedding; sending each detection instruction to the corresponding smart bedding in sequence; receiving the device detection data for each detection instruction fed back by the smart bedding; querying the preset device fault detection strategy table according to the device detection data of each detection instruction to generate the detection result of the detection item corresponding to each detection instruction of the smart bedding; sending each detection result to the target detection item page of the user end for rendering and display. In this embodiment, the detection instruction generated according to the detection request issued by the user end is sent to the smart bedding to be detected, thereby controlling the smart bedding to execute the test instruction, and then sending the detection result generated according to the device detection data fed back by the smart bedding to the user end for visual display, so as to realize the automation and standardization test of the smart bedding, improve the detection efficiency and detection accuracy, and thus improve the quality of the factory products.
[0097] Embodiment 5
[0098] Figure 5 This is a flowchart of a smart bedding detection method provided in Example 5 of the present invention. Based on the above embodiments, this embodiment takes the smart bedding as a smart mattress as an example to provide an implementation of a smart bedding detection method, which can realize the automated and standardized detection of smart mattresses. In this smart bedding detection method, the equipment detection personnel can log in to the equipment detection APP on the user side, and then Figure 6 By clicking on the device detection APP page shown, the operations of finished product / semi-finished product detection selection, mattress type selection and detection item selection are triggered in sequence, and the corresponding smart mattress detection process is executed. The detection server determines the corresponding detection result based on the device detection data of the smart mattress, and feeds back the detection result to the detection item page of the equipment detection APP for visual display.
[0099] Among them, the fault judgment criteria for each detection item are as follows:
[0100] 1) Bluetooth failure: When the Bluetooth connection between the smart mattress and the user end fails, it is determined that the Bluetooth failure occurs.
[0101] 2) WiFi failure: When the smart mattress fails to connect to the detection server using WiFi, it is determined that the device WiFi module is faulty.
[0102] 3) External device failure: ① When the smart mattress sends data to the left and right sleep detection belts but does not receive feedback data, it is determined to be an external device failure; ② When it is detected that the AI firmware version number of the WiFi module is less than the preset version, it is determined to be an external device failure.
[0103] 4) Component failure: ① When the detected air pump value does not meet the first preset value range, it is determined to be a component failure; ② When the detected air pressure sensor detection value does not meet the second preset value range, it is determined to be a component failure; ③ When the solenoid valve detection value does not meet the third preset value range, it is determined to be a component failure.
[0104] 5) Leakage detection failure: The smart mattress reports the air pressure value of the adjustment unit in each part according to the preset detection frequency. After the preset leakage detection cycle, the detection server compares the initial air pressure value with the final air pressure value. When the difference is greater than the preset leakage detection threshold, it is determined that there is a leakage failure in the adjustment unit in the current part.
[0105] 6) Aging fault detection: When the smart mattress performs a preset number of inflation and deflation tests, and at least one of the electromagnetic valve detection values does not meet the fourth preset value range, it is determined to be an aging fault.
[0106] The specific detection process of the smart mattress can refer to the above embodiment and will not be repeated here.
[0107] The technical solution of the embodiment of the present invention is to publish a detection request through the device detection APP on the user side, and the detection server generates a corresponding detection instruction according to the detection request, thereby controlling the smart mattress to execute the test instruction, and then sending the detection result generated according to the device detection data fed back by the smart mattress to the detection item page on the user side for visual display, thereby realizing automated and standardized testing of the smart mattress, improving detection efficiency and detection accuracy, and thus improving the quality of factory products.
[0108] Embodiment 6
[0109] Figure 7 This is a schematic diagram of the structure of an intelligent bedding detection device provided in Embodiment 4 of the present invention. Figure 7 As shown, the device is applied to smart bedding, including:
[0110] A request sending module 51 is used to send a connection establishment request to the detection server according to the network configuration information sent by the user end;
[0111] The detection module 52 is used to determine the corresponding device detection data according to the detection instruction issued by the detection server after determining to establish a communication connection with the detection server, and feed the device detection data back to the detection server so that the detection server generates a corresponding detection result according to the device detection data.
[0112] The technical solution of the embodiment of the present invention is applied to smart bedding, and a connection establishment request is sent to a detection server through a request sending module according to the network configuration information sent by the user end; after determining to establish a communication connection with the detection server, the detection module determines the corresponding device detection data according to the detection instruction sent by the detection server, and feeds back the device detection data to the detection server, so that the detection server generates a corresponding detection result according to the device detection data. After the smart bedding establishes a communication connection with the detection server, the detection instruction sent by the detection server is used to perform device fault detection, thereby realizing the automation and standardized testing of the smart bedding, improving the detection efficiency and accuracy, and thus improving the quality of the factory products.
[0113] Further, based on the above-mentioned embodiment of the invention, the request sending module 51 includes:
[0114] The request sending unit is used to receive the network configuration information sent by the user terminal through the Bluetooth communication protocol after determining that the Bluetooth function is available, and send a connection establishment request to the detection server according to the network configuration information; wherein the network configuration information at least includes: WiFi hotspot name, WiFi hotspot password, MQTT server address and MQTT server port.
[0115] Further, based on the above-mentioned embodiment of the invention, the detection module 52 includes:
[0116] A connection confirmation unit, used to determine whether a connection confirmation message fed back by the detection server is received within a preset connection response period;
[0117] The first processing unit is used to feed back the detection result of the device WiFi module failure to the user terminal through the Bluetooth communication protocol if no, and terminate the subsequent smart bedding detection process;
[0118] The second processing unit is used to, if yes, sequentially receive and execute the detection instructions issued by the detection server according to the detection request of the user terminal, and feedback the corresponding device detection data to the detection server after the execution of the detection instructions, so that the detection server determines the detection results of the corresponding detection items according to the device detection data; wherein the detection instructions include at least one of the following detection items: basic function detection, leakage detection and aging detection; the detection results include at least one of the following: external device fault detection results, component fault detection results, leakage fault detection results and aging fault detection results.
[0119] The intelligent bedding detection device provided in the embodiment of the present invention can execute the intelligent bedding detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0120] Embodiment 7
[0121] Figure 8This is a schematic diagram of the structure of an intelligent bedding detection device provided in Embodiment 7 of the present invention. Figure 8 As shown, the device is applied to a detection server and includes:
[0122] The instruction generation module 61 is used to generate at least one detection instruction according to the detection request sent by the user terminal after determining to establish communication connections with the user terminal and the smart bedding respectively;
[0123] The command sending module 62 is used to send each detection command to the corresponding smart bedding in sequence;
[0124] The detection module 63 is used to generate corresponding detection results according to the device detection data for each detection instruction fed back by the smart bedding, and send the detection results to the user end for visual display.
[0125] The technical solution of the embodiment of the present invention is applied to the detection server. After the instruction generation module determines to establish communication connections with the user terminal and the smart bedding respectively, at least one detection instruction is generated according to the detection request sent by the user terminal; the instruction sending module sends each detection instruction to the corresponding smart bedding in sequence; the detection module generates corresponding detection results according to the device detection data for each detection instruction fed back by the smart bedding, and sends the detection results to the user terminal for visual display. After the detection server establishes communication connections with the user terminal and the smart bedding respectively, the detection instructions generated according to the detection request issued by the user terminal are sent to the smart bedding to be detected, thereby controlling the smart bedding to execute the test instructions, and then sending the detection results generated according to the device detection data fed back by the smart bedding to the user terminal for visual display, so as to realize the automation and standardization of smart bedding testing, improve the detection efficiency and detection accuracy, and thus improve the quality of factory products.
[0126] Further, based on the above-mentioned embodiment of the invention, the instruction generation module 61 includes:
[0127] A connection establishment unit, used to obtain connection establishment requests sent by the user terminal and the smart bedding, and to feed back corresponding connection confirmation messages to the user terminal and the smart bedding, respectively;
[0128] A request parsing unit, used to obtain and parse the detection request of the user end to obtain the corresponding detection item; wherein the detection item includes at least one of the following: basic function detection, air leakage detection and aging detection;
[0129] The test instruction generating unit is used to generate corresponding test instructions according to each test item and the device identification of the smart bedding.
[0130] Further, based on the above-mentioned embodiment of the invention, the detection module 63 includes:
[0131] A data receiving unit, used to receive device detection data for each detection instruction fed back by the smart bedding;
[0132] A detection result generating unit, used to query a preset device fault detection strategy table according to the device detection data of each detection instruction, so as to generate a detection result of the detection item of each detection instruction corresponding to the smart bedding;
[0133] The result display unit is used to send each detection result to the target detection item page of the user end for rendering and display.
[0134] Further, based on the above-mentioned embodiment of the invention, the preset device fault detection strategy table includes at least the following information:
[0135] When the smart bedding does not receive feedback data from the left and right sleep detection belts within a preset time period, it is determined that the smart bedding has an external device failure;
[0136] When the smart bedding detects that the AI firmware version number of the WiFi module is less than the preset version, it is determined that the smart bedding is an external device failure;
[0137] When the air pump value detected by the smart bedding does not meet the first preset value range, it is determined that the smart bedding has a component failure;
[0138] When the air pressure sensor detection value detected by the smart bedding does not meet the second preset value range, it is determined that the smart bedding has a component failure;
[0139] When the detection value of the solenoid valve detected by the smart bedding does not meet the third preset value range, it is determined that the smart bedding has a component failure;
[0140] When the difference ratio between the initial air pressure value and the final air pressure value of the smart bedding within the preset air leakage detection cycle is greater than the preset air leakage detection threshold, it is determined that the smart bedding has an air leakage fault;
[0141] When at least one solenoid valve detection value among all the solenoid valve detection values detected by the smart bedding for a preset number of inflation and deflation tests does not satisfy a fourth preset value range, it is determined that the smart bedding has an aging failure.
[0142] Furthermore, based on the above-mentioned embodiment of the invention, the intelligent bedding detection device further includes:
[0143] The work order creation module is used to stop sending all detection instructions after the detection instruction corresponding to the target detection item to the smart bedding when it is determined that the detection result corresponding to the target detection item is one of external device failure, component failure, air leakage failure and aging failure.
[0144] The intelligent bedding detection device provided in the embodiment of the present invention can execute the intelligent bedding detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0145] Embodiment 8
[0146] Fig. 9 A schematic diagram of an electronic device 70 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0147] like Fig. 9 As shown, the electronic device 70 includes at least one processor 71, and a memory connected to the at least one processor 71, such as a read-only memory (ROM) 72, a random access memory (RAM) 73, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 71 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 72 or the computer program loaded from the storage unit 78 to the random access memory (RAM) 73. In the RAM 73, various programs and data required for the operation of the electronic device 70 can also be stored. The processor 71, the ROM 72, and the RAM 73 are connected to each other via a bus 74. An input / output (I / O) interface 75 is also connected to the bus 74.
[0148] A number of components in the electronic device 70 are connected to the I / O interface 75, including: an input unit 76, such as a keyboard, a mouse, etc.; an output unit 77, such as various types of displays, speakers, etc.; a storage unit 78, such as a disk, an optical disk, etc.; and a communication unit 79, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 79 allows the electronic device 70 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0149] The processor 71 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 71 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 71 performs the various methods and processes described above, such as the intelligent bedding detection method.
[0150] In some embodiments, the intelligent bedding detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 78. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 70 via the ROM 72 and / or the communication unit 79. When the computer program is loaded into the RAM 73 and executed by the processor 71, one or more steps of the intelligent bedding detection method described above may be performed. Alternatively, in other embodiments, the processor 71 may be configured to perform the intelligent bedding detection method in any other appropriate manner (e.g., by means of firmware).
[0151] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0152] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0153] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0154] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0155] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0156] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0157] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0158] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A smart bedding detection method, characterized in that: Applied to smart bedding, the method comprises: Send a connection establishment request to the detection server according to the network configuration information sent by the user end; After determining to establish a communication connection with the detection server, the corresponding device detection data is determined according to the detection instruction issued by the detection server, and the device detection data is fed back to the detection server, so that the detection server generates a corresponding detection result according to the device detection data.
2. The method according to claim 1, characterized in that The step of sending a connection establishment request to a detection server according to the network configuration information sent by the user terminal includes: After determining that the Bluetooth function is available, receive the network configuration information sent by the user terminal through the Bluetooth communication protocol, and send the connection establishment request to the detection server according to the network configuration information; wherein the network configuration information at least includes: WiFi hotspot name, WiFi hotspot password, MQTT server address and MQTT server port.
3. The method according to claim 1, characterized in that After determining to establish a communication connection with the detection server, determining corresponding device detection data according to the detection instruction issued by the detection server, and feeding back the device detection data to the detection server so that the detection server generates a corresponding detection result according to the device detection data, including: Determine whether a connection confirmation message fed back by the detection server is received within a preset connection response period; If not, the detection result of the device WiFi module failure is fed back to the user terminal through the Bluetooth communication protocol, and the subsequent smart bedding detection process is terminated; If so, the detection instructions issued by the detection server according to the detection request of the user terminal are received and executed in sequence, and the corresponding device detection data are fed back to the detection server after the execution of the detection instructions, so that the detection server determines the detection results of the corresponding detection items according to the device detection data; wherein, the detection instructions include at least one of the following detection items: basic function detection, leakage detection and aging detection; the detection results include at least one of the following: external device fault detection results, component fault detection results, leakage fault detection results and aging fault detection results.
4. A smart bedding detection method, characterized in that: Applied to a detection server, the method comprises: After determining to establish communication connections with the user terminal and the smart bedding respectively, generating at least one detection instruction according to the detection request sent by the user terminal; Sending each of the detection instructions to the corresponding smart bedding in sequence; The corresponding detection results are generated according to the device detection data for each detection instruction fed back by the smart bedding, and the detection results are sent to the user end for visual display.
5. The method according to claim 4, characterized in that After determining to establish communication connections with the user terminal and the smart bedding respectively, generating at least one detection instruction according to the detection request sent by the user terminal includes: Respectively obtain the connection establishment requests sent by the user terminal and the smart bedding, and feed back corresponding connection confirmation messages to the user terminal and the smart bedding respectively; Acquire and parse the detection request of the user end to obtain corresponding detection items; wherein the detection items include at least one of the following: basic function detection, air leakage detection and aging detection; Generate corresponding detection instructions according to each of the detection items and the device identification of the smart bedding.
6. The method according to claim 4, characterized in that The generating corresponding detection results according to the device detection data for each detection instruction fed back by the smart bedding, and sending the detection results to the user end for visual display, includes: Receiving device detection data for each of the detection instructions fed back by the smart bedding; According to the device detection data of each detection instruction, a preset device fault detection strategy table is queried to generate detection results of the detection items of each detection instruction corresponding to the smart bedding; Each of the detection results is sent to the target detection item page of the user terminal for rendering and display.
7. The method according to claim 6, characterized in that The preset device fault detection strategy table includes at least the following information: When the smart bedding does not receive feedback data from the left and right sleep detection belts within a preset time period, it is determined that the smart bedding has an external device failure; When the smart bedding detects that the AI firmware version number of the WiFi module is less than the preset version, it is determined that the smart bedding has an external device failure; When the air pump value detected by the smart bedding does not meet the first preset value range, it is determined that the smart bedding has a component failure; When the air pressure sensor detection value detected by the smart bedding does not meet the second preset value range, it is determined that the smart bedding has a component failure; When the detection value of the solenoid valve detected by the smart bedding does not meet the third preset value range, it is determined that the smart bedding has a component failure; When the difference ratio between the initial air pressure value and the final air pressure value of the smart bedding within the preset air leakage detection period is greater than the preset air leakage detection threshold, it is determined that the smart bedding has an air leakage fault; When at least one solenoid valve detection value among all the solenoid valve detection values detected by the smart bedding for a preset number of inflation and deflation tests does not satisfy a fourth preset value range, it is determined that the smart bedding has an aging failure.
8. The method according to claim 6, characterized in that Also includes: When it is determined that the detection result corresponding to the target detection item is one of external device failure, component failure, air leakage failure and aging failure, all detection instructions after the detection instruction corresponding to the target detection item are stopped from being sent to the smart bedding.
9. The method according to claim 4, characterized in that Also includes: According to the calling request of the user end for the work order creation interface, a corresponding work order is created for the smart bedding.
10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the intelligent bedding detection method according to any one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the intelligent bedding detection method according to any one of claims 1 to 9 when executed.
Citation Information
Patent Citations
Method and system for testing washing machine
CN108199918A
Internet of Things equipment fault remote repair system
CN110113216A
Fault processing method and device, electronic equipment and computer storage medium
CN116485363A
Cloud platform diagnosis test method and system for smart home
CN117201217A
