Control method and device for indicating indicator light of distribution network status

Through the visual display mode control of the indicator light of the intelligent lighting equipment, the complex operation and environmental discomfort during the distribution network are solved, and intuitive display and instant feedback of the distribution network status are realized, which improves the user experience.

CN118647118BActive Publication Date: 2024-11-12HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411107358.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-12
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

During the distribution process of smart lighting equipment, traditional operations are complicated and inconvenient in the night or in insufficient light environment, which affects the user experience.

Method used

Through the visual display mode control of the indicator light, the signal and characteristic signals are set in response to the distribution mode, the device status is switched and the distribution progress and status are displayed in real time, simplifying user operations.

Benefits of technology

It improves the immediacy and satisfaction of user operations, enhances the flexibility and adaptability of distribution networks, ensures accurate communication and timely feedback of distribution network status, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118647118B_ABST
    Figure CN118647118B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and storage medium for controlling the indicator light of the network configuration status, and relates to the field of Internet of Things technology. The method for controlling the indicator light of the network configuration status includes: in response to a received network configuration mode setting signal, switching the device to be configured to the corresponding network configuration mode; obtaining the status display information corresponding to the network configuration mode; based on the network configuration mode, when receiving a network configuration characteristic signal, determining the corresponding visual display mode according to the status display information and the network configuration characteristic signal; controlling the indicator light of the device to be configured to work according to the visual display mode to display the corresponding network configuration status. The present application controls the indicator light through the visual display mode, so that the user can intuitively understand the progress and status of the network configuration. The device to be configured can identify and switch to different network configuration modes to adapt to different network environments and user needs, enhance the flexibility and adaptability of the network configuration, and improve the user's overall experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things (IoT) technology, and for example to a control method and apparatus for an indicator light used to indicate the status of a power distribution network. Background Technology

[0002] Intelligent lighting equipment refers to lighting devices that utilize modern information technologies such as the Internet of Things (IoT), wireless communication data transmission technology, embedded system control technology, intelligent sensing technology, cloud computing, and big data to achieve intelligent control and management. To enable remote control and management, intelligent lighting equipment can be networked; that is, through certain methods and technical means, unnetworked intelligent lighting equipment can be connected to a designated network.

[0003] The network configuration process for smart lighting devices is often accompanied by clear visual cues. Traditional network configuration methods require users to perform operations on the smart lighting device, such as repeatedly switching the power on and off to reset the device into network configuration mode. This process is relatively complex, and the accompanying visual cues can be uncomfortable for users, especially in low-light or nighttime environments, negatively impacting the user experience. Summary of the Invention

[0004] This application aims to provide a control method, device, electronic device, and storage medium for an indicator light used to indicate the status of a power distribution network.

[0005] According to one aspect of this application, a control method for an indicator light for indicating the status of a distribution network is proposed, comprising: switching the device to be distributed to the network to the corresponding distribution mode in response to a received distribution network mode setting signal; acquiring status display information corresponding to the distribution network mode; determining the corresponding visual display mode based on the distribution network mode, upon receiving a distribution network characteristic signal, according to the status display information and the distribution network characteristic signal; and controlling the indicator light of the device to be distributed to the network to operate according to the visual display mode to display the corresponding distribution network status.

[0006] According to one aspect of this application, a control device for an indicator light for indicating the status of a power distribution network is provided, comprising:

[0007] The distribution network mode switching module is used to switch the device to be distributed to the corresponding distribution network mode in response to the received distribution network mode setting signal.

[0008] The information acquisition module is used to acquire the status display information corresponding to the distribution network mode;

[0009] The display mode determination module is used to determine the corresponding visual display mode based on the distribution network mode and the distribution network characteristic signal when the distribution network characteristic signal is received.

[0010] The distribution network status display module is used to control the indicator lights of the devices to be distributed according to the visual display mode, so as to display the corresponding distribution network status.

[0011] According to one aspect of this application, an electronic device is provided, comprising: a processor; and a memory storing a computer program, which, when executed by the processor, causes the processor to perform the control method described above for indicating the status of a power distribution network.

