Electrical equipment control method, mobile terminal, water dispenser and readable storage medium

The control method of electrical equipment through Bluetooth connection and personnel identification code solves the problems of inconvenient operation and limited mode of electrical equipment, and provides a safe and efficient control solution, suitable for commercial electrical equipment.

CN120578090APending Publication Date: 2025-09-02FOSHAN MIDEA CHUNGHO WATER PURIFICATION MFG +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510623491.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

The control method of existing electrical equipment is inconvenient to operate by multiplexing the water outlet buttons of the fuselage and limited modes, resulting in confusion between after-sales personnel and production personnel, and insecure WiFi or mobile communication connections when there is a confidentiality requirement in commercial scenarios.

Method used

The device identification of electrical appliances is obtained by using Bluetooth connection, and the personalized control interaction interface is displayed in combination with the personnel identification code. Control commands are sent through the mobile terminal to control electrical appliances, supporting multi-function buttons and secure communication.

Benefits of technology

It realizes simple operation and multi-mode triggering of electrical equipment, improves security and operation efficiency in commercial scenarios, and avoids the risks of key confusion and communication leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120578090A_ABST
    Figure CN120578090A_ABST
Patent Text Reader

Abstract

The invention discloses an electrical equipment control method, a mobile terminal, a water dispenser and a readable storage medium, and relates to the technical field of electrical appliances, and the electrical equipment control method applied to the mobile terminal comprises the following steps: obtaining an equipment identifier of electrical equipment, and sending a Bluetooth connection request to the electrical equipment corresponding to the equipment identifier, a Bluetooth channel with the electrical equipment is established; receiving a personnel identification code input from the outside, and displaying a control interaction interface corresponding to the equipment identifier and the personnel identification code; and sending a control instruction received by the control interaction interface to the electrical equipment based on the Bluetooth channel so as to control the electrical equipment to execute the control instruction. The technical problems that the scheme of controlling the electrical equipment by using the combined water outlet key is inconvenient to operate and the number of the modes capable of being triggered is limited are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electrical technology, and in particular to an electrical equipment control method, a mobile terminal, a water dispenser, and a computer-readable storage medium. Background Art

[0002] In the daily use of instant hot water purifiers, especially commercial water purifiers, different modes and functions of different electrical devices are generally triggered by reusing the water button on the device. However, this control method can easily cause confusion and inconvenience for staff, affecting the operational control efficiency of after-sales staff or production staff. Moreover, the number of modes that can be triggered by reusing the water button on the device is very limited.

[0003] The above information disclosed in this Background section is only for understanding the background of the present invention and therefore it may contain information that does not constitute prior art. Summary of the Invention

[0004] The main purpose of this application is to provide an electrical equipment control method, a water dispenser and a computer-readable storage medium, aiming to solve the technical problems that the scheme of multiplexing combined water outlet keys to control electrical equipment is inconvenient to operate and the number of modes that can be triggered is limited.

[0005] To achieve the above objectives, the present application provides a method for controlling an electrical device on a mobile terminal, comprising:

[0006] Obtaining a device identification of an electrical device, and sending a Bluetooth connection request to the electrical device corresponding to the device identification to establish a Bluetooth channel with the electrical device;

[0007] Receive an externally input personnel identification code and display a control interaction interface corresponding to the device identification and the personnel identification code;

[0008] Based on the Bluetooth channel, the control instruction received by the control interaction interface is sent to the electrical device to control the electrical device to execute the control instruction.

[0009] In one embodiment, the step of obtaining the device identification of the electrical device includes:

[0010] In response to a preset program startup instruction, starting the camera of the mobile terminal;

[0011] The camera collects device identifications of electrical devices within a field of view.

[0012] In one embodiment, before the step of displaying the control interaction interface corresponding to both the device identifier and the personnel identification code, the method further includes:

[0013] Determining the device type of the electrical device according to the device identifier and a preset mapping relationship between the device identifier and the device type;

[0014] Determining the personnel type according to the personnel identification code and a preset mapping relationship between the personnel identification code and the personnel type;

[0015] A corresponding control interaction interface is determined according to the device type and the personnel type.

[0016] In one embodiment, the electrical appliance is a water purifier, the personnel types include after-sales personnel and production personnel, and the control interaction interfaces corresponding to the after-sales personnel and the production personnel respectively include different functional modules.

[0017] In one embodiment, after the step of obtaining an externally input personnel identification code, the method further includes:

[0018] Determining whether the personnel identification code is one of the preset personnel identification codes;

[0019] If so, executing the step of displaying the control interaction interface corresponding to the device identifier and the personnel identification code;

[0020] If not, the preset prompt message is pushed.

