Information query method and device of intelligent household electrical appliance, electronic equipment and storage medium
By embedding wireless and processing modules into smart home appliances, messages are generated and sent to output network configuration codes to peripherals, solving the problem of users querying complex network configuration codes and enabling convenient self-service network configuration operations.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2026-03-27
AI Technical Summary
In cases where the Matter label on a smart home appliance is missing, incorrectly affixed, or the QR code and manual network configuration code are unclear, users need to contact the factory through after-sales service to retrieve the network configuration code, a complicated and cumbersome process.
Smart home appliances have built-in wireless and processing modules. They generate and send messages to query the network configuration code and output it to peripheral devices such as players, monitors, or wired controllers when they are available, simplifying user operation and reducing after-sales work.
Users can check the network configuration code without contacting after-sales service, which is simple and convenient and reduces the workload of after-sales service.
Smart Images

Figure CN121743369A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of intelligent household appliances, and in particular relates to an information query method and device for an intelligent household appliance, an electronic device, and a storage medium. BACKGROUND
[0002] A Matter label of an intelligent household appliance (for example, a smart air conditioner, a smart refrigerator, a smart washing machine) contains a Matter two-dimensional code and a manual network configuration code. The intelligent household appliance can be connected to an ecological network supporting the Matter standard through the Matter two-dimensional code and / or the manual network configuration code. In the case of missing or misplacing the Matter label, or the Matter two-dimensional code and the manual network configuration code being blurred, a user needs to contact the factory through after-sales service to query the manual network configuration code. However, this process is relatively complex. The user needs to first find out the MAC address or WiFi ID of the wireless module of the intelligent household appliance, and then inform the after-sales personnel to query the manual network configuration code. The entire process is difficult and cumbersome for ordinary users. SUMMARY
[0003] The present application aims to at least solve one of the technical problems in the related art. To this end, the present application provides an information query method and device for an intelligent household appliance, an electronic device, a computer readable storage medium, and a computer program product, which can enable a user to query a network configuration code without contacting after-sales service, and the operation is simple and convenient.
[0004] In a first aspect, the present application provides an information query method for an intelligent household appliance. The intelligent household appliance includes a wireless module and a processing module. The wireless module stores a network configuration code. The method includes:
[0005] In the case that the processing module obtains a first request, the processing module generates a first message. The first request is used to request to obtain the network configuration code. The first message is used to indicate that the first request has been received.
[0006] In the case that the processing module receives a second request sent by the wireless module, the processing module sends the first message to the wireless module. The second request is used to query whether the first request has been received.
[0007] In the case that the wireless module receives the first message and determines that the intelligent household appliance has an external device, the wireless module outputs the network configuration code to the external device.
[0008] According to the information query method of the smart home appliance device, in a case where the processing module obtains a first request for requesting to obtain a network configuration code, the processing module generates a first message; the first message is used to indicate that the first request has been received; in a case where the processing module receives a second request sent by the wireless module, the processing module sends the first message to the wireless module; the second request is used to query whether the first request is received; in a case where the wireless module receives the first message and determines that the smart home appliance device has an external device, the network configuration code is output to the external device, so that the user can complete the query of the network configuration code without contacting the after-sales service, and the operation is simple and convenient, and the after-sales work of the product can be reduced.
[0009] According to an embodiment of the present application, after the wireless module receives the first message, the method further comprises:
[0010] In a case where the wireless module determines that the smart home appliance device does not have an external device, the wireless module triggers a broadcast state;
[0011] In the broadcast state, the wireless module broadcasts a target hotspot name; the target hotspot name comprises the network configuration code.
[0012] According to an embodiment of the present application, outputting the network configuration code to the external device comprises:
[0013] Sending the network configuration code to the processing module by the wireless module;
[0014] Outputting the network configuration code to the external device by the processing module.
[0015] According to an embodiment of the present application, outputting the network configuration code to the external device by the processing module comprises:
[0016] Determining the priority of each external device of the smart home appliance device according to the external device type of each external device by the processing module;
[0017] Outputting the network configuration code to the external device with the highest priority by the processing module.
[0018] According to an embodiment of the present application, the external device comprises at least one of a player, a display and a line controller.
[0019] Outputting the network configuration code to the external device with the highest priority by the processing module comprises at least one of:
[0020] In a case where it is determined that the player has the highest priority, outputting the network configuration code to the player by the processing module, so that the player plays the network configuration code;
[0021] In a case where it is determined that the display has the highest priority, outputting the network configuration code to the display by the processing module, so that the display displays the network configuration code;
[0022] If the wired controller is determined to have the highest priority, the processing module outputs the network distribution code to the wired controller so that the wired controller can display the network distribution code.
[0023] According to one embodiment of this application, the wireless module includes a flash memory; the flash memory is used to store peripheral information most recently reported by the processing module;
[0024] Before determining whether smart home appliances have peripherals, the method also includes:
[0025] The wireless module retrieves the peripheral information most recently reported by the processing module from the flash memory; the peripheral information is used to indicate the access status of various peripheral types.
[0026] The wireless module determines whether a smart home appliance has peripherals based on peripheral information.
[0027] According to one embodiment of this application, before the processing module obtains the first request, the method further includes:
[0028] The second request is sent to the processing module via the wireless module; the interval between two adjacent second requests is the target duration.
[0029] Secondly, this application provides an information query device for smart home appliances, the smart home appliances including a wireless module and a processing module; the wireless module stores a network configuration code; the query device includes:
[0030] A first processing module is used to generate a first message when the processing module receives a first request; the first request is used to request to obtain a network configuration code; the first message is used to indicate that the first request has been received.
[0031] The second processing module is used to send a first message to the wireless module when the processing module receives a second request sent by the wireless module; the second request is used to query whether the first request has been received.
[0032] The third processing module is used to output the configuration code to the peripheral device when the wireless module receives the first message and determines that the smart home appliance has a peripheral device.
[0033] According to the information query device for smart home appliances of this application, when the processing module receives a first request for obtaining a network configuration code, the processing module generates a first message; the first message indicates that the first request has been received; when the processing module receives a second request sent by the wireless module, the processing module sends the first message to the wireless module; the second request is used to query whether the first request has been received; when the wireless module receives the first message and determines that the smart home appliance has an external device, the network configuration code is output to the external device, enabling users to query the network configuration code without contacting after-sales service, which is simple and convenient to operate and can also reduce after-sales work for the product.
[0034] Thirdly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the information query method for smart home appliances as described in the first aspect above.
[0035] Fourthly, this application provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the information query method for smart home appliances as provided in the first aspect above.
[0036] Fifthly, this application provides a chip including a processor and a communication interface coupled to the processor, the processor being used to run programs or instructions to implement the information query method for smart home appliances as provided in the first aspect.
[0037] Sixthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the information query method for smart home appliances as provided in the first aspect above.
[0038] The above-described one or more technical solutions in the embodiments of this application have at least one of the following technical effects:
[0039] According to the information query device for smart home appliances of this application, when the processing module receives a first request for obtaining a network configuration code, the processing module generates a first message; the first message indicates that the first request has been received; when the processing module receives a second request sent by the wireless module, the processing module sends the first message to the wireless module; the second request is used to query whether the first request has been received; when the wireless module receives the first message and determines that the smart home appliance has an external device, the network configuration code is output to the external device, enabling users to query the network configuration code without contacting after-sales service, which is simple and convenient to operate and can also reduce after-sales work for the product.
[0040] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0041] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0042] Figure 1 This is one of the flowcharts illustrating the information query method for smart home appliances provided in this application embodiment;
[0043] Figure 2 This is a schematic diagram of the Matter ecosystem network structure in a specific scenario provided in an embodiment of this application;
[0044] Figure 3 This is a schematic diagram of a Matter label provided in an embodiment of this application;
[0045] Figure 4 This is a schematic diagram showing the connections between the wireless module, processing module, and peripherals provided in the embodiments of this application;
[0046] Figure 5 This is a second flowchart illustrating the information query method for smart home appliances provided in this application embodiment;
[0047] Figure 6 This is a schematic diagram of the process of outputting the network configuration code to the peripheral device according to an embodiment of this application;
[0048] Figure 7 This is the third flowchart illustrating the information query method for smart home appliances provided in this application embodiment;
[0049] Figure 8 This is a schematic diagram illustrating the interaction between the wireless module and the processing module provided in an embodiment of this application;
[0050] Figure 9 This is a schematic diagram of the structure of the information query device for smart home appliances provided in the embodiments of this application;
[0051] Figure 10 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0052] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0053] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0054] The following description, in conjunction with the accompanying drawings, details the information query method, information query device, electronic device, and readable storage medium for smart home appliances provided in this application, through specific embodiments and application scenarios.
[0055] Before introducing the embodiments of this application, some terms involved in the embodiments of this application will be explained:
[0056] The Matter protocol is an open-source Internet of Things (IoT) standard designed to improve interoperability between different smart home devices and platforms. It is primarily developed by the Connectivity Standards Alliance (CSA). Its goal is to simplify connectivity for smart home devices, enabling them to work seamlessly across various platforms such as Google Home, Apple HomeKit, and Amazon Alexa. The Matter standard uses an IP-based communication protocol, enhancing device security and reliability.
[0057] Commissioning state (also known as configurable state or commissioning mode): The wireless communication module in the home appliance enters a state that can be discovered by mobile devices. For home appliances with BLE+wifi wireless communication modules, after entering this state, the home appliance can be discovered through the Bluetooth module of the mobile device; for home appliances with wifi wireless communication modules, after entering this state, the home appliance can be discovered through the wifi module of the mobile device.
[0058] The Matter label contains a Matter QR code and a manual configuration code. Matter smart home appliances must have this label affixed; without it, the Matter ecosystem's commissioning process cannot be completed. The Matter QR code is a configuration code in QR code form. Scanning the QR code yields the configuration code, enabling smart home appliances to connect to the Matter ecosystem. The configuration code is calculated from the Matter QR code using a specific algorithm.
[0059] Manual network configuration codes are also a type of network configuration code. Smart home appliances can be connected to the Matter ecosystem network via Matter QR codes and / or manual network configuration codes. Network configuration codes typically consist of 21 or 11 digits, with 11-digit manual network configuration codes being more commonly used in products.
[0060] It should be noted that the device QR code and manual network configuration code are contained in the Digital Addressable Lighting Interface (DAC) certificate and are written to the wireless module along with the certificate. Each device's Matter QR code and manual network configuration code are unique.
[0061] Peripherals refer to additional devices for computers or other electronic devices, also known as external devices. They are connected to the host system to extend or enhance the system's functionality. Peripherals include input devices (keyboard, mouse, microphone), output devices (monitor, printer, player), etc. The peripherals in this application embodiment are intended to demonstrate the network configuration code; therefore, the peripherals in this application refer to output peripherals.
[0062] Voice module: Includes a microphone and a player. The microphone is used for sound pickup, and the player is used for broadcasting the voice.
[0063] The smart home device in this embodiment includes a wireless module and a processing module; the wireless module stores a network configuration code, such as... Figure 1 As shown, the information query method for this smart home appliance includes steps 110, 120, and 130.
[0064] Step 110: When the processing module receives the first request, it generates a first message; the first request is used to request the network configuration code; the first message is used to indicate that the first request has been received.
[0065] The smart home appliances described in this application can be smart home appliance products, which refer to home appliances with internet connectivity. Smart home appliance products typically have functions such as remote control, voice control, automatic adjustment, and data analysis, enabling users to operate and manage them through smartphones, tablets, or other devices.
[0066] Smart home appliances can include smart refrigerators, smart air conditioners, and smart washing machines, as well as other smart products; there are no restrictions on this.
[0067] Smart home appliances include a wireless module and a processing module. In practical applications, the wireless module can be a module corresponding to WiFi and Bluetooth BLEE, and the processing module can be a main control MCU (Micro Controller Unit).
[0068] The smart home appliances described in this application support the Matter standard protocol, an open standard protocol designed to achieve seamless communication and interoperability between smart home devices. Regardless of the brand of smart home appliances used by the user, as long as these devices support the Matter protocol, they can seamlessly connect and work together to form an ecosystem network supporting the Matter standard (also known as the Matter smart ecosystem network, Matter ecosystem network, or Matter ecosystem). The Matter standard protocol breaks down barriers between different ecosystems and brands of home appliances, achieving interconnectivity.
[0069] like Figure 2 As shown in the figure, this application embodiment provides a schematic diagram of the Matter ecosystem network in a specific scenario. The Matter ecosystem network includes a user terminal 201 (e.g., mobile phone, tablet, computer, etc.), a smart home appliance 202 (a device to be connected to the Matter ecosystem network), a smart speaker 203 (a device already connected to the Matter ecosystem network), and a wireless router 204. The user terminal 201, smart home appliance 202, smart speaker 203, and wireless router 204 are located on the same local area network. The user terminal 201 and smart speaker 203 have a network connection, the smart speaker 203 and wireless router 204 have a network connection, and the wireless router 204 and smart home appliance 202 have a network connection. The user terminal 201 can send control commands to the smart home appliance 202 through the smart speaker 203.
[0070] For smart home appliances that support the Matter protocol, these smart home appliances usually have a Matter label. The Matter label contains a Matter QR code and a manual network configuration code. The Matter QR code is a network configuration code in the form of a QR code. Scanning the QR code can obtain the network configuration code, which enables the smart home appliance to connect to the Matter ecosystem. The manual network configuration code is also a network configuration code. The smart home appliance can connect to the Matter ecosystem network through the Matter QR code and / or the manual network configuration code.
[0071] like Figure 3As shown in the illustration, this application provides a schematic diagram of a Matter label. The Matter label has the characters "Matter", a QR code, and the characters "1234-567-8901". The characters "Matter" indicate that the smart home appliance supports the Matter protocol and can join the Matter smart ecosystem network. Scanning the QR code can obtain a network configuration code, thereby connecting to the Matter ecosystem. The characters "1234-567-8901" are the manual network configuration code, and users can also directly enter the manual network configuration code to connect to the Matter ecosystem.
[0072] The smart home device in this application embodiment includes a wireless module and a processing module. The wireless module stores a network configuration code, which can be an electronic Matter QR code or a manual network configuration code. From the perspective of convenient display, the network configuration code stored in the wireless module is usually a manual network configuration code.
[0073] If a user determines that the Matter label is unavailable, such as when the Matter label is missing, incorrectly affixed, or when the QR code and manual configuration code on the Matter label are unclear, the user can generate a first request via the smart home appliance's remote control, local physical buttons on the device, wired controller buttons, or voice input. The first request is used to request the configuration code.
[0074] The buttons on the remote control, the device itself, and the wired controller can be pre-defined. A single button or a combination of buttons can trigger the processing module to receive the first request. For voice input, the voice input module can send the first request to the processing module by inputting a "wake word + network configuration code" at the microphone (audio input interface). The device's wake word is a specific word or phrase used to activate the voice assistant or smart home device. Common wake words include "Hello, Siri" or "Hey, Google." The wake word is the trigger word that the device listens for; once detected, the device begins processing the user's voice commands.
[0075] After receiving the first request, the processing module of this application generates a first message to indicate that the first request has been received.
[0076] Step 120: When the processing module receives the second request sent by the wireless module, the processing module sends a first message to the wireless module; the second request is used to query whether the first request has been received.
[0077] In this embodiment of the application, the wireless module periodically (the periodicity refers to each target duration, which can be in the range of seconds, such as 2 seconds or longer) sends a second request to the processing module. The second request is used to query whether the first request has been received, that is, a query mechanism is set up between the wireless module and the processing module.
[0078] Before receiving the second request, if the processing module has already generated a first message indicating that the first request has been received, it can send the first message to the wireless module to inform the wireless module that the first request has been received. If there is no first message, it can wait for the next opportunity to send the second request.
[0079] Step 130: After the wireless module receives the first message and confirms that the smart home appliance has an external device, the configuration code is output to the external device.
[0080] The wireless module in this application embodiment will actively request the smart home appliance to provide peripheral information after each power-on, through agreed-upon instructions. This peripheral information includes the support (or availability) of various types of peripherals. After obtaining the peripheral information from the smart home appliance, the peripheral information will be stored in the flash memory of the wireless module.
[0081] Specifically, in practical applications, the processing module can feed back peripheral information to the wireless module through agreed-upon protocol bits. These protocol bits include WS1, WS2, and WS3. WS1 indicates whether a voice player is supported, WS2 indicates whether a display screen (or display panel) is supported, and WS3 indicates whether a wired controller is supported. WS1 through WS3 are Boolean values, with 1 indicating support and 0 indicating no support. Furthermore, for some smart home appliances, WS4 can be defined to indicate whether a digital display is supported.
[0082] In this embodiment of the application, after receiving the first message, the wireless module obtains the peripheral information of the smart home appliance from the flash memory. If it is determined that the smart home appliance has a peripheral, the configuration code is output to the peripheral so that the configuration code can be displayed through the peripheral.
[0083] like Figure 4As shown in the figure, this application embodiment provides a connection diagram between a wireless module, a processing module, and peripherals, including a wireless module 410, a processing module 420, and peripherals 430. The wireless module 410 is a wireless communication module corresponding to WiFi and Bluetooth BLE. The processing module 420 may be an MCU. The peripherals 430 include a player 431, a display screen 432, a wired controller 433, and a digital tube 434. When the processing module 420 receives a first request, it generates a first message. When the processing module 420 receives a second request sent by the wireless module 410, it sends the first message to the wireless module 410. When the wireless module 410 receives the first message and determines that the smart home device has peripherals, it sends a network configuration code to the processing module 420. The processing module 420 can display the network configuration code through at least one of the peripherals, namely the player 431, the display screen 432, the wired controller 433, and the digital tube 434.
[0084] In this embodiment, the wireless module stores a network configuration code. A query mechanism is established between the wireless module and the processing module. When the processing module receives a first request to obtain the network configuration code, it generates a first message indicating that the first request has been received. When the processing module receives a second request from the wireless module, it sends the first message back to the wireless module. The second request is used to query whether the first request has been received. When the wireless module receives the first message and determines that the smart home device has an external device, it outputs the network configuration code to the external device. This allows users to query the network configuration code without contacting after-sales service, making the operation simple and convenient, and reducing after-sales work.
[0085] In some embodiments, outputting the network configuration code to an external device includes:
[0086] The network configuration code is sent to the processing module via the wireless module;
[0087] The processing module outputs the network configuration code to the peripheral device.
[0088] Continuing with the aforementioned embodiments, when the wireless module determines that any one of WS1 to WS3 (WS4 is usually used less often) is 1, it determines that the smart home appliance has a peripheral device. In this case, the wireless module can send the configuration code to the processing module.
[0089] After receiving the configuration code, the wireless module can output the configuration code to any peripheral device it supports, thus displaying the configuration code to the user.
[0090] In some embodiments, the processing module outputs the network configuration code to an external device, including:
[0091] The processing module determines the priority of each peripheral device in a smart home appliance based on its peripheral device type.
[0092] The processing module outputs the network configuration code to the highest priority peripheral.
[0093] After receiving the network configuration code, the processing module of this application embodiment can set the priority of each peripheral device according to the peripheral type of each peripheral device and the priority of each peripheral device of the smart home appliance. Specifically, the priority of the peripheral type can be set. For example, for air conditioners, the priority of the peripheral type is in the order from high to low: player > display screen > wired controller.
[0094] Furthermore, different types of smart home appliances may have different priority orders for setting peripherals, and there are no restrictions on this.
[0095] In this embodiment of the application, after determining the priority of each peripheral device of the smart home appliance, the network configuration code can be output to the peripheral device with the highest priority through the processing module, so as to display the network configuration code to the user in the simplest way.
[0096] Figure 5 This is a second flowchart illustrating the information query method for smart home appliances provided in this application, including the following steps:
[0097] Step 501: When the processing module receives the first request, the processing module generates a first message.
[0098] Step 502: If the processing module receives the second request sent by the wireless module, the processing module sends the first message to the wireless module; the second request is used to query whether the first request has been received.
[0099] Step 503: When the wireless module receives the first message and determines that the smart home appliance has an external device, the wireless module sends the network configuration code to the processing module.
[0100] Step 504: The processing module determines the priority of each peripheral device of the smart home appliance based on the peripheral device type.
[0101] Step 505: The processing module outputs the network configuration code to the highest priority peripheral device.
[0102] The detailed implementation process of steps 501 to 505 above can be found in the aforementioned embodiments, and will not be repeated here.
[0103] In some embodiments, the peripheral device includes at least one of a player, a display, and a wired controller;
[0104] The processing module outputs the network configuration code to the highest priority peripheral device, including at least one of the following:
[0105] If the player is determined to have the highest priority, the processing module outputs the network configuration code to the player so that the player can play the network configuration code.
[0106] If the display is determined to have the highest priority, the processing module outputs the network configuration code to the display so that the display shows the network configuration code.
[0107] If the wired controller is determined to have the highest priority, the processing module outputs the network distribution code to the wired controller so that the wired controller can display the network distribution code.
[0108] like Figure 6 As shown in the figure, this application embodiment provides a flowchart of outputting the network configuration code to the peripheral device. Assuming the priority order of the player, display, and wired controller is: player > display screen > wired controller, then after receiving the network configuration code, the processing module can perform the following operations:
[0109] Determine whether the peripheral device includes a player; if the peripheral device includes a player, it can be determined that the player has the highest priority, and the processing module can output the configuration code to the player so that the player can play the configuration code. For example, if the player is a speaker, it can play the 11-bit configuration code through the player. There is no limit to the number of times the player can play the code, such as 3 times.
[0110] If the peripheral does not include a player, then it is determined whether the peripheral includes a monitor. If the peripheral includes a monitor, that is, if the peripheral does not include a player but includes a monitor, then the monitor has the highest priority. The processing module can then output the network configuration code to the monitor so that the monitor displays the 11-bit network configuration code. The user can directly view the 11-bit network configuration code on the display screen, and there is no limit to the display time on the screen, such as 2 minutes.
[0111] If the peripheral does not include a monitor, then it is determined whether the peripheral includes a wired controller. If the peripheral includes a wired controller, that is, if it is determined that the peripheral does not include the player and the display screen, but includes the wired controller, then the wired controller has the highest priority. In this case, the processing module can output the network configuration code to the wired controller so that the wired controller can display the 11-bit network configuration code, and the user can directly view the 11-bit network configuration code on the wired controller.
[0112] In addition, in some embodiments, the processing module can output the network configuration code to multiple peripherals at the same time, and multiple peripherals can display the network configuration code together without limitation. There is no limit to the display time of the wired controller, such as 2 minutes.
[0113] In some embodiments, after the wireless module receives the first message, the method further includes:
[0114] When the wireless module determines that the smart home appliance does not have any external devices, the broadcast state is triggered through the wireless module;
[0115] In broadcast mode, the target hotspot name is broadcast via the wireless module; the target hotspot name includes the network configuration code.
[0116] Furthermore, in this embodiment of the application, when the wireless module determines that the smart home appliance does not have any peripherals, the wireless module triggers a broadcast state. This broadcast state is triggered in the network configuration mode. In the broadcast state, the target hotspot name can be broadcast through the wireless module; the target hotspot name includes the network configuration code.
[0117] Specifically, assuming the target hotspot name of a smart home appliance is in the format MPC-XXXXXXXXXXX, MPC (Manual Pairing Code) indicates that the following 11 X's are the manual network configuration code. Users can view the hotspot name in the WLAN settings of their user terminal, or install a BLE query tool on their user terminal to read the 11-bit pairing code in the hotspot through BLE hotspot.
[0118] Figure 7 This is a third flowchart illustrating the information query method for smart home appliances provided in this application, including the following steps:
[0119] Step 701: When the processing module receives the first request, the processing module generates a first message; the first request is used to request to obtain the network configuration code; the first message is used to indicate that the first request has been received.
[0120] Step 702: If the processing module receives the second request sent by the wireless module, the processing module sends the first message to the wireless module; the second request is used to query whether the first request has been received.
[0121] Step 703: Determine whether the smart home appliance has an external device through the wireless module; if yes, proceed to step 704; if no, proceed to step 705.
[0122] Step 704: Output the network configuration code to the peripheral device;
[0123] Step 705: If the wireless module determines that the smart home appliance has no external devices, the wireless module triggers a broadcast state; proceed to step 706.
[0124] Step 706: In the broadcast state, the target hotspot name is broadcast through the wireless module; the target hotspot name includes the network configuration code.
[0125] In some embodiments, the wireless module includes flash memory; the flash memory is used to store peripheral information most recently reported by the processing module;
[0126] Before determining whether a smart home appliance has peripherals, the method also includes:
[0127] The wireless module retrieves the peripheral information most recently reported by the processing module from the flash memory; the peripheral information is used to indicate the access status of various peripheral types.
[0128] The wireless module determines whether a smart home appliance has peripherals based on peripheral information.
[0129] As described in the foregoing embodiments, the wireless module of this application includes flash memory. The flash memory is used to store the peripheral information most recently reported by the processing module. When the smart home appliance is powered on, a new peripheral is connected, or a peripheral is removed, the processing module can update its own peripheral information, obtain new peripheral information, and report the new peripheral information to the wireless module. After receiving the first message, the wireless module needs to query the peripheral information most recently reported by the processing module from the flash memory and determine whether the smart home appliance has a peripheral based on the peripheral information.
[0130] This application embodiment stores peripheral information in flash memory, which allows for quick viewing when needed, reducing the response time required for subsequent display of network configuration codes.
[0131] Continuing with the aforementioned embodiments, the peripheral information includes parameters such as WS1, WS2, and WS3. When the value of any one of the parameters WS1, WS2, and WS3 is 1, it can be determined that the smart home appliance has a peripheral. When all of the parameters WS1, WS2, and WS3 are 0, it can be determined that the smart home appliance does not have a peripheral.
[0132] In some embodiments, before the processing module receives the first request, the method further includes:
[0133] The second request is sent to the processing module via the wireless module; the interval between two adjacent second requests is the target duration.
[0134] As described in the foregoing embodiments, there is a query mechanism between the wireless module and the processing module in this application embodiment. The wireless module can send a second request to the processing module every target duration (a preset duration threshold, such as 2s or 3s) to query whether the processing module has received the first request. The first request is used to request to obtain the network configuration code, which will not be described in detail here.
[0135] like Figure 8 As shown in the figure, this application embodiment provides an interaction diagram between the wireless module and the processing module, including the following steps:
[0136] Step 801: The wireless module sends a command to the processing module to query the peripheral information of the smart home appliance.
[0137] Step 802: The processing module reports peripheral information to the wireless module. This peripheral information includes the support of smart home appliances for various types of peripherals.
[0138] Step 803: The processing module obtains the first request triggered by the user through the remote control or the button on the device itself; the first request is used to request the network configuration code.
[0139] Step 804: The processing module generates a first message, which indicates that the first request has been received;
[0140] Step 805: The wireless module sends a second request to the processing module. The second request is used to check whether the first request has been received.
[0141] Step 806: The processing module sends the first message to the wireless module;
[0142] Step 807: The wireless module determines whether the smart home appliance has an external device. If yes, proceed to step 808; otherwise, proceed to step 810.
[0143] Step 808: The wireless module sends the network configuration code to the processing module;
[0144] Step 809: The processing module outputs the network configuration code to the peripheral device;
[0145] Step 810: In broadcast mode, broadcast the target hotspot name via the wireless module; the target hotspot name includes the network configuration code.
[0146] The detailed implementation process of steps 801 to 810 above can be found in the aforementioned embodiments, and will not be repeated here.
[0147] The information query method for smart home appliances provided in this application can be executed by an information query device for smart home appliances. This application uses an information query device for smart home appliances executing the information query method as an example to illustrate the information query device for smart home appliances provided in this application.
[0148] This application also provides an information query device for smart home appliances. The smart home appliance includes a wireless module and a processing module; the wireless module stores a network configuration code.
[0149] like Figure 9 As shown, the information query device for the smart home appliance includes: a first processing module 910, a second processing module 920, and a third processing module 930.
[0150] The first processing module 910 is used to generate a first message when the processing module receives a first request; the first request is used to request to obtain a network configuration code; the first message is used to indicate that the first request has been received.
[0151] The second processing module 920 is used to send a first message to the wireless module when the processing module receives a second request sent by the wireless module; the second request is used to query whether the first request has been received.
[0152] The third processing module 930 is used to output the configuration code to the peripheral device when the wireless module receives the first message and determines that the smart home appliance has a peripheral device.
[0153] According to the information query device for smart home appliances provided in the embodiments of this application, when the processing module receives a first request for obtaining a network configuration code, the processing module generates a first message; the first message indicates that the first request has been received; when the processing module receives a second request sent by the wireless module, the processing module sends the first message to the wireless module; the second request is used to query whether the first request has been received; when the wireless module receives the first message and determines that the smart home appliance has an external device, the network configuration code is output to the external device, enabling users to query the network configuration code without contacting after-sales service, which is simple and convenient, and can also reduce after-sales work for the product.
[0154] In some embodiments, the information query device further includes:
[0155] The fourth processing module is used to trigger a broadcast state through the wireless module when the wireless module determines that there are no peripheral devices in the smart home appliance; in the broadcast state, the target hotspot name is broadcast through the wireless module; the target hotspot name includes the network configuration code.
[0156] In some embodiments, the third processing module 930 is specifically used for:
[0157] The network configuration code is sent to the processing module via the wireless module;
[0158] The processing module outputs the network configuration code to the peripheral device.
[0159] In some embodiments, the third processing module 930 is further configured to:
[0160] The processing module determines the priority of each peripheral device in a smart home appliance based on its peripheral device type.
[0161] The processing module outputs the network configuration code to the highest priority peripheral.
[0162] In some embodiments, the peripheral device includes at least one of a player, a display, and a wired controller;
[0163] The third processing module 930 is also specifically used to output the network distribution code to the highest priority peripheral device through the processing module, including at least one of the following:
[0164] If the player is determined to have the highest priority, the processing module outputs the network configuration code to the player so that the player can play the network configuration code.
[0165] If the display is determined to have the highest priority, the processing module outputs the network configuration code to the display so that the display shows the network configuration code.
[0166] If the wired controller is determined to have the highest priority, the processing module outputs the network distribution code to the wired controller so that the wired controller can display the network distribution code.
[0167] In some embodiments, the wireless module includes flash memory; the flash memory is used to store peripheral information most recently reported by the processing module;
[0168] The information query device for smart home appliances also includes:
[0169] The wireless module retrieves the peripheral information most recently reported by the processing module from the flash memory; the peripheral information is used to indicate the access status of various peripheral types.
[0170] The wireless module determines whether a smart home appliance has peripherals based on peripheral information.
[0171] In some embodiments, the information query device for the smart home appliance further includes:
[0172] The sixth processing module is used to send a second request to the processing module via the wireless module; the interval between two adjacent second requests is a target duration.
[0173] The information query device for smart home appliances in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific type of device.
[0174] The information query device for smart home appliances in this application embodiment can be a device with an operating system. This operating system can be Microsoft (Windows), Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0175] The information query device for smart home appliances provided in this application embodiment can realize... Figures 1 to 8 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0176] In some embodiments, such as Figure 10 As shown, this application embodiment also provides an electronic device 1000, including a processor 1001, a memory 1002, and a computer program stored on the memory 1002 and executable on the processor 1001. When the program is executed by the processor 1001, it implements the various processes of the above-described intelligent home appliance information query method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0177] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0178] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described intelligent home appliance information query method embodiment and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0179] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0180] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described information query method for smart home appliances.
[0181] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0182] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described intelligent home appliance information query method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0183] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0184] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0185] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0186] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0187] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0188] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. An information inquiry method of a smart home appliance device, characterized by, The intelligent household appliance device comprises a wireless module and a processing module; The wireless module stores a network configuration code; the method comprises the following steps: In the case that the processing module acquires a first request, the processing module generates a first message; the first request is used to request to acquire a network configuration code; the first message is used to indicate that the first request has been received; In the case that the processing module receives a second request sent by the wireless module, the processing module sends the first message to the wireless module; the second request is used to inquire whether the first request has been received; In the case that the wireless module receives the first message and determines that the intelligent household appliance device has an external device, the wireless module outputs the network configuration code to the external device.
2. The information inquiry method of a smart home appliance device according to claim 1, characterized in that, After the wireless module receives the first message, the method further comprises the following steps: In the case that the wireless module determines that the intelligent household appliance device does not have an external device, the wireless module triggers a broadcast state; In the broadcast state, the wireless module broadcasts a target hotspot name; the target hotspot name comprises the network configuration code.
3. The information inquiry method of a smart home appliance device according to claim 1, characterized in that, The step of outputting the network configuration code to the external device comprises the following steps: The wireless module sends the network configuration code to the processing module; The processing module outputs the network configuration code to the external device.
4. The information inquiry method of a smart home appliance device according to claim 3, characterized in that, The step of outputting the network configuration code to the external device by the processing module comprises the following steps: The processing module determines the priority of each external device of the intelligent household appliance device according to the external device type of each external device; The processing module outputs the network configuration code to the external device with the highest priority.
5. The information inquiry method of a smart home appliance device according to claim 4, characterized in that, The external device comprises at least one of a player, a display and a line controller; The step of outputting the network configuration code to the external device with the highest priority by the processing module comprises at least one of the following steps: In the case that the player has the highest priority, the processing module outputs the network configuration code to the player, so that the player plays the network configuration code; In the case that the display has the highest priority, the processing module outputs the network configuration code to the display, so that the display displays the network configuration code; In the case that the line controller has the highest priority, the processing module outputs the network configuration code to the line controller, so that the line controller displays the network configuration code. 6.The information inquiry method of the smart home appliance according to any one of claims 1-5, characterized in that, The wireless module comprises a flash memory; the flash memory is used to store the external device information reported by the processing module last time; Before the step of determining that the intelligent household appliance device has an external device, the method further comprises the following steps: The wireless module queries the external device information reported by the processing module last time from the flash memory; the external device information is used to indicate the access status of external devices of various external device types; The wireless module determines whether the intelligent household appliance device has an external device according to the external device information.
7. The information inquiry method of a smart home appliance device according to any one of claims 1-5, characterized in that, Before the step of acquiring the first request by the processing module, the method further comprises the following steps: The wireless module sends a second request to the processing module; the interval between adjacent two second requests is a target time length.
8. An information inquiry apparatus of an intelligent home appliance device, characterized by comprising: The intelligent household appliance device comprises a wireless module and a processing module; The wireless module stores a network configuration code; The query device comprises: a first processing module, configured to generate a first message by the processing module in a case where the processing module acquires a first request; the first request is used to request to acquire a configuration network code; the first message is used to indicate that the first request has been received; a second processing module, configured to send the first message to the wireless module by the processing module in a case where the processing module receives a second request sent by the wireless module; the second request is used to query whether the first request is received; a third processing module, configured to output the configuration network code to an external device in a case where the wireless module receives the first message and determines that the smart home appliance device exists the external device.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the information query method of the smart home appliance device according to any one of claims 1-7. 10.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the information query method of the smart home appliance device according to any one of claims 1-7.