[0012] According to one aspect of this application, a non-transitory computer-readable medium is proposed, on which readable instructions are stored, which, when executed by a processor, cause the processor to perform a control method for an indicator light used to indicate the status of a distribution network as described above.

[0013] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this application.

[0014] Beneficial effects:

[0015] Through the embodiments provided in this application, by controlling the indicator lights using a visual display mode, users can intuitively understand the progress and status of the power distribution network without complex operations or waiting for lengthy textual explanations. Any status changes during the power distribution process can be immediately reflected through the indicator lights, improving the immediacy and satisfaction of user operations. The equipment to be distributed can identify and switch to different power distribution modes to adapt to different network environments and user needs, enhancing the flexibility and adaptability of the power distribution network. Real-time analysis and adjustment of the visual display mode based on power distribution characteristic signals ensures accurate transmission and timely feedback of the power distribution status, improving the overall user experience. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings, without exceeding the scope of protection claimed by this application.

[0017] Figure 1 This is a schematic diagram illustrating an application scenario provided in the embodiments of this application;

[0018] Figure 2 A flowchart of the indicator light control method for power distribution network status provided in this application embodiment;

[0019] Figure 3 A flowchart illustrating one implementation process of step S20 provided in an embodiment of this application;

[0020] Figure 4A flowchart illustrating one implementation process of step S22 provided in the embodiments of this application;

[0021] Figure 5 A flowchart illustrating another implementation of step S22 provided in the embodiments of this application;

[0022] Figure 6 A flowchart illustrating the implementation process of step S224 provided in the embodiments of this application;

[0023] Figure 7 A flowchart illustrating the implementation process of step S23 provided in the embodiments of this application;

[0024] Figure 8 A block diagram of a power distribution network status indicator light control device provided in an embodiment of this application;

[0025] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0026] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0027] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. Users can interact with the device to be configured on the network via mobile devices. Figure 1 In the application scenario shown, the indicator light control method for the distribution network status can be implemented through a distribution network control chip. After receiving a distribution network mode setting signal sent by the user via a mobile device, the distribution network control chip can switch the device to be distributed to the corresponding distribution network mode. After receiving a distribution network characteristic signal sent by the user via a mobile device, the distribution network control chip can control the indicator lights to indicate the corresponding distribution network status.

[0028] For specific implementation details, please refer to the following examples.

[0029] Figure 2 A flowchart of the indicator light control method for distribution network status provided in the embodiments of this application is shown below. Figure 2 As shown, the method includes steps S20, S21, S22 and S23.

[0030] In step S20, in response to the received distribution mode setting signal, the device to be distributed is switched to the corresponding distribution mode.

[0031] In this application, the device to be networked can be a smart lighting device that the user wants to network. The network configuration mode setting signal can be used to specify which network configuration mode the device to be networked should use for network connection. The network configuration mode may include various methods such as fast network configuration, hotspot network configuration, and QR code network configuration.

[0032] The device to be configured on the network may contain a receiving module (such as a Wi-Fi module, Bluetooth module, etc.) to monitor and receive network configuration mode setting signals from user terminals (such as mobile phones, tablets, etc.). These signals may be transmitted wirelessly (such as Wi-Fi, Bluetooth) or wiredly (such as Ethernet).

[0033] According to the example embodiment, after the receiving module built into the distribution network device receives the distribution network mode setting signal, the distribution network control chip can analyze the signal, open the corresponding information interaction channel, and then switch the corresponding distribution network mode.

[0034] In step S21, the status display information corresponding to the distribution network mode is obtained.

[0035] Status display information refers to the information about the current distribution network status shown to the user by the device being distributed during the distribution process. This information is usually used to inform the user of the distribution progress, success or failure results, etc., so that the user can understand the device status in a timely manner and take corresponding actions. In this application, the distribution network status is displayed through the performance of indicator lights.

[0036] The status display information corresponding to different network distribution modes can be preset and stored, including the working mode of the indicator light when waiting for network distribution, the working mode of the indicator light during network distribution, and the working mode of the indicator light when network distribution is successful.

[0037] According to the example embodiment, the status display information corresponding to the pre-stored distribution network mode can be directly searched to obtain the status display information corresponding to the distribution network mode switched in step S20.