[0021] In one embodiment, after the step of sending the control instruction received by the control interaction interface to the electrical device based on the Bluetooth channel, the method further includes:

[0022] receiving an execution result sent by the electrical device, wherein the execution result corresponds to the control;

[0023] The execution result is displayed on the control interaction interface.

[0024] In addition, the present application also provides an electrical device control method applied to an electrical device, comprising:

[0025] Upon receiving a Bluetooth connection request sent by a mobile terminal, establishing a Bluetooth channel with the mobile terminal;

[0026] Based on the Bluetooth channel, the control instruction sent by the mobile terminal is received, and the electrical device is controlled to execute the control instruction, wherein the control instruction is received by the control interaction interface of the mobile terminal, and the mobile terminal is used to obtain the device identification of the electrical device, send a Bluetooth connection request to the electrical device corresponding to the device identification, receive a personnel identification code input from the outside, and display the control interaction interface corresponding to the device identification and the personnel identification code.

[0027] In one embodiment, after the step of controlling the electrical device to execute the control instruction, the method further includes:

[0028] generating an execution result corresponding to the control instruction;

[0029] The execution result is sent to the mobile terminal so that the mobile terminal can display the execution result on a control interaction interface.

[0030] In addition, the present application also provides a mobile terminal, which includes at least a Bluetooth module, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the Bluetooth module is used to establish a communication connection with the water dispenser, and the computer program is configured to implement the steps of the electrical device control method as described above.

[0031] In addition, the present application also provides a water dispenser, which includes at least: a Bluetooth module, a memory, a processor, and a computer program stored on the memory and runnable on the processor, the Bluetooth module is used to establish a communication connection with the mobile terminal, and the computer program is configured to implement the steps of the electrical equipment control method as described above.

[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the electrical device control method described above are implemented.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned electrical device control method when executed by a processor.

[0034] The present application provides a method for controlling an electrical device. The method, applied to a mobile terminal, comprises: obtaining a device identifier of the electrical device; sending a Bluetooth connection request to the electrical device corresponding to the device identifier to establish a Bluetooth channel with the electrical device. In this step, the electrical device is identified by the electrical device identifier, and a Bluetooth communication connection is further established. An externally inputted person identification code is received, and a control interaction interface corresponding to both the device identifier and the person identification code is displayed. The person identification code can be used to determine the identity of the person currently using the mobile terminal, so that a control interaction interface specific to the electrical device and meeting the person's identity requirements is displayed based on the person's identity and device identifier. Finally, based on the Bluetooth channel, a control instruction received by the control interaction interface is sent to the electrical device to control the electrical device to execute the control instruction. In an embodiment of the present application, a mobile terminal is used to achieve wireless control of the electrical device via Bluetooth. Various required virtual function keys can be set on the control interaction interface according to actual needs, allowing a staff member to directly control the electrical device to trigger a corresponding mode or function. Compared with the method of multiplexing combination keys, this is simpler and faster, and does not require the staff member to memorize various key combinations. Moreover, each control interaction interface corresponds to an electrical device, and the number of function keys can be expanded according to needs, breaking through the number of modes that can be triggered by the electrical device.

[0035] On the other hand, since mobile devices and electrical devices are connected via Bluetooth, it is more secure than WiFi (wireless communication technology) or mobile communication networks. In commercial scenarios with confidentiality requirements, it can prevent leaks and improve security. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0038] Figure 1 This is a flow chart of an embodiment of a method for controlling an electrical device applied to a mobile terminal in an embodiment of the present application;

[0039] Figure 2 This is a schematic diagram of a scenario flow for establishing a communication connection between a mobile terminal and a water purifier in an embodiment of the present application;

[0040] Figure 3This is a schematic diagram of the mobile phone interface when the mobile terminal establishes a communication connection with the water purifier in an embodiment of the present application;

[0041] Figure 4 This is a schematic diagram of the control interaction interface of the mobile terminal when the personnel type is after-sales personnel in the embodiment of the present application;

[0042] Figure 5 This is a schematic diagram of the control interaction interface of the mobile terminal when the personnel type is a production personnel in the embodiment of the present application;

[0043] Figure 6 This is a flow chart of an embodiment of an electrical device control method applied to an electrical device in an embodiment of the present application;

[0044] Figure 7 This is a communication sequence diagram between the external device, the mobile terminal and the water dispenser during the implementation of the electrical device control method in an embodiment of the present application;

[0045] Figure 8 Schematic diagram of the device structure of the hardware operating environment of the mobile terminal involved in the electrical device control method in the embodiment of the present application;

[0046] Figure 9 This is a schematic diagram of the device structure of the hardware operating environment of the water dispenser involved in the electrical equipment control method in the embodiment of the present application.