[0038] In step S22, based on the distribution network mode, upon receiving the distribution network characteristic signal, the corresponding visual display mode is determined according to the status display information and the distribution network characteristic signal.

[0039] Distribution network characteristic signals can be signals emitted by users' mobile devices, such as mobile apps, during the distribution process to indicate the distribution network status, progress, or the occurrence of specific events. These signals may include the user's mobile device code, distribution network requests, and user adjustments to the operation of indicator lights. These signals may be transmitted via Wi-Fi, Bluetooth, NFC, serial communication, etc.

[0040] Visual display modes can be used to indicate how the final indicator light works in different states, including modes such as constant light and flashing, as well as the duration of operation.

[0041] According to the example embodiment, the mapping relationship between different distribution network modes and status display information and visual display modes can be predefined, which can be implemented through configuration files, databases, or hard coding. The device to be distributed receives distribution network characteristic signals from external devices or user input through its network module, sensors, or other interfaces. The distribution network control chip can analyze the distribution network characteristic signals, extract relevant user requests, and combine them with the status display information as a basis for calculating the corresponding visual display mode.

[0042] In step S23, the indicator lights of the devices to be distributed are controlled to operate according to the visual display mode to display the corresponding distribution status.

[0043] In this application, the device to be configured for network distribution may be equipped with indicator lights, which may be LED lights or other visual indicators used to indicate the network distribution status. The network distribution status may refer to different stages in which the device to be configured for network distribution is in the process of establishing a network connection, such as "searching for network", "waiting for network distribution", "network distribution in progress", "network distribution successful", "network distribution failed", etc.

[0044] According to the example embodiment, the distribution network control chip can continuously monitor the distribution network status. When a change in the distribution network status is detected, the distribution network control chip matches the current status with a predefined visual display mode. After determining the visual display mode that matches the current distribution network status, a control signal can be sent to the indicator light's driving circuit to adjust the indicator light's display mode. This may include changing the indicator light's color, flashing frequency, and brightness.

[0045] This application controls indicator lights via a visual display mode, allowing users to intuitively understand the progress and status of the power distribution network without complex operations or waiting for lengthy textual explanations. Any status changes during the power distribution process are immediately reflected in the indicator lights, improving the immediacy and satisfaction of user operations. The devices to be distributed can identify and switch to different power distribution modes, adapting to different network environments and user needs, enhancing the flexibility and adaptability of the power distribution network. Real-time analysis and adjustment of the visual display mode based on power distribution characteristic signals ensures accurate transmission and timely feedback of the power distribution status, comprehensively improving the user experience.

[0046] According to some embodiments, reference Figure 3 Step S20 can be achieved through steps S200, S201 and S202.

[0047] In step S200, a distribution network connection signal is transmitted and the distribution network pre-request channel of the device to be distributed is opened according to a preset non-contact interaction method.

[0048] In this application, contactless interaction methods may include Bluetooth broadcast packet-based interaction, radio frequency identification, and infrared communication. The device to be configured can interact with the user's mobile device through different network configuration front-end request channels, which can be used to receive feedback signals corresponding to the network configuration connection signal.

[0049] According to the example embodiment, when the device to be configured is powered on, it can transmit a configuration connection signal in a preset contactless interaction method, such as transmitting a Bluetooth broadcast packet or a radio frequency signal, and open a configuration front-end request channel to receive configuration requests sent by users through mobile devices.

[0050] In some implementations, since the device to be distributed and the user equipment use a contactless interaction method, the user equipment can control the distribution process of multiple devices to be distributed simultaneously.

[0051] In step S201, a distribution network mode setting signal is received through the distribution network front-end request channel; wherein, the distribution network mode setting signal is a signal generated based on the distribution network connection signal when the user equipment scans the distribution network connection signal.

[0052] According to the example embodiment, the user's mobile device can automatically detect the network distribution connection signal. When network distribution is required, it can provide feedback on the network distribution connection signal and generate a network distribution mode setting signal based on the user's selected network distribution mode. The network distribution mode setting signal is sent in the same way as the network distribution connection signal and can be detected and received by the network distribution control chip.

[0053] In step S202, the distribution network mode is extracted from the distribution network mode setting signal to switch the device to be distributed to the corresponding distribution network mode.

[0054] According to the example embodiment, the distribution network mode setting signal may contain relevant data of the corresponding distribution network mode, which can be directly extracted. Then, the device to be distributed can be switched to the corresponding distribution network mode.

[0055] This application utilizes a preset contactless interaction method for adjusting the network distribution mode, enabling rapid response. By activating the network distribution pre-request channel and receiving network distribution mode setting signals in real time, the device can obtain the user's network distribution intent and configuration requirements immediately. This instant response mechanism helps reduce network distribution failures caused by signal delays or loss, thereby improving the success rate of the network distribution process.

[0056] According to some embodiments, reference Figure 4Step S22 can be achieved through steps S220, S221 and S222.

[0057] In step S220, the pre-stored status display information corresponding to the distribution network mode is obtained.

[0058] In this application, the status display information may refer to a series of indicator light display rules corresponding to each network distribution mode, which are used to convey different states in the network distribution process to the user, such as searching for network, connecting, connection successful, connection failed, etc.

[0059] According to the example embodiment, different status display information corresponding to different distribution network modes can be preset and stored in the database, and the pre-stored status display information corresponding to the current distribution network mode can be directly obtained.

[0060] In step S221, in response to the distribution network characteristic signal, the distribution network status display configuration information is determined.

[0061] According to the example embodiment, upon receiving a distribution network characteristic signal, the distribution network control chip responds accordingly by parsing the signal. First, it verifies the signal's legality and integrity (e.g., checking checksums, signatures, etc.). Then, it parses the signal content to extract the distribution network status information. This information may be encoded in JSON, XML, or other structured data formats. Based on the parsed distribution network status information, the corresponding distribution network status display configuration information can be found in pre-set information.

[0062] In step S222, target status display information is generated based on the distribution network status display configuration information and status display information, and the corresponding visual display mode is determined based on the target status display information.

[0063] According to the example embodiment, the status display information is a pre-stored, default display method, while the distribution network status display configuration information is a user-defined display method. Based on the distribution network status display configuration information, the status display information is adjusted to obtain the target status display information, so that the final display method can be based on the user's needs and obtain the corresponding visual display mode.

[0064] This application can dynamically adjust its visual display mode based on real-time network configuration status and user preferences. Users can intuitively understand the network configuration process without needing a complex interface, improving ease of use and user satisfaction. By displaying the network configuration status in real time, users can clearly see every step of the device's network connection progress, including network search, connection in progress, successful connection, or error encountered. This transparency reduces user uncertainty during the waiting process and enhances user trust in the network configuration process.

[0065] According to some embodiments, reference Figure 5Step S22 can also be performed in Figure 4 Based on this, it is implemented by combining steps S223, S224 and S225.

[0066] In step S223, the information interaction channel corresponding to the distribution network mode is opened; the distribution network characteristic signal sent by the user equipment through the information interaction channel is received.

[0067] In this application, the information exchange channel can refer to the communication path or interface used by the device to be networked to receive and send information, such as Wi-Fi, Bluetooth, Zigbee, etc. User equipment can be used to refer to a user's mobile device.

[0068] According to the example embodiment, after determining the distribution network mode, the information interaction channel corresponding to the distribution network mode can be directly opened. The user equipment can send distribution network characteristic signals to the device to be distributed through this information interaction channel, and the device to be distributed can receive them accordingly.

[0069] In step S224, it is detected whether distribution network communication has been established, and if distribution network communication has been established, a distribution network success prompt is sent to the user equipment.

[0070] According to the example embodiment, the distribution network control chip can detect whether the device to be distributed has established distribution network communication with the user equipment. This can be achieved by listening to network connection events, checking the validity of network parameters (such as IP address, subnet mask, gateway, etc.), and performing network tests (such as ping operations) to confirm the stability of the network connection. Upon detecting successful establishment of distribution network communication, the distribution network control chip can send a distribution success notification to the user equipment.

[0071] In step S225, without establishing distribution network communication, the working duration and flashing mode of the indicator light in the distribution network state are determined based on the status display information and distribution network characteristic signals; and the corresponding visual display mode is determined based on the working duration and flashing mode.