[0047] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0048] To make the above-mentioned purposes, features, and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.

[0049] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0051] In the daily use scenarios of water heating equipment such as instant hot water dispensers and water purifiers, commercial equipment usually reuses the water outlet button on the body and triggers different mode functions through a combination of keys. However, the UI (User Interface) of different electrical equipment is different, resulting in the use of different combination keys for the same mode, which makes it easy for after-sales staff or production staff to remember and forget, making maintenance inconvenient. In addition, since there are only three or four water outlet buttons on the water purifier, even with the combination of keys, it is not enough to use a variety of modes and functions, and the number of modes that can be triggered is very limited. Although some models currently use the solution of adding an external keypad specifically for special modes and combination key functions, the external board is prone to moisture and failure due to the humidity of the use environment. Some models use networking functions such as WIFI to control heating equipment, but there are scenarios in commercial situations where confidentiality is required. In order to prevent leaks, communication methods such as WIFI or mobile communications are prohibited.

[0052] The electrical equipment control method of the present application, on the one hand, needs to break through the limitation on the number of water outlet buttons, solve the problem of insufficient number of functional modes of combination keys, and solve the problems of low usability and operating efficiency caused by multiple models and multiple combination keys. On the other hand, it also needs to solve the problem of insufficient reliability of the extended keypad and improve the confidentiality and security of electrical equipment.

[0053] In order to achieve the above-mentioned purpose, the present invention provides a method for controlling an electrical device. Figure 1 , Figure 1 This is a flow chart of an embodiment of the electrical device control method of the present application. The electrical device control method applied to a mobile terminal includes:

[0054] Step S10: obtaining a device identification of the electrical device, and sending a Bluetooth connection request to the electrical device corresponding to the device identification to establish a Bluetooth channel with the electrical device;

[0055] In an embodiment of the present application, the mobile terminal may be a mobile phone or a portable computer with Bluetooth communication function; the electrical device may be a water purifier with water purification and heating functions, such as a commercial upright water purifier, or other electrical devices.

[0056] The device identifier of an electrical device corresponds to the electrical device one-to-one and can represent the model, serial number, Bluetooth name, etc. After the mobile terminal obtains the device identifier of the electrical device, it can obtain its Bluetooth name, and then select the electrical device corresponding to the Bluetooth name from the searchable Bluetooth devices and send a Bluetooth connection request to it.

[0057] Step S20: receiving a personnel identification code input from an external source, and displaying a control interaction interface corresponding to the device identification and the personnel identification code;

[0058] A person identification code is a pre-set code used to identify the person using a mobile device to control an electrical device. It can be in digital form. For example, if the electrical device is a standing water purifier, the administrator of the mini-program platform used to execute the method for controlling the electrical device on the mobile device can pre-set one or more internal person identification codes and assign them to different staff members so that the mini-program can identify the person currently controlling the standing water purifier via the mobile device.

[0059] When receiving an externally input personnel identification code, it can be obtained through the internal identification code input page on the mobile app. The staff can enter the personnel identification code into the mobile terminal by entering the corresponding numbers (and / or letters) on this page. The personnel identification code can be understood as an internal identification code, which is used to determine whether the current user is an internal person with control authority for the electrical device.

[0060] It is understandable that for staff with different identities, when controlling electrical equipment, their needs are different, and the functional modules they require are also different, so the corresponding control interaction interfaces are also different. In addition, for different types of electrical equipment, the functions they have are different, so the corresponding control interaction interfaces are also different. When determining the control interaction interface to be displayed, it is necessary to combine the device identification and the personnel identification code to jointly determine a control interaction interface corresponding to the electrical equipment and exclusively for use by the person corresponding to the personnel identification code.

[0061] Step S30: sending the control instruction received by the control interaction interface to the electrical device based on the Bluetooth channel, so as to control the electrical device to execute the control instruction.

[0062] After establishing a Bluetooth channel, that is, establishing a Bluetooth communication connection between the mobile terminal and the electrical device, the staff can input control instructions on the control interaction interface, and then the mobile terminal sends the control instructions to the electrical device. After receiving the control instructions, the electrical device executes the control instructions and obtains the corresponding execution results.

[0063] The control interaction interface can include multiple pre-set virtual buttons. The staff can enter the corresponding control instructions by clicking on the virtual buttons. The virtual buttons correspond to the control instructions one by one, and there is no need to combine multiple buttons. For example, for the after-sales staff of the water purifier, the control interaction interface can include a virtual button called "Function Control". After clicking "Function Control", it will jump to the interface corresponding to "Function Control", which may include multiple pre-set virtual buttons such as "Temperature Setting", "Energy Saving Mode", and "One-Button Drainage". After the staff clicks on one of the virtual buttons, the mobile terminal will send the corresponding control instruction to the water purifier, such as controlling the water purifier to adjust the current set temperature.