[0072] In this application, the operating duration can represent the total time that the indicator light remains lit or flashing under a specific network distribution condition. The flashing mode can be used to represent the way the indicator light flashes at a specific frequency and pattern under a specific network distribution condition.

[0073] According to the example embodiment, when the distribution network communication is not established, the distribution network control chip can receive and analyze the internal status display information and possible distribution network characteristic signals, and extract the working duration and flashing mode of the indicator lights under the distribution network status. Then, the working duration and flashing mode of the indicator lights under different distribution network statuses are set to the corresponding visual display modes.

[0074] This application simplifies the distribution network process by enabling the information exchange channel corresponding to the distribution network mode, allowing user equipment to communicate with the devices to be distributed in real time and send distribution network characteristic signals. Upon receiving the distribution network characteristic signals, the system can analyze and respond immediately, adjusting the distribution network strategy based on the signal content and current status display information, which helps to quickly locate and resolve potential problems during the distribution network process.

[0075] According to some embodiments, reference Figure 6 Step S224 can be implemented through steps S2240, S2241 and S2242.

[0076] In step S2240, it is detected whether distribution network communication has been established, and if distribution network communication has been established, the number of distribution network requests made by the user equipment within a preset time period is obtained.

[0077] In some implementations, the device to be configured may have already been successfully configured, but this configuration may have been done by other users.

[0078] In this application, the preset time period can be a pre-defined time range used to statistically analyze the number of network configuration requests made by user equipment. This time period can be flexibly set according to actual needs, such as a few minutes or a few hours. The number of network configuration requests represents the number of times the user equipment attempts to communicate with the device to be configured within the preset time period. This number reflects the frequency of user operations. Both the number of network configuration requests and the preset time period can be set according to the specific usage of the device to be configured.

[0079] According to the example embodiment, the distribution network control chip can detect whether the device to be distributed is currently in a successful distribution state. If it is in this state, it indicates that distribution network communication has been established. Each time the user equipment sends a distribution request to the device to be distributed, the distribution network control chip can record the number of requests.

[0080] In step S2241, if the number of network distribution requests is greater than or equal to the preset network distribution request threshold, the working duration and flashing mode of the indicator light in the network distribution state are determined according to the status display information corresponding to the last network distribution request of the user equipment within the preset time period.

[0081] The preset network configuration request threshold can also be set according to the specific usage of the devices to be configured.

[0082] According to the example embodiment, if the number of network configuration requests is greater than or equal to the preset network configuration request threshold, the status display information corresponding to the last network configuration request of the user equipment within the preset time period can be analyzed, and network configuration can be reconfigured to determine the working duration and flashing mode of the indicator light in the network configuration state after reconfiguration.

[0083] In step S2242, if the number of network distribution requests is less than a preset network distribution request threshold, a network distribution success notification is sent to the user equipment.

[0084] A successful network configuration notification can be used to remind users that the network configuration has been completed. If the current network configuration process was not requested by the user's device, the user can continue to make a request.

[0085] According to the example implementation, if the number of network configuration requests is less than the preset network configuration request threshold, the current network configuration status is maintained, and a network configuration success message is sent to the user equipment.

[0086] This application ensures that the connection status between the device to be configured and the user equipment is promptly detected by real-time monitoring of whether network communication has been established. Once communication is established, resource waste from reconfiguration can be reduced. When the number of network configuration requests reaches or exceeds a preset threshold, the status display information of the user equipment's last request is analyzed, and reconfiguration is performed.

[0087] According to some embodiments, reference Figure 7 Step S23 can be achieved through steps S230 and S231.

[0088] In step S230, the corresponding distribution network status is determined according to the visual display mode; wherein, the distribution network status includes waiting for distribution, distribution in progress, and distribution successful.

[0089] The visual display mode and network configuration status can correspond. The "Waiting for Network Configuration" status indicates that the network configuration mode has been determined, but network configuration has not yet started. The "Network Configuration in Progress" status indicates that network configuration is in progress. The "Network Configuration Successful" status indicates that the user equipment has completed the network configuration process for the device to be configured.

[0090] According to the example embodiment, the corresponding distribution network status, including waiting for distribution, distribution in progress, and distribution successful status, can be extracted from the relevant information pre-stored in the visual display mode.

[0091] In step S231, the indicator light is controlled to work according to the flashing mode and working duration corresponding to the distribution network status, so as to display the corresponding distribution network status.

[0092] According to the example embodiment, the pre-set indicator light control logic is triggered according to the flashing mode and working duration corresponding to the distribution network status, thereby controlling the indicator light to work and display the corresponding distribution network status.

[0093] In this application, users can clearly understand the current status of the equipment to be configured without complicated operations or waiting for long feedback periods. The real-time changes in indicator lights provide users with immediate visual feedback, enhancing the user-device interaction experience. During the configuration process, the real-time feedback from the indicator lights helps users quickly identify and resolve potential problems, thereby shortening configuration time and improving the success rate.

[0094] According to some embodiments, step S20 may include the following steps: when at least two distribution mode setting signals are received through the distribution network front-end request channel, a target distribution mode setting signal is determined based on the reception time of each of the at least two distribution mode setting signals, so as to switch the device to be distributed to the distribution mode corresponding to the target distribution mode setting signal.

[0095] According to the example implementation, there may be a situation where multiple user equipments send network distribution requests to the same device to be distributed simultaneously. In this case, the time of receiving each network distribution mode setting signal can be compared, and the network distribution mode setting signal that was requested first can be used as the target network distribution mode setting signal so that the device to be distributed can switch to the network distribution mode corresponding to the target network distribution mode setting signal.

[0096] In some implementations, the target network distribution mode setting signal can be selected from among the network distribution mode setting signals of multiple user devices, depending on the actual usage.

[0097] This application avoids conflicts or chaos in the network configuration process when multiple user devices request network configuration at the same time, thereby affecting the efficiency and success rate of network configuration.

[0098] The following describes an apparatus embodiment of this application, which can be used to perform the method embodiment of this application. For details not disclosed in the apparatus embodiment of this application, please refer to the method embodiment of this application.

[0099] Figure 8 A block diagram of a control device for an indicator light used to indicate the status of a power distribution network, provided in an embodiment of this application. Figure 8 As shown, the control device 800 for indicating the status of the distribution network includes a distribution network mode switching module 801, an information acquisition module 802, a display mode determination module 803, and a distribution network status display module 804.

[0100] The distribution network mode switching module 801 can switch the device to be distributed to the corresponding distribution network mode in response to the received distribution network mode setting signal. The information acquisition module 802 acquires the status display information corresponding to the distribution network mode. The display mode determination module 803 can determine the corresponding visual display mode based on the distribution network mode and the received distribution network characteristic signal, according to the status display information and the distribution network characteristic signal. The distribution network status display module 804 can control the indicator lights of the device to be distributed to operate according to the visual display mode to display the corresponding distribution network status.

[0101] Optionally, the distribution network mode switching module 801 can transmit a distribution network connection signal and open the distribution network pre-request channel of the device to be distributed according to a preset contactless interaction method; receive a distribution network mode setting signal through the distribution network pre-request channel; wherein, the distribution network mode setting signal is a signal generated based on the distribution network connection signal when the user equipment scans the distribution network connection signal; extract the distribution network mode from the distribution network mode setting signal to switch the device to be distributed to the corresponding distribution network mode.

[0102] Optionally, the display mode determination module 803 can specifically acquire the pre-stored status display information corresponding to the distribution network mode; determine the distribution network status display configuration information in response to the distribution network characteristic signal; generate target status display information based on the distribution network status display configuration information and the status display information; and determine the corresponding visual display mode based on the target status display information.

[0103] Optionally, the display mode determination module 803 can open the information interaction channel corresponding to the distribution network mode; receive the distribution network characteristic signal sent by the user equipment through the information interaction channel; detect whether distribution network communication has been established, and if distribution network communication has been established, send a distribution network success prompt to the user equipment; if distribution network communication has not been established, determine the working duration and flashing mode of the indicator light in the distribution network state according to the status display information and the distribution network characteristic signal; and determine the corresponding visual display mode based on the working duration and flashing mode.