[0064] In this embodiment, the mobile device's Bluetooth module can be linked to the mobile phone's mini-program, providing a simple graphical control interface for staff to control device functions while protecting the client's machine privacy. This solves the problem of confusing combination keys and differences between machines. Additional control functions can be flexibly added to the control interface as needed, solving the problem of insufficient combination keys and opening up more parameters for user use.

[0065] Furthermore, in a feasible embodiment, the step of obtaining the device identification of the electrical device may include:

[0066] Step S11, in response to a preset program start instruction, start the camera of the mobile terminal;

[0067] Step S12: collecting device identifications of electrical devices within the field of view of the camera.

[0068] Among them, the preset program startup instruction can be triggered by the mini program on the mobile terminal. Before step S11, the staff can enter the mini program by scanning the mini program QR code posted on the electrical device through the camera of the mobile terminal, or directly enter the mini program through a link or historical record. After entering the mini program, the program startup instruction is automatically triggered, the camera of the mobile terminal (such as a mobile phone) is started, and the scanning mode is entered. The staff holds the mobile phone and places the electrical device identification within the field of view of the camera so that the camera can collect the device identification. For example, the device identification can be a QR code, a barcode or other form of identification, which is not limited here.

[0069] In the embodiment of the present application, the device identification of the electrical device is directly obtained through the camera of the mobile terminal. The operation is simple and convenient, and information such as the Bluetooth name, device type and device number of the electrical device can be indirectly obtained, which is convenient for the subsequent establishment of a communication connection between the two and the determination of the corresponding control interaction interface.

[0070] In a feasible embodiment, before the step of displaying the control interaction interface corresponding to the device identification and the personnel identification code, the method may further include:

[0071] Step S13, determining the device type of the electrical device according to the device identifier and a preset mapping relationship between the device identifier and the device type;

[0072] Step S14, determining the personnel type according to the personnel identification code and the preset mapping relationship between the personnel identification code and the personnel type;

[0073] Step S15: determining a corresponding control interaction interface according to the device type and the personnel type.

[0074] In an embodiment of the present application, the device identifier and personnel identification code are used to represent the corresponding device type and personnel type, respectively. After the mapping relationship between the device identifier and the device type, and the mapping relationship between the personnel identification code and the personnel type are pre-set, the corresponding device type and personnel type can be directly queried based on the device identifier and personnel identification code.

[0075] For example, a device identifier is a barcode that has been pre-mapped to a water dispenser. After obtaining the barcode, the mobile device can directly query the device type through the mini-program to determine that it is a water dispenser. A personnel identification code is a string of numbers (e.g., six digits) that has been pre-mapped to the after-sales staff type. Therefore, after receiving the personnel identification code, the person's type can be directly queried as after-sales staff.

[0076] It is understood that the control interaction interface is pre-established. A corresponding control interaction interface is established for each device type and each type of personnel, allowing each type of personnel to effectively control the electrical equipment of that device type. In other words, the corresponding control interaction interface is determined based on the device type and personnel type. The corresponding control interaction interface can be queried based on the combination of "device type" and "personnel type".

[0077] Furthermore, in a feasible embodiment, the electrical device is a water purifier, the personnel types include after-sales personnel and production personnel, and the control interaction interfaces corresponding to the after-sales personnel and the production personnel respectively include different functional modules.

[0078] For example, after-sales personnel need to perform after-sales maintenance on the water purifier. The functional modules in the control interaction interface include: temperature setting, energy-saving mode, one-button drainage, one-button disinfection, water extraction method, timed power on and off, TDS (Temperature Detect Switch), factory reset, refrigeration function, load self-test, and cumulative water production, etc.

[0079] In addition to the aforementioned functional modules, the control interaction interface corresponding to the production personnel also needs to add a production inspection module. The generated inspection module can include factory restoration (including equipment restoration and filter element restoration), high-pressure water inspection, whole machine quick inspection, water blowing mode, etc., to meet the factory inspection and debugging in the production environment.

[0080] In a feasible embodiment, after the step of obtaining an externally input personnel identification code, the method may further include:

[0081] Step A10, determining whether the personnel identification code is one of the preset personnel identification codes;

[0082] Step A20: If yes, then execute the step of displaying the control interaction interface corresponding to the device identification and the personnel identification code in step S20;

[0083] Step A30: If not, push the preset prompt information.