[0104] Optionally, when the display mode determination module 803 detects whether distribution network communication has been established and sends a distribution network success prompt to the user equipment if distribution network communication has been established, it can detect whether distribution network communication has been established and, if distribution network communication has been established, obtain the number of distribution network requests made by the user equipment within a preset time period; if the number of distribution network requests is greater than or equal to a preset distribution network request threshold, determine the working duration and flashing mode of the indicator light in the distribution network state based on the status display information corresponding to the last distribution network request made by the user equipment within the preset time period; if the number of distribution network requests is less than the preset distribution network request threshold, send a distribution network success prompt to the user equipment.

[0105] Optionally, the distribution network status display module 804 can determine the corresponding distribution network status based on the visual display mode; wherein, the distribution network status includes waiting for distribution, distribution in progress, and distribution successful; and control the indicator lights to work according to the flashing mode and working duration corresponding to the distribution network status to display the corresponding distribution network status.

[0106] Optionally, the distribution network status display module 804 can also determine the target distribution network mode setting signal based on the reception time of each of the at least two distribution network mode setting signals when at least two distribution network mode setting signals are received through the distribution network front-end request channel, so as to switch the device to be distributed to the distribution network to the distribution mode corresponding to the target distribution network mode setting signal.

[0107] The device performs functions similar to those described above; other functions are described in the preceding descriptions and will not be repeated here.

[0108] Figure 9 This diagram illustrates the structure of an electronic device according to an exemplary embodiment, such as... Figure 9 As shown, the electronic device 900 of this embodiment may include a memory 901 and a processor 902.

[0109] The memory 901 stores a computer program, which, when executed by the processor 902, causes the processor 902 to perform the method described in the above embodiments.

[0110] The processor 902 and the memory 901 are connected, for example, via a bus.

[0111] Optionally, the electronic device 900 may also include a transceiver. It should be noted that in practical applications, the transceiver is not limited to one, and the structure of the electronic device 900 does not constitute a limitation on the embodiments of this application.

[0112] Processor 902 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 902 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0113] A bus can include a pathway for transmitting information between the aforementioned components. The bus can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is used in the diagram, but this does not imply that there is only one bus or one type of bus.

[0114] The memory 901 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0115] The memory 901 stores application code that executes the scheme of this application, and its execution is controlled by the processor 902. The processor 902 executes the application code stored in the memory 901 to implement the content shown in the foregoing method embodiments.

[0116] Electronic devices include, but are not limited to: mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Servers can also be included. Figure 9 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0117] The electronic device in this embodiment can be used to execute the method of any of the above embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0118] This application also provides a non-transitory computer-readable storage medium storing computer-readable instructions thereon, which, when executed by a processor, cause the processor to perform the method as described in the above embodiments.

[0119] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a non-transitory computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0120] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. Furthermore, any changes or modifications made by those skilled in the art based on the ideas of this application, and on the specific implementation methods and application scope of this application, are all within the scope of protection of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for controlling an indicator light for indicating a distribution network status, characterized in that: include: In response to the received network configuration mode setting signal, the device to be configured is switched to the corresponding network configuration mode; the network configuration mode setting signal is a signal for specifying which network configuration mode the device to be configured should adopt for network connection; the network configuration modes include fast network configuration, hotspot network configuration, and code scanning network configuration; Obtaining status display information corresponding to the network configuration mode; Based on the network configuration mode, when receiving a network configuration characteristic signal, determining a corresponding visual display mode according to the status display information and the network configuration characteristic signal; the network configuration characteristic signal includes a user's mobile device code, a network configuration request, and a user's adjustment of a working mode of the indicator light; The indicator lights of the device to be networked are controlled to work according to the visual display mode to display the corresponding network configuration status.

2. The method according to claim 1, characterized in that The step of switching the network configuration device to be configured to a corresponding network configuration mode in response to the received network configuration mode setting signal comprises: According to a preset contactless interaction method, a network configuration connection signal is transmitted and a network configuration pre-request channel of the device to be configured is opened; Receiving the network configuration mode setting signal through the network configuration pre-request channel; wherein the network configuration mode setting signal is a signal generated based on the network configuration connection signal when the user equipment scans the network configuration connection signal; The network configuration mode is extracted from the network configuration mode setting signal to switch the device to be configured to the corresponding network configuration mode.

3. The method according to claim 2, characterized in that The method of determining a corresponding visual display mode based on the network configuration mode and receiving a network configuration characteristic signal according to the status display information and the network configuration characteristic signal comprises: Obtaining pre-stored status display information corresponding to the network distribution mode; In response to the network distribution characteristic signal, determining the network distribution status display configuration information; According to the network distribution status display configuration information and the status display information, target status display information is generated, and according to the target status display information, a corresponding visual display mode is determined.

4. The method according to claim 1, characterized in that The method of determining a corresponding visual display mode based on the network configuration mode and receiving a network configuration characteristic signal according to the status display information and the network configuration characteristic signal comprises: Opening the information interaction channel corresponding to the network distribution mode; Receiving the network configuration characteristic signal sent by the user equipment through the information interaction channel; Detecting whether distribution network communication is established, and sending a network distribution success prompt to the user equipment if the distribution network communication is established; In the case where the distribution network communication is not established, determining the working time and flashing mode of the indicator light in the distribution network state according to the state display information and the distribution network characteristic signal; Based on the working time and the flashing mode, the corresponding visual display mode is determined.

5. The method according to claim 4, characterized in that The detecting whether to establish the distribution network communication and sending a network distribution success prompt to the user equipment when the distribution network communication is established includes: Detecting whether distribution network communication is established, and if the distribution network communication is established, obtaining the number of distribution network requests of the user equipment within a preset time period; When the number of network configuration requests is greater than or equal to a preset network configuration request threshold, determining the working time and flashing mode of the indicator light in the network configuration state according to the status display information corresponding to the last network configuration request of the user equipment within the preset time period; When the number of network configuration requests is less than the preset network configuration request threshold, a network configuration success prompt is sent to the user equipment.

6. The method according to claim 4, characterized in that The controlling the indicator light of the device to be networked to work according to the visual display mode to display the corresponding network configuration status includes: According to the visual display mode, determine the corresponding network configuration state; wherein the network configuration state includes a network configuration waiting state, a network configuration in progress state, and a network configuration success state; According to the flashing mode and the working duration corresponding to the network configuration status, the indicator light is controlled to work so as to display the corresponding network configuration status.

7. The method according to any one of claims 2 to 6, characterized in that: The method of switching the network configuration device to a corresponding network configuration mode in response to the received network configuration mode setting signal further includes: In the case where at least two network configuration mode setting signals are received through the network configuration pre-request channel, a target network configuration mode setting signal is determined according to the reception time of each of the at least two network configuration mode setting signals, so as to switch the device to be configured to the network configuration mode corresponding to the target network configuration mode setting signal.

8. A control device for an indicator light indicating a distribution network status, characterized in that: include: A network configuration mode switching module is used to switch the network configuration device to a corresponding network configuration mode in response to a received network configuration mode setting signal; the network configuration mode setting signal is a signal for specifying which network configuration mode the network configuration device should adopt for network connection; the network configuration modes include fast network configuration, hotspot network configuration, and code scanning network configuration; An information acquisition module, used to obtain status display information corresponding to the network distribution mode; A display mode determination module, configured to determine a corresponding visual display mode based on the network configuration mode and according to the status display information and the network configuration characteristic signal when receiving the network configuration characteristic signal; the network configuration characteristic signal includes a user's mobile device code, a network configuration request, and a user's adjustment of the working mode of the indicator light; The network configuration status display module is used to control the indicator lights of the network configuration device to work according to the visual display mode to display the corresponding network configuration status.

9. An electronic device, characterized in that: include: processor; A memory storing a computer program, which, when executed by the processor, enables the processor to execute the method for controlling an indicator light for indicating a distribution network status according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the instructions are executed by a processor, the processor executes the control method for an indicator light indicating a distribution network status as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Intelligent household electrical appliance network configuration control method and control device, and application

    CN113079556A

  • Camera equipment network configuration method and device, camera equipment and storage medium

    CN113271570A

  • network distributionbinding method and device, intelligent equipment and storage medium

    CN113904949A

  • Smart switch and processing method and apparatus thereof, readable storage medium, and control system

    WO2022242520A1