[0084] After obtaining the externally input personnel identification code, it is necessary to verify the personnel identification code to determine whether the current user belongs to one of the preset personnel types. It is understandable that one or more personnel identification codes are pre-set. After receiving the externally input personnel identification code, the personnel identification code is compared with the preset personnel identification codes one by one to determine whether there is a match. If so, it means that the current user belongs to one of the preset personnel types, and step S20 is continued. If the input personnel identification code does not exist in the preset personnel identification code, it may be that the personnel identification code does not have the authority to continue to operate and control the electrical equipment, or it may be that the identification code is entered incorrectly. At this time, a preset prompt message is pushed, such as "Please re-enter the personnel identification code", until the personnel identification code is successfully recognized or the mini program is exited.

[0085] For ease of understanding, the scenario of establishing a communication connection between the mobile terminal and the water purifier is further explained in combination with the contents of the aforementioned application embodiments. Figure 2 As shown, a mini-program QR code is affixed to the vertical water purifier. After the staff scans the mini-program QR code with their mobile phone, they enter the interface for scanning the device barcode. After the device barcode is scanned, the mobile phone interface jumps to the interface for entering the personnel identification code. After the personnel identification code is successfully obtained, there are three situations. The first is that the identification is successful as an after-sales staff, and the mobile phone interface jumps to the corresponding control interaction page; the second is that the identification is successful as a production staff, and the page jumps to the corresponding control interaction page; the third is that the identification fails, and the message "Output error, please re-enter the personnel identification code" is pushed. For example, after the after-sales staff or production staff enter the control instructions through the control interaction page and the electrical equipment executes the control instructions, the execution results can also be synchronized to form a maintenance record for query.

[0086] Among them, when the mobile terminal is establishing a communication connection with the water purifier, the mobile phone interface jumps as follows Figure 3 As shown, the first is the barcode scanning interface a. After the barcode is scanned successfully, it jumps to the interface b for entering the personnel identification code. If the input is correct, the applet successfully recognizes it and jumps directly to the corresponding control interaction interface. If the input is incorrect, it jumps to the interface c that prompts "Input error, please re-enter the personnel identification code".

[0087] Furthermore, when the personnel type is after-sales personnel, the corresponding control interaction interface is as follows: Figure 4As shown in a, b, c, d, and e in the figure, a is the interface diagram after clicking the "Function Control" virtual button in the control interaction interface. The interface also includes a "Status Display" virtual button for displaying the working status information of the electrical equipment. Under "Function Control", there are three virtual buttons, namely "Function Settings", "Consumables Management" and "Network Distribution". Among them, "Function Settings" is the main virtual button for controlling electrical equipment. After clicking "Function Settings", the interface after jumping is b. Interface b contains multiple virtual buttons such as temperature setting, energy saving mode, one-key drainage, one-key disinfection, water collection method, timed power on and off, TDS switch, factory restore, cooling function, load self-test, cumulative water production, open and close, etc., which are used to perform different functions respectively. Among them, the interface jumped after clicking "Temperature Setting" is c, the interface jumped after clicking "Energy Saving Mode" is d, and the interface jumped after clicking "One-key Drainage" is e. In addition, the "Temperature Setting" interface also includes function buttons such as temperature adjustment, heating, and timed heating (you can set the power-on time, power-off time, execution frequency, execution date, etc.), as well as "On" and "Off" keys. The "One-key Drainage" interface also includes function buttons such as drainage and timed drainage (you can set the power-on time, power-off time, execution frequency, execution date, etc.), as well as "On" and "Off" keys.

[0088] In a feasible embodiment, after the step of sending the control instruction received by the control interaction interface to the electrical device based on the Bluetooth channel, the method further includes:

[0089] Step S40, receiving an execution result sent by the electrical device, wherein the execution result corresponds to the control instruction;

[0090] Step S50: Display the execution result on the control interaction interface.

[0091] After an electrical device executes a control command, it typically generates a corresponding execution result. This result reflects the outcome of the control command, such as success or failure, or parameters that require testing or feedback. The returned execution result is based on the electrical control protocol and is typically in the form of numbers, English, or text.

[0092] For example, when the personnel type is a production personnel, the corresponding control interaction interface includes two functions, namely, status display and function control, as well as the following: Figure 5 The production inspection function shown in a in Figure 5As shown in Figure a, the production inspection function includes multiple virtual buttons such as factory reset, high-pressure water inspection, whole-machine quick inspection, and water blowing mode. After clicking these virtual buttons, the interfaces jumped to are respectively: interface b, interface c, interface d, and interface e. In addition to the virtual button "Confirm Execution", each interface also includes the returned execution result. Click the corresponding virtual button "Confirm Execution" to execute the corresponding function or enter the corresponding mode.

[0093] It should be noted that after the staff clicks the virtual button "Confirm Execution", the instruction is sent to the electrical device to automatically execute the instruction. After the execution is completed, the electrical device returns the execution result and displays it on the mobile phone interface.

[0094] This application also provides an electrical equipment control method applied to electrical equipment, such as Figure 6 As shown, specifically including:

[0095] Step B10: upon receiving a Bluetooth connection request from the mobile terminal, establishing a Bluetooth channel with the mobile terminal;

[0096] Step B20, based on the Bluetooth channel, receives the control instruction sent by the mobile terminal, and controls the electrical device to execute the control instruction, wherein the control instruction is received by the control interaction interface of the mobile terminal, the mobile terminal is used to obtain the device identification of the electrical device, send a Bluetooth connection request to the electrical device corresponding to the device identification, receive the personnel identification code input from the outside, and display the control interaction interface corresponding to the device identification and the personnel identification code.

[0097] Among them, the electrical device can be a water purifier, which is equipped with a Bluetooth module, which can respond to a Bluetooth connection request sent from a mobile terminal and establish a Bluetooth communication connection and a Bluetooth channel between the two.

[0098] Exemplarily, the electrical device receives a Bluetooth connection request sent by the mobile terminal based on a built-in Bluetooth module. Exemplarily, before establishing a connection, a verification can be performed first, and the verification method is not limited, the purpose of which is to determine that the mobile terminal is a secure device with operating authority. For example, when executing the aforementioned electrical device control method through the mini-program platform on the mobile terminal, the mini-program platform can carry a preset verification identifier when sending a Bluetooth connection request to the electrical device. When the electrical device determines that the Bluetooth connection request carries a preset verification identifier, it agrees and responds to the Bluetooth connection request of the mobile terminal, and establishes a Bluetooth communication connection and Bluetooth signal between the mobile terminal and the electrical device for subsequent transmission of control instructions and execution results.

[0099] Exemplarily, the electrical control system of the electrical equipment consists of a display button panel, a heating panel, a water-making panel, a control panel, etc., wherein the display panel is responsible for processing touch buttons, controlling the display UI, and communicating with the Bluetooth module through the serial port. The heating panel and the water-making panel are mainly responsible for sensor signal processing and load control. The control panel is used to implement the main logic of the electrical control program, and the display panel and the control panel are connected through a serial port.

[0100] Furthermore, in a feasible embodiment, after the step of controlling the electrical device to execute the control instruction, the method may further include:

[0101] Step B30, generating an execution result corresponding to the control instruction;

[0102] Step B40: Send the execution result to the mobile terminal so that the mobile terminal can display the execution result on the control interaction interface.

[0103] Among them, after the control instruction is executed, the corresponding execution result is generated. The execution result is obtained based on the electronic control protocol, generally in numbers / English / text, reflecting the result of executing the control instruction, such as success or failure, or parameters that need to be detected or feedback.

[0104] For ease of understanding, refer to the contents of the aforementioned application embodiments. Figure 7 The communication process and data processing process between the mobile terminal and the electrical device are further explained. First, the mobile terminal starts the camera in response to the program startup instruction, and then collects the device identification of the electrical device within the field of view. The mobile terminal sends a Bluetooth connection request to the electrical device. The electrical device responds to the Bluetooth connection request and establishes a Bluetooth channel. The mobile terminal receives the external input personnel identification code and displays the control interaction interface corresponding to the device identification and the personnel identification code. Based on the control interaction interface, the mobile terminal receives the control instruction, sends the control instruction to the electrical device, the electrical device executes the control instruction, and returns the execution result to the mobile terminal. The mobile terminal displays the execution result on the control interaction interface.

[0105] The electrical device control method applied to an electrical device provided in the embodiment of the present application adopts the electrical device control method in the above embodiment, which can solve the technical problems that the scheme of multiplexing and combining water outlet keys to control electrical devices is inconvenient to operate and the number of modes that can be triggered is limited. Compared with the existing technology, the beneficial effects of the electrical device control method applied to an electrical device provided in the embodiment of the present application are the same as the beneficial effects of the electrical device control method applied to a mobile terminal provided in the above embodiment, and the other technical features of the electrical device control method applied to an electrical device are the same as the features disclosed in the above embodiment method, and are not repeated here.

[0106] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the node classification method based on adaptive receptive field of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0107] An embodiment of the present application also provides a mobile terminal, which includes at least: a Bluetooth module for establishing a communication connection with a water dispenser, at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the electrical equipment control method in the above embodiment.

[0108] Exemplarily, the mobile terminal may be a mobile phone.

[0109] Reference below Figure 8 , which shows a structural schematic diagram of a control unit suitable for implementing an embodiment of the present application. Figure 8 The control unit shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0110] like Figure 8 As shown, the control unit may include a processing device 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 102 or a program loaded from a storage device 103 into a random access memory (RAM) 104. Various programs and data required for the operation of the control unit are also stored in the RAM 104. The processing device 101, ROM 102, and RAM 104 are connected to each other via a bus 105. An input / output (I / O) interface 106 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 106: an input device 107 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 108 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 103 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109 (including a Bluetooth module). The communication device 109 can allow the control unit to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a control unit with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.

[0111] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 103, or installed from a ROM 102. When the computer program is executed by the processing device 101, the above-mentioned functions defined in the method of the embodiment of the present application are performed.

[0112] The mobile terminal provided in the embodiments of the present application, using the electrical device control method of the above-mentioned embodiments, can solve the technical problems of the inconvenience of operating the scheme of multiplexing and combining water discharge keys to control electrical devices and the limited number of triggerable modes. Compared with the prior art, the beneficial effects of the mobile terminal provided in the embodiments of the present application are the same as the beneficial effects of the electrical device control method provided in the above-mentioned embodiments, and the other technical features of the mobile terminal are the same as those disclosed in the above-mentioned embodiments and are not further described here.

[0113] It should be understood that the various parts of the embodiments of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any appropriate manner in any one or more embodiments or examples.

[0114] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the above claims.

[0115] An embodiment of the present application also provides a water dispenser, which includes at least: a Bluetooth module for establishing a communication connection with a mobile terminal, at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the electrical equipment control method in the above embodiment.

[0116] Exemplarily, the water dispenser is a water purifier.

[0117] Reference below Figure 9 , which shows a structural schematic diagram of a control unit suitable for implementing an embodiment of the present application. Figure 9 The control unit shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0118] like Figure 9 As shown, the control unit may include a processing device 201 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 202 or a program loaded from a storage device 203 into a random access memory (RAM) 204. Various programs and data required for the operation of the control unit are also stored in RAM 204. The processing device 201, ROM 202, and RAM 204 are connected to each other via a bus 205. An input / output (I / O) interface 206 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 206: an input device 207 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 208 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 203 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 209 (including a Bluetooth module). The communication device 209 can allow the control unit to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a control unit with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.

[0119] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 203, or installed from a ROM 202. When the computer program is executed by the processing device 201, the above-mentioned functions defined in the method of the embodiment of the present application are performed.

[0120] The water dispenser provided in the embodiments of the present application utilizes the electrical device control method of the aforementioned embodiments, thereby resolving the technical issues of the inconvenience of operating the scheme of multiplexing and combining water-dispensing keys to control electrical devices and the limited number of triggerable modes. Compared to the prior art, the beneficial effects of the water dispenser provided in the embodiments of the present application are the same as those of the electrical device control method provided in the aforementioned embodiments, and the other technical features of the water dispenser are the same as those disclosed in the aforementioned embodiments, and are not further described here.

[0121] It should be understood that the various parts of the embodiments of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any appropriate manner in any one or more embodiments or examples.

[0122] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the above claims.

[0123] An embodiment of the present application further provides a computer-readable storage medium storing a computer program executable on a processor, wherein the computer program is used to execute the electrical device control method in the above embodiment.

[0124] The computer-readable storage medium provided in the embodiments of the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0125] The computer-readable storage medium may be included in the mobile terminal or the water dispenser; or may exist independently without being assembled into the mobile terminal or the water dispenser.

[0126] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the mobile terminal, the mobile terminal enables the mobile terminal to: obtain the device identification of the electrical device, send a Bluetooth connection request to the electrical device corresponding to the device identification to establish a Bluetooth channel with the electrical device; receive an externally input personnel identification code, and display a control interaction interface corresponding to the device identification and the personnel identification code; based on the Bluetooth channel, send the control instructions received by the control interaction interface to the electrical device to control the electrical device to execute the control instructions.

[0127] Or, the water dispenser: when receiving a Bluetooth connection request sent by a mobile terminal, establishes a Bluetooth channel with the mobile terminal; receives the control instruction sent by the mobile terminal based on the Bluetooth channel, and controls the electrical device to execute the control instruction, wherein the control instruction is received by the control interaction interface of the mobile terminal, and the mobile terminal is used to obtain the device identification of the electrical device, send a Bluetooth connection request to the electrical device corresponding to the device identification, receive a personnel identification code input from the outside, and display the control interaction interface corresponding to the device identification and the personnel identification code.

[0128] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0129] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0130] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0131] The computer-readable storage medium provided in the embodiments of the present application stores computer-readable program instructions for executing the aforementioned electrical device control method. This addresses the technical issues of the inconvenience of operating a scheme that uses multiple combined water outlet keys to control electrical devices and the limited number of triggerable modes. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in the embodiments of the present application are the same as those of the electrical device control method provided in the aforementioned embodiments, and are not further elaborated here.

[0132] An embodiment of the present application further provides a computer program product, including a computer program, which implements the steps of the above-mentioned electrical device control method when executed by a processor.

[0133] The computer program product provided in the embodiments of this application can solve the technical problems of the inconvenience of operating a scheme for controlling electrical equipment using multiple combined water outlet keys and the limited number of triggerable modes. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as those of the electrical equipment control method provided in the above embodiments, and will not be elaborated here.

[0134] The above is only an exemplary solution of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for controlling an electrical device, characterized in that: Applied to a mobile terminal, the electrical device control method includes: Obtaining a device identification of an electrical device, and sending a Bluetooth connection request to the electrical device corresponding to the device identification to establish a Bluetooth channel with the electrical device; Receive an externally input personnel identification code and display a control interaction interface corresponding to the device identification and the personnel identification code; Based on the Bluetooth channel, the control instruction received by the control interaction interface is sent to the electrical device to control the electrical device to execute the control instruction.

2. The electrical equipment control method according to claim 1, wherein: The step of obtaining the device identification of the electrical device includes: In response to a preset program startup instruction, starting the camera of the mobile terminal; The camera collects device identifications of electrical devices within a field of view.

3. The electrical equipment control method according to claim 1, wherein: Before the step of displaying the control interaction interface corresponding to both the device identifier and the personnel identification code, the method further includes: Determining the device type of the electrical device according to the device identifier and a preset mapping relationship between the device identifier and the device type; Determining the personnel type according to the personnel identification code and a preset mapping relationship between the personnel identification code and the personnel type; A corresponding control interaction interface is determined according to the device type and the personnel type.

4. The electrical equipment control method according to claim 3, wherein: The electrical device is a water purifier, and the personnel types include after-sales personnel and production personnel. The control interaction interfaces corresponding to the after-sales personnel and the production personnel respectively include different functional modules.

5. The electrical equipment control method according to claim 1, wherein: After the step of obtaining the externally input personnel identification code, the method further includes: Determining whether the personnel identification code is one of the preset personnel identification codes; If so, executing the step of displaying the control interaction interface corresponding to the device identifier and the personnel identification code; If not, the preset prompt message is pushed.

6. The electrical equipment control method according to any one of claims 1 to 5, characterized in that: After the step of sending the control instruction received by the control interaction interface to the electrical device based on the Bluetooth channel, the method further includes: receiving an execution result sent by the electrical device, wherein the execution result corresponds to the control instruction; The execution result is displayed on the control interaction interface.

7. A method for controlling an electrical device, characterized in that: Applied to electrical equipment, the electrical equipment control method includes: Upon receiving a Bluetooth connection request sent by a mobile terminal, establishing a Bluetooth channel with the mobile terminal; Based on the Bluetooth channel, the control instruction sent by the mobile terminal is received, and the electrical device is controlled to execute the control instruction, wherein the control instruction is received by the control interaction interface of the mobile terminal, and the mobile terminal is used to obtain the device identification of the electrical device, send a Bluetooth connection request to the electrical device corresponding to the device identification, receive a personnel identification code input from the outside, and display the control interaction interface corresponding to the device identification and the personnel identification code.

8. The electrical equipment control method according to claim 7, wherein: After the step of controlling the electrical device to execute the control instruction, the method further includes: generating an execution result corresponding to the control instruction; The execution result is sent to the mobile terminal so that the mobile terminal can display the execution result on a control interaction interface.

9. A mobile terminal, characterized in that: The mobile terminal includes at least: a Bluetooth module, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the Bluetooth module is used to establish a communication connection with the water dispenser, and the computer program is configured to implement the steps of the electrical equipment control method as described in any one of claims 1 to 6.

10. A water dispenser, characterized in that: The water dispenser includes at least: a Bluetooth module, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the Bluetooth module is used to establish a communication connection with a mobile terminal, and the computer program is configured to implement the steps of the electrical equipment control method as described in any one of claims 7 to 8.

11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for implementing the method for controlling an electrical device, and the program for implementing the method for controlling an electrical device is executed by a processor to implement the steps of the method for controlling an electrical device as claimed in any one of claims 1 to 6 or claims 7 to 8.

Citation Information

Patent Citations

  • Human-computer interaction method and system based on HMI

    CN117991678A

  • Communication link device, household appliance and electric kettle

    CN204143522U

  • Purifier interaction system and purifier based on bluetooth

    CN208581351U